@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --bg-color: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    /* IB BRAND COLORS (Premium/Global Feel) */
    --primary: #0f4c81; /* Classic Blue */
    --primary-light: #2563eb;
    --accent: #00b4d8; /* Cyan/Sky Blue */
    --accent-rgb: 0, 180, 216;
    --gradient-1: linear-gradient(135deg, #0f4c81 0%, #00b4d8 100%);
    --gradient-text: linear-gradient(45deg, #0f4c81, #00b4d8);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --radius-lg: clamp(24px, 4vw, 40px);
    --radius-sm: 12px;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
}

/* ================= SECTION 1: GLOBAL HORIZON HERO ================= */
.hero-modern {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0a0f1a;
    color: var(--white);
    padding-top: 0; /* Centering content vertically */
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 15, 26, 0.95) 0%, rgba(10, 15, 26, 0.7) 50%, rgba(10, 15, 26, 0.2) 100%);
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-overlay-gradient {
        background: linear-gradient(180deg, rgba(10, 15, 26, 0.8) 0%, rgba(10, 15, 26, 0.9) 100%);
    }
}

.hero-auras .aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    z-index: 2;
    animation: auraPulse 8s infinite alternate ease-in-out;
}

.aura-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.aura-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation-delay: -4s;
}

.hero-content-modern {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    padding: 0.6rem 1.4rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 1s var(--transition);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 2rem;
    font-family: var(--font-head);
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.3vw, 1.4rem);
    max-width: 600px;
    opacity: 0.9;
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
    animation: fadeInUp 1s var(--transition) 0.4s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--transition) 0.6s both;
}

.btn-modern-primary {
    padding: 1.2rem 2.8rem;
    background: var(--white);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s var(--transition);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

    .btn-modern-primary:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
        background: var(--accent);
        color: var(--white);
    }

.watch-video-btn {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s var(--transition);
    position: relative;
}

    .play-icon::after {
        content: '';
        position: absolute;
        inset: -5px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        animation: ripple 2s infinite;
    }

.watch-video-btn:hover .play-icon {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.1);
}

/* ================= SECTION 2: BENTO GRID ================= */
.section-padding {
    padding: clamp(60px, 12vh, 120px) 0 0;
}

.bento-section {
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.technical-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 76, 129, 0.1) 0.5px, transparent 0.5px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
}

.section-header {
    max-width: 800px;
    margin-bottom: clamp(3rem, 8vh, 5rem);
    position: relative;
    z-index: 1;
}

    .section-header h2 {
        font-size: clamp(2rem, 5vw, 4rem);
        color: var(--primary);
        line-height: 1.1;
        font-weight: 900;
        text-transform: uppercase;
        font-family: var(--font-head);
    }

.tag-pill {
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(320px, auto);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    z-index: 1;
}

.bento-item {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3.5rem);
    position: relative;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

    /* Organic Shapes Variation */
    .bento-item:nth-child(1) {
        border-radius: 60px 24px 80px 24px;
    }

    .bento-item:nth-child(2) {
        border-radius: 24px 80px 24px 60px;
    }

    .bento-item:nth-child(3) {
        border-radius: 80px 24px 60px 24px;
    }

    .bento-item:nth-child(4) {
        border-radius: 24px 60px 24px 80px;
    }

@media (max-width: 768px) {
    .bento-item:nth-child(n) {
        border-radius: 32px;
    }
}

/* Circuit Border Flourish */
.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.4), transparent, rgba(var(--accent-rgb), 0.4)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bento-item:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 40px 90px -20px rgba(15, 76, 129, 0.2);
    border-color: rgba(var(--accent-rgb), 0.3);
}

    .bento-item:hover::before {
        opacity: 1;
    }

.item-large {
    grid-column: span 2;
}

.item-tall {
    grid-row: span 2;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    box-shadow: 0 30px 60px -15px rgba(15, 76, 129, 0.4);
}

    .item-tall .bento-item p {
        color: rgba(255, 255, 255, 0.8);
    }

