:root {
            --primary: #e91e8c;
            --primary-dark: #c71876;
            --secondary: #7c3aed;
            --accent: #06b6d4;
            --dark: #0a0a0a;
            --dark-gray: #1a1a1a;
            --mid-gray: #2a2a2a;
            --light-gray: #4a4a4a;
            --text-light: #e5e5e5;
            --text-muted: #a0a0a0;
        }
		
		
		   /* Animated Background */
        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: var(--bg-darker);
            overflow: hidden;
        }

        .gradient-mesh {
            position: absolute;
            border-radius: 50%;
            filter: blur(100px);
            opacity: 0.3;
            animation: float 25s infinite ease-in-out;
        }

        .mesh-1 {
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
            top: -200px;
            right: -100px;
        }

        .mesh-2 {
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
            bottom: -150px;
            left: -100px;
            animation-delay: 8s;
        }

        .mesh-3 {
            width: 700px;
            height: 700px;
            background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation-delay: 15s;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(80px, -60px) scale(1.1); }
            66% { transform: translate(-60px, 80px) scale(0.9); }
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Outfit', sans-serif;
            background: var(--dark);
            color: var(--text-light);
            overflow-x: hidden;
            line-height: 1.6;
            padding-top: 50px;
        }


        /* Hero Section */
        .hero {
            display: flex;
            justify-content: center;
            min-height: 50vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            margin-top: 0;
            padding-top: 0;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 50%, rgba(233, 30, 140, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
            z-index: 0;
        }

        .hero-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 4rem 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-content h1 {
            font-size: 4.5rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 1.5rem;
        }

        .dynamic-text {
            background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
            animation: textShine 3s ease-in-out infinite;
        }

        @keyframes textShine {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .hero-content p {
            font-size: 1.25rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
            max-width: 600px;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 1rem 2rem;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 12px;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            font-family: 'Outfit', sans-serif;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
		
		.btn-primary{
			background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            box-shadow: 0 10px 30px rgba(233, 30, 140, 0.3);
		}

        .btn-primary-course {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            box-shadow: 0 10px 30px rgba(233, 30, 140, 0.3);
			display: flex;
			justify-content: center;
			align-items: center;
			width: 100%;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(233, 30, 140, 0.4);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-light);
            border: 2px solid rgba(255, 255, 255, 0.1);
			border-color: var(--primary);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 15px 40px rgba(233, 30, 140, 0.4);
			border-color: var(--accent);
        }

        .hero-video {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: floatVideo 6s ease-in-out infinite;
        }
		
		.hero-video-slider{position:relative;overflow:hidden;border-radius:24px;box-shadow:0 20px 60px rgba(0,255,245,.25);margin:0;padding:0}
		.video-track{display:flex;transition:transform .6s ease}
		.video-slide{min-width:100%;background:#000;position:relative;margin:0;padding:0}
		.video-cta{position:absolute;top:6px;left:92px;transform:translateX(-50%);background:linear-gradient(135deg,#00fff5,#a855f7);color:#000;padding:.8rem 1.8rem;border-radius:40px;font-weight:700;text-decoration:none;z-index:9100;pointer-events:auto !important;cursor:pointer}
		.video-dots{display:flex;justify-content:center;gap:.5rem;margin-top:1rem}
		.video-dot{width:10px;height:10px;border-radius:50%;background:#334155}
		.video-dot.active{background:linear-gradient(135deg,var(--primary),var(--secondary))}
		
		@media(max-width:900px){.hero{grid-template-columns:1fr}.hero h1{font-size:2.2rem}}

        @keyframes floatVideo {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        .hero-video video {
            width: 100%;
            height: auto;
            display: block;
        }

        .hero-video::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(233, 30, 140, 0.1), rgba(124, 58, 237, 0.1));
            pointer-events: none;
        }

        /* Learning GIF Section */
        .learning-showcase {
            padding: 6rem 2rem;
            background: var(--dark-gray);
            position: relative;
        }

        .learning-showcase::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--primary), transparent);
        }

        .showcase-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .showcase-content {
            text-align: center;
            margin-bottom: 3rem;
        }

        .showcase-content h2 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1rem;
        }

        .showcase-content p {
            font-size: 1.25rem;
            color: var(--text-muted);
        }

        .gif-container {
            max-width: 900px;
            margin: 0 auto;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
            border: 2px solid rgba(233, 30, 140, 0.2);
        }

        .gif-container img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Category Sections */
        .category-section {
            margin: 40px 0;
            padding: 0 16px;
        }

        .section-header {
            max-width: 1400px;
            margin: 0 auto 3rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .section-header h2 {
            font-size: 2.5rem;
            font-weight: 800;
        }

        .section-header .btn {
            padding: 0.75rem 1.5rem;
        }

        .scroll-container {
            position: relative;
            max-width: 1400px;
            margin: 0 auto;
        }

        .scroll-wrapper {
            overflow-x: auto;           /* horizontal scroll */
            overflow-y: hidden;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
        }

        .scroll-wrapper::-webkit-scrollbar {
            display: none;
        }

        .courses-grid {
            display: flex;
            gap: 2rem;
            padding: 1rem 0;
        }

        .course-card {
            min-width: 350px;
            background: var(--dark-gray);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .course-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary);
            box-shadow: 0 20px 40px rgba(233, 30, 140, 0.2);
        }

        .course-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, var(--secondary), var(--primary));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            position: relative;
            overflow: hidden;
        }

        .course-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
        }

        .course-info {
            padding: 1.5rem;
        }

        .course-category {
            font-size: 0.875rem;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Force 2 lines for title */
        .course-info h3{
            display: -webkit-box;
            -webkit-line-clamp: 2;   /* ✅ limit to 2 lines */
            -webkit-box-orient: vertical;
            overflow: hidden;

            line-height: 1.5;
            min-height: calc(1.3em * 2); /* ✅ ensures uniform height */
            margin-bottom: 10px;
        }

        /* Force 2 lines for description */
        .course-info p{
            display: -webkit-box;
            -webkit-line-clamp: 2;   /* ✅ limit to 2 lines */
            -webkit-box-orient: vertical;
            overflow: hidden;

            line-height: 1.5;
            min-height: calc(1.5em * 2); /* ✅ keeps layout consistent */
            margin-bottom: 10px;
        }

        .course-meta {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            font-size: 0.875rem;
            color: var(--text-muted);
        }

        .course-meta span {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .scroll-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(233, 30, 140, 0.9);
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .scroll-btn:hover {
            background: var(--primary);
            transform: translateY(-50%) scale(1.1);
        }

        .scroll-btn.left {
            left: -25px;
        }

        .scroll-btn.right {
            right: -25px;
        }

        /* Featured Courses */
        .featured-section {
            padding: 6rem 2rem;
            background: var(--dark-gray);
        }

        .featured-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
        }

        /* Video Preview Section */
        .video-preview-section {
            margin-top: -50px;
            padding: 6rem 2rem;
        }

        .video-grid {
            display: flex;              /* horizontal layout */
            flex-wrap: nowrap;          /* no wrapping */
            gap: 2rem;                  /* spacing between cards */
        }

        .video-card {
            background: var(--dark-gray);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s;
            border: 1px solid rgba(255, 255, 255, 0.05);
            flex: 0 0 auto;             /* fixed width, no shrinking */
            width: 300px;               /* adjust card width */
        }

        .video-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
        }

        .video-thumbnail {
            position: relative;
            width: 100%;
            padding-top: 56.25%; /* 16:9 aspect ratio */
            overflow: hidden;
            border-radius: 12px;
            cursor: pointer;
        }

        .video-thumbnail img, 
        .video-thumbnail iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 12px;
        }

        .video-cover {
            position: absolute;   /* 🔥 THIS is the fix */
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;

            cursor: pointer;
            border-radius: 12px;
            overflow: hidden;
        }

        .video-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); /* centers the icon */
            
            font-size: 2rem;
            color: #fff;
            background: rgba(0,0,0,0.5);
            width: 60px;
            height: 60px;
            border-radius: 50%;

            display: flex;
            align-items: center;
            justify-content: center;

            cursor: pointer; /* optional: indicates it's clickable */
            transition: transform 0.2s ease, background 0.2s ease;
        }

        .play-icon:hover {
            transform: translate(-50%, -50%) scale(1.1);
            background: rgba(0,0,0,0.7);
        }

        /* Lightbox Modal for Video Previews only */
        .video-preview-section #video-lightbox {
            display: none;
            position: fixed;
            top: 0; 
            left: 0;
            width: 100%; 
            height: 100%;

            background: rgba(0, 0, 0, 0.92);   /* 🔥 deeper focus */
            backdrop-filter: blur(6px);        /* 🔥 premium blur effect */

            justify-content: center;
            align-items: center;
            z-index: 1000;
            transition: opacity 0.3s ease;
        }

        #video-lightbox {
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        #video-lightbox.active {
            opacity: 1;
        }

        /* iframe sizing now handled by .yt-lightbox-wrap */
        .video-preview-section #video-lightbox iframe {
            border: none;
            border-radius: 0;
        }

        .video-preview-section #video-lightbox .close-btn {
            position: absolute;
            top: 20px; right: 30px;
            font-size: 2rem;
            color: #fff;
            cursor: pointer;
        }

        .video-info {
            padding: 1.5rem;
        }

        /* Force 2 lines for title */
        .video-info h3{
            display: -webkit-box;
            -webkit-line-clamp: 2;   /* ✅ limit to 2 lines */
            -webkit-box-orient: vertical;
            overflow: hidden;

            line-height: 1.5;
            min-height: calc(1.3em * 2); /* ✅ ensures uniform height */
            margin-bottom: 10px;
            margin-top: -20px;
        }

        .video-info p {
            color: var(--text-muted);
            font-size: 0.875rem;
        }

        /* eBooks Section */
        .ebooks-section {
            margin: 40px 0;
            padding: 0 16px;
            background: var(--dark-gray);
        }

        .ebook-card {
            min-width: 280px;
            background: var(--mid-gray);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .ebook-card:hover {
            transform: translateY(-5px);
            border-color: var(--secondary);
        }

        .ebook-cover {
            width: 100%;
            height: 350px;
            overflow: hidden;
            background: linear-gradient(135deg, var(--secondary), var(--primary));
        }

        .ebook-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* fills container nicely */
            display: block;
        }

        .ebook-info {
            padding: 1.2rem 1.5rem 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 160px; /* keeps all cards equal */
        }

        .ebook-info h3 {
            font-size: 1.1rem;
            margin-bottom: 12px;

            line-height: 1.4;
            max-height: calc(1.4em * 2); /* fallback control */

            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .ebook-info .btn {
            margin-top: auto;
        }

        /* Membership Banner */
        .membership-banner {
            padding: 6rem 2rem;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            position: relative;
            overflow: hidden;
        }

        .membership-banner::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            border-radius: 50%;
        }

        .membership-content {
            max-width: 1000px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .membership-content h2 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
        }

        .membership-content p {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .membership-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .feature {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 16px;
            backdrop-filter: blur(10px);
        }

        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .feature h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        /* Certificate Banner */
        .certificate-banner {
            padding: 4rem 2rem;
            background: var(--mid-gray);
            border-top: 2px solid rgba(233, 30, 140, 0.2);
            border-bottom: 2px solid rgba(233, 30, 140, 0.2);
        }

        .certificate-content {
            max-width: 1000px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 3rem;
        }

        .certificate-icon {
            font-size: 5rem;
        }

        .certificate-text h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .certificate-text p {
            font-size: 1.125rem;
            color: var(--text-muted);
        }

        
        /* ===============================
        TESTIMONIALS SECTION
        =============================== */

        .testimonials-section {
            padding: 4rem 2rem 1.5rem;
            position: relative;
        }

        .testimonials-wrapper {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
        }

        /* ===============================
        SCROLL CONTAINER
        =============================== */

        .testimonials-grid {
            display: flex;
            gap: 2rem;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 1rem 2.5rem; /* space for buttons */
            
            /* Snap scrolling */
            scroll-snap-type: x mandatory;

            /* Hide scrollbar */
            scrollbar-width: none;
        }

        .testimonials-grid::-webkit-scrollbar {
            display: none;
        }

        /* ===============================
        CARD
        =============================== */

        .testimonial-card {
            min-width: 350px;
            max-width: 350px;
            flex: 0 0 auto;

            background: var(--dark-gray);
            padding: 2rem;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.05);

            transition: all 0.3s;

            /* Snap alignment */
            scroll-snap-align: start;
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            box-shadow: 0 10px 30px rgba(233, 30, 140, 0.2);
        }

        /* ===============================
        HEADER
        =============================== */

        .testimonial-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .reviewer-image {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
        }

        .reviewer-info h4 {
            font-size: 1.125rem;
            margin-bottom: 0.25rem;
        }

        .reviewer-info p {
            font-size: 0.875rem;
            color: var(--text-muted);
        }

        .rating {
            color: #fbbf24;
            font-size: 1.25rem;
            margin-bottom: 1rem;
        }

        .testimonial-text {
            color: var(--text-light);
            line-height: 1.7;
        }

        /* ===============================
        SCROLL BUTTONS
        =============================== */

        .testimonial-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            
            width: 45px;
            height: 45px;
            border-radius: 50%;
            border: none;
            cursor: pointer;

            background: var(--primary);
            color: #fff;
            font-size: 1.5rem;

            display: flex;
            align-items: center;
            justify-content: center;

            z-index: 10;
            transition: 0.3s;
        }

        .testimonial-btn:hover {
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 5px 20px rgba(0,255,245,0.4);
        }

        /* LEFT BUTTON */
        .testimonial-btn.prev {
            left: -10px;
        }

        /* RIGHT BUTTON */
        .testimonial-btn.next {
            right: -10px;
        }

        /* ===============================
        MOBILE OPTIMIZATION
        =============================== */

        @media (max-width: 768px) {

            .testimonials-section {
                padding: 4rem 1rem;
            }

            .testimonials-grid {
                padding: 1rem;
                gap: 1.5rem;
            }

            .testimonial-card {
                min-width: 85%;
                max-width: 85%;
                padding: 1.5rem;
            }

            .testimonial-btn {
                display: none; /* hide buttons on mobile (swipe instead) */
            }

            .reviewer-image {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }

            .testimonial-text {
                font-size: 0.95rem;
            }
        }
		

        /* ===============================
        INSTRUCTORS (EMENWA PREMIUM)
        ================================ */

        .instructors {
        background: var(--dark-gray);
        position: relative;
        }

        .instructor-container {
        max-width: 1200px;
        margin: auto;
        padding: 100px 20px;
        }

        /* TITLE */
        .section-title {
        text-align: center;
        margin-bottom: 60px;
        }

        .section-title h3 {
        font-size: 2.6rem;
        font-weight: 800;

        background: linear-gradient(135deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        }

        .section-title p {
        color: var(--text-muted);
        margin-top: 10px;
        font-size: 1.1rem;
        }
        

        /* GRID */
        .instructor-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 35px;
        }



        /* ===============================
        JOB TITLE (SECONDARY INFO)
        =============================== */
        .job-title {
        display: block;
        font-size: 0.92rem;
        font-weight: 600;

        /* DIFFERENT COLOR (PURPLE TONE) */
        color: var(--primary);;

        margin-top: 6px;
        line-height: 1.4;
        opacity: 0.95;
        }

        /* CARD */
        .instructor-card {
        background: var(--mid-gray);
        border-radius: 20px;
        padding: 30px 25px;
        text-align: center;

        border: 1px solid rgba(255,255,255,0.05);
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        }

        /* Glow hover */
        .instructor-card:hover {
        transform: translateY(-10px) scale(1.02);
        border-color: var(--primary);
        box-shadow: 0 20px 50px rgba(233, 30, 140, 0.25);
        }

        /* IMAGE WRAPPER */
        .instructor-img {
        width: 130px;
        height: 130px;
        margin: 0 auto 18px;
        border-radius: 50%;
        padding: 3px;

        background: linear-gradient(135deg, var(--primary), var(--secondary));
        }

        .instructor-img img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        display: block;
        }


        /* ROLE */
        .instructor-card .instructor-name {
        color: #00f5d4;
        font-size: 0.9rem;
        font-weight: 600;
        }

        /* BIO (max 3 lines) */
        .instructor-card p {
        margin-top: 14px;
        font-size: 0.95rem;
        color: var(--text-muted);
        line-height: 1.5;

        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        overflow: hidden;
        }

        /* SKILLS */
        .skills {
        margin-top: 15px;
        font-size: 0.9rem;
        color: #d1d1d1;
        line-height: 1.6;
        }

        /* ===============================
        MOBILE OPTIMIZATION
        ================================ */
        @media (max-width: 768px) {

        .instructor-container {
            padding: 60px 15px;
        }

        .section-title h3 {
            font-size: 1.8rem;
        }

        .section-title p {
            font-size: 0.9rem;
        }

        .instructor-grid {
            gap: 20px;
        }

        .instructor-card {
            padding: 25px 18px;
        }

        .instructor-img {
            width: 100px;
            height: 100px;
        }

        .instructor-card h4 {
            font-size: 1.1rem;
        }

        .instructor-card p {
            font-size: 0.85rem;
        }

        .skills {
            font-size: 0.85rem;
        }
        }

        /* EXTRA SMALL */
        @media (max-width: 480px) {

        .instructor-container {
            padding: 50px 12px;
        }

        .section-title h3 {
            font-size: 1.6rem;
        }

        .instructor-img {
            width: 90px;
            height: 90px;
        }
        }
		
		
        /* Footer */
        .footer {
            background: var(--dark-gray);
            padding: 4rem 2rem 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-brand h3 {
            font-size: 1.75rem;
            margin-bottom: 1rem;
        }

        .footer-brand p {
            color: var(--text-muted);
            margin-bottom: 1.5rem;
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(233, 30, 140, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            text-decoration: none;
            transition: all 0.3s;
        }

        .social-link:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px);
        }

        .footer-links h4 {
            font-size: 1.125rem;
            margin-bottom: 1rem;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            color: var(--text-muted);
        }

        /* Mobile Responsive */
        @media (max-width: 968px) {
            .hero-container {
                grid-template-columns: 1fr;
                gap: 2rem;
				margin-top: 20px;
				text-align: center;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }

            .hero-video {
                order: -1;
            }

            .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
				
            }

            @media (max-width: 768px){
            .section-header {
                flex-direction: column;
                align-items: center;   /* ✅ center horizontally */
                text-align: center;    /* ✅ center text */
                gap: 1rem;
            }

            .section-header h2{
                text-align: center;
            }

            .section-header .btn{
                margin: 0 auto;        /* ✅ center button */
            }
            }
			
			.cta-buttons {
				  display: flex;
				  justify-content: center; /* Centers horizontally */
				  align-items: center;     /* Centers vertically */
				  
			}

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }

            .certificate-content {
                flex-direction: column;
                text-align: center;
            }

            .membership-features {
                grid-template-columns: 1fr;
            }

        .scroll-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            color: #fff;
            background: rgba(0,0,0,0.5);
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .scroll-btn:hover {
            background: var(--primary);
            transform: translateY(-50%) scale(1.1);
        }

        .scroll-btn.left {
            left: -25px;
        }

        .scroll-btn.right {
            right: -25px;
        }

            .courses-grid,
            .video-grid,
            .featured-grid,
            .testimonials-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 640px) {
            .hero-content h1 {
                font-size: 2rem;
            }

            .membership-content h2 {
                font-size: 2rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
            }

            .course-card,
            .ebook-card {
                min-width: 100%;
            }
        }
		
		/* Bestseller Badge */
		
		.badge {
			position: absolute;
			top: 12px;
			right: 12px;
			background:#006400;
			color: white;
			font-size: 0.75rem;
			font-weight: 700;
			padding: 6px 12px;
			border-radius: 20px;
			letter-spacing: 0.5px;
			text-transform: uppercase;

			border: 1px solid rgba(255,255,255,0.2);
		}
		
		
		.course-image {
			position: relative;
			width: 100%;
			height: auto;
			overflow: hidden;
			border-top-left-radius: 12px;
			border-top-right-radius: 12px;
		}

		.course-image img {
			width: 100%;
			height: auto;
			display: block;
		}


        .video-slide{
        position:relative;
        }

        .video-poster{
        position:relative;
        cursor:pointer;
        border-radius:16px;
        overflow:hidden;
        }

        .video-poster img{
        width:100%;
        height:100%;
        aspect-ratio:16/9;
        object-fit:cover;
        display:block;
        }

        /* Play Button */
        .play-btn{
        position:absolute;
        top:50%;
        left:50%;
        width: 90px;
        height: 90px;
        transition: transform 0.3s;
        transform:translate(-50%,-50%);
        color: #fff;
        background: rgba(0,0,0,0.5);
        font-size: 3.25rem;
        border-radius: 50%;
        font-weight:bold;
        box-shadow:0 10px 30px rgba(0,255,245,.4);
        transition:all .3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        }

        .play-btn:hover{
            transform:translate(-50%, -50%) scale(1.15);
        }
		

        .nav-btn{
            position:absolute;
            top:50%;
            transform:translateY(-50%);
            width:50px;
            height:50px;
            border-radius:50%;
            border:none;
            cursor:pointer;
            z-index:6;
            
            color: #fff;
            background: rgba(0,0,0,0.5);
            font-size:1.5rem;
            font-weight:bold;

            display:flex;
            align-items:center;
            justify-content:center;

            box-shadow:0 10px 30px rgba(0,255,245,.4);
            transition:all .3s ease;
        }

        .nav-btn:hover{
            transform:translateY(-50%) scale(1.15);
        }

        .prev-btn{ left:10px; }
        .next-btn{ right:10px; }

        /* Mobile optimization */
        @media(max-width:768px){
            .nav-btn{
                width:40px;
                height:40px;
                font-size:1.2rem;
            }
        }



        @media (max-width: 768px){

        .hero-content h1{
            font-size: clamp(1.8rem, 5vw, 2rem); /* responsive scaling */
            line-height: 1.2;
            min-height: 1.2em; /* locks height */
            margin-top: -80px;
        }

        .hero-content p{
            font-size: clamp(0.8rem, 5vw, 0.5rem); /* responsive scaling */
        }

        .dynamic-text{
             display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;

            overflow: hidden;
            height: 2.4em; /* 2 lines locked */
        }

        .video-cta{position:absolute;top:3px; font-size: 10px; left: 17%;transform:translateX(-50%);background:linear-gradient(135deg,#00fff5,#a855f7);color:#000;padding:.1rem 0.5rem;border-radius:40px;font-weight:700;text-decoration:none;z-index:9100;pointer-events:auto !important;cursor:pointer}

        }

       
        @media (max-width: 768px) {

            .section-header {
                text-align: center;
                padding: 0 1rem;
                margin-bottom: 1rem; /* reduce space below header */
            }

            .section-header h2 {
                font-size: clamp(1.2rem, 4vw, 1.6rem);
                line-height: 1.3;
                margin-bottom: 0.5rem;
            }

            .section-header p {
                font-size: 0.9rem;
                line-height: 1.5;
                max-width: 90%;
                margin: 0 auto;
            }

            .highlight-text {
                color: var(--primary);
                font-weight: 500;
            }
        }


        @media (max-width: 768px) {

        /* Reduce section vertical spacing */
        section {
            padding: 30px 15px !important;
        }

        /* Tighten section header */
        .section-header {
            margin-bottom: 15px !important;
            text-align: center;
        }

        /* Remove large default margins */
        .section-header h2 {
            margin-bottom: 8px !important;
        }

        .section-header p {
            margin-bottom: 10px !important;
        }

        /* Reduce spacing between video cards */
        .video-grid {
            gap: 12px !important;
        }

        /* Reduce card internal spacing */
        .video-card {
            margin-bottom: 10px !important;
        }

        .video-info {
            padding: 20px !important;
        }

        /* Reduce scroll container spacing */
        .scroll-container {
            margin-top: 10px !important;
        }

        /* Optional: reduce hero spacing too */
        .hero {
            padding-bottom: 30px !important;
        }

        }



        @media (max-width: 768px) {
            .category-section,
            .ebooks-section {
                margin: 30px 0;
                padding: 0 12px;
            }

            .section-header {
                margin-bottom: 12px;
            }

            .courses-grid {
                gap: 12px;
            }

            .scroll-container {
                margin-top: 10px;
            }
        }


        @media (min-width: 1024px) {
            .category-section,
            .ebooks-section {
                margin: 80px 0;
                padding: 0 40px;
            }

            .section-header {
                margin-bottom: 24px;
            }

            .courses-grid {
                gap: 20px;
            }

            .scroll-container {
                margin-top: 16px;
            }
        }

        .category-section:not(:last-child),
        .ebooks-section:not(:last-child) {
            border-bottom: 2px solid rgba(255,255,255,0.05);
            padding-bottom: 20px;
        }

        


        
        /* Share Button Styling */
        #shareButton {
        z-index: 1000;
        position: fixed;
        bottom: 60px;
        right: 20px;
        width: 60px;
        height: 60px;
        border: none;
        border-radius: 50%;
        background-color: #007bff;
        color: white;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        outline: none;
        }

        #shareButton:hover {
        transform: scale(1.1);
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
        }

        /* Share Panel Styling */
        .share-panel {
        position: fixed;
        bottom: 125px;
        right: 15px;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        width: 120px;
        padding: 15px;
        text-align: center;
        z-index: 1000;
        transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .hidden {
        opacity: 0;
        transform: translateY(20px);
        pointer-events: none;
        }

        .share-panel h3 {
        margin-bottom: 10px;
        font-size: 16px;
        color: #333;
        }

        .platforms-list {
        list-style: none;
        padding: 0;
        }

        .platforms-list li {
        margin: 5px 0;
        }

        .platforms-list a {
        text-decoration: none;
        color: #007bff;
        font-size: 14px;
        transition: color 0.3s ease;
        }

        .platforms-list a:hover {
        color: #0056b3;
        }

        @media (max-width: 768px) {
            #shareButton {
                width: 48px;
                height: 48px;
                font-size: 16px;

                bottom: 20px;
                right: 15px;
            }

            #shareButton.hidden {
                transform: translateY(100px);
                opacity: 0;
            }
        }


        /*  ===============================
            FEATURED COURSES (PREMIUM UI)
            ================================ */

        .featured-courses {
            max-width: 1400px;
            margin: 6rem auto;
            padding: 0 2rem;
        }

        /* GRID */
        .featured-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            margin-top: 2.5rem;
        }

        /* CARD */
        .featured-card {
            background: var(--dark-gray);
            border: 1px solid rgba(233, 30, 140, 0.15);
            border-radius: 24px;
            overflow: hidden;
            position: relative;
            transition: all 0.4s ease;
        }

        /* Glow border layer */
        .featured-card::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: 24px;
            background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: 0;
        }

        .featured-card:hover::before {
            opacity: 1;
        }

        .featured-card:hover {
            transform: translateY(-12px) scale(1.01);
            box-shadow: 0 25px 80px rgba(233, 30, 140, 0.25);
        }

        /* HEADER IMAGE */
        .featured-header {
            height: 240px;
            position: relative;
            overflow: hidden;
        }

        .featured-header img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        /* Subtle zoom on hover */
        .featured-card:hover .featured-header img {
            transform: scale(1.05);
        }

        /* Overlay gradient */
        .featured-header::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(
                to top,
                rgba(0,0,0,0.75),
                rgba(0,0,0,0.15)
            );
        }

        /* BADGE */
        .featured-label {
            position: absolute;
            bottom: 12px;
            right: 12px;

            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: #fff;

            padding: 6px 14px;
            border-radius: 20px;

            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;

            box-shadow: 0 4px 12px rgba(0,0,0,0.4);
            z-index: 2;
        }

        /* BODY */
        .featured-body {
            position: relative;
            z-index: 1;
            padding: 1.6rem;
        }

        /* TITLE (MAX 2 LINES) */
        .featured-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 0.6rem;
            color: var(--text-light);

            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;

            line-height: 1.4;
            min-height: calc(1.4em * 2);
        }

        /* DESCRIPTION (MAX 3 LINES) */
        .featured-desc {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-bottom: 1.2rem;

            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;

            line-height: 1.6;
            min-height: calc(1.6em * 3);
        }

        /* STATS */
        .featured-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.8rem;
            margin-bottom: 1.3rem;
        }

        .stat-box {
            text-align: center;
            padding: 0.7rem;
            background: rgba(255,255,255,0.03);
            border-radius: 10px;
            border: 1px solid rgba(255,255,255,0.05);
            transition: all 0.3s ease;
        }

        .featured-card:hover .stat-box {
            border-color: rgba(233, 30, 140, 0.3);
            background: rgba(233, 30, 140, 0.05);
        }

        .stat-value {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary);
        }

        .stat-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-top: 0.2rem;
        }

        /* BUTTON */
        .btn-enroll {
            width: 100%;
            padding: 0.9rem;

            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;

            border: none;
            border-radius: 12px;

            font-weight: 600;
            font-size: 0.95rem;
            letter-spacing: 0.5px;

            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-enroll:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(233, 30, 140, 0.4);
        }

        /* ===============================
        MOBILE OPTIMIZATION
        ================================ */
        @media (max-width: 768px) {

            .featured-courses {
                margin: 3rem auto;
                padding: 0 1rem;
            }

            .featured-grid {
                gap: 1.2rem;
            }

            .featured-header {
                height: 200px;
            }

            .featured-title {
                font-size: 1.1rem;
            }

            .featured-desc {
                font-size: 0.85rem;
            }
        } 

        /* ===============================
        CTA SECTION (PREMIUM STYLE)
        ================================ */

        .cta-section {
            max-width: 1400px;
            margin: auto;
            padding: 5rem 2rem;
            background: var(--mid-gray); /* safer than bg-card */
            border: 2px solid rgba(233, 30, 140, 0.3);
            border-radius: 30px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        /* 🔥 Rotating Glow Layer */
        .cta-section::before {
            content: '';
            position: absolute;
            top: -60%;
            left: -60%;
            width: 220%;
            height: 220%;

            background: conic-gradient(
                from 0deg,
                transparent,
                var(--primary),
                var(--secondary),
                transparent 60deg
            );

            animation: rotate 8s linear infinite;
            z-index: 0;
        }

        /* 🔥 Soft blur overlay (premium depth) */
        .cta-section::after {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.6);
            backdrop-filter: blur(20px);
            z-index: 0;
        }

        /* Rotation FIX */
        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }

        /* CONTENT */
        .cta-content {
            position: relative;
            z-index: 2;
        }

        /* 🔥 FIXED HEADING (your issue) */
        .cta-section h2 {
            font-family: 'Audiowide', sans-serif;
            font-size: 3rem;
            font-weight: 900;
            margin-bottom: 1.5rem;

            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;

            line-height: 1.2;
        }

        /* TEXT */
        .cta-section p {
            font-size: 1.2rem;
            color: var(--text-muted);
            margin-bottom: 2.5rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        /* BUTTON ENHANCEMENT */
        .cta-section a {
            padding: 1.2rem 2.5rem;
            font-size: 1.1rem;
            border-radius: 50px;

            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: #fff;

            box-shadow: 0 10px 40px rgba(233, 30, 140, 0.4);
            transition: all 0.3s ease;
        }

        .cta-section a:hover {
            transform: translateY(-4px) scale(1.03);
            box-shadow: 0 20px 60px rgba(233, 30, 140, 0.6);
        }

        /* ===============================
        MOBILE OPTIMIZATION
        ================================ */
        @media (max-width: 768px) {

            .cta-section {
                margin: 4rem 1rem;
                padding: 3rem 1.5rem;
                border-radius: 20px;
            }

            /* Reduce glow intensity on mobile */
            .cta-section::before {
                opacity: 0.15;
                animation: rotate 12s linear infinite; /* slower = smoother */
            }

            .cta-section::after {
                backdrop-filter: blur(10px);
            }

            .cta-section h2 {
                font-size: 1.8rem;
                line-height: 1.3;
            }

            .cta-section p {
                font-size: 0.95rem;
                margin-bottom: 1.8rem;
            }

            .cta-section a{
                width: 100%;
                font-size: 1rem;
                padding: 1rem;
            }
        }

        /* EXTRA SMALL DEVICES */
        @media (max-width: 480px) {
            .cta-section h2 {
                font-size: 1.6rem;
            }

            .cta-section p {
                font-size: 0.9rem;
            }
        }


        /* =========================
        SHORTS SECTION
        ========================= */
        .shorts-section {
            padding: 5rem 2rem;
        }

        /* WRAPPER */
        .shorts-scroll-wrapper {
            position: relative;
            max-width: 1450px;
            margin: auto; /* ✅ centers horizontally */
            padding: 0 2rem; /* aligns with site grid */
            overflow: visible;
        }

        /* HORIZONTAL SCROLL */
        .shorts-container {
            display: flex;
            gap: 1rem;

            overflow-x: auto;
            scroll-behavior: smooth;

            padding: 5px;
        }

        /* Hide scrollbar */
        .shorts-container::-webkit-scrollbar {
            display: none;
        }

        /* CARD (9:16) */
        .short-card {
            flex: 0 0 auto;
            width: 220px;
            height: 350px; /* 9:16 ratio */

            border-radius: 18px;
            overflow: hidden;
            position: relative;

            background: #000;
            border: 1px solid rgba(255,255,255,0.05);

            transition: 0.3s;
        }

        .short-card:hover {
            transform: scale(1.05);
            border-color: var(--primary);
        }

        /* VIDEO */
        .short-video {
            width: 100%;
            height: 100%;
            position: relative;
            cursor: pointer;
        }

        .short-video img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* PLAY */
        .play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);

            width: 55px;
            height: 55px;
            border-radius: 50%;

            background: rgba(0,0,0,0.6);
            color: #fff;

            display: flex;
            align-items: center;
            justify-content: center;

            transition: 0.3s;
        }

        .short-video:hover .play-btn {
            transform: translate(-50%, -50%) scale(1.2);
        }

        /* OVERLAY */
        .short-overlay {
            position: absolute;
            bottom: 0;
            width: 100%;

            padding: 15px;

            background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
        }

        /* TITLE */
        .short-overlay h3 {
            font-size: 0.95rem;
            color: #fff;
            margin-bottom: 8px;

            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* BUTTON */
        .btn-short {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 20px;

            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: #fff;
            font-size: 0.8rem;
            text-decoration: none;
        }

        /* =========================
        SCROLL BUTTONS
        ========================= */
        .short-scroll-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);

            width: 45px;
            height: 45px;
            border-radius: 50%;

            border: none;
            cursor: pointer;

            background: var(--primary);
            color: #fff;
            font-size: 1.5rem;

            z-index: 10;
        }

        .short-scroll-btn.left {
            left: 0;
        }

        .short-scroll-btn.right {
            right: 0;
        }

        .short-scroll-btn:hover {
            background: var(--secondary);
        }

        
        /* =========================
        SHORT LIGHTBOX FIXED
        ========================= */
        #short-lightbox {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.95);

            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        /* VIDEO */
        #short-lightbox iframe {
            width: 90%;
            max-width: 400px;
            height: 80%;
            border-radius: 20px;
            border: none;
            z-index: 1;
        }

        /* CLOSE BUTTON (FIXED) */
        .close-short {
            position: absolute;
            top: 20px;
            right: 20px;

            width: 45px;
            height: 45px;

            display: flex;
            align-items: center;
            justify-content: center;

            font-size: 1.5rem;
            font-weight: bold;

            background: rgba(0,0,0,0.6);
            color: #fff;

            border-radius: 50%;
            cursor: pointer;

            z-index: 10000; /* 🔥 ensures it's above iframe */

            transition: all 0.3s ease;

            backdrop-filter: blur(6px);
             box-shadow: 0 5px 20px rgba(0,0,0,0.5);
        }

        .close-short:hover {
            background: var(--primary);
            transform: scale(1.1);
        }

        /* =========================
        MOBILE
        ========================= */
        @media (max-width: 768px) {


            @media (max-width: 768px) {

            .short-card {
                width: 200px;
                height: 350px;
            }

            /* ✅ SHOW buttons on mobile */
            .short-scroll-btn {
                display: flex;

                width: 40px;
                height: 40px;
                font-size: 1.2rem;

                align-items: center;
                justify-content: center;
            }

            /* better positioning on small screens */
            .short-scroll-btn.left {
                left: 5px;
            }

            .short-scroll-btn.right {
                right: 5px;
            }
        }
        }

        @media (max-width: 768px) {
            .close-short {
                width: 50px;
                height: 50px;
                font-size: 1.6rem;
            }
        }


        /* ===============================
        FAQ SECTION (EMENWA PREMIUM)
        =============================== */

        .faq-section {
            background: var(--dark-gray);
            padding: 100px 20px;
        }

        .faq-container {
            max-width: 900px;
            margin: auto;
        }

        /* LIST */
        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* ITEM */
        .faq-item {
            background: var(--mid-gray);
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.05);
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            border-color: var(--primary);
            box-shadow: 0 10px 40px rgba(233, 30, 140, 0.2);
        }

        /* QUESTION */
        .faq-question {
            width: 100%;
            padding: 20px 25px;

            background: transparent;
            border: none;
            outline: none;

            color: var(--text-light);
            font-size: 1rem;
            font-weight: 600;

            display: flex;
            justify-content: space-between;
            align-items: center;

            cursor: pointer;
        }

        /* PLUS ICON */
        .faq-question span {
            font-size: 1.5rem;
            color: var(--primary);
            transition: transform 0.3s;
        }

        /* ANSWER */
        .faq-answer {
            max-height: 0;
            overflow: hidden;

            padding: 0 25px;
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.6;

            transition: all 0.4s ease;
        }

        /* ACTIVE STATE */
        .faq-item.active .faq-answer {
            max-height: 200px;
            padding: 15px 25px 25px;
        }

        .faq-item.active .faq-question span {
            transform: rotate(45deg); /* turns + into X */
        }

        /* ===============================
        MOBILE
        =============================== */
        @media (max-width: 768px) {

            .faq-section {
                padding: 70px 15px;
            }

            .faq-question {
                font-size: 0.95rem;
                padding: 18px;
            }

            .faq-answer {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {

            .faq-container {
                max-width: 100%;
            }

            .faq-question {
                font-size: 0.9rem;
            }
        }
        

        /* ===============================
        EMAIL SUBSCRIBE (EMENWA GLOBAL)
        =============================== */

        /* ================================================
           PREMIUM EMAIL SUBSCRIBE SECTION
           ================================================ */

        .email-subscribe {
            max-width: 1400px;
            margin: 4rem auto 5rem;
            padding: 0 2rem;
        }

        .subscribe-container {
            position: relative;
            border-radius: 32px;
            padding: 5rem 3rem 4rem;
            text-align: center;
            overflow: hidden;
            isolation: isolate;

            /* Rich dark glass base */
            background:
                linear-gradient(145deg,
                    rgba(30, 10, 40, 0.95) 0%,
                    rgba(15, 5, 30, 0.98) 60%,
                    rgba(25, 5, 35, 0.97) 100%
                );

            /* Layered premium border */
            border: 1px solid transparent;
            background-clip: padding-box;
            box-shadow:
                0 0 0 1px rgba(233, 30, 140, 0.25),
                0 0 0 2px rgba(124, 58, 237, 0.12),
                0 40px 100px rgba(0, 0, 0, 0.6),
                0 0 80px rgba(233, 30, 140, 0.08) inset;
        }

        /* Animated aurora mesh background */
        .subscribe-container::before {
            content: "";
            position: absolute;
            inset: -1px;
            border-radius: 33px;
            background: linear-gradient(
                125deg,
                rgba(233, 30, 140, 0.18) 0%,
                rgba(124, 58, 237, 0.22) 30%,
                rgba(233, 30, 140, 0.08) 55%,
                rgba(124, 58, 237, 0.25) 80%,
                rgba(233, 30, 140, 0.15) 100%
            );
            background-size: 300% 300%;
            animation: auroraShift 8s ease infinite;
            z-index: -2;
        }

        /* Noise texture overlay */
        .subscribe-container::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 32px;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
            opacity: 0.025;
            z-index: -1;
            pointer-events: none;
        }

        @keyframes auroraShift {
            0%, 100% { background-position: 0% 50%; }
            50%       { background-position: 100% 50%; }
        }

        /* Floating orbs */
        .subscribe-container .orb-1,
        .subscribe-container .orb-2 {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            z-index: -1;
        }

        /* Eyebrow tag above title */
        .subscribe-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            background: rgba(233, 30, 140, 0.12);
            border: 1px solid rgba(233, 30, 140, 0.3);
            border-radius: 50px;
            padding: 0.35rem 1rem;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: #f472b6;
            margin-bottom: 1.5rem;
        }

        .subscribe-eyebrow::before {
            content: "";
            width: 6px;
            height: 6px;
            background: #e91e8c;
            border-radius: 50%;
            box-shadow: 0 0 8px #e91e8c;
            animation: pulseDot 1.8s ease-in-out infinite;
        }

        @keyframes pulseDot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50%       { opacity: 0.4; transform: scale(0.7); }
        }

        /* CONTENT */
        .subscribe-content {
            position: relative;
            z-index: 2;
        }

        /* TITLE */
        .subscribe-content h2 {
            font-size: clamp(2rem, 4vw, 3.2rem);
            font-weight: 900;
            line-height: 1.1;
            letter-spacing: -0.03em;
            margin-bottom: 1rem;
            background: linear-gradient(
                135deg,
                #ffffff 0%,
                #f9a8d4 35%,
                #e91e8c 60%,
                #c084fc 85%,
                #a855f7 100%
            );
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Decorative line under title */
        .subscribe-content h2::after {
            content: none;
        }

        /* TEXT */
        .subscribe-content p {
            color: rgba(200, 180, 220, 0.85);
            max-width: 560px;
            margin: 0 auto 2.5rem;
            font-size: 1.08rem;
            line-height: 1.7;
        }

        /* Perks strip */
        .subscribe-perks {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            margin-bottom: 2.5rem;
        }

        .subscribe-perk {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.82rem;
            font-weight: 600;
            color: rgba(210, 190, 230, 0.8);
            letter-spacing: 0.02em;
        }

        .subscribe-perk .perk-icon {
            font-size: 1rem;
        }

        /* FORM — card style */
        .subscribe-form {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.85rem;
            max-width: 640px;
            margin: 0 auto;
        }

        /* Full-width rows */
        .subscribe-form .math-box,
        .subscribe-form button {
            grid-column: 1 / -1;
        }

        /* INPUT */
        .subscribe-form input,
        .subscribe-form .math-box input {
            width: 100%;
            padding: 0.95rem 1.25rem;
            border-radius: 14px;
            border: 1px solid rgba(233, 30, 140, 0.2);
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            color: #f0e6ff;
            font-size: 0.95rem;
            outline: none;
            transition: all 0.25s ease;
            box-sizing: border-box;
        }

        .subscribe-form input::placeholder,
        .subscribe-form .math-box input::placeholder {
            color: rgba(180, 160, 200, 0.5);
        }

        .subscribe-form input:focus,
        .subscribe-form .math-box input:focus {
            border-color: rgba(233, 30, 140, 0.55);
            background: rgba(255, 255, 255, 0.08);
            box-shadow:
                0 0 0 3px rgba(233, 30, 140, 0.12),
                0 4px 20px rgba(233, 30, 140, 0.15);
        }

        /* Math captcha box */
        .subscribe-form .math-box {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            background: rgba(124, 58, 237, 0.08);
            border: 1px solid rgba(124, 58, 237, 0.2);
            border-radius: 14px;
            padding: 0.75rem 1.2rem;
        }

        .subscribe-form .math-box label {
            color: #c4b5fd;
            font-weight: 600;
            font-size: 0.92rem;
            white-space: nowrap;
            min-width: 130px;
        }

        .subscribe-form .math-box input {
            border: 1px solid rgba(124, 58, 237, 0.25);
            border-radius: 10px;
            max-width: 120px;
            padding: 0.65rem 1rem;
        }

        /* SUBMIT BUTTON */
        .subscribe-form button[type="submit"] {
            position: relative;
            padding: 1.1rem 2.5rem;
            border-radius: 14px;
            border: none;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: #fff;
            overflow: hidden;
            transition: transform 0.2s ease, box-shadow 0.2s ease;

            background: linear-gradient(
                125deg,
                #e91e8c 0%,
                #c2187a 35%,
                #7c3aed 70%,
                #6d28d9 100%
            );
            background-size: 200% 200%;
            animation: gradientFlow 4s ease infinite;

            box-shadow:
                0 0 0 1px rgba(233, 30, 140, 0.4),
                0 8px 32px rgba(233, 30, 140, 0.35),
                0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .subscribe-form button[type="submit"]::before {
            content: "";
            position: absolute;
            top: 0; left: -100%;
            width: 60%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
            transition: left 0.5s ease;
        }

        .subscribe-form button[type="submit"]:hover::before {
            left: 160%;
        }

        @keyframes gradientFlow {
            0%, 100% { background-position: 0% 50%; }
            50%       { background-position: 100% 50%; }
        }

        .subscribe-form button[type="submit"]:hover {
            transform: translateY(-3px);
            box-shadow:
                0 0 0 1px rgba(233, 30, 140, 0.5),
                0 16px 48px rgba(233, 30, 140, 0.45),
                0 4px 12px rgba(0, 0, 0, 0.4);
        }

        .subscribe-form button[type="submit"]:active {
            transform: translateY(-1px);
        }

        /* NOTE */
        .subscribe-note {
            display: block;
            margin-top: 1.75rem;
            font-size: 0.82rem;
            color: rgba(180, 160, 210, 0.65);
            letter-spacing: 0.01em;
        }

        /* Success & Error messages */
        .success-message {
            display: none;
            margin-top: 1.25rem;
            padding: 0.9rem 1.5rem;
            border-radius: 12px;
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #6ee7b7;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .error-message {
            margin-top: 1rem;
            padding: 0.8rem 1.4rem;
            border-radius: 12px;
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.25);
            color: #fca5a5;
            font-size: 0.9rem;
        }

        /* Divider line after form */
        .subscribe-divider {
            width: 60px;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            margin: 2rem auto 0;
            border-radius: 2px;
            opacity: 0.5;
        }

        /* ===============================
           MOBILE
        =============================== */
        @media (max-width: 768px) {
            .email-subscribe {
                padding: 0 1rem;
                margin: 2.5rem auto 3rem;
            }

            .subscribe-container {
                padding: 3.5rem 1.5rem 3rem;
                border-radius: 24px;
            }

            .subscribe-content h2 {
                font-size: 1.75rem;
                letter-spacing: -0.02em;
            }

            .subscribe-content p {
                font-size: 0.95rem;
            }

            .subscribe-form {
                grid-template-columns: 1fr;
                max-width: 100%;
            }

            .subscribe-form .math-box {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }

            .subscribe-form .math-box input {
                max-width: 100%;
            }

            .subscribe-perks {
                gap: 0.75rem;
            }
        }

/* ================================================
   HERO BADGE
   ================================================ */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(233, 30, 140, 0.1);
    border: 1px solid rgba(233, 30, 140, 0.35);
    border-radius: 50px;
    padding: 0.45rem 1rem 0.45rem 0.6rem;
    margin-bottom: 1.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    backdrop-filter: blur(8px);
    animation: badgePop 0.7s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes badgePop {
    from { opacity: 0; transform: translateY(-12px) scale(0.92); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
    flex-shrink: 0;
    position: relative;
}

.hero-badge-pulse::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
    animation: pulse-ring 1.6s ease-out infinite;
}

@keyframes pulse-ring {
    0%   { transform: scale(1);   opacity: 0.4; }
    100% { transform: scale(2.4); opacity: 0; }
}

.hero-badge-icon { font-size: 1rem; }

.hero-badge-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-badge-tag {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}


/* ================================================
   GLOBAL SEARCH BAR SECTION
   ================================================ */
.search-section {
    background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(26,26,26,0.95) 100%);
    padding: 2.5rem 2rem 2rem;
    border-bottom: 1px solid rgba(233,30,140,0.1);
}

