:root {
    --primary: #E31C25;
    /* IQRO Academic Red */
    --primary-rgb: 227, 28, 37;
    --primary-dark: #C21820;
    --secondary: #0F172A;
    /* Professional Navy/Navy Black */
    --secondary-rgb: 15, 23, 42;
    --accent: #FFD700;
    /* Gold for excellence */

    --text-main: #1E293B;
    /* Slate 800 for bodies */
    --text-title: #0F172A;
    /* Navy for headings */
    --text-muted: #64748B;
    /* Slate 500 */

    --bg-pure: #FFFFFF;
    --bg-soft: #F8FAFC;
    /* Extremely light gray/blue */
    --bg-card: rgba(255, 255, 255, 0.8);

    --border-light: #F1F5F9;
    --border-main: #E2E8F0;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

[data-theme="dark"] {
    --bg-white: #0F172A;
    --bg-light: #1E293B;
    --text-dark: #F8FAFC;
    --text-muted: #94A3B8;
    --border: #334155;
}

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

body {
    background-color: var(--bg-pure);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.highlight {
    color: var(--primary);
}

/* =======================================
   BACKGROUND DECORATIONS & SHAPES
   ======================================= */
.why-us,
.courses-section,
.mobile-app-section {
    position: relative;
    overflow: hidden;
}

.section-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
}

.dots-pattern {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--secondary) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

/* Why Us Specific Shapes */
.why-us .shape-1 {
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary);
}

.why-us .shape-2 {
    bottom: 5%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: var(--secondary);
}

.why-us .shape-3 {
    top: 40%;
    right: 15%;
    width: 150px;
    height: 150px;
    background: var(--primary);
    filter: blur(20px);
}

/* Courses Specific Shapes */
.shape-red-1 {
    top: -5%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: var(--primary);
    opacity: 0.05;
}

.shape-red-2 {
    bottom: 0%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: var(--primary);
    opacity: 0.04;
}

/* Mobile App Specific Shapes */
.shape-white-1 {
    top: -20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: white;
    opacity: 0.15 !important;
}

.shape-white-2 {
    bottom: -10%;
    right: -5%;
    width: 250px;
    height: 250px;
    background: white;
    opacity: 0.1 !important;
}

/* Animations for Shapes */
@keyframes floatSlow {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(10deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(40px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(40px) rotate(-360deg);
    }
}

@keyframes drift {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(60px);
    }
}

.float-slow {
    animation: floatSlow 15s infinite ease-in-out;
}

.orbit {
    animation: orbit 20s infinite linear;
}

.drift {
    animation: drift 12s infinite ease-in-out;
}

/* Dot Pattern Placements */
.p-1 {
    top: 5%;
    right: 5%;
}

.p-2 {
    bottom: 10%;
    left: 5%;
}

/* =======================================
   PREMIUM NAVBAR v5 - Ultra Premium Effects
   ======================================= */

/* Border shimmer keyframe */
@keyframes navBorderShimmer {
    0% {
        border-color: rgba(227, 28, 37, 0.15);
        box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(227, 28, 37, 0.08);
    }

    50% {
        border-color: rgba(227, 28, 37, 0.45);
        box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(227, 28, 37, 0.25), 0 4px 30px rgba(227, 28, 37, 0.12);
    }

    100% {
        border-color: rgba(227, 28, 37, 0.15);
        box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(227, 28, 37, 0.08);
    }
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1600px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 12px 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: navBorderShimmer 4s ease-in-out infinite;
}

/* Pastki qizil glow */
.navbar::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 15%;
    right: 15%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(227, 28, 37, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(6px);
    pointer-events: none;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scaleX(0.9);
    }

    50% {
        opacity: 1;
        transform: scaleX(1.05);
    }
}

.navbar.navbar-scrolled {
    top: 15px;
    width: 90%;
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
    border-radius: 100px;
}

/* Scrolled state — elements become dark on light background */
.navbar.navbar-scrolled .nav-item {
    color: #1e293b;
}

.navbar.navbar-scrolled .nav-item:hover {
    color: var(--primary);
}

.navbar.navbar-scrolled .logo-text {
    color: #0f172a;
}

.navbar.navbar-scrolled .nav-mobile-toggle .bar {
    background: #0f172a;
}

.navbar.navbar-hidden {
    transform: translate(-50%, -120%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;
    /* Increased side padding */
    position: relative;
    height: 100%;
}


/* Nav Links Architecture */
.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    /* Increased gap */
    flex: 1;
}

.nav-left {
    justify-content: flex-end;
    margin-right: 50px;
}

.nav-right {
    justify-content: flex-start;
    margin-left: 50px;
}

.nav-item {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0.9;
    position: relative;
    padding: 5px 0;
}

/* 3. Magnetic Underline (Center-out) */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateX(-50%);
    border-radius: 10px;
}

.nav-item:hover {
    opacity: 1;
    color: var(--secondary);
    transform: translateY(-1px);
}

.nav-item:hover::after {
    width: 100%;
}

/* 4. Accent Dot (Pulsing) */
.nav-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-left: 6px;
    position: relative;
    top: -2px;
}

