@import url(
'https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap'
);


/* ================================
   VARIABLES
================================ */

:root {

    --blue: #0a6fb7;

    --blue-light: #1b88cf;

    --blue-dark: #07558d;

    --navy: #102f50;

    --navy-dark: #071f35;

    --gold: #f4d35e;

    --green: #2e8b57;

    --white: #ffffff;

    --text: #17202a;

    --muted: #667085;

    --light: #f5f8fb;

    --lighter-blue: #eaf5fc;

    --border: #e3eaf0;

    --container: 1200px;

}



/* ================================
   RESET
================================ */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: "Manrope", sans-serif;

    background: var(--white);

    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;

}


img {

    width: 100%;

    display: block;

}


a {

    text-decoration: none;

    color: inherit;

}


button {

    font: inherit;

}


.container {

    width: min(92%, var(--container));

    margin-inline: auto;

}


.section {

    padding: 110px 0;

}



/* ================================
   TOP BAR
================================ */

.top-bar {

    background: var(--navy);

    color: var(--white);

}


.top-bar-content {

    min-height: 40px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 0.82rem;

}


.top-links {

    display: flex;

    gap: 28px;

}


.top-links a {

    color: rgba(255,255,255,.78);

    transition: .25s;

}


.top-links a:hover {

    color: var(--white);

}



/* ================================
   NAVIGATION
================================ */

.navbar {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255,255,255,.97);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(15,45,75,.06);

}


.nav-container {

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo,
.footer-logo {

    display: inline-flex;

    align-items: center;

    gap: 13px;

}


.logo-mark {

    width: 54px;

    height: 54px;

    border-radius: 13px;

    display: grid;

    place-items: center;

    background: linear-gradient(
        145deg,
        var(--blue),
        var(--blue-light)
    );

    color: var(--white);

    font-weight: 800;

    font-size: 1.1rem;

    box-shadow: 0 8px 20px rgba(10,111,183,.18);

}


.logo-text {

    display: flex;

    flex-direction: column;

    line-height: 1.1;

}


.logo-text strong {

    color: var(--navy);

    font-size: 1.03rem;

}


.logo-text span {

    margin-top: 3px;

    color: var(--muted);

    font-size: .73rem;

}


.nav-links {

    display: flex;

    align-items: center;

    gap: 29px;

}


.nav-links a {

    position: relative;

    padding: 33px 0;

    color: #344054;

    font-size: .88rem;

    font-weight: 600;

    transition: color .25s;

}


.nav-links a::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: 22px;

    width: 0;

    height: 2px;

    background: var(--blue);

    transform: translateX(-50%);

    transition: .3s;

}


.nav-links a:hover,
.nav-links a.active {

    color: var(--blue);

}


.nav-links a:hover::after,
.nav-links a.active::after {

    width: 100%;

}


.menu-btn {

    display: none;

    width: 42px;

    height: 42px;

    border: 0;

    background: transparent;

    cursor: pointer;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

}


.menu-btn span {

    display: block;

    width: 24px;

    height: 2px;

    background: var(--navy);

    transition: .3s;

}



/* ================================
   HERO
================================ */

.hero {

    position: relative;

    min-height: 720px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:

        url("../assets/images/hero-school.jpg")

        center / cover

        no-repeat;

    color: var(--white);

}


.hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            180deg,
            transparent 70%,
            rgba(4,23,39,.2)
        );

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            90deg,

            rgba(5,30,52,.94) 0%,

            rgba(5,30,52,.83) 35%,

            rgba(5,30,52,.45) 65%,

            rgba(5,30,52,.12) 100%
        );

}


.hero-content {

    position: relative;

    z-index: 3;

}


.hero-content > * {

    max-width: 780px;

}


.hero-tag {

    position: relative;

    display: inline-block;

    padding-left: 42px;

    margin-bottom: 24px;

    color: var(--gold);

    font-size: .87rem;

    font-weight: 800;

    letter-spacing: .3px;

}