.search-container {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.search-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.search-bar-wrapper {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 1rem;
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--dark-gray);
    border: 1.5px solid rgba(233,30,140,0.25);
    border-radius: 50px;
    padding: 0 1.2rem;
    gap: 0.6rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233,30,140,0.12);
}

.search-icon { font-size: 1rem; color: var(--text-muted); flex-shrink: 0; }

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    font-size: 0.97rem;
    padding: 0.85rem 0;
}

.search-input::placeholder { color: var(--text-muted); }

.search-clear-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem 0.4rem;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}
.search-clear-btn:hover { color: var(--primary); background: rgba(233,30,140,0.1); }

.search-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.85rem 1.8rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
}
.search-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.8rem;
}

.search-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    border-radius: 30px;
    padding: 0.3rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s;
}
.search-tag:hover {
    background: rgba(233,30,140,0.15);
    border-color: var(--primary);
    color: var(--text-light);
}

/* Search Results Panel */
.search-results-panel {
    background: var(--dark-gray);
    border: 1px solid rgba(233,30,140,0.2);
    border-radius: 16px;
    margin-top: 1rem;
    padding: 1rem;
    text-align: left;
    max-height: 400px;
    overflow-y: auto;
}

.search-results-panel::-webkit-scrollbar { width: 4px; }
.search-results-panel::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.18s;
    text-decoration: none;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(233,30,140,0.08); }

