        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        :root {
            --primary: #175e6c;
            --primary-dark: #10434e;
            --secondary: #2cb3c9;
            --accent: #2cb3c9;
            --dark: #080b0e;
            --dark2: #0d1217;
            --dark3: #131b22;
            --card-bg: rgba(16, 23, 30, 0.65);
            --text: #e8e8f0;
            --text-muted: #8888aa;
            --border: rgba(23, 94, 108, 0.25);
            --gradient: linear-gradient(135deg, #175e6c, #2cb3c9);
            --gradient2: linear-gradient(135deg, #2cb3c9, #00d2ff);
            --glow: 0 4px 15px rgba(23, 94, 108, 0.25);
            --nav-bg: rgba(8, 11, 14, 0.85);
            --nav-bg-scrolled: rgba(8, 11, 14, 0.98);
            --footer-bg: rgba(13, 18, 23, 0.45);
        }
        body.light-theme {
            --dark: #f5f7fa;
            --dark2: #eef2f6;
            --dark3: #e2e8f0;
            --card-bg: rgba(255, 255, 255, 0.65);
            --text: #0f172a;
            --text-muted: #475569;
            --border: rgba(23, 94, 108, 0.15);
            --glow: 0 4px 15px rgba(23, 94, 108, 0.08);
            --nav-bg: rgba(245, 247, 250, 0.85);
            --nav-bg-scrolled: rgba(245, 247, 250, 0.98);
            --footer-bg: rgba(255, 255, 255, 0.35);
        }
        #particle-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -1;
            pointer-events: none;
            background: var(--dark);
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Quicksand', sans-serif;
            background: var(--dark);
            color: var(--text);
            overflow-x: hidden;
            transition: background 0.3s, color 0.3s;
        }
        /* ===== SCROLLBAR ===== */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--dark); }
        ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
        /* ===== NAVBAR ===== */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            padding: 0 5%;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--nav-bg);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            transition: all 0.3s;
        }
        .navbar.scrolled {
            background: var(--nav-bg-scrolled);
            box-shadow: 0 4px 30px rgba(0,0,0,0.15);
        }
        /* ===== THEME TOGGLE ===== */
        .theme-toggle {
            cursor: pointer;
            font-size: 18px;
            color: var(--text);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            transition: background 0.3s, transform 0.3s, color 0.3s;
            border: 1px solid var(--border);
            margin-right: 15px;
        }
        .theme-toggle:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.08);
        }
        body.light-theme .theme-toggle {
            background: rgba(0, 0, 0, 0.05);
            color: var(--text);
        }
        body.light-theme .theme-toggle:hover {
            background: rgba(0, 0, 0, 0.08);
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            cursor: pointer;
        }
        .logo-icon {
            width: 42px;
            height: 42px;
            background: var(--gradient);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: 900;
            color: white;
            box-shadow: 0 4px 15px rgba(23, 94, 108,0.4);
        }
        .logo-text {
            font-size: 22px;
            font-weight: 800;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 35px;
            list-style: none;
        }
        .nav-links a {
            text-decoration: none;
            color: var(--text-muted);
            font-size: 14px;
            font-weight: 500;
            transition: color 0.3s;
            cursor: pointer;
        }
        .nav-links a:hover { color: var(--primary); }
        .nav-btn {
            padding: 10px 24px;
            background: var(--gradient);
            border: none;
            border-radius: 25px;
            color: white;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(23, 94, 108,0.3);
        }
        .nav-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(23, 94, 108,0.5);
        }
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
        }
        .hamburger span {
            width: 25px;
            height: 2px;
            background: var(--text);
            border-radius: 2px;
            transition: all 0.3s;
        }
        /* ===== PAGES ===== */
        .page {
            display: none;
            min-height: 100vh;
            padding-top: 70px;
        }
        .page.active { display: block; }
        /* ===== HERO SECTION ===== */
        .hero {
            min-height: calc(100vh - 70px);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
            position: relative;
            overflow: hidden;
            padding: 80px 5%;
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            background: 
                radial-gradient(ellipse at 20% 50%, rgba(23, 94, 108,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(44, 179, 201,0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 60% 80%, rgba(44, 179, 201,0.08) 0%, transparent 40%);
        }
        .floating-shapes {
            position: absolute;
            inset: 0;
            overflow: hidden;
        }
        .shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.1;
            animation: float 6s ease-in-out infinite;
        }
        .shape:nth-child(1) {
            width: 300px; height: 300px;
            background: var(--primary);
            top: -100px; right: 10%;
            animation-delay: 0s;
        }
        .shape:nth-child(2) {
            width: 200px; height: 200px;
            background: var(--secondary);
            bottom: 10%; left: 5%;
            animation-delay: 2s;
        }
        .shape:nth-child(3) {
            width: 150px; height: 150px;
            background: var(--accent);
            top: 30%; right: 30%;
            animation-delay: 4s;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-30px) rotate(180deg); }
        }
        .hero-content {
            position: relative;
            z-index: 2;
            flex: 1.2;
            max-width: 650px;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 18px;
            background: rgba(23, 94, 108,0.15);
            border: 1px solid rgba(23, 94, 108,0.3);
            border-radius: 25px;
            font-size: 13px;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 25px;
            animation: fadeInUp 0.6s ease;
        }
        .hero-badge i { font-size: 12px; }
        .hero h1 {
            font-size: clamp(40px, 6vw, 72px);
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 25px;
            animation: fadeInUp 0.6s ease 0.1s both;
        }
        .hero h1 .highlight {
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero p {
            font-size: 18px;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 40px;
            animation: fadeInUp 0.6s ease 0.2s both;
        }
        .hero-btns {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            animation: fadeInUp 0.6s ease 0.3s both;
        }
        .btn-primary {
            padding: 16px 35px;
            background: var(--gradient);
            border: none;
            border-radius: 50px;
            color: white;
            font-weight: 700;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 8px 25px rgba(23, 94, 108,0.4);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(23, 94, 108,0.5);
        }
        .btn-secondary {
            padding: 16px 35px;
            background: transparent;
            border: 2px solid var(--border);
            border-radius: 50px;
            color: var(--text);
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .btn-secondary:hover {
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-3px);
        }
        .hero-stats {
            display: flex;
            gap: 40px;
            margin-top: 60px;
            animation: fadeInUp 0.6s ease 0.4s both;
        }
        .stat-item h3 {
            font-size: 32px;
            font-weight: 800;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .stat-item p {
            font-size: 13px;
            color: var(--text-muted);
            margin: 0;
        }
        .hero-visual {
            position: relative;
            z-index: 2;
            flex: 0.8;
            max-width: 550px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: fadeInRight 0.8s ease 0.3s both;
        }
        .mini-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 20px;
            transition: transform 0.3s;
            backdrop-filter: blur(12px) saturate(120%);
            -webkit-backdrop-filter: blur(12px) saturate(120%);
        }
        .mini-card:hover { transform: translateY(-5px); }
        .mini-card:nth-child(1) { grid-column: span 2; }
        .mini-card-icon {
            width: 45px;
            height: 45px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            margin-bottom: 12px;
        }
        .mini-card h4 {
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 5px;
        }
        .mini-card p {
            font-size: 12px;
            color: var(--text-muted);
            margin: 0;
            line-height: 1.5;
        }
        .progress-bar {
            height: 4px;
            background: rgba(255,255,255,0.1);
            border-radius: 2px;
            margin-top: 10px;
            overflow: hidden;
        }
        .progress-fill {
            height: 100%;
            border-radius: 2px;
            background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
            background-size: 200% 100%;
            animation: progressAnim 2s ease 1s both, streamAnim 2s linear infinite;
        }
        @keyframes progressAnim {
            from { width: 0; }
        }
        @keyframes streamAnim {
            0% { background-position: 0% 50%; }
            100% { background-position: 200% 50%; }
        }
        /* ===== TELEMETRY METRICS ===== */
        .card-telemetry {
            display: flex;
            gap: 12px;
            margin-top: 12px;
            font-size: 10px;
            color: var(--text-muted);
            border-top: 1px dashed rgba(255, 255, 255, 0.08);
            padding-top: 8px;
            font-family: monospace;
            overflow: hidden;
            white-space: nowrap;
        }
        body.light-theme .card-telemetry {
            border-top: 1px dashed rgba(0, 0, 0, 0.08);
        }
        .card-telemetry span {
            display: flex;
            align-items: center;
            gap: 3px;
        }
        .card-telemetry strong {
            color: var(--secondary);
            font-weight: 700;
        }
        /* ===== RADAR PULSE EMOJI ===== */
        .mini-card-icon {
            position: relative;
            z-index: 1;
        }
        .mini-card-icon::after {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 12px;
            background: var(--primary);
            opacity: 0.15;
            z-index: -1;
            animation: radarPulse 2.5s ease-in-out infinite;
        }
        @keyframes radarPulse {
            0% { transform: scale(1); opacity: 0.2; }
            50% { transform: scale(1.22); opacity: 0.02; }
            100% { transform: scale(1); opacity: 0.2; }
        }
        /* ===== SECTION STYLES ===== */
        section {
            padding: 100px 5%;
        }
        .section-header {
            text-align: center;
            margin-bottom: 70px;
        }
        .section-tag {
            display: inline-block;
            padding: 6px 18px;
            background: rgba(23, 94, 108,0.1);
            border: 1px solid rgba(23, 94, 108,0.2);
            border-radius: 20px;
            font-size: 13px;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 15px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        .section-title {
            font-size: clamp(30px, 4vw, 48px);
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 15px;
        }
        .section-title .highlight {
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .section-subtitle {
            font-size: 17px;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }
        /* ===== COURSES SECTION ===== */
        #courses-section {
            background: transparent;
        }
        .course-grid, .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 28px;
        }
        .course-card {
            background: var(--card-bg, rgba(255, 255, 255, 0.8));
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 18px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            position: relative;
            backdrop-filter: blur(16px) saturate(140%);
            -webkit-backdrop-filter: blur(16px) saturate(140%);
            box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
        }
        body.dark-mode .course-card {
            background: rgba(18, 24, 38, 0.75);
            border-color: rgba(255, 255, 255, 0.08);
            box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
        }
        .course-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(23, 94, 108, 0.15), rgba(44, 179, 201, 0.15));
            opacity: 0;
            transition: opacity 0.4s ease;
            border-radius: 18px;
            z-index: 0;
            pointer-events: none;
        }
                .course-card:hover {
            transform: translateY(-10px) scale(1.01);
            border-color: rgba(44, 179, 201, 0.5);
            box-shadow: 0 22px 45px -12px rgba(23, 94, 108, 0.35), 0 0 20px rgba(44, 179, 201, 0.2);
        }
        .course-card:hover::before { 
            opacity: 1; 
        }
        .course-thumb {
            width: 100%;
            aspect-ratio: 16 / 9;
            min-height: 200px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #0f172a;
            border: none !important;
            outline: none !important;
            margin-bottom: 0 !important;
            box-shadow: none !important;
        }
        .course-thumb img {
            display: block !important;
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            border: none !important;
            outline: none !important;
            margin: 0 !important;
            padding: 0 !important;
            vertical-align: bottom !important;
        }
        .course-thumb-bg {
            position: absolute;
            inset: 0;
            transition: transform 0.6s ease;
            border: none !important;
            outline: none !important;
        }
        .course-card:hover .course-thumb-bg {
            transform: scale(1.08);
        }
        .course-thumb-icon {
            font-size: 62px;
            position: relative;
            z-index: 2;
            filter: drop-shadow(0 8px 25px rgba(0,0,0,0.4));
            transition: transform 0.4s ease;
            animation: floatingIcon 4s ease-in-out infinite;
        }
        @keyframes floatingIcon {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-8px) rotate(3deg); }
        }
        .course-card:hover .course-thumb-icon {
            transform: scale(1.15) rotate(-4deg);
        }
        .course-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.6px;
            z-index: 3;
            text-transform: uppercase;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
            backdrop-filter: blur(8px);
        }
        .badge-new {
            background: linear-gradient(135deg, #00b09b, #96c93d);
            color: #fff;
        }
        .badge-hot {
            background: linear-gradient(135deg, #ff416c, #ff4b2b);
            color: #fff;
        }
        .badge-popular {
            background: linear-gradient(135deg, #175e6c, #2cb3c9);
            color: #fff;
        }
        .course-level {
            position: absolute;
            top: 14px;
            right: 14px;
            padding: 5px 12px;
            background: rgba(15, 23, 42, 0.65);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            font-size: 10.5px;
            font-weight: 600;
            color: #ffffff;
            z-index: 3;
            backdrop-filter: blur(12px);
            letter-spacing: 0.3px;
        }
        .play-overlay {
            position: absolute;
            inset: 0;
            background: rgba(15, 23, 42, 0.45);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 4;
            backdrop-filter: blur(3px);
        }
        .play-overlay i {
            font-size: 48px;
            color: #ffffff;
            filter: drop-shadow(0 0 20px rgba(44, 179, 201, 0.8));
            transition: transform 0.3s ease;
        }
        .course-card:hover .play-overlay { 
            opacity: 1; 
        }
        .course-card:hover .play-overlay i {
            transform: scale(1.1);
        }
        .course-info {
            padding: 22px;
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        .course-meta {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }
        .course-meta span {
            font-size: 11.5px;
            font-weight: 600;
            color: var(--text-muted);
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: rgba(23, 94, 108, 0.06);
            padding: 3px 9px;
            border-radius: 12px;
            border: 1px solid rgba(23, 94, 108, 0.1);
        }
        body.dark-mode .course-meta span {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.08);
            color: #a0aec0;
        }
        .course-title {
            font-size: 19px;
            font-weight: 800;
            margin-bottom: 10px;
            line-height: 1.35;
            color: var(--text);
            transition: color 0.3s ease;
        }
        .course-card:hover .course-title {
            color: var(--primary, #175e6c);
        }
        .course-desc {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 18px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            height: 42px;
        }
        .course-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 7px;
            margin-bottom: 20px;
            margin-top: auto;
        }
        .tag {
            padding: 4px 11px;
            background: rgba(23, 94, 108, 0.08);
            border: 1px solid rgba(23, 94, 108, 0.18);
            border-radius: 20px;
            font-size: 11px;
            color: var(--primary, #175e6c);
            font-weight: 600;
            transition: all 0.3s ease;
        }
        body.dark-mode .tag {
            background: rgba(44, 179, 201, 0.1);
            border-color: rgba(44, 179, 201, 0.25);
            color: #2cb3c9;
        }
        .course-card:hover .tag {
            background: rgba(23, 94, 108, 0.15);
            transform: translateY(-1px);
        }
        .course-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 16px;
            border-top: 1px solid var(--border, rgba(0,0,0,0.08));
            margin-top: 5px;
        }
        .course-instructor {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .instructor-avatar {
            width: 34px;
            height: 34px;
            background: linear-gradient(135deg, #175e6c, #2cb3c9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 800;
            color: white;
            box-shadow: 0 4px 10px rgba(23, 94, 108, 0.3);
        }
        .instructor-name {
            font-size: 13px;
            font-weight: 700;
            color: var(--text);
        }
        .course-price-wrap {
            display: flex;
            flex-direction: column;
            text-align: right;
            margin-right: 12px;
            white-space: nowrap;
        }
        .original-price {
            white-space: nowrap;
            text-decoration: line-through;
            color: var(--text-muted);
            font-size: 11.5px;
            font-weight: 600;
        }
        .discount-price {
            white-space: nowrap;
            font-weight: 900;
            color: var(--primary, #175e6c);
            font-size: 18px;
            letter-spacing: -0.3px;
        }
        body.dark-mode .discount-price {
            color: #2cb3c9;
        }
        .btn-enroll {
            padding: 9px 18px;
            background: linear-gradient(135deg, #175e6c, #2cb3c9);
            color: #ffffff;
            border: none;
            border-radius: 25px;
            color: white;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        .btn-enroll:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 20px rgba(23, 94, 108,0.4);
        }
        /* ===== FEATURES ===== */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }
        .feature-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 35px 30px;
            text-align: center;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(12px) saturate(120%);
            -webkit-backdrop-filter: blur(12px) saturate(120%);
        }
        .feature-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--gradient);
            transform: scaleX(0);
            transition: transform 0.3s;
        }
        .feature-card:hover {
            transform: translateY(-8px);
            border-color: var(--primary);
            box-shadow: var(--glow);
        }
        .feature-card:hover::after { transform: scaleX(1); }
        .feature-icon {
            width: 70px;
            height: 70px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            margin: 0 auto 20px;
        }
        .feature-card h3 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 10px;
        }
        .feature-card p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
        }
        /* ===== TESTIMONIALS ===== */
        #testimonials {
            background: transparent;
        }
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }
        .testimonial-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 30px;
            transition: all 0.3s;
            position: relative;
            backdrop-filter: blur(12px) saturate(120%);
            -webkit-backdrop-filter: blur(12px) saturate(120%);
        }
        .testimonial-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
        }
        .quote-icon {
            font-size: 40px;
            color: var(--primary);
            opacity: 0.5;
            margin-bottom: 15px;
            line-height: 1;
        }
        .testimonial-text {
            font-size: 15px;
            line-height: 1.7;
            color: var(--text-muted);
            margin-bottom: 20px;
        }
        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .author-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 16px;
            color: white;
        }
        .author-name {
            font-size: 15px;
            font-weight: 700;
        }
        .author-role {
            font-size: 12px;
            color: var(--text-muted);
        }
        .stars {
            color: #FFD700;
            font-size: 13px;
            margin-top: 3px;
        }
        /* ===== COURSE DETAIL PAGE ===== */
        .course-detail-hero {
            background: transparent;
            padding: 60px 5%;
            position: relative;
            overflow: hidden;
        }
        .course-detail-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 70% 50%, rgba(23, 94, 108,0.12) 0%, transparent 70%);
        }
        .back-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            margin-bottom: 30px;
            transition: gap 0.3s;
            background: none;
            border: none;
        }
        .back-btn:hover { gap: 12px; }
        .course-detail-layout {
            display: grid;
            grid-template-columns: 1fr 380px;
            gap: 40px;
            align-items: start;
        }
        .course-detail-info {
            position: relative;
            z-index: 1;
        }
        .course-detail-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            background: rgba(23, 94, 108,0.15);
            border: 1px solid rgba(23, 94, 108,0.3);
            border-radius: 6px;
            font-size: 12px;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 20px;
        }
        .course-detail-title {
            font-size: clamp(28px, 4vw, 48px);
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 20px;
        }
        .course-detail-desc {
            font-size: 17px;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 30px;
        }
        .course-detail-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 30px;
        }
        .detail-meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: var(--text-muted);
        }
        .detail-meta-item i {
            color: var(--primary);
            font-size: 16px;
        }
        .course-detail-sidebar {
            position: sticky;
            top: 90px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            backdrop-filter: blur(12px) saturate(120%);
            -webkit-backdrop-filter: blur(12px) saturate(120%);
        }
        .sidebar-preview {
            position: relative;
            height: 220px;
            background: var(--dark3);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            overflow: hidden;
        }
        .sidebar-preview img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            position: absolute !important;
            inset: 0 !important;
            z-index: 1 !important;
        }
        .sidebar-preview-icon {
            font-size: 60px;
            z-index: 2;
        }
        .sidebar-preview-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }
        .sidebar-preview:hover .sidebar-preview-overlay {
            background: rgba(0,0,0,0.3);
        }
        .sidebar-play {
            width: 65px;
            height: 65px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: var(--primary);
            transition: transform 0.3s;
        }
        .sidebar-preview:hover .sidebar-play {
            transform: scale(1.1);
        }
        .sidebar-content {
            padding: 25px;
        }
        .sidebar-free {
            text-align: center;
            margin-bottom: 20px;
        }
        .sidebar-free .free-tag {
            font-size: 32px;
            font-weight: 900;
            background: var(--gradient2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .sidebar-free p {
            font-size: 13px;
            color: var(--text-muted);
        }
        .btn-start-learning {
            width: 100%;
            padding: 16px;
            background: var(--gradient);
            border: none;
            border-radius: 14px;
            color: white;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .btn-start-learning:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(23, 94, 108,0.4);
        }
        .btn-youtube {
            width: 100%;
            padding: 14px;
            background: rgba(255,0,0,0.1);
            border: 2px solid rgba(255,0,0,0.3);
            border-radius: 14px;
            color: #ff4444;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .btn-youtube:hover {
            background: rgba(255,0,0,0.2);
            border-color: rgba(255,0,0,0.5);
        }
        .sidebar-features {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid var(--border);
        }
        .sidebar-feature-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 0;
            font-size: 14px;
            color: var(--text-muted);
        }
        .sidebar-feature-item i {
            color: var(--accent);
            font-size: 14px;
            width: 16px;
        }
        /* ===== VIDEO SECTION ===== */
        .video-section {
            padding: 60px 5%;
        }
        .video-section-header {
            margin-bottom: 40px;
        }
        .video-section-header h2 {
            font-size: 30px;
            font-weight: 800;
            margin-bottom: 10px;
        }
        .video-section-header p {
            color: var(--text-muted);
            font-size: 16px;
        }
        .video-tabs {
            display: flex;
            gap: 5px;
            margin-bottom: 35px;
            background: var(--dark2);
            padding: 6px;
            border-radius: 14px;
            width: fit-content;
        }
        .video-tab {
            padding: 10px 22px;
            border: none;
            background: transparent;
            color: var(--text-muted);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            border-radius: 10px;
            transition: all 0.3s;
        }
        .video-tab.active {
            background: var(--gradient);
            color: white;
            font-weight: 700;
            box-shadow: 0 4px 15px rgba(23, 94, 108,0.3);
        }
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 25px;
        }
        .video-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s;
            cursor: pointer;
            backdrop-filter: blur(12px) saturate(120%);
            -webkit-backdrop-filter: blur(12px) saturate(120%);
        }
        .video-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            box-shadow: 0 15px 40px rgba(23, 94, 108,0.15);
        }
        .video-thumb {
            position: relative;
            background: var(--dark3);
            padding-top: 56.25%;
            overflow: hidden;
        }
        .video-thumb iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
        .video-thumb-placeholder {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 10px;
            cursor: pointer;
            transition: all 0.3s;
        }
        .video-thumb-placeholder:hover {
            background: rgba(23, 94, 108,0.1);
        }
        .play-btn {
            width: 60px;
            height: 60px;
            background: var(--gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: white;
            transition: transform 0.3s;
            box-shadow: 0 5px 20px rgba(23, 94, 108,0.4);
        }
        .video-thumb-placeholder:hover .play-btn {
            transform: scale(1.1);
        }
        .lesson-number {
            font-size: 12px;
            color: var(--text-muted);
            font-weight: 600;
        }
        .video-info {
            padding: 18px;
        }
        .video-info h4 {
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 8px;
            line-height: 1.4;
        }
        .video-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .video-meta span {
            font-size: 12px;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .video-duration {
            padding: 3px 10px;
            background: rgba(23, 94, 108,0.1);
            border-radius: 10px;
            color: var(--primary) !important;
            font-weight: 600;
        }
        /* ===== CURRICULUM ===== */
        .curriculum-section {
            background: transparent;
            padding: 60px 5%;
        }
        .curriculum-list {
            max-width: 900px;
            margin: 0 auto;
        }
        .curriculum-module {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            margin-bottom: 15px;
            overflow: hidden;
            backdrop-filter: blur(12px) saturate(120%);
            -webkit-backdrop-filter: blur(12px) saturate(120%);
        }
        .module-header {
            padding: 20px 25px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            transition: background 0.3s;
        }
        .module-header:hover {
            background: rgba(23, 94, 108,0.05);
        }
        .module-header-left {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .module-number {
            width: 36px;
            height: 36px;
            background: var(--gradient);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
        }
        .module-title {
            font-size: 16px;
            font-weight: 700;
        }
        .module-meta {
            font-size: 13px;
            color: var(--text-muted);
        }
        .module-toggle {
            font-size: 16px;
            color: var(--text-muted);
            transition: transform 0.3s;
        }
        .curriculum-module.open .module-toggle {
            transform: rotate(180deg);
        }
        .module-lessons {
            display: none;
            border-top: 1px solid var(--border);
        }
        .curriculum-module.open .module-lessons {
            display: block;
        }
        .lesson-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 14px 25px;
            border-bottom: 1px solid rgba(23, 94, 108,0.08);
            transition: background 0.3s;
            cursor: pointer;
        }
        .lesson-item:last-child { border-bottom: none; }
        .lesson-item:hover {
            background: rgba(23, 94, 108,0.05);
        }
        .lesson-icon {
            width: 32px;
            height: 32px;
            background: rgba(23, 94, 108,0.1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            color: var(--primary);
            flex-shrink: 0;
        }
        .lesson-title {
            flex: 1;
            font-size: 14px;
            font-weight: 500;
        }
        .lesson-duration {
            font-size: 12px;
            color: var(--text-muted);
        }
        /* ===== CONTACT / CTA ===== */
        .cta-section {
            padding: 100px 5%;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at center, rgba(23, 94, 108,0.15) 0%, transparent 70%);
        }
        .cta-box {
            position: relative;
            z-index: 1;
            max-width: 700px;
            margin: 0 auto;
        }
        .cta-box h2 {
            font-size: clamp(32px, 5vw, 55px);
            font-weight: 900;
            margin-bottom: 20px;
        }
        .cta-box p {
            font-size: 18px;
            color: var(--text-muted);
            margin-bottom: 40px;
            line-height: 1.6;
        }
        .cta-btns {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }
        /* ===== FOOTER ===== */
        footer {
            background: var(--footer-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-top: 1px solid var(--border);
            padding: 60px 5% 30px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 50px;
        }
        .footer-brand .logo-text {
            font-size: 24px;
            margin-bottom: 15px;
            display: block;
        }
        .footer-brand p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 20px;
        }
        .social-links {
            display: flex;
            gap: 12px;
        }
        .social-link {
            width: 38px;
            height: 38px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
        }
        .social-link:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: white;
            transform: translateY(-3px);
        }
        .footer-col h4 {
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--text);
        }
        .footer-col ul {
            list-style: none;
        }
        .footer-col ul li {
            margin-bottom: 12px;
        }
        .footer-col ul li a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s;
            cursor: pointer;
        }
        .footer-col ul li a:hover { color: var(--primary); }
        .footer-bottom {
            border-top: 1px solid var(--border);
            padding-top: 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        .footer-bottom p {
            font-size: 13px;
            color: var(--text-muted);
        }
        .footer-bottom-links {
            display: flex;
            gap: 20px;
        }
        .footer-bottom-links a {
            font-size: 13px;
            color: var(--text-muted);
            text-decoration: none;
            cursor: pointer;
            transition: color 0.3s;
        }
        .footer-bottom-links a:hover { color: var(--primary); }
        /* ===== VIDEO MODAL ===== */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.9);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            backdrop-filter: blur(10px);
        }
        .modal-overlay.active {
            display: flex;
        }
        .modal-box {
            width: 100%;
            max-width: 900px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 14px;
            overflow: hidden;
            position: relative;
            backdrop-filter: blur(12px) saturate(120%);
            -webkit-backdrop-filter: blur(12px) saturate(120%);
        }
        .modal-header {
            padding: 20px 25px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid var(--border);
        }
        .modal-title {
            font-size: 18px;
            font-weight: 700;
        }
        .modal-close {
            width: 36px;
            height: 36px;
            background: rgba(255,255,255,0.1);
            border: none;
            border-radius: 10px;
            color: var(--text);
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }
        .modal-close:hover {
            background: rgba(255,0,0,0.2);
            color: #ff4444;
        }
        .modal-video {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
        }
        .modal-video iframe {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
        /* ===== ANIMATIONS ===== */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }
        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }
        /* ===== MOBILE NAV ===== */
        .mobile-nav {
            display: none;
            position: fixed;
            top: 70px;
            left: 0;
            right: 0;
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            border-left: 1px solid var(--border);
            border-right: 1px solid var(--border);
            padding: 24px 6%;
            z-index: 999;
            flex-direction: column;
            gap: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
        }
        .mobile-nav.active { display: flex; }
        .mobile-nav a {
            color: var(--text);
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            padding: 12px 20px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border);
            cursor: pointer;
        }
        .mobile-nav a i {
            font-size: 16px;
            color: var(--accent);
            transition: transform 0.3s ease;
        }
        .mobile-nav a:hover {
            background: var(--gradient);
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: var(--glow);
            border-color: transparent;
        }
        .mobile-nav a:hover i {
            color: #ffffff;
            transform: scale(1.1);
        }
        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .hero {
                flex-direction: column;
                padding-top: 120px;
                padding-bottom: 60px;
                text-align: center;
                gap: 50px;
            }
            .hero-badge {
                justify-content: center;
            }
            .hero-btns {
                justify-content: center;
            }
            .hero-stats {
                justify-content: center;
            }
            .hero-visual {
                max-width: 500px;
                height: 420px;
            }
            .hero-visual iframe {
                height: 420px !important;
            }
            .hero-content {
                max-width: 100%;
            }
            .course-detail-layout { grid-template-columns: 1fr; }
            .course-detail-sidebar { position: static; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .nav-links, .navbar .nav-btn { display: none; }
            .hamburger { display: flex; }
            .hero-stats { gap: 20px; }
            .footer-grid { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .courses-grid { grid-template-columns: 1fr; }
            .video-grid { grid-template-columns: 1fr; }
        }
        /* ===== NOTIFICATION ===== */
        .notification {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
            transform: translateX(150%);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 9998;
            max-width: 320px;
            backdrop-filter: blur(12px) saturate(120%);
            -webkit-backdrop-filter: blur(12px) saturate(120%);
        }
        .notification.show { transform: translateX(0); }
        .notif-icon {
            width: 40px;
            height: 40px;
            background: rgba(44, 179, 201,0.15);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-size: 18px;
            flex-shrink: 0;
        }
        .notif-text h4 {
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 2px;
        }
        .notif-text p {
            font-size: 12px;
            color: var(--text-muted);
        }
        /* Loading animation */
        .loader {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        /* ===== LOCKED LESSON STYLING ===== */
        .video-card.locked-card {
            cursor: pointer;
        }
        .video-card.locked-card:hover {
            transform: translateY(-2px);
        }
        .video-card.locked-card .video-thumb-placeholder {
            filter: grayscale(40%) contrast(90%);
        }
        .video-card.locked-card .play-btn {
            background: rgba(13, 18, 23, 0.85);
            border: 1px dashed var(--accent);
        }
        .video-card.locked-card:hover .play-btn {
            transform: translate(-50%, -50%) scale(1.1);
            background: rgba(23, 94, 108, 0.95);
        }
        .checkout-summary {
            background: var(--dark2) !important;
            border: 1px solid var(--border) !important;
        }
        body.light-theme .checkout-summary {
            background: var(--dark3) !important;
        }
/* ===== TOP ANNOUNCEMENT BANNER ===== */
.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background: linear-gradient(90deg, #175e6c, #2cb3c9);
    z-index: 1001; /* Higher than navbar */
    display: flex;
    align-items: center;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    color: #080b0e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
body.light-theme .announcement-banner {
    background: linear-gradient(90deg, #2cb3c9, #175e6c);
    color: #fff;
}
.announcement-track {
    display: flex;
    width: max-content;
    animation: scroll-text 30s linear infinite;
}
.announcement-text {
    padding-right: 100px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
@keyframes scroll-text {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* Adjust Navbar position since announcement banner is fixed at top */
.navbar {
    top: 35px !important;
}
/* Push page content down so it's not hidden behind navbar & banner */
.cert-container, #about-page, #contact-page, #course-page {
    padding-top: 135px !important;
}
.hero {
    padding-top: 135px !important;
}
/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        top: 35px !important;
    }
    .cert-container, #about-page, #contact-page, #course-page {
        padding-top: 125px !important;
    }
    .hero {
        padding-top: 125px !important;
    }
}
/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 80px 5% 70px;
    background: transparent;
    position: relative;
    z-index: 1;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 35px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--glow);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(44, 179, 201, 0.2);
}
.testimonial-stars {
    color: #f59e0b; /* Golden amber */
    margin-bottom: 20px;
    font-size: 16px;
    display: flex;
    gap: 5px;
}
.testimonial-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 25px;
    font-style: italic;
    flex-grow: 1;
}
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}
.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}
.user-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}
.user-info span {
    font-size: 12px;
    color: var(--text-muted);
}
/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
            transform: translateY(-2px);
        }
        .video-card.locked-card .video-thumb-placeholder {
            filter: grayscale(40%) contrast(90%);
        }
        .video-card.locked-card .play-btn {
            background: rgba(13, 18, 23, 0.85);
            border: 1px dashed var(--accent);
        }
        .video-card.locked-card:hover .play-btn {
            transform: translate(-50%, -50%) scale(1.1);
            background: rgba(23, 94, 108, 0.95);
        }
        .checkout-summary {
            background: var(--dark2) !important;
            border: 1px solid var(--border) !important;
        }
        body.light-theme .checkout-summary {
            background: var(--dark3) !important;
        }
