﻿/**
 * Resume Target - Footer Styles
 * @version 3.1
 * 
 * CHANGES IN 3.1:
 * - Added strong.footer-column-heading styles (H4 → STRONG change)
 * - Ensured p.footer-headline matches previous H3 styling
 * - No visual changes - maintains exact same appearance
 * 
 * Design System:
 * - Navy: #1f295e
 * - Green: #47BB5C
 * - Font: AvertaPE
 */

/* ============================================
   FOOTER BASE
   ============================================ */

.footer {
    background-color: #1f295e;
    color: #ffffff;
    font-family: 'AvertaPE', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   FOOTER TOP - Logo, Phone, CTA
   ============================================ */

.footer-top {
    padding: 30px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

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

.footer-logo a {
    display: inline-block;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer .footer-phone .footer-phone-number,
.footer-phone .footer-phone-number,
.footer-phone-number {
    color: #ffffff !important;
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    font-size: 18px;
    font-weight: 600;
}

.footer-phone:hover {
    color: #47BB5C;
}

.footer-phone:hover .footer-phone-number {
    color: #47BB5C !important;
}

.footer-phone svg {
    flex-shrink: 0;
}

.footer-contact-divider {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-callback-btn {
    display: inline-block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    transition: all 0.2s ease;
}

.footer-callback-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.footer-cta .btn-accent {
    display: inline-block;
    background-color: #47BB5C;
    color: #ffffff;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-cta .btn-accent:hover {
    background-color: #3da34d;
    transform: translateY(-1px);
}

/* ============================================
   FOOTER TAGLINE - Dynamic SEO Context
   ============================================ */

.footer-tagline {
    padding: 35px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-tagline-inner {
    max-width: 800px;
    margin: 0 auto;
}

.footer-tagline-main {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #47BB5C;
}

/* v3.1: Supports both H3 (legacy) and P (v3.4+) */
.footer-headline,
h3.footer-headline,
p.footer-headline {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   FOOTER MAIN - Navigation Columns
   ============================================ */

.footer-main {
    padding: 50px 40px;
}

.footer-main-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.footer-column {
    min-width: 0;
}

/* v3.1: Supports both H4 (legacy) and STRONG (v3.4+) */
.footer-column-heading,
h4.footer-column-heading,
strong.footer-column-heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin: 0 0 18px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #47BB5C;
    display: inline-block;
}

.footer-column-subheading {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-column ul li:last-child {
    margin-bottom: 0;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: #47BB5C;
}

/* Solutions Column - Extra styling for By Industry link */
.footer-column-solutions .footer-link-arrow {
    display: inline-block;
    margin-top: 15px;
    color: #47BB5C;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.footer-column-solutions .footer-link-arrow:hover {
    transform: translateX(3px);
}

/* Connect Column - Social icons */
.footer-column-connect {
    text-align: left;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social li {
    margin-bottom: 0 !important;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background-color: #47BB5C;
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   FOOTER BOTTOM - Copyright
   ============================================ */

.footer-bottom {
    padding: 25px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.15);
    text-align: center;
}

.footer-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 5px 0;
}

.footer-address {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ============================================
   RESPONSIVE - Tablet
   ============================================ */

@media (max-width: 1100px) {
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 30px;
    }
    
    .footer-column-connect {
        grid-column: span 1;
    }
}

@media (max-width: 991px) {
    .footer-top {
        padding: 25px 30px;
    }
    
    .footer-top-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .footer-logo {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-tagline {
        padding: 30px;
    }
    
    .footer-tagline-main {
        font-size: 24px;
    }
    
    .footer-headline,
    h3.footer-headline,
    p.footer-headline {
        font-size: 16px;
    }
    
    .footer-main {
        padding: 40px 30px;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 40px;
    }
    
    .footer-bottom {
        padding: 20px 30px;
    }
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */

@media (max-width: 767px) {
    .footer-top {
        padding: 25px 20px;
    }
    
    .footer-top-inner {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-logo img {
        height: 35px;
    }
    
    .footer-phone {
        font-size: 17px;
    }
    
    .footer-cta .btn-accent {
        width: 100%;
        text-align: center;
        padding: 14px 28px;
    }
    
    .footer-tagline {
        padding: 25px 20px;
    }
    
    .footer-tagline-main {
        font-size: 22px;
    }
    
    .footer-headline,
    h3.footer-headline,
    p.footer-headline {
        font-size: 15px;
    }
    
    .footer-contact-divider {
        display: none;
    }
    
    .footer-callback-btn {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }
    
    .footer-main {
        padding: 35px 20px;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    /* v3.1: Updated selector for both H4 and STRONG */
    .footer-column-heading,
    h4.footer-column-heading,
    strong.footer-column-heading {
        display: block;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 15px;
    }
    
    .footer-column-heading::after,
    h4.footer-column-heading::after,
    strong.footer-column-heading::after {
        content: '';
        display: block;
        width: 40px;
        height: 2px;
        background-color: #47BB5C;
        margin: 10px auto 0;
    }
    
    .footer-column ul li {
        margin-bottom: 12px;
    }
    
    .footer-column ul li a {
        font-size: 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column-solutions .footer-link-arrow {
        display: block;
        text-align: center;
    }
    
    .footer-bottom {
        padding: 20px;
    }
    
    .footer-copyright {
        font-size: 13px;
    }
    
    .footer-address {
        font-size: 12px;
    }
}

/* ============================================
   RESPONSIVE - Small Mobile
   ============================================ */

@media (max-width: 480px) {
    .footer-tagline-main {
        font-size: 20px;
    }
    
    .footer-headline,
    h3.footer-headline,
    p.footer-headline {
        font-size: 14px;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
    }
    
    .footer-social a svg {
        width: 18px;
        height: 18px;
    }
}