* {
    box-sizing: border-box;
}

:root {
    --blue: #005baa;
    --dark: #123a7a;
    --red: #e31e24;
    --orange: #f58220;
    --text: #1f2f46;
    --muted: #53657a;
    --line: #d5e3ef;
    --soft: #f3f8fd;
    --font-main: Arial, Helvetica, sans-serif;
    --detail-sticky-offset: calc(var(--topbar-height, 0px) + var(--header-height, 0px) + 16px);
}

body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: var(--font-main);
    font-optical-sizing: auto;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    line-height: 1.65;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

a {
    color: var(--blue);
    text-decoration: none;
}

.top-header {
    background: linear-gradient(90deg, var(--dark), var(--blue) 62%, var(--red));
    color: #fff;
    padding: .4rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    font-size: .82rem;
}

.top-header-left,
.top-header-right {
    display: flex;
    gap: .8rem 1.4rem;
    align-items: center;
    flex-wrap: nowrap;
}

.top-header-left {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.top-header-left span {
    white-space: nowrap;
}

.top-header-left > span {
    flex: 0 0 auto;
}

.top-announcement {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex: 1 1 260px;
    min-width: 160px;
    overflow: hidden;
}

.top-announcement-icon {
    flex: 0 0 auto;
    font-size: 1rem;
    line-height: 1;
}

.top-announcement-marquee {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.top-announcement-marquee span {
    display: inline-block;
    min-width: 100%;
    padding-left: 100%;
    animation: announcement-marquee 16s linear infinite;
}

@keyframes announcement-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-announcement-marquee span {
        padding-left: 0;
        animation: none;
    }
}

.top-header-right {
    flex: 0 0 auto;
    margin-left: auto;
}

.top-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 999px;
    text-decoration: none;
    padding: .3rem .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.live-indicator {
    position: relative;
    width: .58rem;
    height: .58rem;
    border-radius: 50%;
    background: #21e36f;
    box-shadow: 0 0 0 3px rgba(33, 227, 111, .22), 0 0 12px rgba(33, 227, 111, .72);
    flex: 0 0 auto;
}

.live-indicator::after {
    content: "";
    position: absolute;
    inset: -.35rem;
    border: 1px solid rgba(33, 227, 111, .72);
    border-radius: 50%;
    animation: live-pulse 1.35s ease-out infinite;
}

@keyframes live-pulse {
    0% {
        opacity: .9;
        transform: scale(.55);
    }

    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: .55rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.site-logo {
    display: block;
    width: 170px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--blue);
    font-size: 1.45rem;
    font-weight: 900;
    cursor: pointer;
}

.site-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .15rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.site-nav li {
    position: relative;
}

.site-nav a {
    display: block;
    text-decoration: none;
    padding: .55rem .65rem;
    font-weight: 700;
    font-size: .82rem;
    color: var(--text);
}

.site-nav a:hover,
.site-nav li:hover > a {
    color: var(--blue);
}

.menu-caret {
    color: var(--blue);
    font-size: .72rem;
    margin-left: .18rem;
}

.header-submenu {
    position: absolute;
    left: 50%;
    top: 100%;
    z-index: 1002;
    width: min(760px, calc(100vw - 2rem));
    transform: translateX(-50%);
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
    background: #fff;
    border: 1px solid #b8d2ff;
    border-top: 2px solid var(--red);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0,91,170,.18);
    padding: .9rem;
}

.nav-item-study_abroad .header-submenu,
.nav-item-neet_pg .header-submenu,
.nav-item-neet_ug .header-submenu,
.nav-item-resource .header-submenu {
    left: auto;
    right: 0;
    transform: none;
}

.header-submenu-resource {
    width: min(380px, calc(100vw - 2rem));
    grid-template-columns: 1fr;
}

.site-nav li:hover .header-submenu,
.site-nav li:focus-within .header-submenu,
.site-nav li.is-submenu-open .header-submenu {
    display: grid;
}

.header-submenu a {
    display: flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid #cfd9e3;
    border-radius: 6px;
    padding: .55rem .75rem;
    font-weight: 650;
    background: #fff;
}

.detail-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1rem 1.5rem 3rem;
}

.breadcrumbs {
    display: flex;
    gap: .45rem;
    align-items: center;
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: .9rem;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 1.25rem;
    align-items: start;
}

.detail-page .top-countries {
    background: #f4f8fd;
}

