/* 
========================================
FOOTER STYLES
========================================
*/
.site-footer {
    background-color: #ffffff;
    padding-top: 64px;
    padding-bottom: 24px;
    border-top: 1px solid #EAECF0;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    /* margin-bottom: 64px; */
}

.footer-col {
    flex: 1;
    min-width: 160px;
}

/* Column 1: Brand Card */
.footer-brand-col {
    flex: 0 0 300px; /* Fixed width for brand card */
    margin-right: 32px;
}

.brand-card {
    background: #F7FAFD;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-address {
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 24px;
    color: #475467;
    margin-bottom: 24px;
}

.footer-cta h4 {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 8px;
}

.footer-cta p {
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 24px;
    color: #475467;
    margin-bottom: 16px;
}

.footer-btn {
    width: 100%;
    justify-content: center;
    background-color: #003366; /* Match screenshot dark blue */
    border: none;
}

.footer-btn:hover {
    background-color: #002244;
}

/* Columns 2-5: Links */
.footer-heading {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 24px;
    display: inline-block;
    border-bottom: 2px solid #003366; /* Blue underline */
    padding-bottom: 4px;
}

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

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li a {
    font-family: var(--font-primary);
    font-size: 12px;
    color: #475467;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-menu li a:hover {
    color: #003366;
}

/* Product App Buttons */
.footer-app-buttons {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    background-color: #003366; /* Dark blue background */
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s;
    width: fit-content;
    min-width: 140px;
}

.btn-store i {
    font-size: 20px;
    margin-right: 10px;
}

.btn-store:hover {
    opacity: 0.9;
    color: #fff;
}

/* Footer Bottom */
.footer-bottom {
    border-top: none; 
    /* padding-top: 32px; */
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-family: var(--font-primary);
    font-size: 14px;
    color: #667085;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #EAECF0; /* Slight border */
    color: #667085;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.social-links a:hover {
    background-color: #EAECF0;
    color: #101828;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-brand-col {
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 32px;
    }
    
    .footer-main {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding-top: 48px;
        padding-bottom: 24px;
    }

    .footer-col {
        flex: 1 1 45%; /* 2 columns on tablet */
    }
    
    .footer-bottom {
        flex-direction: column-reverse; 
        text-align: center;
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .footer-col {
        flex: 1 1 100%; /* Full width on mobile */
        margin-bottom: 24px;
    }

    .footer-brand-col {
        margin-bottom: 32px;
    }

    .brand-card {
        padding: 20px;
    }

    .footer-heading {
        margin-bottom: 16px;
    }

    .footer-app-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .btn-store {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }

    .social-links {
        justify-content: center;
        margin-bottom: 16px;
    }
    
    .copyright {
        font-size: 13px;
    }
}