.team-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .team-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-section {
        grid-template-columns: 1fr;
    }
}

.member-card {
    background: #fff;
    border-radius: 8px;
    position: relative;
}

.photo-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.plus-icon {
    position: absolute;
    bottom: 110px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
    background-color: #8d4333;
    color: white;
    z-index: 11;
    cursor: pointer;
}

.plus-icon::after {
    content: "+";
}

.member-card:hover .plus-icon::after {
    content: "−";
}

.contact-popup {
    position: absolute;
    bottom: 110px;
    right: 60px;
    background-color: #8d4333;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    z-index: 10;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.member-card:hover .contact-popup {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    font-size: 0.8rem;
}

.contact-line i {
    font-size: 0.9rem;
}

.member-details {
    padding: 30px 10px 10px 10px;
}
