/* Cài đặt cơ bản */
        :root {
            --primary-color: #0056b3;
            --secondary-color: #007bff;
            --text-color: #333;
            --bg-color: #f4f7f6;
            --slide-bg: #ffffff;
            --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            --quote-bg: #fffaf0; /* Màu nền cho chốt ý */
            --quote-border: #ffc107; /* Màu viền cho chốt ý */
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html, body {
            height: 100%;
            width: 100%;
            overflow: hidden;
            font-family: var(--font-main);
            background-color: var(--bg-color);
            color: var(--text-color);
        }

        /* Khung chứa slide */
        #presentation-container {
            width: 100vw;
            height: 100vh;
            position: relative;
        }

        .iframe-wrapper {
  position: relative;
  display: inline-block;
  width: 90%;
            height: 65vh;
}
.iframe-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}
.iframe-wrapper iframe {
  position: relative;
  z-index: 1;
}


        /* Định dạng từng slide */
        .slide {
            width: 100%;
            height: 100%;
            padding: 40px 60px;
            position: absolute;
            top: 0;
            left: 0;
            background-color: var(--slide-bg);
            
            /* Ẩn slide ban đầu */
            opacity: 0;
            transform: scale(0.98);
            transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
            pointer-events: none;
            z-index: 1;

            /* Căn giữa nội dung */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            overflow-y: auto; /* Cho phép cuộn nếu nội dung quá dài */
        }

        .slide.active {
            opacity: 1;
            transform: scale(1);
            pointer-events: auto;
            z-index: 10;
        }

        /* Định dạng nội dung */
        .slide h1 {
            font-size: 3.5rem;
            color: var(--primary-color);
            margin-bottom: 10px;
        }

        .slide h2 {
            font-size: 2.5rem;
            color: var(--secondary-color);
            margin-bottom: 20px; /* Điều chỉnh margin */
            border-bottom: 3px solid var(--secondary-color);
            padding-bottom: 10px;
            width: 100%;
            max-width: 900px;
        }
        
        .slide h3 {
            font-size: 1.5rem;
            color: var(--text-color);
            margin-bottom: 25px;
            font-weight: 400;
        }

        .slide p, .slide li {
            font-size: 1.25rem;
            line-height: 1.7;
            max-width: 900px;
            margin-bottom: 15px;
        }

        .slide ul {
            list-style-position: inside;
            text-align: left;
            display: inline-block;
            max-width: 800px;
        }
        
        .slide ul li {
            margin-bottom: 10px;
        }

        /* Iframe để nhúng link */
        iframe {
            width: 90%;
            height: 65vh; /* Giảm chiều cao một chút để chừa không gian */
            border: 2px dashed #ccc; /* Border nét đứt để biết đây là chỗ nhúng */
            border-radius: 12px;
            background-color: #f9f9f9;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }
        
        /* Video styling */
        video {
            width: 80%;
            max-width: 800px;
            height: auto;
            max-height: 65vh;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        
        .instructions {
            font-size: 1.1rem;
            font-style: italic;
            color: #555;
            margin-bottom: 20px; /* Thêm margin dưới */
        }
        
        .question-box {
            background-color: #e6f7ff;
            border-left: 5px solid var(--secondary-color);
            padding: 25px;
            border-radius: 8px;
            text-align: left;
            max-width: 900px;
            margin-top: 20px;
        }
        
        .question-box p {
            font-size: 1.3rem;
            margin-bottom: 10px;
        }
        
        /* === STYLE MỚI CHO SLIDE "CHỐT Ý" === */
        .quote-box {
            background-color: var(--quote-bg);
            border-left: 5px solid var(--quote-border);
            padding: 30px;
            border-radius: 8px;
            text-align: center;
            max-width: 900px;
            margin-top: 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }
        
        .quote-box p {
            font-size: 1.4rem; /* Chữ to hơn */
            font-style: italic;
            color: #555;
            line-height: 1.8;
            margin-bottom: 0;
            text-align: justify ;
        }
        /* === KẾT THÚC STYLE "CHỐT Ý" === */
        
        /* PHẦN STYLE CHO KHU VỰC TRẢ LỜI */
        .answer-area {
            width: 90%;
            max-width: 900px;
            margin-top: 20px;
            text-align: left;
        }

        .answer-area label {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-color);
            display: block;
            margin-bottom: 8px;
        }

        .answer-area textarea {
            width: 100%;
            padding: 12px;
            font-size: 1rem;
            font-family: var(--font-main);
            border: 2px solid #ddd;
            border-radius: 8px;
            resize: vertical; /* Cho phép kéo dãn */
            margin-bottom: 15px;
        }

        .answer-area .submit-button {
            padding: 10px 20px;
            font-size: 1rem;
            font-weight: bold;
            color: white;
            background-color: #28a745; /* Màu xanh lá */
            border: none;
            border-radius: 25px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .answer-area .submit-button:hover {
            background-color: #218838;
        }
        
        /* === BỔ SUNG CSS CHO SLIDE MỤC TIÊU MỚI === */
        .objectives-container {
            display: flex;
            justify-content: space-around; /* Phân bố đều */
            align-items: flex-start; /* Căn lề trên */
            width: 100%;
            max-width: 1100px; /* Rộng hơn một chút */
            gap: 30px;
            margin-top: 20px;
        }

        .objective-column {
            flex: 1; /* Mỗi cột chiếm 1 phần */
            text-align: left;
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            border: 1px solid #e9ecef;
            height: 100%; /* Giữ chiều cao bằng nhau nếu cần */
        }

        .objective-column h4 {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--primary-color);
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 8px;
            margin-bottom: 15px;
        }

        .objective-column h5 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-color);
            margin-top: 15px;
            margin-bottom: 10px;
        }
        
        .objective-list {
            list-style: none; /* Bỏ dấu chấm đầu dòng */
            padding-left: 0;
        }

        .objective-list li {
            font-size: 1.05rem; /* Giảm kích thước chữ một chút */
            line-height: 1.6;
            margin-bottom: 10px;
            padding-left: 20px; /* Thụt lề */
            position: relative;
        }

        .objective-list li::before {
            content: '✓'; /* Dùng dấu check */
            color: var(--secondary-color);
            font-weight: bold;
            position: absolute;
            left: 0;
            top: 0;
        }
        
        .objective-list.sub-list li {
            font-size: 1rem; /* Cỡ chữ nhỏ hơn cho mục con */
        }

        .objective-list li strong {
            color: #343a40;
        }
        
        /* === STYLE MỚI CHO HOẠT ĐỘNG 5 === */
        .steps-list {
            list-style: none;
            padding: 0;
            width: 100%;
            max-width: 900px;
            text-align: left;
        }
        .steps-list li {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 15px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        .steps-list li strong {
            font-size: 1.3rem;
            color: var(--primary-color);
            display: block;
            margin-bottom: 5px;
        }
        .steps-list li p {
            font-size: 1.1rem;
            margin-bottom: 0;
        }
        .steps-list li em {
            color: var(--secondary-color);
            font-weight: 600;
        }
        /* === KẾT THÚC STYLE HĐ 5 === */

        


        /* Nút điều hướng */
        .nav-button {
            position: fixed;
            z-index: 100;
            bottom: 30px;
            padding: 12px 25px;
            font-size: 1.2rem;
            font-weight: bold;
            color: white;
            background-color: var(--secondary-color);
            border: none;
            border-radius: 30px;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.2s;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }
        
        .nav-button:hover {
            background-color: var(--primary-color);
            transform: translateY(-2px);
        }
        
        .nav-button:disabled {
            background-color: #aaa;
            cursor: not-allowed;
            opacity: 0.7;
        }

        #prev-slide {
            left: 30px;
        }

        #next-slide {
            right: 30px;
        }
        
        /* Đánh số slide */
        #slide-counter {
            position: fixed;
            z-index: 99;
            bottom: 42px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 1rem;
            color: #777;
        }

        /* === STYLE MỚI CHO CHECKBOX (HOẠT ĐỘNG 2) === */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.checkbox-group div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkbox-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}
/* Ghi đè label mặc định trong .answer-area */
.checkbox-group label {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0; 
    display: inline; /* Đảm bảo label nằm cạnh checkbox */
}
/* === KẾT THÚC STYLE CHECKBOX === */

