/* ========================================
   HERO VIDEO SECTION
   ======================================== */
.hero-video-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Default / Mobile behavior: Standard landscape */
    height: auto;
    background: var(--black);
}

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

/* Desktop: Fit Video + Navbar + Topbar within 100vh */
@media (min-width: 993px) {
    .hero-video-section {
        height: calc(100vh - var(--topbar-height) - var(--navbar-height));
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* ========================================
   WELCOME SECTION STYLES
   ======================================== */
.welcome-section {
    position: relative;
    padding: 0 0 2rem 0;
    /* Add bottom padding */
    width: 100%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
}

.welcome-container {
    display: grid;
    grid-template-columns: 0.7fr 1.8fr;
    /* Give much more space to text */
    gap: 3rem;
    /* Increase gap slightly for breathing room */
    align-items: start;
    /* Align to top not center */
    max-width: 1250px;
    /* Widen container */
    margin: 2rem auto;
    order: 1;
    /* Default order: Main Content first for Desktop */
}

/* Prevent grid blowout from marquee */
.welcome-container>* {
    min-width: 0;
}

/* --- Left Column: Image (Logo/Crest style) --- */
.welcome-image {
    width: 100%;
    max-width: 320px;
    /* Constrain width significantly */
    margin: 0 auto;
    /* Center in its column if needed */
    position: relative;
    display: block;
    /* Removed frames, shadows, overlays to match clean reference */
}

/* Remove the overlay */
.welcome-image::after {
    display: none;
}

.welcome-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Ensure it doesn't crop */
    transition: transform 0.5s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    /* Soft shadow for crest */
}

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

/* --- Right Column: Content --- */
.welcome-text {
    padding-left: 0;
    /* Remove extra padding */
}

.subheading {
    position: relative;
    display: block;
    /* Block to sit on its own line */
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-maroon);
    /* Red color like reference */
    text-transform: none;
    /* Reference is Title Case, not Uppercase */
    letter-spacing: 0;
    margin-bottom: 0.25rem;
    padding-left: 0;
    /* Remove decorative line spacing */
}

.subheading::before {
    display: none;
    /* Remove line */
}

.main-heading {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    color: var(--charcoal);
    /* Dark color for main text */
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 500;
}

.welcome-text p {
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}

/* --- Announcement Marquee General --- */
.marquee-content {
    display: inline-block;
    padding-left: 100%;
    /* Start off-screen */
    animation: marquee-scroll 25s linear infinite;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.marquee-content span {
    display: inline-block;
}

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

    100% {
        transform: translateX(-100%);
    }
}

