:root {
  --primary-orange: #d94e18;
  --primary-orange-hover: #b84013;
  --bg-color: white;
  --bg-white: #ffffff;
  --text-dark: #121212;
  --text-gray: #4b5563;
  --text-light-gray: #6b7280;
  --border-color: #e5e7eb;
  --box-bg: #f9fafb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: white;
  color: var(--text-dark);
  font-family: 'sst-roman', sans-serif;
}

/* Header Styles */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background-color: var(--bg-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 700;
}

.logo-top {
  font-size: 14px;
  letter-spacing: 0.5px;
}

.logo-alpha {
  color: #1a1a1a;
}

.logo-camera {
  color: #6b7280;
}

.logo-academy {
  font-size: 20px;
  color: #3b82f6;
  letter-spacing: 1.5px;
}

.main-nav {
  display: flex;
  gap: 24px;
  font-weight: 600;
  font-size: 15px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-dark);
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-orange);
}

.auth-buttons {
  display: flex;
  gap: 12px;
}

.btn-login,
.btn-signup {
  padding: 8px 16px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-login {
  background-color: transparent;
  border-color: #d1d5db;
  color: var(--text-dark);
}

.btn-login:hover {
  background-color: #f3f4f6;
}

.btn-signup {
  background-color: var(--primary-orange);
  color: white;
}

.btn-signup:hover {
  background-color: var(--primary-orange-hover);
}

/* Explore Courses Section */
.explore-courses-section {
  width: 100%;
  background-color: #f7f7f7;
  font-family: 'sst-roman', sans-serif;
  position: relative;
  z-index: 90;
}

.explore-courses-toggle {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  justify-content: center;
  color: var(--primary-orange);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}

.explore-courses-toggle:hover {
  color: var(--primary-orange-hover);
}

.explore-courses-dropdown {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #f7f7f7;
  padding: 16px 40px 32px 40px;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.explore-courses-dropdown.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.explore-courses-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  row-gap: 12px;
  column-gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.explore-courses-item {
  text-decoration: none;
  color: #6b7280;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  font-family: 'sst-medium', sans-serif;
  width: fit-content;
}

.explore-courses-item:hover {
  background-color: #d4d4d4;
  color: #111827;
}

.explore-courses-item.active {
  background-color: #d4d4d4;
  color: #111827;
  font-weight: 600;
}

/* Page Layout */
.page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 40px;
}

.page-columns {
  display: flex;
  gap: 40px;
}

.main-content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.sidebar {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Hero & Video Section */
.hero-section {
  display: flex;
  flex-direction: column;
}

.content-section {
  width: 100%;
}

.course-header {
  margin-bottom: 24px;
}

.course-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--text-dark);
}

.course-subtitle {
  font-size: 18px;
  color: #374151;
  /* A slightly darker gray to match the image */
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.course-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 15px;
    color: #4b5563;
    width: 100%;
    max-width: calc(100% - 380px);
}

