:root {
    --brand-blue: #eb161d;
    /* primary red */
    --deep-blue: #8b0c11;
    /* darker red */
    --text-blue: #5e0b0f;
    /* dark red text */
    --soft-blue: #ffecec;
    /* light red background */
    --ring: #e6ecf3;
    --muted: #6b7c95;
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #0f2238;
    background: #fff;
    padding-top: 70px;
}

/* ====== Header (Fixed) ====== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.navbar {
    padding: .6rem 0;
}

.navbar-brand img {
    height: 38px;
    width: auto;
}

/* Navbar links */
.navbar-nav .nav-link {
    font-weight: 600;
    color: #111;
    padding: 0 .75rem;
    position: relative;
    transition: color .25s ease;
}

/* Active link + underline */
.navbar-nav .nav-link.active {
    color: var(--brand-blue) !important;
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-blue);
    border-radius: 2px;
}

/* Hover */
.navbar-nav .nav-link:hover {
    color: var(--brand-blue);
}

/* Toggler icon (ensure visible) */
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Download Admit Card button */
.btn-login {
    background: var(--brand-blue);
    color: #fff;
    border-radius: .6rem;
    padding: .45rem 1.1rem;
    font-weight: 600;
    transition: background .25s ease, filter .25s ease;
}

.btn-login:hover {
    color: #fff;
    filter: brightness(.95);
}

.btn-login.active {
    background: var(--deep-blue);
    color: #fff !important;
}

/* Hide desktop button on mobile (we show a mobile version inside the collapsed menu) */
@media (max-width:768px) {
    .btn-login.d-lg-inline-block {
        display: none !important;
    }
}

/* Mobile menu spacing (stacked) */
@media (max-width:991.98px) {
    .navbar-nav .nav-link {
        padding: .6rem 0;
        display: block;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    /* optional: no underline in stacked list */
}

/* Hero */
.subhero {
    background: linear-gradient(180deg, #eb161d 0%, #a60f15 100%);
    color: #fff;
    padding: 28px 12px
}

.subhero .container {
    max-width: 1180px
}

.hero-flex {
    display: flex;
    align-items: center;
    gap: 18px
}

.subhero h1 {
    margin: 0;
    font-weight: 800;
    font-size: clamp(26px, 3.6vw, 42px);
    letter-spacing: .2px
}

.badge-logo {
    width: clamp(56px, 7vw, 90px);
    height: auto;
    border-radius: 10px
}

/* FAQ section */
.faqs {
    padding: 26px 16px 60px
}

.wrap {
    max-width: 1000px;
    margin: 0 auto
}

.faq-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--brand-blue);
    font-size: clamp(20px, 2.4vw, 26px);
    margin-bottom: 14px
}

.faq-title .tick {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--soft-blue);
    display: grid;
    place-items: center;
    color: var(--brand-blue);
    font-weight: 900
}

.faq-list details {
    border: 1px solid var(--ring);
    border-radius: 10px;
    background: #fff;
    margin: 10px 0;
    overflow: hidden
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px 12px 42px;
    position: relative;
    font-weight: 800;
    color: var(--brand-blue);
    background: #fff5f5
}

.faq-list summary::-webkit-details-marker {
    display: none
}

.faq-list summary:before {
    content: "›";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 22px;
    color: var(--brand-blue);
    font-weight: 900
}

.faq-list details[open] summary:before {
    transform: translateY(-50%) rotate(270deg)
}

.faq-list .answer {
    padding: 12px 16px;
    border-top: 1px solid var(--ring);
    color: var(--text-blue);
    line-height: 1.65
}

.faq-list a {
    color: var(--brand-blue);
    text-decoration: none
}

.faq-list a:hover {
    text-decoration: underline
}

.contact-card {
    margin-top: 14px;
    border: 1px dashed var(--ring);
    border-radius: 10px;
    background: #fff5f5;
    padding: 12px 16px;
    color: var(--deep-blue)
}

/* Footer */
.site-footer {
    width: 100%;
    background: linear-gradient(180deg, #a60f15 0%, #8b0c11 55%, #70090d 100%);
    color: #fff;
    padding: 18px 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08)
}

.footer-wrap {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center
}

.site-footer p {
    margin: 4px 0;
    font-weight: 600;
    letter-spacing: .2px;
    font-size: clamp(12px, 1.25vw, 18px)
}