﻿
/* ===============================================
   AL-HIKMAH INTERNATIONAL SCHOOL
   PREMIUM EDITORIAL FOOTER
=============================================== */

.ah-footer {
    position: relative;
    background: #0D2238;
    color: #FFFFFF;
    overflow: hidden;
}

/* ===============================================
   TOP ADMISSIONS CTA
=============================================== */

.ah-footer__cta-wrap {
    background: #0D2238;
    padding-top: 65px;
}

.ah-footer__cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
    padding: 55px 64px;
    background: linear-gradient( 115deg, #F5EDE0 0%, #EDE1CE 100% );
    color: #132B46;
    border-radius: 18px;
}

.ah-footer__cta-copy {
    position: relative;
    z-index: 1;
    max-width: 670px;
}

.ah-footer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #94713D;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
}

    .ah-footer__eyebrow > span {
        width: 28px;
        height: 1px;
        background: #B99356;
    }

.ah-footer__cta h2 {
    margin: 0 0 17px;
    color: #132B46;
    font-family: var(--font-heading);
    font-size: clamp(34px, 3.7vw, 52px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.14;
}

    .ah-footer__cta h2 em {
        display: block;
        color: #A17F50;
        font-style: normal;
        font-weight: 600;
    }

.ah-footer__cta-copy p {
    max-width: 560px;
    color: #687381;
    font-size: 14px;
    line-height: 1.9;
}

/* CTA action */

.ah-footer__cta-action {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    flex: 0 0 auto;
}

.ah-footer__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    min-height: 61px;
    padding: 9px 10px 9px 24px;
    background: #132B46;
    border: 1px solid #132B46;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.ah-footer__cta-arrow {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    background: rgba(255,255,255,.13);
    color: #E5C999;
    border-radius: 6px;
    font-size: 22px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.ah-footer__cta-btn:hover {
    background: #203E5B;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(19,43,70,.15);
}

    .ah-footer__cta-btn:hover .ah-footer__cta-arrow {
        background: #D8BB89;
        color: #132B46;
        transform: translate(2px, -2px);
    }

.ah-footer__cta-note {
    color: #847D73;
    font-size: 11px;
}

/* Decorative background circles */

.ah-footer__cta-decoration {
    position: absolute;
    z-index: -1;
    width: 330px;
    height: 330px;
    top: -215px;
    right: 20%;
    border: 1px solid rgba(172,137,82,.2);
    border-radius: 50%;
}

    .ah-footer__cta-decoration::before,
    .ah-footer__cta-decoration::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(172,137,82,.12);
        border-radius: 50%;
    }

    .ah-footer__cta-decoration::before {
        inset: 35px;
    }

    .ah-footer__cta-decoration::after {
        inset: 75px;
    }


/* ===============================================
   MAIN FOOTER AREA
=============================================== */

.ah-footer__main {
    padding: 86px 0 0;
    background: radial-gradient( circle at 85% 15%, rgba(65,98,126,.14), transparent 38% ), #0D2238;
}

.ah-footer__grid {
    display: grid;
    grid-template-columns: minmax(0,1.55fr) minmax(0,.8fr) minmax(0,.9fr) minmax(0,1.25fr);
    gap: clamp(25px, 3.6vw, 55px);
    padding-bottom: 75px;
}

/* ===============================================
   BRAND COLUMN
=============================================== */

.ah-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.ah-footer__brand-mark {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    background: rgba(197,164,109,.1);
    border: 1px solid rgba(197,164,109,.3);
    border-radius: 14px;
    color: #E0C493;
}

    .ah-footer__brand-mark svg {
        width: 42px;
        height: 42px;
    }