.detail-layout > article {
    min-width: 0;
}

h1 {
    color: var(--blue);
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    line-height: 1.25;
    margin: 0 0 1.1rem;
}

h2 {
    color: var(--blue);
    font-size: clamp(1.45rem, 2.1vw, 1.85rem);
    line-height: 1.25;
    margin: 0 0 .75rem;
}

.hero-image {
    width: 100%;
    aspect-ratio: 16 / 6.2;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--soft);
    display: block;
}

.hero-fallback {
    display: block;
    overflow: hidden;
    min-height: 260px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--soft);
    color: var(--blue);
    font-size: 4rem;
    font-weight: 900;
}

.hero-fallback .country-flag-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
    margin: .9rem 0 1.5rem;
}

.feature-card {
    display: flex;
    gap: .75rem;
    align-items: center;
    min-height: 78px;
    padding: .9rem;
    border-radius: 8px;
    background: var(--soft);
    border: 1px solid var(--line);
    font-weight: 800;
    color: var(--dark);
}

.feature-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
}

.detail-section {
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    scroll-margin-top: 95px;
}

.detail-section p {
    color: #001b3a;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.detail-rich-content h1,
.detail-rich-content h2,
.detail-rich-content h3 {
    color: #001b3a;
    line-height: 1.2;
    margin: 1.15rem 0 .75rem;
}

.detail-rich-content h1 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.detail-rich-content h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.detail-rich-content h3 {
    font-size: 1.18rem;
}

.detail-rich-content ul,
.detail-rich-content ol {
    color: #001b3a;
    line-height: 1.65;
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}

.detail-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.detail-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.25rem;
    background: #fff;
    font-size: .9rem;
}

.detail-rich-content th,
.detail-rich-content td {
    text-align: left;
    vertical-align: top;
    padding: .72rem .78rem;
    border: 1px solid #d8e7f7;
}

.detail-rich-content th {
    color: #001b3a;
    background: #eaf4ff;
    font-weight: 800;
}

.detail-section-image {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 0 0 1rem;
    background: var(--soft);
}

.detail-toc-card {
    margin: 1.2rem 0 1.55rem;
    padding: 1rem 1.1rem 1.15rem;
    border: 1px solid #9aa5b1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31,47,70,.08);
    scroll-margin-top: 95px;
}

.detail-toc-head {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .7rem;
    color: #001b3a;
}

.detail-toc-head strong {
    font-size: .95rem;
}

.detail-toc-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: #ffe8e8;
    color: var(--red);
    font-weight: 900;
}

.detail-toc-head button {
    margin-left: auto;
    color: var(--red);
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: .2rem;
}

.detail-toc-list {
    list-style: none;
    display: grid;
    gap: .45rem;
    margin: 0;
    padding: 0;
    color: #001b3a;
}

.detail-toc-list li {
    margin: 0;
}

.detail-toc-card:not(.is-expanded) .detail-toc-list .is-extra {
    display: none;
}

.detail-toc-card.is-expanded [data-toc-expand] {
    display: none;
}

.detail-toc-list button {
    display: inline-flex;
    gap: .25rem;
    align-items: baseline;
    border: 0;
    padding: 0;
    background: transparent;
    color: #001b3a;
    font-size: .86rem;
    line-height: 1.35;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.detail-toc-list button:hover {
    color: var(--blue);
}

.detail-toc-list span {
    color: #001b3a;
    font-weight: 700;
}

.detail-toc-list .toc-level-2 {
    padding-left: 1.8rem;
}

.detail-toc-list .toc-level-2 button {
    font-size: .8rem;
}

.detail-toc-less {
    display: none;
    margin: 1rem auto 0;
    color: var(--red);
    font-size: .78rem;
    font-weight: 700;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: .2rem;
}

.detail-toc-card.is-expanded .detail-toc-less {
    display: table;
}

.detail-table-wrap {
    overflow-x: auto;
    border: 1px solid #cfd4dc;
    border-radius: 2px;
    margin-top: 1rem;
    scrollbar-width: thin;
}

.detail-author {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem .7rem;
    margin: 1rem 0;
    color: #475569;
    font-size: .78rem;
}

.detail-author-avatar {
    display: inline-grid;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
    border-radius: 50%;
    background: #e0efff;
    color: #075caf;
    font-weight: 900;
}

.detail-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    background: #fff;
    font-size: .88rem;
}