.badge-new {
  background-color: var(--primary-orange);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 24px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    font-family: 'sst-medium', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    outline: none;
    margin-left: auto;
}

    .btn-save:hover {
        background-color: #f3f4f6;
        border-color: #9ca3af;
        color: var(--text-dark);
    }

    .btn-save i {
        font-size: 16px;
        color: var(--text-dark);
        transition: color 0.2s ease;
        display: inline-flex;
        align-items: center;
        line-height: 1;
    }

    .btn-save span {
        display: inline-flex;
        align-items: center;
        line-height: 0;
    }

    .btn-save.saved {
        background-color: #f3f4f6;
        border-color: #9ca3af;
    }

        .btn-save.saved i {
            color: var(--primary-orange);
        }

            .video-container {
                width: 100%;
                overflow: hidden;
                margin-bottom: 24px;
            }

            .video-placeholder {
                width: 100%;
                height: auto;
                display: block;
            }

            .tabs-container {
                border-bottom: 1px solid var(--border-color);
                margin-bottom: 32px;
            }

            .tabs {
                display: flex;
                gap: 24px;
            }

            .tab {
                background: none;
                border: none;
                padding: 12px 0;
                font-size: 16px;
                font-weight: 600;
                color: var(--text-gray);
                cursor: pointer;
                position: relative;
                font-family: 'sst-medium', sans-serif;
                font-weight: normal;
            }

                .tab.active {
                    color: var(--primary-orange);
                }

                    .tab.active::after {
                        content: "";
                        position: absolute;
                        bottom: -1px;
                        left: 0;
                        right: 0;
                        height: 2px;
                        background-color: var(--primary-orange);
                    }

            .tab-content {
                display: none;
            }

                .tab-content.active {
                    display: block;
                }
            /* Content Sections */
            .content-section {
                margin-bottom: 32px;
            }

                .content-section h2 {
                    font-size: 1.5rem;
                    margin-top: 0;
                    margin-bottom: 20px;
                    color: #000;
                    font-family: 'sst-medium', sans-serif;
                    font-weight: normal;
                }

            .text-content p {
                color: var(--text-gray);
                font-size: 16px;
                line-height: 1.6;
            }

            .section-divider {
                border: 0;
                border-top: 1px solid var(--border-color);
                margin: 32px 0;
            }

            .progress-bars {
                display: flex;
                gap: 3px;
                align-items: center;
            }

            .progress-bar {
                width: 6px;
                height: 12px;
                background: #dbdbdb;
                border-radius: 4px;
                transition: background-color 0.3s ease;
            }

                .progress-bar.filled {
                    background: #FF6B00;
                }
            /* Highlights */
            .highlights-section {
                position: relative;
            }

            .highlights-container {
                position: relative;
                overflow: hidden;
                /* Contains the fade-overlay without affecting parent bounds */
            }

            .highlights-carousel {
                display: flex;
                gap: 20px;
                overflow-x: auto;
                padding-bottom: 20px;
                margin-bottom: -10px;
                /* offset padding if any */
                scroll-behavior: auto;
                /* Let JS handle smooth scrolling for buttons temporarily */
                -ms-overflow-style: none;
                /* IE and Edge */
                scrollbar-width: none;
                /* Firefox */
                cursor: grab;
                /* Shows grabbable cursor for swipe */
            }
                /* Hide scrollbar for Chrome, Safari and Opera */
                .highlights-carousel::-webkit-scrollbar {
                    display: none;
                }

                .highlights-carousel:active {
                    cursor: grabbing;
                    /* Shows grabbing cursor when active */
                }

            .fade-overlay {
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                width: 150px;
                background: linear-gradient(to right, transparent 0%, var(--bg-color) 80%);
                pointer-events: none;
                transition: opacity 0.3s ease;
                z-index: 2;
            }

                .fade-overlay.hidden {
                    opacity: 0;
                }

            .highlight-card {
                width: 280px;
                flex-shrink: 0;
            }

            .highlight-img {
                width: 100%;
                height: 280px;
                margin-bottom: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                position: relative;
            }

            .play-icon {
                width: 48px;
                height: 48px;
                background: rgba(255, 255, 255, 0.3);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                backdrop-filter: blur(4px);
            }

            .highlight-card h3 {
                font-size: 16px;
                margin: 0 0 4px 0;
            }

            .highlight-card p {
                font-size: 14px;
                color: var(--text-light-gray);
                margin: 0;
            }

            .carousel-controls {
                display: flex;
                gap: 12px;
                margin-top: 20px;
            }

            .control-btn {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                border: 1px solid var(--border-color);
                background: white;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                color: var(--text-dark);
            }

                .control-btn:disabled {
                    opacity: 0.5;
                    cursor: not-allowed;
                    background: transparent;
                }

            .disabled-tab {
                opacity: 0.5;
                cursor: not-allowed;
                background: transparent;
                pointer-events: none;
            }

                .disabled-tab .rating-star {
                    cursor: not-allowed !important;
                }

            .quiz-stars .fa.selected {
                color: #f59e0b !important; /* Gold */
            }
            /* Instructor */
            .instructor-profile {
                display: flex;
                align-items: center;
                gap: 16px;
                margin-top: 24px;
            }

            .instructor-avatar {
                width: 60px;
                height: 60px;
                border-radius: 50%;
                object-fit: cover;
            }

            .instructor-info h4 {
                margin: 0 0 4px 0;
                font-size: 16px;
            }

            .instructor-info p {
                margin: 0;
                font-size: 14px;
                color: var(--text-light-gray);
            }
            /* Featured Gear */
            .article-content-gear-container {
                display: flex;
                flex-direction: row;
                gap: 15px;
                justify-content: left;
                flex-wrap: wrap;
            }

            .article-content-gear-block {
                width: 100%;
                max-width: 30%;
            }

                .article-content-gear-block a {
                    text-decoration: none;
                }

                .article-content-gear-block .article-content-gear-image {
                    width: 100%;
                    height: 220px;
                    object-fit: contain;
                    background-color: #fff;
                    border: 1px solid #efedec;
                }

            .article-content-gear-read-more {
                width: 10px;
                height: 10px;
            }

            .article-content-gear-info {
            }

            .article-content-gear-model,
            .article-content-gear-description {
                line-height: 1.3;
                font-family: 'sst-roman', sans-serif;
                font-weight: normal;
                color: black;
            }

            .article-content-gear-model {
                font-family: 'sst-medium', sans-serif !important;
                font-size: 1rem !important;
                margin-bottom: 6px !important;
            }

            .article-content-gear-description {
                font-size: 0.875rem !important;
            }
            /* Sidebar */
            .sidebar-box {
                background: var(--box-bg);
                border-radius: 8px;
                padding: 24px;
                border: 1px solid var(--border-color);
            }

                .sidebar-box h3 {
                    margin-top: 0;
                    margin-bottom: 20px;
                    font-size: 18px;
                }

            .btn-start-course {
                width: 100%;
                background-color: #fff;
                color: #000;
                border: 1px solid #000;
                padding: 12px;
                border-radius: 4px;
                font-size: 16px;
                font-weight: 600;
                cursor: pointer;
                margin-bottom: 24px;
                transition: background 0.2s;
            }

                .btn-start-course:hover {
                    background-color: #000;
                    color: #fff;
                }

            .modules-list {
                display: flex;
                flex-direction: column;
            }

            .module-item {
                display: flex;
                align-items: flex-start;
                gap: 12px;
                padding: 12px;
                border-radius: 4px;
                background: transparent;
                border: 1px solid transparent;
                transition: all 0.2s;
                cursor: pointer;
            }

                .module-item:hover {
                    background: rgba(255, 255, 255, 0.5);
                    border-color: rgba(229, 231, 235, 0.5);
                }

                .module-item.active {
                    background: var(--bg-white);
                    border-color: var(--border-color);
                    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
                }

            .module-thumb {
                width: 90px;
                height: 54px;
                border-radius: 6px;
                flex-shrink: 0;
                overflow: hidden;
            }

                .module-thumb img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    display: block;
                }

            .module-info {
                display: flex;
                flex-direction: column;
                gap: 2px;
            }

                .module-info h4 {
                    margin: 0;
                    font-size: 15px;
                    font-weight: 500;
                    color: #4b5563;
                }

            .module-item.active .module-info h4 {
                color: #374151;
            }

            .module-info span {
                font-size: 13px;
                color: var(--text-light-gray);
            }

            .rewards-box p {
                font-size: 14px;
                color: var(--text-gray);
                line-height: 1.5;
                margin-bottom: 16px;
            }

            .badge-display {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 12px;
            }

            .badge-info {
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .badge-text {
                font-size: 14px;
                font-weight: 600;
            }
            .badge-lock {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 36px;
                height: 36px;
                border-radius: 50%;
                background-color: #f3f4f6;
                color: #6b7280;
                font-size: 16px;
                transition: all 0.3s ease;
                flex-shrink: 0;
            }

            .badge-lock.unlocked {
                background-color: #f3f4f6;
                color: #6b7280;
            }

            /* Skills Section */
            .skills-list {
                display: flex;
                flex-wrap: wrap;
                gap: 12px;
            }

            .skill-tag {
                padding: 0.5rem 1rem;
                background-color: transparent;
                color: black;
                border: 1px solid black;
                border-radius: 5px;
                font-size: 0.875rem;
                line-height: 1.3;
                font-family: 'sst-roman', sans-serif;
                font-weight: normal;
                transition: all 0.3s ease;
            }
            /* Transcripts Section */
            .transcript-content {
                max-height: 150px;
                overflow-y: auto;
                color: var(--text-gray);
                font-size: 14px;
                line-height: 1.6;
                padding-right: 16px;
            }

                .transcript-content p {
                    margin-bottom: 20px;
                }

                    .transcript-content p:last-child {
                        margin-bottom: 0;
                    }
                /* Custom Scrollbar for Transcript */
                .transcript-content::-webkit-scrollbar {
                    width: 6px;
                }

                .transcript-content::-webkit-scrollbar-track {
                    background: #f1f1f1;
                    border-radius: 4px;
                }

                .transcript-content::-webkit-scrollbar-thumb {
                    background: #c1c1c1;
                    border-radius: 4px;
                }

                    .transcript-content::-webkit-scrollbar-thumb:hover {
                        background: #a8a8a8;
                    }
            /* Custom Start Course Modal */
            .start-course-modal-overlay {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0, 0, 0, 0.6);
                backdrop-filter: blur(2px);
                z-index: 2000;
                display: flex;
                justify-content: center;
                align-items: center;
                opacity: 0;
                pointer-events: none;
                visibility: hidden;
                transition: opacity 0.3s ease, visibility 0.3s ease;
            }

                .start-course-modal-overlay.active {
                    opacity: 1;
                    pointer-events: auto;
                    visibility: visible;
                }

            .start-course-modal-content {
                background-color: var(--primary-orange);
                color: white;
                padding: 25px;
                width: 90%;
                max-width: 400px;
                transform: translateY(-50px);
                opacity: 0;
                transition: transform 0.4s ease, opacity 0.4s ease;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
                position: relative;
            }

            .start-course-modal-overlay.active .start-course-modal-content {
                transform: translateY(0);
                opacity: 1;
            }

            .sc-pre-title {
                font-size: 13px;
                margin: 0 0 12px 0;
                letter-spacing: 0.2px;
                font-family: 'sst-roman', sans-serif;
            }

            .sc-title {
                font-size: 1.5rem;
                font-family: 'sst-roman', sans-serif;
                margin: 0 0 24px 0;
                letter-spacing: -0.5px;
            }

            .sc-desc {
                font-size: 16px;
                line-height: 1.45;
                margin: 0 0 12px 0;
                font-family: 'sst-roman', sans-serif;
                color: white;
            }

            .sc-subtext {
                font-size: 14px;
                margin: 0 0 45px 0;
                font-family: 'sst-roman', sans-serif;
            }

            .sc-actions {
                display: flex;
                justify-content: flex-end;
                align-items: center;
                gap: 20px;
            }

            .sc-btn-join {
                color: white;
                text-decoration: none;
                font-weight: 700;
                font-size: 14px;
            }

            .sc-btn-login {
                color: white;
                text-decoration: none;
                font-weight: 700;
                font-size: 14px;
                border: 1px solid white;
                padding: 10px 18px;
                transition: background 0.2s, color 0.2s;
                border-radius: 4px;
            }

                .sc-btn-login:hover {
                    background: white;
                    color: var(--primary-orange);
                }
            /* Quiz Completion Modal */
            .quiz-modal-overlay {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0, 0, 0, 0.6);
                z-index: 2000;
                display: flex;
                justify-content: center;
                align-items: center;
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.3s ease, visibility 0.3s ease;
            }

                .quiz-modal-overlay.active {
                    opacity: 1;
                    visibility: visible;
                }

            .quiz-modal-content {
                background: white;
                width: 90%;
                max-width: 500px;
                padding: 25px;
                border-radius: 8px;
                overflow: hidden;
                transform: translateY(30px);
                opacity: 0;
                transition: transform 0.3s ease, opacity 0.3s ease;
                font-family: inherit;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            }

            .quiz-modal-overlay.active .quiz-modal-content {
                transform: translateY(0);
                opacity: 1;
            }

            .quiz-modal-top {
                position: relative;
                height: 220px;
                background-color: #f9fafb;
                display: flex;
                justify-content: center;
                align-items: center;
                overflow: hidden;
            }

            .confetti-container {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                overflow: hidden;
            }

            .confetti-piece {
                position: absolute;
                width: 8px;
                height: 16px;
                top: -20px;
                opacity: 1;
                animation: fall linear infinite;
                border-radius: 2px;
            }

            @keyframes fall {
                0% {
                    transform: translateY(0) rotate(0deg);
                    opacity: 1;
                }

                80% {
                    opacity: 1;
                }

                100% {
                    transform: translateY(260px) rotate(360deg);
                    opacity: 0;
                }
            }

            .quiz-badge-wrapper {
                position: relative;
                z-index: 10;
            }

            .quiz-badge-img {
                width: 150px !important;
                height: 150px !important;
                object-fit: contain;
                filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
            }

            .quiz-badge-bubble {
                position: absolute;
                /*    top: 0px;
    right: 29px;*/
                top: -20px !important;
                right: -25px !important;
                background-color: #f59e0b;
                color: #fff;
                font-size: 14px;
                font-family: 'sst-medium', sans-serif;
                padding: 4px 12px;
                border-radius: 6px;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
            }

                .quiz-badge-bubble::after {
                    content: '';
                    position: absolute;
                    top: 50%;
                    left: -8px;
                    transform: translateY(-50%);
                    border-width: 8px 8px 8px 0;
                    border-style: solid;
                    border-color: transparent #f59e0b transparent transparent;
                }

            .quiz-modal-body {
                padding: 24px;
            }

            .quiz-congrats-title {
                text-align: center;
                font-size: 18px;
                font-family: 'sst-medium', sans-serif;
                margin: 0 0 8px 0;
                color: #111;
            }

            .quiz-congrats-text {
                text-align: center;
                font-size: 14px;
                color: #555;
                margin: 0 0 24px 0;
                line-height: 1.5;
            }

            .highlight-orange {
                color: var(--primary-orange);
                font-family: 'sst-medium', sans-serif;
            }

            .quiz-divider {
                border: none;
                border-top: 1px solid #eaeaea;
                margin: 0 0 24px 0;
            }

            .quiz-rate-title {
                font-size: 15px;
                font-family: 'sst-medium', sans-serif;
                margin: 0 0 6px 0;
                color: #111;
            }

            .quiz-rate-text {
                font-size: 13px;
                color: #666;
                margin: 0 0 16px 0;
            }

            .quiz-stars {
                display: flex;
                gap: 12px;
                color: #a1a1aa;
                font-size: 18px;
                margin-bottom: 32px;
            }

                .quiz-stars .fa {
                    cursor: pointer;
                    background: #f4f4f5;
                    border-radius: 50%;
                    width: 44px;
                    height: 44px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: all 0.2s;
                }

                    .quiz-stars .fa:hover,
                    .quiz-stars .fa:has(~ .fa:hover) {
                        color: #f59e0b;
                        background: #fef3c7;
                    }

            .quiz-modal-actions {
                display: flex;
                gap: 16px;
                justify-content: space-between;
            }

            .quiz-btn-close,
            .quiz-btn-take {
                flex: 1;
                background-color: #fff;
                color: #000;
                border: 1px solid #000;
                padding: 12px;
                border-radius: 4px;
                font-size: 16px;
                font-weight: 600;
                cursor: pointer;
                transition: background 0.2s, color 0.2s;
                font-family: inherit;
            }

                .quiz-btn-close:hover,
                .quiz-btn-take:hover {
                    background-color: #000;
                    color: #fff;
                }

            .badge-icon {
                width: 100px;
                height: 100px;
            }

                .badge-icon img {
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                }
            /* Quiz Tab Layout */
            .quiz-container {
            }

            .quiz-main-title {
                font-size: 1.5rem !important;
                font-family: 'sst-medium', sans-serif !important;
                margin: 0 0 8px 0 !important;
                color: #1a1a1a !important;
            }

            .quiz-subtitle {
                font-size: 16px;
                color: #6b7280;
                margin: 0 0 32px 0;
                font-family: 'sst-roman', sans-serif;
            }

            .quiz-question-block {
                margin-bottom: 24px;
            }

            .quiz-question {
                font-size: 16px;
                font-family: 'sst-medium', sans-serif;
                color: #1a1a1a;
                margin: 0 0 16px 0;
            }

            .quiz-content-wrapper {
                display: flex;
                gap: 32px;
                align-items: flex-start;
                margin-top: 16px;
            }

            .quiz-options {
                flex: 1.2;
                display: flex;
                flex-direction: column;
                gap: 12px;
            }

            .quiz-image {
                flex: 1;
                max-width: 500px;
            }

                .quiz-image img {
                    width: 35%;
                    height: auto;
                    border-radius: 8px;
                    display: block;
                    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
                }

            .quiz-option {
                display: flex;
                align-items: center;
                gap: 12px;
                font-size: 14px;
                color: #4b5563;
                cursor: pointer;
                font-family: 'sst-roman', sans-serif;
            }

                .quiz-option input[type="radio"] {
                    margin: 0;
                    width: 16px;
                    height: 16px;
                    cursor: pointer;
                    accent-color: var(--primary-orange);
                }

            .quiz-line {
                border: 0;
                border-bottom: 1px solid #f3f4f6;
                margin: 24px 0;
            }

            .btn-submit-quiz {
                width: auto;
                min-width: 200px;
                background-color: #fff;
                color: #000;
                border: 1px solid #000;
                padding: 12px 32px;
                border-radius: 4px;
                font-size: 16px;
                font-weight: 600;
                cursor: pointer;
                transition: background 0.2s, color 0.2s;
                font-family: inherit;
                display: inline-block;
                text-align: center;
            }

                .btn-submit-quiz:hover {
                    background-color: #000;
                    color: #fff;
                }
            /* Quiz Selection States */
            .quiz-option.correct-selected {
                color: #059669;
                font-family: 'sst-medium', sans-serif;
                font-weight: bold;
            }

                .quiz-option.correct-selected i {
                    color: #059669;
                    font-size: 16px;
                    position: relative;
                    top: 1px;
                }

            .quiz-option.wrong-selected {
                color: var(--primary-orange);
                font-family: 'sst-medium', sans-serif;
                font-weight: bold;
            }

                .quiz-option.wrong-selected i {
                    color: var(--primary-orange);
                    font-size: 16px;
                    position: relative;
                    top: 1px;
                }

                .quiz-option.correct-unselected {
                    color: #059669;
                    font-family: 'sst-medium', sans-serif;
                    font-weight: bold;
                }

                    .quiz-option.correct-unselected i {
                        color: #059669;
                        font-size: 16px;
                        position: relative;
                        top: 1px;
                    }

            .instructor-link {
                text-decoration: none;
                color: inherit;
            }

            .sidebar-box.rate-box {
                background-color: var(--box-bg);
            }

                .sidebar-box.rate-box .quiz-rate-title {
                    font-size: 18px;
                }


            .sidebar-box .quiz-stars {
                margin: 0;
            }

            .video-container {
                position: relative;
                cursor: pointer;
            }

            .video-thumbnail {
                width: 100%;
                display: block;
            }

            .play-icon {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                font-size: 25px;
                color: white;
                background: rgba(0,0,0,0.5);
                width: 70px;
                height: 70px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .hero-video,
            .hero-video img,
            .hero-video video {
                width: 100%;
                aspect-ratio: 16/9;
                object-fit: cover;
                display: block;
            }

            .video-wrapper {
                position: relative;
                width: 100%;
            }

            .video-overlay {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0,0,0,.7);
                display: none;
                justify-content: center;
                align-items: center;
                z-index: 999;
            }

            .module-navigation {
                position: absolute;
                left: 50%;
                bottom: 190px;
                transform: translateX(-50%);
                display: flex;
                gap: 15px;
                z-index: 9999;
            }

            .prev-btn {
                background: #fff;
                color: #333;
                border: none;
                border-radius: 30px;
                padding: 12px 22px;
                font-weight: 600;
                cursor: pointer;
            }

            .next-btn {
                background: #ff7900;
                color: #fff;
                border: none;
                border-radius: 30px;
                padding: 12px 22px;
                font-weight: 600;
                cursor: pointer;
            }

            .prev-btn-disabled,
            .next-btn-disabled {
                background: #ffffff;
                color: #666;
                border: 1px solid #ddd;
                cursor: default;
                pointer-events: none;
            }

            .prev-btn-active,
            .next-btn-active {
                background: #ff7900;
                color: #fff;
                border: none;
                cursor: pointer;
            }

            .module-thumb {
                position: relative;
                width: 90px;
                height: 60px;
                overflow: hidden;
                border-radius: 8px;
            }

                .module-thumb img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            /* Dark overlay like your screenshot */
            .module-completed {
                position: absolute;
                inset: 0;
                background: rgba(233, 110, 27, 0.7);
                display: flex;
                justify-content: center;
                align-items: center;
            }
                /* White circle */
                .module-completed i {
                    /* width: 34px;
        height: 34px;*/
                    border-radius: 50%;
                    background: rgba(0,0,0,0);
                    border: 2px solid #fff;
                    color: white; /* Orange check */
                    font-size: 15px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }

            .filter-icon {
                width: 20px;
                height: 20px;
                margin-right: 8px;
            }

            .save-btn {
                position: relative;
                bottom: 12px;
                right: 12px;
                width: 32px;
                height: 32px;
                background: rgba(0, 0, 0, 0.4);
                backdrop-filter: blur(4px);
                border: none;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                z-index: 10;
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                padding: 0;
                color: #fff;
                /*opacity: 0;*/
                pointer-events: none;
                transform: translateY(10px) scale(0.9);
            }

            .view-account-link {
                color: #f59e0b;
                font-weight: 600;
                text-decoration: underline;
                margin-left: 5px;
            }

                .view-account-link:hover {
                    color: #d97706;
                }

            .image-container:hover .save-btn {
                opacity: 1;
                pointer-events: auto;
                transform: translateY(0) scale(1);
            }

            .save-btn:hover {
                background: rgba(0, 0, 0, 0.6);
                transform: scale(1.1);
            }

            .save-btn svg {
                width: 18px;
                height: 18px;
                stroke: #ffffff;
                stroke-width: 2;
                fill: none;
                transition: all 0.3s ease;
            }

            .save-btn.is-saved svg {
                fill: #ffffff;
            }

            .save-btn:active {
                transform: scale(0.95);
            }
