/* ==========================================================================
   SCHOOL FOOTER CONTAINER STYLING
   ========================================================================== */
.school-footer {
    background-color: #05240e; /* Accurate dark green canvas tone background */
    color: #ffffff;
    padding: 3.5rem 0 0 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    border-top: 4px solid #7ed957; /* Light accent green top border separator line */
}

.school-footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.1fr 1.2fr; /* Four columns matching image layout proportions */
    gap: 2.5rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem 3rem 1.5rem;
}

/* ==========================================================================
   GLOBAL SIDEBAR & INTERIOR COLUMN BALANCINGS
   ========================================================================== */
.footer-column h3 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Vertical grid separation border element lines seen in the desktop design */
.footer-column {
    position: relative;
}

.footer-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.25rem;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   COLUMN 1: BRAND PROFILE & EMBEDDED SOCIAL LOGOS
   ========================================================================== */
.footer-logo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.logo-text-wrapper h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.logo-subline {
    font-size: 0.82rem;
    color: #a3cfb2; /* Subtle light-green contrast tone for sub-captions */
    display: block;
    font-weight: 500;
}

.brand-description {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #d1ebd9;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

/* Social Icon Circles Layout Configuration */
.footer-social-strip {
    display: flex;
    gap: 10px;
}

.social-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.2s, background-color 0.2s;
}

.social-circle.fb { background-color: #3b5998; }
.social-circle.insta { background-color: #e1306c; }
.social-circle.yt { background-color: #ff0000; }

.social-circle:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

/* ==========================================================================
   COLUMN 2: QUICK DIRECTORY NAVIGATION LINKS
   ========================================================================== */
.quick-links-list {
    list-style: none;
}

.quick-links-list li {
    margin-bottom: 0.65rem;
}

.quick-links-list a {
    color: #d1ebd9;
    text-decoration: none;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s, transform 0.15s;
}

.quick-links-list a i {
    font-size: 0.75rem;
    color: #7ed957; /* Light accent green list pointer icons */
    opacity: 0.7;
}

.quick-links-list a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* ==========================================================================
   COLUMN 3: CONTACT INFORMATION SCHEMATICS
   ========================================================================== */
.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    color: #7ed957; /* Light accent green contact icons */
    font-size: 1rem;
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.contact-info-row p {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #d1ebd9;
}

.contact-info-row a {
    color: #d1ebd9;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-row a:hover {
    color: #ffffff;
}

/* ==========================================================================
   COLUMN 4: FIND US SYSTEM MAP BOX
   ========================================================================== */
.map-container-card {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.map-canvas-mockup {
    width: 100%;
    height: 140px;
    background-color: #cadfd0;
    /* Soft map background texture pattern to cleanly emulate reference card view maps */
    background-image: radial-gradient(#b2d3bc 15%, transparent 16%),
                      linear-gradient(45deg, transparent 49%, #b2d3bc 50%, #b2d3bc 52%, transparent 53%),
                      linear-gradient(-45deg, transparent 49%, #b2d3bc 50%, #b2d3bc 52%, transparent 53%);
    background-size: 24px 24px, 60px 60px, 60px 60px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 10px;
}

/* Center Map Coordinate Identification Pin */
.map-pin-badge {
    position: absolute;
    top: 25%;
    left: 45%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid #05240e;
}

.map-pin-badge i {
    color: #ff0000;
    font-size: 0.9rem;
}

.map-pin-badge span {
    font-size: 0.65rem;
    color: #05240e;
    font-weight: 700;
    line-height: 1.1;
}

/* Explicit Google Maps View Frame Link Callout Action Button Button Styling */
.google-maps-redirect-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: #05240e;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
    z-index: 2;
}

.google-maps-redirect-btn:hover {
    background-color: #0b3b17;
}

/* ==========================================================================
   BOTTOM UTILITY LEGAL METADATA COPPYRIGHT BAR
   ========================================================================== */
.footer-bottom-bar {
    background-color: #031809; /* Darker green shade footer base background cap closure block */
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.25rem 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-links a {
    color: #a3cfb2;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.15s;
}

.legal-links a:hover {
    color: #ffffff;
}

.legal-links .divider {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
}

.copyright-text {
    font-size: 0.85rem;
    color: #a3cfb2;
}

/* ==========================================================================
   MEDIA VIEWPORT ADJUSTMENTS (RESPONSIVENESS)
   ========================================================================== */

/* 1. Standard Desktop/Laptops Scaling Constraints Breakpoints */
@media (max-width: 1024px) {
    .school-footer-container {
        grid-template-columns: 1fr 1fr; /* Switch to grid configurations of two individual rows */
        gap: 3rem 2rem;
    }

    .footer-column:not(:last-child)::after {
        display: none; /* Strip out internal visual vertical separation layout borders safely */
    }
}

/* 2. Compact Devices and Mobile Environments Viewports */
@media (max-width: 600px) {
    .school-footer {
        padding-top: 2.5rem;
    }

    .school-footer-container {
        grid-template-columns: 1fr; /* Completely linear vertical structure stack */
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-column h3 {
        margin-bottom: 1rem;
    }

    .footer-bottom-container {
        flex-direction: column; /* Force linear copyright row tracking */
        text-align: center;
        gap: 10px;
    }

    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}