.nav-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Central Logo */
.logo {
    flex-shrink: 0;
    z-index: 10;
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.logo-img {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(255, 255, 255, 0.15);
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    top: 5px;
    /* Pull it out slightly */
}

.logo-img:hover {
    transform: translateY(-2px) scale(1.05);
    /* Floating hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.2);
}

.navbar.navbar-scrolled .logo-img {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    top: 0;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: -0.5px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.logo-text .highlight {
    color: var(--primary);
}

/* Action Button */
.nav-extra {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.btn-navbar-entry {
    background: var(--primary);
    color: white;
    padding: 12px 32px;
    /* Larger button */
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 10px 25px rgba(227, 28, 37, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-navbar-entry span {
    position: relative;
    z-index: 2;
}

/* 2. Sweeping Shine Effect */
.btn-navbar-entry .shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: none;
    animation: shineBtn 4s infinite;
    z-index: 1;
}

@keyframes shineBtn {
    0% {
        left: -100%;
    }

    20%,
    100% {
        left: 100%;
    }
}

.btn-navbar-entry:hover {
    background: #e31c25;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(227, 28, 37, 0.35);
}

/* Mobile Toggle */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
}

.nav-mobile-toggle .bar {
    width: 28px;
    height: 3px;
    background: var(--secondary);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Overlay Menu */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s ease;
}

.mobile-nav-overlay.active {
    visibility: visible;
    pointer-events: auto;
}

.overlay-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(227, 28, 37, 0.15), transparent 40%),
        rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mobile-nav-overlay.active .overlay-bg {
    opacity: 1;
}

.overlay-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 88%;
    max-width: 420px;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.mobile-nav-overlay.active .overlay-content {
    transform: translateX(0);
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.overlay-header .logo-text {
    color: white;
    font-size: 1.2rem;
}

.close-overlay {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-overlay:hover {
    background: rgba(227, 28, 37, 0.2);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.overlay-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.overlay-link {
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Outfit', sans-serif;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 16px 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0);
    opacity: 0;
    transform: translateX(30px);
}

.mobile-nav-overlay.active .overlay-link {
    animation: slideInLink 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInLink {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-overlay.active .overlay-link:nth-child(1) {
    animation-delay: 0.2s;
}

.mobile-nav-overlay.active .overlay-link:nth-child(2) {
    animation-delay: 0.25s;
}

.mobile-nav-overlay.active .overlay-link:nth-child(3) {
    animation-delay: 0.3s;
}

.mobile-nav-overlay.active .overlay-link:nth-child(4) {
    animation-delay: 0.35s;
}

.mobile-nav-overlay.active .overlay-link:nth-child(5) {
    animation-delay: 0.4s;
}

.mobile-nav-overlay.active .overlay-link:nth-child(6) {
    animation-delay: 0.45s;
}

.mobile-nav-overlay.active .overlay-link:nth-child(7) {
    animation-delay: 0.5s;
}

.overlay-link i {
    width: 24px;
    font-size: 1.1rem;
    color: var(--primary);
    opacity: 0.8;
}

.overlay-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px) !important;
}

.overlay-link:hover i {
    opacity: 1;
}

.btn-overlay-login {
    margin-top: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    padding: 20px;
    border-radius: 18px;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 20px 40px rgba(227, 28, 37, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-nav-overlay.active .btn-overlay-login {
    animation: slideUpBtn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
}

@keyframes slideUpBtn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-overlay-login:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 25px 45px rgba(227, 28, 37, 0.45);
}

.overlay-footer {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
    margin-bottom: 20px;
}

.overlay-footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 25px;
    font-weight: 500;
}

.social-mini {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social-mini a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.social-mini a:hover {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* =======================================
   NAVBAR RESPONSIVE
   ======================================= */
@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 25px;
    }

    .logo {
        margin: 0;
    }

    .logo-img {
        width: 44px;
        height: 44px;
    }

    /* Scroll holatida logo mobile'da KATTALASHMASIN — navbar "semizroq" ko'rinmasin */
    .navbar.navbar-scrolled .logo-img {
        width: 44px;
        height: 44px;
    }

    /* Scrolled navbar mobile'da yupqaroq */
    .navbar.navbar-scrolled {
        top: 10px;
    }
}

/* Mobile: floating social sidebar (Telegram/IG/YT) — yashirilgan,
   chunki hero matnini bekitadi va mobile UX'ga to'g'ri kelmaydi.
   Footer'da boshqa social linklar bor. */
@media (max-width: 768px) {
    .social-sidebar {
        display: none !important;
    }
}

/* --- Buttons --- */
.btn-main {
    padding: 20px 45px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.25);
    border: none;
    font-size: 1.1rem;
    display: inline-block;
}

.btn-main:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
}

.btn-ghost {
    padding: 18px 45px;
    background: transparent;
    color: var(--secondary);
    border-radius: var(--radius-md);
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--border-main);
    font-size: 1.1rem;
    display: inline-block;
}


.btn-ghost:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* --- Brand Philosophy - MODERN ACADEMIC (FIXED) --- */
.brand-meaning-bridge.zen-elite {
    padding: 80px 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.zen-layout {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.zen-content {
    flex: 1.3;
}

.zen-badge {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.zen-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 25px;
    line-height: 1.2;
}

.arabic-small {
    font-family: 'Amiri', serif;
    color: var(--primary);
    font-size: 2rem;
    margin-left: 15px;
    opacity: 0.6;
}

.zen-main-text {
    border-left: 4px solid var(--primary);
    padding-left: 30px;
    margin-bottom: 35px;
}

.zen-meaning {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 500;
}

.zen-meaning strong {
    color: var(--primary);
}

.zen-symbol {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.zen-divider {
    border: none;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    width: 60px;
    margin: 25px 0;
}

.zen-mission {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    font-style: italic;
}

/* 2-Column Grid Layout */
.zen-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.z-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--secondary);
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.z-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.z-stat i {
    font-size: 1.4rem;
    color: var(--primary);
}

.zen-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 300px;
}

.zen-focus-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(227, 28, 37, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* --- Brand Philosophy - FROSTED CRIMSON (Eye-Friendly) --- */
.brand-meaning-bridge.modern-pulse {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Subtle matte texture */
.brand-meaning-bridge.modern-pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 2;
}

.zen-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(212, 175, 55, 0.15);
    /* Soft gold tint */
    color: #d4af37 !important;
    /* Elegant Gold */
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.zen-title {
    color: #FFFFFF !important;
}

.arabic-small {
    color: #d4af37 !important;
    /* Gold arabic text for harmony */
    margin-left: 10px;
    font-family: 'Amiri', serif;
}

.zen-meaning {
    color: #FFFFFF !important;
    opacity: 0.95;
    font-size: 1.4rem;
}

.zen-meaning strong {
    color: #FFFF00 !important;
    /* Vivid Yellow/Gold for maximum emphasis */
    font-weight: 800;
}

.zen-symbol,
.zen-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.zen-mission {
    color: #FFFFFF !important;
    font-weight: 800;
    border-left: 2px solid #d4af37;
    padding-left: 15px;
}

/* Clean white with gold edge */
/* Matches yellow theme */
.zen-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.z-stat {
    color: #FFFFFF !important;
}

.z-stat i {
    color: #FFFFFF !important;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

/* GLISTENING SILVER CALLIGRAPHY */
/* GLISTENING SILVER CALLIGRAPHY WITH SHINE */
.zen-calligraphy-large {
    font-family: 'Amiri', serif;
    font-size: 12rem;

    /* Silver/White Base */
    color: #FFFFFF;

    /* Shine Animation */
    background: linear-gradient(90deg, #FFFFFF 0%, #FFD700 20%, #FFFFFF 40%, #FFFFFF 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 6s linear infinite;

    opacity: 0.9 !important;
    /* Increased opacity for effect */
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 60px rgba(255, 215, 0, 0.4));

    user-select: none;
    z-index: 2;
    transform: perspective(500px) rotateY(-10deg);
}

@keyframes shineText {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

/* STARLIGHT PARTICLES */
.pulse-particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.p-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #FFFFFF !important;
    border-radius: 50%;
    opacity: 1 !important;
    box-shadow: 0 0 12px rgba(255, 255, 255, 1), 0 0 4px #FFFFFF;
    animation: particleUp 8s infinite linear;
}

/* Particle Positions */
.p-dot:nth-child(1) {
    left: 5%;
    animation-duration: 9s;
}

.p-dot:nth-child(2) {
    left: 15%;
    animation-duration: 12s;
    animation-delay: -2s;
}

.p-dot:nth-child(3) {
    left: 25%;
    animation-duration: 8s;
    animation-delay: -5s;
}

.p-dot:nth-child(4) {
    left: 35%;
    animation-duration: 11s;
    animation-delay: -1s;
}

.p-dot:nth-child(5) {
    left: 45%;
    animation-duration: 7s;
    animation-delay: -3s;
}

.p-dot:nth-child(6) {
    left: 55%;
    animation-duration: 13s;
    animation-delay: -4s;
}

.p-dot:nth-child(7) {
    left: 65%;
    animation-duration: 10s;
    animation-delay: -6s;
}

.p-dot:nth-child(8) {
    left: 75%;
    animation-duration: 14s;
    animation-delay: -2s;
}

.p-dot:nth-child(9) {
    left: 85%;
    animation-duration: 9s;
    animation-delay: -7s;
}

.p-dot:nth-child(10) {
    left: 95%;
    animation-duration: 11s;
    animation-delay: -1s;
}

.p-dot:nth-child(11) {
    left: 12%;
    animation-duration: 15s;
    animation-delay: -3s;
}

.p-dot:nth-child(12) {
    left: 22%;
    animation-duration: 9s;
    animation-delay: -4s;
}

.p-dot:nth-child(13) {
    left: 32%;
    animation-duration: 12s;
    animation-delay: -6s;
}

.p-dot:nth-child(14) {
    left: 42%;
    animation-duration: 10s;
    animation-delay: -2s;
}

.p-dot:nth-child(15) {
    left: 52%;
    animation-duration: 14s;
    animation-delay: -7s;
}

.p-dot:nth-child(16) {
    left: 62%;
    animation-duration: 11s;
    animation-delay: -1s;
}

.p-dot:nth-child(17) {
    left: 72%;
    animation-duration: 15s;
    animation-delay: -3s;
}

.p-dot:nth-child(18) {
    left: 82%;
    animation-duration: 9s;
    animation-delay: -4s;
}

@keyframes particleUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0;
    }
}

@keyframes bloomPulse {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}



/* End of Brand Philosophy Section Styles */

/* =======================================


/* =======================================

/* =======================================
   HERO SECTION v4 - Complete Redesign
   ======================================= */
.hero-academy-v3 {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 60px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 0.5) 50%, rgba(241, 245, 249, 1) 100%),
        linear-gradient(165deg, #FFFFFF 0%, #F1F5F9 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Decorative gradient blob top-right */
.hero-academy-v3::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(227, 28, 37, 0.06) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Decorative gradient blob bottom-left */
.hero-academy-v3::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.04) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-academy-v3 .container {
    max-width: 1400px;
    width: 90%;
}

/* Main Grid: Left Text, Right Visual */
.hero-main-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
    flex-grow: 1;
    /* Push stats card to bottom */
}

/* Left Content */
.hero-content-box {
    position: relative;
}

.trust-badge-mini {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: var(--bg-soft);
    border-radius: 100px;
    margin-bottom: 30px;
    border: 1px solid var(--border-light);
}

.trust-avatars {
    display: flex;
    margin-right: 5px;
}

.trust-avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
}

.trust-avatars img:first-child {
    margin-left: 0;
}

.trust-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
}

.hero-display-title {
    font-size: 3.5rem;
    font-weight: 950;
    line-height: 1.1;
    color: var(--secondary);
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-display-title span.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    position: relative;
    padding-right: 15px;
    /* Fixed clipping for italic 't' */
    margin-right: -15px;
}



.hero-sub-text {
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 40px;
}

.action-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ---- Right Visual ---- */
.hero-right-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-assembly {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animated gradient ring around the logo */
/* Modern soft glow instead of a hard ring */
.hero-visual-assembly::before {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 28, 37, 0.08) 0%, transparent 70%);
    z-index: 1;
    filter: blur(40px);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}



.main-visual-frame {
    width: 380px;
    height: 380px;
    background: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
    position: relative;
    z-index: 5;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: none;
}

.main-visual-frame:hover {
    transform: scale(1.03);
}

.inner-frame-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-soft);
}

/* Floating Badge Cards */
/* Floating Badge Cards */
.floating-badge-card {
    position: absolute;
    background: white;
    padding: 14px 18px;
    /* Slightly smaller padding */
    border-radius: 16px;
    /* Softened shadow */
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    border: 1px solid var(--border-light);
    /* Reduced animation float amplitude */
    animation: floatingAcademy 6s infinite ease-in-out;
    white-space: nowrap;
}

.badge-icon {
    width: 42px;
    height: 42px;
    background: rgba(227, 28, 37, 0.08);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.badge-info h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--secondary);
}

.badge-info p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pos-1 {
    /* Moved to lower part */
    top: auto;
    bottom: 40px;
    right: -20px;
    animation-delay: 0s;
}

.pos-2 {
    bottom: 80px;
    left: -50px;
    animation-delay: 1.5s;
}

.pos-3 {
    bottom: -10px;
    right: 30px;
    animation-delay: 3s;
}

@keyframes floatingAcademy {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
        /* Reduced from -15px */
    }
}

.stats-glass-card {
    margin-top: 120px;
    /* Space from main layout */
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    padding: 25px 40px;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.08),
        0 10px 20px rgba(227, 28, 37, 0.05);
    position: relative;
    overflow: hidden;
}

/* Subtle background accent inside card */
.stats-glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(227, 28, 37, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-stats-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Reduced gap */
    flex: 1;
    justify-content: center;
    padding: 5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.strip-item:hover {
    transform: translateY(-5px);
}

.strip-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--border-main), transparent);
    opacity: 0.6;
}

.strip-icon {
    width: 65px;
    height: 65px;
    background: #F8FAFC;
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 8px 15px rgba(15, 23, 42, 0.03);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.strip-item:hover .strip-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 15px 30px rgba(227, 28, 37, 0.3);
}

.strip-info {
    display: flex;
    flex-direction: column;
}

.strip-info strong {
    font-size: 1.8rem;
    /* Smaller to fit 20 000+ */
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    white-space: nowrap;
    /* Prevent number splitting */
}

.strip-info span {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 6px;
    white-space: nowrap;
}