/* ===== TOP ANNOUNCEMENT BANNER ===== */
.announcement-banner {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 36px !important;
    background: linear-gradient(90deg, #175e6c, #2cb3c9);
    z-index: 1002 !important; /* Higher than navbar */
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #080b0e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
}
body.light-theme .announcement-banner {
    background: linear-gradient(90deg, #2cb3c9, #175e6c) !important;
    color: #fff !important;
}
.announcement-track {
    display: flex !important;
    width: max-content !important;
    animation: scroll-text 30s linear infinite !important;
}
.announcement-text {
    padding-right: 100px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}
@keyframes scroll-text {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* Adjust Navbar position strictly below announcement banner */
.navbar {
    top: 36px !important;
    z-index: 1000 !important;
}
/* Mobile Nav Drawer top alignment below announcement + navbar */
.mobile-nav {
    top: 106px !important;
}
/* Push page content down so it's not hidden behind navbar & banner (36px + 70px + breathing room) */
.cert-container, #about-page, #contact-page, #course-page {
    padding-top: 130px !important;
}
.hero {
    padding-top: 130px !important;
}
/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        top: 36px !important;
    }
    .cert-container, #about-page, #contact-page, #course-page {
        padding-top: 125px !important;
    }
    .hero {
        padding-top: 125px !important;
    }
}
/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 80px 5% 70px;
    background: transparent;
    position: relative;
    z-index: 1;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 35px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--glow);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(44, 179, 201, 0.2);
}
.testimonial-stars {
    color: #f59e0b; /* Golden amber */
    margin-bottom: 20px;
    font-size: 16px;
    display: flex;
    gap: 5px;
}
.testimonial-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 25px;
    font-style: italic;
    flex-grow: 1;
}
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}
.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}
.user-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}
.user-info span {
    font-size: 12px;
    color: var(--text-muted);
}
/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    color: #fff !important;
}
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
/* ============================================================
   MASTER RESPONSIVE & TOUCH OPTIMIZATIONS
   ============================================================ */