.hero-tag::before {

    content: "";

    position: absolute;

    left: 0;

    top: 50%;

    width: 29px;

    height: 2px;

    background: var(--gold);

}


.hero h1 {

    max-width: 850px;

    margin-bottom: 28px;

    font-size: clamp(3.7rem, 6.4vw, 6.5rem);

    line-height: .98;

    letter-spacing: -5px;

    font-weight: 800;

}


.hero-description {

    max-width: 630px;

    margin-bottom: 38px;

    color: rgba(255,255,255,.83);

    font-size: 1.08rem;

    line-height: 1.8;

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

}


.hero-scroll {

    position: absolute;

    z-index: 4;

    right: 40px;

    bottom: 42px;

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: .72rem;

    color: rgba(255,255,255,.7);

    transform: rotate(-90deg);

    transform-origin: right bottom;

}


.hero-scroll span {

    width: 45px;

    height: 1px;

    background: rgba(255,255,255,.6);

}



/* ================================
   BUTTONS
================================ */

.btn {

    min-height: 56px;

    padding: 0 28px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border-radius: 8px;

    font-size: .89rem;

    font-weight: 700;

    transition:

        transform .3s,
        box-shadow .3s,
        background .3s;

}


.btn-primary {

    background: var(--blue);

    color: var(--white);

    box-shadow: 0 12px 28px rgba(10,111,183,.28);

}


.btn-primary:hover {

    transform: translateY(-3px);

    background: var(--blue-light);

    box-shadow: 0 18px 36px rgba(10,111,183,.35);

}


.btn-outline {

    border: 1px solid rgba(255,255,255,.55);

    color: var(--white);

    backdrop-filter: blur(3px);

}


.btn-outline:hover {

    transform: translateY(-3px);

    background: var(--white);

    color: var(--navy);

}


.btn-white {

    min-width: 185px;

    background: var(--white);

    color: var(--blue);

}


.btn-white:hover {

    transform: translateY(-3px);

    box-shadow: 0 16px 35px rgba(0,0,0,.13);

}



/* ================================
   QUICK INFORMATION
================================ */

.quick-info {

    position: relative;

    z-index: 10;

    margin-top: -73px;

}


.info-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    background: var(--white);

    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 25px 65px rgba(20,48,75,.15);

}


.info-card {

    min-height: 190px;

    padding: 40px 38px;

    display: flex;

    gap: 22px;

    align-items: flex-start;

    border-right: 1px solid var(--border);

    transition: .3s;

}


.info-card:last-child {

    border-right: 0;

}


.info-card:hover {

    background: #fbfdff;

}


.info-icon {

    flex: 0 0 46px;

    width: 46px;

    height: 46px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--lighter-blue);

    color: var(--blue);

    font-size: 1rem;

    font-weight: 800;

}


.info-card h3 {

    margin-bottom: 9px;

    color: var(--navy);

    font-size: 1.08rem;

}


.info-card p {

    color: var(--muted);

    font-size: .87rem;

    line-height: 1.75;

}



/* ================================
   COMMON HEADINGS
================================ */

.section-tag {

    margin-bottom: 14px;

    color: var(--blue);

    font-size: .78rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 2px;

}


.section-heading {

    max-width: 730px;

    margin-bottom: 54px;

}


.section-heading h2,
.welcome-content h2,
.headteacher-content h2,
.why-header h2,
.school-life-header h2,
.cta-content h2 {

    color: var(--navy);

    font-size: clamp(2.5rem, 4.6vw, 4.2rem);

    line-height: 1.08;

    letter-spacing: -2.8px;

}


.section-heading > p:last-child {

    margin-top: 19px;

    color: var(--muted);

}


.centre {

    margin-inline: auto;

    text-align: center;

}


.centre > p:last-child {

    max-width: 660px;

    margin: 20px auto 0;

}


.text-link {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--blue);

    font-size: .9rem;

    font-weight: 800;

}