.hero-bg-plexus {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

/* =======================================
   HERO RESPONSIVE
   ======================================= */
@media (max-width: 1200px) {
    .hero-display-title {
        font-size: 3.2rem;
    }

    .main-visual-frame {
        width: 320px;
        height: 320px;
    }

    .hero-visual-assembly::before {
        width: 360px;
        height: 360px;
    }

    .hero-main-layout {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .hero-main-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-sub-text {
        margin-left: auto;
        margin-right: auto;
    }

    .action-group {
        justify-content: center;
    }

    .hero-right-visual {
        margin-top: 40px;
    }

    .main-visual-frame {
        width: 300px;
        height: 300px;
    }

    .hero-visual-assembly::before {
        width: 340px;
        height: 340px;
    }

    .hero-stats-strip {
        flex-wrap: wrap;
        padding: 30px;
        gap: 25px;
    }

    .strip-divider {
        display: none;
    }

    .strip-item {
        flex: 0 0 45%;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .hero-academy-v3 {
        padding: 120px 0 60px;
    }

    .hero-display-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-sub-text {
        font-size: 1rem;
    }

    .btn-main,
    .btn-ghost {
        padding: 16px 30px;
        font-size: 1rem;
    }

    .main-visual-frame {
        width: 240px;
        height: 240px;
    }

    .hero-visual-assembly::before {
        width: 280px;
        height: 280px;
    }

    .floating-badge-card {
        padding: 12px 16px;
        border-radius: 12px;
    }

    .badge-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .badge-info h5 {
        font-size: 0.85rem;
    }

    .pos-1 {
        top: 0;
        right: -10px;
    }

    .pos-2 {
        bottom: 60px;
        left: -20px;
    }

    .pos-3 {
        bottom: -5px;
        right: 10px;
    }

    .hero-stats-strip {
        padding: 24px 20px;
        gap: 20px;
    }

    .strip-item {
        flex: 0 0 100%;
    }

    .strip-icon {
        width: 44px;
        height: 44px;
    }

    .strip-info strong {
        font-size: 1.3rem;
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary);
    z-index: 2000;
    transition: width 0.1s ease-out;
}

/* Background Decorations */
.bg-decor {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    filter: blur(80px);
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: rgba(var(--primary-rgb), 0.1);
    top: 10%;
    left: -5%;
    border-radius: 50%;
    animation: float 10s infinite alternate;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(var(--secondary-rgb), 0.08);
    /* Midnight Blue Glow */
    bottom: 20%;
    right: -5%;
    border-radius: 50%;
    animation: float 15s infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(50px, 100px) rotate(10deg);
    }
}

/* Parallax Container */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
    transform: translateY(0);
}

/* Card Enhancements */
.feature-card,
.course-card,
.branch-card {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: rgba(var(--primary-rgb), 0.2);
    background: var(--bg-white);
    transform: translateY(-15px) scale(1.02);
}

.course-card:hover {
    transform: translateY(-10px);
}

/* Feature Icon Micro-animation */
.feature-card:hover .feature-icon {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Section Header */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Elite "Why Choose Us" Redesign (v4) --- */
#why-us {
    background: #F8FAFC;
    /* Intelligent off-white */
    background-image:
        radial-gradient(#E2E8F0 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    /* Subtle dots pattern */
    color: var(--secondary);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

#why-us::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(227, 28, 37, 0.03) 0%, transparent 70%);
    z-index: 1;
}

#why-us .section-title {
    color: var(--secondary);
    font-size: 3.8rem;
    font-weight: 950;
    letter-spacing: -2px;
}

#why-us .section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 80px;
}

/* Why Us Masonry - Basic Layout */
.why-grid-masonry {
    display: flex;
    /* Swiper default */
    width: 100%;
    height: 100%;
}



/* Ensure swiper container doesn't cut shadows on desktop */
/* Ensure swiper container doesn't cut shadows on desktop */
@media (min-width: 1025px) {
    .why-swiper-container {
        overflow: visible !important;
        height: auto !important;
        margin-bottom: 40px;
    }

    .swiper-wrapper.why-grid-masonry {
        display: grid !important;
        width: 100% !important;
        transform: none !important;
        grid-template-columns: 1fr 1.2fr 1fr;
        grid-template-rows: auto auto;
        gap: 30px;
        align-items: start;
    }

    /* Card Positioning on Desktop */
    .card-wrapper[data-index="01"] {
        grid-column: 1;
        grid-row: 1;
    }

    .card-wrapper[data-index="02"] {
        grid-column: 1;
        grid-row: 2;
        margin-top: 30px;
    }

    .main-center-slide {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .card-wrapper[data-index="04"] {
        grid-column: 3;
        grid-row: 1;
    }

    .card-wrapper[data-index="05"] {
        grid-column: 3;
        grid-row: 2;
        margin-top: 30px;
    }

    .card-wrapper {
        width: 100% !important;
        height: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        position: relative !important;
    }


    .why-card.banner-wide {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        min-height: 250px;
        background: linear-gradient(135deg, #0f172a, #1e293b) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}





.why-card {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 40px;
    padding: 45px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

/* Accent Borders (Apply only to Why-Card inside) */
.card-wrapper[data-index="01"] .why-card {
    border-top: 5px solid #F59E0B;
}

.card-wrapper[data-index="02"] .why-card {
    border-top: 5px solid #10B981;
}

.card-wrapper[data-index="03"] .why-card {
    border-top: 5px solid var(--primary);
}

.card-wrapper[data-index="04"] .why-card {
    border-top: 5px solid #EF4444;
}

.card-wrapper[data-index="05"] .why-card {
    border-top: 5px solid #3B82F6;
}


/* Remove border from wrapper on desktop if it has inner card */
@media (min-width: 1025px) {
    .card-wrapper {
        border-top: none !important;
    }
}




.why-card::before {
    content: attr(data-index);
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary);
    opacity: 0.05;
    font-family: 'Outfit', sans-serif;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: rgba(227, 28, 37, 0.15);
    box-shadow: 0 30px 70px rgba(227, 28, 37, 0.08);
}

.why-icon-small {
    width: 65px;
    height: 65px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 1.6rem;
    position: relative;
    z-index: 5;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-card:hover .why-icon-small {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.why-icon-small i {
    position: relative;
    z-index: 10;
    color: white !important;
}

@keyframes pulseIcon {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }
}

[data-index="01"] .why-icon-small {
    background: #F59E0B;
}

[data-index="02"] .why-icon-small {
    background: #10B981;
}

[data-index="04"] .why-icon-small {
    background: #EF4444;
}

[data-index="05"] .why-icon-small {
    background: #3B82F6;
}

.banner-wide .why-icon-small {
    background: #A855F7;
}

.why-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.why-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Centerpiece Teacher Card */
.why-card.main-center {
    padding: 70px 40px;
    text-align: center;
    background: white;
    border-color: rgba(227, 28, 37, 0.1);
}

.teacher-assembly {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto 50px;
}

.teacher-radiance {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(227, 28, 37, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: rotateRadiance 10s infinite linear;
    z-index: 1;
}

@keyframes rotateRadiance {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.main-teacher-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    object-fit: cover;
}

.floating-teacher {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid white;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.ft-1 {
    top: 0;
    left: 10%;
}

.ft-2 {
    top: 0;
    right: 10%;
}

.ft-3 {
    bottom: 0;
    left: 0%;
}

.ft-4 {
    bottom: 0;
    right: 0%;
}

.ielts-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 50px;
}

/* Bottom Full-width card */
.why-card.banner-wide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 60px 80px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
    margin-top: 40px;
    text-decoration: none;
    cursor: default;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 5;
    overflow: hidden;
}


.why-card.banner-wide:hover {
    transform: translateY(-5px);
    /* Reduced hover effect slightly */
    box-shadow: 0 40px 100px rgba(227, 28, 37, 0.1);
    border-color: rgba(227, 28, 37, 0.3);
}

.why-card.banner-wide:hover h3 i {
    transform: translateX(10px);
    color: var(--primary);
}

.banner-action-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    /* Ensure link doesn't have underline */
    gap: 12px;
    margin-top: 30px;
    padding: 12px 30px;
    background: white;
    color: var(--secondary);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.why-card.banner-wide:hover .banner-action-link {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.banner-pulse-asset {
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    animation: assetPulse 4s infinite ease-in-out;
}

@keyframes assetPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    }

    50% {
        transform: scale(1.08) rotate(2deg);
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
    }
}

.why-card.banner-wide h3 {
    color: white !important;
}

.banner-wide .why-icon-small {
    background: #A855F7;
    margin-bottom: 0;
    /* Align with text */
}




/* Removed duplicate mobile swiper block - consolidated at bottom of file */


.banner-wide p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.banner-wide .why-icon-small {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.banner-content {
    flex: 1;
}

.banner-asset {
    flex: 0 0 300px;
    text-align: right;
}

.banner-asset img {
    max-width: 100%;
    border-radius: 24px;
}

@media (max-width: 1024px) {
    .why-grid-masonry {
        grid-template-columns: 1fr 1fr;
    }

    .why-card.banner-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .why-grid-masonry {
        grid-template-columns: 1fr;
    }

    .why-card.banner-wide {
        grid-column: span 1;
    }

    /* "Nega yoshlar bizni tanlashmoqda?" sarlavhasi mobile'da
       moslashtirilgan: kichikroq font, padding kamroq */
    #why-us {
        padding: 70px 0;
    }

    #why-us .section-title {
        font-size: 1.85rem;
        letter-spacing: -0.5px;
        line-height: 1.2;
        padding: 0 12px;
    }

    #why-us .section-subtitle {
        font-size: 0.95rem;
        margin: 0 auto 40px;
        padding: 0 16px;
    }

    /* Umumiy section-title kichraytirilgan (boshqa sectionlar uchun ham) */
    .section-title {
        font-size: 1.85rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 12px;
    }
}

@media (max-width: 380px) {
    #why-us .section-title,
    .section-title {
        font-size: 1.6rem;
    }
}

/* Courses - Cambridge Style Redesign */
.courses-section {
    background: #020617;
    /* Very deep navy for contrast */
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Mesh Gradient Animation for Courses */
.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(227, 28, 37, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(227, 28, 37, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 60%);
    animation: courseMeshFlow 15s infinite alternate ease-in-out;
    z-index: 1;
}

@keyframes courseMeshFlow {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.1) rotate(3deg);
        opacity: 1;
    }
}

.courses-section .bg-text-decor {
    color: rgba(255, 255, 255, 0.015);
    font-size: 18vw;
    top: 45%;
    transform: translate(-50%, -50%) rotate(5deg);
    letter-spacing: -8px;
}

/* Courses Grid - Desktop Original */
@media (min-width: 1025px) {
    .premium-courses-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
        transform: none !important;
        width: 100% !important;
    }

    .premium-course-card {
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}

/* Courses - Mobile Slider */
@media (max-width: 1024px) {
    .courses-swiper {
        overflow: visible !important;
        /* Allow slides to be seen outside container if needed */
        padding-bottom: 60px;
        margin: 0 -15px;
        /* Negative margin to bleed to edges */
        padding-left: 15px;
        padding-right: 15px;
    }

    .premium-courses-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        width: 100%;
        transform: none;
        /* Reset static transform, let Swiper handle it */
    }

    .premium-course-card {
        /* Remove width: 100% !important to let Swiper set width */
        height: auto !important;
        flex-shrink: 0;
        padding: 30px 20px;
        /* More compact on mobile */
    }
}


