/* ============================================================
   BUAA — Burdwan University Alumni Association
   Premium CSS Design System
   Theme: HD Yellow & HD Red on White Base Background
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
    /* HD Yellow Color System (Primary & Maximum Dominance) */
    --yellow: #FFC700;
    --yellow-bright: #FFE500;
    --yellow-light: #FFF066;
    --yellow-dark: #E69500;
    --yellow-deep: #D97706;
    --yellow-glass: rgba(255, 199, 0, 0.16);
    --yellow-glow: rgba(255, 199, 0, 0.45);

    /* Direct backward-compatibility aliases for views */
    --gold: #d97706;
    --gold-light: var(--yellow-bright);
    --gold-dark: var(--yellow-dark);
    --gold-glass: var(--yellow-glass);

    /* HD Red Color System (Accent, Action & High Contrast) */
    --red: #E50914;
    --red-bright: #FF3838;
    --red-dark: #991B1B;
    --red-deep: #7F1D1D;
    --red-glass: rgba(229, 9, 20, 0.12);
    --red-glow: rgba(229, 9, 20, 0.45);

    /* White Background Base & Light Surfaces */
    --navy: #fff;
    --navy-mid: #fff;
    --navy-light: #f8fafc;
    --navy-glass: rgba(255, 255, 255, 0.98);
    --card-bg: #fff;
    --body-bg: #fff;

    --white: #0f172a;
    --off-white: #ffffff;
    --text-muted: #64748b;
    --border: #fde047;
    --border-red: #fca5a5;
    --border-bright: #eab308;

    --font-main: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 10px 30px rgba(250, 204, 21, 0.25);
    --shadow-red: 0 10px 30px rgba(229, 9, 20, 0.22);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: #fff; }

body {
    font-family: var(--font-main);
    background: #fff !important;
    color: #0f172a;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    display: none;
}

a { color: #b45309; text-decoration: none; transition: var(--transition); }
a:hover { color: #d97706; }

img { max-width: 100%; }

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 199, 0, 0.3);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--yellow);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a !important;
}

.nav-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(255, 199, 0, 0.35), 0 0 0 2px rgba(255, 199, 0, 0.5);
    flex-shrink: 0;
    overflow: hidden;
    transition: var(--transition);
}

.nav-brand:hover .nav-logo {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5), 0 0 0 2px var(--yellow);
}

.nav-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}

.nav-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-title-main {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.nav-title-sub {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #b45309;
    letter-spacing: 1.5px;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex; align-items: center; gap: 4px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: #b45309;
    background: rgba(255, 199, 0, 0.15);
    border-bottom-color: var(--red);
}

.nav-arrow { font-size: 10px; transition: var(--transition); }

.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #ffffff;
    backdrop-filter: blur(20px);
    border: 1px solid #fde047;
    border-radius: var(--radius);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    z-index: 100;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #1e293b !important;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    font-family: var(--font-main);
    text-align: left;
}

.dropdown-item i { color: #d97706; width: 16px; }
.dropdown-item:hover { background: rgba(255, 199, 0, 0.15); color: #b45309 !important; }
.dropdown-item.text-danger { color: #dc2626 !important; }
.dropdown-divider { border-top: 1px solid #f1f5f9; margin: 4px 0; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: #0f172a;
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--yellow-bright) 0%, var(--yellow) 55%, var(--yellow-dark) 100%);
    color: #120700 !important;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(255, 199, 0, 0.45);
    border: 1px solid rgba(230, 149, 0, 0.4);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 199, 0, 0.65), 0 0 12px rgba(229, 9, 20, 0.25);
    color: #120700 !important;
}

.btn-outline {
    background: transparent;
    color: #b45309;
    border: 2px solid #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}
.btn-outline:hover {
    background: var(--yellow);
    color: #120700 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(255, 199, 0, 0.45);
}

.btn-ghost {
    background: rgba(255, 199, 0, 0.12);
    color: #b45309;
    border: 1px solid #fde047;
}
.btn-ghost:hover {
    background: var(--yellow);
    color: #120700 !important;
}

.btn-navy {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}
.btn-navy:hover { background: #e2e8f0; color: #0f172a; border-color: #f59e0b; }

.btn-red {
    background: linear-gradient(135deg, var(--red-bright), var(--red));
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(229, 9, 20, 0.65);
    color: #ffffff !important;
}

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 16px; }

.btn-danger { background: linear-gradient(135deg, var(--red-bright), var(--red-dark)); color: white; }
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(229, 9, 20, 0.5); color: white; }

