/*
 * Footer Styles — iCore Digital Marketing Solutions
 * Four-column global footer: dark navy background, white/muted text
 * Applies to: footer.php (present on all 36+ pages)
 */

/* ============================================================
   FOOTER WRAPPER
   ============================================================ */

.site-footer {
    background-color: #1A1A2E;
    color: #9CA3AF;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================================
   FOOTER TOP — 4-COLUMN GRID
   ============================================================ */

.footer-top {
    padding: 64px 64px 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Column headings */
.footer-col h3,
.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 16px 0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ============================================================
   COLUMN 1 — ABOUT
   ============================================================ */

.footer-col-about .footer-logo {
    display: block;
    margin-bottom: 16px;
    max-width: 180px;
    height: auto;
}

.footer-col-about .footer-logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-col-about p {
    font-size: 0.875rem;
    color: #9CA3AF;
    margin: 0 0 16px 0;
    line-height: 1.7;
}

/* Social Icons */
.footer-social-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background-color 200ms ease, color 200ms ease;
}

.footer-social-icons a:hover {
    background-color: #0A66C2;
    color: #FFFFFF;
}

/* ============================================================
   COLUMNS 2 & 3 — SERVICES / INDUSTRIES LINK LISTS
   ============================================================ */

.footer-col-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col-links ul li a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 200ms ease;
}

.footer-col-links ul li a::before {
    content: '→';
    font-size: 0.75rem;
    color: #0A66C2;
    flex-shrink: 0;
    transition: transform 200ms ease;
}

.footer-col-links ul li a:hover {
    color: #FFFFFF;
}

.footer-col-links ul li a:hover::before {
    transform: translateX(3px);
}

/* ============================================================
   COLUMN 4 — CONTACT / OFFICES
   ============================================================ */

.footer-col-contact .footer-office {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-col-contact .footer-office:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-col-contact .office-city {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 4px 0;
}

.footer-col-contact .office-address {
    font-size: 0.8125rem;
    color: #9CA3AF;
    line-height: 1.55;
    margin: 0 0 4px 0;
}

.footer-col-contact .office-phone,
.footer-col-contact .office-email {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #9CA3AF;
    text-decoration: none;
    transition: color 200ms ease;
    margin-top: 4px;
}

.footer-col-contact .office-phone:hover,
.footer-col-contact .office-email:hover {
    color: #0A66C2;
}

.footer-col-contact .office-phone svg,
.footer-col-contact .office-email svg {
    flex-shrink: 0;
    width: 13px;
    height: 13px;
    fill: currentColor;
}

/* Inline contact meta row */
.footer-contact-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

/* ============================================================
   FOOTER NEWSLETTER / CTA STRIP (optional use)
   ============================================================ */

.footer-cta-strip {
    background-color: #0A66C2;
    padding: 32px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-cta-strip p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
}

.footer-cta-strip a.btn-footer-cta {
    display: inline-block;
    padding: 12px 24px;
    background-color: #FF7A00;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;
    transition: background-color 200ms ease;
}

.footer-cta-strip a.btn-footer-cta:hover {
    background-color: #e56e00;
}

/* ============================================================
   FOOTER BOTTOM BAR
   ============================================================ */

.footer-bottom {
    padding: 16px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background-color: #13132A;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-copy {
    font-size: 0.8125rem;
    color: #6B7280;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom-links li a {
    font-size: 0.8125rem;
    color: #6B7280;
    text-decoration: none;
    transition: color 200ms ease;
}

.footer-bottom-links li a:hover {
    color: #FFFFFF;
}

/* Separator dots between footer bottom links */
.footer-bottom-links li + li::before {
    content: '·';
    color: #374151;
    margin-right: 16px;
}

/* ============================================================
   FOOTER DIVIDER UTILITY
   ============================================================ */

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

/* ============================================================
   LABEL BADGES — office type label
   ============================================================ */

.footer-office-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0A66C2;
    background-color: rgba(10, 102, 194, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */

@media (max-width: 1024px) {
    .footer-top {
        padding: 48px 32px 32px;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-cta-strip {
        padding: 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-bottom {
        padding: 16px 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */

@media (max-width: 768px) {
    .footer-top {
        padding: 32px 16px 24px;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-col-about .footer-logo {
        max-width: 150px;
    }

    .footer-col h3,
    .footer-col h4 {
        font-size: 0.9375rem;
        margin-bottom: 12px;
    }

    .footer-col-contact .footer-office {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .footer-cta-strip {
        padding: 24px 16px;
        gap: 12px;
    }

    .footer-cta-strip p {
        font-size: 0.9375rem;
    }

    .footer-cta-strip a.btn-footer-cta {
        width: 100%;
        text-align: center;
    }

    .footer-bottom {
        padding: 16px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 12px;
    }

    .footer-bottom-links li + li::before {
        margin-right: 12px;
    }

    .footer-social-icons {
        gap: 6px;
    }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */

@media (max-width: 480px) {
    .footer-top {
        padding: 24px 16px;
        gap: 24px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .footer-bottom-links li + li::before {
        display: none;
    }
}