:root {
    --primary: #002472;
    --secondary: #020c56;
    --gold: #d4a574;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f5f7fb;
    --white: #ffffff;
    --border: #e8ebf1;
    --shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(180deg, #f7f9fc 0%, #eef4fb 100%);
}

.container-fluid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 9px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
}

.top-bar-info i {
    font-size: 11px;
    color: var(--gold);
}

.top-bar-right {
    display: flex;
    gap: 18px;
    align-items: center;
}

.top-bar-right a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    padding: 3px 0;
    position: relative;
}

.top-bar-right a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.top-bar-right a:hover::after {
    width: 100%;
}

.top-bar-right a i {
    font-size: 11px;
    color: var(--gold);
}

/* ============================================
   HEADER & NAVBAR STICKY WRAPPER
   ============================================ */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: var(--white);
    transition: box-shadow 0.3s ease;
}

.sticky-header-wrapper.scrolled {
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.15);
}

.header {
    background: var(--white);
    padding: 10px 0;
    border-bottom: 3px solid var(--primary);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 36, 114, 0.15));
    transition: var(--transition);
}

.header-logo img:hover {
    transform: scale(1.03);
}

.header-text {
    flex-grow: 1;
}

.header-text h1 {
    font-family: 'Cooper Black', 'Georgia', serif;
    font-size: 25px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.25;
    letter-spacing: 0.2px;
}

.header-subtitle {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 2px;
}

.header-info {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 2px;
}

.header-accreditation {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 400;
}

.header-accreditation strong {
    color: var(--text-dark);
    font-weight: 600;
}

.header-accreditation-logos {
    display: flex;
    align-items: center;
    gap: 44px;
    flex-shrink: 0;
}

.logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    transition: var(--transition);
}

.logo-card:hover {
    transform: translateY(-2px);
}

.naac-card {
    position: relative;
    top: 0px;
    left: 0px;
}

.naac-card img {
    height: 94px;
    width: auto;
    object-fit: contain;
}

.nba-card {
    position: relative;
    top: -3px;
}

.nba-card img {
    height: 68px;
    width: auto;
    object-fit: contain;
}

.nba-subtext {
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    white-space: nowrap;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--secondary);
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-item>a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 16px 17px;
    color: var(--white);
    font-weight: 600;
    font-size: 13.5px;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    text-decoration: none;
}

.nav-item>a:hover,
.nav-item>a.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 10px;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
    transition: var(--transition);
    flex-shrink: 0;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.04);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-16px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
}

.hero-banner {
    width: 100%;
    max-height: 360px;
    overflow: hidden;
    background: linear-gradient(135deg, #e6eef8, #f8fbff);
}

.hero-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.4rem 1rem 2.5rem;
}

.home-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 1.3rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.home-content {
    padding: 1.2rem 1.25rem 1.35rem;
}

.home-content h2 {
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.home-content p {
    color: var(--text-light);
}

.content-card {
    background: var(--white);
    border-radius: 18px;
    padding: 1.4rem 1.2rem;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.content-card h2 {
    color: var(--primary);
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    border-left: 4px solid var(--gold);
    padding-left: 0.8rem;
}

section h3 {
    color: var(--secondary);
    font-size: 1.05rem;
    margin-top: 1rem;
    margin-bottom: 0.45rem;
}

.info-list {
    margin-top: 0.8rem;
}

p,
ul {
    font-size: 0.97rem;
    color: var(--text-dark);
}

ul {
    padding-left: 1.2rem;
}

ul li {
    margin-bottom: 0.45rem;
}

.highlight-box {
    background: #fff8e1;
    border-left: 4px solid var(--gold);
    border: 1px solid #f3d9a4;
    padding: 1rem 1.1rem;
    border-radius: 10px;
    margin: 1rem 0;
    font-weight: 600;
    color: #5c3a00;
}

.table-wrap {
    overflow-x: auto;
    margin-top: 0.8rem;
}

.member-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
}

.member-table th,
.member-table td {
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--border);
    text-align: left;
}

.member-table th {
    background: var(--primary);
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.82rem;
}

.member-table tr:nth-child(even) {
    background: #f8fbff;
}

.workshop-list {
    display: grid;
    gap: 0.8rem;
    margin: 0.8rem 0 1rem;
}

.workshop-item {
    background: #f8fbff;
    border-left: 4px solid var(--gold);
    padding: 0.9rem 1rem;
    border-radius: 10px;
}

.year-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 1.2rem;
}

.year-btn {
    display: inline-block;
    text-decoration: none;
    background: #f2f6fb;
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.year-btn:hover,
.year-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.year-box {
    display: none;
    padding: 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fbff, #eef4ff);
    border: 1px solid var(--border);
}

.year-box.active {
    display: block;
}

.year-box h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.achievement-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    background: var(--white);
    border-left: 4px solid var(--primary);
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
}

.achievement-item p {
    margin: 0;
}

.events-marquee {
    overflow: hidden;
    padding: 0.2rem 0;
}

.events-track {
    display: flex;
    width: max-content;
    animation: scroll-left 24s linear infinite;
}

.events-group {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    padding-right: 1rem;
}

.event-card {
    width: 240px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateX(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.event-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.event-card h3 {
    margin: 0.8rem 0.9rem 0.35rem;
    color: var(--primary);
    font-size: 0.96rem;
}

.event-date {
    margin: 0 0.9rem 0.9rem;
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

th,
td {
    padding: 0.8rem 0.75rem;
    border: 1px solid var(--border);
    text-align: left;
}

th {
    background: var(--primary);
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.9rem;
}

tr:nth-child(even) {
    background: #f9fbff;
}

.year-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.year-btn {
    display: inline-block;
    text-decoration: none;
    background: var(--primary);
    color: var(--white);
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    transition: var(--transition);
}

.year-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.contact-info p {
    margin: 0.25rem 0;
}

.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 25px 20px;
    font-size: 14px;
    line-height: 1.6;
}

.footer p {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin: 4px 0;
}

.footer .gold-text {
    color: var(--gold);
    font-weight: 600;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .event-card {
        width: 220px;
    }

    .year-selector {
        gap: 0.5rem;
    }
}

@media (max-width: 991px) {
    .top-bar {
        display: none;
    }

    .header {
        padding: 8px 0;
    }

    .header-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .header-logo img {
        width: 70px;
    }

    .header-text h1 {
        font-size: 20px;
        line-height: 1.25;
    }

    .header-subtitle {
        font-size: 13.5px;
    }

    .header-info,
    .header-accreditation {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .header-accreditation-logos {
        justify-content: center;
        gap: 32px;
        margin-top: 4px;
    }

    .naac-card {
        top: 0;
        left: 0;
    }

    .naac-card img {
        height: 80px;
    }

    .nba-card img {
        height: 50px;
    }

    .nba-subtext {
        font-size: 9px;
    }

    .hamburger {
        display: flex;
        margin: 8px 0;
    }

    .nav-container {
        width: 100%;
        justify-content: flex-end;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        background: #001d72;
        flex-direction: column;
        overflow-y: auto;
        transition: .3s;
        z-index: 99999;
        justify-content: flex-start;
        align-items: stretch;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item>a {
        padding: 16px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }
}