/* Footer Contact Locations Styling - Compact Flag & Name Only */

.contact-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    margin-top: 20px;
}

.contact-location-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.contact-location-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Location Logo */
.location-logo {
    width: 45px;
    height: 30px;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-location-item:hover .location-logo {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.location-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Country Flag (fallback) */
.country-flag {
    width: 45px;
    height: 30px;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-location-item:hover .country-flag {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Country Name - Compact */
.country-name {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.contact-location-item:hover .country-name {
    color: #007bff;
}


/* No Locations Message */
.no-locations-message {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.no-locations-message p {
    margin: 0;
    font-size: 16px;
    opacity: 0.7;
}

/* Responsive Design - Compact */
@media (max-width: 1199px) {
    .contact-locations-grid {
        grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
        gap: 6px;
    }
}

@media (max-width: 991px) {
    .contact-locations-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 5px;
    }
    
    .contact-location-item {
        padding: 6px 4px;
    }
    
    .location-logo,
    .country-flag {
        width: 40px;
        height: 26px;
    }
    
    .country-name {
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .contact-locations-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 4px;
    }
    
    .contact-location-item {
        padding: 6px 3px;
        gap: 4px;
    }
    
    .location-logo,
    .country-flag {
        width: 35px;
        height: 24px;
    }
    
    .country-name {
        font-size: 10px;
        letter-spacing: 0.6px;
    }
}

@media (max-width: 575px) {
    .contact-locations-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 3px;
    }
    
    .contact-location-item {
        padding: 5px 2px;
        gap: 3px;
    }
    
    .location-logo,
    .country-flag {
        width: 32px;
        height: 22px;
    }
    
    .country-name {
        font-size: 9px;
        letter-spacing: 0.4px;
    }
}

/* Animation */
.contact-location-item {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
