/* ========================================= */
/* FOOTER STYLES */
/* ========================================= */

.main-footer {
    background-color: #f1f5f9;
    /* Light Grey Background matching image */
    color: #334155;
    /* Slate text */
    padding-top: 40px;
    /* Reduced from 80px */
    padding-bottom: 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    border-top: none;
}

/* Footer uses `.container` as a width wrapper */
.main-footer .container {
    display: block;
    gap: 0;
    max-width: 1400px;
    /* Wide container like image */
}

/* Hide top border from previous edits*/
.footer-top {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 30px;
    /* Re-added moderate spacing */
}

.footer-logo img {
    max-height: 55px;
    /* width: auto; */
    /* margin-bottom: 20px; */
    display: block;
}

/* Grid Layout matching image */
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 1fr 1.5fr;
    /* 1st col wider for text */
    gap: 60px;
    align-items: start;
    /* Generous gap */
}

/* Responsive Footer: Stack columns on tablets and mobiles */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .main-footer {
        padding-top: 20px;
    }

    .footer-top {
        margin-bottom: 15px;
    }

    .footer-logo img {
        max-height: 40px;
    }

    .footer-bottom {
        padding: 10px 0 !important;
        font-size: 12px !important;
    }

    .floating-actions {
        left: 10px;
        bottom: 15px;
        gap: 7px;
    }

    .float-btn {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
}

/* Typograpghy matches */
.footer-col h4 {
    color: #0f172a;
    font-size: 18px;
    /* Clean & Bold */
    margin-top: 0;
    margin-bottom: 25px;
    /* Reduced slightly */
    font-weight: 700;
    text-transform: capitalize;
    /* "Branches", "Our Location" */
    letter-spacing: -0.01em;
}

.footer-col h4:first-child {
    /* If Courses is uppercase in content, let it be. Or force capitalize? */
    /* Image has 'COURSES' uppercase, 'Branches' Capitalize. css shouldn't force one style for all if they differ */
    text-transform: none;
}

.info-block p,
.info-block a,
.footer-links a,
.footer-col p {
    color: #475569;
    /* Soft dark grey */
    font-size: 15px;
    /* Increased to 15px as per visual estimation */
    text-decoration: none;
    line-height: 1.6;
    /* Relaxed spacing */
    margin-bottom: 12px;
    display: block;
    font-weight: 400;
    margin-top: 0;
    /* Ensure top alignment */
}

.info-block p strong {
    color: #0f172a;
    font-weight: 700;
    /* Bold headers in first column */
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
    /* Subtle movement */
}

/* Policy Links (Blue in image) */
.policies-list {
    margin-top: 15px;
}

.policies-list a {
    color: #2563eb;
    /* Blue link color */
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 5px;
}

.policies-list a:hover {
    text-decoration: underline;
    padding-left: 0;
}

/* Map adjustment */
.footer-map {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 2px solid #fff;
}

/* Floating Actions (Left Side) */
.floating-actions {
    position: fixed;
    left: 20px;
    bottom: 30px;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.float-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
    filter: brightness(0.8);
    /* Darkens color on hover */
}

.float-btn.whatsapp {
    background: #25D366;
}

.float-btn.phone {
    background: #FF5252;
}

.float-btn.mail {
    background: #448AFF;
}

.float-btn.location {
    background: #FF9800;
}

.float-btn.jobs {
    background: #4CAF50;
}