/* --- Mobile Marquee (Visible ONLY on Mobile) --- */
.mobile-marquee {
    display: none;
    /* Hidden by default (Desktop) */
    width: 100%;
    background: var(--secondary-maroon);
    color: var(--white);
    padding: 0.75rem 0;
    overflow: hidden;
    position: relative;
    border-top: 3px solid var(--accent-gold);
    border-bottom: 3px solid var(--accent-gold);
    /* Ensure it's first on mobile */
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-marquee:hover {
    background: var(--accent-gold);
    /* Premium Gold highlight */
    color: var(--secondary-maroon-dark);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    /* Slight inner depth */
}

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

/* --- Desktop Marquee Container (Visible ONLY on Desktop) --- */
.desktop-marquee-container {
    display: flex;
    align-items: stretch;
    background: var(--secondary-maroon);
    /* Match Mobile BG */
    border: none;
    /* No Border as requested */
    border-radius: 0;
    /* Flat look like Mobile */
    overflow: hidden;
    margin-top: 2rem;
    height: 48px;
    width: 100%;
    box-shadow: none;
    /* Remove shadow to match Mobile flat look */
}

.marquee-title {
    background: var(--accent-gold);
    /* Gold label for contrast */
    color: var(--secondary-maroon-dark);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.marquee-title::after {
    display: none;
}

.desktop-marquee {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--secondary-maroon);
    /* Match Mobile BG */
    color: var(--white);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.desktop-marquee:hover {
    background: var(--accent-gold);
    /* Premium Gold highlight */
    color: var(--secondary-maroon-dark);
}

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

.desktop-marquee .marquee-content {
    animation: marquee-scroll 30s linear infinite;
    /* Slower on desktop for readability */
}

/* --- Mobile CTA Button --- */
.mobile-cta-wrapper {
    display: none;
    /* Hidden on Desktop */
    width: 100%;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    text-align: center;
    order: 2;
    /* Between Marquee and Content on Mobile */
}

.mobile-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 400px;
    background: var(--accent-gold);
    color: var(--secondary-maroon-dark);
    padding: 0.875rem 2rem;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(232, 165, 32, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-apply-btn:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 165, 32, 0.5);
}

.mobile-apply-btn i {
    font-size: 1.2rem;
}

/* ========================================
   RESPONSIVE MODIFICATIONS (Welcome Section)
   ======================================== */
@media (max-width: 992px) {
    .welcome-section {
        padding-top: 0;
        /* Ensure no gap between video and first element */
    }

    .welcome-container {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 2rem;
        margin-top: 1.5rem;
        padding: 0 1.5rem;
        order: 3;
        /* Move to bottom of section flow on Mobile */
    }

    /* Change Order for Mobile Flow: 
       1. Marquee (just under video)
       2. Apply Now Button
       3. Main Grid (Pic -> Text)
    */
    .mobile-marquee {
        display: block;
        /* Show on Mobile */
    }

    /* Hide Desktop Marquee on Mobile */
    .desktop-marquee-container {
        display: none;
    }

    .mobile-cta-wrapper {
        display: block;
        /* Show on Mobile */
        order: 2;
    }

    .welcome-image {
        /* On mobile, image comes before text. In Grid 1fr, first child is top. 
           HTML order: Image first. So no change needed but explicit order is safer. */
        order: 1;
        margin-bottom: 0.5rem;
    }

    .welcome-text {
        order: 2;
        padding-left: 0;
        text-align: center;
        /* Center text on mobile for better reading */
    }

    .subheading {
        padding-left: 0;
        /* Remove line padding */
        margin-bottom: 0.25rem;
    }

    .subheading::before {
        display: none;
        /* Hide decorative line on mobile */
    }

    .main-heading {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .lead-text {
        font-size: 1rem;
    }
}



/* ========================================
   ACADEMIC PROGRAMS SECTION
   ======================================== */
.programs-section {
    padding: 8rem 0 6rem 0;
    /* Increase top padding for wave */
    background: var(--primary-teal);
    /* Teal BG as alternative to Maroon */
    position: relative;
    overflow: hidden;
}

/* Wave Divider Styling */
.custom-shape-divider-top {
    position: absolute;
    top: -5px;
    /* Aggressive pull-up to hide gap */

    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}

.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    transform: translateY(-1px);
    /* Pull up to cover top edge gap */
}

.custom-shape-divider-top .shape-fill {
    fill: #ffffff;
    /* White fill to blend with section above */
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    color: var(--white);
    /* White text for dark bg */
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--off-white);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Light Theme Overrides (For Light Background Sections) */
.section-header.light-theme h2 {
    color: var(--secondary-maroon);
}

.section-header.light-theme p {
    color: var(--gray);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

/* Card Styling */
.program-card {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    /* Gradient Background Placeholder until images are set */
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.program-image {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Fallback gradient if image fails */
    background: linear-gradient(45deg, var(--secondary-maroon), var(--primary-teal));
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.9;
}

/* Overlay Gradient on Image */
.program-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.program-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.program-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-maroon);
    margin-bottom: 0.75rem;
    font-family: var(--font-primary);
}

.program-desc {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.program-cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-gold-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

/* Hover Effects */
.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.program-card:hover .program-image img {
    transform: scale(1.1);
    /* Zoom effect */
}

.program-card:hover .program-image::after {
    opacity: 0.3;
    /* Brighten image slightly */
    background: linear-gradient(45deg, rgba(139, 26, 50, 0.4), rgba(232, 165, 32, 0.4));
    /* Shift to maroon/gold tint */
}

.program-card:hover .program-cta {
    gap: 0.8rem;
    /* Arrow moves right */
    color: var(--secondary-maroon);
}

/* Responsive */

/* ========================================
   WHO WE ARE SECTION
   ======================================== */
.about-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

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

/* Overlapping Image Grid */
.about-images-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 500px;
    position: relative;
}

.about-img-main {
    grid-column: 1 / 11;
    grid-row: 1 / 11;
    z-index: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.about-img-secondary {
    grid-column: 4 / 13;
    /* Increased overlap */
    grid-row: 4 / 13;
    /* Increased overlap */
    z-index: 2;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--white);
    /* Distinct border */
    transition: all 0.3s ease;
}

.about-images-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-images-grid:hover .about-img-main img,
.about-images-grid:hover .about-img-secondary img {
    transform: scale(1.05);
}

.about-images-grid:hover .about-img-secondary {
    border-color: var(--primary-teal);
    /* Change border to bluish-green on hover */
}

/* Content Side */
.about-content {
    padding-left: 1rem;
}

.quote-mark-large {
    font-size: 5rem;
    line-height: 1;
    color: var(--accent-gold);
    font-family: serif;
    margin-bottom: -1rem;
    opacity: 0.8;
    display: block;
}

.about-text {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-section-header {
    margin-bottom: 2rem;
}

.about-text-heading {
    font-weight: 700;
    color: var(--secondary-maroon);
    font-size: 1.15rem;
    display: block;
    margin-bottom: 0.5rem;
}

.about-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--secondary-maroon);
    border: 2px solid var(--secondary-maroon);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;

}

