/* Custom Footer Styling for Address Section */

.footer-top-address {
    background: #f8f9fa;
    padding: 50px 0;
    border-top: 1px solid #dee2e6;
}

.footer-top-address .container {
    max-width: 1400px;
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 0 15px;
}

.address-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: none !important;
}

.address-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.address-box .country-flag {
    height: 30px;
    width: auto;
    margin: 0 auto 15px;
    display: block;
}

.address-box .company-name {
    font-size: 13px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 36px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address-box .address-text {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Remove any existing borders */
.address-box + .address-box::before {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .address-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .address-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .address-box {
        min-height: auto;
        padding: 25px;
    }
}

/* Override Bootstrap column classes for this section */
.footer-top-address .row {
    display: contents;
}

.footer-top-address [class*="col-"] {
    all: unset;
}