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

:root {
    --ink: #182033;
    --text: #354053;
    --muted: #667085;
    --navy: #16213f;
    --red: #d9272f;
    --green: #13864c;
    --gold: #f1b93f;
    --blue: #1d6fd8;
    --line: #e6e9ef;
    --soft: #f7f9fc;
    --surface: #ffffff;
    --shadow: 0 18px 46px rgba(16, 32, 51, 0.13);
    --wrap: min(1160px, calc(100% - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: #ffffff;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(230, 233, 239, 0.9);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
}

.top-strip {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 0.35rem 1rem;
    color: #ffffff;
    background: linear-gradient(90deg, var(--navy), var(--red));
    font-size: 0.84rem;
    font-weight: 800;
}

.top-strip span,
.top-strip a,
.primary-action,
.secondary-action,
.admission-actions a,
.contact-grid a {
    display: inline-flex;
    align-items: center;
    gap: 0.52rem;
}

.top-strip img,
.primary-action img,
.admission-actions img,
.contact-grid img {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    object-fit: cover;
}

.main-nav {
    width: var(--wrap);
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--navy);
    font-family: "Manrope", "Inter", sans-serif;
    font-weight: 800;
}

.brand img {
    width: 104px;
    height: 54px;
    object-fit: contain;
    display: block;
}

.brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.05;
}

.brand-copy strong {
    color: var(--navy);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
    white-space: normal;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #344054;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
}

.nav-links a {
    border-radius: 8px;
    padding: 0.55rem 0.2rem;
}

.nav-links a:hover {
    color: var(--red);
}

.nav-login {
    min-height: 40px;
    padding: 0.62rem 0.9rem !important;
    color: #ffffff !important;
    background: var(--navy);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    color: var(--ink);
    align-items: center;
    justify-content: center;
}

.hero {
    min-height: calc(100vh - 110px);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: clamp(1rem, 3vw, 2.3rem);
    align-items: center;
    padding: clamp(1.8rem, 4vw, 4rem) max(1rem, calc((100vw - 1160px) / 2 + 1rem));
    background:
        linear-gradient(135deg, rgba(22, 33, 63, 0.98), rgba(44, 66, 105, 0.9) 42%, rgba(217, 39, 47, 0.82)),
        #16213f;
}

.hero-copy {
    min-width: 0;
    color: #ffffff;
}

.eyebrow {
    margin: 0 0 0.7rem;
    color: var(--gold);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    font-family: "Manrope", "Inter", sans-serif;
    font-weight: 800;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 600px;
    color: #ffffff;
    font-size: clamp(2.75rem, 4.5vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    overflow-wrap: normal;
    word-break: normal;
}

.hero-copy p:not(.eyebrow) {
    max-width: 560px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    font-weight: 650;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.primary-action,
.secondary-action,
.admission-actions a {
    min-height: 48px;
    justify-content: center;
    border-radius: 10px;
    padding: 0.78rem 1rem;
    font-family: "Manrope", "Inter", sans-serif;
    font-weight: 800;
}

.primary-action {
    color: #101828;
    background: var(--gold);
}

.secondary-action {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
    margin-top: 1.2rem;
}

.social-row a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: #ffffff;
}

.social-row img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.hero-mosaic {
    min-width: 0;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: 250px 250px;
    gap: 0.8rem;
}

.hero-mosaic img,
.event-card img,
.principal-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-mosaic img {
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.68);
    border-radius: 14px;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
}

.hero-mosaic .mosaic-large {
    grid-row: 1 / 3;
}

.quick-strip {
    width: var(--wrap);
    margin: -2rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    position: relative;
    z-index: 2;
}

.quick-strip article,
.principal-message,
.event-card,
.about-list article,
.campus-grid article,
.contact-grid a {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(16, 32, 51, 0.08);
}

.quick-strip article {
    min-height: 112px;
    display: grid;
    gap: 0.3rem;
    align-content: center;
    padding: 1rem;
}

.quick-strip svg,
.about-list svg,
.campus-grid svg,
.contact-grid svg {
    color: var(--red);
}

.quick-strip strong,
.quick-strip span,
.event-card strong,
.event-card span,
.about-list strong,
.about-list span,
.campus-grid strong,
.campus-grid span,
.site-footer strong,
.site-footer span {
    display: block;
}

.quick-strip strong,
.event-card strong,
.about-list strong,
.campus-grid strong {
    color: var(--navy);
    font-family: "Manrope", "Inter", sans-serif;
}

.quick-strip span,
.event-card span,
.about-list span,
.campus-grid span,
.section-heading p,
.split-section p,
.admission-section p,
.contact-section p {
    color: var(--muted);
}

.section-shell,
.principal-section,
.admission-section,
.contact-section {
    width: var(--wrap);
    margin: 0 auto;
}

.section-shell {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

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

.section-heading.compact {
    max-width: 620px;
}

.section-heading h2,
.principal-message h2,
.split-section h2,
.admission-section h2,
.contact-section h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.08;
}

.section-heading p,
.split-section p,
.admission-section p,
.contact-section p {
    margin: 0.82rem 0 0;
}

