:root {
    --pasquil-blue: #062b55;
    --pasquil-royal-blue: #145da0;
    --pasquil-dark-blue: #031d3a;
    --pasquil-gold: #f4b41a;
    --pasquil-white: #ffffff;
    --pasquil-light: #f5f7fa;
    --pasquil-text: #212529;
    --pasquil-muted: #6c757d;
    --border-radius: 12px;
    --section-padding: 80px;

    /* Compatibility aliases used throughout the homepage. */
    --school-navy: var(--pasquil-blue);
    --school-royal-blue: var(--pasquil-royal-blue);
    --school-dark-navy: var(--pasquil-dark-blue);
    --school-gold: var(--pasquil-gold);
    --school-white: var(--pasquil-white);
    --school-light-gray: var(--pasquil-light);
    --school-text: var(--pasquil-muted);
    --school-border: #e2e8f0;
    --content-width: 1200px;
    --section-space: clamp(4.25rem, 7vw, 6rem);
    --radius-sm: 0.5rem;
    --radius-md: 0.875rem;
    --radius-lg: 1rem;
    --shadow-soft: 0 8px 24px rgba(3, 29, 58, 0.07);
    --shadow-raised: 0 16px 36px rgba(3, 29, 58, 0.14);
    --font-body: "Inter", Arial, Helvetica, sans-serif;
    --font-heading: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

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

body {
    margin: 0;
    color: var(--school-dark-navy);
    background-color: var(--school-white);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.is-loading body {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    background-color: rgba(3, 29, 58, 0.72);
    opacity: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.is-loading .page-loader {
    visibility: visible;
    opacity: 1;
}

.page-loader-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.9rem;
    color: var(--school-white);
}

.page-loader-wheel {
    color: var(--school-gold);
    font-size: clamp(3.2rem, 8vw, 4.75rem);
    filter: drop-shadow(0 5px 16px rgba(0, 0, 0, 0.24));
    animation: helm-rotation 1.7s linear infinite;
}

.page-loader-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
}

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

.top-info-bar {
    min-height: 38px;
    color: var(--school-white);
    background-color: var(--school-dark-navy);
    font-size: 0.78rem;
    letter-spacing: 0.01em;
}

.top-info-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    min-height: 38px;
    gap: 1rem;
}

.top-info-contact,
.top-info-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.top-info-link,
.top-info-social {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--school-white);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.top-info-link:hover,
.top-info-link:focus,
.top-info-social:hover,
.top-info-social:focus {
    color: var(--school-gold);
}

.top-info-link:focus-visible,
.top-info-social:focus-visible {
    outline: 2px solid var(--school-gold);
    outline-offset: 3px;
}

.top-info-link i {
    color: var(--school-gold);
    font-size: 0.75rem;
}

.top-info-separator {
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.35);
}

.top-info-social {
    justify-content: center;
    width: 22px;
    height: 30px;
    font-size: 0.85rem;
}

.school-navbar {
    z-index: 1020;
    padding-block: 0.65rem;
    background-color: var(--school-white);
    box-shadow: 0 4px 15px rgba(3, 29, 58, 0.08);
}

.school-navbar-inner {
    max-width: 1200px;
}

.school-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    margin-right: 1.25rem;
    padding-block: 0;
    color: var(--school-navy);
}

.school-logo {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    object-fit: contain;
}

.school-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
}

.school-brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.school-tagline {
    margin-top: 0.28rem;
    color: #6b7280;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.68rem;
    font-style: italic;
    letter-spacing: 0.08em;
}

.school-navbar .navbar-toggler {
    padding: 0.45rem 0.6rem;
    border-color: rgba(6, 43, 85, 0.22);
    border-radius: 0.5rem;
}

.school-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(244, 180, 26, 0.3);
}