.btn-success { background: linear-gradient(135deg, #27ae60, #229954); color: white; }
.btn-success:hover { transform: translateY(-2px); color: white; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #fff;
}

.hero-particles {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #a16207;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease both;
    box-shadow: 0 2px 8px rgba(255, 199, 0, 0.18);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 24px;
    color: #0f172a;
    animation: fadeInUp 0.7s 0.1s ease both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #d97706 0%, #ea580c 50%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    color: #475569;
    margin-bottom: 36px;
    line-height: 1.7;
    animation: fadeInUp 0.7s 0.2s ease both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s 0.3s ease both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
    animation: fadeInUp 0.7s 0.4s ease both;
}

.stat-item {
    text-align: center;
    padding: 20px 16px;
    background: #ffffff;
    border: 1px solid #fde047;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: #f59e0b;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #d97706;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 0.8s 0.2s ease both;
}

.hero-card-float {
    background: #fff;
    border: 2px solid #fde047;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 0 20px rgba(255, 199, 0, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-card-float::before {
    display: none;
}

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

.hero-emblem {
    font-size: 80px;
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.hero-card-sub {
    font-size: 13px;
    color: #64748b;
    position: relative;
    z-index: 1;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #f59e0b, #dc2626, transparent);
    border-radius: 2px;
}

/* Real Showcase Card in Hero */
.hero-showcase-card {
    background: #ffffff;
    border: 1px solid #fde047;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08), 0 0 25px rgba(255, 199, 0, 0.15);
    transition: var(--transition);
}
.hero-showcase-img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}
.hero-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.hero-showcase-card:hover .hero-showcase-img {
    transform: scale(1.04);
}
.hero-showcase-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 6px 14px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    color: #fef08a;
    border: 1px solid rgba(254, 240, 138, 0.4);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.hero-showcase-body {
    padding: 24px;
}
.hero-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}
.hero-quick-item {
    padding: 12px;
    background: #fffdf0;
    border: 1px solid #fde047;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}
.hero-quick-item:hover {
    background: #fef9c3;
    border-color: #f59e0b;
    transform: translateY(-2px);
}
.hero-quick-item .val {
    font-size: 18px;
    font-weight: 800;
    color: #92400e;
    line-height: 1.1;
}
.hero-quick-item .lbl {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-top: 4px;
}

/* ============================================================
   HERO SWIPER SLIDER & PREMIUM ANIMATIONS
   ============================================================ */
.hero-slider-section {
    position: relative;
    padding: 0 !important;
    height: clamp(520px, 78vh, 760px);
    min-height: 520px;
    display: flex;
    align-items: stretch;
    background: #0b1120;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: #0b1120;
    box-sizing: border-box;
}

/* Background image & Ken Burns effect */
.hero-slide-bg {
    position: absolute;
    inset: -30px;
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.0);
    will-change: transform;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

/* Ken Burns slow cinematic movement for active slide */
.hero-slide.swiper-slide-active .hero-slide-bg {
    animation: heroKenBurns 8.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-slide:nth-child(even).swiper-slide-active .hero-slide-bg {
    animation: heroKenBurnsAlt 8.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1.0) translate(0%, 0%);
    }
    100% {
        transform: scale(1.12) translate(-1.2%, -0.8%);
    }
}

@keyframes heroKenBurnsAlt {
    0% {
        transform: scale(1.0) translate(0%, 0%);
    }
    100% {
        transform: scale(1.12) translate(1.2%, 0.8%);
    }
}

/* Clean Subtle Gradient Overlay for Pagination Contrast */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 15, 29, 0.45) 0%,
        rgba(10, 15, 29, 0.1) 25%,
        transparent 50%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-slide-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 35%, rgba(245, 158, 11, 0.22) 0%, transparent 50%),
        radial-gradient(circle at 85% 65%, rgba(217, 119, 6, 0.16) 0%, transparent 45%);
    z-index: 1;
    pointer-events: none;
}

/* Slide Content */
.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 45px;
    align-items: center;
    width: 100%;
}