.about-btn:hover {
    background: var(--secondary-maroon);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-images-grid {
        height: 350px;
        /* Reduced height for mobile */
        margin-bottom: 2rem;
    }

    .about-img-main {
        grid-column: 1 / 11;
        grid-row: 1 / 11;
    }

    .about-img-secondary {
        grid-column: 5 / 13;
        grid-row: 4 / 13;
        border: 3px solid var(--white);
    }

    .about-content {
        padding-left: 0;
        text-align: center;
        padding: 0 1rem;
    }

    .quote-mark-large {
        display: inline-block;
        font-size: 4rem;
    }
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-section {
    padding: 8rem 0 6rem 0;
    background: var(--primary-teal);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    width: calc(25% - 1.2rem);
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    cursor: pointer;
    /* Hardware acceleration to prevent GPU lag/stutter on scroll */
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    will-change: transform;
}

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

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

/* Mobile Slideshow (Hidden on Desktop) */
.mobile-gallery {
    display: none;
}

/* View More Button (White outline for Teal bg) */
.gallery-btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.gallery-btn:hover {
    background: var(--white);
    color: var(--primary-teal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive & Slideshow Logic */
@media (max-width: 768px) {
    .gallery-grid {
        display: none;
        /* Hide grid on mobile */
    }

    .mobile-gallery {
        display: block;
        position: relative;
        width: 100%;
        height: 300px;
        /* Fixed height for slideshow */
        margin-bottom: 2rem;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow-lg);
    }

    /* Mobile Gallery Slideshow - JS Controlled */
    .mobile-gallery img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

    .mobile-gallery img.active {
        opacity: 1;
        z-index: 1;
    }
}

/* ========================================
   PRINCIPAL'S MESSAGE SECTION
   ======================================== */
.principal-section {
    padding: 5rem 0;
    background: var(--primary-teal);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.principal-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3.5rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Left Side: Profile Card */
.principal-profile {
    background: linear-gradient(145deg, var(--white) 0%, var(--primary-teal-ultra-light) 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(139, 26, 50, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.4s ease;
}

.principal-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-teal-dark), var(--accent-gold), var(--primary-teal));
    border-radius: 16px 16px 0 0;
}

.principal-profile:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(10, 115, 119, 0.15);
}

.principal-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
}