/* Responsive handled in responsive.css */

/* Added CSS to HLS selector*/
.vjs-quality-selector .vjs-menu-button {
    cursor: pointer;
}

.vjs-quality-selector.vjs-icon-hd::before {
    font-size: 1.8em;
    line-height: 1.67;
}

.vjs-quality-fa-icon {
    font-size: 18px;
    color: #fff;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.vjs-quality-selector .vjs-icon-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
    .vjs-quality-selector .vjs-icon-placeholder::before {
        font-size: 1.8em;
        line-height: 1;
    }

.vjs-quality-selector .vjs-menu {
    left: -3em;
}

.vjs-quality-selector .vjs-menu-content {
    background-color: rgba(28, 28, 28, 0.9);
    border-radius: 4px;
    padding: 4px 0;
}

.vjs-quality-selector .vjs-menu-item {
    color: #fff;
    padding: 8px 16px;
    font-size: 1em;
    text-transform: none;
}

    .vjs-quality-selector .vjs-menu-item:hover {
        background-color: rgba(115, 133, 159, 0.5);
    }

    .vjs-quality-selector .vjs-menu-item.vjs-selected {
        background-color: #2483d1;
        color: #fff;
        font-weight: bold;
    }

.vjs-quality-selector .vjs-control-text {
    display: none; /* hide raw text label, icon carries the meaning */
}
.video-js.vjs-quality-selector .vjs-menu .vjs-menu-content,
.video-js .vjs-quality-selector .vjs-menu .vjs-menu-content {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}
.online-course-quality-menu .vjs-menu-content {
    max-height: none !important;
    height: auto !important;
    overflow-y: visible !important;
}
.vjs-menu:not(.online-course-quality-menu) li {
    display: flex;
    justify-content: left !important;
    list-style: none;
    margin: 0;
    padding: .4em 0 0 0.5em !important;
    line-height: 1.4em;
    font-size: 1.2em;
    text-align: left;
    text-transform: capitalize !important;
}

.vjs-menu-button-popup:not(.online-course-quality-menu) .vjs-menu {
    display: none;
    position: absolute;
    bottom: 0;
    width: 11em !important;
    left: -3em;
    height: 0;
    margin-bottom: 1.5em;
    border-top-color: rgba(43, 51, 63, .7);
}