/* Styles for About page tabs */

/* Tab content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Where We Work tab styles */
.locations-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 20px;
    margin-top: 30px;
    margin-bottom: 50px;
    justify-content: center;
}

.location-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.location-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.location-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .locations-gallery {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .location-item img {
        height: 180px;
    }
    
    .location-caption {
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .locations-gallery {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        grid-gap: 10px;
    }
    
    .location-item img {
        height: 130px;
    }
    
    .location-caption {
        font-size: 12px;
        padding: 6px 10px;
    }
}
