.team-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 per row */
    gap: 20px;

}



.team-card {
    background: #fff;
    border-radius: 12px;

    text-align: center;
    padding: 15px;
    position: relative;
    transition: transform 0.3s ease;
}

/* .team-card:hover {
            transform: translateY(-5px);
        } */
.team-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

.team-card h4 {
    margin: 15px 0 0px;
    font-size: 35px;
    text-align: left;
    color: #80989E;
    font-weight: 400;
    text-transform: capitalize;
    font-family: optima;
}

.team-card p {
    margin-bottom: 10px;
    color: #DEB405;
    text-align: left;
    font-size: 25px;
    font-family: optima;
}

.team-card button {
    display: block;
    color: #8DA3A1;
    font-family: optima;
    border: 1px solid #B8CECD;
    padding: 17px 42px;
    border-radius: 12px;
    cursor: pointer;
    background: transparent;
    font-size: 21px;

}

.bio-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.bio-modal-content {
    background-color: #fff;
    margin: 4% auto;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 1400px;
    position: relative;
    border: 5px solid #DEB405;
    border-radius: 31px;
}

.bio-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #80989E;
}

.bio-modal-body {
    display: flex;
    flex-wrap: wrap;
    gap: 70px;
    align-items: center;
}

.bio-modal-image {
    flex: 1;
    min-width: 300px;
}

.bio-modal-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.bio-modal-text {
    flex: 2;
}

.bio-modal-text h2 {
    font-size: 35px;
    font-weight: 400;
    text-transform: capitalize;
    margin-bottom: 10px;
    color: #80989E;
    font-family: optima;
}

.bio-modal-text p {
    color: #DEB405;
    font-family: optima;
    font-size: 25px;
    font-weight: 300;
}

.bio-content-model p {
    font-family: optima;
    font-size: 20px;
    color: #9B9794;
    margin-top: 15px;
}

@media (max-width: 1600px) {
    .bio-content-model p{
        font-size: 16px;
    }
    .team-card h4,
    .bio-modal-text h2
    {
        font-size: 25px;
    }
    .team-card p,
    .bio-modal-text p
    {
        font-size: 16px;
    }
    .team-card button
    {
        padding: 15px 30px;
        font-size: 18px;
    }
}

@media (max-width: 1500px) {
    .team-card h4{
        font-size: 22px;
    }
    .team-card p{
        font-size: 16px;
    }
    .team-card button{
        padding: 13px 30px;
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .team-section {
        grid-template-columns: repeat(2, 1fr);
        /* Tablet */
    }
}

@media (max-width: 600px) {
    .team-section {
        grid-template-columns: 1fr;
        /* Mobile */
    }
}