/* =========================================================
   NEW AFRICA INTERNATIONAL SCHOOL
   CONTACT PAGE
========================================================= */


/* =========================
   COMMON
========================= */

.contact-section {
    padding: 115px 0;
}


.contact-label {
    margin-bottom: 15px;

    color: var(--blue);

    font-size: .73rem;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 2px;
}


.contact-label-light {
    color: var(--gold);
}



/* =========================
   HERO
========================= */

.contact-hero {
    position: relative;

    min-height: 690px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    background: var(--navy-dark);

    color: white;
}


.contact-hero-image {
    position: absolute;
    inset: 0;

    background:
        url("../assets/images/contact-hero.jpg")
        center / cover
        no-repeat;
}


.contact-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4,26,45,.96) 0%,
            rgba(4,26,45,.84) 43%,
            rgba(4,26,45,.38) 72%,
            rgba(4,26,45,.12) 100%
        );
}


.contact-hero-inner {
    position: relative;
    z-index: 3;

    min-height: 690px;

    padding-bottom: 70px;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 70px;
}


.contact-hero-content {
    max-width: 860px;
}


.contact-breadcrumb {
    display: flex;

    gap: 10px;

    margin-bottom: 46px;

    color: rgba(255,255,255,.45);

    font-size: .7rem;
}


.contact-breadcrumb a {
    color: rgba(255,255,255,.85);
}


.contact-eyebrow {
    margin-bottom: 15px;

    color: var(--gold);

    font-size: .73rem;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 2px;
}


.contact-hero h1 {
    margin-bottom: 27px;

    font-size: clamp(4.7rem, 7vw, 7.2rem);

    line-height: .93;

    letter-spacing: -6px;
}


.contact-hero h1 span {
    color: var(--gold);
}


.contact-hero-description {
    max-width: 640px;

    color: rgba(255,255,255,.72);

    font-size: 1rem;

    line-height: 1.85;
}


.contact-hero-actions {
    margin-top: 35px;

    display: flex;

    flex-wrap: wrap;

    gap: 13px;
}


.contact-primary-btn,
.contact-outline-btn {
    min-height: 56px;

    padding: 0 27px;

    border-radius: 8px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    font-size: .82rem;

    font-weight: 800;

    transition: .3s;
}


.contact-primary-btn {
    background: #25d366;

    color: #072c1a;

    box-shadow:
        0 15px 35px rgba(37,211,102,.2);
}


.contact-primary-btn:hover {
    transform: translateY(-3px);
}


.contact-outline-btn {
    border: 1px solid rgba(255,255,255,.4);

    color: white;
}


.contact-outline-btn:hover {
    background: white;

    color: var(--navy);
}


.contact-hero-card {
    width: 295px;

    flex: 0 0 295px;

    padding: 28px;

    border: 1px solid rgba(255,255,255,.14);

    border-radius: 15px;

    display: flex;

    gap: 15px;

    background: rgba(255,255,255,.08);

    backdrop-filter: blur(12px);
}


.contact-status-dot {
    width: 10px;
    height: 10px;

    margin-top: 5px;

    flex: 0 0 10px;

    border-radius: 50%;

    background: #25d366;

    box-shadow:
        0 0 0 5px rgba(37,211,102,.12);
}


.contact-hero-card small {
    display: block;

    margin-bottom: 4px;

    color: rgba(255,255,255,.47);

    font-size: .61rem;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.contact-hero-card strong {
    display: block;

    margin-bottom: 8px;

    font-size: .96rem;
}


.contact-hero-card p {
    color: rgba(255,255,255,.57);

    font-size: .73rem;

    line-height: 1.65;
}



/* =========================
   OPTIONS
========================= */

.contact-options {
    background: white;
}


.contact-option-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);
}


.contact-option-card {
    position: relative;

    min-height: 320px;

    padding: 35px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition: .35s;
}


.contact-option-card:first-child {
    border-left: 1px solid var(--border);
}


.contact-option-card:hover {
    transform: translateY(-7px);

    z-index: 3;

    background: #fbfdff;

    box-shadow:
        0 20px 50px rgba(20,48,75,.09);
}


.option-number {
    position: absolute;

    right: 30px;
    top: 28px;

    color: #a6b5c1;

    font-size: .62rem;

    font-weight: 800;
}


.option-icon {
    width: 52px;
    height: 52px;

    margin-bottom: 35px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: #eaf5fc;

    color: var(--blue);

    font-size: .8rem;

    font-weight: 800;
}