.principal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.principal-profile:hover .principal-photo {
    border-color: var(--accent-gold);
    box-shadow: 0 8px 25px rgba(232, 165, 32, 0.25);
}

.principal-profile:hover .principal-photo img {
    transform: scale(1.05);
}

.principal-info {
    margin-top: 0.5rem;
}

.principal-name {
    font-family: var(--font-primary);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-teal-dark);
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.principal-designation {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    background: var(--primary-teal-dark);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.principal-qualification {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
    margin: 0;
    font-style: italic;
}

/* Right Side: Message Content */
.principal-message-content {
    padding: 1rem 0;
    position: relative;
}



.principal-message-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    text-align: left;
}

.principal-message-content p:first-of-type {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
}

/* Signature removed */

/* Principal Section Responsive */
@media (max-width: 992px) {
    .principal-section {
        padding: 4rem 0;
    }

    .principal-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .principal-profile {
        max-width: 320px;
        margin: 0 auto;
    }

    .principal-message-content {
        padding: 0 1rem;
    }

    .principal-message-content p {
        text-align: left;
    }


}

@media (max-width: 768px) {
    .principal-section {
        padding: 3rem 0;
    }

    .principal-grid {
        gap: 2rem;
    }

    .principal-photo {
        width: 150px;
        height: 150px;
    }

    .principal-name {
        font-size: 1.2rem;
    }

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


}

/* ========================================
   ALUMNI SECTION
   ======================================== */
.alumni-section {
    padding: 5rem 0;
    background: var(--cream-warm);
    position: relative;
    scroll-margin-top: 100px;
}

.alumni-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.alumni-carousel {
    flex: 1;
    overflow: hidden;
}

.alumni-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease-out;
    cursor: grab;
    user-select: none;
}

.alumni-track:active {
    cursor: grabbing;
}

.alumni-track.dragging {
    transition: none;
    cursor: grabbing;
}

/* Alumni Card */
.alumni-card {
    flex: 0 0 calc(20% - 1.2rem);
    /* 5 cards: 100%/5 - gap adjustment */
    background: linear-gradient(135deg, var(--secondary-maroon-dark) 0%, var(--primary-teal-dark) 100%);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--navbar-border);
}

.alumni-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--secondary-maroon) 0%, var(--primary-teal) 100%);
    border-color: var(--accent-gold);
}

/* Photo */
.alumni-image {
    width: 110px;
    height: 110px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: var(--cream-warm);
}

.alumni-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.alumni-card:hover .alumni-image {
    border-color: var(--accent-gold);
}

.alumni-card:hover .alumni-image img {
    transform: scale(1.05);
}

/* Text */
.alumni-name {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.alumni-card:hover .alumni-name {
    color: var(--accent-gold);
}

.alumni-year {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-maroon-dark);
    background: var(--accent-gold);
    padding: 0.2rem 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.alumni-role {
    font-size: 0.85rem;
    color: var(--off-white);
    line-height: 1.5;
    margin: 0;
}

.alumni-empty-state {
    padding: 2rem;
    color: var(--gray);
    text-align: center;
}

/* Arrow Buttons */
.alumni-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary-maroon);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 26, 50, 0.2);
    flex-shrink: 0;
}

.alumni-arrow:hover {
    background: var(--secondary-maroon-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 26, 50, 0.35);
}

.alumni-arrow:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 1200px) {
    .alumni-card {
        flex: 0 0 calc(25% - 1.125rem);
        /* 4 cards */
    }
}

@media (max-width: 992px) {
    .alumni-card {
        flex: 0 0 calc(33.333% - 1rem);
        /* 3 cards */
    }

    .alumni-section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .alumni-card {
        flex: 0 0 100%;
        /* 1 card */
    }

    .alumni-track {
        gap: 0;
    }

    .alumni-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .alumni-section {
        padding: 3rem 0;
    }

    .alumni-image {
        width: 90px;
        height: 90px;
    }
}