/* Technological Markers */
.corner-mark {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    opacity: 0.4;
    transition: all 0.4s ease;
}

.mark-tl {
    top: 20px;
    left: 20px;
    border-right: 0;
    border-bottom: 0;
}

.mark-br {
    bottom: 20px;
    right: 20px;
    border-left: 0;
    border-top: 0;
}

.bento-item:hover .corner-mark {
    opacity: 1;
    width: 30px;
    height: 30px;
    border-color: var(--primary);
}

.item-tall:hover .corner-mark {
    border-color: var(--white);
}

.icon-box-modern {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    transition: all 0.5s var(--transition);
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bento-item:hover .icon-box-modern {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.2);
}

.accent-blue {
    color: var(--primary-light);
}

.accent-orange {
    color: #fbbf24;
}

.accent-purple {
    color: #7c3aed;
}

.accent-green {
    color: #059669;
}

.bento-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.1;
    z-index: -1;
    transition: transform 1.2s var(--transition);
    filter: grayscale(1);
}

.bento-item:hover .bento-bg-img {
    transform: scale(1.1);
    filter: grayscale(0);
    opacity: 0.15;
}

.bento-item h3 {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    margin-bottom: 1.2rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 90%;
}

.item-tall p {
    color: rgba(255, 255, 255, 0.8);
}

.item-tall:hover p {
    color: black;
}

.item-tall:hover {
    color: var(--accent) !important;
}

/* ================= SECTION 4: VANGUARD OF VISION (MANAGEMENT) ================= */
.vanguard-section {
    position: relative;
    background: var(--bg-color);
    overflow: hidden;
}

    .vanguard-section .technical-bg {
        opacity: 0.3;
    }

.vanguard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Central Portrait Positioning */
.vanguard-portrait-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vanguard-aura {
    position: absolute;
    width: 140%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 70%);
    z-index: -1;
    animation: auraPulse 15s infinite alternate ease-in-out;
}

.vanguard-image {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
    z-index: 1;
}

/* Fractal Glass Modules */
.fractal-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 32px;
    position: relative;
    transition: all 0.6s var(--transition);
    margin-bottom: 2rem;
}

    .fractal-card:last-child {
        margin-bottom: 0;
    }

    .fractal-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), transparent);
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .fractal-card:hover {
        transform: translateX(var(--hover-translate, 10px)) translateY(-5px);
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 30px 60px -15px rgba(15, 76, 129, 0.15);
        border-color: var(--accent);
    }

        .fractal-card:hover::before {
            opacity: 1;
        }

.vanguard-left .fractal-card {
    --hover-translate: -10px;
    text-align: right;
}

.vanguard-right .fractal-card {
    --hover-translate: 10px;
}

.vanguard-info h3 {
    font-size: clamp(1.4rem, 2vw, 2rem);
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.3rem;
    font-family: var(--font-head);
    text-transform: uppercase;
}

.vanguard-info .designation {
    display: block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.vanguard-quote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-style: italic;
    position: relative;
}

.vanguard-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.vanguard-left .vanguard-socials {
    justify-content: flex-end;
}

.v-social {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

    .v-social:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-5px);
    }

@media (max-width: 1200px) {
    .vanguard-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vanguard-portrait-wrap {
        grid-column: 1 / -1;
        order: -1;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .vanguard-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vanguard-image {
        max-width: 320px; /* More appropriate for small screens */
    }

    .fractal-card {
        padding: 1.5rem;
        border-radius: 24px;
        text-align: left !important;
        --hover-translate: 0;
    }

    .vanguard-left .vanguard-socials {
        justify-content: flex-start;
    }

    .vanguard-info h3 {
        font-size: 1.5rem;
    }

    .vanguard-quote {
        font-size: 0.9rem;
    }
}

/* ================= SECTION 5: VISIONARY LEADERSHIP ================= */
/* ================= THE VISIONARY CANVAS (PRINCIPAL REDESIGN) ================= */
.principal-modern {
    background: var(--white);
    position: relative;
    padding: clamp(100px, 15vh, 200px) 0;
    overflow: hidden;
}

.visionary-canvas {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(4rem, 10vw, 12rem);
    align-items: center;
    position: relative;
}

/* Vision Module (Asymmetrical Image) */
.vision-module {
    position: relative;
    z-index: 2;
}

.vision-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, transparent 70%);
    z-index: -1;
    animation: auraBreath 15s infinite alternate ease-in-out;
}