.premium-courses-grid {
    margin-top: 50px;
    position: relative;
    z-index: 5;
}




.premium-course-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
}

.premium-course-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.p-card-header {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.p-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.5s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.4));
}

.premium-course-card:hover .p-card-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.p-card-header h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.p-card-body {
    flex: 1;
}

.p-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.p-feature-list li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.premium-course-card:hover .p-feature-list li {
    color: white;
}

.p-feature-list li i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 4px;
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.6));
}

.p-card-footer {
    margin-top: 40px;
    text-align: center;
}

.btn-p-course {
    display: inline-block;
    width: 100%;
    padding: 16px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.2);
    position: relative;
    overflow: hidden;
}

.btn-p-course:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.4);
    background: #e31c25;
}

/* Card Accent variations (Subtle red differences) */
.c-red .p-card-icon {
    color: #ff3d47;
}

.c-dark-red .p-card-icon {
    color: #e31c25;
}

.c-crimson .p-card-icon {
    color: #c21820;
}

/* Consolidated mobile swiper styles moved up */



/* Cambridge-style Branches Redesign - Dark Theme */
.branches-section {
    background: #020617;
    padding: 120px 0 40px;
    position: relative;
    overflow: hidden;
}

/* Mesh Gradient Animation for Branches */
.branches-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(227, 28, 37, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 60%);
    animation: branchesMeshFlow 20s infinite alternate ease-in-out;
    z-index: 1;
}

@keyframes branchesMeshFlow {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.1) rotate(-2deg);
        opacity: 1;
    }
}

.branches-section .container {
    position: relative;
    z-index: 5;
}

.branches-section .bg-text-decor {
    color: rgba(255, 255, 255, 0.015);
    font-size: 15vw;
}

.branches-swiper {
    padding: 60px 0 50px !important;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible !important;
}

.cambridge-card {
    position: relative;
    height: 500px;
    /* Reduced from 750px */
    border-radius: 40px;
    /* Slightly more compact radius */
    overflow: hidden;
    cursor: grab;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    width: 100%;
}

.cambridge-card:hover {
    box-shadow: 0 50px 100px rgba(227, 28, 37, 0.2);
}

.cambridge-card:active {
    cursor: grabbing;
}

.swiper-slide {
    transition: all 0.6s ease;
    opacity: 0.15;
    /* Hide non-visible ones almost completely */
    transform: scale(0.95);
}

.swiper-slide-active,
.swiper-slide-next {
    opacity: 1;
    /* Show exactly two cards */
    transform: scale(1);
}

.cambridge-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cambridge-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.6) 40%,
            transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    /* Reduced from 48px */
    z-index: 2;
}

.branch-name-large {
    font-size: 2.2rem;
    /* Reduced from 3rem */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -1px;
    color: white;
    text-transform: none;
}

.branch-desc-small {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.5;
    color: white;
}

.map-buttons {
    display: flex;
    gap: 12px;
    width: 100%;
}

.map-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 18px;
    border-radius: 12px;
    color: white !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none !important;
    flex: 1;
    justify-content: center;
}

.map-pill:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* 📍 Colorful Map Icons */
.fa-map-marker-alt {
    background: linear-gradient(180deg, #EA4335 0%, #FBBC05 40%, #34A853 70%, #4285F4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.fa-location-arrow {
    background: linear-gradient(135deg, #FF0000 0%, #FFA500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(255, 0, 0, 0.3));
}

.map-pill img {
    width: 20px !important;
    height: 20px !important;
    border-radius: 0 !important;
}

/* Custom Swiper Navigation */
.branches-nav-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.3 !important;
    width: 12px !important;
    height: 12px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--primary) !important;
    width: 30px !important;
    border-radius: 6px !important;
}

@media (max-width: 1024px) {
    .branches-grid-premium {
        grid-template-columns: 1fr;
    }

    .cambridge-card {
        height: 450px;
    }
}

/* Unique Branches Section Redesign */
.branches-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 24px;
    margin-top: 40px;
}

.branch-item {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-dark);
}

.branch-item.main {
    grid-column: span 7;
    grid-row: span 2;
}

.branch-item.secondary {
    grid-column: span 5;
    grid-row: span 1;
}

.branch-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.branch-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.branch-item:hover .branch-img-wrapper img {
    transform: scale(1.08);
}

/* Glassmorphism Overlay */
.branch-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 24px;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.branch-item:hover .branch-overlay {
    transform: translateY(0);
    opacity: 1;
}

.branch-item.main .branch-overlay {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(135deg, rgba(227, 28, 37, 0.9), rgba(15, 23, 42, 0.9));
}

.branch-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.branch-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: white;
}

.branch-item.secondary .branch-title {
    font-size: 1.4rem;
}

.branch-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.branch-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.branch-meta i {
    width: 20px;
    color: var(--primary);
}

@media (max-width: 1024px) {
    .branches-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .branch-item.main,
    .branch-item.secondary {
        grid-column: span 1;
        height: 450px;
    }

    .branch-overlay {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile App Section - Premium */
.mobile-app-section {
    background: linear-gradient(135deg, var(--primary) 0%, #C81E2B 50%, #A01525 100%);
    color: white;
    border-radius: 32px;
    margin: 50px auto;
    overflow: hidden;
    position: relative;
}

.mobile-app-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.app-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 4rem;
}

.app-img img {
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.app-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.app-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

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

.app-btn {
    background: white;
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.app-btn:hover {
    transform: translateY(-3px);
    background: #f0f0f0;
}

/* Registration Form */
.registration-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-light);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

/* Footer - Premium Redesign */
.footer {
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(227, 28, 37, 0.3), transparent);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* Button Variants */
.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
}

/* Badge and Meta Accents */
.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 6px 15px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #94A3B8;
    margin-bottom: 2rem;
}

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

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    color: #94A3B8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(227, 28, 37, 0.3);
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: #94A3B8;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #64748B;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-container,
    .app-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid,
    .courses-grid,
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .features-grid,
    .courses-grid,
    .branches-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}



/* restored mobile styles */
@media (max-width: 768px) {

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

    .app-container {
        padding: 2rem;
    }

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

    .registration-container {
        padding: 2rem;
    }
}

/* --- Student Results Section (Bizning Talabalarimiz) --- */
.results-section {
    background: #020617;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Mesh Gradient Animation */
.results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(239, 68, 68, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    animation: meshFlow 20s infinite alternate linear;
    z-index: 1;
}

@keyframes meshFlow {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.2) translate(5%, 5%);
    }

    100% {
        transform: scale(1) translate(-5%, 2%);
    }
}

.bg-text-decor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    font-size: 25vw;
    font-weight: 950;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    user-select: none;
    letter-spacing: -10px;
}

.results-section .container {
    position: relative;
    z-index: 5;
}

/* Floating Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(1px);
    animation: floatParticle 10s infinite ease-in-out;
}

.particle.p1 {
    width: 5px;
    height: 5px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle.p2 {
    width: 8px;
    height: 8px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle.p3 {
    width: 4px;
    height: 4px;
    top: 80%;
    left: 30%;
    animation-delay: 4s;
}

.particle.p4 {
    width: 6px;
    height: 6px;
    top: 40%;
    left: 70%;
    animation-delay: 1s;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.2;
    }

    50% {
        transform: translate(20px, -30px);
        opacity: 0.5;
    }
}

.result-card {
    background: rgba(255, 255, 255, 0.015);
    /* Yanada shaffofroq */
    backdrop-filter: blur(20px);
    /* Effektni kuchaytirish */
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 45px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.04);
    /* Chegarani mayinlashtirish */
    display: flex;
    flex-direction: column;
    min-height: 600px;
    /* Thicker/Taller cards */
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.result-card:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.card-head-elite {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    align-items: flex-end;
}

.student-avatar-box {
    flex-shrink: 0;
    position: relative;
    width: 120px;
}

.s-avatar {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.expert-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #3B82F6;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.cert-container {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: rotate(2deg);
    transition: all 0.5s ease;
}

.result-card:hover .cert-container {
    transform: rotate(0deg) scale(1.05);
}

.cert-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-name {
    color: white;
    font-size: 2.2rem;
    /* Increased from 1.8rem */
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
    font-family: 'Outfit', sans-serif;
}

.student-review {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    height: auto;
    max-height: 150px;
    overflow: hidden;
    position: relative;
}

.score-badges-v2 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 15px;
    margin-top: auto;
}

.score-pill {
    padding: 15px 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    overflow: hidden;
}

.pill-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    opacity: 0.8;
}

.pill-val {
    font-size: 2rem;
    font-weight: 950;
    line-height: 1;
}