.search-result-thumb {
    width: 52px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--mid-gray);
}

.search-result-info { flex: 1; min-width: 0; }
.search-result-title {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-cat {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.15rem;
}

.search-result-action {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-no-results {
    text-align: center;
    color: var(--text-muted);
    padding: 1.5rem;
    font-size: 0.9rem;
}

.search-results-header {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.6rem;
    padding: 0 0.5rem;
}


/* ================================================
   CATEGORY FILTER PILLS
   ================================================ */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 1400px;
    margin: 0 auto 1.4rem;
    padding: 0 16px;
}

.filter-btn {
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    border-radius: 30px;
    padding: 0.4rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s;
    white-space: nowrap;
}

.filter-btn:hover {
    background: rgba(233,30,140,0.1);
    border-color: rgba(233,30,140,0.4);
    color: var(--text-light);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(233,30,140,0.3);
}

/* Hidden card state during filter */
.card-hidden {
    display: none !important;
}

/* Search highlight */
.search-highlight {
    outline: 2px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(233,30,140,0.15);
    border-radius: 16px;
}

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */
@media (max-width: 768px) {

    /* HERO SECTION MOBILE LAYOUT */
    .hero-container {
        margin-top: -50px;
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        order: 1;
        align-items: center;
        text-align: center;
    }

    /* HERO BADGE CENTERED */
    .hero-badge {
        order: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        align-self: center;
        margin: 0 auto 1rem auto;
        font-size: 0.72rem;
        padding: 0.5rem 0.9rem;
        gap: 0.5rem;
        text-align: center;
        /* Remove pill shape so it wraps cleanly into two rows */
        border-radius: 16px;
    }

    /* Top row: pulse dot + rocket + text all inline */
    .hero-badge-pulse,
    .hero-badge-icon,
    .hero-badge-text {
        display: inline;
    }

    /* Enrollment tag — full-width row below the text */
    .hero-badge-tag {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        width: 100%;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        color: #fff;
        font-size: 0.82rem;
        font-weight: 800;
        padding: 0.35rem 0.9rem;
        border-radius: 30px;
        letter-spacing: 0.4px;
        white-space: nowrap;
        box-shadow: 0 4px 14px rgba(233, 30, 140, 0.45);
        animation: enrollPulse 2.5s ease-in-out infinite;
    }

    .hero-badge-tag::before {
        content: '🎓';
        font-size: 0.9rem;
    }

    @keyframes enrollPulse {
        0%, 100% { box-shadow: 0 4px 14px rgba(233, 30, 140, 0.45); }
        50%       { box-shadow: 0 4px 22px rgba(233, 30, 140, 0.75); }
    }

    /* HERO TEXT BELOW BADGE */
    .hero-content h1 {
        order: 2;
        margin-top: 0;
    }

    .hero-content p {
        order: 3;
    }

    .cta-buttons {
        order: 4;
        justify-content: center;
    }

    /* VIDEO BLOCK ALWAYS BELOW CONTENT */
    .hero-container > div:last-child {
        order: 2;
        width: 100%;
        margin-top: 1rem;
        clear: both;
    }

    .hero-video-slider,
    .video-dots {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .search-section{
        display: none !important;
    }
}

/* ================================================
   ELITE PLAYER: BLACK BARS
   Hides YouTube title (top) and logo (bottom).
   Bars are INVISIBLE during normal playback and
   only fade IN when the user hovers the player
   (matching YouTube's own UI reveal behaviour),
   then fade back OUT when the cursor leaves.
   ================================================ */

/* Base bar styles */
.yt-bar-top,
.yt-bar-bottom {
    position: absolute;
    left: 0;
    right: 0;
    background: #000;
    z-index: 9000;          /* high enough to sit above any YouTube iframe UI  */
    pointer-events: all;    /* always block clicks in the bar zone              */
    opacity: 0;
    /* fade OUT slowly so bars don't vanish before YouTube UI disappears.
       fade IN has NO transition — bars snap on instantly (set via JS).        */
    transition: opacity 0.3s ease;
}

.yt-bar-top {
    top: 0;
    height: 62px;
    cursor: default;        /* show normal cursor so user never sees a hand/pointer */
}

.yt-bar-bottom {
    bottom: 0;
    height: 60px;
    cursor: default;
}

/* Permanent click-shields: always present, always blocking, zero height by default.
   These sit below the bars and absorb any click that might slip through the iframe
   boundary — they have no visual appearance but always intercept pointer events. */
.yt-shield-top,
.yt-shield-bottom {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 8999;          /* just under the bar so the bar renders on top */
    pointer-events: all;
    background: transparent;
    cursor: default;
}

.yt-shield-top {
    top: 0;
    height: 62px;
}

.yt-shield-bottom {
    bottom: 0;
    height: 500px;
}

/* Taller shields for shorts */
.yt-lightbox-short .yt-shield-top  { height: 100px; }
.yt-lightbox-short .yt-shield-bottom { height: 350px; }

@media (max-width: 768px) {
    .yt-shield-top    { height: 50px; }
    .yt-shield-bottom { height: 40px; }
    .yt-lightbox-short .yt-shield-top    { height: 105px; }
    .yt-lightbox-short .yt-shield-bottom { height: 250px; }
}

/* Bar visibility is fully JS-driven via .yt-bars-visible class on the container.
   CSS :hover is NOT used — iframes steal pointer events during playback.
   Bars snap ON instantly (JS removes the transition before setting opacity=1),
   and fade OFF slowly via the transition above. */
.video-poster.yt-bars-visible .yt-bar-top,
.video-poster.yt-bars-visible .yt-bar-bottom,
.yt-lightbox-wrap.yt-bars-visible .yt-bar-top,
.yt-lightbox-wrap.yt-bars-visible .yt-bar-bottom {
    opacity: 1;
    pointer-events: all;
    cursor: default;
}

/* Lightbox wrap - positions the bars relative to the iframe */
.yt-lightbox-wrap {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.85), 0 0 40px rgba(233,30,140,0.25);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#video-lightbox.active .yt-lightbox-wrap {
    transform: scale(1);
}

.yt-lightbox-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Shorts lightbox - portrait */
.yt-lightbox-short {
    width: 90%;
    max-width: 400px;
    aspect-ratio: unset;
    height: 75vh;
}

/* Taller bars for the shorts lightbox to cover the "Shorts" channel link */
.yt-lightbox-short .yt-bar-top {
    height: 100px;
}

.yt-lightbox-short .yt-bar-bottom {
    height: 220px;
}

@media (max-width: 768px) {
    .yt-bar-top    { height: 50px; }
    .yt-bar-bottom { height: 40px; }

    .yt-lightbox-short .yt-bar-top    { height: 100px; }
    .yt-lightbox-short .yt-bar-bottom { height: 85px; }
}

/* ================================================
   DISABLE FULLSCREEN - Block YouTube fullscreen button
   The fullscreen icon sits bottom-right of the player.
   A persistent transparent overlay covers that zone.
   Combined with removing allowfullscreen from all
   iframes, users cannot enter fullscreen mode.
   ================================================ */

/* Prevent fullscreen at the browser/DOM level */
iframe {
    /* Disallow the Fullscreen API for all iframes */
    /* Note: allowfullscreen attribute removal handles most cases;
       this CSS layer adds defense-in-depth */
}

/* Extend the bottom shield to be taller and full-width on all
   player containers so the fullscreen button (bottom-right)
   is always covered by a pointer-blocking layer */
.video-poster .yt-shield-bottom,
.yt-lightbox-wrap .yt-shield-bottom {
    height: 80px !important;
    pointer-events: all !important;
    cursor: default !important;
}

/* Specifically block the bottom-right fullscreen button zone
   with a permanent invisible overlay element */
.video-poster::after,
.yt-lightbox-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 70px;
    z-index: 9100;  /* above YouTube's UI (z-index ~300) */
    pointer-events: all;
    cursor: default;
    background: transparent;
}

/* For short lightbox - taller bottom cover needed */
.yt-lightbox-short::after {
    height: 250px !important;
}

@media (max-width: 768px) {
    .video-poster::after,
    .yt-lightbox-wrap::after {
        height: 55px;
    }
    .yt-lightbox-short::after {
        height: 120px !important;
    }
}
