/* ==========================================
   SCHOOL FOOTER - PREMIUM BLUE NIKX THEME
========================================== */

.school-footer {
    position: relative;
    width: 100%;
    background:
        radial-gradient(ellipse at 10% 0%, rgba(40, 96, 173, 0.24), transparent 38%),
        radial-gradient(ellipse at 95% 80%, rgba(40, 96, 173, 0.18), transparent 35%),
        linear-gradient(135deg, #0d0c20 0%, #17183b 55%, #10152d 100%);
    color: #ffffff;
    padding: 65px 0 28px;
    font-family: 'Roboto', Arial, sans-serif;
    overflow: hidden;
}

.school-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            #2860AD,
            #F5D51B,
            #2860AD);
}

.school-footer::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -180px;
    top: 180px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.footer-container {
    position: relative;
    z-index: 1;
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto;
}


/* ==========================================
   NEWSLETTER SECTION
========================================== */

.footer-newsletter {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: center;
    gap: 40px;
    padding-bottom: 40px;
}

.newsletter-content h3 {
    margin: 0 0 14px;
    color: #F5D51B;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.newsletter-content p {
    max-width: 280px;
    margin: 0;
    color: #C9D2EC;
    font-size: 14px;
    line-height: 1.8;
}


/* NEWSLETTER FORM */

.newsletter-form {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 54px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(245, 213, 27, 0.65);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form:focus-within {
    border-color: #F5D51B;
    box-shadow: 0 0 0 4px rgba(245, 213, 27, 0.12);
}

.newsletter-form input {
    width: 100%;
    min-width: 0;
    padding: 0 20px;
    background: transparent;
    color: #25215B;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: #7A8194;
}

.newsletter-form button {
    flex-shrink: 0;
    padding: 0 25px;
    background: linear-gradient(135deg, #F5D51B, #E9A51A);
    color: #25215B;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    transition: background 0.3s ease, color 0.3s ease;
}

.newsletter-form button:hover {
    background: #ffffff;
    color: #2860AD;
}


/* ==========================================
   SCHOOL LOGO
========================================== */

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.footer-logo a {
    color: #ffffff;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none;
    line-height: 1;
    transition: color 0.3s ease;
}

.footer-logo a span {
    color: #F5D51B;
}

.footer-logo a:hover {
    color: #DCE8FF;
}

.footer-logo small {
    margin-top: 10px;
    color: #B9C5E5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* ==========================================
   FOOTER DIVIDER
========================================== */

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.22),
            transparent);
}

.footer-bottom-divider {
    margin-bottom: 28px;
}


/* ==========================================
   FOOTER MAIN COLUMNS
========================================== */

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
    gap: 40px;
    padding: 42px 0 40px;
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    position: relative;
    display: inline-block;
    margin: 0 0 24px;
    padding-bottom: 12px;
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg, #F5D51B, #2860AD);
    border-radius: 10px;
}


/* ==========================================
   CONTACT DETAILS
========================================== */

.footer-contact-list,
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #C9D2EC;
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact-list li i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-top: 1px;
    flex-shrink: 0;
    background: rgba(40, 96, 173, 0.22);
    color: #F5D51B;
    border: 1px solid rgba(40, 96, 173, 0.35);
    border-radius: 8px;
    font-size: 13px;
}

.footer-contact-list li a {
    color: #C9D2EC;
    text-decoration: none;
    transition: color 0.3s ease;
    overflow-wrap: anywhere;
}

.footer-contact-list li a:hover {
    color: #F5D51B;
}


/* ==========================================
   FOOTER LINKS
========================================== */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li,
.footer-links li a {
    color: #C9D2EC;
    font-size: 14px;
    line-height: 1.7;
}

.footer-links li a {
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links li a::before {
    content: "›";
    margin-right: 10px;
    color: #F5D51B;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.footer-links li a:hover {
    color: #F5D51B;
    transform: translateX(4px);
}


/* ==========================================
   SOCIAL MEDIA
========================================== */

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 17px;
    text-decoration: none;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.footer-social a:hover {
    background: #F5D51B;
    color: #25215B;
    border-color: #F5D51B;
    transform: translateY(-4px);
}


/* ==========================================
   SCHOOL TIMING BUTTON
========================================== */

.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    margin-top: 22px;
    padding: 13px 22px;
    background: linear-gradient(135deg, #2860AD, #194783);
    color: #ffffff;
    border: 1px solid rgba(115, 166, 235, 0.45);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.footer-contact-btn:hover {
    background: #F5D51B;
    color: #25215B;
    border-color: #F5D51B;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(245, 213, 27, 0.14);
}


/* ==========================================
   FOOTER BOTTOM
========================================== */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #AEB9D8;
    font-size: 13px;
    line-height: 1.8;
}

.footer-bottom p a {
    color: #F5D51B;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom p a:hover {
    color: #ffffff;
}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 991px) {

    .school-footer {
        padding: 55px 0 25px;
    }

    .footer-newsletter {
        grid-template-columns: 1fr 1.3fr;
        gap: 30px;
    }

    .footer-logo {
        grid-column: 1 / -1;
        align-items: flex-start;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 45px;
        row-gap: 38px;
    }
}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 767px) {

    .school-footer {
        padding: 45px 0 25px;
    }

    .footer-container {
        width: calc(100% - 36px);
    }

    .footer-newsletter {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-bottom: 30px;
    }

    .newsletter-content h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .newsletter-content p {
        max-width: 100%;
    }

    .newsletter-form {
        height: 50px;
    }

    .newsletter-form input {
        padding: 0 14px;
        font-size: 13px;
    }

    .newsletter-form button {
        padding: 0 17px;
        font-size: 13px;
    }

    .footer-logo {
        align-items: flex-start;
    }

    .footer-logo a {
        font-size: 35px;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 22px;
        padding: 32px 0;
    }

    .footer-column h3 {
        font-size: 18px;
        margin-bottom: 19px;
    }

    .footer-contact-list li,
    .footer-links li,
    .footer-links li a {
        font-size: 13px;
    }

    .footer-contact-list li i {
        width: 27px;
        height: 27px;
        font-size: 12px;
    }

    .footer-social {
        gap: 8px;
        flex-wrap: wrap;
    }

    .footer-social a {
        width: 37px;
        height: 37px;
        font-size: 15px;
        border-radius: 10px;
    }

    .footer-contact-btn {
        min-width: 115px;
        padding: 11px 16px;
        font-size: 13px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 420px) {

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column h3 {
        font-size: 19px;
    }

    .footer-newsletter {
        gap: 20px;
    }

    .newsletter-form {
        height: auto;
        flex-direction: column;
        gap: 10px;
        overflow: visible;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .newsletter-form:focus-within {
        box-shadow: none;
    }

    .newsletter-form input {
        height: 48px;
        border-radius: 9px;
        background: #ffffff;
    }

    .newsletter-form button {
        height: 46px;
        border-radius: 9px;
    }

    .footer-logo a {
        font-size: 31px;
    }

    .footer-bottom {
        gap: 8px;
    }
}


/* ==========================================
   ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {

    .footer-social a,
    .footer-links li a,
    .footer-contact-btn,
    .newsletter-form button,
    .newsletter-form {
        transition: none;
    }
}