.detail-table-wrap th,
.detail-table-wrap td {
    text-align: left;
    vertical-align: middle;
    padding: .62rem .72rem;
    border-right: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
}

.detail-table-wrap th {
    color: #fff;
    background: #344d8c;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-table-wrap th:last-child,
.detail-table-wrap td:last-child {
    border-right: 0;
}

.detail-table-wrap tbody tr:nth-child(even) {
    background: #ededed;
}

.detail-table-wrap tbody tr:nth-child(odd) {
    background: #f8f8f8;
}

.detail-table-wrap tbody td:first-child {
    font-weight: 700;
    color: #111;
}

.detail-table-wrap tbody tr:last-child td {
    border-bottom: 0;
}

.detail-faq-list {
    display: grid;
    gap: .7rem;
    padding: .8rem;
    border-radius: 8px;
    background: #c9efff;
}

.detail-faq-item {
    overflow: hidden;
    border: 8px solid #fff;
    border-radius: 8px;
    background: #fff;
}

.detail-faq-item summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .65rem;
    min-height: 52px;
    padding: .65rem .8rem;
    color: var(--blue);
    background: #f5f8fb;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.detail-faq-item summary::-webkit-details-marker {
    display: none;
}

.detail-faq-item[open] summary {
    color: #fff;
    background: linear-gradient(90deg, #0877bd, #0098cf);
}

.detail-faq-number {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 28px;
    padding: 0 .35rem;
    border-radius: 5px;
    color: #fff;
    background: #52b8ff;
    font-size: .75rem;
}

.detail-faq-caret {
    width: 11px;
    height: 11px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.detail-faq-item[open] .detail-faq-caret {
    transform: rotate(225deg);
}

.detail-faq-answer {
    padding: .75rem .3rem .35rem;
}

.detail-faq-answer p {
    margin: 0;
    font-size: .9rem;
}

.detail-list {
    display: grid;
    gap: .55rem;
    padding-left: 1.2rem;
    margin: .8rem 0 0;
}

.detail-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin-top: .8rem;
}

.detail-facts div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .9rem;
    background: #fff;
}

.detail-facts strong {
    display: block;
    color: var(--blue);
    margin-bottom: .25rem;
}

.detail-layout > aside {
    align-self: stretch;
    min-width: 0;
    padding-bottom: 2rem;
}

.toc,
.cta-card,
.detail-testimonial-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0,91,170,.1);
    overflow: hidden;
}

.cta-card {
    margin-bottom: 1rem;
    text-align: center;
}

@media (min-width: 901px) {
    .detail-side-card-slot {
        position: fixed;
        top: var(--detail-sticky-offset);
        right: max(1.5rem, calc((100vw - 1240px) / 2 + 1.5rem));
        z-index: 20;
        width: 350px;
        max-width: 350px;
    }

    .detail-fixed-card {
        position: static;
        width: 100%;
        max-width: none;
    }
}

.detail-page .top-countries,
.detail-page .services-opportunities,
.detail-page .office-locations,
.detail-page footer {
    position: relative;
    z-index: 30;
}

.detail-testimonial-card {
    padding: 1rem;
}

.detail-testimonial-card[hidden] {
    display: none;
}

.detail-testimonial-card h3 {
    margin: 0 0 .75rem;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.25;
}

.detail-testimonial-rail {
    display: flex;
    gap: 0;
    overflow: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.detail-testimonial-inner {
    position: relative;
    flex: 0 0 100%;
    min-height: 330px;
    padding: .65rem .75rem .55rem;
    border: 1.5px solid #0089b7;
    border-radius: 8px;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .98) 0 30%, rgba(237, 252, 255, .82) 31% 52%, transparent 53%), linear-gradient(135deg, #edfdff, #ffffff 56%, #ddf7ff);
    text-align: center;
    scroll-snap-align: start;
}

.detail-testimonial-brand {
    display: block;
    width: 72px;
    height: 28px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: .25rem;
}

.detail-testimonial-badge {
    position: absolute;
    top: .45rem;
    right: .55rem;
    display: inline-block;
    background: #ffc928;
    color: #815c00;
    border-radius: 999px;
    padding: .18rem .45rem;
    font-weight: 900;
    font-size: .64rem;
    line-height: 1;
}