.ah-footer__brand-name {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

    .ah-footer__brand-name strong {
        color: #FFFFFF;
        font-family: var(--font-heading);
        font-size: 27px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -.055em;
    }

    .ah-footer__brand-name > span {
        color: #D8BC89;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .19em;
    }

.ah-footer__description {
    max-width: 315px;
    margin: 27px 0;
    color: #B7C6D5;
    font-size: 13px;
    line-height: 1.95;
}

/* Social icons */

.ah-footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .ah-footer__social a {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        color: #D3E0EB;
        background: rgba(255,255,255,.055);
        border: 1px solid rgba(255,255,255,.13);
        border-radius: 50%;
        transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
    }

        .ah-footer__social a svg {
            width: 19px;
            height: 19px;
        }

        .ah-footer__social a:hover {
            color: #132B46;
            background: #D8BB89;
            border-color: #D8BB89;
            transform: translateY(-3px);
        }

/* ===============================================
   NAVIGATION COLUMNS
=============================================== */

.ah-footer__col {
    min-width: 0;
}

    .ah-footer__col h3 {
        margin: 7px 0 29px;
        color: #FFFFFF;
        font-family: var(--font-heading);
        font-size: 16px;
        font-weight: 800;
        letter-spacing: -.025em;
    }

        .ah-footer__col h3::after {
            content: "";
            display: block;
            width: 29px;
            height: 2px;
            margin-top: 13px;
            background: #C5A46D;
        }

    .ah-footer__col ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

        .ah-footer__col ul a {
            display: inline-block;
            color: #BBCAD8;
            font-size: 13px;
            line-height: 1.5;
            text-decoration: none;
            transition: color .25s ease, transform .25s ease;
        }

            .ah-footer__col ul a:hover {
                color: #DCC195;
                transform: translateX(4px);
            }


/* ===============================================
   CONTACT COLUMN
=============================================== */

.ah-footer__contact-intro {
    margin: -4px 0 23px;
    color: #B7C6D5;
    font-size: 12px;
    line-height: 1.85;
}

.ah-footer__contact-items {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ah-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.ah-footer__contact-icon {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    color: #D8BB89;
    background: rgba(197,164,109,.09);
    border: 1px solid rgba(197,164,109,.18);
    border-radius: 9px;
}

    .ah-footer__contact-icon svg {
        width: 19px;
        height: 19px;
    }

.ah-footer__contact-item > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ah-footer__contact-item strong {
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
}

.ah-footer__contact-item div span,
.ah-footer__contact-item div a {
    color: #B9C7D5;
    font-size: 12px;
    line-height: 1.65;
}

    .ah-footer__contact-item div a:hover {
        color: #D8BB89;
    }

.ah-footer__directions {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 29px;
    padding-bottom: 7px;
    color: #E1C899;
    border-bottom: 1px solid rgba(225,200,153,.6);
    font-size: 12px;
    font-weight: 800;
}

    .ah-footer__directions span {
        font-size: 19px;
        transition: transform .25s ease;
    }

    .ah-footer__directions:hover {
        color: #FFFFFF;
    }

        .ah-footer__directions:hover span {
            transform: translate(3px,-3px);
        }


/* ===============================================
   LARGE FOOTER WORDMARK
=============================================== */

.ah-footer__signature {
    padding: 0 0 47px;
}

.ah-footer__signature-line {
    display: block;
    height: 1px;
    background: rgba(255,255,255,.13);
    margin-bottom: 24px;
}

.ah-footer__signature-wordmark {
    color: rgba(234,240,246,.09);
    font-family: var(--font-heading);
    font-size: clamp(75px, 13.4vw, 195px);
    font-weight: 900;
    letter-spacing: -.085em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    user-select: none;
}

.ah-footer__signature-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 15px;
    color: #AABBCD;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .24em;
}

.ah-footer__signature-star {
    color: #C5A46D;
    font-size: 17px;
}


/* ===============================================
   FOOTER BOTTOM BAR
=============================================== */

.ah-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 26px 0 31px;
    border-top: 1px solid rgba(255,255,255,.14);
}

    .ah-footer__bottom p {
        color: #9DAFC0;
        font-size: 11px;
        line-height: 1.65;
    }

