/* ================================================================
   FOOTER STYLES — footer.css
   Brand red: var(--primary-color)
================================================================ */

/* ----------------------------------------------------------------
   Shared max-width container
   ---------------------------------------------------------------- */
:root {
    --primary-color: #e40e01;
    --footer-max-width: 1300px;
}

.footer-container {
    max-width: var(--footer-max-width);
    margin: 0 auto;
    padding: 0 28px;
}


/* ================================================================
   PRE-FOOTER
================================================================ */
#pre-footer {
    background-color: #f7f7f7;
    padding: 52px 0 0;
    font-family: 'Canva Sans', Arial, sans-serif;
}

/*
   Two-column grid:
   Left  (~72%) = link columns + Why Choose + stats + CTA
   Right (~28%) = contact panel
*/
#pre-footer-grid {
    display: grid;
    grid-template-columns: 72fr 28fr;
    gap: 48px;
    align-items: start;
}


/* ── LEFT COLUMN ── */
#pre-footer-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 48px;
}

/* 3 equal link sub-columns */
#pre-footer-link-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.footer-column-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    letter-spacing: 0;
}

.footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-link-list a {
    font-size: 13.5px;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.footer-link-list a:hover {
    color: var(--primary-color);
}


/* ── Why Choose heading ── */
#footer-why-choose-heading {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}


/* ── Stats Pills ── */
#footer-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.footer-stat-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    background: #fff;
    white-space: nowrap;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000;;
}

.footer-stat-pill svg {
    flex-shrink: 0;
    color: var(--primary-color);
}


/* ── CTA Banner — full width of left column, rounded, red bg ── */
#footer-cta-banner {
    background-color: var(--primary-color);
    border-radius: 12px;
    padding: 28px 32px;
}

#footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

#footer-cta-heading {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

#footer-cta-subtext {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

#footer-cta-button {
    display: inline-block;
    background: #fff;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border: 2px solid #fff;
    transition: background 0.2s ease, color 0.2s ease;
}

#footer-cta-button:hover {
    background: transparent;
    color: #fff;
}


/* ── RIGHT COLUMN: Contact Panel ── */
#pre-footer-contact-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 0;
    padding-bottom: 48px;
}

/* Logo */
#footer-logo-wrapper img.footer-logo-image {
    max-height: 60px;
    width: auto;
}

/* Map */
#footer-map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

#footer-map-wrapper iframe {
    display: block;
}

/* Contact rows */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-icon {
    width: 1.25rem;
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}

.footer-contact-text {
    font-size: 13.5px;
    color: #444;
    line-height: 1.55;
    margin: 0;
}

a.footer-contact-link {
    text-decoration: none;
    color: #444;
    transition: color 0.2s;
}

a.footer-contact-link:hover {
    color: var(--primary-color);
}

/* Social */
#footer-social-section {
    margin-top: 4px;
}

.footer-social-heading {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin: 0 0 10px;
}

#footer-social-icons {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--primary-color);
    border-radius: 6px;
    color: var(--primary-color);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-social-icon:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fff0f0;
}


/* ================================================================
   MAIN FOOTER — red background
================================================================ */
#main-footer {
    background-color: var(--primary-color);
    color: #fff;
    font-family: 'Canva Sans', Arial, sans-serif;
}

/* Nav */
#footer-primary-nav {
    padding: 28px 0 20px;
}

#footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 28px;
}

#footer-nav-list a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    opacity: 0.92;
    transition: opacity 0.2s;
}

#footer-nav-list a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Divider */
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin: 0;
}

/* Disclaimer */
#footer-disclaimer-section {
    padding: 24px 0;
    text-align: center;
}

#footer-disclaimer-heading {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}

#footer-disclaimer-text {
    font-size: .75rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.675;
    margin: 0 auto;
    max-width: 860px;
    font-weight: 600;
}

/* Bottom Bar */
#footer-bottom-bar {
    padding: 16px 0;
}

#footer-bottom-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

#footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

#footer-legal-links {
    display: flex;
    gap: 24px;
}

#footer-legal-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

#footer-legal-links a:hover {
    color: #fff;
    text-decoration: underline;
}

#footer-dmca-badge img {
    display: block;
    opacity: 0.9;
}


/* ================================================================
   RESPONSIVE
================================================================ */

/* Tablet: stack left/right columns */
@media (max-width: 960px) {
    #pre-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    #pre-footer-left {
        padding-bottom: 0;
    }

    #pre-footer-contact-panel {
        padding-bottom: 40px;
    }

    #footer-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    #pre-footer-link-columns {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    #footer-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-stat-pill {
        font-size: 12px;
        padding: 8px 12px;
    }

    #footer-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    #footer-cta-button {
        width: 100%;
        text-align: center;
    }

    #footer-nav-list {
        gap: 8px 16px;
    }

    #footer-bottom-bar-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
}