.vision-image-frame {
    position: relative;
    border-radius: 120px 40px 160px 40px; /* Highly organic */
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(15, 76, 129, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.8s var(--transition);
}

    .vision-image-frame img {
        width: 100%;
        display: block;
        transition: transform 1.2s var(--transition);
    }

.vision-module:hover .vision-image-frame {
    transform: translateY(-15px) rotate(-2deg);
}

.vision-module:hover img {
    transform: scale(1.05);
}

/* Holographic Quote Overlay */
.holographic-quote {
    position: absolute;
    bottom: -10%;
    right: -15%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(40px) saturate(180%);
    padding: clamp(2rem, 4vw, 3.5rem);
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 5;
    animation: float 8s infinite ease-in-out;
}

    .holographic-quote::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 20px;
        width: 30px;
        height: 30px;
        border-top: 2px solid var(--accent);
        border-left: 2px solid var(--accent);
        opacity: 0.5;
    }

    .holographic-quote i {
        font-size: 3.5rem;
        color: var(--primary);
        opacity: 0.15;
        position: absolute;
        top: 10px;
        right: 30px;
    }

    .holographic-quote p {
        font-size: clamp(1rem, 1.2vw, 1.25rem);
        color: var(--primary);
        font-weight: 800;
        line-height: 1.5;
        position: relative;
        font-style: italic;
        letter-spacing: -0.2px;
    }

/* Cinematic Content */
.vision-text {
    position: relative;
    z-index: 3;
}

    .vision-text .tag-pill {
        background: rgba(var(--primary-rgb), 0.05);
        color: var(--primary);
        border-color: rgba(var(--primary-rgb), 0.1);
        margin-bottom: 2rem;
    }

    .vision-text h2 {
        font-size: clamp(2.5rem, 5vw, 4.5rem);
        color: var(--primary);
        font-weight: 950;
        line-height: 1;
        margin-bottom: 1rem;
        text-transform: uppercase;
        font-family: var(--font-head);
        letter-spacing: -2px;
    }

    .vision-text .designation {
        font-size: 1rem;
        color: var(--accent);
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 4px;
        display: block;
        margin-bottom: 3rem;
    }

.lead-vision {
    font-size: clamp(1.2rem, 1.5vw, 1.7rem);
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.vision-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 4rem;
    max-width: 90%;
}

.vision-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
    position: relative;
}

    .vision-btn::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 60%;
        height: 3px;
        background: var(--accent);
        transition: width 0.4s var(--transition);
    }

    .vision-btn:hover::after {
        width: 100%;
    }

