/*-----------------------------------------------------------------------------------
    Team Section
-----------------------------------------------------------------------------------*/
.team-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.team-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.team-info h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.team-info .position {
    color: #006C75;
    font-weight: 500;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/*-----------------------------------------------------------------------------------
    Counter Section
-----------------------------------------------------------------------------------*/
.counter-section {
    padding: 70px 0;
    background: #FFFFFF;
    position: relative;
}

.counter-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.counter-box {
    text-align: center;
    padding: 12px;
    flex: 0 0 22%;
    max-width: 220px;
}

.counter-icon {
    color: #FECC00;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.counter-number {
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1;
    color: #006C75;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.counter-number::after {
    content: '+';
    font-size: 1.8rem;
    color: #FECC00;
    margin-left: 3px;
    font-weight: 600;
}

.counter-title {
    font-size: 1.15rem;
    color: #333;
    font-weight: 600;
    margin-top: 0;
}

@media (max-width: 992px) {
    .counter-box {
        flex: 0 0 40%;
        max-width: 180px;
        margin-bottom: 20px;
    }
    
    .counter-number {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .counter-row {
        gap: 15px;
    }
    
    .counter-box {
        flex: 0 0 45%;
        max-width: 150px;
        padding: 10px;
    }
    
    .counter-number {
        font-size: 2.8rem;
    }
    
    .counter-title {
        font-size: 1rem;
    }
}

/*-----------------------------------------------------------------------------------
    Gallery Section
-----------------------------------------------------------------------------------*/
.gallery-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.gallery-filter {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-filter {
    background-color: white;
    border: 1px solid #e0e0e0;
    color: #444;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    background-color: #f0f0f0;
    color: #006C75;
}

.btn-filter.active {
    background-color: #006C75;
    color: white;
    border-color: #006C75;
}

.gallery-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h5 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.gallery-info p {
    margin-bottom: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Media Queries */
@media (max-width: 768px) {
    .team-card {
        margin-bottom: 2rem;
    }
    
    .counter-box {
        margin-bottom: 2rem;
    }
    
    .gallery-card img {
        height: 180px;
    }
}