.detail-testimonial-photo,
.detail-testimonial-logo {
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin: .25rem auto .55rem;
    background: #eef6ff;
    font-size: 2.2rem;
}

.detail-testimonial-name {
    display: block;
    color: #d49a18;
    font-size: .9rem;
    line-height: 1.15;
}

.detail-testimonial-location {
    display: block;
    color: #5f6f82;
    font-size: .62rem;
    line-height: 1.15;
    margin: .08rem 0 .45rem;
}

.detail-testimonial-university {
    min-height: 30px;
    border: 1.3px solid #1f2f46;
    border-radius: 7px;
    background: rgba(255, 255, 255, .86);
    color: var(--blue);
    font-size: .62rem;
    font-weight: 900;
    line-height: 1.15;
    padding: .3rem .45rem;
    margin: 0 .45rem .45rem;
}

.detail-testimonial-inner p {
    color: var(--text);
    font-size: .66rem;
    line-height: 1.35;
    margin: 0;
    min-height: 58px;
}

.detail-testimonial-rating {
    color: #ffbd18;
    margin-top: .35rem;
    text-align: right;
    font-size: .82rem;
}

.cta-head {
    padding: 1.1rem;
    background: var(--dark);
    color: #fff;
    font-weight: 900;
}

.cta-body {
    display: grid;
    gap: .75rem;
    padding: 1rem;
}

.cta-btn {
    display: block;
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--blue);
    background: #fff;
    color: var(--blue);
    padding: .75rem 1rem;
    font-weight: 900;
    font: inherit;
    cursor: pointer;
}

.cta-btn.primary {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

.cta-btn.red {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(0, 28, 58, .58);
    display: none;
    align-items: center;
    justify-content: center;
    padding: .75rem;
    overflow: hidden;
}

.modal-overlay.active {
    display: flex;
}

.enquiry-modal {
    width: min(100%, 540px);
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    overflow-y: auto;
    background: #fff;
    border-radius: 8px;
    padding: .9rem 1.15rem 1rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    margin-bottom: .55rem;
}

.modal-head h2 {
    color: var(--blue);
    font-size: 1.45rem;
    line-height: 1.15;
    margin: 0;
}

.modal-close {
    border: 0;
    background: #eef6ff;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.15rem;
}

.enquiry-form {
    display: grid;
    gap: .52rem;
}

.enquiry-form label {
    display: grid;
    gap: .18rem;
    font-weight: 800;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .55rem .65rem;
    font: inherit;
}

.program-dropdown {
    display: grid;
    gap: .35rem;
    position: relative;
    min-width: 0;
}

.program-dropdown > label {
    font-weight: 800;
}

.program-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    padding: .55rem .65rem;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.program-dropdown-toggle span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.program-dropdown-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + .25rem);
    z-index: 2;
    display: none;
    max-height: 190px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 47, 84, .16);
}

.program-dropdown.open .program-dropdown-menu {
    display: grid;
}