.principal-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
    gap: 1rem;
    align-items: stretch;
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.principal-photo {
    min-height: 560px;
    overflow: hidden;
    border-radius: 8px;
    background: #edf1f6;
    box-shadow: var(--shadow);
}

.principal-photo img {
    object-position: center top;
}

.principal-message {
    padding: clamp(1.25rem, 3vw, 2.2rem);
}

.principal-message h2 {
    color: var(--navy);
}

.principal-message p {
    margin: 0.9rem 0 0;
}

.principal-lead {
    color: var(--ink) !important;
    font-weight: 750;
}

.principal-signoff {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.principal-signoff strong {
    color: var(--navy);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 1.2rem;
}

.principal-signoff small {
    color: var(--red);
    font-weight: 800;
}

.events-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--soft);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(270px, auto);
    gap: 1rem;
}

.event-card {
    overflow: hidden;
}

.event-card img {
    aspect-ratio: 4 / 3;
    object-position: center;
}

.event-card div {
    padding: 0.95rem;
}

.feature-event {
    grid-column: span 2;
    grid-row: span 2;
}

.feature-event img {
    height: calc(100% - 88px);
    min-height: 460px;
    aspect-ratio: auto;
}

.about-section,
.campus-section {
    background: #ffffff;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1.25fr);
    gap: 1.2rem;
    align-items: start;
}

.about-list,
.campus-grid,
.contact-grid {
    display: grid;
    gap: 1rem;
}

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

.about-list article,
.campus-grid article {
    min-height: 168px;
    display: grid;
    align-content: start;
    gap: 0.4rem;
    padding: 1.15rem;
}

.admission-section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) auto;
    gap: 1.4rem;
    align-items: center;
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.admission-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.8rem;
}

.admission-actions a {
    border: 1px solid var(--line);
    color: var(--navy);
    background: #ffffff;
}

.admission-actions a:first-child {
    border-color: var(--green);
    color: #ffffff;
    background: var(--green);
}

.campus-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.68fr) minmax(420px, 1.32fr);
    gap: 1.2rem;
    align-items: start;
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid a {
    min-height: 78px;
    padding: 1rem;
    font-family: "Manrope", "Inter", sans-serif;
    font-weight: 800;
}

.contact-grid img {
    width: 28px;
    height: 28px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.55rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: #ffffff;
}

.site-footer img {
    width: 74px;
    height: 52px;
    object-fit: contain;
}

.site-footer strong {
    color: var(--ink);
    font-family: "Manrope", "Inter", sans-serif;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 120;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 16px 34px rgba(16, 32, 51, 0.24);
}

.floating-whatsapp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1000px) {
    .hero,
    .principal-section,
    .split-section,
    .admission-section,
    .contact-section {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        min-height: auto;
    }

    .hero-mosaic {
        grid-template-rows: 220px 220px;
    }

    .quick-strip,
    .about-list,
    .campus-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admission-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    :root {
        --wrap: calc(100% - 24px);
    }

    .top-strip {
        display: none;
    }

    .main-nav {
        min-height: 70px;
    }

    .brand img {
        width: 56px;
        height: 44px;
    }

    .brand-copy {
        gap: 0.08rem;
    }

    .brand-copy strong {
        max-width: calc(100vw - 136px);
        font-size: 0.9rem;
        line-height: 1.05;
    }

    .brand-copy small {
        font-size: 0.62rem;
    }

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

    .nav-links {
        position: absolute;
        left: 12px;
        right: 12px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.12rem;
        padding: 0.65rem;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        min-height: 44px;
        padding: 0.65rem 0.75rem;
    }

    .nav-login {
        justify-content: center;
    }

    .hero {
        padding: 1.25rem 12px 2.3rem;
    }

    .hero h1 {
        font-size: clamp(2.15rem, 10vw, 3rem);
        line-height: 1.04;
        letter-spacing: -0.025em;
    }

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

    .primary-action,
    .secondary-action,
    .admission-actions a {
        width: 100%;
    }

    .hero-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 190px 160px;
    }

    .hero-mosaic .mosaic-large {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .quick-strip {
        margin-top: 0;
    }

    .section-shell,
    .principal-section,
    .admission-section,
    .contact-section {
        padding: 2.6rem 0;
    }

    .principal-photo {
        min-height: 420px;
    }

    .events-grid {
        display: flex;
        overflow-x: auto;
        gap: 0.9rem;
        padding-bottom: 0.45rem;
        scroll-snap-type: x mandatory;
    }

    .event-card,
    .feature-event {
        min-width: min(84vw, 340px);
        grid-column: auto;
        grid-row: auto;
        scroll-snap-align: start;
    }

    .feature-event img {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .site-footer {
        justify-content: flex-start;
    }

    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 58px;
        height: 58px;
        border-width: 3px;
    }
}

@media (max-width: 460px) {
    .hero-mosaic {
        grid-template-rows: 170px 140px;
    }

    .section-heading h2,
    .principal-message h2,
    .split-section h2,
    .admission-section h2,
    .contact-section h2 {
        font-size: 1.6rem;
    }
}
