:root {
    --home-navy: #0f3a5f;
    --home-blue: #1f6fb8;
    --home-blue-dark: #0d4f88;
    --home-gold: #d5a847;
    --home-ink: #172334;
    --home-muted: #64748b;
    --home-border: #dbe4ef;
    --home-soft: #f4f8fc;
    --home-white: #ffffff;
    --home-shadow: 0 18px 45px rgba(15, 58, 95, 0.14);
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    color: var(--home-ink);
    background: var(--home-soft);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    max-width: 100%;
    overflow-x: hidden;
}

.site-desktop-header.fixed-top {
    z-index: 1060;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(15, 58, 95, 0.12) !important;
}

.site-desktop-header .top-announcement {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    background: var(--home-navy) !important;
}

.cp_wrapper {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    background: var(--home-navy) !important;
    padding: 8px 0 !important;
}

.site-desktop-header #marquee,
.site-desktop-header .marquee {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow: hidden;
}

.site-desktop-header .marquee::before {
    flex: 0 0 auto;
}

.cp_wrapper section > .marquee {
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}

.navbar.nav1 {
    position: relative;
    top: auto !important;
    z-index: 1;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
    min-height: 76px;
    align-items: center;
    padding: 7px 20px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid rgba(15, 58, 95, 0.08);
    backdrop-filter: blur(14px);
}

.site-desktop-header .navbar.nav1 .navbar-collapse {
    align-items: center;
}

.site-desktop-header .navbar.nav1 .navbar-nav {
    align-items: center;
    gap: 4px;
}

.site-desktop-header .navbar.nav1 .nav-item {
    display: flex;
    align-items: center;
}

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