.contact-option-card:first-child .option-icon {
    background: rgba(37,211,102,.12);

    color: #159447;
}


.contact-option-card small {
    display: block;

    margin-bottom: 6px;

    color: var(--blue);

    font-size: .61rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.2px;
}


.contact-option-card h3 {
    margin-bottom: 8px;

    color: var(--navy);

    font-size: 1.25rem;
}


.contact-option-card p {
    min-height: 45px;

    color: var(--muted);

    font-size: .79rem;

    line-height: 1.65;
}


.contact-option-card > strong {
    display: block;

    margin-top: 20px;

    color: var(--blue);

    font-size: .72rem;
}



/* =========================
   INTRO
========================= */

.contact-intro {
    background: #f6f9fc;
}


.contact-intro-grid {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 100px;

    align-items: center;
}


.contact-intro-content h2 {
    margin-bottom: 27px;

    color: var(--navy);

    font-size: clamp(3rem, 4.7vw, 4.6rem);

    line-height: 1.03;

    letter-spacing: -3.5px;
}


.contact-intro-content > p {
    margin-bottom: 18px;

    color: var(--muted);

    font-size: .89rem;

    line-height: 1.85;
}


.contact-intro-content .contact-lead {
    color: #354e65;

    font-size: 1.05rem;

    font-weight: 600;
}


.contact-intro-content .text-link {
    margin-top: 14px;
}


.contact-intro-photo {
    position: relative;

    padding: 35px 35px 0 0;
}


.contact-photo-shape {
    position: absolute;

    right: 0;
    top: 0;

    width: 65%;
    height: 65%;

    border-radius: 18px;

    background: #e5f3fb;
}


.contact-intro-photo img {
    position: relative;
    z-index: 2;

    height: 590px;

    object-fit: cover;

    border-radius: 18px;
}


.contact-photo-note {
    position: absolute;

    z-index: 4;

    left: -35px;
    bottom: 45px;

    width: 210px;

    padding: 25px;

    border-radius: 13px;

    background: var(--gold);

    color: var(--navy);

    box-shadow:
        0 20px 45px rgba(20,45,70,.18);
}


.contact-photo-note span {
    display: block;

    margin-bottom: 7px;

    font-size: .6rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.contact-photo-note strong {
    font-size: 1rem;

    line-height: 1.4;
}



/* =========================
   ENQUIRIES
========================= */

.contact-enquiries {
    background: var(--navy-dark);

    color: white;
}


.contact-enquiry-heading {
    display: grid;

    grid-template-columns: 1.1fr .6fr;

    gap: 80px;

    align-items: flex-end;

    margin-bottom: 55px;
}


.contact-enquiry-heading h2 {
    max-width: 770px;

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: 1;

    letter-spacing: -4px;
}


.contact-enquiry-heading > p {
    color: rgba(255,255,255,.54);

    font-size: .87rem;

    line-height: 1.8;
}


.enquiry-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}


.enquiry-card {
    min-height: 330px;

    padding: 34px;

    border: 1px solid rgba(255,255,255,.11);

    border-radius: 13px;

    background: rgba(255,255,255,.04);

    transition: .35s;
}


.enquiry-card:hover {
    transform: translateY(-6px);

    background: rgba(255,255,255,.08);

    border-color: rgba(37,211,102,.4);
}


.enquiry-card > span {
    display: block;

    margin-bottom: 55px;

    color: var(--gold);

    font-size: .64rem;

    font-weight: 800;
}


.enquiry-card h3 {
    margin-bottom: 12px;

    font-size: 1.1rem;
}


.enquiry-card p {
    min-height: 72px;

    color: rgba(255,255,255,.55);

    font-size: .78rem;

    line-height: 1.75;
}


.enquiry-card strong {
    display: block;

    margin-top: 20px;

    color: #61df90;

    font-size: .71rem;
}



/* =========================
   FORM
========================= */

.contact-form-section {
    background: #f5f8fb;
}


.contact-form-grid {
    display: grid;

    grid-template-columns: .65fr 1.35fr;

    gap: 85px;

    align-items: flex-start;
}


.contact-form-intro {
    position: sticky;

    top: 125px;
}


.contact-form-intro h2 {
    margin-bottom: 23px;

    color: var(--navy);

    font-size: clamp(2.8rem, 4.5vw, 4.2rem);

    line-height: 1.03;

    letter-spacing: -3px;
}