.ah-footer__legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

    .ah-footer__legal a {
        color: #AEBECE;
        font-size: 11px;
        transition: color .25s;
    }

        .ah-footer__legal a:hover {
            color: #E2C899;
        }

    .ah-footer__legal > span {
        color: #718599;
    }

.ah-footer__back-top {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #E2C899;
    font-size: 11px;
    font-weight: 800;
}

    .ah-footer__back-top span {
        display: grid;
        place-items: center;
        width: 31px;
        height: 31px;
        color: #132B46;
        background: #D8BB89;
        border-radius: 50%;
        font-size: 18px;
        transition: transform .25s ease;
    }

    .ah-footer__back-top:hover {
        color: #FFFFFF;
    }

        .ah-footer__back-top:hover span {
            transform: translateY(-3px);
        }


/* ===============================================
   SMALL LAPTOP / TABLET
=============================================== */

@media (max-width: 1100px) {

    .ah-footer__cta {
        padding: 43px;
        gap: 30px;
    }

    .ah-footer__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 50px;
    }

    .ah-footer__brand-col {
        max-width: 360px;
    }

    .ah-footer__signature-wordmark {
        font-size: clamp(70px, 13vw, 140px);
    }
}

@media (max-width: 800px) {

    .ah-footer__cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 27px;
    }

    .ah-footer__main {
        padding-top: 65px;
    }

    .ah-footer__bottom {
        justify-content: flex-start;
    }
}


/* ===============================================
   MOBILE
=============================================== */

@media (max-width: 640px) {

    .ah-footer__cta-wrap {
        padding-top: 32px;
    }

    .ah-footer__cta {
        padding: 33px 26px;
        gap: 26px;
        border-radius: 13px;
    }

    .ah-footer__eyebrow {
        font-size: 9px;
        letter-spacing: .14em;
    }

        .ah-footer__eyebrow > span {
            width: 21px;
        }

    .ah-footer__cta h2 {
        font-size: clamp(32px, 8vw, 41px);
    }

    .ah-footer__cta-copy p {
        font-size: 12px;
    }

    .ah-footer__cta-btn {
        min-height: 53px;
        padding-left: 18px;
        font-size: 12px;
    }

    .ah-footer__main {
        padding-top: 55px;
    }

    .ah-footer__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        column-gap: 22px;
        row-gap: 43px;
        padding-bottom: 48px;
    }

    .ah-footer__brand-col,
    .ah-footer__contact {
        grid-column: 1 / -1;
    }

    .ah-footer__brand-mark {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

        .ah-footer__brand-mark svg {
            width: 36px;
            height: 36px;
        }

    .ah-footer__brand-name strong {
        font-size: 25px;
    }

    .ah-footer__brand-name > span {
        font-size: 8px;
    }

    .ah-footer__description {
        margin: 21px 0;
        font-size: 12px;
    }

    .ah-footer__col h3 {
        margin-bottom: 23px;
        font-size: 15px;
    }

    .ah-footer__col ul {
        gap: 15px;
    }

        .ah-footer__col ul a {
            font-size: 12px;
        }

    .ah-footer__contact-intro {
        max-width: 340px;
    }

    .ah-footer__signature {
        padding-bottom: 31px;
    }

    .ah-footer__signature-wordmark {
        font-size: clamp(40px, 12.8vw, 82px);
        letter-spacing: -.075em;
    }

    .ah-footer__signature-sub {
        gap: 9px;
        font-size: 7px;
        letter-spacing: .12em;
    }

    .ah-footer__signature-star {
        font-size: 12px;
    }

    .ah-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 24px 0;
    }

        .ah-footer__bottom p,
        .ah-footer__legal a {
            font-size: 10px;
        }
}


/* ===============================================
   ACCESSIBILITY & REDUCED MOTION
=============================================== */

.ah-footer a:focus-visible {
    outline: 2px solid #E2C899;
    outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {

    .ah-footer a,
    .ah-footer__cta-arrow,
    .ah-footer__back-top span {
        transition: none;
    }

        .ah-footer a:hover,
        .ah-footer a:hover span {
            transform: none;
        }
}