.site-desktop-header .navbar.nav1 a.b,
.site-desktop-header .navbar.nav1 a.b2,
.site-desktop-header .navbar.nav1 a[style].b,
.site-desktop-header .navbar.nav1 .dropdown > a.b {
    display: inline-flex !important;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: transparent !important;
    color: var(--home-ink) !important;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 !important;
    padding: 9px 9px !important;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.site-desktop-header .navbar.nav1 a.b:hover,
.site-desktop-header .navbar.nav1 a.b:focus,
.site-desktop-header .navbar.nav1 a.b2:hover,
.site-desktop-header .navbar.nav1 a.b2:focus,
.site-desktop-header .navbar.nav1 .dropdown > a.b:hover,
.site-desktop-header .navbar.nav1 .dropdown > a.b:focus {
    background: var(--home-blue-dark) !important;
    color: var(--home-white) !important;
    outline: none;
}

.navbar.nav1 a.b:focus-visible,
.navbar.nav1 a.b2:focus-visible,
.home-page a:focus-visible,
.home-page button:focus-visible {
    outline: 3px solid rgba(213, 168, 71, 0.65);
    outline-offset: 3px;
}

.navbar.nav1 .dropdown-menu {
    border: 1px solid rgba(15, 58, 95, 0.1);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(15, 58, 95, 0.14);
    padding: 8px;
}

.home-page {
    background:
        radial-gradient(circle at top left, rgba(31, 111, 184, 0.08), transparent 28rem),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 45%, #f4f8fc 100%);
    color: var(--home-ink);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.home-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.home-page [id] {
    scroll-margin-top: 160px;
}

.home-hero {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    background: var(--home-navy);
}

.carousel {
    --color-default-state: rgba(255, 255, 255, 0.72);
    --color-active-state: var(--home-gold);
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: min(calc(100vw * 678 / 1600), calc(100vh - 92px));
    min-height: 0;
    background: #0f9fa5;
    overflow: hidden;
    clip-path: inset(0);
}

.carousel::after {
    display: none;
}

.carousel_track-container {
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    height: 100%;
}

.carousel_track {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: inherit;
    margin: 0;
    padding: 0;
    list-style: none;
}

.carousel_slide,
.carousel_image {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
}

.carousel_slide {
    overflow: hidden;
    transform: translateX(-100%);
    transition: transform 420ms ease;
}

.carousel_slide.is-selected {
    transform: translateX(0);
}

.carousel_slide.is-selected ~ .carousel_slide {
    transform: translateX(100%);
}

.carousel_image > img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
}

.slide_buttons {
    position: absolute;
    z-index: 2;
    left: max(24px, calc((100vw - 1500px) / 2));
    right: auto;
    top: 52%;
    width: min(730px, calc(100% - 48px));
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    color: var(--home-white);
    text-align: left;
    background: transparent;
}

.hero-kicker,
.section-eyebrow {
    margin: 0 0 12px;
    color: var(--home-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-hero .hero-kicker,
.home-hero .slideh,
.home-hero .slidep {
    display: none;
}

.slideh {
    margin: 0;
    color: var(--home-white);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: clamp(52px, 8vw, 112px);
    font-weight: 900;
    line-height: 0.96;
}

.slidep {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.45;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

@media (min-width: 992px) {
    .home-hero .slide_buttons {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none;
        pointer-events: none;
    }

    .home-hero .hero-actions {
        position: absolute;
        right: max(24px, calc((100vw - 1500px) / 2));
        bottom: 24px;
        margin-top: 0;
        pointer-events: auto;
    }
}

.home-btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.home-btn:hover {
    transform: translateY(-1px);
}

.home-btn:active {
    transform: translateY(0);
}

.home-btn-primary {
    background: var(--home-gold);
    color: #172334 !important;
    box-shadow: 0 12px 26px rgba(213, 168, 71, 0.28);
}

.home-btn-primary:hover {
    background: #e2b95e;
    color: #172334 !important;
}

.home-btn-secondary {
    background: rgba(15, 58, 95, 0.92);
    border-color: rgba(255, 255, 255, 0.72);
    color: var(--home-white) !important;
}

.home-btn-secondary:hover {
    background: #0f3a5f;
    color: var(--home-white) !important;
}

.home-btn-call {
    width: 100%;
    margin: 4px 0 8px;
    background: var(--home-blue);
    color: var(--home-white) !important;
    box-shadow: 0 12px 25px rgba(31, 111, 184, 0.18);
}

.home-btn-call:hover {
    background: var(--home-blue-dark);
    color: var(--home-white) !important;
}

.carousel_btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 0;
    background: rgba(12, 42, 70, 0.42);
    color: var(--home-white);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.carousel_btn:hover {
    background: rgba(12, 42, 70, 0.72);
    border-color: rgba(255, 255, 255, 0.68);
}

.carousel_btn:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.carousel_btn i {
    font-size: 18px;
    pointer-events: none;
}

.jsPrev {
    left: 18px;
}

.jsNext {
    right: 18px;
}

.carousel_nav {
    position: absolute;
    z-index: 3;
    bottom: 28px;
    left: 50%;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.carousel_dot {
    display: block;
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.58);
    cursor: pointer;
    transition: width 180ms ease, background-color 180ms ease;
}

.carousel_dot.is-selected {
    width: 28px;
    background-color: var(--home-gold);
}

.home-intro-section {
    padding: 74px 0 86px;
    background:
        linear-gradient(180deg, rgba(244, 248, 252, 0.86) 0%, rgba(255, 255, 255, 0.96) 48%, rgba(255, 255, 255, 1) 100%);
}

.modern-section {
    padding: 92px 0;
}

.home-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    gap: clamp(34px, 5vw, 72px);
    align-items: start;
}

.home-copy-block {
    max-width: 760px;
}

.home-page .home-copy-block h2,
.home-page .section-heading h2,
.home-page .updates-header h2,
.home-page .cta-content h2 {
    margin: 0;
    color: var(--home-ink) !important;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.08;
    text-align: left;
}

.home-page .home-copy-block h2 {
    max-width: 740px;
    margin-bottom: 24px;
    font-size: clamp(34px, 3.2vw, 48px);
    line-height: 1.12;
    text-wrap: balance;
}

.home-copy-block .section-eyebrow {
    margin-bottom: 14px;
    color: var(--home-navy);
}

.home-copy-block p {
    max-width: 72ch;
    margin: 0 0 20px;
    color: #31435a;
    font-size: 16.5px;
    line-height: 1.76;
    text-align: left;
}

.home-copy-block p:first-of-type {
    color: #26384f;
    font-size: 17px;
}

.home-copy-block p:last-child {
    margin-bottom: 0;
}

.updates-panel {
    position: sticky;
    top: 128px;
    justify-self: end;
    width: 100%;
    max-width: 440px;
    border: 1px solid var(--home-border);
    border-top: 4px solid var(--home-gold);
    border-radius: 8px;
    padding: 28px 32px 30px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 48px rgba(15, 58, 95, 0.12);
}

.updates-header {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--home-border);
}

.home-page .updates-header h2 {
    font-size: clamp(24px, 1.7vw, 28px);
    line-height: 1.18;
}

.updates-group {
    border-top: 1px solid var(--home-border);
    padding-top: 20px;
    margin-top: 20px;
}

.updates-group:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.updates-group h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--home-navy);
    font-size: 17px;
    font-weight: 900;
}

.updates-list {
    display: grid;
    gap: 12px;
}

.update-item {
    border: 1px solid rgba(219, 228, 239, 0.9);
    border-radius: 6px;
    padding: 13px 14px;
    background: #f8fbff;
}

.update-item p,
.empty-state {
    margin: 0;
    color: #34445a;
    font-size: 15px;
    line-height: 1.55;
}

