/* ==========================================================================
   SDMIT 3D Interactive & Stereoscopic Visual Effects
   ========================================================================== */

/* 1. 3D Hero Canvas Overlay */
.hero-3d-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.85;
}

/* 2. 3D Perspective Card Tilt Foundations */
.card-3d,
.program-card,
.life-card,
.faculty-card,
.gallery-card,
.milestone-card,
.dl-card,
.service-card,
.hero-stat-item,
.vm-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.25s ease;
    position: relative;
}

/* 3D Specular Glare Reflection Layer */
.tilt-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    mix-blend-mode: overlay;
    z-index: 10;
}

.card-3d:hover .tilt-glare,
.program-card:hover .tilt-glare,
.life-card:hover .tilt-glare,
.faculty-card:hover .tilt-glare,
.gallery-card:hover .tilt-glare,
.milestone-card:hover .tilt-glare,
.dl-card:hover .tilt-glare,
.service-card:hover .tilt-glare,
.vm-card:hover .tilt-glare {
    opacity: 1;
}

/* 3D Depth Layers for Nested Elements */
.card-3d img,
.program-card img,
.life-card img,
.faculty-card img,
.gallery-card img,
.service-card img,
.vm-card img {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
    transform: translateZ(0);
}

.card-3d:hover img,
.program-card:hover img,
.life-card:hover img,
.faculty-card:hover img,
.gallery-card:hover img {
    transform: translateZ(28px) scale(1.03);
}

.card-3d h3,
.card-3d h4,
.faculty-card h3,
.faculty-card h4,
.service-card h3,
.vm-card h3 {
    transform: translateZ(18px);
}

.card-3d p,
.faculty-card p,
.service-card p,
.vm-card p {
    transform: translateZ(10px);
}

/* 3. 3D Scroll Reveal Animation */
.reveal-3d {
    opacity: 0;
    transform: perspective(1000px) rotateX(12deg) translateY(40px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-3d.is-revealed {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
}

/* 4. 3D Floating Geometry / Rings Keyframes */
@keyframes float3D {
    0% {
        transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    33% {
        transform: translate3d(0, -15px, 20px) rotateX(10deg) rotateY(15deg) rotateZ(5deg);
    }
    66% {
        transform: translate3d(0, 10px, -15px) rotateX(-8deg) rotateY(-10deg) rotateZ(-5deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
}

.floating-3d-shape {
    display: inline-block;
    animation: float3D 8s ease-in-out infinite;
    transform-style: preserve-3d;
}

/* 5. 3D Button Magnetic Hover Depth */
.btn-primary,
.btn-outline {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-primary:hover,
.btn-outline:hover {
    transform: perspective(500px) translateZ(8px) scale(1.02);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

/* 6. 3D Stat Counters Pop */
.hero-stat-item {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.4, 1), background-color 0.3s ease;
}

.hero-stat-item:hover {
    transform: perspective(600px) translateZ(24px) scale(1.04);
    background: rgba(255, 255, 255, 0.08);
    z-index: 5;
}

.hero-stat-item:hover .stat-num {
    text-shadow: 0 10px 25px rgba(56, 189, 248, 0.6);
}

/* ==========================================================================
   7. ULTRA-MODERN CINEMATIC HERO & HOME REDESIGN SUITE
   ========================================================================== */

/* 7.1 Cinematic Hero Base & Clean Filmic Lighting */
.hero.hero-cinematic {
    min-height: 100vh;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 130px var(--padding-desktop) 30px;
    background: #050811;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero.hero-cinematic {
        padding: 110px var(--padding-mobile) 24px;
        min-height: auto;
    }
}

/* Subtle, high-contrast, filmic video backdrop */
.hero.hero-cinematic .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.70) contrast(1.06) saturate(1.12);
    transition: opacity 0.5s ease;
}

/* Pure, Unobtrusive Cinematic Vignette Overlay - No Murky Colors or Blurs */
.hero-cinematic-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: 
        /* Deep left gradient ensures maximum readability for headline & narrative */
        linear-gradient(90deg, 
            rgba(5, 8, 17, 0.92) 0%, 
            rgba(5, 8, 17, 0.76) 38%, 
            rgba(5, 8, 17, 0.22) 68%, 
            rgba(5, 8, 17, 0.38) 100%
        ),
        /* Top navbar shade and bottom dock transition */
        linear-gradient(180deg, 
            rgba(5, 8, 17, 0.65) 0%, 
            transparent 22%, 
            transparent 68%, 
            #050811 100%
        );
}

@media (max-width: 1024px) {
    .hero-cinematic-overlay {
        background: linear-gradient(180deg, 
            rgba(5, 8, 17, 0.92) 0%, 
            rgba(5, 8, 17, 0.78) 50%, 
            #050811 100%
        ) !important;
    }
}

/* 7.2 Hero Grid Layout (Clean Cinematic Focus) */
.hero-content-cinematic {
    position: relative;
    z-index: 3;
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 30px;
}

.hero-grid-cinematic {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 40px;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-grid-cinematic {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Live Aerial View Badge & Video Controls (Right Column - Non Distracting) */
.hero-aerial-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 1024px) {
    .hero-aerial-side {
        align-items: flex-start;
    }
}

.hero-aerial-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 16, 30, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 10px 18px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-aerial-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
}

.video-control-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 16, 30, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.video-control-pill:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-1px);
}