/* 1. VIEWPORT & OVERFLOW CONTROL */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}
#particle-canvas {
    width: 100vw !important;
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: -1 !important;
}
/* 2. TOUCH-FRIENDLY INTERACTIVE ELEMENTS (MIN 44x44PX) */
button, .btn, .nav-btn, .hero-btn, .course-btn, input[type="submit"], input[type="button"], .theme-toggle, .hamburger, .play-btn {
    min-height: 44px !important;
    min-width: 44px !important;
    touch-action: manipulation;
}
/* 3. TABLET OPTIMIZATIONS (768px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Logo Size: 80% of original */
    .logo-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 16px !important;
        border-radius: 9px !important;
    }
    .logo-text {
        font-size: 17.6px !important;
    }
    /* Search Box Width: 70% */
    .search-box, .search-input, .cert-search-box, .course-search, input[type="search"], .search-container {
        width: 70% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .hero-content {
        text-align: center;
    }
}
/* ============================================================
   MASTER COMPREHENSIVE RESPONSIVE SYSTEM (ALL BREAKPOINTS)
   ============================================================ */
/* 1. UNIVERSAL FLUID FOUNDATIONS & OVERFLOW PROTECTION */
*, *::before, *::after {
    box-sizing: border-box !important;
}
html, body {
    width: 100vw !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}
