@import url("https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap");

/* =========================
   DESIGN TOKENS (GLOBAL)
========================= */

:root {

    /* Brand Colors */
    --color-button: #07163b;
    --color-accent: #f08b10;
    --color-heading: #0d1a3b;
    --color-highlight: #f2c170;
    --color-bridge: #6b7280;
    --color-icon: #f08b10;
    --layout-max-width: 100vw;
    --layout-padding: clamp(100px, 2vw, 170px);
    --color-section-neutral: #f7f7fb;

    /* Font */
    --font-base: "Hind Siliguri", sans-serif;
    --font-size-h1: 44px;
    --font-size-h2: 36px;
    --font-size-h3: 30px;
    --font-size-subheading: 24px;
    --font-size-body: 18px;
    --font-size-body-sm: 16px;
    --font-size-caption: 14px;
}

@media (min-width: 768px) and (max-width: 1199px) {
    :root {
        --layout-padding: 48px;
        --font-size-h1: 40px;
        --font-size-h2: 32px;
        --font-size-h3: 26px;
        --font-size-subheading: 22px;
        --font-size-body: 18px;
        --font-size-body-sm: 16px;
    }
}

@media (max-width: 767px) {
    :root {
        --layout-padding: 16px;
        --font-size-h1: 34px;
        --font-size-h2: 28px;
        --font-size-h3: 22px;
        --font-size-subheading: 20px;
        --font-size-body: 16px;
        --font-size-body-sm: 14px;
    }
}

/* =========================
   GLOBAL TYPOGRAPHY
========================= */

html {
    font-family: var(--font-base);
    scroll-behavior: smooth;
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

.btn {
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background-color: var(--color-button);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-base);
    font-weight: 700;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(13, 26, 59, 0.15);
}

.btn span {
    font-size: 22px;
    line-height: 1;
}

body {
    margin: 0;
    overflow-y: scroll;
}

.page-container {
    max-width: 100vw;
    margin: 0 auto;
    padding-left: var(--layout-padding);
    padding-right: var(--layout-padding);
}

/* =========================
   HEADER SYSTEM
========================= */

.top-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--color-highlight);
    height: 68px;
}

/* ----- Logo ----- */
.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.student-portal-nav {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.student-portal-nav a {
    text-decoration: none;
    color: var(--color-bridge);
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
    padding: 6px 2px;
}

.student-portal-nav a:hover {
    color: var(--color-heading);
}




.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-heading);
    text-decoration: none;
}

.logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* ----- Navigation ----- */

.header-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 28px;
    font-size: 20px;
}

.header-nav a {
    text-decoration: none;
    color: var(--color-bridge);
    font-weight: 500;
    transition: color 0.2s ease;
}

.header-nav a:hover {
    color: var(--color-heading);
}

/* ----- Right Section ----- */

.header-right {
    display: flex;
    align-items: center;
}

/* ----- Button Variant ----- */

.btn--sm {
    min-height: 40px;
    padding: 0 18px;
    font-size: 18px;
}

/* ----- Menu Toggle ----- */

.header-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-highlight);
    border-radius: 10px;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.header-menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--color-heading);
    display: block;
}

/* ----- Panel Layout ----- */

.header-menu-panel {
    display: flex;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .logo {
        font-size: 18px;
    }

    .header-nav {
        gap: 20px;
        font-size: 18px;
    }

    .student-portal-nav a {
        font-size: 18px;
    }

    .btn {
        font-size: 18px;
    }

    .btn--sm {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .header-inner {
        height: 64px;
    }

    .top-header {
        height: 64px;
    }

    .logo {
        font-size: 18px;
        gap: 8px;
    }

    .logo img {
        width: 28px;
        height: 28px;
    }

    .header-menu-toggle {
        display: inline-flex;
    }

    .header-menu-panel {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: #ffffff;
        border: 1px solid var(--color-highlight);
        border-radius: 12px;
        padding: 14px;
        box-shadow: 0 12px 28px rgba(13, 26, 59, 0.14);
        z-index: 1200;
    }

    .top-header.menu-open .header-menu-panel {
        display: block;
    }

    .header-nav {
        position: static;
        left: auto;
        transform: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: 16px;
        margin-bottom: 10px;
    }

    .header-right .btn {
        width: 100%;
        min-height: 40px;
        font-size: 16px;
    }

    .student-portal-nav a {
        font-size: 16px;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    margin-top: 72px;
    padding: 56px var(--layout-padding) 30px;
    background:
        radial-gradient(1200px 220px at 12% -15%, rgba(59, 130, 246, 0.14), transparent 62%),
        radial-gradient(900px 180px at 88% -18%, rgba(168, 85, 247, 0.12), transparent 64%),
        #0b1634;
    color: #dde8ff;
    font-family: var(--font-base);
    font-size: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-inner {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 42px;
}

.footer-brand {
    display: grid;
    gap: 14px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 22px;
    color: #ffffff;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-brand p {
    margin: 0;
    max-width: 460px;
    color: #c6d5f5;
    line-height: 1.62;
    font-size: 17px;
}

.footer-col h3 {
    margin: 0 0 14px;
    font-size: 15px;
    color: #f7fbff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: #c7d8ff;
    font-size: 20px;
    line-height: 1.3;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-pin svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    display: block;
}

.footer-bottom {
    max-width: 100%;
    margin: 34px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(203, 213, 245, 0.22);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: #aebfe4;
    font-size: 16px;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: 38px var(--layout-padding) 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-logo {
        font-size: 20px;
    }

    .footer-links a {
        font-size: 18px;
    }

    .footer-bottom {
        font-size: 14px;
        gap: 8px;
    }
}