.school-navbar .nav-link {
    position: relative;
    padding: 0.65rem 0.42rem !important;
    color: var(--school-dark-navy);
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.school-navbar .nav-link:hover,
.school-navbar .nav-link:focus,
.school-navbar .nav-link.active {
    color: var(--school-navy);
}

.school-navbar .nav-link.active::after {
    position: absolute;
    right: 0.42rem;
    bottom: 0.35rem;
    left: 0.42rem;
    height: 2px;
    content: "";
    background-color: var(--school-gold);
    border-radius: 2px;
}

.enroll-button {
    padding: 0.72rem 1rem;
    color: var(--school-dark-navy);
    background-color: var(--school-gold);
    border: 1px solid var(--school-gold);
    border-radius: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    white-space: nowrap;
}

.enroll-button:hover,
.enroll-button:focus {
    color: var(--school-white);
    background-color: var(--school-navy);
    border-color: var(--school-navy);
}

.school-hero {
    position: relative;
    min-height: 550px;
    overflow: hidden;
    isolation: isolate;
    color: var(--school-white);
    background-color: var(--school-dark-navy);
    background-image:
        linear-gradient(90deg, rgba(3, 29, 58, 0.96) 0%, rgba(3, 29, 58, 0.82) 42%, rgba(3, 29, 58, 0.2) 78%, rgba(3, 29, 58, 0.08) 100%),
        var(--homepage-hero-image, url("../assets/images/hero.png"));
    background-position: center, center, center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-backgrounds,
.hero-background-slide {
    position: absolute;
    inset: 0;
}

.hero-backgrounds {
    z-index: 0;
    background-color: var(--school-dark-navy);
}

.hero-background-slide {
    background-image:
        linear-gradient(90deg, rgba(3, 29, 58, 0.97) 0%, rgba(3, 29, 58, 0.86) 43%, rgba(3, 29, 58, 0.42) 70%, rgba(3, 29, 58, 0.2) 100%),
        var(--hero-slide-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-background-slide.is-active {
    opacity: 1;
}

.school-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    max-width: 1200px;
    min-height: 550px;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (prefers-reduced-motion: reduce) {
    .hero-background-slide {
        transition: none;
    }
}

.school-hero-content {
    width: 100%;
    max-width: 620px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
    color: var(--school-gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-eyebrow::before {
    width: 38px;
    height: 2px;
    content: "";
    background-color: var(--school-gold);
}

.hero-heading {
    margin-bottom: 1.35rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 4.25vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.hero-description {
    max-width: 570px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.02rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-button {
    min-width: 145px;
    padding: 0.82rem 1.35rem;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-button:hover,
.hero-button:focus {
    transform: translateY(-2px);
}

.hero-button-primary {
    color: var(--school-dark-navy);
    background-color: var(--school-gold);
    border-color: var(--school-gold);
}

.hero-button-primary:hover,
.hero-button-primary:focus {
    color: var(--school-white);
    background-color: #d99a08;
    border-color: #d99a08;
}

.hero-button-outline {
    color: var(--school-white);
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.9);
}

.hero-button-outline:hover,
.hero-button-outline:focus {
    color: var(--school-dark-navy);
    background-color: var(--school-white);
    border-color: var(--school-white);
}

.school-statistics {
    position: relative;
    z-index: 2;
    margin-top: -45px;
    padding-bottom: 2.5rem;
}

.school-statistics > .container {
    max-width: 1074px;
}

.statistics-panel {
    overflow: hidden;
    color: var(--school-white);
    background-color: var(--school-dark-navy);
    border-radius: 0.85rem;
    box-shadow: 0 14px 32px rgba(3, 29, 58, 0.2);
}

.statistic-column {
    position: relative;
}

.statistic-column:not(:last-child)::after {
    position: absolute;
    top: 25%;
    right: 0;
    width: 1px;
    height: 50%;
    content: "";
    background-color: rgba(255, 255, 255, 0.2);
}

.statistic-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 130px;
    padding: 1.5rem 1.15rem;
    gap: 0.9rem;
}

.statistic-icon {
    width: 34px;
    flex: 0 0 34px;
    color: var(--school-white);
    font-size: 1.75rem;
    text-align: center;
}

.statistic-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.statistic-value {
    color: var(--school-gold);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.05;
}

.statistic-value-text {
    font-size: 1rem;
    line-height: 1.15;
}

.statistic-label {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
    line-height: 1.35;
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .statistic-column:nth-child(2)::after,
    .statistic-column:last-child::after {
        display: none;
    }

    .statistic-column:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }
}

.school-features {
    padding: 1rem 0 5rem;
    background-color: var(--school-white);
}

.school-features > .container {
    max-width: 1200px;
}

.feature-card {
    padding: 2rem 1.55rem;
    background-color: var(--school-white);
    border: 1px solid #e4e9ef;
    border-radius: 0.8rem;
    box-shadow: 0 7px 20px rgba(3, 29, 58, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover,
.feature-card:focus-within {
    border-color: rgba(244, 180, 26, 0.55);
    box-shadow: 0 15px 32px rgba(3, 29, 58, 0.14);
    transform: translateY(-5px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1.3rem;
    color: var(--school-navy);
    background-color: rgba(244, 180, 26, 0.18);
    border: 1px solid rgba(244, 180, 26, 0.35);
    border-radius: 0.75rem;
    font-size: 1.45rem;
    box-shadow: inset 0 -3px 0 rgba(244, 180, 26, 0.28);
}

.feature-title {
    margin-bottom: 0.75rem;
    color: var(--school-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.feature-text {
    margin-bottom: 0;
    color: #647083;
    font-size: 0.9rem;
    line-height: 1.7;
}

.about-intro {
    padding: 5.5rem 0;
    background-color: var(--school-light-gray);
}

.about-intro > .container {
    max-width: 1200px;
}

.about-content {
    max-width: 470px;
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    color: #c78b00;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-eyebrow::before {
    width: 34px;
    height: 2px;
    content: "";
    background-color: var(--school-gold);
}

.about-heading {
    margin-bottom: 1.35rem;
    color: var(--school-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 3.2vw, 3.15rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.about-text {
    margin-bottom: 1.8rem;
    color: #5d6878;
    font-size: 0.98rem;
    line-height: 1.8;
}

.about-button {
    padding: 0.82rem 1.35rem;
    color: var(--school-white);
    background-color: var(--school-navy);
    border: 1px solid var(--school-navy);
    border-radius: 0.35rem;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.about-button:hover,
.about-button:focus {
    color: var(--school-dark-navy);
    background-color: var(--school-gold);
    border-color: var(--school-gold);
}

.campus-gallery {
    display: grid;
    min-height: 440px;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
}

.campus-image {
    min-height: 0;
    background-color: #dce5ee;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0.85rem;
    box-shadow: 0 10px 25px rgba(3, 29, 58, 0.12);
}

.campus-image-main {
    grid-row: 1 / 3;
    background-image: var(--homepage-campus-1, url("../assets/images/hero.png"));
}

.campus-image-secondary {
    background-image: var(--homepage-campus-2, url("../assets/images/hero.png"));
}

.campus-image-tertiary {
    background-image: var(--homepage-campus-3, url("../assets/images/hero.png"));
}

.programs-section {
    padding: 5.5rem 0 6rem;
    background-color: var(--school-white);
}

.programs-section > .container {
    max-width: 1200px;
}

.programs-header {
    max-width: 700px;
    margin: 0 auto 2.75rem;
}

.programs-eyebrow {
    justify-content: center;
}

.programs-heading {
    margin-bottom: 0.7rem;
    color: var(--school-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.15rem, 3.6vw, 3.35rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.programs-subtitle {
    margin-bottom: 0;
    color: #667284;
    font-size: 1rem;
}

.program-card {
    overflow: hidden;
    background-color: var(--school-white);
    border: 1px solid #e3e8ee;
    border-radius: 0.9rem;
    box-shadow: 0 8px 24px rgba(3, 29, 58, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.program-card:hover,
.program-card:focus-within {
    border-color: rgba(244, 180, 26, 0.55);
    box-shadow: 0 17px 36px rgba(3, 29, 58, 0.15);
    transform: translateY(-5px);
}

.program-image-wrap {
    height: 245px;
    overflow: hidden;
    background-color: #dce5ee;
}

.program-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.program-image-basic {
    object-position: 30% center;
}

.program-image-senior {
    object-position: center;
}

.program-image-technical {
    object-position: 72% center;
}

.program-card:hover .program-image,
.program-card:focus-within .program-image {
    transform: scale(1.035);
}

.program-card-body {
    display: flex;
    min-height: 190px;
    padding: 1.65rem 1.6rem 1.75rem;
    flex-direction: column;
}

.program-title {
    margin-bottom: 0.55rem;
    color: var(--school-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.program-description {
    margin-bottom: 1.3rem;
    color: #667284;
    font-size: 0.92rem;
    line-height: 1.6;
}

.program-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    gap: 0.5rem;
    color: var(--school-navy);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-decoration: none;
    text-transform: uppercase;
}

.program-link i {
    color: var(--school-gold);
    transition: transform 0.2s ease;
}

.program-link:hover,
.program-link:focus {
    color: #b67c00;
}

.program-link:hover i,
.program-link:focus i {
    transform: translateX(4px);
}

.faculty-showcase {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 4.75rem;
    background:
        radial-gradient(circle at 8% 18%, rgba(20, 93, 160, 0.09), transparent 30rem),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.faculty-showcase::after {
    content: "";
    position: absolute;
    right: -7rem;
    bottom: -8rem;
    width: 22rem;
    height: 22rem;
    border: 1px solid rgba(244, 180, 26, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.faculty-showcase > .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.faculty-showcase-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 2rem;
}

.faculty-showcase-header .section-eyebrow {
    margin-bottom: 0.75rem;
}

.faculty-showcase-heading {
    margin: 0;
    color: var(--school-navy);
    font-family: var(--font-heading);
    font-size: clamp(2.15rem, 3.6vw, 3.35rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.faculty-showcase-intro {
    max-width: 670px;
    margin: 1rem 0 0;
    color: #667284;
    font-size: 0.98rem;
}

.faculty-carousel-controls {
    display: flex;
    padding-bottom: 0.25rem;
    flex: 0 0 auto;
    gap: 0.65rem;
}

.faculty-carousel-button {
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    color: var(--school-navy);
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(3, 29, 58, 0.08);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.faculty-carousel-button:hover,
.faculty-carousel-button:focus-visible {
    color: #fff;
    background: var(--school-navy);
    border-color: var(--school-navy);
    transform: translateY(-2px);
}

.faculty-carousel-button:disabled {
    cursor: default;
    opacity: 0.38;
    transform: none;
}

.faculty-carousel {
    display: flex;
    overflow-x: auto;
    padding: 1.35rem 0.4rem 2rem;
    gap: 1.4rem;
    cursor: grab;
    scroll-behavior: smooth;
    scroll-padding-inline: 0.4rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-y;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}

.faculty-carousel::-webkit-scrollbar {
    display: none;
}

.faculty-carousel:focus-visible {
    outline: 3px solid rgba(20, 93, 160, 0.28);
    outline-offset: 5px;
    border-radius: 1rem;
}

.faculty-carousel.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.faculty-card {
    min-width: 0;
    flex: 0 0 clamp(300px, 32vw, 370px);
    scroll-snap-align: start;
}

.faculty-card-surface {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(214, 224, 235, 0.95);
    border-radius: 1.15rem;
    box-shadow: 0 18px 40px rgba(3, 29, 58, 0.13);
    animation: facultyCardFloat 5.5s ease-in-out infinite;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faculty-card:nth-child(2n) .faculty-card-surface { animation-delay: -2.1s; }
.faculty-card:nth-child(3n) .faculty-card-surface { animation-delay: -3.6s; }

.faculty-card:hover .faculty-card-surface,
.faculty-card:focus-within .faculty-card-surface {
    border-color: rgba(244, 180, 26, 0.58);
    box-shadow: 0 24px 48px rgba(3, 29, 58, 0.18);
}

.faculty-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    pointer-events: none;
}

.faculty-card:nth-child(1) img { object-position: center 3%; }
.faculty-card:nth-child(2) img { object-position: center 3%; }
.faculty-card:nth-child(3) img { object-position: center 3%; }
.faculty-card:nth-child(4) img { object-position: center 3%; }
.faculty-card:nth-child(5) img { object-position: center 3%; }
.faculty-card:nth-child(6) img { object-position: center 3%; }
.faculty-card:nth-child(7) img { object-position: center 3%; }
.faculty-card:nth-child(8) img { object-position: center 3%; }
.faculty-card:nth-child(9) img { object-position: center 3%; }
.faculty-card:nth-child(10) img { object-position: center 3%; }
.faculty-card:nth-child(11) img { object-position: center 3%; }
.faculty-card:nth-child(12) img { object-position: center 3%; }
.faculty-card:nth-child(13) img { object-position: center 3%; }
.faculty-card:nth-child(14) img { object-position: center 3%; }
.faculty-card:nth-child(15) img { object-position: center 3%; }
.faculty-card:nth-child(16) img { object-position: center 3%; }

.faculty-card-body {
    padding: 1.35rem 1.4rem 1.5rem;
}

.faculty-card-label {
    display: inline-block;
    margin-bottom: 0.6rem;
    color: #9a6800;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.faculty-card h3 {
    margin: 0 0 0.5rem;
    color: var(--school-navy);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
}

.faculty-card p {
    margin: 0;
    color: #667284;
    font-size: 0.88rem;
    line-height: 1.6;
}

.js .faculty-card-description:not(.is-expanded) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
}

.faculty-card-toggle {
    display: inline-flex;
    align-items: center;
    margin-top: 0.75rem;
    padding: 0;
    gap: 0.4rem;
    color: var(--school-blue);
    background: transparent;
    border: 0;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
}

.faculty-card-toggle:hover,
.faculty-card-toggle:focus-visible {
    color: #9a6800;
}

.faculty-card-toggle:focus-visible {
    outline: 2px solid rgba(20, 93, 160, 0.35);
    outline-offset: 4px;
    border-radius: 0.2rem;
}

.faculty-card-toggle i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.faculty-card-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faculty-carousel-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.1rem 0 0;
    gap: 0.55rem;
    color: #7a8797;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.faculty-carousel-hint i {
    color: var(--school-gold);
}

@keyframes facultyCardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@media (max-width: 767.98px) {
    .faculty-showcase { padding: 4.25rem 0 3.75rem; }
    .faculty-showcase-header { align-items: flex-start; }
    .faculty-carousel-controls { display: none; }
    .faculty-card { flex-basis: min(82vw, 340px); }
}

@media (prefers-reduced-motion: reduce) {
    .faculty-card-surface { animation: none; }
    .faculty-carousel { scroll-behavior: auto; }
}

.news-section {
    padding: 5.5rem 0 6rem;
    background-color: var(--school-light-gray);
}

.news-section > .container {
    max-width: 1200px;
}

.news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.75rem;
    gap: 2rem;
}

.news-header .section-eyebrow {
    margin-bottom: 0.75rem;
}

.news-heading {
    margin-bottom: 0;
    color: var(--school-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.15rem, 3.6vw, 3.35rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.news-view-all,
.news-read-more {
    align-items: center;
    gap: 0.5rem;
    color: var(--school-navy);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-decoration: none;
    text-transform: uppercase;
}

.news-view-all i,
.news-read-more i {
    color: var(--school-gold);
    transition: transform 0.2s ease;
}

.news-view-all:hover,
.news-view-all:focus,
.news-read-more:hover,
.news-read-more:focus {
    color: #b67c00;
}

.news-view-all:hover i,
.news-view-all:focus i,
.news-read-more:hover i,
.news-read-more:focus i {
    transform: translateX(4px);
}

.news-card {
    overflow: hidden;
    background-color: var(--school-white);
    border: 1px solid #e3e8ee;
    border-radius: 0.9rem;
    box-shadow: 0 6px 20px rgba(3, 29, 58, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-card:hover,
.news-card:focus-within {
    border-color: rgba(244, 180, 26, 0.45);
    box-shadow: 0 17px 36px rgba(3, 29, 58, 0.14);
    transform: translateY(-5px);
}

.news-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #dce5ee;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(var(--news-image-zoom, 1));
    transition: transform 0.45s ease;
}

.news-image-enrollment {
    object-position: 28% center;
}

.news-image-formation {
    object-position: 72% center;
}

.news-card:hover .news-image,
.news-card:focus-within .news-image {
    transform: scale(calc(var(--news-image-zoom, 1) + 0.04));
}

.news-date {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    min-height: 58px;
    padding: 0.35rem;
    flex-direction: column;
    color: var(--school-dark-navy);
    background-color: var(--school-gold);
    border-radius: 0.55rem;
    box-shadow: 0 5px 14px rgba(3, 29, 58, 0.2);
    font-style: normal;
    line-height: 1;
}

.news-date-day {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 800;
}

.news-date-month {
    margin-top: 0.2rem;
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.news-card-body {
    display: flex;
    min-height: 245px;
    padding: 1.6rem 1.55rem 1.75rem;
    flex-direction: column;
}

.news-title {
    margin-bottom: 0.8rem;
    color: var(--school-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.35;
}

.news-description {
    margin-bottom: 1.35rem;
    color: #667284;
    font-size: 0.9rem;
    line-height: 1.65;
}

.news-read-more {
    align-self: flex-start;
    margin-top: auto;
}

.news-view-all-mobile {
    margin-top: 2rem;
}

.admissions-cta {
    position: relative;
    min-height: 320px;
    isolation: isolate;
    color: var(--school-white);
    background-color: var(--school-dark-navy);
    background-image:
        linear-gradient(rgba(3, 29, 58, 0.91), rgba(3, 29, 58, 0.93)),
        var(--homepage-admissions-image, url("../assets/images/hero.png"));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.admissions-cta-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1050px;
    min-height: 320px;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.admissions-cta-content {
    max-width: 800px;
    text-align: center;
}

.admissions-eyebrow {
    margin-bottom: 0.9rem;
    color: var(--school-gold);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.admissions-heading {
    margin-bottom: 1.8rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.4vw, 3.15rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.admissions-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.admissions-button {
    min-width: 160px;
    padding: 0.85rem 1.4rem;
    border-radius: 0.35rem;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admissions-button:hover,
.admissions-button:focus {
    transform: translateY(-2px);
}

.admissions-button-primary {
    color: var(--school-dark-navy);
    background-color: var(--school-gold);
    border-color: var(--school-gold);
}

.admissions-button-primary:hover,
.admissions-button-primary:focus {
    color: var(--school-white);
    background-color: #d99a08;
    border-color: #d99a08;
}

.admissions-button-outline {
    color: var(--school-white);
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.9);
}

.admissions-button-outline:hover,
.admissions-button-outline:focus {
    color: var(--school-dark-navy);
    background-color: var(--school-white);
    border-color: var(--school-white);
}

.school-footer {
    color: rgba(255, 255, 255, 0.75);
    background-color: var(--school-dark-navy);
}

.school-footer > .container {
    max-width: 1200px;
}

.footer-main {
    padding-top: 4.5rem;
    padding-bottom: 3.75rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.footer-logo {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    object-fit: contain;
}

.footer-school-name {
    margin-bottom: 0.35rem;
    color: var(--school-white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.footer-tagline {
    margin-bottom: 0;
    color: var(--school-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.8rem;
    font-style: italic;
    letter-spacing: 0.09em;
}

.footer-intro {
    max-width: 360px;
    margin: 1.3rem 0 0;
    font-size: 0.86rem;
    line-height: 1.75;
}

.footer-heading {
    position: relative;
    margin-bottom: 1.35rem;
    padding-bottom: 0.7rem;
    color: var(--school-white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.footer-heading::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    content: "";
    background-color: var(--school-gold);
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 0.65rem;
}

.footer-links a,
.footer-contact-item {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-contact-item:hover,
.footer-contact-item:focus {
    color: var(--school-gold);
}

.footer-contact {
    display: flex;
    margin: 0;
    flex-direction: column;
    gap: 0.85rem;
    font-style: normal;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.footer-contact-item i {
    width: 17px;
    margin-top: 0.18rem;
    flex: 0 0 17px;
    color: var(--school-gold);
    text-align: center;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem 0;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.76rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1199.98px) {
    .school-navbar .navbar-collapse {
        margin-top: 0.7rem;
        padding: 0.65rem 0 0.35rem;
        border-top: 1px solid #e8edf2;
    }

    .school-navbar .nav-link {
        padding: 0.65rem 0.25rem !important;
    }

    .school-navbar .nav-link.active::after {
        right: auto;
        bottom: 0.3rem;
        left: 0.25rem;
        width: 30px;
    }

    .enroll-button {
        margin-top: 0.6rem;
        margin-bottom: 0.35rem;
    }

    .about-intro {
        padding: 4.5rem 0;
    }
}

@media (max-width: 991.98px) {
    .about-content {
        max-width: 650px;
    }

    .campus-gallery {
        min-height: 420px;
    }
}

@media (max-width: 575.98px) {
    .top-info-inner {
        gap: 0.5rem;
    }

    .top-info-contact,
    .top-info-actions {
        gap: 0.55rem;
    }

    .portal-link {
        padding-inline: 0.15rem;
    }

    .school-navbar {
        padding-block: 0.5rem;
    }

    .school-logo {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .school-brand {
        gap: 0.5rem;
        max-width: calc(100% - 58px);
        margin-right: 0.4rem;
    }

    .school-brand-name {
        overflow: hidden;
        font-size: 0.67rem;
        letter-spacing: 0.01em;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .school-tagline {
        font-size: 0.6rem;
    }

    .school-hero,
    .school-hero-inner {
        min-height: 480px;
    }

    .school-hero {
        background-image:
            linear-gradient(90deg, rgba(3, 29, 58, 0.94) 0%, rgba(3, 29, 58, 0.78) 100%),
            var(--homepage-hero-image, url("../assets/images/hero.png"));
        background-position: center, 58% center;
    }

    .school-hero-inner {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }

    .hero-eyebrow {
        font-size: 0.67rem;
        letter-spacing: 0.11em;
    }

    .hero-eyebrow::before {
        width: 25px;
    }

    .hero-heading {
        font-size: clamp(2.15rem, 11vw, 3rem);
    }

    .hero-description {
        font-size: 0.93rem;
        line-height: 1.65;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-button {
        width: 100%;
    }

    .school-statistics {
        margin-top: -32px;
        padding-bottom: 2rem;
    }

    .school-statistics > .container {
        padding-inline: 1.25rem;
    }

    .statistic-column:not(:last-child)::after {
        top: auto;
        right: 10%;
        bottom: 0;
        left: 10%;
        width: auto;
        height: 1px;
    }

    .statistic-item {
        justify-content: flex-start;
        min-height: 102px;
        max-width: 245px;
        margin-inline: auto;
        padding-block: 1.2rem;
    }

    .school-features {
        padding-bottom: 3.75rem;
    }

    .feature-card {
        padding: 1.75rem 1.4rem;
    }

    .about-intro {
        padding: 3.75rem 0;
    }

    .programs-section {
        padding: 4rem 0;
    }

    .news-section {
        padding: 4rem 0;
    }

    .admissions-cta,
    .admissions-cta-inner {
        min-height: 300px;
    }

    .admissions-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admissions-button {
        width: 100%;
    }

    .footer-main {
        padding-top: 3.75rem;
        padding-bottom: 3rem;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .campus-gallery {
        min-height: 0;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 0.85rem;
    }

    .campus-image,
    .campus-image-main {
        min-height: 230px;
        grid-row: auto;
    }

    .about-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .hero-button:hover,
    .hero-button:focus,
    .admissions-button:hover,
    .admissions-button:focus,
    .feature-card:hover,
    .feature-card:focus-within,
    .program-card:hover,
    .program-card:focus-within,
    .news-card:hover,
    .news-card:focus-within,
    .program-card:hover .program-image,
    .program-card:focus-within .program-image,
    .news-card:hover .news-image,
    .news-card:focus-within .news-image {
        transform: none;
    }
}

/* Keep the navigation symbols visually consistent after global refinements. */
.feature-icon {
    color: var(--school-royal-blue);
    background-color: transparent;
    border: 1px solid rgba(20, 93, 160, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(244, 180, 26, 0.08);
}

.feature-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

/* Subtle education-and-navigation visual language */
.school-features {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.school-features::before {
    position: absolute;
    top: 10%;
    right: -90px;
    z-index: -1;
    width: 330px;
    height: 330px;
    content: "";
    background:
        radial-gradient(circle, transparent 0 31%, var(--school-royal-blue) 31.5% 32%, transparent 32.5% 48%, var(--school-royal-blue) 48.5% 49%, transparent 49.5%),
        repeating-conic-gradient(from 0deg, var(--school-royal-blue) 0deg 0.7deg, transparent 0.7deg 45deg);
    border: 1px solid var(--school-royal-blue);
    border-radius: 50%;
    opacity: 0.035;
    pointer-events: none;
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    position: absolute;
    top: 0;
    right: 1.5rem;
    left: 1.5rem;
    height: 3px;
    content: "";
    background: repeating-linear-gradient(135deg, var(--school-gold) 0 5px, var(--school-royal-blue) 5px 7px, var(--school-gold) 7px 12px);
    border-radius: 0 0 3px 3px;
    opacity: 0.7;
}

.feature-icon {
    color: var(--school-royal-blue);
    background-color: transparent;
    border: 1px solid rgba(20, 93, 160, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(244, 180, 26, 0.08);
}

.feature-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.statistics-panel {
    background-image: linear-gradient(115deg, var(--school-dark-navy), var(--school-navy));
}

.statistic-icon {
    color: rgba(255, 255, 255, 0.94);
}

.footer-heading::after,
.hero-eyebrow::before,
.section-eyebrow::before {
    background: repeating-linear-gradient(135deg, var(--school-gold) 0 4px, var(--school-royal-blue) 4px 6px, var(--school-gold) 6px 10px);
}

@media (max-width: 575.98px) {
    .school-features::before {
        top: 30%;
        right: -130px;
        width: 260px;
        height: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .program-card,
    .program-image,
    .program-link i,
    .news-card,
    .news-image,
    .news-view-all i,
    .news-read-more i {
        transition: none;
    }

    .admissions-button {
        transition: none;
    }

    .feature-card:hover,
    .feature-card:focus-within,
    .program-card:hover,
    .program-card:focus-within,
    .program-card:hover .program-image,
    .program-card:focus-within .program-image,
    .program-link:hover i,
    .program-link:focus i,
    .news-card:hover,
    .news-card:focus-within,
    .news-card:hover .news-image,
    .news-card:focus-within .news-image,
    .news-view-all:hover i,
    .news-view-all:focus i,
    .news-read-more:hover i,
    .news-read-more:focus i,
    .admissions-button:hover,
    .admissions-button:focus {
        transform: none;
    }
}

/* Final homepage refinement */
@media (min-width: 1200px) {
    .container {
        max-width: var(--content-width);
    }
}

@media (min-width: 576px) {
    .container {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

section[id],
footer[id] {
    scroll-margin-top: 92px;
}

button,
.btn,
a {
    -webkit-tap-highlight-color: transparent;
}

.school-brand-name,
.hero-heading,
.about-heading,
.programs-heading,
.news-heading,
.admissions-heading,
.feature-title,
.program-title,
.news-title,
.footer-school-name,
.footer-heading,
.news-date-day {
    font-family: var(--font-heading);
}

.school-navbar {
    padding-block: 0.7rem;
    border-bottom: 1px solid rgba(3, 29, 58, 0.06);
    box-shadow: 0 5px 18px rgba(3, 29, 58, 0.07);
}

.school-navbar-inner {
    gap: 0.5rem;
}

.school-brand {
    flex: 0 1 auto;
    gap: 0.75rem;
    margin-right: 1rem;
}

.school-brand-name {
    font-size: 0.76rem;
    line-height: 1.2;
}

.school-navbar .navbar-collapse {
    justify-content: flex-end;
}

.school-navbar .navbar-nav {
    column-gap: 0.1rem;
}

.school-navbar .nav-link {
    padding: 0.7rem 0.38rem !important;
    font-size: 0.735rem;
    font-weight: 700;
}

.school-navbar .nav-link.active::after {
    right: 0.38rem;
    bottom: 0.38rem;
    left: 0.38rem;
}

.enroll-button,
.hero-button,
.about-button,
.admissions-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.75rem 1.35rem;
    border-radius: var(--radius-sm);
    line-height: 1.2;
    box-shadow: none;
}

.enroll-button:focus-visible,
.hero-button:focus-visible,
.about-button:focus-visible,
.admissions-button:focus-visible,
.program-link:focus-visible,
.news-read-more:focus-visible,
.news-view-all:focus-visible,
.footer-links a:focus-visible,
.footer-contact-item:focus-visible {
    outline: 3px solid rgba(244, 180, 26, 0.55);
    outline-offset: 3px;
}

.school-hero {
    background-image:
        linear-gradient(90deg, rgba(3, 29, 58, 0.97) 0%, rgba(3, 29, 58, 0.86) 43%, rgba(3, 29, 58, 0.42) 70%, rgba(3, 29, 58, 0.2) 100%),
        var(--homepage-hero-image, url("../assets/images/hero.png"));
    background-position: center, center;
}

.hero-heading {
    max-width: 620px;
    font-size: clamp(2.6rem, 4.25vw, 3.9rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.hero-description {
    max-width: 555px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.16);
}

.statistics-panel {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 38px rgba(3, 29, 58, 0.19);
}

.statistic-item {
    min-height: 132px;
    padding: 1.5rem 1.25rem;
}

.school-features {
    padding: 1.25rem 0 var(--section-space);
}

.about-intro,
.programs-section,
.news-section {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

.feature-card,
.program-card,
.news-card {
    border-color: var(--school-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.feature-card:hover,
.feature-card:focus-within,
.program-card:hover,
.program-card:focus-within,
.news-card:hover,
.news-card:focus-within {
    border-color: rgba(244, 180, 26, 0.5);
    box-shadow: var(--shadow-raised);
    transform: translateY(-4px);
}

.feature-card {
    padding: 2rem 1.65rem;
}

.feature-icon {
    border-radius: var(--radius-sm);
}

.feature-title,
.program-title,
.news-title {
    letter-spacing: -0.012em;
}

.feature-text,
.about-text,
.program-description,
.news-description,
.programs-subtitle {
    color: var(--school-text);
}

.campus-gallery {
    min-height: 460px;
    gap: 1.1rem;
}

.campus-image {
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 28px rgba(3, 29, 58, 0.11);
}

.campus-image-main {
    background-position: center, 28% center;
}

.campus-image-secondary {
    background-position: center, center;
}

.campus-image-tertiary {
    background-position: center, 72% center;
}

.programs-header,
.news-header {
    margin-bottom: clamp(2.25rem, 4vw, 3rem);
}

.program-image-wrap {
    height: auto;
    aspect-ratio: 16 / 10;
}

.program-card-body,
.news-card-body {
    padding: 1.75rem;
}

.program-card-body {
    min-height: 188px;
}

.news-card-body {
    min-height: 250px;
}

.news-date {
    border-radius: var(--radius-sm);
}

.admissions-cta {
    background-image:
        linear-gradient(rgba(3, 29, 58, 0.9), rgba(3, 29, 58, 0.95)),
        var(--homepage-admissions-image, url("../assets/images/hero.png"));
}

.footer-main {
    padding-top: clamp(3.75rem, 6vw, 4.75rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .news-section .row > div:last-child {
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 1199.98px) {
    .school-navbar .navbar-collapse {
        max-height: calc(100vh - 105px);
        overflow-y: auto;
        padding: 0.8rem 0 0.45rem;
    }

    .school-navbar .nav-link {
        padding: 0.72rem 0.25rem !important;
        font-size: 0.8rem;
    }

    .school-navbar .nav-link.active::after {
        bottom: 0.3rem;
        left: 0.25rem;
    }

    .enroll-button {
        margin-top: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-space: 4rem;
    }

    .news-header {
        align-items: flex-start;
    }

    .program-card-body,
    .news-card-body {
        min-height: 0;
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .top-info-bar,
    .top-info-inner {
        min-height: 36px;
    }

    .top-info-bar {
        font-size: 0.72rem;
    }

    .school-navbar {
        padding-block: 0.55rem;
    }

    .school-brand-name {
        font-size: 0.64rem;
    }

    .school-hero,
    .school-hero-inner {
        min-height: 500px;
    }

    .school-hero {
        background-image:
            linear-gradient(90deg, rgba(3, 29, 58, 0.95), rgba(3, 29, 58, 0.75)),
            var(--homepage-hero-image, url("../assets/images/hero.png"));
    }

    .hero-heading {
        font-size: clamp(2.1rem, 10.5vw, 2.75rem);
        line-height: 1.14;
    }

    .hero-description {
        margin-bottom: 1.75rem;
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .hero-actions,
    .admissions-actions {
        width: 100%;
    }

    .hero-button,
    .about-button,
    .admissions-button {
        min-height: 48px;
    }

    .school-statistics {
        margin-top: -36px;
    }

    .statistics-panel {
        border-radius: var(--radius-md);
    }

    .statistic-item {
        min-height: 100px;
    }

    .school-features {
        padding-top: 0.75rem;
    }

    .feature-card {
        padding: 1.65rem 1.5rem;
    }

    .section-eyebrow,
    .hero-eyebrow,
    .admissions-eyebrow {
        letter-spacing: 0.1em;
    }

    .about-heading,
    .programs-heading,
    .news-heading,
    .admissions-heading {
        font-size: clamp(2rem, 9vw, 2.5rem);
    }

    .campus-image,
    .campus-image-main {
        min-height: 220px;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-logo {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-button:hover,
    .hero-button:focus,
    .admissions-button:hover,
    .admissions-button:focus,
    .feature-card:hover,
    .feature-card:focus-within,
    .program-card:hover,
    .program-card:focus-within,
    .news-card:hover,
    .news-card:focus-within,
    .program-card:hover .program-image,
    .program-card:focus-within .program-image,
    .news-card:hover .news-image,
    .news-card:focus-within .news-image {
        transform: none;
    }
}

.feature-icon {
    color: var(--school-royal-blue);
    background-color: transparent;
    border: 1px solid rgba(20, 93, 160, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(244, 180, 26, 0.08);
}

.feature-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}
