/**
 * EnerKnol Custom Styles - Footer
 * Migrated from wp-emergent-theme-master theme
 * 
 * @package dt-the7-child
 * @since   1.0.0
 */

/* ========================================================================
   Brand Colors & Global Variables
   ======================================================================== */
:root {
    --primary-blue: #032654;
    --accent-blue: #4DE0FF;
    --light-blue: #f0f9ff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --gray-700: #374151;
}

/* ========================================================================
   Global Utilities
   ======================================================================== */

/* Ensure footer uses consistent fonts */
.site-footer {
    line-height: 1.6;
}

/* Container utility class */
.container:not(.header) {
    max-width: 1280px;
}
.container {
    margin: 0 auto;
    padding: 0 1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary,
.btn-primary-footer {
    background: var(--accent-blue);
    color: var(--primary-blue);
}

.btn-primary-footer{
    color:var(--primary-blue) !important;
}

.btn-primary:hover {
    background: var(--primary-blue);
    color: white;
}

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

/* Footer Container Styles */
#bottom-bar {
    background: transparent;
    border: none;
    padding: 0;
}

#bottom-bar .wf-container-bottom {
    max-width: 100%;
    padding: 0;
}

/* Footer Styles */
.site-footer {
    background: var(--primary-blue);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Footer brand section - first column in footer grid */
.footer-brand-section {
    padding-right: 1rem;
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.footer-brand-logo {
    margin-bottom: 1rem;
}

.footer-brand-logo img {
    max-width: 180px;
    height: auto;
}

/* Footer description paragraph */
.footer-brand-section > p {
    color: #cbd5e1;
    margin-bottom: 1.5rem !important;
    line-height: 1.6;
}

/* Contact info container */
.footer-brand-section > div:not(.footer-brand):not(.footer-brand-logo) {
    margin-bottom: 1.5rem;
}

/* Individual contact items */
.footer-brand-section > div > div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}

/* Non-social SVG's */
.footer-brand-section > div > div svg:not(.footer-social-svg) {
    height: 16px;
}


.footer-brand-section > div > div:last-child {
    margin-bottom: 0;
}

/* Social links container */
.footer-brand-section > div:last-child {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}

.footer-brand-section > div:last-child a {
    color: #cbd5e1 !important;
    text-decoration: underline !important;
    transition: color 0.3s ease;
}

.footer-social-svg {
    transition: color 0.3s, background-color 0.3s;
    border-radius: 4px;
    padding: .65rem;
    box-sizing: content-box;
}

.footer-brand-section > div:last-child a:hover,
.footer-brand-section > div:last-child a:hover .footer-social-svg {
    color: var(--accent-blue);
}

.footer-brand-section > div:last-child a:hover .footer-social-svg {
    background-color: #ffffff1a;
}

.footer-links {
    text-align: left;
}

.footer-links h4 {
    font-size: 16px;
    color: var(--accent-blue) !important;
    font-weight: 600;
}

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

.footer-links a {
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-bottom {
    border-top: 1px solid #1e40af;
    padding-top: 2rem;
    text-align: center;
    color: #cbd5e1;
}

/* Footer bottom content wrapper */
.footer-bottom > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Trust message section */
.footer-bottom > div > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-links:nth-child(4),
    .footer-links:nth-child(5) {
        grid-column: span 1;
    }
}

/* Mobile and Tablet - Footer */
@media (max-width: 872px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-links > ul {
        list-style-position: inside;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand-section {
        grid-column: span 2;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand-section {
        grid-column: span 1;
    }
    
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 14px;
    }
}
