/* =========================================================
   AMEC INTERNATIONAL SCHOOLS
   PREMIUM FOOTER
========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;

    color: #ffffff;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(242, 183, 5, 0.08),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            #021f13 0%,
            #043c23 55%,
            #032b1a 100%
        );
}


/* =========================================================
   MAIN FOOTER GRID
========================================================= */

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(250px, 1.45fr)
        minmax(130px, 0.72fr)
        minmax(140px, 0.78fr)
        minmax(150px, 0.85fr)
        minmax(220px, 1.15fr);

    gap: 52px;

    padding-top: 78px;
    padding-bottom: 65px;
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand h3 {
    margin: 0;

    color: #ffffff;

    font-size: 2.6rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.footer-school-name {
    display: block;

    margin-top: 6px;

    color: #f2b705;

    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-motto {
    margin-top: 24px !important;
    margin-bottom: 13px !important;

    color: #ffffff !important;

    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-description {
    max-width: 310px;

    color: rgba(255, 255, 255, 0.66) !important;

    font-size: 0.88rem;
    line-height: 1.75;
}

.footer-apply {
    display: inline-flex;

    margin-top: 25px;
    padding-bottom: 5px;

    color: #f6ca42;

    font-size: 0.84rem;
    font-weight: 800;

    border-bottom: 1px solid rgba(246, 202, 66, 0.45);

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.footer-apply:hover {
    color: #ffffff;
    border-color: #ffffff;
    transform: translateX(3px);
}


/* =========================================================
   NAVIGATION COLUMNS
========================================================= */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h4 {
    position: relative;

    margin: 0 0 25px;
    padding-bottom: 13px;

    color: #ffffff;

    font-size: 0.91rem;
    font-weight: 800;
}

.footer-column h4::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 30px;
    height: 2px;

    background: #f2b705;
}

.footer-column > a {
    display: block;

    margin-bottom: 11px;

    color: rgba(255, 255, 255, 0.66);

    font-size: 0.84rem;
    line-height: 1.5;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-column > a:hover {
    color: #f6ca42;
    transform: translateX(3px);
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact p {
    margin: 0 0 16px;

    color: rgba(255, 255, 255, 0.66);

    font-size: 0.84rem;
    line-height: 1.7;
}

.footer-contact .footer-contact-title {
    margin-top: 8px;
    margin-bottom: 7px;

    color: #ffffff;

    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-contact > a {
    word-break: break-word;
}


/* =========================================================
   CORE EMPHASES
========================================================= */

.footer-values {
    padding: 36px 0 40px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(0, 0, 0, 0.09);
}

.footer-values-title {
    margin-bottom: 23px !important;

    color: #f2b705 !important;

    font-size: 0.71rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-align: center;
}

.footer-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.footer-values-grid > div {
    min-height: 65px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 0 24px;

    border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-values-grid > div:first-child {
    padding-left: 0;
}

.footer-values-grid > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.footer-values-grid span {
    color: rgba(242, 183, 5, 0.55);

    font-size: 1.45rem;
    font-weight: 900;
}

.footer-values-grid strong {
    color: rgba(255, 255, 255, 0.85);

    font-size: 0.77rem;
    font-weight: 700;
    line-height: 1.45;
}


/* =========================================================
   BOTTOM BAR
========================================================= */

.footer-bottom {
    padding: 21px 0;

    background: rgba(0, 0, 0, 0.17);
}

.footer-bottom-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.48);

    font-size: 0.73rem;
}

.footer-quote {
    color: rgba(246, 202, 66, 0.73) !important;

    font-family: Georgia, serif;
    font-style: italic;
}

.footer-legal {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.50);

    font-size: 0.73rem;

    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #f6ca42;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 45px 55px;
    }

    .footer-brand {
        grid-row: span 2;
    }

    .footer-values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-values-grid > div {
        padding: 18px 25px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-values-grid > div:nth-child(2) {
        border-right: 0;
    }

    .footer-values-grid > div:nth-child(3),
    .footer-values-grid > div:nth-child(4) {
        border-bottom: 0;
    }

    .footer-values-grid > div:first-child {
        padding-left: 25px;
    }

    .footer-values-grid > div:last-child {
        padding-right: 25px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;

        padding-top: 58px;
        padding-bottom: 50px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-values-grid {
        grid-template-columns: 1fr;
    }

    .footer-values-grid > div {
        padding: 17px 0;

        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-values-grid > div:first-child,
    .footer-values-grid > div:last-child {
        padding-left: 0;
        padding-right: 0;
    }

    .footer-values-grid > div:nth-child(3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-values-grid > div:last-child {
        border-bottom: 0;
    }

    .footer-bottom-inner {
        grid-template-columns: 1fr;
        gap: 7px;

        text-align: left;
    }

    .footer-legal {
        justify-content: flex-start;

        margin-top: 7px;
    }
}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 440px) {

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column,
    .footer-contact {
        grid-column: auto;
    }

    .footer-brand h3 {
        font-size: 2.25rem;
    }
}