img, iframe, video, object, svg {
    max-width: 100% !important;
    height: auto !important;
}
/* Fluid Touch Targets & Input Restraints */
button, .btn, .nav-btn, .hero-btn, .course-btn, input, select, textarea {
    touch-action: manipulation;
    max-width: 100%;
}
/* Fluid Typography Helpers */
.section-title, .hero h1, .course-detail-title, .about-hero h1 {
    font-size: clamp(26px, 4.5vw, 52px) !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
}
.section-subtitle, .hero p, .course-detail-desc {
    font-size: clamp(14px, 2vw, 18px) !important;
    line-height: 1.6 !important;
}
/* Responsive Grid layouts */
.courses-grid, .course-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(clamp(270px, 100%, 340px), 1fr)) !important;
    gap: clamp(16px, 3vw, 30px) !important;
}
.features-grid, .testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 100%, 320px), 1fr)) !important;
    gap: clamp(16px, 3vw, 28px) !important;
}
.footer-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 100%, 260px), 1fr)) !important;
    gap: clamp(25px, 4vw, 45px) !important;
}
/* 2. HEADER & NAVIGATION STRICT CONTROLS */
.navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 clamp(15px, 4vw, 50px) !important;
}
.nav-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 14px !important;
    margin-left: auto !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}