.text-link span {

    transition: transform .25s;

}


.text-link:hover span {

    transform: translateX(5px);

}



/* ================================
   WELCOME
================================ */

.welcome {

    padding-top: 150px;

}


.welcome-grid {

    display: grid;

    grid-template-columns: 1.03fr .97fr;

    align-items: center;

    gap: 100px;

}


.welcome-image {

    position: relative;

    padding: 0 0 35px 35px;

}


.welcome-image img {

    position: relative;

    z-index: 2;

    height: 590px;

    border-radius: 18px;

    object-fit: cover;

}


.image-decoration {

    position: absolute;

    left: 0;

    bottom: 0;

    width: 60%;

    height: 60%;

    border-radius: 16px;

    background: var(--lighter-blue);

}


.image-label {

    position: absolute;

    z-index: 4;

    right: -30px;

    bottom: 70px;

    width: 165px;

    height: 165px;

    border-radius: 50%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background: var(--gold);

    color: var(--navy);

    box-shadow: 0 18px 45px rgba(30,60,90,.18);

}


.image-label strong {

    font-size: 1.35rem;

}


.image-label span {

    font-size: .84rem;

}


.welcome-content h2 {

    margin-bottom: 27px;

}


.welcome-content > p {

    margin-bottom: 20px;

    color: var(--muted);

}


.welcome-content .lead-text {

    color: #40546a;

    font-size: 1.05rem;

    line-height: 1.8;

}


.welcome-points {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin: 33px 0;

}


.welcome-points div {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #425466;

    font-size: .88rem;

    font-weight: 600;

}


.welcome-points span {

    width: 25px;

    height: 25px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--lighter-blue);

    color: var(--blue);

    font-size: .7rem;

}



/* ================================
   PROGRAMMES
================================ */

.programmes {

    background: var(--light);

}


.programme-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

}


.programme-card {

    position: relative;

    height: 520px;

    overflow: hidden;

    border-radius: 18px;

    background: var(--navy);

    box-shadow: 0 10px 25px rgba(25,50,75,.08);

}


.programme-card img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .7s ease;

}


.programme-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(

            to top,

            rgba(4,26,46,.96) 0%,

            rgba(4,26,46,.76) 33%,

            rgba(4,26,46,.14) 72%,

            transparent 100%

        );

}


.programme-card:hover img {

    transform: scale(1.07);

}


.programme-overlay {

    position: absolute;

    z-index: 3;

    left: 31px;

    right: 31px;

    bottom: 32px;

    color: var(--white);

}


