/* Shared footer styles. Loaded independently on every page. */
.site-footer {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(180deg, #0d2339 0%, #0a2d3d 28%, #0a2735 100%);
}

.footer-top-wrap {
    position: relative;
    padding: 118px 0 30px;
    background: linear-gradient(180deg, #0a2a38 0%, #0d3240 50%, #0d3647 100%);
}

.footer-top-wrap::before {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    top: -98px;
    height: 180px;
    background: #eef2f4;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.75fr 1fr 1fr 1.15fr;
    gap: 36px 28px;
    align-items: start;
    width: min(calc(100% - 32px), 1280px);
    margin: 0 auto;
}

.brand-column,
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.brand-column { padding-top: 12px; }
.footer-column { padding-top: 14px; }

.school-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    padding: 6px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.brand-name {
    display: flex;
    flex-direction: column;
    color: #f4f7fa;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
}

.brand-name span { display: block; }
.brand-tagline { margin: 0 0 14px; color: #f8fbff; font-weight: 600; }
.brand-text { max-width: 430px; margin: 0; color: rgba(255, 255, 255, .82); line-height: 1.7; }

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff !important;
    border-radius: 50%;
}

.social-fb { background: #1877f2; }
.social-ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.social-yt { background: #f00; }
.social-in { background: #0a66c2; }

.column-title {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    margin-bottom: 16px;
}

.column-title h3 {
    margin: 0;
    color: #fff !important;
    font-size: 1.25rem;
    line-height: 1.2;
}

.mini-icon,
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.mini-icon { width: 32px; height: 32px; border-radius: 10px; }
.mini-green { background: linear-gradient(135deg, #2dd4bf, #0f766e); }
.mini-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.mini-gold { color: #143b2a; background: linear-gradient(135deg, #f9d75f, #d4a023); }

.footer-list {
    display: grid;
    width: 100%;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-list a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 10px;
    color: #eaf2f7 !important;
    text-decoration: none;
}

.footer-list a span { color: #7cead6; font-size: 1.35rem; line-height: 1; }

.contact-list { display: grid; width: 100%; gap: 18px; }
.contact-row { display: flex; align-items: center; width: 100%; gap: 12px; color: #edf4fb; line-height: 1.5; }
.contact-icon { width: 34px; height: 34px; background: linear-gradient(135deg, #7fe0bd, #0e8f72); border-radius: 50%; }
.contact-row a { color: #f5fbff !important; text-decoration: none; }

.footer-bottom {
    position: relative;
    padding: 18px 0 14px;
    background: linear-gradient(180deg, #0c6c4f 0%, #0d6a4d 30%, #0a5f46 100%);
    border-top: 3px solid #f4d35e;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 32px), 1280px);
    gap: 18px;
    margin: 0 auto;
    color: #f8fcff;
}

.copyright-text { display: flex; align-items: center; gap: 10px; min-width: 0; }
.copy-mark { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 50%; }
.designer-text { color: rgba(255, 255, 255, .86); }
.designer-text span { color: #f7d968; font-weight: 800; }

@media (max-width: 1199.98px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 28px; padding-inline: 28px; }
    .footer-grid .brand-column { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
    .footer-top-wrap { padding-top: 100px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-inline: 18px; }
    .footer-grid .brand-column { grid-column: auto; padding-top: 0; }
    .brand-name { font-size: 1.3rem; }
    .footer-logo { width: 58px; height: 58px; }
    .footer-bottom-inner { flex-direction: column; justify-content: center; text-align: center; }
    .copyright-text { flex-wrap: wrap; justify-content: center; }
    .designer-text { white-space: normal; }
}