.theme-toggle {
    margin: 0 !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.hamburger {
    margin: 0 !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 2px 0 !important;
    gap: 4px !important;
}
.nav-links a {
    position: relative;
    padding-bottom: 4px;
}
.nav-links a.active {
    color: var(--accent) !important;
    font-weight: 700 !important;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}
.mobile-nav a.active {
    color: var(--accent) !important;
    font-weight: 700 !important;
    border-left: 4px solid var(--accent) !important;
    background: rgba(44, 179, 201, 0.12) !important;
}
/* 3. COURSE CARDS, MODALS & CERTIFICATE ACTIONS */
.course-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--border) !important;
    margin-top: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.course-instructor {
    display: none !important;
}
.course-price-wrap {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    margin: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}
.btn-enroll {
    flex-shrink: 0 !important;
    margin-left: auto !important;
}
.video-tabs {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
    background: var(--dark2) !important;
    padding: 8px 12px !important;
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
}
.video-tab {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 10px 20px !important;
}
.modal-overlay {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.modal-overlay.active {
    display: flex !important;
}
.modal-box {
    width: 90% !important;
    max-width: 700px !important;
    margin: auto !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    position: relative !important;
    background: var(--card-bg) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
}
.modal-box h3, .modal-box h4, .modal-title {
    color: var(--text) !important;
}
.modal-box p, .modal-box label {
    color: var(--text-muted) !important;
}
.modal-box input[type="text"],
.modal-box input[type="email"],
.modal-box input[type="tel"],
.modal-box input[type="password"],
.modal-box input[type="file"],
.modal-box select {
    background: var(--dark3) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    font-family: inherit !important;
}
.modal-box select option {
    background: var(--dark2) !important;
    color: var(--text) !important;
}
.modal-box input::placeholder {
    color: var(--text-muted) !important;
    opacity: 0.7 !important;
}
.modal-btn-cancel {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
}
/* ===== LIGHT THEME HIGH-CONTRAST MODAL COLOR OVERRIDES ===== */
body.light-theme .modal-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;
}
body.light-theme .modal-header {
    border-bottom: 1px solid #e2e8f0 !important;
}
body.light-theme .modal-title,
body.light-theme .modal-box h3,
body.light-theme .modal-box h4,
body.light-theme #checkout-course-title {
    color: #0f172a !important;
}
body.light-theme .modal-box p,
body.light-theme .modal-box label {
    color: #475467 !important;
}
body.light-theme .modal-box input[type="text"],
body.light-theme .modal-box input[type="email"],
body.light-theme .modal-box input[type="tel"],
body.light-theme .modal-box input[type="password"],
body.light-theme .modal-box input[type="file"],
body.light-theme .modal-box select {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}
body.light-theme .modal-box input:focus,
body.light-theme .modal-box select:focus {
    border-color: #175e6c !important;
    box-shadow: 0 0 10px rgba(23, 94, 108, 0.15) !important;
}
body.light-theme .modal-box select option {
    background: #ffffff !important;
    color: #0f172a !important;
}
body.light-theme .modal-box input::placeholder {
    color: #94a3b8 !important;
}
body.light-theme .modal-close {
    background: #f1f5f9 !important;
    color: #334155 !important;
}
body.light-theme .modal-close:hover {
    background: #fee2e2 !important;
    color: #ef4444 !important;
}
body.light-theme .checkout-summary {
    background: #f0fdfa !important;
    border: 1px solid #99f6e4 !important;
}
body.light-theme .checkout-summary p {
    color: #64748b !important;
}
body.light-theme .modal-btn-cancel {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}
/* Certificate Actions Group Responsive Styling (Optimal Touch UX) */
.actions-group {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
    margin-top: 24px !important;
    box-sizing: border-box !important;
}
.btn-action {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 24px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: none !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    flex: 0 1 auto !important;
}
/* 4. NAVBAR & COMPONENT BREAKPOINT MEDIA QUERIES */
/* --- Desktop (≥ 992px) --- */
@media (min-width: 992px) {
    .navbar {
        position: fixed !important;
        top: 36px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        z-index: 1000 !important;
    }
    .logo {
        flex-shrink: 0 !important;
        z-index: 2 !important;
    }
    .nav-actions {
        flex-shrink: 0 !important;
        z-index: 2 !important;
        margin-left: auto !important;
    }
    .nav-links {
        display: flex !important;
        align-items: center !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        z-index: 1 !important;
        white-space: nowrap !important;
        gap: clamp(20px, 2.5vw, 35px) !important;
    }
    .navbar .student-portal-nav-btn {
        display: inline-flex !important;
    }
    .theme-toggle {
        display: inline-flex !important;
    }
    .hamburger {
        display: none !important;
    }
}
/* --- Tablet (768px – 991px) --- */
@media (min-width: 768px) and (max-width: 991px) {
    .nav-links {
        display: none !important;
    }
    .hamburger {
        display: inline-flex !important;
        flex-direction: column !important;
    }
    .theme-toggle {
        display: inline-flex !important;
    }
    .navbar .student-portal-nav-btn {
        display: inline-flex !important;
    }
    .course-detail-layout {
        grid-template-columns: 1fr !important;
    }
    .hero {
        flex-direction: column !important;
        text-align: center !important;
        padding-top: 110px !important;
    }
    .hero-content {
        max-width: 100% !important;
    }
    .hero-btns, .hero-stats {
        justify-content: center !important;
    }
}
/* --- Mobile (< 768px) --- */
@media (max-width: 767px) {
    .nav-links {
        display: none !important;
    }
    .navbar .student-portal-nav-btn {
        display: none !important;
    }
    .theme-toggle {
        display: inline-flex !important;
    }
    .hamburger {
        display: inline-flex !important;
        flex-direction: column !important;
    }
    .search-box, .search-input, .cert-search-box, .course-search, input[type="search"], .search-container {
        width: 100% !important;
    }
    .search-group {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column !important;
    }
    .actions-group {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 12px !important;
    }
    .btn-action {
        width: 100% !important;
        max-width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        justify-content: center !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
    }
}
/* --- 1400px+ (Ultra-Wide Monitors) --- */
@media (min-width: 1400px) {
    .hero, section, .footer-content {
        max-width: 1400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
/* --- 1200px - 1399px (Standard Desktop) --- */
@media (max-width: 1399px) and (min-width: 1200px) {
    .hero {
        padding: 80px 4% !important;
    }
}
/* --- 992px - 1199px (Small Laptop / Landscape Tablet) --- */
@media (max-width: 1199px) and (min-width: 992px) {
    .course-detail-layout {
        grid-template-columns: 1fr 340px !important;
        gap: 30px !important;
    }
}
/* --- 480px - 575px (Phablets & Small Screens) --- */
@media (max-width: 575px) {
    section {
        padding: 60px 4% !important;
    }
    .hero-stats {
        gap: 20px !important;
    }
    .stat-item h3 {
        font-size: 24px !important;
    }
    .search-group {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 12px !important;
    }
    .btn-verify {
        width: 100% !important;
        justify-content: center !important;
    }
    .actions-group {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .btn-action {
        width: 100% !important;
    }
}
/* --- Devices under 420px (Compact Mobile Screens) --- */
@media (max-width: 420px) {
    .course-thumb {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        min-height: 180px !important;
    }
    .course-badge, .course-level {
        font-size: 9.5px !important;
        padding: 4px 10px !important;
    }
}
/* --- 414px, 390px, 375px (Standard iPhones / Androids) --- */
@media (max-width: 414px) {
    .logo-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
    }
    .logo-text {
        font-size: 17px !important;
    }
    .nav-actions {
        gap: 10px !important;
    }
    .course-meta {
        gap: 8px !important;
    }
    .course-meta span {
        font-size: 10.5px !important;
        padding: 2px 7px !important;
    }
}
/* --- 360px - 389px (Small Android / Compact iPhone) --- */
@media (max-width: 389px) {
    .logo-text {
        font-size: 15px !important;
    }
    .btn-primary, .btn-secondary {
        width: 100% !important;
        justify-content: center !important;
    }
}
/* --- Devices under 358px (Ultra-Compact Smartphones) --- */
@media (max-width: 358px) {
    .course-thumb {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        min-height: 160px !important;
    }
    .course-badge, .course-level {
        font-size: 8.5px !important;
        padding: 3px 8px !important;
        top: 8px !important;
    }
    .course-badge { left: 8px !important; }
    .course-level { right: 8px !important; }
    .course-info { padding: 14px !important; }
}
/* --- 320px (Ultra-Small Screens) --- */
@media (max-width: 330px) {
    .logo-icon {
        width: 26px !important;
        height: 26px !important;
        font-size: 13px !important;
    }
    .logo-text {
        font-size: 13.5px !important;
    }
    .nav-actions {
        gap: 8px !important;
    }
    .theme-toggle {
        width: 32px !important;
        height: 32px !important;
    }
}
/* ===== CHECKOUT ENROLLMENT MODAL ARCHITECTURE FIX ===== */
.checkout-modal-box {
    width: 92% !important;
    max-width: 520px !important;
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
}
.checkout-modal-box .modal-header {
    flex-shrink: 0 !important;
    padding: 18px 22px !important;
    border-bottom: 1px solid var(--border) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}
.checkout-modal-form {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}
.checkout-modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 20px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    -webkit-overflow-scrolling: touch !important;
}
.checkout-modal-footer {
    flex-shrink: 0 !important;
    padding: 16px 22px !important;
    border-top: 1px solid var(--border) !important;
    background: var(--card-bg) !important;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.2) !important;
}
body.light-theme .checkout-modal-footer {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -10px 25px rgba(15, 23, 42, 0.05) !important;
}
@media (max-width: 600px) {
    .checkout-modal-box {
        width: 95% !important;
        max-height: 94vh !important;
        border-radius: 12px !important;
    }
    .checkout-modal-box .modal-header {
        padding: 14px 16px !important;
    }
    .checkout-modal-box .modal-title {
        font-size: 16px !important;
    }
    .checkout-modal-body {
        padding: 15px 16px !important;
        gap: 12px !important;
    }
    .checkout-modal-footer {
        padding: 12px 16px !important;
    }
    /* Responsive font sizes and element scaling inside checkout modal */
    .checkout-modal-box label {
        font-size: 11px !important;
    }
    .checkout-modal-box input,
    .checkout-modal-box select {
        font-size: 13px !important;
        padding: 10px 12px !important;
    }
    #checkout-course-title {
        font-size: 14px !important;
    }
    #checkout-course-price {
        font-size: 16px !important;
    }
    .checkout-summary p {
        font-size: 11px !important;
    }
    #checkout-price-breakdown {
        font-size: 12px !important;
    }
    #checkout-price-breakdown div {
        font-size: 12px !important;
    }
    .checkout-modal-box button[type="submit"],
    .checkout-modal-box .btn-primary {
        font-size: 13px !important;
        padding: 11px !important;
        height: auto !important;
    }
}
/* ===== STUDENT SIGN IN MODAL ARCHITECTURE FIX ===== */
.student-modal-box {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 92% !important;
    max-width: 420px !important;
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
    background: var(--card-bg) !important;
    border: 1px solid var(--border) !important;
    z-index: 100001 !important;
}
.student-modal-header {
    flex-shrink: 0 !important;
    padding: 20px 22px 14px 22px !important;
    text-align: center !important;
    border-bottom: 1px solid var(--border) !important;
}
.student-modal-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    min-height: 0 !important;
    padding: 20px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    -webkit-overflow-scrolling: touch !important;
}
.student-modal-footer {
    flex-shrink: 0 !important;
    min-height: 64px !important;
    padding: 14px 22px !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    border-top: 1px solid var(--border) !important;
    background: var(--card-bg) !important;
    box-sizing: border-box !important;
}
.student-modal-footer .nav-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(23, 94, 108, 0.25) !important;
}
.student-modal-footer .modal-btn-cancel {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    box-shadow: none !important;
}
body.light-theme .student-modal-header {
    border-bottom: 1px solid #e2e8f0 !important;
}
body.light-theme .student-modal-footer {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
}
body.light-theme .student-modal-footer .modal-btn-cancel {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}
body.light-theme .student-modal-footer .modal-btn-cancel:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}
@media (max-width: 600px) {
    .student-modal-box {
        width: 94% !important;
        max-height: 92vh !important;
        border-radius: 12px !important;
    }
    .student-modal-header {
        padding: 16px 18px 12px 18px !important;
    }
    .student-modal-body {
        padding: 16px 18px !important;
        gap: 12px !important;
    }
    .student-modal-footer {
        padding: 12px 18px !important;
        min-height: 58px !important;
        gap: 10px !important;
    }
}
/* ===== QUIZ MODAL THEMING & CONTRAST FIX ===== */
#quizModal .modal-box {
    background: var(--card-bg, #0d1217) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5) !important;
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}
#quiz-modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    min-height: 0 !important;
    -webkit-overflow-scrolling: touch !important;
}
@media (max-width: 600px) {
    #quizModal .modal-box {
        width: 95% !important;
        max-height: 94vh !important;
        border-radius: 12px !important;
    }
}
#quiz-modal-body h4 {
    color: var(--text) !important;
}
#quiz-modal-body p, #quiz-modal-body span {
    color: var(--text-muted);
}
.quiz-progress-container {
    width: 100% !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    margin: 4px 0 12px 0 !important;
}
body.light-theme .quiz-progress-container {
    background: #e2e8f0 !important;
}
.quiz-progress-bar {
    height: 100% !important;
    background: var(--gradient) !important;
    transition: width 0.4s ease !important;
    border-radius: 4px !important;
}
.quiz-option-btn {
    width: 100% !important;
    padding: 14px 18px !important;
    background: var(--dark3, rgba(255, 255, 255, 0.04)) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    color: var(--text) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}