.update-item a {
    display: inline-flex;
    margin-top: 5px;
    color: var(--home-blue-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}

.update-item a:hover {
    color: var(--home-navy);
    text-decoration: underline !important;
}

.empty-state {
    border-radius: 6px;
    padding: 13px 16px;
    background: #fff7e6;
    color: #7a5313;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.campus-section-heading {
    display: flex;
    max-width: none;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.campus-section-heading > div:first-child {
    max-width: 720px;
}

.campus-scroll-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    padding-bottom: 8px;
}

.campus-scroll-btn {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--home-border);
    border-radius: 999px;
    background: var(--home-white);
    color: var(--home-navy);
    box-shadow: 0 10px 24px rgba(15, 58, 95, 0.09);
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.campus-scroll-btn:hover,
.campus-scroll-btn:focus {
    border-color: rgba(31, 111, 184, 0.42);
    background: var(--home-blue-dark);
    color: var(--home-white);
    outline: none;
    transform: translateY(-1px);
}

.campus-scroll-btn:active {
    transform: translateY(0);
}

.campus-scroll-btn:disabled {
    cursor: not-allowed;
    opacity: 0.42;
    transform: none;
}

.campus-scroll-btn i {
    font-size: 14px;
}

.campus-section {
    overflow: hidden;
}

.campus-section .home-container {
    width: min(1280px, calc(100% - 40px));
}

.feature-card-grid,
.student-card-grid {
    display: grid;
    gap: 22px;
}

.feature-card-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(330px, 360px);
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 -4px;
    padding: 8px 4px 20px;
    scroll-padding-inline: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.feature-card-grid::-webkit-scrollbar {
    display: none;
}

.student-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.student-card {
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: var(--home-white);
    box-shadow: 0 12px 30px rgba(15, 58, 95, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card {
    min-height: 100%;
    scroll-snap-align: start;
}

.feature-card:hover,
.student-card:hover {
    border-color: rgba(31, 111, 184, 0.28);
    box-shadow: var(--home-shadow);
    transform: translateY(-4px);
}

.feature-card img,
.student-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.student-card img {
    height: 230px;
}

.feature-card-body,
.student-card-body {
    padding: 22px;
}

.home-page .feature-card h3,
.home-page .student-card h3 {
    margin: 0 0 10px;
    color: var(--home-navy);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.2;
}

.home-page .feature-card p,
.home-page .student-card p {
    margin: 0;
    color: var(--home-muted);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 15.5px;
    line-height: 1.65;
}

.home-campus-cta {
    position: relative;
    isolation: isolate;
    padding: 110px 0;
    color: var(--home-white);
    background-image:
        linear-gradient(90deg, rgba(6, 29, 50, 0.88), rgba(12, 58, 95, 0.72)),
        url("../school_image/Landscaping_08.jpg");
    background-size: cover;
    background-position: center;
}

.cta-content {
    max-width: 780px;
    margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.home-page .cta-content h2 {
    color: var(--home-white) !important;
}

.cta-content p {
    margin: 20px 0 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.75;
}

@media (max-width: 1180px) {
    .navbar.nav1 a.b,
    .navbar.nav1 a.b2 {
        font-size: 14px !important;
        padding: 10px 7px !important;
    }

    .feature-card-grid {
        grid-auto-columns: minmax(280px, 38vw);
    }
}

@media (max-width: 991px) {
    .home-intro-grid,
    .student-card-grid {
        grid-template-columns: 1fr;
    }

    .home-intro-grid {
        gap: 30px;
    }

    .updates-panel {
        position: static;
        justify-self: stretch;
        max-width: none;
    }

    .slide_buttons {
        top: 55%;
    }
}

@media (max-width: 767px) {
    .home-container {
        width: min(100% - 28px, 1180px);
    }

    .campus-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .campus-scroll-controls {
        align-self: flex-end;
        padding-bottom: 0;
    }

    .carousel {
        min-height: 560px;
        height: 610px !important;
        margin-top: 0 !important;
    }

    .carousel::after {
        background:
            linear-gradient(0deg, rgba(5, 24, 42, 0.86), rgba(8, 38, 66, 0.34)),
            linear-gradient(90deg, rgba(5, 24, 42, 0.74), rgba(5, 24, 42, 0.18));
    }

    .slide_buttons {
        left: 20px;
        right: 20px;
        top: auto;
        bottom: 76px;
        width: auto;
        transform: none;
    }

    .slideh {
        font-size: 48px;
    }

    .slidep {
        font-size: 18px;
    }

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

    .home-btn {
        width: 100%;
    }

    .carousel_btn {
        top: auto;
        bottom: 24px;
        transform: none;
    }

    .jsPrev {
        left: 20px;
    }

    .jsNext {
        right: 20px;
    }

    .carousel_nav {
        bottom: 40px;
    }

    .home-intro-section {
        padding: 58px 0 64px;
    }

    .modern-section {
        padding: 64px 0;
    }

    .home-page .home-copy-block h2,
    .section-heading h2,
    .cta-content h2 {
        font-size: 32px;
        line-height: 1.16;
    }

    .home-copy-block p,
    .cta-content p {
        font-size: 16px;
        line-height: 1.72;
    }

    .feature-card-grid {
        grid-auto-columns: minmax(260px, 86vw);
        gap: 16px;
        margin-right: -14px;
        padding-bottom: 18px;
    }

    .home-campus-cta {
        padding: 78px 0;
    }

    .cta-content {
        width: min(100% - 28px, 1180px);
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .slideh {
        font-size: 42px;
    }

    .home-page .home-copy-block h2 {
        font-size: 30px;
    }

    .updates-panel {
        padding: 22px 18px;
    }

    .feature-card img,
    .student-card img {
        height: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