/* Staggered typography entrance on active slide */
.hero-slide .hero-text .tag,
.hero-slide .hero-title,
.hero-slide .hero-subtitle,
.hero-slide .hero-buttons,
.hero-slide .hero-stats,
.hero-slide .hero-visual {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.swiper-slide-active .hero-text .tag {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.hero-slide.swiper-slide-active .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.hero-slide.swiper-slide-active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

.hero-slide.swiper-slide-active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.hero-slide.swiper-slide-active .hero-stats {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.75s;
}

.hero-slide.swiper-slide-active .hero-visual {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Dark Theme Hero Typography Adjustments */
.hero-slide .hero-text .tag {
    background: rgba(254, 240, 138, 0.12);
    border: 1px solid rgba(253, 224, 71, 0.45);
    color: #fde047;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 15px rgba(245, 158, 11, 0.2);
    margin-bottom: 16px;
}

.hero-slide .hero-title {
    color: #ffffff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    line-height: 1.14;
    margin-bottom: 18px;
}

.hero-slide .hero-title .highlight {
    background: linear-gradient(135deg, #fde047 0%, #f59e0b 55%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(245, 158, 11, 0.3));
}

.hero-slide .hero-subtitle {
    color: #cbd5e1;
    font-size: 15.5px;
    line-height: 1.68;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Button stylings inside dark hero slider */
.hero-slide .hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-slide .btn-outline {
    border-color: rgba(253, 224, 71, 0.6);
    color: #fef08a;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-slide .btn-outline:hover {
    background: #f59e0b;
    color: #0f172a;
    border-color: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.hero-slide .btn-navy {
    background: rgba(30, 41, 59, 0.85);
    color: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-slide .btn-navy:hover {
    background: #334155;
    color: #ffffff;
    border-color: #94a3b8;
}

/* Hero Stats on dark background */
.hero-slide .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 26px;
}

.hero-slide .stat-item {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(253, 224, 71, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 14px 12px;
}

.hero-slide .stat-item:hover {
    border-color: #f59e0b;
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(245, 158, 11, 0.25);
}

.hero-slide .stat-number {
    color: #facc15;
    font-size: 1.75rem;
    text-shadow: 0 0 16px rgba(250, 204, 21, 0.4);
}

.hero-slide .stat-label {
    color: #94a3b8;
    font-size: 10.5px;
}

/* Glassmorphism Showcase Card in Slider */
.hero-slide .hero-showcase-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(253, 224, 71, 0.6);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 35px rgba(245, 158, 11, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-slide .hero-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 45px rgba(245, 158, 11, 0.35);
}

.hero-slide .hero-showcase-img-wrap {
    height: 200px;
}

.hero-slide .hero-showcase-body {
    padding: 18px 20px 20px;
}

.hero-card-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.hero-card-motto {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
}

/* Navigation Buttons */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.78);
    border: 1.5px solid rgba(253, 224, 71, 0.45);
    color: #fde047;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.hero-nav-btn:hover {
    background: #f59e0b;
    color: #0f172a;
    border-color: #f59e0b;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

.hero-nav-prev {
    left: 24px;
}

.hero-nav-next {
    right: 24px;
}

/* Pagination & Progress Controls */
.hero-slider-footer {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.hero-pagination-wrapper {
    pointer-events: auto;
}

.hero-swiper-pagination {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    cursor: pointer;
    margin: 0 !important;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    width: 38px;
    background: linear-gradient(90deg, #f59e0b, #fde047);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.8);
}

/* Bottom Hairline Autoplay Progress Bar */
.hero-autoplay-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 20;
    overflow: hidden;
}

.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d97706, #f59e0b, #fef08a);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
    transition: width 0.1s linear;
}

/* Responsive Styles for Hero Swiper */
@media (max-width: 1024px) {
    .hero-slider-section {
        position: relative;
        width: 100%;
        height: auto !important;
        min-height: unset !important;
        aspect-ratio: 1900 / 700;
        background: #0b1120;
        display: block !important;
        overflow: hidden;
    }

    .hero-swiper {
        width: 100% !important;
        height: 100% !important;
        min-height: unset !important;
        aspect-ratio: 1900 / 700;
        position: relative;
    }

    .hero-slide {
        position: relative;
        width: 100% !important;
        height: 100% !important;
        min-height: unset !important;
        aspect-ratio: 1900 / 700;
        padding: 0 !important;
        overflow: hidden;
        display: flex !important;
    }

    .hero-slide-bg {
        position: absolute;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-size: 100% 100% !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        transform: none !important;
        animation: none !important;
    }

    .hero-slide.swiper-slide-active .hero-slide-bg,
    .hero-slide:nth-child(even).swiper-slide-active .hero-slide-bg {
        animation: none !important;
        transform: none !important;
    }

    .hero-slide-overlay {
        display: none !important;
    }

    .hero-nav-btn {
        display: none !important;
    }

    .hero-slider-footer {
        bottom: 8px !important;
        gap: 6px !important;
    }

    .hero-swiper-pagination .swiper-pagination-bullet {
        width: 8px !important;
        height: 4px !important;
        border-radius: 4px !important;
    }

    .hero-swiper-pagination .swiper-pagination-bullet-active {
        width: 22px !important;
    }

    .hero-autoplay-progress {
        height: 2px !important;
    }
}

@media (max-width: 640px) {
    .hero-slider-footer {
        bottom: 5px !important;
        gap: 4px !important;
    }

    .hero-swiper-pagination .swiper-pagination-bullet {
        width: 6px !important;
        height: 3px !important;
    }

    .hero-swiper-pagination .swiper-pagination-bullet-active {
        width: 16px !important;
    }
}

/* Leadership Message Card */
.leadership-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}
.leadership-card {
    background: #ffffff;
    border: 1px solid #fde047;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: center;
}
.leader-avatar-wrap {
    text-align: center;
}
.leader-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #fef08a, #ffc700);
    border: 4px solid var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: 800;
    color: #92400e;
    box-shadow: 0 8px 24px rgba(255, 199, 0, 0.25);
    overflow: hidden;
}
.leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.leadership-content .quote-icon {
    font-size: 32px;
    color: #f59e0b;
    margin-bottom: 12px;
}
.leadership-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 16px;
}
.leadership-content p {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 24px;
}
.leader-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
}
.leader-name {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}
.leader-title {
    font-size: 13px;
    color: #d97706;
    font-weight: 600;
}

/* Four Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 24px;
    transition: var(--transition);
    text-align: left;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.pillar-card:hover {
    transform: translateY(-6px);
    border-color: #f59e0b;
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.15);
}
.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #fffdf0;
    border: 1px solid #fde047;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #b45309;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(255, 199, 0, 0.15);
}
.pillar-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}
.pillar-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.65;
}

/* Campus Heritage Strip */
.heritage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.heritage-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.heritage-card:hover {
    transform: translateY(-5px);
    border-color: #f59e0b;
    box-shadow: 0 14px 28px rgba(245, 158, 11, 0.15);
}
.heritage-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.heritage-card:hover img {
    transform: scale(1.05);
}
.heritage-card-body {
    padding: 18px;
}
.heritage-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}
.heritage-card-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .leadership-card { grid-template-columns: 1fr; text-align: center; gap: 24px; padding: 32px 20px; }
    .leader-meta { flex-direction: column; gap: 8px; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .heritage-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 100px 0;
    position: relative;
    background: #fff;
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    color: #a16207;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(255, 199, 0, 0.15);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 16px;
    color: #0f172a;
}

.section-title .accent {
    color: #d97706;
}

.section-desc {
    font-size: 16px;
    color: #64748b;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

.gold-line {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #facc15, #f59e0b, #dc2626);
    border-radius: 2px;
    margin: 16px auto 0;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-6px);
    border-color: #f59e0b;
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 24px;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    color: #a16207;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #0f172a;
}

.card-title a { color: #0f172a; }
.card-title a:hover { color: #d97706; }

.card-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 13px;
    color: #64748b;
}

.card-meta span { display: flex; align-items: center; gap: 6px; }
.card-meta i { color: #f59e0b; }

/* ============================================================
   GRID LAYOUTS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* ============================================================
   EVENT CARDS
   ============================================================ */
.event-card {
    position: relative;
    overflow: hidden;
}

.event-badge {
    position: absolute;
    bottom: 16px; right: 16px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 1;
}

.badge-upcoming {
    background: linear-gradient(135deg, var(--yellow-bright), var(--yellow));
    color: #120700;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(255, 199, 0, 0.4);
}
.badge-completed { background: #27ae60; color: white; }
.badge-cancelled { background: linear-gradient(135deg, var(--red-bright), var(--red)); color: white; }

.event-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
    background: linear-gradient(135deg, var(--yellow-bright), var(--yellow));
    border-radius: var(--radius-sm);
    padding: 8px 0;
    color: #120700;
    box-shadow: 0 4px 14px rgba(255, 199, 0, 0.35);
}

.event-date-box .day { font-size: 24px; font-weight: 800; line-height: 1; }
.event-date-box .month { font-size: 11px; font-weight: 700; text-transform: uppercase; }

/* ============================================================
   ACHIEVEMENT CARDS
   ============================================================ */
.achievement-card {
    text-align: center;
    padding: 32px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.achievement-avatar {
    width: 100px; height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid #f59e0b;
    object-fit: cover;
    box-shadow: 0 0 0 6px rgba(255, 199, 0, 0.15);
}

.achievement-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: #0f172a; }
.achievement-title { font-size: 13px; color: #d97706; font-weight: 600; margin-bottom: 8px; }
.achievement-cat {
    display: inline-block;
    padding: 3px 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 11px;
    color: #64748b;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    color: #0f172a;
    font-family: var(--font-main);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: #f59e0b;
    background: #fffdf5;
    box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.25);
}

.form-control::placeholder { color: #94a3b8; }

select.form-control option { background: #ffffff; color: #0f172a; }

textarea.form-control { resize: vertical; min-height: 120px; }

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.form-check input[type="checkbox"] { accent-color: var(--yellow); width: 18px; height: 18px; }

.invalid-feedback { color: #ff5252; font-size: 12px; margin-top: 4px; }
.is-invalid { border-color: #ff5252 !important; }

/* ============================================================
   ANNOUNCEMENTS TICKER
   ============================================================ */
.announcements-bar {
    background: linear-gradient(90deg, #D97706 0%, #FFC700 25%, #FFE500 50%, #FFC700 75%, #D97706 100%);
    padding: 10px 0;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(255, 199, 0, 0.35);
    border-bottom: 2px solid var(--red);
    margin-top: 76px;
    position: relative;
    z-index: 99;
}

.announcements-bar + .hero {
    padding-top: 30px;
}

.ticker-wrap {
    display: flex;
    align-items: center;
    gap: 0;
}

.ticker-label {
    background: var(--red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 5px 16px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 2px 10px rgba(229, 9, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ticker-content {
    overflow: hidden;
    flex: 1;
}

.ticker-inner {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    color: #120700;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ticker-item::before {
    content: '◆';
    margin-right: 8px;
    color: var(--red);
    opacity: 0.9;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flash {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(20px);
    border: 1px solid;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    max-width: 380px;
}

.flash-success { background: rgba(39, 174, 96, 0.15); border-color: rgba(39, 174, 96, 0.4); color: #166534; }
.flash-error { background: rgba(231, 76, 60, 0.15); border-color: rgba(231, 76, 60, 0.4); color: #991b1b; }
.flash-warning { background: rgba(241, 196, 15, 0.15); border-color: rgba(241, 196, 15, 0.4); color: #854d0e; }
.flash-info { background: rgba(52, 152, 219, 0.15); border-color: rgba(52, 152, 219, 0.4); color: #1e40af; }

/* ============================================================
   PAGE HERO (Inner pages)
   ============================================================ */
.page-hero {
    padding: 160px 0 80px;
    background: #fff;
    border-bottom: 1px solid #fde047;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    display: none;
}

.page-hero-content { position: relative; z-index: 1; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumb a { color: #d97706; }
.breadcrumb span { color: #64748b; }

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 16px;
    color: #0f172a;
}

.page-desc {
    font-size: 17px;
    color: #475569;
    max-width: 600px;
    line-height: 1.7;
}

/* ============================================================
   ALUMNI CARDS (Directory)
   ============================================================ */
.alumni-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.alumni-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2px solid var(--yellow);
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(255, 199, 0, 0.25);
    background: #fef08a;
}

.alumni-avatar-initials {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef08a, #ffc700);
    border: 2px solid var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: #92400e;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(255, 199, 0, 0.25);
}

.alumni-avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef08a, #ffc700);
    border: 4px solid var(--yellow);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    font-weight: 800;
    color: #92400e;
    box-shadow: 0 4px 20px rgba(255, 199, 0, 0.2);
}

.alumni-info { flex: 1; min-width: 0; }
.alumni-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.alumni-name a { color: #0f172a; }
.alumni-name a:hover { color: #d97706; }
.alumni-dept { font-size: 13px; color: #d97706; margin-bottom: 6px; }

.alumni-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.alumni-tag {
    padding: 2px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 11px;
    color: #64748b;
}

/* ============================================================
   SEARCH BOX
   ============================================================ */
.search-box {
    background: #ffffff;
    backdrop-filter: blur(20px);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.search-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    align-items: end;
}

/* ============================================================
   FOOTER (REDESIGNED ULTRA-PREMIUM)
   ============================================================ */
.footer {
    background: linear-gradient(180deg, #150904 0%, #0c0502 60%, #060201 100%);
    position: relative;
    margin-top: 70px;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(234, 179, 8, 0.28);
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.2);
}

.footer-cta {
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.1) 0%, rgba(217, 119, 6, 0.06) 50%, rgba(234, 179, 8, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 32px 0;
}

.footer-cta-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-cta-text h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-cta-text p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.footer-cta-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 56px 24px 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.1fr 1.6fr;
    gap: 36px;
    margin-bottom: 44px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    padding: 2px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    border: 2px solid var(--yellow);
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-title-main {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.footer-title-sub {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--yellow-bright, #fbbf24);
    letter-spacing: 1.2px;
}

.footer-brand-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 16px;
}

.footer-regd-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.22);
    border-radius: 6px;
    font-size: 12px;
    color: #fde047;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-social-row {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow-bright, #fbbf24);
    font-size: 14px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.footer-social-btn:hover {
    background: linear-gradient(135deg, var(--yellow-bright), var(--yellow));
    color: #1a0800;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.45);
    border-color: var(--yellow);
}

.footer-col h4.footer-heading {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--yellow, #eab308);
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links-list li a i {
    font-size: 9px;
    color: var(--yellow, #eab308);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.footer-links-list li a:hover {
    color: var(--yellow-bright, #fbbf24);
    transform: translateX(4px);
}

.footer-links-list li a:hover i {
    opacity: 1;
    transform: translateX(2px);
}

.footer-contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--yellow);
    border-radius: 8px;
    padding: 18px 20px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    margin-bottom: 14px;
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-item i {
    color: var(--yellow, #eab308);
    font-size: 14px;
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
    text-align: center;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-contact-item a:hover {
    color: var(--yellow-bright, #fbbf24);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--yellow-bright, #fbbf24);
}

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

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-cta-buttons {
        width: 100%;
    }
    .footer-cta-buttons .btn {
        flex: 1;
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.page-link {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.page-link:hover, .page-link.active {
    background: linear-gradient(135deg, var(--yellow-bright), var(--yellow));
    color: #120700;
    border-color: var(--yellow);
    box-shadow: 0 4px 12px rgba(255, 199, 0, 0.4);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 199, 0, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(255, 199, 0, 0); }
}

.animate-fade-in { animation: fadeInUp 0.6s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-gold { color: var(--yellow-bright) !important; }
.text-yellow { color: var(--yellow-bright) !important; }
.text-red { color: var(--red-bright) !important; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.p-4 { padding: 24px; }
.w-100 { width: 100%; }

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow), var(--red), transparent);
    margin: 60px 0;
    opacity: 0.7;
}

.glass-card {
    background: #ffffff;
    backdrop-filter: blur(16px);
    border: 1px solid #fde047;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
}

/* Profile Avatar Default */
.avatar-default {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fef08a, #ffc700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: #92400e;
    border-radius: inherit;
}

/* Table styles */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid #fde047;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

thead th {
    padding: 14px 16px;
    background: #fef9c3;
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 2px solid #fde047;
}

tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition);
}

tbody tr:hover { background: #fffdf0; }

tbody td {
    padding: 14px 16px;
    color: #334155;
    vertical-align: middle;
}

/* Badge status */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-gold { background: #fef9c3; color: #92400e; border: 1px solid #fde047; }
.badge-yellow { background: #fef9c3; color: #92400e; border: 1px solid #fde047; }
.badge-red { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.badge-blue { background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; }
.badge-success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.badge-danger { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.badge-warning { background: #fef9c3; color: #92400e; border: 1px solid #fde047; }
.badge-info { background: #fef08a; color: #854d0e; border: 1px solid #facc15; }
.badge-secondary { background: #f1f5f9; color: var(--text-muted); border: 1px solid #e2e8f0; }

/* ============================================================
   RESPONSIVE DESIGN SYSTEM & FLUID LAYOUTS
   ============================================================ */
/* Universal Responsive Layout Helpers */
.layout-sidebar-right {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.layout-sidebar-left {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
}

.portal-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

.layout-split-50 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: left;
}

.admin-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.detail-section-offset {
    margin-top: -60px;
}

@media (max-width: 768px) {
    .detail-section-offset {
        margin-top: 0;
    }
}

/* Table Responsive Scrolling Container */
.table-wrap, .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm, 8px);
    margin-bottom: 16px;
    position: relative;
}

.table-wrap table, .table-responsive table {
    width: 100%;
    min-width: 580px;
}

/* Tablet & Medium Screens Breakpoint (<= 1024px) */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    
    .navbar {
        position: sticky !important;
        top: 0;
        z-index: 1000;
    }

    .announcements-bar {
        margin-top: 0 !important;
    }

    /* Switch navigation menu to mobile drawer on tablets to prevent wrapping */
    .nav-menu {
        display: none !important;
    }

    .nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background: rgba(254, 240, 138, 0.4) !important;
        border: 1px solid rgba(234, 179, 8, 0.45) !important;
        color: #92400e !important;
        font-size: 18px;
        cursor: pointer;
        transition: var(--transition);
    }

    .nav-toggle:active {
        transform: scale(0.92);
    }
}

/* Phablets & Large Mobiles Breakpoint (<= 992px) */
@media (max-width: 992px) {
    .layout-sidebar-right,
    .layout-sidebar-left,
    .portal-layout-grid,
    .admin-two-cols {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Disable fixed sticky on mobile so sidebars flow naturally */
    .layout-sidebar-right > [style*="position: sticky"],
    .layout-sidebar-left > [style*="position: sticky"],
    .portal-layout-grid > aside,
    .sticky-sidebar {
        position: static !important;
        top: auto !important;
    }

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

/* Smartphones & Small Tablets Breakpoint (<= 768px) */
@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-buttons { justify-content: center; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .grid-2, .layout-split-50 { grid-template-columns: 1fr; }
    .home-steps-grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
    .search-grid { grid-template-columns: 1fr; }
    .announcements-bar { margin-top: 0 !important; }
    .leadership-section { padding: 26px 0 32px !important; }
    .leadership-card { grid-template-columns: 1fr; padding: 24px 18px; gap: 20px; text-align: center; }
    .page-hero { padding: 40px 0 32px !important; }
    .page-title { font-size: clamp(1.75rem, 6vw, 2.3rem) !important; }
    .section { padding: 40px 0 !important; }
    .section-header { margin-bottom: 30px; }
    
    .breadcrumb {
        flex-wrap: wrap;
        font-size: 12px;
        gap: 6px;
    }
}

/* Small Smartphone Breakpoint (<= 640px) */
@media (max-width: 640px) {
    .grid-4, .grid-3, .form-grid-2, .form-grid-3 { grid-template-columns: 1fr !important; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
    .container { padding: 0 16px; }
    .card-body { padding: 18px 16px; }
    .search-box { padding: 20px 16px; border-radius: 18px; }
    .alumni-card { padding: 16px; gap: 12px; }
    .btn { padding: 10px 22px; font-size: 13.5px; }
    .btn-lg { padding: 12px 24px; font-size: 14px; width: 100%; justify-content: center; }
}

/* Extra Small Devices (<= 480px) */
@media (max-width: 480px) {
    .hero-stats { grid-template-columns: 1fr; gap: 10px; }
    .hero-stats .stat-item { padding: 14px; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
    .nav-brand { gap: 8px; }
    .nav-logo { width: 36px; height: 36px; }
    .nav-title-main { font-size: 12px !important; }
    .nav-title-sub { font-size: 9px !important; }
    .ticker-wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
    .ticker-label { margin-right: 0; font-size: 10px; padding: 4px 10px; }
}

/* ============================================================
   GALLERY COMPONENT STYLES
   ============================================================ */
.gallery-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-6px);
    border-color: #fde047;
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.18);
}

.gallery-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0f172a;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-img-wrap img {
    transform: scale(1.08);
}

.gallery-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fef08a;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 199, 0, 0.3);
}

.gallery-zoom-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.gallery-card:hover .gallery-zoom-overlay {
    opacity: 1;
}

.gallery-zoom-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 199, 0, 0.95);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transform: scale(0.85);
    transition: transform 0.25s ease;
}

.gallery-card:hover .gallery-zoom-btn {
    transform: scale(1);
}

.gallery-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.gallery-card:hover .gallery-title {
    color: #b45309;
}

/* ============================================================
   MOBILE APP USER EXPERIENCE (PWA & NATIVE APP FEEL)
   ============================================================ */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Hide all mobile app components on desktop screens by default */
.mobile-tab-bar,
.mobile-fab-btn,
.mobile-drawer,
.mobile-drawer-backdrop {
    display: none !important;
}

/* Enabled on tablet & mobile screens (max-width: 1024px) */
@media (max-width: 1024px) {
    /* Off-canvas App Navigation Drawer (Slide-in on Mobile & Tablet) */
    .mobile-drawer-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.72);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 10001;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
        display: block !important;
    }

    .mobile-drawer-backdrop.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-drawer {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: 86%;
        max-width: 350px;
        height: 100%;
        height: 100dvh;
        background: #0f0703;
        border-left: 1px solid rgba(234, 179, 8, 0.3);
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.65);
        z-index: 10002;
        -webkit-transform: translateX(105%);
        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;
        transition: -webkit-transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s;
        display: flex !important;
        flex-direction: column;
        overflow: hidden;
    }

    .mobile-drawer.open {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }
}

/* Enabled ONLY on smartphone screens (max-width: 768px) */
@media (max-width: 768px) {
    body:not(.admin-body) {
        padding-bottom: 74px !important;
    }

    /* Tactile Tap Response on Mobile */
    .btn:active, 
    .card:active, 
    .feature-card:active, 
    .mobile-tab-item:active, 
    .drawer-link:active,
    .mobile-fab-btn:active {
        transform: scale(0.96) !important;
        transition: transform 0.1s ease !important;
    }

    /* Fixed App Header */
    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(234, 179, 8, 0.35) !important;
        box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    }

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

    .nav-logo-img {
        width: 38px;
        height: 38px;
    }

    .nav-title-main {
        font-size: 13px !important;
        color: #0f172a !important;
        font-weight: 800 !important;
    }

    .nav-title-sub {
        font-size: 10px !important;
        color: #b45309 !important;
        font-weight: 700 !important;
    }

    /* Fixed Bottom App Navigation Bar */
    .mobile-tab-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(14, 7, 4, 0.95) !important;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-top: 1px solid rgba(234, 179, 8, 0.25);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
        display: flex !important;
        align-items: center;
        justify-content: space-around;
        padding: 4px 8px env(safe-area-inset-bottom);
        z-index: 9999;
    }

    .mobile-tab-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.55);
        font-size: 10.5px;
        font-weight: 600;
        letter-spacing: 0.2px;
        padding: 6px 0;
        border-radius: 8px;
        transition: all 0.2s ease;
        position: relative;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .mobile-tab-item i {
        font-size: 19px;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .mobile-tab-item.active, 
    .mobile-tab-item:hover {
        color: var(--yellow-bright, #fbbf24);
    }

    .mobile-tab-item.active i {
        transform: translateY(-2px);
        color: var(--yellow-bright, #fbbf24);
        filter: drop-shadow(0 2px 8px rgba(250, 204, 21, 0.5));
    }

    .mobile-tab-item.active::after {
        content: '';
        position: absolute;
        bottom: 2px;
        width: 16px;
        height: 3px;
        background: var(--yellow-bright, #fbbf24);
        border-radius: 3px;
        box-shadow: 0 1px 6px rgba(250, 204, 21, 0.6);
    }

    /* Floating Quick Scroll to Top */
    .mobile-fab-btn {
        position: fixed;
        bottom: 78px;
        right: 18px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: linear-gradient(135deg, #fbbf24, #d97706);
        color: #1a0800;
        box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        z-index: 9990;
        border: 2px solid rgba(255, 255, 255, 0.2);
        cursor: pointer;
        opacity: 0;
        transform: scale(0.7);
        pointer-events: none;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-fab-btn.visible {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }
}

.drawer-header {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-logo-img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    border: 2px solid #eab308;
    object-fit: contain;
    flex-shrink: 0;
}

.drawer-title-main {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.drawer-title-sub {
    font-size: 10.5px;
    font-weight: 700;
    color: #fbbf24;
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.drawer-close-btn:hover {
    background: rgba(234, 179, 8, 0.2);
    color: #fbbf24;
    transform: rotate(90deg);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
    scrollbar-width: none;
}

.drawer-body::-webkit-scrollbar {
    display: none;
}

.drawer-user-card {
    background: linear-gradient(135deg, rgba(254, 240, 138, 0.1), rgba(217, 119, 6, 0.05));
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.drawer-nav-section-title {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 16px 8px 8px;
}

.drawer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.drawer-link:hover, .drawer-link.active {
    background: rgba(234, 179, 8, 0.12);
    color: #fbbf24;
}

.drawer-link-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-link-left i {
    width: 20px;
    font-size: 15px;
    color: #fbbf24;
    text-align: center;
}

.drawer-badge {
    font-size: 10px;
    font-weight: 700;
    background: rgba(234, 179, 8, 0.2);
    color: #fbbf24;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.drawer-sublinks {
    list-style: none;
    padding: 4px 0 6px 36px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-sublink {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.drawer-sublink:hover, .drawer-sublink.active {
    color: #fbbf24;
    background: rgba(255, 255, 255, 0.04);
}

.drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

/* ============================================================
   BUAA Premium Pagination System
   ============================================================ */
.buaa-pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    font-family: var(--font-main, 'Outfit', sans-serif);
}

.buaa-pagination-info {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
}

.buaa-pagination-info .font-bold {
    font-weight: 700;
    color: #0f172a;
}

.buaa-pagination-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.buaa-page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.buaa-page-btn:hover:not(.buaa-page-disabled):not(.buaa-page-dots) {
    background: #fefce8;
    border-color: #facc15;
    color: #b45309;
    transform: translateY(-1px);
}

.buaa-page-btn.buaa-page-active {
    background: linear-gradient(135deg, #facc15 0%, #eab308 50%, #ca8a04 100%);
    border-color: #ca8a04;
    color: #1e1b4b;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(202, 138, 4, 0.35);
}

.buaa-page-btn.buaa-page-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.buaa-page-btn.buaa-page-dots {
    border: none;
    background: transparent;
    cursor: default;
    color: #94a3b8;
    min-width: 24px;
    padding: 0;
    box-shadow: none;
}

/* Safety against any unstyled pagination SVG expansion */
nav[role="navigation"] svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

@media (max-width: 640px) {
    .buaa-pagination-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px 12px;
    }
    .buaa-pagination-links {
        justify-content: center;
    }
}

/* ============================================================
   BUAA Action Dropdown Tray
   ============================================================ */
.action-dropdown {
    position: relative;
    display: inline-block;
    text-align: left;
}

.action-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    font-family: inherit;
    white-space: nowrap;
}

.action-dropdown-btn:hover,
.action-dropdown.open .action-dropdown-btn {
    background: #fefce8;
    border-color: #facc15;
    color: #b45309;
    box-shadow: 0 2px 8px rgba(250, 204, 21, 0.3);
}

.action-dropdown-btn .chevron-icon {
    font-size: 9.5px;
    transition: transform 0.2s ease;
    color: #64748b;
}

.action-dropdown.open .action-dropdown-btn .chevron-icon {
    transform: rotate(180deg);
    color: #b45309;
}

.action-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 175px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    padding: 6px;
    z-index: 100;
    display: none;
    box-sizing: border-box;
}

.action-dropdown-menu.dropup {
    top: auto;
    bottom: calc(100% + 6px);
}

.action-dropdown.open .action-dropdown-menu {
    display: block;
    animation: actionFadeDown 0.15s ease-out;
}

.action-dropdown.open .action-dropdown-menu.dropup {
    display: block;
    animation: actionFadeUp 0.15s ease-out;
}

.action-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.action-dropdown-item:hover {
    background: #f8fafc;
    color: #0f172a;
}

.action-dropdown-item i {
    font-size: 13px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.action-dropdown-item.item-view:hover { background: #fefce8; color: #b45309; }
.action-dropdown-item.item-edit:hover { background: #eff6ff; color: #1d4ed8; }
.action-dropdown-item.item-card:hover { background: #f0fdf4; color: #15803d; }
.action-dropdown-item.item-approve:hover { background: #ecfdf5; color: #047857; }
.action-dropdown-item.item-toggle:hover { background: #fff7ed; color: #c2410c; }
.action-dropdown-item.item-delete:hover { background: #fef2f2; color: #b91c1c; }

.action-dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 4px 0;
}



