:root {
    --navy: #08284a;
    --blue: #0d4f8b;
    --gold: #f4c430;
    --gold-dark: #c99913;
    --ink: #172033;
    --muted: #667085;
    --line: #dfe7ef;
    --soft: #f4f8fb;
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(8, 40, 74, 0.14);
    --radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background: var(--white);
    color: var(--ink);
    font-family: "Poppins", Arial, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    margin: 0 auto;
    max-width: 90%;
    padding-inline: 15px;
    width: 90%;
}

.section {
    padding: 92px 0;
}

.muted {
    background: var(--soft);
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(223, 231, 239, 0.8);
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: box-shadow 0.25s ease, background 0.25s ease;
    z-index: 1000;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(8, 40, 74, 0.08);
}

.nav-wrap {
    align-items: center;
    display: flex;
    height: 82px;
    justify-content: space-between;
}

.brand {
    align-items: center;
    display: inline-flex;
    gap: 12px;
}

.brand-mark {
    align-items: center;
    background: var(--navy);
    border: 3px solid var(--gold);
    border-radius: 50%;
    color: var(--white);
    display: grid;
    font-weight: 800;
    height: 48px;
    place-items: center;
    width: 48px;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    color: var(--navy);
    font-size: 1.18rem;
    line-height: 1;
}

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

.nav-links {
    align-items: center;
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--ink);
    font-size: 0.93rem;
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    background: var(--gold);
    bottom: -9px;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    height: 42px;
    position: relative;
    width: 42px;
}

.menu-toggle span {
    background: var(--navy);
    display: block;
    height: 2px;
    left: 9px;
    position: absolute;
    transition: transform 0.2s ease, opacity 0.2s ease;
    width: 24px;
}

.menu-toggle span:nth-child(1) {
    top: 12px;
}

.menu-toggle span:nth-child(2) {
    top: 20px;
}

.menu-toggle span:nth-child(3) {
    top: 28px;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    color: var(--white);
    overflow: hidden;
    padding-top: 82px;
    position: relative;
}

.hero-bg {
    background:
        linear-gradient(90deg, rgba(8, 40, 74, 0.94), rgba(8, 40, 74, 0.78) 48%, rgba(8, 40, 74, 0.38)),
        url("../images/images1.webp") center/cover;
    inset: 0;
    position: absolute;
}

.hero::after {
    background: var(--gold);
    bottom: 0;
    content: "";
    height: 7px;
    left: 0;
    position: absolute;
    width: 42%;
}

.hero-grid {
    align-items: center;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 340px;
    min-height: auto;
    padding-block: 200px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 720px;
}

.eyebrow {
    color: var(--gold);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--blue);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6.4rem);
    letter-spacing: 0;
    line-height: 0.98;
    margin-bottom: 24px;
    max-width: 850px;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.16rem;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    align-items: center;
    background: var(--navy);
    border: 1px solid var(--navy);
    border-radius: 6px;
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--navy);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

.hero-panel {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--ink);
    display: grid;
    gap: 1px;
    overflow: hidden;
}

.hero-panel div {
    background: var(--white);
    padding: 26px;
}

.hero-panel strong {
    color: var(--blue);
    display: block;
    font-size: 2.2rem;
    line-height: 1;
}

.hero-panel span {
    color: var(--muted);
    font-weight: 600;
}

.intro-strip {
    background: var(--navy);
    color: var(--white);
}

.strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.strip-grid div {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    padding: 26px 28px;
}

.strip-grid div:last-child {
    border-right: 0;
}