.programme-overlay > span {

    display: block;

    margin-bottom: 7px;

    color: var(--gold);

    font-size: .72rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


.programme-overlay h3 {

    margin-bottom: 9px;

    font-size: 1.8rem;

}


.programme-overlay p {

    margin-bottom: 18px;

    color: rgba(255,255,255,.76);

    font-size: .85rem;

    line-height: 1.7;

}


.programme-overlay a {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    font-size: .84rem;

    font-weight: 700;

}


.programme-overlay b {

    transition: .3s;

}


.programme-overlay a:hover b {

    transform: translateX(5px);

}



/* ================================
   HEADTEACHER
================================ */

.headteacher {

    background: var(--white);

}


.headteacher-grid {

    display: grid;

    grid-template-columns: .92fr 1.08fr;

    gap: 100px;

    align-items: center;

}


.headteacher-content h2 {

    margin-bottom: 32px;

}


.headteacher-content blockquote {

    margin-bottom: 24px;

    padding-left: 24px;

    border-left: 4px solid var(--gold);

    color: #3d5268;

    font-size: 1.06rem;

    font-weight: 500;

    line-height: 1.8;

}


.headteacher-content > p {

    color: var(--muted);

}


.headteacher-name {

    display: flex;

    align-items: center;

    gap: 17px;

    margin: 30px 0;

}


.signature-line {

    width: 43px;

    height: 2px;

    background: var(--blue);

}


.headteacher-name div:last-child {

    display: flex;

    flex-direction: column;

}


.headteacher-name strong {

    color: var(--navy);

}


.headteacher-name span {

    color: var(--muted);

    font-size: .76rem;

}


.headteacher-photo {

    position: relative;

    padding: 35px 35px 0 0;

}


.headteacher-photo-bg {

    position: absolute;

    right: 0;

    top: 0;

    width: 70%;

    height: 60%;

    border-radius: 20px;

    background: var(--lighter-blue);

}


.headteacher-photo img {

    position: relative;

    z-index: 2;

    height: 600px;

    object-fit: cover;

    border-radius: 18px;

}


.photo-badge {

    position: absolute;

    z-index: 4;

    left: -40px;

    bottom: 42px;

    width: 175px;

    height: 175px;

    border-radius: 50%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background: var(--gold);

    color: var(--navy);

    box-shadow: 0 20px 45px rgba(25,50,80,.18);

}


.photo-badge strong {

    font-size: 1.32rem;

}


.photo-badge span {

    font-size: .82rem;

}



/* ================================
   WHY US
================================ */

.why-us {

    background: var(--navy-dark);

    color: var(--white);

}


.why-header {

    margin-bottom: 58px;

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 70px;

    align-items: end;

}


.why-header .section-tag {

    color: var(--gold);

}


.why-header h2 {

    color: var(--white);

}


.why-header > p {

    padding-bottom: 6px;

    color: rgba(255,255,255,.62);

    font-size: .95rem;

    line-height: 1.8;

}


.features-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

}


.feature-card {

    min-height: 300px;

    padding: 34px;

    border: 1px solid rgba(255,255,255,.11);

    border-radius: 13px;

    background: rgba(255,255,255,.04);

    transition: .35s;

}


.feature-card:hover {

    transform: translateY(-7px);

    background: rgba(255,255,255,.08);

    border-color: rgba(244,211,94,.35);

}


.feature-icon {

    width: 53px;

    height: 53px;

    margin-bottom: 36px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: rgba(244,211,94,.12);

    color: var(--gold);

    font-size: 1.1rem;

}


.feature-card h3 {

    margin-bottom: 13px;

    font-size: 1.06rem;

}


.feature-card p {

    color: rgba(255,255,255,.58);

    font-size: .84rem;

    line-height: 1.8;

}



/* ================================
   SCHOOL LIFE
================================ */

.school-life-showcase {

    background: var(--white);

}


.school-life-header {

    margin-bottom: 46px;

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 45px;

}


.school-life-header h2 {

    max-width: 760px;

}


.life-gallery {

    display: grid;

    grid-template-columns: 1.3fr 1fr 1fr;

    grid-template-rows: 285px 285px;

    gap: 14px;

}


.life-photo {

    position: relative;

    overflow: hidden;

    border-radius: 12px;

}


.life-photo.large {

    grid-row: 1 / 3;

}


.life-photo.wide {

    grid-column: 2 / 4;

}


.life-photo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .6s;

}


.life-photo::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(

            to top,

            rgba(5,27,47,.82),

            rgba(5,27,47,.06) 65%

        );

}


.life-photo:hover img {

    transform: scale(1.055);

}


.life-overlay {

    position: absolute;

    z-index: 3;

    left: 26px;

    bottom: 23px;

    color: var(--white);

}


.life-overlay span {

    display: block;

    margin-bottom: 2px;

    color: var(--gold);

    font-size: .67rem;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

}


.life-overlay h3 {

    font-size: 1.3rem;

}



/* ================================
   MOTTO BANNER
================================ */

.motto-banner {

    padding: 120px 0;

    position: relative;

    overflow: hidden;

    background:

        linear-gradient(
            rgba(6,38,66,.87),
            rgba(6,38,66,.87)
        ),

        url("../assets/images/hero-school.jpg")

        center / cover

        fixed;

    color: var(--white);

}


