@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #007BFF;
    /* High-Visibility Aviation Blue */
    --primary-dark: #00E5FF;
    /* Swapped for more neon accent */
    --accent-color: #00E5FF;
    /* Electric Glow */
    --secondary-color: #F4D03F;
    /* Original Gold */
    --text-dark: #e0e0e0;
    /* Changed for dark background */
    --text-light: #999;
    /* Changed for dark background */
    --white: #ffffff;
    --bg-light: #0a0c10;
    /* Blackish Grey */
    --card-bg: rgba(255, 255, 255, 0.03);
    /* Glassy dark */
    --card-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 10px;
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    background-image:
        linear-gradient(rgba(178, 190, 181, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(178, 190, 181, 0.15) 1px, transparent 1px),
        linear-gradient(rgba(178, 190, 181, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(178, 190, 181, 0.05) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-attachment: fixed;
    line-height: 1.6;
    letter-spacing: 0.03em;
    font-size: 1.1rem;
    overflow-x: hidden;
}

/* --- Laptop Scaling Fix --- */
@media (max-width: 1536px) {
    :root {
        font-size: 14px; /* Proportionally scales down all rem units */
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section {
        padding: 80px 0;
    }
}

@media (max-width: 1366px) {
    :root {
        font-size: 13px;
    }
}


body.fluid-theme {
    background-image: none;
    background: radial-gradient(circle at 50% 50%, #0a0c10 0%, #001F3F 100%);
    overflow-x: hidden;
}

body.fluid-theme::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 123, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 229, 255, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Prevent scrolling while preloader is active to avoid scroll jumps */
body.loading {
    overflow: hidden;
    height: 100vh;
}

/* Glassmorphism Utility */
/* Aviation Card Utility (Replacing Glassmorphism) */
.glass-header,
.course-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

/* Authentic Glassmorphism for cards */
.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 30px;
    color: var(--white);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}


/* Remove shimmer reflection if it feels too "glassy" - keeping it as a subtle technical glint instead */
/* Remove shimmer reflection for a cleaner look */
.course-card::before {
    display: none;
}

/* Header Redesign: Overlapping Logo & Pill */
.glass-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 1000;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    transition: top 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-header.header-hidden {
    top: -150px;
}

.logo {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.05);
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.nav-logo {
    width: 85%;
    height: auto;
    object-fit: contain;
}

.nav-pill-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    /* User wants it rounded */
    padding: 2px 30px;
    /* Reduced height */
    display: flex;
    justify-content: flex-end;
    /* Push actions to the right */
    align-items: center;
    flex-grow: 1;
    margin-left: -60px;
    /* Overlap with logo */
    box-shadow: var(--card-shadow);
    z-index: 5;
    position: relative;
    height: 60px;
    /* Explicit height to keep it consistent */
}

nav {
    display: flex;
    gap: 30px;
    position: absolute;
    left: 45%;
    /* Shifted left visually to account for action buttons on the right */
    transform: translateX(-50%);
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn {
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e67e22 100%);
    box-shadow: 0 10px 20px rgba(244, 208, 63, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    color: var(--text-dark);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hidden on all screen sizes by default — only shown inside @media (max-width: 900px) */
.mobile-nav-dropdown {
    display: none !important;
}

@media (max-width: 900px) {
    .mobile-nav-dropdown {
        display: none !important; /* default hidden on mobile too */
    }
    .mobile-nav-dropdown.active {
        display: flex !important; /* only show when JS adds .active */
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 100px;
    /* Space for header */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Aero Premium Gradient: Vibrant yet deep */
    background: radial-gradient(circle at 20% 30%, #003366 0%, #001F3F 100%);
    z-index: -2;
    overflow: hidden;
}

.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    z-index: -1;
}

.hero-bg::before {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #007BFF 0%, transparent 60%);
    top: -300px;
    left: -200px;
}

.hero-bg::after {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00E5FF22 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
}

.hero-content {
    width: 90%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    position: relative;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #e0e0e0;
    /* Light Grey for visibility on dark background */
}

.hero-text .highlight {
    background: linear-gradient(90deg, var(--text-dark) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-text p {
    font-size: 1.2rem;
    max-width: 450px;
    margin-bottom: 30px;
    color: #b0b0b0;
    /* Sub-heading Grey */
}

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

.plane-img {
    width: 120%;
    /* Make it large and pop out */
    max-width: 800px;
    transform: rotate(-10deg);
    filter: drop-shadow(20px 20px 30px rgba(0, 0, 0, 0.2));
    z-index: 1;
    animation: planeDrift 8s ease-in-out infinite;
}

@keyframes planeDrift {

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

    50% {
        transform: rotate(-8deg) translateY(-20px);
    }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    z-index: 2;
    /* animation: float 3s ease-in-out infinite; */
    color: #001f3f;
    /* Dark Navy Text */
}

.floating-card i {
    color: #001f3f;
    /* Dark Navy Icon */
}

.card-1 {
    top: 0%;
    right: -15%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 5%;
    right: 30%;
    animation-delay: 1s;
}

.card-3 {
    top: 60%;
    left: -20%;
    animation-delay: 2s;
}

@keyframes float {

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

    50% {
        transform: translateY(-10px);
    }
}

/* Search Widget */
.search-widget {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    max-width: 1000px;
    padding: 15px 35px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-tabs button {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.search-tabs button.active {
    background: var(--text-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.search-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group select {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
    font-family: inherit;
    font-weight: 500;
}

.btn-search {
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 15px;
    height: 46px;
    /* Match input height */
}

/* Sections */
.section {
    padding: 100px 20px;
    position: relative;
}

.section-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.glass-blob {
    display: none;
    position: absolute;
    filter: blur(80px);
    /* Increased blur for more glow */
    border-radius: 50%;
    opacity: 0.7;
    /* Increased opacity for neon look */
    animation: blobMove 20s infinite alternate;
    mix-blend-mode: screen;
    /* Helps with glow effect */
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
    box-shadow: 0 0 100px rgba(0, 123, 255, 0.8);
    /* Neon Glow */
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
    box-shadow: 0 0 100px rgba(0, 229, 255, 0.8);
    /* Neon Glow */
}

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

    100% {
        transform: translate(100px, 100px) scale(1.2);
    }
}

/* Aviation Background Effects: Radar & Navigation Grid */
/* .nav-grid is now handled globally on body */
.nav-grid {
    display: none;
}

.radar-container {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    z-index: -1;
    pointer-events: none;
}

.radar-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    animation: radarPulse 8s linear infinite;
}

@keyframes radarPulse {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5;
    }

    100% {
        width: 1000px;
        height: 1000px;
        opacity: 0;
    }
}

.compass-rose {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 700;
}

/* Crosshairs */
.compass-rose::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.compass-rose::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 80%;
    background: rgba(255, 255, 255, 0.2);
}

/* Cardinal Directions */
.compass-rose span {
    position: absolute;
}

.compass-rose .north {
    top: 5px;
}

.compass-rose .south {
    bottom: 5px;
}

.compass-rose .east {
    right: 5px;
}

.compass-rose .west {
    left: 5px;
}

/* Sky Elements: Clouds & Birds */
.cloud {
    display: none;
    /* User wants them removed/improved, removal fits the graph aesthetic better */
}

@keyframes drift {
    from {
        transform: translateX(-10vw);
    }

    to {
        transform: translateX(110vw);
    }
}

.bird-container {
    position: absolute;
    top: 20%;
    left: -10%;
    transform: scale(0.4);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
    animation: birdsFly 40s linear infinite;
}

@keyframes birdsFly {
    0% {
        left: -10%;
        top: 20%;
    }

    100% {
        left: 110%;
        top: 15%;
    }
}

.bird {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M512 232v8s-84-24-156 46c-54 52-120 16-120 16s-66 36-120-16C44 216 0 240 0 240v-8s44-24 116 46c54 52 120 16 120 16s66 36 120-16C428 208 512 232 512 232z'/%3E%3C/svg%3E");
    background-size: contain;
    width: 50px;
    height: 30px;
    position: absolute;
    animation: flap 0.8s ease-in-out infinite alternate;
}

@keyframes flap {
    from {
        transform: scaleY(0.5);
    }

    to {
        transform: scaleY(1);
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card p {
    color: #333;
    font-weight: 500;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-card h3 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Photo Gallery Section */
.photo-gallery {
    margin: 60px calc(-50vw + 50%);
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    width: 100vw;
    max-width: 100vw;
}

.photo-gallery::before,
.photo-gallery::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.photo-gallery::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.photo-gallery::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

body.theme-black-gold .photo-gallery::before {
    background: linear-gradient(to right, rgba(2, 12, 27, 1) 0%, transparent 100%);
}

body.theme-black-gold .photo-gallery::after {
    background: linear-gradient(to left, rgba(2, 12, 27, 1) 0%, transparent 100%);
}

.photo-track {
    display: flex;
    width: calc(450px * 12);
    /* 450px width * 12 items */
    animation: scroll 40s linear infinite;
}

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

.photo-item {
    width: 450px;
    height: 300px;
    margin: 0 20px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    position: relative;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.photo-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-item:hover span {
    opacity: 1;
    transform: translateY(0);
}

.photo-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

/* Alumni Success Slider */
.alumni-slider-section {
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
    margin: 60px calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.alumni-slider-section::before,
.alumni-slider-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

body.theme-black-gold .alumni-slider-section::before {
    left: 0;
    background: linear-gradient(to right, rgba(10, 15, 25, 1) 0%, transparent 100%);
}

body.theme-black-gold .alumni-slider-section::after {
    right: 0;
    background: linear-gradient(to left, rgba(10, 15, 25, 1) 0%, transparent 100%);
}

.alumni-track {
    display: flex;
    width: calc(300px * 14 + 40px * 14);
    animation: scroll-alumni 40s linear infinite;
}

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

.alumni-item {
    width: 300px;
    height: 300px;
    margin: 0 20px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

/* Smaller Double-Track Slider Styles */
.alumni-track-small {
    width: calc(200px * 30 + 20px * 30); /* 15 unique items duplicated = 30 */
    animation: scroll-alumni-small 60s linear infinite;
}

.alumni-track-reverse {
    animation: scroll-alumni-small-reverse 60s linear infinite;
}

.alumni-item-small {
    width: 200px;
    height: 250px; /* Increased height to accommodate overlay nicely */
    margin: 0 10px;
    background-color: #FF9800 !important; /* Vibrant Orangish Yellow */
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.alumni-item-small img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.alumni-item-small:hover {
    border-color: #ffffff !important;
    box-shadow: 0 0 25px rgba(255, 152, 0, 0.5) !important;
    transform: translateY(-5px) scale(1.02);
}

.alumni-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.alumni-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 10px;
    background: linear-gradient(to top, rgba(0, 12, 27, 0.95) 0%, rgba(0, 12, 27, 0.7) 50%, transparent 100%);
    color: #ffffff;
    z-index: 2;
    text-align: center;
    transition: transform 0.4s ease;
}

.alum-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #E1C319; /* Golden Name */
    margin-bottom: 2px;
}

.alum-place {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #b0bec5; /* Ash placement */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alumni-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.alumni-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.alumni-item:hover img {
    transform: scale(1.1);
}

.alumni-item:hover::after {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-450px * 6 - 40px * 6));
        /* Width of one full set of items (6 items + margins) */
    }
}

@keyframes scroll-alumni {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 7 - 40px * 7));
    }
}

@keyframes scroll-alumni-small {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 15 - 20px * 15));
    }
}

@keyframes scroll-alumni-small-reverse {
    0% {
        transform: translateX(calc(-200px * 15 - 20px * 15));
    }
    100% {
        transform: translateX(0);
    }
}

/* Update About Section */
.about-section {
    padding-bottom: 50px;
}

.partners-container {
    margin-top: 50px;
    text-align: center;
}

.partners-container h4 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    opacity: 0.7;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.partner-logo {
    padding: 15px 25px;
    border-radius: 15px;
    background: #ffffff;
    /* White Card */
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 700;
    font-size: 1.1rem;
    color: #001f3f;
    /* Dark Navy Text */
    transition: all 0.3s ease;
    cursor: default;
}

.partner-logo:hover {
    background: #f8f9fa;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Courses Redesign: Boarding Pass Aesthetic */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

@media (max-width: 900px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .course-card {
        min-height: 140px;
    }
}

.course-card {
    padding: 0;
    border-radius: var(--radius-md);
    display: flex;
    background: #ffffff;
    /* White Boarding Pass */
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-height: 180px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Softer shadow for white card */
    overflow: visible;
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.course-main {
    padding: 25px 30px;
    flex: 1;
    position: relative;
    border-right: 3px dotted rgba(0, 0, 0, 0.1);
    /* Darker dotted line for white background */
    background: transparent;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.course-main::after,
.course-main::before {
    content: '';
    position: absolute;
    right: -11px;
    width: 20px;
    height: 20px;
    background: var(--bg-light);
    border-radius: 50%;
    z-index: 2;
}

.course-main::before {
    top: -11px;
}

.course-main::after {
    bottom: -11px;
}

.course-stub {
    width: 120px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    /* Light stub */
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    text-align: center;
}

.stub-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #777;
    /* Darker label */
    font-weight: 700;
    opacity: 0.8;
}

.stub-info {
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary-color);
}

.course-card .course-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background: var(--primary-color);
    font-size: 1.5rem;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}

.course-card:hover .course-icon {
    transform: scale(1.1) rotate(5deg);
}

.course-card h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #001f3f;
    /* Dark navy for contrast */
}

.course-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
    /* Dark grey for readability */
}

.course-card .btn-link {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Course Card Links */
.btn-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.btn-link:hover {
    gap: 10px;
}

/* Categorized Courses Layout */
.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title i {
    color: var(--primary-dark);
}

.courses-layout-2-1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.courses-layout-2-1 .course-card {
    width: calc(50% - 15px);
    min-width: 350px;
    flex-grow: 0;
}

/* Mobile adjustments for 2-1 layout */
@media (max-width: 768px) {
    .courses-layout-2-1 .course-card {
        width: 100%;
        min-width: unset;
    }
}

.view-more-container {
    text-align: center;
    margin-top: 30px;
}

.btn-more {
    background: var(--primary-color);
    border: 1px solid var(--primary-dark);
    color: var(--white);
    padding: 10px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-more:hover {
    background: var(--primary-dark);
    color: var(--bg-light);
    box-shadow: 0 0 20px var(--accent-color);
    transform: translateY(-2px);
}

/* Course Browser Section (New for courses.html) */
.course-browser-section {
    padding: 20px 0 80px;
    position: relative;
    z-index: 10;
}

.browser-category {
    margin-bottom: 50px;
}

.browser-category-title {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.course-browser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.mini-course-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.mini-course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.mini-course-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 143, 213, 0.3);
}

.mini-course-card:hover::before {
    height: 100%;
}

.mini-card-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.mini-course-card h4 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.4;
}

.mini-course-card p {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.btn-explore {
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.btn-explore:hover {
    gap: 12px;
}

footer {
    background: #050608;
    padding: 80px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 20px;
    }
    .footer-col h3,
    .footer-col p,
    .footer-col a {
        text-align: center;
    }
    footer {
        padding: 50px 0 20px;
    }
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.footer-col p {
    margin-bottom: 10px;
    color: var(--text-light);
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: var(--text-light);
    margin-bottom: 10px;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #999;
    font-size: 0.9rem;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    width: 100%;
    margin: 40px 0;
}

.mt-5 {
    margin-top: 3rem;
}

/* --- Advanced Animations & UX Polish --- */

/* Smooth Reveal Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="left"] {
    transform: translateX(-50px);
}

[data-reveal="right"] {
    transform: translateX(50px);
}

[data-reveal="zoom"] {
    transform: scale(0.9);
}

[data-reveal="left"].revealed,
[data-reveal="right"].revealed {
    transform: translateX(0);
}

[data-reveal="zoom"].revealed {
    transform: scale(1);
}

/* Staggered Delays */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* 3D Tilt Effect Base */
.tilt-card {
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card>* {
    transform: translateZ(20px);
    /* Content pops out slightly */
}

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

/* Airplane Trails Decoration */
.trail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* --- Flying Planes Animation Styles --- */
.flying-planes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.flying-plane {
    position: absolute;
    width: 40px;
    height: auto;
    z-index: 10;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.1s linear;
}

.smoke-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    filter: blur(3px);
    animation: smokeFade 2.5s forwards ease-out;
}

@keyframes smokeFade {
    0% {
        transform: scale(0.2);
        opacity: 0.8;
    }

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

/* Pre-defined Paths for Planes */
@keyframes flyPath1 {
    0% {
        left: -10%;
        top: 80%;
        transform: rotate(-26deg);
    }

    100% {
        left: 110%;
        top: 20%;
        transform: rotate(-26deg);
    }
}

@keyframes flyPath2 {
    0% {
        left: 110%;
        top: 20%;
        transform: rotate(175deg);
    }

    100% {
        left: -10%;
        top: 30%;
        transform: rotate(175deg);
    }
}

@keyframes flyPath3 {
    0% {
        left: -10%;
        top: 10%;
        transform: rotate(22deg);
    }

    100% {
        left: 110%;
        top: 60%;
        transform: rotate(22deg);
    }
}

@keyframes flyPath4 {
    0% {
        left: 110%;
        top: 80%;
        transform: rotate(184deg);
    }

    100% {
        left: -10%;
        top: 70%;
        transform: rotate(184deg);
    }
}

.plane-path-1 {
    animation: flyPath1 15s linear infinite;
}

.plane-path-2 {
    animation: flyPath2 18s linear infinite;
}

.plane-path-3 {
    animation: flyPath3 20s linear infinite;
}

.plane-path-4 {
    animation: flyPath4 25s linear infinite;
}

.airplane-trail {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.trail-path {
    fill: none;
    stroke: var(--white);
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    stroke-linecap: round;
}

.path-1 {
    animation: drawPath 10s linear infinite;
}

.path-2 {
    animation: drawPath 15s linear infinite 5s;
}

@keyframes drawPath {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* Responsive Overrides */
@media (max-width: 1400px) {
    html {
        zoom: 0.8;
        /* Force laptops to render the 1080p monitor size by zooming out */
    }
}

@media (max-width: 900px) {
    html {
        zoom: 1;
    }

    .glass-header {
        top: 10px;
        padding: 10px 20px;
        position: fixed;
        width: calc(100% - 40px);
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
    }

    /* Hide desktop nav pill and actions */
    .nav-pill-wrapper {
        display: none;
    }

    /* Show hamburger button */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background: rgba(255,255,255,0.08);
        color: #fff;
        font-size: 1.3rem;
        cursor: pointer;
        border: none;
        z-index: 1100;
    }

    /* Mobile dropdown menu — hidden by default */
    .mobile-nav-dropdown {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(5, 6, 8, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    /* Show dropdown when active */
    .mobile-nav-dropdown.active {
        display: flex;
    }

    .mobile-nav-dropdown a {
        color: #ddd;
        text-decoration: none;
        padding: 14px 30px;
        font-size: 1.05rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        transition: color 0.2s, background 0.2s;
    }

    .mobile-nav-dropdown a:hover,
    .mobile-nav-dropdown a.active {
        color: var(--primary-dark, #e1c319);
        background: rgba(225,195,25,0.05);
    }

    .mobile-nav-dropdown .mobile-nav-cta {
        margin: 16px 24px 4px;
        padding: 14px 20px;
        background: var(--primary-dark, #e1c319);
        color: #000;
        border-radius: 8px;
        font-weight: 700;
        text-align: center;
        border-bottom: none;
    }

    /* Hero fixes */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
        gap: 20px;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-text p {
        margin: 0 auto 24px;
        font-size: 1rem;
    }

    .hero-text h1 {
        font-size: 2.6rem;
        letter-spacing: -1px;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .search-widget {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 30px;
    }

    .plane-img {
        width: 85%;
        transform: none;
        margin: 0 auto;
        display: block;
    }

    /* Floating cards that overflow on mobile */
    .floating-card {
        display: none;
    }
}

/* --- Preloader & Cloud Reveal Styles --- */
body.loading {
    overflow: hidden;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, #001F3F 0%, #050608 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.preloader-content {
    text-align: center;
    z-index: 10;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.preloader-content.shrink-hide {
    opacity: 0;
    transform: scale(0);
    /* Shrink into nothingness slowly */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.preloader-logo {
    font-size: 6rem;
    font-weight: 800;
    color: var(--text-dark);
    opacity: 0;
    transform: scale(0.8);
    animation: logoEmerge 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes logoEmerge {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cloud-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
    /* Above the logo */
}


.preloader-fog {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
}


/* Base fog curtain styling */
.fog-curtain {
    position: absolute;
    top: -10%;
    width: 90vw;
    height: 120vh;
    background: radial-gradient(ellipse at center, rgba(200, 210, 220, 0.95) 0%, rgba(100, 110, 120, 0.8) 40%, rgba(20, 30, 40, 0) 70%);
    filter: url(#fog-filter) blur(8px);
    z-index: 20;
    transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.5s ease-in-out;
    will-change: transform, opacity;
    opacity: 0;
    pointer-events: none;
}

/* Individual mist layers inside the curtain for depth */
.mist-layer {
    position: absolute;
    top: var(--top, 50%);
    left: var(--left, 50%);
    transform: translate(-50%, -50%);
    width: var(--size, 120%);
    height: var(--size, 120%);
    background: radial-gradient(circle at center, rgba(255,255,255,0.4) 0%, transparent 60%);
    opacity: var(--opacity, 0.2);
    filter: blur(20px);
    animation: mistDrift var(--duration, 20s) ease-in-out infinite alternate;
}

.mist-1 { --duration: 15s; --size: 130%; --opacity: 0.2; }
.mist-2 { --duration: 18s; --size: 150%; --top: 40%; --left: 30%; --opacity: 0.15; }
.mist-3 { --duration: 22s; --size: 110%; --top: 60%; --left: 70%; --opacity: 0.25; }
.mist-4 { --duration: 14s; --size: 140%; --top: 30%; --left: 80%; --opacity: 0.18; }
.mist-5 { --duration: 25s; --size: 160%; --top: 70%; --left: 20%; --opacity: 0.12; }
.mist-6 { --duration: 19s; --size: 120%; --top: 50%; --left: 50%; --opacity: 0.2; }

@keyframes mistDrift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-50px, -50px);
    }
}

@keyframes fogSwirl {

    0%,
    100% {
        filter: url(#fog-filter) blur(10px);
    }

    50% {
        filter: url(#fog-filter) blur(15px) hue-rotate(5deg);
    }
}

.fog-left {
    left: 0;
    transform: translateX(-150%) scale(1);
    transform-origin: center right;
    animation: fogSwirl 10s ease-in-out infinite;
}

.fog-right {
    right: 0;
    transform: translateX(150%) scale(1);
    transform-origin: center left;
    animation: fogSwirl 12s ease-in-out infinite reverse;
}

/* Entering the stage to cover the text */
.fog-curtain.enter {
    opacity: 1;
    transform: translateX(0) scale(1.6);
    /* Increased scale for better coverage and texture display */
}

/* Zooming towards the user and fading out */
.fog-curtain.zoom-out {
    transform: translateX(0) scale(18); /* Extreme immersion */
    /* Massive scale for immersion */
    opacity: 0;
    transition: transform 2.8s cubic-bezier(0.8, 0, 0.2, 1), opacity 2s ease-out 0.8s;
}

/* Final Reveal */
#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

/* Hero Section "Grow to Appear" Reveal */
.hero-reveal {
    opacity: 0;
    transform: scale(0.85);
    /* Start smaller */
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-reveal.active {
    opacity: 1;
    transform: scale(1);
    /* Grow to exact natural size */
}

/* Faculty Page Styles */
.faculty-section {
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}




/* Classic Premium Leadership Layout (v5) */
.leadership-classic {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 40px;
}

.leader-row {
    display: flex;
    gap: 60px;
    /* Increased gap for ultra-landscape */
    align-items: flex-start;
    padding: 20px 40px;
    /* Reduced vertical padding, kept horizontal */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    max-width: 1300px;
    /* Increased length to 1300px */
    margin: 0 auto;
}

.leader-row.reverse {
    flex-direction: row-reverse;
}

.leader-text {
    flex: 1;
}

.leader-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
}

.leader-text .name {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.leader-bio-classic {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 25px;
}

/* Balanced Founder Layout (v6) */
.leader-visual-container {
    flex: 0 0 320px;
    /* Reduced width to force even lower height */
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Tighter gap */
}

.leader-visual-container img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quals-below-photo {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quals-below-photo h3 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.qual-grid-v6 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
}

.qual-grid-v6 span {
    font-size: 0.9rem;
    color: #bbb;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.qual-grid-v6 span::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
}

/* Update general leader row for v6 balance */
.leader-text-v6 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .leader-visual-container {
        flex: none;
        width: 100%;
    }

    .qual-grid-v6 {
        grid-template-columns: 1fr;
    }
}

.extra-col {
    flex: 1;
}

.extra-col h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

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

.qual-list li {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.qual-list li::before {
    content: "•";
    color: var(--accent-color);
}

.member-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.member-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.member-item:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.member-type {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 8px;
}

.member-name {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

@media (max-width: 1024px) {

    .leader-row,
    .leader-row.reverse {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }

    .leader-visual {
        flex: none;
        width: 100%;
    }

    .leader-text h2 {
        font-size: 2.2rem;
    }

    .leader-extras {
        flex-direction: column;
        gap: 20px;
    }
}

/* Faculty Cards Grid */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Enforce 3 members per row */
    gap: 40px;
    perspective: 1200px;
    max-width: 1100px;
    /* Constrain width for 3 cards */
    margin: 0 auto;
    /* Center the grid container */
    justify-content: center;
}

.faculty-card-container {
    text-align: center;
}

.faculty-card {
    height: 340px;
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    overflow: hidden;
    /* Ensure anything outside the rounded corners is clipped */
}

/* Static Photo Background */
.faculty-photo-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.faculty-photo-static img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Flipping Overlay */
.faculty-overlay-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Snappier feel */
}

.faculty-card:hover .faculty-overlay-wrap {
    transform: rotateY(180deg);
}

.faculty-overlay-front,
.faculty-overlay-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-md);
    transform: translateZ(0);
}

.faculty-overlay-front {
    background: transparent;
    /* Invisible front so photo shows */
}

/* Removed faculty-card-front img as it's now static */

.faculty-overlay-back {
    background: rgba(0, 31, 63, 0.7);
    /* Translucent dark blue */
    backdrop-filter: blur(8px);
    /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(8px);
    color: white;
    transform: rotateY(180deg) translateZ(1px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: inset 0 0 30px rgba(0, 229, 255, 0.1);
}

.faculty-card-back h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.faculty-card-back p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
}


.faculty-info-bottom {
    margin-top: 20px;
    padding: 0 10px;
}

.faculty-info-bottom h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.faculty-info-bottom .faculty-role {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.faculty-info-bottom .faculty-bio-para {
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.5;
    margin-top: 10px;
    text-align: left;
}

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

@media (max-width: 600px) {
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile too */
        gap: 12px;
    }
    .faculty-card {
        height: 200px; /* Shorter cards on mobile */
    }
    .faculty-info-bottom h4 {
        font-size: 0.95rem;
    }
    .faculty-info-bottom .faculty-role {
        font-size: 0.7rem;
    }
    .faculty-info-bottom .faculty-bio-para {
        font-size: 0.8rem;
    }
    .leader-img-wrapper {
        width: 100%;
        height: 400px;
    }
    .leader-info h3 {
        font-size: 2.2rem;
    }
}

/* Specific tweak for Co-founder balance (v6) */
.leader-row.cofounder-row .leader-visual-container {
    flex: 0 0 280px;
    /* Further reduction to keep bottom alignment correct with shorter card */
}

@media (max-width: 1024px) {
    .leader-row.cofounder-row .leader-visual-container {
        flex: none;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* Theme Black & Gold for Inner Pages (Avia Inspired) */
body.theme-black-gold {
    --primary-color: #E1C319;
    --primary-dark: #CFA415;
    --accent-color: #E1C319;
    --secondary-color: #F4D03F;
    --text-dark: #ffffff;
    --text-light: #B0BEC5;
    --bg-light: #020C1B;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(225, 195, 25, 0.1);
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);

    background-color: var(--bg-light);
    background-image: 
        repeating-radial-gradient(
            circle at center, 
            transparent 0, 
            transparent 99px, 
            rgba(225, 195, 25, 0.05) 100px
        ),
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 100px 100px, 100px 100px;
    background-attachment: fixed;
    overflow-x: hidden;
    color: var(--text-dark);
}

body.theme-black-gold::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 30%, rgba(225, 195, 25, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(0, 102, 255, 0.1) 0%, transparent 55%);
    z-index: -1;
    pointer-events: none;
}

body.theme-black-gold h1,
body.theme-black-gold h2,
body.theme-black-gold h3,
body.theme-black-gold .leader-row .name {
    font-family: inherit;
    font-weight: 800;
    letter-spacing: -1px;
}

body.theme-black-gold .glass-header {
    background: none;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

body.theme-black-gold .nav-pill-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-black-gold .btn-primary {
    background: var(--primary-color);
    color: #020C1B;
    box-shadow: 0 10px 20px rgba(225, 195, 25, 0.2);
    border: none;
    border-radius: 50px;
}

body.theme-black-gold .course-detail-card {
    background: rgba(10, 15, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
}

body.theme-black-gold .course-detail-card::after {
    background: linear-gradient(135deg, rgba(225, 195, 25, 0.1), transparent);
    opacity: 0.5;
    border-radius: inherit;
}

body.theme-black-gold .blob-1,
body.theme-black-gold .blob-2,
body.theme-black-gold .bg-blob,
body.theme-black-gold .glass-blob {
    opacity: 0.15;
    filter: blur(150px);
}

body.theme-black-gold .blob-1 { background: #E1C319; }
body.theme-black-gold .blob-2 { background: #0066FF; }

body.theme-black-gold .faculty-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
}

body.theme-black-gold .faculty-overlay-back {
    background: rgba(2, 12, 27, 0.95);
    border: 1px solid rgba(225, 195, 25, 0.2);
    box-shadow: inset 0 0 30px rgba(225, 195, 25, 0.05);
    border-radius: inherit;
}

body.theme-black-gold .leader-row {
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
}

body.theme-black-gold .leader-visual-container img {
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-black-gold .mini-course-card {
    background: rgba(15, 20, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

body.theme-black-gold .mini-course-card:hover {
    border-color: var(--primary-color);
    background: rgba(225, 195, 25, 0.02);
}

body.theme-black-gold .course-detail-icon {
    background: rgba(225, 195, 25, 0.1);
    border: 1px solid rgba(225, 195, 25, 0.3);
    box-shadow: 0 10px 20px rgba(225, 195, 25, 0.1);
    color: var(--primary-color);
}

body.theme-black-gold .btn-back {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
}

body.theme-black-gold .btn-back:hover {
    background: rgba(225, 195, 25, 0.1);
    border-color: rgba(225, 195, 25, 0.3);
    color: var(--primary-color);
}

body.theme-black-gold .course-category-badge {
    background: rgba(46, 213, 115, 0.1); /* Emerald Green background */
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

body.theme-black-gold .course-category-badge.badge-iata {
    background: rgba(0, 229, 255, 0.1);
    color: #00E5FF; /* Cyan */
    border: 1px solid rgba(0, 229, 255, 0.3);
}

body.theme-black-gold .course-category-badge.badge-special {
    background: rgba(171, 71, 188, 0.1);
    color: #ab47bc; /* Purple */
    border: 1px solid rgba(171, 71, 188, 0.3);
}

body.theme-black-gold .btn-link,
body.theme-black-gold .mini-card-icon,
body.theme-black-gold .browser-category-title i {
    color: #D4AF37;
}

body.theme-black-gold .btn-explore {
    color: #C5A028;
}

/* Homepage Specific Overrides for Black & Gold Theme */
body.theme-black-gold .hero {
    font-family: 'Outfit', sans-serif;
}

body.theme-black-gold .hero h1,
body.theme-black-gold .hero h2,
body.theme-black-gold .hero p,
body.theme-black-gold .hero span {
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: normal !important;
}

body.theme-black-gold .hero .btn-primary,
body.theme-black-gold .search-widget .btn {
    background: linear-gradient(135deg, #E1C319 0%, #CFA415 100%) !important;
    color: #020C1B !important;
    box-shadow: 0 10px 30px rgba(225, 195, 25, 0.3) !important;
    border-radius: 50px !important;
    border: none !important;
}

body.theme-black-gold .section-sky-bg {
    background: transparent;
}

body.theme-black-gold .alumni-slider-section {
    background: rgba(2, 12, 27, 0.5); 
    border-color: rgba(255, 255, 255, 0.05);
}

body.theme-black-gold.is-home .course-card {
    border-radius: 20px;
    background: rgba(10, 15, 25, 0.8) !important; /* Dark glass */
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid rgba(225, 195, 25, 0.3) !important;
    z-index: 1; /* For shadow underneath */
    transition: all 0.4s ease;
}

body.theme-black-gold.is-home .course-card:hover {
    border-color: #E1C319 !important;
    box-shadow: 0 0 25px rgba(225, 195, 25, 0.4), 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    transform: translateY(-5px);
}

/* Bent shadow effect near the tear */
body.theme-black-gold.is-home .course-card::after {
    content: '';
    position: absolute;
    bottom: 12px;
    right: 125px; /* Immediately before the stub */
    width: 35%;
    height: 15px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.8);
    transform: rotate(5deg);
    z-index: -1; /* Place below card */
    pointer-events: none;
}

body.theme-black-gold.is-home .course-main {
    border-right: 3px dotted rgba(255, 255, 255, 0.15) !important;
    background: transparent !important; /* Matches outer card */
    border-radius: 20px 0 0 20px !important;
}

body.theme-black-gold.is-home .course-main h4 {
    color: #E1C319 !important; /* Golden heading text */
}

body.theme-black-gold.is-home .course-main p {
    color: #b0bec5 !important; /* Ash desc text for dark background */
}

body.theme-black-gold.is-home .course-icon {
    background: rgba(225, 195, 25, 0.1) !important;
    color: #E1C319 !important; /* Golden icon */
    border: 1px solid rgba(225, 195, 25, 0.2) !important;
    box-shadow: 0 10px 20px rgba(225, 195, 25, 0.1) !important;
}

body.theme-black-gold.is-home .course-stub {
    background: transparent !important; /* Remove distinct stub background */
    border-radius: 0 20px 20px 0 !important;
}

/* Fix for Homepage Header overlapping Hero section */
body.theme-black-gold.is-home .glass-header {
    background: none !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

body.theme-black-gold.is-home .nav-pill-wrapper {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

/* Stat Cards on Homepage */
body.theme-black-gold.is-home .stat-card {
    background: rgba(10, 15, 25, 0.8) !important; /* Dark glass */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(225, 195, 25, 0.3) !important; /* Thin golden border */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    padding: 30px 20px;
    text-align: center;
}

body.theme-black-gold.is-home .stat-card:hover {
    border-color: #E1C319 !important;
    box-shadow: 0 0 25px rgba(225, 195, 25, 0.4), 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    transform: translateY(-5px);
}

body.theme-black-gold.is-home .stat-card h3 {
    color: #E1C319 !important; /* Golden numbers */
}

body.theme-black-gold.is-home .stat-card p {
    color: #b0bec5 !important; /* Ash desc text */
}

/* ==========================================================================
   FACULTY PAGE REDESIGN: PRESTIGE THEME
   ========================================================================== */

.faculty-page-section {
    padding-top: 180px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

/* Leadership Spotlight */
.leader-spotlight-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
}

.leader-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.leader-spotlight.reverse {
    grid-template-columns: 1fr 1fr;
}

.leader-info {
    position: relative;
    z-index: 2;
}

.leader-label {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 700;
    display: block;
}

.leader-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.leader-bio {
    font-size: 0.95rem;
    color: #b0bec5;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
}

.leader-image-wrap {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.leader-image-wrap img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.leader-image-wrap.cofounder-photo {
    max-width: 320px;
    margin: 0 auto;
}

.leader-image-wrap:hover img {
    transform: scale(1.05);
}

.leader-quals {
    margin-top: 25px;
    padding: 20px;
    background: rgba(225, 195, 25, 0.03);
    border-radius: 20px;
    border: 1px dashed rgba(225, 195, 25, 0.2);
}

.leader-quals h3 {
    font-size: 0.95rem;
    color: #E1C319;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 4px !important;
}

.qual-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.qual-item {
    font-size: 0.85rem;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qual-item i {
    color: #E1C319;
    font-size: 0.8rem;
}

/* Faculty Grid */
.faculty-prestige-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.faculty-prestige-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.faculty-prestige-card:hover {
    transform: translateY(-8px);
    border-color: rgba(225, 195, 25, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.faculty-img-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.faculty-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.faculty-prestige-card:hover .faculty-img-container img {
    transform: scale(1.1);
}

.faculty-info-classic {
    padding: 20px;
    background: linear-gradient(to bottom, rgba(10, 15, 25, 0.8), rgba(2, 12, 27, 1));
}

.faculty-info-classic h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 5px;
}

.faculty-prestige-card .role {
    font-size: 0.70rem;
    color: #ccc; /* Default greyish */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
    padding: 5px 12px;
    border-radius: 4px;
}

.faculty-prestige-card .role.role-mentor {
    background: rgba(171, 71, 188, 0.15);
    border-color: rgba(171, 71, 188, 0.4);
    color: #ab47bc; /* Purple for Mentor */
}

.faculty-prestige-card .role.role-instructor {
    background: rgba(171, 71, 188, 0.15);
    border-color: rgba(171, 71, 188, 0.4);
    color: #ab47bc; /* Purple for Instructor */
}

.faculty-prestige-card .role.role-vp {
    background: rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.4);
    color: #00E5FF; /* Cyan for VP */
}

.faculty-prestige-card .role.role-visiting {
    background: rgba(129, 199, 132, 0.15);
    border-color: rgba(129, 199, 132, 0.4);
    color: #81c784; /* Soft Green for Visiting Faculty */
}

.faculty-experience-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 12, 27, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 10;
}

.faculty-prestige-card:hover .faculty-experience-overlay {
    opacity: 1;
}

.faculty-experience-overlay h5 {
    color: #E1C319;
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.faculty-experience-overlay ul {
    list-style: none;
    padding: 0;
}

.faculty-experience-overlay li {
    color: #e0e0e0;
    font-size: 0.8rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faculty-experience-overlay li i {
    color: #E1C319;
    font-size: 0.7rem;
}

.faculty-short-bio {
    color: #b0bec5;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Academic Partners Styling Refinement */
.partners-container {
    margin-top: 60px;
    text-align: center;
}

.partners-container h4 {
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(225, 195, 25, 0.1);
    border-radius: 15px;
    padding: 25px 15px;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    min-height: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-logo:hover {
    background: rgba(225, 195, 25, 0.05);
    border-color: rgba(225, 195, 25, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(225, 195, 25, 0.1);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .leader-spotlight, .leader-spotlight.reverse {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .leader-name {
        font-size: 2.8rem;
    }
}
/* =============================================
   CLIENT CHANGE ADDITIONS
   ============================================= */

/* --- Trust Strip (Hero) --- */
.trust-strip {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--secondary-color);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* --- Career Path Section --- */
.career-path-section {
    background: transparent;
}
.career-path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.career-card {
    padding: 36px 28px;
    text-align: center;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.career-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.career-card i {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}
.career-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}
.career-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* --- Outcomes Section --- */
.outcomes-section {
    background: transparent;
}
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.outcome-card {
    padding: 32px 24px;
    text-align: center;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
}
.outcome-card:hover { transform: translateY(-4px); }
.outcome-card i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 16px;
    display: block;
}
.outcome-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}
.outcome-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Alumni Section --- */
.alumni-section { background: transparent; }
.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.alumni-card {
    padding: 28px 20px;
    text-align: center;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
}
.alumni-card:hover { transform: translateY(-4px); }
.alumni-avatar i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    display: block;
}
.alumni-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}
.alumni-card p {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* --- Partners Highlight Section --- */
.partners-highlight-section { background: transparent; }
.partners-highlight-section .section-header p {
    max-width: 750px;
    margin: 16px auto 0;
    line-height: 1.75;
    color: var(--text-light);
}

/* --- FAQ Section --- */
.faq-section { background: transparent; }
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.faq-item {
    padding: 22px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
}
.faq-item summary {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--secondary-color);
    transition: transform 0.3s;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item p {
    margin-top: 14px;
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* --- Final CTA Section --- */
.final-cta-section {
    background: linear-gradient(135deg, rgba(244, 208, 63, 0.06), rgba(0, 229, 255, 0.04));
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.final-cta-section h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0;
}
.final-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #020c1b;
    padding: 13.5px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.btn-secondary:hover {
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* --- Responsive tweaks --- */
@media (max-width: 768px) {
    .trust-strip { gap: 10px; font-size: 0.75rem; }
    .career-path-grid { grid-template-columns: 1fr; }
    .outcomes-grid { grid-template-columns: 1fr 1fr; }
    .alumni-grid { grid-template-columns: repeat(2, 1fr); }
    .final-cta-buttons { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .outcomes-grid { grid-template-columns: 1fr; }
    .alumni-grid { grid-template-columns: 1fr 1fr; }
}

select.theme-select {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(225, 195, 25, 0.3);
    background: rgba(10, 15, 25, 0.8);
    color: var(--white);
    font-family: inherit;
    font-weight: 500;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23E1C319' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
    padding-right: 35px;
    width: 100%;
}

select.theme-select option {
    background-color: #0b1120;
    color: #ffffff;
    padding: 10px;
}

.dark-stat-card {
    background: #0b1120;
    border: 1px solid rgba(225, 195, 25, 0.2);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.dark-stat-card:hover {
    border-color: rgba(225, 195, 25, 0.6);
    background: #0d1428;
    transform: translateY(-5px);
}
.dark-stat-card h3 {
    color: #e1c319;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.dark-stat-card p {
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

/* Global Placement Network */
.placement-partners-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(10, 15, 25, 0.8) 0%, rgba(2, 12, 27, 1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    width: calc(250px * 26);
    animation: logo-scroll 40s linear infinite;
}

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

.logo-item {
    width: 220px;
    height: 110px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
    object-fit: contain;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    border: 1px solid var(--primary-color);
}

.logo-item:hover img {
    transform: scale(1.05);
}

@keyframes logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 13)); }
}

/* Academic Partners Section */
.partners-container-custom {
    margin-top: 80px;
    padding: 60px 20px;
    background: linear-gradient(180deg, rgba(10, 15, 25, 0.4) 0%, rgba(10, 15, 25, 0.8) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    backdrop-filter: blur(10px);
    width: 100%;
}

.partners-grid-custom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .partners-grid-custom {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .partners-grid-custom {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .partner-badge {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

.partner-badge {
    background: rgba(225, 195, 25, 0.03);
    border: 1px solid rgba(225, 195, 25, 0.15);
    color: #ccc;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 6s infinite ease-in-out;
    cursor: default;
}

.partner-badge:hover {
    background: rgba(225, 195, 25, 0.12);
    border-color: rgba(225, 195, 25, 0.5);
    color: var(--primary-color);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 25px rgba(225, 195, 25, 0.2);
}

/* Compact Stats Bar */
.compact-stats-wrapper {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 10;
}
.compact-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px !important;
    gap: 20px;
}
.compact-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.compact-stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #E1C319;
    text-shadow: 0 0 15px rgba(225, 195, 25, 0.6), 0 0 30px rgba(225, 195, 25, 0.3);
    line-height: 1.1;
    margin-bottom: 5px;
}
.compact-stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.compact-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .compact-stats {
        flex-wrap: wrap;
        padding: 20px !important;
    }
    .compact-stat-item {
        min-width: 40%;
        margin-bottom: 10px;
    }
    .compact-stat-divider {
        display: none;
    }
}

/* Philosophy Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.philosophy-title {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(225, 195, 25, 0.2);
    padding-bottom: 10px;
    display: inline-block;
}
.philosophy-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.value-item {
    padding: 25px;
    border-left: 4px solid var(--secondary-color);
}
.value-item h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.value-item h4 i {
    color: var(--secondary-color);
}
.value-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}
.philosophy-mission-vision {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.nv-card {
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.nv-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--white);
    position: relative;
    z-index: 2;
    margin: 0;
}
.watermark-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 8rem;
    opacity: 0.05;
    color: var(--white);
    z-index: 1;
    transform: rotate(-15deg);
}

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

/* Industrial Visit Associates */
.associates-section {
    background: linear-gradient(180deg, rgba(2, 12, 27, 1) 0%, rgba(10, 15, 25, 0.8) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.associates-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    margin-top: 20px;
}

.associates-track {
    display: flex;
    width: max-content;
    animation: associates-scroll 30s linear infinite;
}

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

@keyframes associates-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50%)); }
}

.associate-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    height: auto;
    width: 320px;
    flex-shrink: 0;
    margin: 0 15px; /* Creates a 30px gap between cards */
    cursor: pointer;
}

.associate-image {
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.associate-image::after {
    content: 'Photo Coming Soon';
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: none;
    z-index: 1;
}

.associate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    z-index: 2;
    position: relative;
    background: var(--bg-light); /* Fallback to hide text if image loads but is broken */
}

.associate-card:hover .associate-image img {
    transform: scale(1.08); /* slight zoom on hover */
}

.associate-card h4 {
    padding: 25px 20px;
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 600;
    margin: 0;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease;
}

.associate-card:hover h4 {
    color: var(--secondary-color);
}

/* User Requested: 15% opaque background with top and bottom edge fades */
body section,
body .section-sky-bg,
body .placement-partners-section,
body .associates-section,
body .philosophy-section,
body .partners-container-custom {
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 15, 25, 0.15) 10%, rgba(10, 15, 25, 0.15) 90%, transparent 100%) !important;
    background-image: linear-gradient(to bottom, transparent 0%, rgba(10, 15, 25, 0.15) 10%, rgba(10, 15, 25, 0.15) 90%, transparent 100%) !important;
}
