/* ==========================================================================
   FOOTER STYLES
   Centralized footer styling for all pages
   ========================================================================== */

/* Main Footer Container */
.footer-modern {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: 4rem 0 2rem;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Alternative Footer Grid (used in some pages) */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Section Headings */
.footer-section h5 {
    color: white;
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Footer Section Links */
.footer-section a {
    color: var(--neutral-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-blue);
}

/* Enhanced Footer Link Hover (Brand Color) */
.footer-modern a:hover {
    color: var(--brand-coral) !important;
}

/* Footer Links List */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--neutral-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-blue);
}

/* Social Links Container */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Alternative Social Links with Different Gap */
.social-links.spaced {
    gap: 15px;
}

/* Social Link Items */
.social-link {
    width: 40px;
    height: 40px;
    background: var(--neutral-800);
    color: var(--neutral-400);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

/* Alternative Social Link Styling */
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

/* Social Link Hover States */
.social-link:hover {
    color: white;
    transform: translateY(-2px);
}


/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid var(--neutral-700);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Alternative Footer Bottom with Different Border */
.footer-bottom.alt {
    border-top: 1px solid var(--neutral-800);
}

/* Footer Bottom Text */
.footer-bottom p {
    margin: 0;
    color: var(--neutral-400);
}

/* Footer Base Class (for services page) */
.footer {
    background: var(--neutral-900);
    color: white;
    padding: 60px 0 30px;
}

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

@media (max-width: 768px) {
    .footer-modern {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-section h5 {
        margin-bottom: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-modern {
        padding: 2rem 0 1rem;
    }
    
    .footer-content,
    .footer-grid {
        gap: 1.5rem;
    }
    
    .social-link,
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}