/* Gradients */
.blue-gradient {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    color: white;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.red-gradient {
    background: linear-gradient(135deg, #EF4444, #B91C1C);
    color: white;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

.gold-title {
    background: linear-gradient(135deg, #F59E0B, #B45309);
    color: white;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.green-gradient {
    background: linear-gradient(135deg, #10B981, #047857);
    color: white;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.purple-gradient {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    color: white;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.dark-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

/* Results Slider Styles */
.results-swiper {
    padding: 60px 0 100px !important;
    overflow: visible !important;
}

.results-swiper .swiper-slide {
    height: auto;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.3;
    transform: scale(0.85);
}

.results-swiper .swiper-slide-active {
    opacity: 1 !important;
    transform: scale(1) !important;
    z-index: 10;
}

.results-pagination {
    bottom: 20px !important;
}

.results-pagination .swiper-pagination-bullet {
    background: white !important;
    opacity: 0.3;
}

.results-pagination .swiper-pagination-bullet-active {
    background: var(--primary) !important;
    opacity: 1;
    width: 25px;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
    }

    .results-section {
        padding: 80px 0;
    }

    .student-name {
        font-size: 1.6rem;
    }

    /* Mobile'da kartaning ichki padding'i va min-height'ni qisqartirib,
       content nafis va kompakt ko'rinsin (juda baland/ingichka emas) */
    .result-card {
        padding: 24px 20px;
        min-height: auto;
        border-radius: 28px;
    }

    .card-head-elite {
        gap: 14px;
        margin-bottom: 18px;
        align-items: center;
    }

    .student-avatar-box {
        width: 90px;
    }
}

/* Juda kichik telefonlar */
@media (max-width: 380px) {
    .result-card {
        padding: 20px 16px;
        border-radius: 24px;
    }

    .student-avatar-box {
        width: 75px;
    }

    .student-name {
        font-size: 1.4rem;
    }
}

/* --- Teachers Section (Bizning O'qituvchilarimiz) --- */
.teachers-section {
    background: #F8FAFC;
    background-image: radial-gradient(#E2E8F0 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.teachers-section .shape-1 {
    top: 15%;
    left: -5%;
    width: 380px;
    height: 380px;
    background: var(--primary);
}

.teachers-section .shape-2 {
    bottom: 10%;
    right: -5%;
    width: 320px;
    height: 320px;
    background: var(--secondary);
}

.teachers-section .shape-3 {
    top: 30%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(30px);
}

.teachers-container {
    max-width: 1200px;
    margin: 0 auto;
}

.teachers-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.teachers-video-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* Fallback (aspect-ratio'ni qo'llab-quvvatlamasa) — iframe reload paytida
       wrapper o'lchami yo'qolmasin */
    min-height: 200px;
    width: 100%;
}

.teachers-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 5;
    cursor: pointer;
    transition: all 0.5s ease;
}

.video-overlay i {
    font-size: 5rem;
    margin-bottom: 15px;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.video-overlay:hover i {
    transform: scale(1.1);
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.teacher-detail-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.teacher-tag {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(227, 28, 37, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.t-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.t-role {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 30px;
    display: block;
}

.t-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.t-stat {
    display: flex;
    flex-direction: column;
}

.t-stat strong {
    font-size: 1.8rem;
    color: var(--secondary);
    font-weight: 850;
}

.t-stat span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.t-bio {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 35px;
    opacity: 0.85;
}

/* Teachers Thumbnails List - Original Desktop Grid */
@media (min-width: 1025px) {
    .teachers-swiper {
        overflow: visible !important;
        width: 100% !important;
    }

    .teachers-list {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px !important;
        width: 100% !important;
        transform: none !important;
        position: relative !important;
    }

    .t-item {
        width: 100% !important;
        height: auto !important;
        flex-shrink: 1 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .teachers-pagination {
        display: none !important;
    }
}


.teachers-list {
    display: flex;
    gap: 0;
}


.t-item {
    background: white;
    padding: 15px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.t-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    /* Square with slight rounding */
    object-fit: cover;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}


.t-item-info h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 2px;
}

.t-item-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.t-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.t-item.active {
    background: var(--secondary);
    border-color: var(--secondary);
}

.t-item.active .t-item-info h4 {
    color: white;
}

.t-item.active .t-item-info span {
    color: rgba(255, 255, 255, 0.7);
}

.t-item.active img {
    border-color: var(--primary);
}

@media (max-width: 1024px) {
    .teachers-main {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .teachers-swiper {
        overflow: visible !important;
        padding-bottom: 50px;
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .teachers-list {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        width: 100%;
        transform: none;
    }

    .t-item {
        height: auto !important;
        flex-shrink: 0;
        margin: 0;
        /* Padding handled by swiper spaceBetween */
    }

    .teachers-pagination {
        bottom: 0 !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .t-name {
        font-size: 1.7rem;
    }

    /* Teachers section padding kichraytirilgan — title navbar ostida kesilmasin */
    .teachers-section {
        padding: 80px 0 60px;
    }

    .teachers-main {
        padding: 20px;
        gap: 24px;
        border-radius: 28px;
        margin: 0 8px 32px;
    }

    /* Cambridge card mobile balandligi pasaytirilgan */
    .cambridge-card {
        height: 380px;
        border-radius: 28px;
    }

    /* Course card padding mobile uchun moslangan */
    .premium-course-card {
        padding: 26px 22px !important;
        border-radius: 26px;
    }
}

@media (max-width: 380px) {
    .teachers-main {
        padding: 16px;
    }

    .cambridge-card {
        height: 340px;
    }

    .premium-course-card {
        padding: 22px 18px !important;
    }
}


/* --- FAQ Section --- */
.faq-section {
    background: white;
    background-image: radial-gradient(#E2E8F0 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.faq-section .shape-1 {
    top: 5%;
    right: -10%;
    width: 420px;
    height: 420px;
    background: var(--primary);
}

.faq-section .shape-2 {
    bottom: -5%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: var(--secondary);
}

.faq-section .shape-3 {
    top: 50%;
    left: 15%;
    width: 180px;
    height: 180px;
    background: var(--primary);
    filter: blur(25px);
}

.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #F8FAFC;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: white;
    border-color: rgba(var(--primary-rgb), 0.2);
}

.faq-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
    line-height: 1.4;
    padding-right: 20px;
    transition: color 0.3s ease;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    overflow: hidden;
}

.faq-answer-content p {
    padding: 0 30px 30px;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.7;
    opacity: 0.8;
}

/* Active State */
.faq-item.active {
    background: white;
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.05);
}

.faq-item.active .faq-header h3 {
    color: var(--primary);
}

.faq-item.active .faq-icon {
    background: var(--primary);
    color: white;
    transform: rotate(135deg);
    /* Pluses to X/Minus */
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

@media (max-width: 768px) {
    .faq-header {
        padding: 20px;
    }

    .faq-header h3 {
        font-size: 1rem;
    }

    .faq-answer-content p {
        padding: 0 20px 20px;
        font-size: 0.95rem;
    }
}

/* Floating Social Sidebar */
.social-sidebar {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.social-side-item {
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 15, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.35rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.social-side-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 50%;
    height: 300%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.social-side-item .side-label {
    position: absolute;
    left: calc(100% + 14px);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(14px);
    color: #fff;
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.social-side-item.tg i {
    color: #29b6f6;
}

.social-side-item.ig i {
    color: #e1306c;
}

.social-side-item.yt i {
    color: #ff4444;
}

/* Bottom glow line per brand */
.social-side-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.35s ease;
}

.social-side-item.tg::after {
    background: #29b6f6;
    box-shadow: 0 0 10px rgba(41, 182, 246, 0.6);
}

.social-side-item.ig::after {
    background: linear-gradient(90deg, #f09433, #e1306c, #833ab4);
    box-shadow: 0 0 10px rgba(225, 48, 108, 0.5);
}

.social-side-item.yt::after {
    background: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.6);
}

.social-side-item:hover {
    transform: translateX(6px) scale(1.08);
    background: rgba(20, 20, 28, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-side-item:hover::after {
    left: 0;
    right: 0;
    opacity: 1;
    height: 3px;
}

.social-side-item:hover .side-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.social-side-item.tg:hover {
    border-color: rgba(41, 182, 246, 0.4);
    box-shadow: 0 0 20px rgba(41, 182, 246, 0.2);
}

.social-side-item.ig:hover {
    border-color: rgba(225, 48, 108, 0.4);
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.2);
}

.social-side-item.yt:hover {
    border-color: rgba(255, 68, 68, 0.4);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.2);
}

/* Lang selector (Moved to Social Sidebar) */
.social-sidebar .premium-lang-selector {
    position: relative;
    user-select: none;
}

.social-sidebar .selected-lang {
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 15, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-sidebar .selected-lang img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.social-sidebar .selected-lang span {
    display: none;
    /* Hide text in sidebar trigger */
}

.social-sidebar .selected-lang:hover {
    transform: translateX(6px) scale(1.08);
    background: rgba(20, 20, 28, 0.8);
    border-color: var(--primary);
}

.social-sidebar .lang-dropdown-menu {
    position: absolute;
    bottom: 0;
    left: calc(100% + 15px);
    min-width: 160px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.social-sidebar .lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.social-sidebar .lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.social-sidebar .lang-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.social-sidebar .lang-item img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

@media (max-width: 1200px) {
    .social-sidebar .premium-lang-selector {
        display: block;
    }
}

/* ==================== ENTRY MODAL ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Entry Modal - Minimalist Redesign */
.entry-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    /* More spacious for 3 cards */
    border-radius: 24px;
    position: relative;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: none;
    transform: translateY(20px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modal-overlay.active .entry-modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    top: 20px;
    right: 20px;
    background: #F8FAFC;
    color: #64748B;
    width: 36px;
    height: 36px;
}

.entry-title {
    font-size: 1.8rem;
    /* ~28px */
    font-weight: 800;
    color: #0F172A;
    background: none;
    -webkit-text-fill-color: initial;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: -0.5px;
}

.entry-subtitle {
    font-size: 1rem;
    color: #64748B;
    margin-bottom: 30px;
}



/* Entry Selection Grid (Restored & Minimized) */
.entry-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns for 3 cards */
    gap: 20px;
}

/* Responsive adjustment for 3 columns */
@media (max-width: 900px) {
    .entry-options-grid {
        grid-template-columns: 1fr 1fr;
    }

    .entry-option-card:last-child {
        grid-column: span 2;
        /* Center the last one if wrapped */
    }
}

@media (max-width: 600px) {
    .entry-options-grid {
        grid-template-columns: 1fr;
    }

    .entry-option-card:last-child {
        grid-column: auto;
    }
}

.entry-option-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Reusing entry-modal-content styles for contact-modal-content explicitly */
.contact-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    /* Narrower for contact form */
    border-radius: 24px;
    position: relative;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: none;
    transform: translateY(20px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modal-overlay.active .contact-modal-content {
    transform: translateY(0) scale(1);
}

.entry-option-card:hover {
    background: #ffffff;
    border-color: #2D9CDB;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(45, 156, 219, 0.15);
}

.option-illustration {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.option-illustration img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.entry-option-card:hover .option-illustration img {
    transform: scale(1.1);
}

.entry-option-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 10px;
}

.entry-option-card p {
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 20px;
    line-height: 1.5;
}

.option-arrow {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #94A3B8;
    transition: all 0.3s ease;
}

.entry-option-card:hover .option-arrow {
    background: #2D9CDB;
    color: white;
    border-color: #2D9CDB;
}

/* Mobile responsive for grid */
@media (max-width: 640px) {
    .entry-options-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Styles - Clean & Modern */
.form-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.form-header h3 {
    font-size: 1.5rem;
    /* 24px */
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.step-indicator {
    background: #F0F9FF;
    /* Light blue bg */
    color: #0284C7;
    /* Blue text */
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.trial-form .form-group {
    margin-bottom: 20px;
}

.trial-form label {
    display: block;
    font-size: 14px;
    /* Requested 14px */
    font-weight: 500;
    color: #64748B;
    /* Gray */
    margin-bottom: 8px;
}

.trial-form label i {
    color: #94A3B8;
    margin-right: 5px;
}

.trial-form input,
.trial-form select {
    width: 100%;
    padding: 12px 16px;
    /* 12px padding */
    background: #ffffff;
    border: 1px solid #E2E8F0;
    /* Light gray border */
    border-radius: 12px;
    /* 12px radius */
    font-size: 1rem;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
    outline: none;
}

.trial-form input:focus,
.trial-form select:focus {
    border-color: #2D9CDB;
    /* Accent Blue */
    box-shadow: 0 0 0 3px rgba(45, 156, 219, 0.1);
}

.btn-next-step,
.btn-submit-trial {
    background: linear-gradient(135deg, #e11d48, #be123c);
    /* Brand Red */
    color: white;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.btn-next-step:hover,
.btn-submit-trial:hover {
    background: linear-gradient(135deg, #be123c, #9f1239);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -4px rgba(225, 29, 72, 0.45);
}

.btn-back-step {
    background: transparent;
    border: 1px solid #E2E8F0;
    color: #64748B;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-back-step:hover {
    background: #F8FAFC;
    color: #334155;
    border-color: #CBD5E1;
}

.form-actions-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Back button smaller */
    gap: 15px;
    margin-top: 30px;
}

.form-note-small {
    text-align: center;
    font-size: 0.85rem;
    color: #94A3B8;
    margin-top: 15px;
}

.operator-note {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background: #F0FDF4;
    /* Light green */
    border-radius: 10px;
    color: #166534;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Hide decorative blobs for clean look */
.entry-modal-content::after,
.entry-modal-content::before {
    display: none;
}

.btn-submit-trial {
    width: 100%;
    background: linear-gradient(135deg, #e31c25 0%, #c41820 100%);
    color: #ffffff;
    border: none;
    padding: 18px;
    border-radius: 20px;
    font-size: 1.15rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 10px;
    box-shadow: 0 15px 30px -10px rgba(227, 28, 37, 0.3);
}

.btn-submit-trial:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 40px -12px rgba(227, 28, 37, 0.45);
}

.btn-submit-trial:active {
    transform: translateY(-1px) scale(0.98);
}

/* Multi-step Form Styles */
.step-indicator {
    font-size: 0.85rem;
    font-weight: 700;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.level-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.level-pill {
    cursor: pointer;
    position: relative;
}

.level-pill input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.level-pill span {
    display: block;
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid #f1f5f9;
    border-radius: 18px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #475569;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.level-pill input:checked+span {
    background: #ffffff;
    border-color: #e31c25;
    color: #e31c25;
    box-shadow: 0 15px 25px -10px rgba(227, 28, 37, 0.15);
    transform: translateY(-3px);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.trial-form label i {
    margin-right: 8px;
    color: #6366f1;
    font-size: 0.85rem;
}

.form-note-small {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 15px;
}

.operator-note {
    margin-top: 25px;
    padding: 15px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #4f46e5;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px dashed rgba(99, 102, 241, 0.2);
}

.operator-note i {
    font-size: 1.1rem;
    animation: rotateInner 4s linear infinite;
}

@keyframes rotateInner {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

.level-pill:hover span {
    border-color: rgba(227, 28, 37, 0.3);
    background: #ffffff;
}

.btn-next-step {
    width: 100%;
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.btn-next-step:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.form-actions-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    margin-top: 30px;
}

.btn-back-step {
    background: #f1f5f9;
    border: none;
    border-radius: 14px;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back-step:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Success State */
.success-content {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 5rem;
    color: #10b981;
    margin-bottom: 25px;
    animation: scaleIn1 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-close-success {
    margin-top: 30px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 12px 35px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-success:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.entry-option-card.trial {
    border-color: rgba(16, 185, 129, 0.2);
}

.entry-option-card.trial:hover {
    border-color: #10b981;
}

.entry-option-card.trial::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 40px;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: -1;
    animation: pulseBorder 2s infinite;
}

@keyframes pulseBorder {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.5;
    }
}

@keyframes scaleIn1 {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .entry-modal-content {
        padding: 35px 20px;
    }

    .entry-options-grid {
        grid-template-columns: 1fr;
    }

    .entry-title {
        font-size: 1.5rem;
    }
}


/* --- Academic Excellence Section - Light Theme Buffer --- */
.academic-excellence {
    background: #F8FAFC;
    background-image: radial-gradient(#E2E8F0 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.excellence-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.excellence-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(227, 28, 37, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.excellence-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--secondary);
    font-weight: 900;
}

.excellence-title span {
    color: var(--primary);
}

.excellence-desc {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 40px;
    max-width: 600px;
}

.excellence-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 45px;
}

.ex-feat-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ex-feat-icon {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.ex-feat-item:hover .ex-feat-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(227, 28, 37, 0.2);
}

.ex-feat-text h4 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 5px;
    font-weight: 800;
}

.ex-feat-text p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Excellence Visuals */
.excellence-visual {
    position: relative;
    z-index: 5;
}

.visual-wrapper {
    position: relative;
    padding: 40px;
}

.excellence-main-frame {
    position: relative;
    z-index: 2;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12);
}

.excellence-main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.excellence-main-frame:hover .excellence-main-img {
    transform: scale(1.05);
}

.stats-card-mini {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 10;
    animation: floatSlow 8s infinite ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-card-mini.card-top {
    top: 0;
    right: 0;
}

.stats-card-mini.card-bottom {
    bottom: 15%;
    left: 0;
    animation-delay: -4s;
}

.stats-card-mini .card-icon {
    width: 45px;
    height: 45px;
    background: rgba(227, 28, 37, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.stats-card-mini .card-info strong {
    display: block;
    font-size: 1.2rem;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 4px;
}

.stats-card-mini .card-info span {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.decoration-circle.c-1 {
    top: -10px;
    left: -10px;
    width: 220px;
    height: 220px;
    border: 45px solid #f1f5f9;
}

.decoration-circle.c-2 {
    bottom: -20px;
    right: -10px;
    width: 180px;
    height: 180px;
    background: #f8fafc;
}

/* --- Excellence Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .excellence-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .excellence-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .excellence-title {
        font-size: 2.8rem;
    }

    .ex-feat-item {
        flex-direction: column;
        align-items: center;
    }

    .visual-wrapper {
        max-width: 500px;
        margin: 0 auto;
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .academic-excellence {
        padding: 80px 0;
    }

    .excellence-title {
        font-size: 2.2rem;
    }

    .stats-card-mini {
        padding: 12px 18px;
    }

    .stats-card-mini.card-top {
        right: 0;
        top: 20px;
    }

    .stats-card-mini.card-bottom {
        left: 0;
        bottom: 10%;
    }

    .excellence-cta .btn-main {
        width: 100%;
        padding: 18px 20px;
    }
}


/* --- Elite Footer Redesign --- */

.elite-footer {
    background: #020617;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    color: white;
}

/* Wave Transition */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.footer-wave .shape-fill {
    fill: #020617;
}

/* Floating CTA Overlay - Refined Elite Design */
.footer-floating-cta {
    position: relative;
    z-index: 110;
    margin-top: -45px;
    /* Balanced overlap */
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 70px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Decorative Watermark for CTA */
.cta-watermark-icon {
    position: absolute;
    right: 20%;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    z-index: 0;
}

.cta-info {
    position: relative;
    z-index: 1;
    max-width: 60%;
}

.cta-info h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -1.5px;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 400;
}

.btn-cta-glow {
    position: relative;
    z-index: 1;
    background: var(--primary);
    color: white;
    padding: 18px 45px;
    border-radius: 60px;
    font-weight: 850;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.4);
    font-size: 1.1rem;
    overflow: hidden;
}

.btn-cta-glow span {
    position: relative;
    z-index: 1;
}

.btn-cta-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-cta-glow:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 25px 50px rgba(var(--primary-rgb), 0.6);
    background: #e31c25;
}

.btn-cta-glow:hover::before {
    left: 100%;
}

/* Main Footer Content */
.footer-main {
    padding-top: 100px;
    position: relative;
    z-index: 10;
}

.footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 950;
    color: rgba(255, 255, 255, 0.01);
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
    letter-spacing: -2px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Brand Section */
.brand-hub .f-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.brand-hub .f-logo img {
    height: 50px !important;
    width: 50px !important;
    border-radius: 50% !important;
    object-fit: cover;
}

.f-logo-text {
    font-size: 1.8rem;
    font-weight: 900;
}

.f-logo-text span {
    color: var(--primary);
}

.f-mission {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Social Hub Grid */
.social-hub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.social-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.social-card i {
    font-size: 1.5rem;
}

.social-card span {
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.7;
}

.social-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.social-card.tg:hover i {
    color: #0088cc;
}

.social-card.ig:hover i {
    color: #e1306c;
}

/* Section Titles & Links */
.f-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.f-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
}

.f-links {
    list-style: none;
    padding: 0;
}

.f-links li {
    margin-bottom: 15px;
}

.f-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.f-links a i {
    font-size: 0.7rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.f-links a:hover {
    color: white;
    transform: translateX(5px);
}

.f-links a:hover i {
    opacity: 1;
    color: var(--primary);
}

/* Contact Items */
.f-contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.f-contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.f-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.f-text label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    opacity: 0.5;
    margin-bottom: 4px;
}

.f-text span {
    font-weight: 700;
    font-size: 1rem;
}

.f-contact-item:hover .f-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

/* Bottom Bar */
.footer-bottom-elite {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.5rem;
}

.payme-badge,
.click-badge {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
}

/* 3D Floating Assets */
.footer-asset {
    position: absolute;
    color: rgba(255, 255, 255, 0.03);
    font-size: 5rem;
    pointer-events: none;
}

.asset-1 {
    top: 20%;
    right: 5%;
    animation: floatFooterAsset 10s infinite ease-in-out;
}

.asset-2 {
    bottom: 10%;
    left: 5%;
    animation: floatFooterAsset 12s infinite ease-in-out reverse;
    font-size: 7rem;
}

@keyframes floatFooterAsset {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(15deg);
    }
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px;
    }

    .cta-info {
        max-width: 100%;
    }

    .cta-info h3 {
        font-size: 1.8rem;
    }

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

@media (max-width: 768px) {
    .footer-watermark {
        font-size: 20vw;
    }
}

@media (max-width: 640px) {
    .elite-footer {
        padding-bottom: 40px;
    }

    .footer-main {
        padding-top: 60px;
    }

    .footer-floating-cta {
        margin-top: -25px;
        padding: 0 15px;
    }

    .cta-inner {
        padding: 25px 20px;
        border-radius: 25px;
    }

    .cta-info h3 {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }

    .cta-info p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .btn-cta-glow {
        padding: 12px 30px;
        font-size: 1rem;
        margin-top: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        /* Reduced gap */
        text-align: center;
        margin-bottom: 40px;
    }

    .f-mission {
        margin-bottom: 20px;
        font-size: 0.9rem;
    }

    .social-hub-grid {
        max-width: 220px;
        margin: 0 auto;
        gap: 8px;
    }

    .social-card {
        padding: 10px;
    }

    .f-title {
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

    .f-links li {
        margin-bottom: 10px;
    }

    .f-contact-items {
        gap: 15px;
    }

    .f-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .f-text span {
        font-size: 0.9rem;
    }

    .footer-bottom-elite {
        gap: 15px;
        padding-top: 25px;
    }
}



/* --- Why Us Mobile Swiper Responsive (Consolidated) --- */
@media (max-width: 1024px) {
    .why-swiper-container {
        padding-bottom: 60px;
        overflow: hidden;
        margin-bottom: 40px;
    }

    .why-grid-masonry {
        display: flex !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        gap: 0 !important;
        width: 100%;
        /* Swiper applies transform inline - removed static transform */
    }

    .main-center-slide {
        order: -1;
        /* Puts the teacher showcase first on mobile */
    }

    .card-wrapper {
        flex-shrink: 0;
        width: 85% !important;
        height: auto;
        padding: 0 10px;
        margin-top: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .why-card {
        height: 100%;
        padding: 35px 25px;
    }

    /* Reset desktop border trick for mobile */
    .card-wrapper[data-index="01"] .why-card,
    .card-wrapper[data-index="02"] .why-card,
    .card-wrapper[data-index="03"] .why-card,
    .card-wrapper[data-index="04"] .why-card,
    .card-wrapper[data-index="05"] .why-card {
        border-top-width: 4px;
        border-top-style: solid;
    }

    .why-card.main-center {
        padding: 40px 25px;
    }

    .teacher-assembly {
        width: 100% !important;
        max-width: 320px !important;
        height: 320px !important;
        margin: 0 auto 30px !important;
    }

    .main-teacher-img {
        width: 200px !important;
        height: 200px !important;
    }

    .floating-teacher {
        width: 65px !important;
        height: 65px !important;
    }


    .why-card.banner-wide {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
        margin: 30px auto 0;
        width: 100%;
        border-radius: 35px;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .banner-content .why-icon-small {
        margin: 0 auto 20px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .why-card.banner-wide h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .why-card.banner-wide p {
        font-size: 1rem;
        opacity: 0.9;
        margin-bottom: 0;
    }

    .banner-action-link {
        margin-top: 35px;
        width: 100%;
        justify-content: center;
        padding: 18px 30px;
        font-size: 1.1rem;
        background: var(--primary);
        color: white;
    }

    .banner-pulse-asset {
        margin-top: 40px;
        max-height: 240px;
        /* Increased from 160px */
        width: 100%;
        object-fit: cover;
        border-radius: 30px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }


    .why-pagination {
        bottom: 0 !important;
    }
}

/* =======================================
   MODERN 2.5D PREMIUM HERO SECTION
   ======================================= */
.hero-premium-25d {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 100px;
    background: var(--bg-pure);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-accent {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle at 70% 30%, rgba(var(--primary-rgb), 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-bg-glow {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle at 20% 80%, rgba(var(--primary-rgb), 0.03) 0%, transparent 60%);
    filter: blur(100px);
    z-index: 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Text Content Styling */
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.hero-main-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: var(--secondary);
    margin-bottom: 25px;
    font-weight: 900;
}

.text-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 45px;
    line-height: 1.8;
}

/* Elite Action Buttons */
.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary-elite {
    position: relative;
    padding: 20px 45px;
    background: var(--primary);
    color: white;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.25);
}

.btn-primary-elite:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(var(--primary-rgb), 0.35);
    background: var(--primary-dark);
}

.btn-secondary-elite {
    padding: 18px 45px;
    border: 2px solid var(--border-main);
    color: var(--secondary);
    border-radius: 18px;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.4s ease;
}

.btn-secondary-elite:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    transform: translateY(-5px);
}

/* 2.5D Visual Scene */
.hero-visual-scene {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-scene-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.layer {
    position: absolute;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

.main-portrait {
    width: 85%;
    z-index: 5;
    left: 10%;
    top: 5%;
}

.portrait-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.1));
}

.element-book {
    width: 180px;
    z-index: 8;
    right: 0%;
    top: 15%;
}

.element-pen {
    width: 140px;
    z-index: 6;
    left: -5%;
    bottom: 20%;
}

.float-asset {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.glass-stat-card {
    z-index: 10;
    right: 5%;
    bottom: 15%;
}

.glass-inner {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 20px 30px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.glass-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.g-num {
    display: block;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--secondary);
    line-height: 1;
}

.g-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.light-orb {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    left: 20%;
    top: 20%;
}

@media (max-width: 1100px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 80px;
    }

    .hero-description {
        margin: 0 auto 45px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual-scene {
        height: 500px;
    }
}

/* =============================================
   NAVBAR LANGUAGE SELECTOR - PREMIUM REDESIGN
   ============================================= */

/* Override common.css styles for landing navbar */
.navbar .premium-lang-selector {
    position: relative;
    user-select: none;
}

/* Trigger button - transparent with white text on dark hero */
.navbar .selected-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.navbar .selected-lang:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.premium-lang-selector.active .selected-lang {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.navbar .selected-lang span,
.navbar .selected-lang i {
    color: #ffffff;
}

.navbar .selected-lang img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.navbar .selected-lang span {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: inherit;
}

.navbar .selected-lang i {
    font-size: 9px;
    opacity: 0.6;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: inherit;
}

.navbar .premium-lang-selector.active .selected-lang i {
    transform: rotate(180deg);
}

/* On scrolled (light glass) navbar - switch to dark style */
.navbar.navbar-scrolled .selected-lang {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.1);
}

.navbar.navbar-scrolled .selected-lang span,
.navbar.navbar-scrolled .selected-lang i {
    color: #0f172a;
}

.navbar.navbar-scrolled .selected-lang:hover {
    background: rgba(15, 23, 42, 0.1);
    border-color: var(--primary);
}

/* Dropdown menu */
.navbar .lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    right: -10px;
    min-width: 180px;
    background: rgba(25, 25, 30, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transform-origin: top right;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100000;
}

/* Arrow pointer */
.navbar .lang-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 18px;
    width: 14px;
    height: 14px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px 0 0 0;
    z-index: -1;
}

.navbar .lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Dropdown items */
.navbar .lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.18s ease;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 13.5px;
    border: 1px solid transparent;
}

.navbar .lang-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.navbar .lang-item.active {
    background: linear-gradient(135deg, #e31c25, #b91c1c);
    color: white;
    box-shadow: 0 4px 12px rgba(227, 28, 37, 0.25);
}

.navbar .lang-item img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.navbar .lang-item.active img {
    border-color: rgba(255, 255, 255, 0.7);
}

/* Mobile: hide lang selector on small screens (it's inside mobile menu) */
@media (max-width: 1100px) {
    .navbar .nav-extra .premium-lang-selector {
        display: flex;
    }
}

/* Polished Hero Button Layout */
.hero-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 25px;
    margin-top: 45px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary-elite,
.hero-actions .btn-main {
    min-width: 240px;
    padding: 18px 40px;
    font-size: 1.15rem;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-actions .btn-primary-elite {
    background: linear-gradient(135deg, #e31c25, #b91c1c);
    color: white !important;
    box-shadow: 0 15px 35px rgba(227, 28, 37, 0.3);
    border: none;
}

.hero-actions .btn-main {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary);
    color: var(--primary) !important;
}

.hero-actions .btn-primary-elite:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(227, 28, 37, 0.45);
}

.hero-actions .btn-main:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(227, 28, 37, 0.3);
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .hero-actions .btn-primary-elite,
    .hero-actions .btn-main {
        width: 100%;
        max-width: 320px;
    }
}

.hero-actions .btn-main:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(227, 28, 37, 0.3);
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .hero-actions .btn-primary-elite,
    .hero-actions .btn-main {
        width: 100%;
        max-width: 320px;
    }
}

/* ==========================================================================
   PREMIUM LANGUAGE SELECTOR STYLES (Desktop & Mobile)
   ========================================================================== */

/* Desktop Styles */
.navbar-lang {
    margin-right: 15px;
    position: relative;
    z-index: 1001;
}

.premium-lang-selector {
    position: relative;
}

.selected-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.selected-lang:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.selected-lang img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.selected-lang span {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 170px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.8);
}

.lang-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.lang-item img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-item span {
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Styles */
.mobile-lang-section {
    padding: 0 40px;
    margin-bottom: 30px;
    width: 100%;
}

.mobile-lang-container {
    position: relative;
    width: 100%;
}

.mobile-lang-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-lang-trigger .trigger-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-lang-trigger img {
    width: 28px;
    height: 19px;
    object-fit: cover;
    border-radius: 4px;
}

.mobile-lang-trigger span {
    font-size: 17px;
}

.mobile-lang-trigger i {
    font-size: 14px;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.mobile-lang-dropdown {
    position: relative;
    top: 10px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 10px;
    display: none;
    margin-bottom: 10px;
}

.mobile-lang-dropdown.show {
    display: block;
    animation: mobileSlideDown 0.3s ease;
}

@keyframes mobileSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-lang-dropdown .lang-item {
    padding: 14px 18px;
    margin: 2px 0;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .navbar-lang {
        display: none;
        /* Hide desktop lang on mobile/tablet */
    }
}

/* ==========================================================================
   PREMIUM SECTION DIVIDER (Dark-to-Dark Separator)
   ========================================================================== */
.section-divider-glow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    height: 1px;
    background: #020617;
    z-index: 5;
}

.section-divider-glow .divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(220, 50, 69, 0.5) 50%, transparent 100%);
    position: relative;
}

.section-divider-glow .divider-line::after {
    content: '';
    position: absolute;
    inset: -4px 0;
    background: linear-gradient(90deg, transparent 0%, rgba(220, 50, 69, 0.15) 50%, transparent 100%);
    filter: blur(6px);
}

.section-divider-glow .divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    position: relative;
}

/* Glow ring atrofida */
.section-divider-glow .divider-ornament::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(220, 50, 69, 0.3);
    animation: divider_ring 3s ease-in-out infinite;
}

.section-divider-glow .divider-ornament i {
    font-size: 8px;
    color: var(--primary);
    text-shadow: 0 0 8px rgba(220, 50, 69, 0.8), 0 0 16px rgba(220, 50, 69, 0.4);
    animation: divider_pulse 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes divider_pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

@keyframes divider_ring {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ==========================================================================
   CINEMATIC GLASS TESTIMONIALS — Premium Elite V2
   ========================================================================== */
.testimonials-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: #020617 !important;
}

/* Video Background */
.testimonials-section .video-bg-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.testimonials-section .video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35) saturate(1.3) contrast(1.15) !important;
}

.testimonials-section .video-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(220, 50, 69, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(2, 6, 23, 0.5) 0%, rgba(2, 6, 23, 0.92) 100%) !important;
    z-index: 2;
}

/* Animated Decorative Orbs */
.testimonials-section::before,
.testimonials-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.1;
    z-index: 3;
    pointer-events: none;
}

.testimonials-section::before {
    background: var(--primary);
    top: -150px;
    left: -150px;
    animation: orb_move_1 15s ease-in-out infinite alternate;
}

.testimonials-section::after {
    background: #6366f1;
    bottom: -150px;
    right: -150px;
    animation: orb_move_2 18s ease-in-out infinite alternate;
}

@keyframes orb_move_1 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(120px, 80px) scale(1.1);
    }
}

@keyframes orb_move_2 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-100px, -100px) scale(1.15);
    }
}

.testimonials-section .container {
    position: relative;
    z-index: 10;
}

/* Section Subtitle */
.testimonials-section .section-subtitle {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 1.05rem;
}

/* Premium Title */
.testimonials-section .section-title {
    font-size: 3rem;
    color: white !important;
    font-weight: 900;
    letter-spacing: -1px;
}

.testimonials-section .section-title .text-primary {
    color: var(--primary) !important;
    text-shadow: 0 0 30px rgba(227, 28, 37, 0.35);
}

/* ── Elite Cinematic Card ── */
.review-card-elite {
    position: relative;
    padding: 40px 32px 35px;
    border-radius: 24px;
    background: rgba(12, 12, 35, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 10px;
    overflow: hidden;
}

/* Top accent gradient line */
.review-card-elite::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), rgba(220, 50, 69, 0.3), transparent);
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Shimmer light-leak on hover */
.review-card-elite::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.review-card-elite:hover {
    background: rgba(15, 15, 45, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.review-card-elite:hover::before {
    opacity: 1;
}

.review-card-elite:hover::after {
    opacity: 1;
}

/* ── Card Header ── */
.review-header-elite {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

/* Premium Avatar with Shimmer Ring */
.author-avatar-premium {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #991b1b);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.author-avatar-premium::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            var(--primary),
            rgba(255, 255, 255, 0.3),
            var(--primary),
            rgba(255, 255, 255, 0.1),
            var(--primary));
    z-index: -1;
    animation: avatar_ring_spin 6s linear infinite;
}

.author-avatar-premium::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: rgba(12, 12, 35, 0.9);
    z-index: -1;
}

@keyframes avatar_ring_spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.avatar-init {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Author Meta — Name + Stars inline */
.author-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-meta h4 {
    color: white !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

/* Inline Glowing Stars */
.trust-stars {
    display: flex;
    gap: 3px;
    margin: 0;
    color: #fbbf24;
    font-size: 0.75rem;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

/* ── Review Text ── */
.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-text {
    font-size: 1.02rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
    font-style: normal;
    position: relative;
    padding-left: 16px;
    border-left: 2px solid rgba(220, 50, 69, 0.25);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Author Sub Label ── */
.author-sub {
    margin-top: auto;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── Quote Icon Decoration ── */
.quote-mark {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 55px;
    background: linear-gradient(135deg, var(--prrimary), rgba(220, 50, 69, 0.2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.1;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.review-card-elite:hover .quote-mark {
    opacity: 0.18;
}

/* ── Premium Pill Pagination ── */
.testimonials-pagination {
    margin-top: 40px !important;
    position: relative !important;
    bottom: auto !important;
}

/* ── Swiper Navigation Arrows ── */
.swiper-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(12, 12, 35, 0.5);
    backrrder: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.swiper-nav-btn:hover {
    background: rgba(220, 50, 69, 0.8);
    color: white;
    border-color: rgba(220, 50, 69, 1);
    box-shadow: 0 0 20px rgba(220, 50, 69, 0.4);
}

.testimonials-nav-prev {
    left: -20px;
}

.testimonials-nav-next {
    right: -20px;
}

/* ── Floating Decorative Quotes ── */
.floating-quote {
    position: absolute;
    font-size: 250px;
    font-family: serif;
    line-height: 1;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 5;
    user-select: none;
}

.floating-quote-left {
    top: 10%;
    left: -50px;
    transform: rotate(-10deg);
}

.floating-quote-right {
    bottom: 5%;
    right: -50px;
    transform: rotate(10deg);
}

.testimonials-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2);
    width: 8px;
    height: 8px;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 28px;
    height: 8px;
    border-radius: 100px;
    box-shadow: 0 0 12px rgba(220, 50, 69, 0.5), 0 0 25px rgba(220, 50, 69, 0.2);
}

/* ── Swiper Slide Scaling ── */
.testimonials-swiper .swiper-slide {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.5;
    transform: scale(0.92);
}

.testimonials-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.testimonials-swiper .swiper-slide-next,
.testimonials-swiper .swiper-slide-prev {
    opacity: 0.7;
    transform: scale(0.96);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 70px 0;
    }

    .testimonials-section .section-title {
        font-size: 2rem;
    }

    .review-card-elite {
        padding: 30px 24px 28px;
        margin: 5px;
    }

    .review-text {
        font-size: 0.95rem;
        -webkit-line-clamp: 5;
    }

    .review-header-elite {
        gap: 12px;
        margin-bottom: 18px;
    }

    .author-avatar-premium {
        width: 44px;
        height: 44px;
    }

    .avatar-init {
        font-size: 1.05rem;
    }

    .author-meta h4 {
        font-size: 1rem;
    }

    .quote-mark {
        font-size: 40px;
        top: 18px;
        right: 22px;
    }

    .testimonials-pagination {
        margin-top: 25px !important;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 50px 0;
    }

    .review-card-elite {
        padding: 24px 20px 22px;
        border-radius: 18px;
    }

    .review-text {
        font-size: 0.9rem;
        line-height: 1.75;
        -webkit-line-clamp: 5;
        padding-left: 12px;
    }
}