.contact-form-intro > p {
    color: var(--muted);

    font-size: .86rem;

    line-height: 1.8;
}


.contact-details {
    margin-top: 33px;

    padding-top: 30px;

    border-top: 1px solid #dce5ec;
}


.contact-details > div {
    margin-bottom: 22px;

    display: flex;

    flex-direction: column;
}


.contact-details small {
    margin-bottom: 4px;

    color: var(--muted);

    font-size: .61rem;

    text-transform: uppercase;

    letter-spacing: 1.2px;
}


.contact-details strong,
.contact-details a {
    color: var(--navy);

    font-size: .82rem;

    font-weight: 700;
}


.contact-form-card {
    padding: 50px;

    border-radius: 18px;

    background: white;

    box-shadow:
        0 18px 55px rgba(20,48,75,.09);
}


.contact-form-heading {
    margin-bottom: 32px;
}


.contact-form-heading > span {
    display: block;

    margin-bottom: 6px;

    color: var(--blue);

    font-size: .62rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.2px;
}


.contact-form-heading h3 {
    color: var(--navy);

    font-size: 1.5rem;
}


.contact-form-fields {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 22px;
}


.contact-form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.contact-full {
    grid-column: 1 / 3;
}


.contact-form-group label {
    color: #344b61;

    font-size: .75rem;

    font-weight: 700;
}


.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;

    border: 1px solid #d8e1e9;

    border-radius: 8px;

    outline: none;

    background: #fbfcfd;

    color: var(--navy);

    font: inherit;

    font-size: .82rem;

    transition: .25s;
}


.contact-form-group input,
.contact-form-group select {
    height: 52px;

    padding: 0 15px;
}


.contact-form-group textarea {
    min-height: 160px;

    padding: 15px;

    resize: vertical;
}


.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: #25d366;

    background: white;

    box-shadow:
        0 0 0 3px rgba(37,211,102,.08);
}


.whatsapp-submit {
    width: 100%;

    min-height: 58px;

    margin-top: 28px;

    border: 0;

    border-radius: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    background: #25d366;

    color: #082d1a;

    font: inherit;

    font-size: .82rem;

    font-weight: 800;

    cursor: pointer;

    transition: .3s;
}


.whatsapp-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(37,211,102,.2);
}


.whatsapp-submit span {
    transition: .3s;
}


.whatsapp-submit:hover span {
    transform: translateX(5px);
}


.whatsapp-form-note {
    max-width: 560px;

    margin: 14px auto 0;

    color: #8a96a2;

    font-size: .66rem;

    line-height: 1.6;

    text-align: center;
}



/* =========================
   LOCATION
========================= */

.contact-location {
    background: white;
}


.contact-location-grid {
    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 90px;

    align-items: center;
}


.contact-location-photo {
    position: relative;

    height: 570px;

    overflow: hidden;

    border-radius: 18px;
}


.contact-location-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.location-photo-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(5,28,48,.85),
            rgba(5,28,48,.05) 60%
        );
}


.location-photo-content {
    position: absolute;

    z-index: 2;

    left: 30px;
    bottom: 28px;

    color: white;
}


.location-photo-content span {
    display: block;

    margin-bottom: 4px;

    color: var(--gold);

    font-size: .63rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.4px;
}


.location-photo-content h3 {
    font-size: 1.45rem;
}


.contact-location-content h2 {
    margin-bottom: 24px;

    color: var(--navy);

    font-size: clamp(3rem, 4.5vw, 4.4rem);

    line-height: 1.03;

    letter-spacing: -3.5px;
}


.contact-location-content > p {
    color: var(--muted);

    font-size: .87rem;

    line-height: 1.85;
}


.location-whatsapp-btn {
    min-height: 54px;

    margin-top: 28px;

    padding: 0 24px;

    border-radius: 8px;

    display: inline-flex;

    align-items: center;

    gap: 13px;

    background: #25d366;

    color: #092d1a;

    font-size: .8rem;

    font-weight: 800;

    transition: .3s;
}


.location-whatsapp-btn:hover {
    transform: translateY(-3px);
}



/* =========================
   FINAL CTA
========================= */

.contact-final-cta {
    position: relative;

    min-height: 540px;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: white;
}


.contact-final-image {
    position: absolute;

    inset: 0;

    background:
        url("../assets/images/contact-final.jpg")
        center / cover
        no-repeat;
}