.program-dropdown-menu button {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #edf2f7;
    background: #fff;
    color: var(--text);
    padding: .62rem .7rem;
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.program-dropdown-menu button:hover,
.program-dropdown-menu button:focus {
    background: #eef6ff;
    color: var(--blue);
}

.enquiry-form textarea {
    min-height: 68px;
    resize: vertical;
}

.enquiry-submit {
    position: sticky;
    bottom: 0;
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.toc {
    padding: 1rem;
}

.toc h2 {
    font-size: 1.1rem;
    margin-bottom: .6rem;
}

.toc ol {
    margin: 0;
    padding-left: 1.25rem;
    display: grid;
    gap: .35rem;
}

footer {
    background: #fff;
    color: var(--text);
    border-top: 1px solid var(--line);
    padding: 2.5rem 0 1rem;
}

.footer-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(270px, 1.2fr) minmax(115px, .48fr) minmax(115px, .52fr) minmax(215px, .85fr) minmax(175px, .58fr);
    align-items: start;
    gap: 2.1rem;
    justify-content: space-between;
}

.footer-about {
    grid-template-columns: minmax(150px, 180px) minmax(130px, 1fr);
    align-items: start;
    column-gap: 1.2rem;
}

.footer-about-links {
    display: grid;
    gap: .55rem;
}

.footer-section {
    display: grid;
    gap: .55rem;
    min-width: 0;
}

.footer-logo {
    width: 180px;
    max-width: 100%;
    height: auto;
    margin-bottom: 0;
}

.footer-section h4 {
    color: var(--dark);
    font-size: .95rem;
    margin: 0 0 .25rem;
}

.footer-section a {
    color: var(--text);
    text-decoration: none;
    line-height: 1.45;
}

.footer-section a:hover {
    color: var(--blue);
}

.social-links {
    display: flex;
    flex-wrap: nowrap;
    gap: .35rem;
    margin-top: .25rem;
}

.footer-social {
    min-width: 0;
}

.footer-social h4 {
    white-space: normal;
}

.social-link {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #f7fbff;
    color: var(--blue);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
    overflow: hidden;
    transition: background .2s ease, transform .2s ease;
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.social-link:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 980px) {
    .top-header,
    .header-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .top-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .top-header-right {
        margin-left: 0;
    }

    .site-nav ul {
        justify-content: flex-start;
    }
}

@media (max-width: 1180px) {
    .footer-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-about {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-layout > aside {
        position: static;
    }

    .cta-card {
        position: static;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .top-header {
        gap: .55rem;
        padding: .55rem .85rem;
        font-size: .78rem;
    }

    .top-header-left {
        width: 100%;
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        gap: .42rem .5rem;
        overflow: visible;
    }

    .top-header-left > span {
        min-width: 0;
        font-size: .68rem;
        line-height: 1.2;
    }

    .top-header-left > span:empty {
        display: none;
    }

    .top-announcement {
        grid-column: 1 / -1;
        justify-content: center;
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .top-header-right {
        gap: .5rem;
    }

    .top-btn {
        padding: .28rem .58rem;
    }

    .header-container {
        position: relative;
        padding: .45rem .85rem;
        gap: .5rem;
    }

    .detail-shell {
        padding: .8rem 1rem 2rem;
        max-width: 100%;
    }

    .feature-grid,
    .detail-facts {
        grid-template-columns: 1fr;
    }

    .site-logo {
        width: 96px;
        height: 36px;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .site-nav {
        position: absolute;
        left: .85rem;
        right: .85rem;
        top: calc(100% + .3rem);
        z-index: 1003;
        display: none;
        max-height: calc(100vh - 8rem);
        overflow-y: auto;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 18px 42px rgba(0, 91, 170, .18);
        padding: .85rem;
    }

    .site-nav.open {
        display: block;
    }

    .site-nav ul {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .site-nav li {
        width: 100%;
    }

    .site-nav > ul > li > a {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .site-nav a {
        padding: .48rem .55rem;
        font-size: .8rem;
    }

    .site-nav .header-submenu {
        position: static;
        width: 100%;
        transform: none;
        grid-template-columns: 1fr;
        margin: .2rem 0 .6rem;
        display: none;
        box-shadow: none;
        padding: .65rem;
        gap: .45rem;
    }

    .site-nav li:not(.is-submenu-open) > .header-submenu {
        display: none;
    }

    .site-nav li.is-submenu-open > .header-submenu {
        display: grid;
    }

    .site-nav li.is-submenu-open > a .menu-caret {
        transform: rotate(180deg);
    }

    h1 {
        font-size: 1.28rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    h2 {
        font-size: 1.15rem;
    }

    .breadcrumbs {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .hero-image {
        aspect-ratio: 16 / 9;
        border-radius: 6px;
    }

    .detail-section {
        overflow-wrap: anywhere;
    }

    .detail-table-wrap {
        max-width: 100%;
    }

    .program-dropdown-menu {
        max-height: 170px;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-logo-link {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
}

header .site-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
}

header .header-container {
    justify-content: flex-start;
    gap: .8rem;
    padding: .55rem 1.5rem;
}

header .site-logo {
    width: 158px;
}

header .site-nav {
    margin-left: auto;
    min-width: 0;
}

header .site-nav ul {
    flex-wrap: nowrap;
}

header .site-nav a {
    padding: .55rem .48rem;
    font-size: .8rem;
    white-space: nowrap;
}

header .menu-caret {
    display: inline-block;
    width: .42rem;
    height: .42rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    font-size: 0;
    transform: rotate(45deg);
}

header .site-nav li:hover > a .menu-caret,
header .site-nav li:focus-within > a .menu-caret,
header .site-nav li.is-submenu-open > a .menu-caret {
    margin-top: .18rem;
    transform: rotate(-135deg);
}