.motto-banner-content {

    max-width: 850px;

    text-align: center;

}


.motto-small {

    display: block;

    margin-bottom: 15px;

    color: var(--gold);

    font-size: .76rem;

    font-weight: 800;

    letter-spacing: 1.6px;

    text-transform: uppercase;

}


.motto-banner h2 {

    font-size: clamp(3rem, 5.5vw, 5.5rem);

    line-height: 1.02;

    letter-spacing: -4px;

}



/* ================================
   ADMISSION CTA
================================ */

.admissions-cta {

    padding: 95px 0;

    background:

        linear-gradient(
            115deg,
            var(--blue-dark),
            var(--blue),
            #1784c7
        );

    color: var(--white);

}


.cta-content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 50px;

}


.cta-content > div {

    max-width: 740px;

}


.cta-content h2 {

    margin-bottom: 15px;

    color: var(--white);

}


.cta-content p {

    max-width: 650px;

    color: rgba(255,255,255,.76);

}


.section-tag.light {

    color: var(--gold);

}



/* ================================
   FOOTER
================================ */

.footer {

    padding-top: 80px;

    background: var(--white);

}


.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1.4fr;

    gap: 70px;

    padding-bottom: 68px;

}


.footer-about {

    max-width: 330px;

}


.footer-about p {

    margin: 24px 0 13px;

    color: var(--muted);

    font-size: .88rem;

    line-height: 1.8;

}


.motto {

    color: var(--blue);

}


.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;

}


.footer-column h4 {

    margin-bottom: 9px;

    color: var(--navy);

}


.footer-column a,
.footer-column p {

    color: var(--muted);

    font-size: .85rem;

}


.footer-column a {

    transition: .25s;

}


.footer-column a:hover {

    color: var(--blue);

    transform: translateX(3px);

}


.footer-bottom {

    min-height: 76px;

    border-top: 1px solid var(--border);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: var(--muted);

    font-size: .76rem;

}



/* ================================
   SCROLL ANIMATIONS
================================ */

.reveal {

    opacity: 0;

    transform: translateY(35px);

    transition:

        opacity .75s ease,
        transform .75s ease;

}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);

}



/* ================================
   TABLET
================================ */

@media (max-width: 1080px) {


    .nav-links {

        position: absolute;

        top: 90px;

        left: 0;

        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 15px 5% 25px;

        background: var(--white);

        box-shadow: 0 20px 30px rgba(0,0,0,.08);

    }


    .nav-links.show {

        display: flex;

    }


    .nav-links a {

        padding: 14px 0;

    }


    .nav-links a::after {

        display: none;

    }


    .menu-btn {

        display: flex;

    }


    .info-card {

        padding: 35px 27px;

    }


    .welcome-grid,
    .headteacher-grid {

        gap: 60px;

    }


    .features-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .footer-grid {

        grid-template-columns: 1.5fr 1fr 1fr;

    }


    .footer-column:last-child {

        grid-column: 1 / 4;

    }

}



/* ================================
   SMALL TABLET
================================ */

@media (max-width: 850px) {


    .section {

        padding: 90px 0;

    }


    .hero {

        min-height: 660px;

    }


    .hero h1 {

        letter-spacing: -3px;

    }


    .quick-info {

        margin-top: 0;

    }


    .info-grid {

        border-radius: 0;

        grid-template-columns: 1fr;

    }


    .info-card {

        min-height: unset;

        border-right: 0;

        border-bottom: 1px solid var(--border);

    }


    .welcome {

        padding-top: 100px;

    }


    .welcome-grid,
    .headteacher-grid {

        grid-template-columns: 1fr;

    }


    .welcome-image {

        max-width: 650px;

    }


    .welcome-image img {

        height: 520px;

    }


    .programme-grid {

        grid-template-columns: 1fr 1fr;

    }


    .programme-card:last-child {

        grid-column: 1 / 3;

    }


    .why-header {

        grid-template-columns: 1fr;

        gap: 25px;

    }


    .school-life-header {

        flex-direction: column;

        align-items: flex-start;

    }


    .life-gallery {

        grid-template-columns: 1fr 1fr;

        grid-template-rows: auto;

    }


    .life-photo,
    .life-photo.large,
    .life-photo.wide {

        grid-row: auto;

        grid-column: auto;

        height: 350px;

    }


    .cta-content {

        flex-direction: column;

        align-items: flex-start;

    }

}