.video-control-pill.is-paused {
    border-color: #f59e0b;
    color: #facc15;
}
    gap: 50px;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-grid-cinematic {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Live Badge Pill */
.hero-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 15px rgba(56, 189, 248, 0.2);
    margin-bottom: 22px;
}

.hero-live-pill .pill-ping {
    position: relative;
    display: inline-flex;
    width: 8px;
    height: 8px;
}

.hero-live-pill .pill-ping-radar {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #34d399;
    opacity: 0.75;
    animation: pingRadar 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-live-pill .pill-ping-dot {
    position: relative;
    display: inline-flex;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    background: #10b981;
}

@keyframes pingRadar {
    75%, 100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.hero-live-pill .pill-tag {
    color: #38bdf8;
    font-weight: 800;
}

.hero-live-pill .pill-divider {
    color: rgba(255, 255, 255, 0.2);
}

/* Cinematic Main Headline */
.hero-title-cinematic {
    font-family: var(--font-sans);
    font-size: clamp(42px, 5.5vw, 84px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: #ffffff;
    margin: 0 0 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-title-cinematic .line-break {
    display: block;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #ffffff 15%, #38bdf8 65%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #ffffff 20%, #facc15 65%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.01em;
}

/* Cinematic Subtitle */
.hero-subtext-cinematic {
    font-family: var(--font-sans);
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.68;
    color: rgba(226, 232, 240, 0.88);
    max-width: 600px;
    margin-bottom: 34px;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtext-cinematic strong {
    color: #ffffff;
    font-weight: 600;
}

/* Cinematic Button Cluster */
.hero-cta-cluster {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .hero-cta-cluster {
        flex-direction: column;
        align-items: stretch;
    }
}

.btn-cinematic-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 16px 32px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 9999px;
    border: 1px solid rgba(147, 197, 253, 0.5);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
    position: relative;
    overflow: hidden;
}

.btn-cinematic-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn-cinematic-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.btn-cinematic-primary:hover::after {
    left: 140%;
}

.btn-cinematic-primary svg {
    transition: transform 0.25s ease;
}

.btn-cinematic-primary:hover svg {
    transform: translateX(4px);
}

.btn-cinematic-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 16px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.btn-cinematic-glow:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25);
    transform: translateY(-3px);
    color: #38bdf8;
}

.btn-cinematic-video {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 14px 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cinematic-video:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-cinematic-video .play-pulse {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #38bdf8;
    color: #030712;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
    transition: transform 0.25s ease;
}

.btn-cinematic-video:hover .play-pulse {
    transform: scale(1.15);
}

/* Institutional Credential Pills */
.hero-credentials-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.credential-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(10, 16, 30, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    color: #e2e8f0;
    font-family: var(--font-sans);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.credential-pill strong {
    color: #38bdf8;
    font-weight: 700;
}

.credential-pill:hover {
    border-color: rgba(56, 189, 248, 0.6);
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
}

/* 7.3 Right Column: 3D Holographic Info Pods */
.hero-holo-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}

@media (max-width: 1024px) {
    .hero-holo-stack {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 16px;
    }
}

.holo-pod {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.holo-pod::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #38bdf8, #818cf8);
    opacity: 0.7;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.holo-pod:hover {
    transform: perspective(1000px) translateY(-5px) translateZ(15px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.2);
}

.holo-pod:hover::before {
    opacity: 1;
    width: 4px;
}

/* Floating animation delays */
.holo-pod.float-1 {
    animation: floatHolo 7s ease-in-out infinite;
}

.holo-pod.float-2 {
    animation: floatHolo 8s ease-in-out 1.2s infinite;
}

.holo-pod.float-3 {
    animation: floatHolo 7.5s ease-in-out 2.4s infinite;
}

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

.holo-pod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.holo-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.holo-tag.tag-gold {
    background: rgba(250, 204, 21, 0.12);
    color: #facc15;
    border-color: rgba(250, 204, 21, 0.25);
}

.holo-tag.tag-green {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.25);
}

.holo-icon {
    font-size: 20px;
}

.holo-stat {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 4px;
}

.holo-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
    margin: 0;
}

/* 7.4 Redesigned Cinematic Metrics Dock */
.hero-cinematic-dock {
    position: relative;
    z-index: 4;
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
}

.dock-card {
    background: rgba(10, 16, 30, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
    position: relative;
}

.dock-neon-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, #38bdf8 30%, #818cf8 70%, transparent 95%);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

.dock-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    divide-x: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
    .dock-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.dock-item {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.dock-item:last-child {
    border-right: none;
}

.dock-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.dock-item .dock-val {
    font-family: var(--font-serif);
    font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 6px;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.dock-item .dock-val .counter-accent {
    color: #38bdf8;
}

.dock-item .dock-lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    line-height: 1.3;
}

/* 7.5 Cinematic Scroll Navigator */
.hero-scroll-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.25s ease;
}

.hero-scroll-prompt:hover {
    color: #38bdf8;
}

.mouse-icon {
    width: 18px;
    height: 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    position: relative;
    display: inline-block;
}

.mouse-wheel {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: #38bdf8;
    border-radius: 2px;
    animation: mouseScroll 1.8s ease-in-out infinite;
}

@keyframes mouseScroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    80% { transform: translate(-50%, 10px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 0; }
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* 7.6 Infinite Recruiter & Partner Marquee (Ultra Modern) */
.recruiter-marquee-section {
    background: #04070f;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 26px 0;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.recruiter-marquee-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 16px;
}

.marquee-track-wrap {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-shrink: 0;
    animation: marqueeScroll 32s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.marquee-logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
}

.marquee-logo-item:hover {
    color: #ffffff;
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.marquee-logo-item .rec-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
}

/* 7.7 Modern Bento Grid for Campus Highlights & CoE */
.bento-campus-section {
    padding: 110px 0;
    background: #090e1a;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-grid-modern {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 280px;
    gap: 24px;
    margin-top: 50px;
}

@media (max-width: 900px) {
    .bento-grid-modern {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
}

.bento-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.bento-card.col-8 { grid-column: span 8; }
.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-6 { grid-column: span 6; }
.bento-card.row-2 { grid-row: span 2; }

@media (max-width: 900px) {
    .bento-card.col-8,
    .bento-card.col-4,
    .bento-card.col-6,
    .bento-card.row-2 {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 320px;
    }
}

.bento-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.bento-card:hover .bento-img {
    transform: scale(1.06);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(10, 15, 28, 0.95) 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.bento-card:hover .bento-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.5) 40%, rgba(10, 15, 28, 0.98) 100%);
}

.bento-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    margin-bottom: 12px;
    align-self: flex-start;
}

.bento-title {
    font-family: var(--font-serif);
    font-size: clamp(22px, 2vw, 30px);
    margin: 0 0 10px;
    color: #ffffff;
    line-height: 1.2;
}

.bento-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
    margin: 0 0 16px;
    max-width: 480px;
}

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #38bdf8;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: gap 0.25s ease;
}

.bento-card:hover .bento-link {
    gap: 10px;
    color: #7dd3fc;
}

/* 7.8 Cinematic Video Tour Modal */
.cinematic-video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(4, 7, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cinematic-video-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.video-modal-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(56, 189, 248, 0.2);
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-video-modal.is-active .video-modal-container {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.25s ease;
}

.video-modal-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: rotate(90deg);
}

.modal-video-player {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
}

/* Stagger animations for page sections */
.fade-up-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-item.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