.quiz-option-btn span {
    color: var(--text) !important;
}
.quiz-option-btn:hover:not(:disabled) {
    background: rgba(44, 179, 201, 0.12) !important;
    border-color: var(--accent) !important;
    transform: translateY(-2px) !important;
}
.quiz-option-btn.selected {
    background: rgba(44, 179, 201, 0.2) !important;
    border: 2px solid var(--accent) !important;
    color: var(--accent) !important;
    font-weight: 700 !important;
}
.quiz-option-btn.selected span {
    color: var(--accent) !important;
}
.quiz-option-btn.correct {
    background: rgba(46, 204, 113, 0.15) !important;
    border: 2px solid #2ecc71 !important;
    color: #2ecc71 !important;
    font-weight: 700 !important;
}
.quiz-option-btn.correct span {
    color: #2ecc71 !important;
}
.quiz-option-btn.incorrect {
    background: rgba(231, 76, 60, 0.15) !important;
    border: 2px solid #e74c3c !important;
    color: #e74c3c !important;
    font-weight: 700 !important;
}
.quiz-option-btn.incorrect span {
    color: #e74c3c !important;
}
/* Light Theme Overrides for Quiz Modal */
body.light-theme #quizModal .modal-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;
}
body.light-theme #quiz-modal-body h4 {
    color: #0f172a !important;
}
body.light-theme .quiz-option-btn {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}
body.light-theme .quiz-option-btn span {
    color: #0f172a !important;
}
body.light-theme .quiz-option-btn:hover:not(:disabled) {
    background: #f0fdfa !important;
    border-color: #175e6c !important;
}
body.light-theme .quiz-option-btn.selected {
    background: #ccfbf1 !important;
    border-color: #175e6c !important;
    color: #175e6c !important;
}
body.light-theme .quiz-option-btn.selected span {
    color: #175e6c !important;
}
/* ===== 3D ROBOT RESPONSIVE MOBILE OPTIMIZATION ===== */
.robot-3d { display: block; }
.robot-img { display: none; }
@media (max-width: 768px) {
  .robot-3d { display: none !important; }
  .robot-img { display: block !important; width: 100% !important; }
}
/* Secondary button style for modals (themes compatible) */
.modal-btn-secondary {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #e8e8f0 !important;
    border: 1px solid var(--border) !important;
    transition: all 0.3s ease;
}
body.light-theme .modal-btn-secondary {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}
.modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
}
body.light-theme .modal-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08) !important;
}
/* ===== VIDEO COMMENTS SECTION ===== */
.modal-comments-section {
    padding: 25px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
    max-height: 400px;
    overflow-y: auto;
}
body.light-theme .modal-comments-section {
    background: rgba(0, 0, 0, 0.02);
}
.comment-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
}
body.light-theme .comment-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comment-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.comment-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
}
.comment-badge-admin {
    background: var(--accent);
    color: #000;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.comment-time {
    font-size: 11px;
    color: var(--text-muted);
}
.comment-text {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}
.comment-actions {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}
.comment-action-btn {
    cursor: pointer;
    transition: color 0.2s ease;
}
.comment-action-btn:hover {
    color: var(--accent);
}
.comment-action-btn.delete:hover {
    color: #ef4444;
}
/* Nesting for replies */
.comment-replies {
    padding-left: 20px;
    margin-top: 8px;
    border-left: 2px solid var(--accent);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
/* Comment inputs */
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--border);
}
.comment-input-area {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    color: var(--text) !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    font-family: inherit !important;
    resize: vertical !important;
    min-height: 60px !important;
    outline: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
}
body.light-theme .comment-input-area {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}
.comment-input-area:focus {
    border-color: var(--accent) !important;
}
.comment-submit-row {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.comment-btn {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}
.comment-btn-primary {
    background: var(--gradient);
    color: #fff;
}
.comment-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.comment-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid var(--border);
}
    color: #175e6c !important;
}
body.light-theme .quiz-option-btn.selected span {
    color: #175e6c !important;
}
/* ===== 3D ROBOT RESPONSIVE MOBILE OPTIMIZATION ===== */
.robot-3d { display: block; }
.robot-img { display: none; }
@media (max-width: 768px) {
  .robot-3d { display: none !important; }
  .robot-img { display: block !important; width: 100% !important; }
}
/* Secondary button style for modals (themes compatible) */
.modal-btn-secondary {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #e8e8f0 !important;
    border: 1px solid var(--border) !important;
    transition: all 0.3s ease;
}
body.light-theme .modal-btn-secondary {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}
.modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
}
body.light-theme .modal-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08) !important;
}
/* ===== VIDEO COMMENTS SECTION ===== */
.modal-comments-section {
    padding: 25px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
    max-height: 400px;
    overflow-y: auto;
}
body.light-theme .modal-comments-section {
    background: rgba(0, 0, 0, 0.02);
}
.comment-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
}
body.light-theme .comment-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comment-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.comment-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
}
.comment-badge-admin {
    background: var(--accent);
    color: #000;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.comment-time {
    font-size: 11px;
    color: var(--text-muted);
}
.comment-text {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}
.comment-actions {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}
.comment-action-btn {
    cursor: pointer;
    transition: color 0.2s ease;
}
.comment-action-btn:hover {
    color: var(--accent);
}
.comment-action-btn.delete:hover {
    color: #ef4444;
}
/* Nesting for replies */
.comment-replies {
    padding-left: 20px;
    margin-top: 8px;
    border-left: 2px solid var(--accent);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
/* Comment inputs */
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--border);
}
.comment-input-area {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    color: var(--text) !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    font-family: inherit !important;
    resize: vertical !important;
    min-height: 60px !important;
    outline: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
}
body.light-theme .comment-input-area {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}
.comment-input-area:focus {
    border-color: var(--accent) !important;
}
.comment-submit-row {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.comment-btn {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}
.comment-btn-primary {
    background: var(--gradient);
    color: #fff;
}
.comment-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.comment-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid var(--border);
}
body.light-theme .comment-btn-secondary {
    background: rgba(0, 0, 0, 0.05);
}
.comment-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}
/* Enrollment warning banner */
.comment-warning-banner {
    background: rgba(245, 158, 11, 0.1);
    border: 1px dashed #f59e0b;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    color: #f59e0b;
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
}
/* ===== VIDEO LESSON MODAL RESPONSIVE FIXES ===== */
#videoModal .modal-box {
    display: grid !important;
    grid-template-columns: 1.6fr 1fr !important;
    grid-template-rows: auto 1fr !important;
    height: 85vh !important;
    max-height: 90vh !important;
    width: 95% !important;
    max-width: 1050px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}
