.team-section {
    padding: 60px 0;
    background-color: white;
}

.team-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.team-grid-top {
    grid-template-columns: repeat(3, 1fr);
}

.team-grid-bottom {
    grid-template-columns: repeat(4, 1fr);
}

.team-member {
    text-align: center;
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding-top: 10px;
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 15px auto 15px auto;
    border: 5px solid var(--primary-color);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-member:hover .team-image {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    border-color: #b91c1c;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 15px;
}

.team-info h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-info p {
    color: #666;
    margin-bottom: 10px;
}

.coverage-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.coverage-map {
    margin-top: 40px;
    text-align: center;
}

.coverage-map img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    right: 50%;
    margin-right: -3px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    right: 0;
}

.right {
    right: 50%;
}

.right::after {
    left: -12px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}


@media screen and (max-width: 1024px) {
    .team-grid-top {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .team-grid-top,
    .team-grid-bottom {
        grid-template-columns: repeat(1, 1fr);
    }

    .timeline::after {
        right: 31px;
    }
    
    .timeline-container {
        width: 100%;
        padding-right: 70px;
        padding-left: 25px;
    }
    
    .timeline-container::after {
        right: 18px;
    }
    
    .left::after, .right::after {
        left: auto;
    }
    
    .right {
        right: 0;
    }
}