.contact-final-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,28,48,.94),
            rgba(5,28,48,.72),
            rgba(5,28,48,.25)
        );
}


.contact-final-content {
    position: relative;

    z-index: 3;
}


.contact-final-content > p {
    margin-bottom: 15px;

    color: var(--gold);

    font-size: .7rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 2px;
}


.contact-final-content h2 {
    max-width: 800px;

    margin-bottom: 18px;

    font-size: clamp(3.5rem, 5.5vw, 5.8rem);

    line-height: .98;

    letter-spacing: -4.5px;
}


.contact-final-content > span {
    display: block;

    max-width: 560px;

    color: rgba(255,255,255,.67);

    font-size: .92rem;

    line-height: 1.8;
}


.contact-final-content > a {
    min-height: 56px;

    margin-top: 32px;

    padding: 0 27px;

    border-radius: 8px;

    display: inline-flex;

    align-items: center;

    gap: 14px;

    background: #25d366;

    color: #082d1a;

    font-size: .8rem;

    font-weight: 800;

    transition: .3s;
}


.contact-final-content > a:hover {
    transform: translateY(-3px);
}


.contact-final-content b {
    transition: .3s;
}


.contact-final-content > a:hover b {
    transform: translateX(5px);
}



/* =========================
   TABLET
========================= */

@media (max-width: 1050px) {

    .contact-hero-card {
        display: none;
    }


    .enquiry-grid {
        grid-template-columns: 1fr 1fr;
    }


    .contact-intro-grid {
        gap: 65px;
    }

}



/* =========================
   SMALL TABLET
========================= */

@media (max-width: 850px) {

    .contact-section {
        padding: 90px 0;
    }


    .contact-hero,
    .contact-hero-inner {
        min-height: 630px;
    }


    .contact-option-grid {
        grid-template-columns: 1fr;
    }


    .contact-option-card {
        border-left: 1px solid var(--border);
    }


    .contact-intro-grid,
    .contact-form-grid,
    .contact-location-grid {
        grid-template-columns: 1fr;
    }


    .contact-enquiry-heading {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .contact-form-intro {
        position: static;
    }

}



/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

    .contact-hero,
    .contact-hero-inner {
        min-height: 620px;
    }


    .contact-hero-inner {
        padding-bottom: 55px;
    }


    .contact-hero-image {
        background-position: 60% center;
    }


    .contact-hero-overlay {
        background: rgba(4,26,45,.84);
    }


    .contact-breadcrumb {
        margin-bottom: 35px;
    }


    .contact-hero h1 {
        font-size: 3.55rem;

        letter-spacing: -3.5px;
    }


    .contact-hero-description {
        font-size: .9rem;
    }


    .contact-hero-actions {
        flex-direction: column;
    }


    .contact-primary-btn,
    .contact-outline-btn {
        width: 100%;
    }


    .contact-intro-content h2,
    .contact-enquiry-heading h2,
    .contact-form-intro h2,
    .contact-location-content h2 {
        font-size: 2.55rem;

        letter-spacing: -2.4px;
    }


    .contact-intro-photo {
        padding: 20px 0 0;
    }


    .contact-intro-photo img {
        height: 450px;
    }


    .contact-photo-note {
        left: -5px;

        bottom: 25px;

        width: 180px;
    }


    .enquiry-grid {
        grid-template-columns: 1fr;
    }


    .enquiry-card {
        min-height: 270px;
    }


    .contact-form-card {
        padding: 30px 22px;
    }


    .contact-form-fields {
        grid-template-columns: 1fr;
    }


    .contact-full {
        grid-column: auto;
    }


    .contact-location-photo {
        height: 430px;
    }


    .contact-final-cta {
        min-height: 500px;
    }


    .contact-final-overlay {
        background: rgba(5,28,48,.78);
    }


    .contact-final-content h2 {
        font-size: 3rem;

        letter-spacing: -3px;
    }


    .contact-final-content > a {
        width: 100%;

        justify-content: center;
    }

}



/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 430px) {

    .contact-hero h1 {
        font-size: 3.05rem;
    }


    .contact-intro-content h2,
    .contact-enquiry-heading h2,
    .contact-form-intro h2,
    .contact-location-content h2 {
        font-size: 2.3rem;
    }


    .contact-final-content h2 {
        font-size: 2.65rem;
    }

}