@media (max-width: 1200px) {
    .visionary-canvas {
        grid-template-columns: 1fr;
        padding-top: 50px;
        text-align: center;
        gap: 4rem; /* Reduced gap */
    }

    .vision-module {
        max-width: 600px;
        margin: 0 auto;
    }

    .holographic-quote {
        position: relative;
        right: 0;
        bottom: 0;
        margin: -30px auto 0; /* Adjusted margin overlap */
        text-align: left;
        padding: 2.5rem; /* Slightly reduced padding */
    }

    .vision-description {
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }

    .vision-btn {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .vision-image-frame {
        border-radius: 40px; /* Simplified organic shape for mobile */
    }

    .holographic-quote {
        padding: 1.5rem;
        border-radius: 24px;
        margin-top: -20px;
    }
}

/* ================= STATS MARQUEE ================= */
.stats-marquee {
    background: var(--primary);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
}

.stats-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.stat-pill {
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: clamp(1rem, 1.5vw, 1.8rem);
    font-family: var(--font-head);
    margin: 0 clamp(1.5rem, 4vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
}

    .stat-pill span {
        color: var(--accent);
        margin-right: 1rem;
        font-size: 1.2em;
    }

.ethereal-gate {
    position: relative;
    background: linear-gradient(to right, #23466e 0%, #3e6a9c 35%, #31c7fe9e 85%, #4cc1ff 100%);
    padding: clamp(100px, 15vh, 250px) 0;
    overflow: hidden;
    z-index: 1;
    margin-top: 2rem;
}

.gate-aura {
    position: absolute;
    top: 50%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: clamp(800px, 100vw, 2000px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(186, 230, 253, 0.03) 40%, transparent 75%);
    filter: blur(160px);
    z-index: 0;
    animation: auraBreath 20s infinite alternate ease-in-out;
}

.gate-light-leak {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 100%;
    height: 180%;
    background: linear-gradient(135deg, transparent, rgba(14, 165, 233, 0.03));
    transform: skewX(-15deg);
    z-index: 1;
    pointer-events: none;
    filter: blur(80px);
}

.gate-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 500px;
}

.gate-content {
    position: relative;
    z-index: 5;
    max-width: 600px;
}

.gate-bg-text {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.gate-text-track {
    display: flex;
    width: max-content;
    animation: gateMarquee 40s linear infinite;
}

.gate-text-track span {
    padding-right: 4rem;
    font-size: clamp(8rem, 15vw, 22rem);
    font-weight: 950;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: -5px;
}

@keyframes gateMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.gate-content .tag-pill {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2.5rem;
}

.gate-content h2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--white);
    line-height: 0.9;
    font-weight: 950;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: -4px;
}

.gate-content p {
    font-size: clamp(1.1rem, 1.4vw, 1.5rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4rem;
    max-width: 500px;
    font-weight: 400;
}

/* Minimalist Action Button */
.gate-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 4rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

    .gate-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--white);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: -1;
    }

    .gate-btn:hover {
        color: var(--primary);
        border-color: var(--white);
        letter-spacing: 6px;
        transform: translateX(15px);
    }

        .gate-btn:hover::before {
            transform: scaleX(1);
            transform-origin: left;
        }

/* 3D Student Visual */
.gate-visual {
    position: absolute;
    right: 0;
    width: clamp(400px, 45vw, 800px);
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.gate-student-img {
    width: 90%;
    transform: translateX(15%);
    filter: drop-shadow(0 40px 100px rgba(0, 0, 0, 0.6));
}

@keyframes auraBreath {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.8;
    }
}

@media (max-width: 1200px) {
    .ethereal-gate {
        padding: 120px 0;
    }

    .gate-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .gate-content {
        margin-bottom: 50px;
    }

    .gate-visual {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        justify-content: center;
        margin-top: 50px;
    }

    .gate-student-img {
        transform: none !important;
        width: 100%;
        max-width: 500px;
    }

    .gate-bg-text {
        display: none;
    }

    .gate-aura {
        left: 50%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ethereal-gate {
        padding: 80px 0 0 0;
    }

    .gate-content p {
        margin-bottom: 2.5rem;
    }

    .gate-btn {
        padding: 1.2rem 2.5rem;
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .gate-student-img {
        max-width: 300px;
    }
}

/* ================= ANIMATIONS ================= */
@keyframes auraPulse {
    from {
        transform: scale(1) translate(0, 0);
    }

    to {
        transform: scale(1.2) translate(10%, 10%);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .item-large {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .modern-split {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .split-image-wrapper {
        padding-right: 0;
    }

    .floating-quote-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: -50px;
        max-width: 100%;
    }

    .glass-cta {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .item-large {
        grid-column: span 1;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-content-modern {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}
