
        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bs-body-bg); /* Use Bootstrap's dark theme background */
            color: var(--bs-body-color); /* Use Bootstrap's dark theme text color */
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            padding: 20px;
            box-sizing: border-box;
        }
        .container {
            background-color: var(--bs-secondary-bg); /* A slightly different background for content */
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            text-align: center;
            max-width: 900px; /* Increased max-width for better video display */
            width: 100%;
            margin-top: 50px;
            margin-bottom: 50px; /* Add margin at bottom for longer content */
        }
        h1 {
            color: white;
            margin-bottom: 25px;
            font-weight: 700;
        }
        .video-responsive {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
            max-width: 100%;
            background: #000;
            margin-bottom: 30px;
            border-radius: 8px; /* Rounded corners for video embed */
        }
        .video-responsive iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0; /* Remove iframe border */
            border-radius: 8px; /* Match parent border-radius */
        }
        .test-invitation {
            display: none; /* Hidden by default, shown after timer */
            margin-top: 40px;
            padding: 30px;
            background-color: var(--bs-tertiary-bg); /* Lighter background for the invitation box */
            border-radius: 10px;
            border: 1px solid var(--bs-primary);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        .test-invitation h2 {
            color: var(--bs-success); /* Green for success/call to action */
            margin-bottom: 15px;
            font-weight: 600;
        }
        .test-invitation p {
            font-size: 1.05rem;
            line-height: 1.5;
            margin-bottom: 25px;
        }
        .btn-take-test {
            padding: 12px 25px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 8px;
        }
        .btn-back {
            margin-top: 30px;
            padding: 10px 20px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        .btn-back:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        .btn-skip-video {
            margin-top: 20px; /* Space above this button */
            padding: 10px 20px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        .btn-skip-video:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .container {
                padding: 30px;
                margin-top: 30px;
            }
            h1 {
                font-size: 2rem;
                margin-bottom: 20px;
            }
            .test-invitation {
                padding: 20px;
            }
            .test-invitation h2 {
                font-size: 1.5rem;
            }
            .test-invitation p {
                font-size: 0.95rem;
            }
            .btn-take-test {
                font-size: 1rem;
                padding: 10px 20px;
            }
        }
        @media (max-width: 576px) {
            .container {
                padding: 20px;
                border-radius: 10px;
                margin-top: 20px;
            }
            h1 {
                font-size: 1.5rem;
                margin-bottom: 15px;
            }
            .btn-back {
                font-size: 0.9rem;
                padding: 8px 15px;
            }
            .test-invitation {
                margin-top: 30px;
                padding: 15px;
            }
            .test-invitation h2 {
                font-size: 1.3rem;
            }
            .test-invitation p {
                font-size: 0.9rem;
            }
            .btn-take-test {
                font-size: 0.9rem;
                padding: 8px 15px;
            }
            .btn-skip-video {
                font-size: 0.9rem;
                padding: 8px 15px;
            }
        }
        
           /* Added for audio message feedback */
        .audio-message {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #0d6efd; /* Bootstrap primary blue */
            color: white;
            padding: 10px 15px;
            border-radius: 8px;
            font-size: 0.9rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            display: none; /* Hidden by default, shown by JS */
            cursor: pointer; /* Indicate it's clickable */
        }
 
        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bs-body-bg); /* Use Bootstrap's dark theme background */
            color: var(--bs-body-color); /* Use Bootstrap's dark theme text color */
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            padding: 20px;
            box-sizing: border-box;
        }
        .container {
            background-color: var(--bs-secondary-bg); /* A slightly different background for content */
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            text-align: center;
            max-width: 900px; /* Increased max-width for better video display */
            width: 100%;
            margin-top: 50px;
            margin-bottom: 50px; /* Add margin at bottom for longer content */
        }
        h1 {
            color: white;
            margin-bottom: 25px;
            font-weight: 700;
        }
        .video-responsive {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
            max-width: 100%;
            background: #000;
            margin-bottom: 30px; /* Space after each video */
            border-radius: 8px; /* Rounded corners for video embed */
        }
        .video-responsive iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0; /* Remove iframe border */
            border-radius: 8px; /* Match parent border-radius */
        }
        .test-invitation {
            display: none; /* Hidden by default, shown after timer */
            margin-top: 40px;
            padding: 30px;
            background-color: var(--bs-tertiary-bg); /* Lighter background for the invitation box */
            border-radius: 10px;
            border: 1px solid var(--bs-primary);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        .test-invitation h2 {
            color: var(--bs-success); /* Green for success/call to action */
            margin-bottom: 15px;
            font-weight: 600;
        }
        .test-invitation p {
            font-size: 1.05rem;
            line-height: 1.5;
            margin-bottom: 25px;
        }
        .btn-take-test {
            padding: 12px 25px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 8px;
        }
        .btn-back {
            margin-top: 30px;
            padding: 10px 20px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        .btn-back:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        /* Styles for training sections and videos */
        .training-section-wrapper { /* Container for each section's full content (locked/unlocked) */
            margin-bottom: 40px;
            text-align: left;
            background-color: var(--bs-tertiary-bg); /* Background for the whole section block */
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        .locked-section-info {
            display: block; /* Visible by default for locked sections (will be hidden by JS on unlock) */
            text-align: center;
        }
        .unlocked-section-content {
            display: none; /* Hidden by default for unlocked sections (will be shown by JS on unlock) */
        }
        /* Special handling for Section 1 to be always visible and show its content immediately */
        #section1.unlocked-section-content {
            display: block; /* Section 1 content is always visible */
        }
        #section1LockedInfo {
            display: none; /* No locked info for section 1 */
        }


        .training-section-wrapper h2 {
            color: var(--bs-primary);
            font-weight: 700;
            margin-bottom: 20px;
            text-align: center; /* Center section titles for better readability */
        }

        .section-timer-display { /* Styles for the timer span within the h2 */
            font-size: 0.9em; /* Slightly smaller than parent h2 font size */
            color: var(--bs-warning); /* Use a warning color for the timer */
            font-weight: 600;
            margin-left: 10px; /* Space from the title text */
            display: inline-block; /* Makes it sit next to the heading text */
        }

        /* Button group styling for bottom buttons */
        .bottom-buttons {
            display: flex;
            justify-content: center; /* Center the buttons horizontally */
            flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
            gap: 20px; /* Space between buttons */
            margin-top: 40px; /* Space above the button group */
            width: 100%; /* Take full width of container */
        }
        .bottom-buttons .btn {
            flex-grow: 1; /* Allow buttons to grow and fill space */
            max-width: 300px; /* Limit max width for large screens */
        }
        @media (max-width: 576px) {
            .bottom-buttons .btn {
                max-width: 100%; /* Full width on small screens */
            }
        }


        /* Responsive adjustments */
        @media (max-width: 768px) {
            .container {
                padding: 30px;
                margin-top: 30px;
            }
            h1 {
                font-size: 2rem;
                margin-bottom: 20px;
            }
            .test-invitation {
                padding: 20px;
            }
            .test-invitation h2 {
                font-size: 1.5rem;
            }
            .test-invitation p {
                font-size: 0.95rem;
            }
            .btn-take-test {
                font-size: 1rem;
                padding: 10px 20px;
            }
            .training-section-wrapper {
                margin-bottom: 30px;
                padding: 20px;
            }
            .training-section-wrapper h2 {
                font-size: 1.8rem;
                margin-bottom: 15px;
            }
            .video-responsive {
                margin-bottom: 20px;
            }
            .section-timer-display {
                font-size: 0.8em;
            }
        }
        @media (max-width: 576px) {
            .container {
                padding: 20px;
                border-radius: 10px;
                margin-top: 20px;
            }
            h1 {
                font-size: 1.5rem;
                margin-bottom: 15px;
            }
            .btn-back {
                font-size: 0.9rem;
                padding: 8px 15px;
            }
            .test-invitation {
                margin-top: 30px;
                padding: 15px;
            }
            .test-invitation h2 {
                font-size: 1.3rem;
            }
            .test-invitation p {
                font-size: 0.9rem;
            }
            .btn-take-test {
                font-size: 0.9rem;
                padding: 8px 15px;
            }
            .bottom-buttons {
                flex-direction: column; /* Stack buttons vertically on small screens */
                gap: 10px; /* Reduce gap when stacked */
                margin-top: 30px;
            }
            .section-timer-display {
                font-size: 0.7em;
            }
        }