/* ================================
   MOBILE
================================ */

@media (max-width: 650px) {


    .container {

        width: min(90%, var(--container));

    }


    .top-bar {

        display: none;

    }


    .nav-container {

        height: 74px;

    }


    .nav-links {

        top: 74px;

    }


    .logo-mark {

        width: 46px;

        height: 46px;

        font-size: .9rem;

    }


    .logo-text strong {

        font-size: .88rem;

    }


    .logo-text span {

        font-size: .64rem;

    }


    .hero {

        min-height: 670px;

        background-position: 58% center;

    }


    .hero-overlay {

        background:

            linear-gradient(
                rgba(5,30,52,.83),
                rgba(5,30,52,.83)
            );

    }


    .hero-tag {

        padding-left: 0;

    }


    .hero-tag::before {

        display: none;

    }


    .hero h1 {

        font-size: clamp(3rem, 14vw, 4.4rem);

        letter-spacing: -3px;

    }


    .hero-description {

        font-size: .96rem;

    }


    .hero-buttons {

        flex-direction: column;

    }


    .hero-buttons .btn {

        width: 100%;

    }


    .hero-scroll {

        display: none;

    }


    .section {

        padding: 78px 0;

    }


    .section-heading h2,
    .welcome-content h2,
    .headteacher-content h2,
    .why-header h2,
    .school-life-header h2,
    .cta-content h2 {

        font-size: 2.55rem;

        letter-spacing: -2px;

    }


    .welcome-image {

        padding: 0;

    }


    .welcome-image img {

        height: 430px;

    }


    .image-decoration {

        display: none;

    }


    .image-label {

        right: -8px;

        bottom: -25px;

        width: 125px;

        height: 125px;

    }


    .image-label strong {

        font-size: 1rem;

    }


    .welcome-points {

        grid-template-columns: 1fr;

    }


    .programme-grid {

        grid-template-columns: 1fr;

    }


    .programme-card,
    .programme-card:last-child {

        grid-column: auto;

        height: 450px;

    }


    .headteacher-photo {

        padding: 20px 0 0;

    }


    .headteacher-photo img {

        height: 500px;

    }


    .headteacher-photo-bg {

        right: -15px;

    }


    .photo-badge {

        left: -10px;

        bottom: 25px;

        width: 125px;

        height: 125px;

    }


    .photo-badge strong {

        font-size: 1rem;

    }


    .features-grid {

        grid-template-columns: 1fr;

    }


    .feature-card {

        min-height: 250px;

    }


    .life-gallery {

        grid-template-columns: 1fr;

    }


    .life-photo,
    .life-photo.large,
    .life-photo.wide {

        height: 390px;

    }


    .motto-banner {

        padding: 90px 0;

        background-attachment: scroll;

    }


    .motto-banner h2 {

        font-size: 3.2rem;

        letter-spacing: -3px;

    }


    .footer-grid {

        grid-template-columns: 1fr 1fr;

        gap: 45px 30px;

    }


    .footer-column:last-child {

        grid-column: auto;

    }


    .footer-about {

        grid-column: 1 / 3;

    }


    .footer-bottom {

        padding: 24px 0;

        flex-direction: column;

        align-items: flex-start;

    }

}



/* ================================
   VERY SMALL MOBILE
================================ */