#videoModal .modal-header {
    grid-column: span 2 !important;
    grid-row: 1 !important;
    flex-shrink: 0 !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid var(--border) !important;
}
#videoModal .modal-video {
    grid-column: 1 !important;
    grid-row: 2 !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    position: relative !important;
    background: #000 !important;
}
#videoModal .modal-video iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}
#videoModal .modal-comments-section {
    grid-column: 2 !important;
    grid-row: 2 !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 20px 20px !important;
    background: rgba(0, 0, 0, 0.15) !important;
    border-left: 1px solid var(--border) !important;
    border-top: none !important;
    min-height: 0 !important; /* Forces scroll container sizing */
    height: 100% !important;
    max-height: none !important;
}
body.light-theme #videoModal .modal-comments-section {
    background: rgba(0, 0, 0, 0.02) !important;
}
#videoModal .comments-container {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
}
#videoModal #video-comments-list {
    flex-grow: 1 !important;
    overflow-y: auto !important;
    min-height: 0 !important;
    margin-bottom: 15px !important;
    padding-right: 8px !important;
    -webkit-overflow-scrolling: touch !important;
}
#videoModal #video-comment-box-wrapper {
    flex-shrink: 0 !important;
    border-top: 1px dashed var(--border) !important;
    padding-top: 15px !important;
}
#videoModal .comment-form {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}
/* Scrollbar styling for comments list */
#videoModal #video-comments-list::-webkit-scrollbar {
    width: 6px;
}
#videoModal #video-comments-list::-webkit-scrollbar-track {
    background: transparent;
}
#videoModal #video-comments-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}
body.light-theme #videoModal #video-comments-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
}
/* Desktop split-screen comment form layout */
@media (min-width: 680px) {
    #videoModal .comment-form {
        display: flex !important;
        flex-direction: column !important; /* Vertical stack */
        align-items: stretch !important;
        gap: 10px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: none !important;
    }
    #videoModal .comment-form h5 {
        display: block !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        color: var(--text-muted) !important;
        margin: 0 0 4px 0 !important;
    }
    #videoModal .comment-input-area {
        width: 100% !important;
        height: 60px !important;
        min-height: 60px !important;
        resize: vertical !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }
    #videoModal .comment-submit-row {
        display: flex !important;
        justify-content: flex-end !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #videoModal .comment-btn {
        height: 38px !important;
        padding: 0 20px !important;
        font-size: 13px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}