.strip-grid span {
    color: var(--gold);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.strip-grid strong {
    display: block;
    font-size: 1.05rem;
    margin-top: 4px;
}

.two-col {
    align-items: center;
    display: grid;
    gap: 64px;
    grid-template-columns: 1fr 1fr;
}

.two-col.reverse {
    grid-template-columns: 0.82fr 1.18fr;
}

.section-copy h2,
.section-title h2,
.admission-box h2,
.contact-info h2,
.principal-card h2 {
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: 0;
    line-height: 1.12;
    margin-bottom: 18px;
}

.section-copy p,
.section-title p,
.admission-box p,
.contact-info p,
.principal-card p {
    color: var(--muted);
    margin-bottom: 16px;
}

.image-stack {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    min-height: 520px;
    position: relative;
}

.image-stack img {
    box-shadow: var(--shadow);
    height: 420px;
    object-fit: cover;
    width: 100%;
}

.image-stack img:first-child {
    border-radius: var(--radius);
}

.image-stack img:last-child {
    align-self: end;
    border: 8px solid var(--white);
    border-radius: var(--radius);
    margin-left: -44px;
    position: relative;
    z-index: 2;
}

.check-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.check-list span {
    align-items: center;
    color: var(--ink);
    display: flex;
    font-weight: 600;
    gap: 12px;
}

.check-list span::before {
    background: var(--gold);
    border-radius: 50%;
    content: "";
    height: 10px;
    flex: 0 0 10px;
    width: 10px;
}

.section-title {
    margin: 0 auto 44px;
    max-width: 760px;
    text-align: center;
}

.section-title.left {
    margin-left: 0;
    text-align: left;
}

.cards {
    display: grid;
    gap: 24px;
}

.cards.three {
    grid-template-columns: repeat(3, 1fr);
}

.card,
.feature {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.feature:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.card-icon {
    color: var(--gold-dark);
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.card h3,
.feature h3 {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card p,
.feature p {
    color: var(--muted);
}

.feature-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, 1fr);
}

.facilities {
    background:
        linear-gradient(90deg, rgba(244, 248, 251, 0.96), rgba(244, 248, 251, 0.8)),
        linear-gradient(180deg, var(--white), var(--soft));
}

.facilities-shell {
    align-items: center;
    display: grid;
    gap: 58px;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
}

.facilities-content h2 {
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: 0;
    line-height: 1.12;
    margin-bottom: 18px;
}

.facilities-content p {
    color: var(--muted);
    margin-bottom: 28px;
}

.facility-highlights {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.facility-highlights article {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    min-height: 154px;
    padding: 22px;
    position: relative;
}

.facility-highlights article::before {
    background: var(--gold);
    border-radius: 999px;
    content: "";
    height: 5px;
    left: 22px;
    position: absolute;
    top: 0;
    width: 48px;
}

.facility-highlights strong {
    color: var(--navy);
    display: block;
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 9px;
}

.facility-highlights span {
    color: var(--muted);
    display: block;
    font-size: 0.92rem;
    line-height: 1.55;
}

.facility-showcase {
    min-height: 560px;
    position: relative;
}

.facility-badge {
    background: var(--navy);
    border: 6px solid var(--soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--white);
    left: -26px;
    padding: 20px 24px;
    position: absolute;
    top: 34px;
    width: 178px;
    z-index: 3;
}

.facility-badge strong {
    color: var(--gold);
    display: block;
    font-size: 2.8rem;
    line-height: 1;
}

.facility-badge span {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 8px;
}

.facility-photo-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 0.72fr;
    grid-template-rows: 330px 210px;
}

.facility-photo-grid img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.facility-photo-grid img:first-child {
    grid-row: span 2;
}

.facility-photo-grid img:nth-child(2) {
    margin-top: 34px;
}

.admissions {
    background:
        linear-gradient(rgba(8, 40, 74, 0.9), rgba(8, 40, 74, 0.9)),
        url("../images/image5.webp") center/cover;
    color: var(--white);
}

.admission-box {
    align-items: center;
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) 300px auto;
}

.admission-box h2,
.admission-box p {
    color: var(--white);
}

.admission-steps {
    display: grid;
    gap: 10px;
}

.admission-steps span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    font-weight: 700;
    padding: 11px 14px;
}

.gallery-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, 1fr);
}

.gallery-grid img {
    border-radius: var(--radius);
    height: 240px;
    object-fit: cover;
    width: 100%;
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(5) {
    grid-column: span 2;
}

.principal {
    background: var(--soft);
}

.principal-card {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: 40px;
    grid-template-columns: 360px 1fr;
    padding: 32px;
}

.principal-photo img {
    border-radius: var(--radius);
    height: 360px;
    object-fit: cover;
    width: 100%;
}

.principal-card strong {
    color: var(--navy);
    display: block;
    margin-top: 18px;
}

.contact-grid {
    align-items: start;
    display: grid;
    gap: 54px;
    grid-template-columns: 1fr 440px;
}

.contact-cards {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.contact-cards div {
    border-left: 4px solid var(--gold);
    background: var(--soft);
    padding: 18px;
}

.contact-cards span {
    color: var(--blue);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-cards strong {
    color: var(--ink);
    display: block;
    font-size: 0.98rem;
    margin-top: 4px;
}

.enquiry-form {
    background: var(--navy);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--white);
    padding: 32px;
}

.enquiry-form h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.enquiry-form label {
    display: block;
    margin-bottom: 15px;
}

.enquiry-form label span {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--ink);
    outline: none;
    padding: 12px 13px;
    width: 100%;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    border-color: var(--gold);
}

.enquiry-form .btn {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    width: 100%;
}

.form-note {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 700;
    min-height: 22px;
    margin-top: 12px;
}

.site-footer {
    background: #061d36;
    color: var(--white);
    padding: 52px 0 24px;
}

.footer-grid {
    display: grid;
    gap: 34px;
    grid-template-columns: 1.3fr 0.7fr 1fr;
}

.site-footer h2 {
    color: var(--gold);
    font-size: 1.55rem;
    margin-bottom: 8px;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer strong {
    color: var(--white);
    display: block;
    margin-bottom: 10px;
}

.site-footer a {
    display: block;
    margin-bottom: 7px;
}

.site-footer a:hover {
    color: var(--gold);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    margin-top: 36px;
    padding-top: 20px;
}