@media (max-width: 430px) {


    .hero {

        min-height: 640px;

    }


    .hero h1 {

        font-size: 3.15rem;

    }


    .programme-card {

        height: 420px;

    }


    .footer-grid {

        grid-template-columns: 1fr;

    }


    .footer-about {

        grid-column: auto;

    }


    .section-heading h2,
    .welcome-content h2,
    .headteacher-content h2,
    .why-header h2,
    .school-life-header h2,
    .cta-content h2 {

        font-size: 2.2rem;

    }

}

/* ==========================================================
   TARGETED HOMEPAGE PATCH
   Header + Admissions CTA + Footer only
   Paste this at the VERY END of css/style.css
========================================================== */


/* --------------------------
   1. HEADER / REAL LOGO
-------------------------- */

.top-bar-content {
    min-height: 32px;
    height: 32px;
    font-size: 0.75rem;
}

.nav-container {
    height: 76px;
}

.school-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    object-fit: contain;
}

.nav-links a {
    padding: 26px 0;
}

.nav-links a::after {
    bottom: 16px;
}


/* --------------------------
   2. COMPACT ADMISSIONS CTA
-------------------------- */

.admissions-cta {
    position: relative;
    padding: 68px 0;
    overflow: hidden;
    background:
        linear-gradient(
            115deg,
            #07558d 0%,
            #0a6fb7 56%,
            #1689cf 100%
        );
    color: #ffffff;
}

.admissions-pattern {
    position: absolute;
    width: 360px;
    height: 360px;
    right: -90px;
    top: -165px;
    border-radius: 50%;
    border: 70px solid rgba(255, 255, 255, 0.05);
}

.admissions-cta::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -110px;
    bottom: -145px;
    border-radius: 50%;
    background: rgba(244, 211, 94, 0.08);
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.cta-text {
    max-width: 720px;
}

.cta-content .section-tag {
    margin-bottom: 10px;
}

.cta-content h2 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -2.4px;
}

.cta-content p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.93rem;
    line-height: 1.75;
}

.cta-action {
    min-width: 235px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-action small {
    max-width: 220px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.67rem;
    line-height: 1.5;
    text-align: center;
}

.btn-white {
    min-width: 220px;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 9px;
}


/* --------------------------
   3. IMPROVED FOOTER
-------------------------- */

.footer {
    padding-top: 72px;
    background: #071f35;
    color: #ffffff;
}

.footer-grid {
    grid-template-columns: 1.7fr 0.8fr 0.8fr 1.35fr;
    gap: 64px;
    padding-bottom: 58px;
}

.footer-about {
    max-width: 360px;
}

.footer-logo .logo-text strong {
    color: #ffffff;
}

.footer-logo .logo-text span {
    color: rgba(255, 255, 255, 0.55);
}

.footer-school-logo {
    width: 54px;
    height: 54px;
}

.footer-about p {
    margin: 22px 0 15px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.86rem;
    line-height: 1.8;
}

.footer .motto {
    color: #f4d35e;
}

.footer-column h4 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-column a,
.footer-column p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-contact-link {
    margin-top: 8px;
    color: #f4d35e !important;
    font-weight: 700;
}

.footer-bottom {
    min-height: 72px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.48);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.55);
    transition: 0.25s;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}


/* --------------------------
   RESPONSIVE PATCH
-------------------------- */

@media (max-width: 1080px) {
    .nav-links {
        top: 76px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-contact {
        grid-column: 1 / 4;
    }
}

@media (max-width: 750px) {
    .top-bar {
        display: none;
    }

    .nav-container {
        height: 70px;
    }

    .nav-links {
        top: 70px;
    }

    .school-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .admissions-cta {
        padding: 58px 0;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .cta-action {
        width: 100%;
        align-items: flex-start;
    }

    .btn-white {
        width: 100%;
    }

    .cta-action small {
        max-width: none;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 42px 28px;
    }

    .footer-about,
    .footer-contact {
        grid-column: 1 / 3;
    }

    .footer-bottom {
        padding: 22px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 430px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-about,
    .footer-contact {
        grid-column: auto;
    }
}