/* Mobile responsive media query (< 768px) */
@media (max-width: 679px) {
    #videoModal {
        padding: 0 !important;
    }
    .comment-header {
        flex-wrap: wrap !important;
        gap: 4px 8px !important;
    }
    .comment-time {
        font-size: 10px !important;
    }
    #videoModal .modal-box {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        border: none !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
    #videoModal .modal-header {
        padding: 12px 16px !important;
    }
    #videoModal .modal-video {
        display: block !important;
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        flex-shrink: 0 !important;
    }
    #videoModal .modal-comments-section {
        padding: 15px 16px !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        flex-grow: 1 !important;
        height: 100% !important;
        min-height: 0 !important;
        border-left: none !important;
        border-top: 1px solid var(--border) !important;
    }
    #videoModal .comments-container {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        min-height: 0 !important;
    }
    #videoModal #video-comments-list {
        flex-grow: 1 !important;
        overflow-y: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-bottom: 15px !important;
        -webkit-overflow-scrolling: touch !important;
}
    #videoModal #video-comment-box-wrapper {
        flex-shrink: 0 !important;
        border-top: 1px dashed var(--border) !important;
        padding-top: 15px !important;
        padding-bottom: 10px !important;
    }
    .comment-card {
        padding: 10px !important;
        gap: 6px !important;
    }
    .comment-avatar {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
    }
    .comment-name {
        font-size: 12px !important;
    }
    .comment-text {
        font-size: 12px !important;
    }
    .comment-btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
    .comment-input-area {
        font-size: 13px !important;
        padding: 10px !important;
    }
}