/* Đội ngũ sản xuất */

.production-team-page {
    font-family: Montserrat;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 !important;
    max-width: 1920px;
    background-color: #ffffff;
}

.production-team {
    padding: 20px;
    text-align: center;
    width: 100%;
    background-color: transparent;
    margin: 10px 0;
    max-width: 1920px;
}

.production-team h1 {
    font-size: 48px;
    font-weight: bold;
    color: #1F64A5;
}

.production-team p {
    font: normal normal normal 18px/22px Montserrat;
    line-height: 1.2;
}

@media screen and (max-width: 600px) {
    .production-team {
        background-color: #1f64a5;
        color: white;
        font-size: 14px;
    }

    .production-team h1 {
        font-size: 30px;
        color: white;
        font-weight: 600;

    }

    .production-team p {
        font-size: 12px;
        text-align: justify;
    }
}


.team-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
    top: 0;
    left: 0;
}

.team-slider-container {
    overflow: hidden;
    margin: 0 50px;
    /* Add margin to make space for the buttons */
    position: relative;
    /* Ensure arrows are positioned relative to the slider container */
    padding: 10px 5px 10px 10px;
}

.team-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.team-member {
    flex: 0 0 20%;
    /* Show 4 members at a time */
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align items to the bottom */
    align-items: center;
    cursor: pointer;
    /* Add cursor pointer */
    transition: box-shadow .3s;
    padding: 10px;
}

@media screen and (max-width: 600px) {
    .team-member {
        flex: 0 0 100%;
        /* Show only 1 member per slide */
    }

}

.team-member .img-container {
    width: auto;
    height: 350px;
    /* Increase the height of each image */
    transition: transform 0.3s ease;
    overflow: hidden;
    /* background-color: #001970; */
}

.team-member img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    transform: scale(1.5);
}

.team-member>div:hover {
    box-shadow: 0 0 11px #1f64a5;
    border-radius: 20px;
}

.team-member .content {
    background-color: transparent;
    padding: 20px 10px;
    text-align: center;
    margin: 0;
    width: 93%;

}

.team-member .content .name {
    color: #1f64a5;
    font-size: larger;
    font-weight: bold;
}

.team-member .content .position {
    color: #e4bd90;
    font-weight: bold;
}

@media screen and (max-width: 600px) {
    .team-member .content .name {
        color: white;
    }

    .team-member .content .position {
        color: white;
    }
}

.team-container .prev,
.team-container .next {
    position: absolute;
    top: 50%;
    background-color: transparent;
    border: 2px solid transparent;
    color: black;
    font-size: 32px;
    padding: 0;
    cursor: pointer;
    z-index: 100;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
}

.team-container .prev {
    left: 0;
}

.team-container .next {
    right: 0;
}

@media screen and (max-width: 600px) {
    .team-container button {
        color: white !important;
    }
}

.team-container button:hover {
    color: rgba(0, 0, 0, 0.8);
    /* Change color on hover */
}

/* Modal styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Enable scroll if needed */
}

.modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffff 0% 0% no-repeat padding-box;
    opacity: 0;
}

.modal-content {
    background: transparent linear-gradient(290deg, #001970 0%, #37BBFF 100%) 0% 0% no-repeat padding-box;
    margin: 15% auto;
    padding: 50px;
    width: 50%;
    max-height: 450px;
    border-radius: 42px;
    position: relative;
    text-align: center;
    /* Center text and content */
    box-shadow: 0px 3px 20px #1f64a5a3;
}

.blur {
    filter: blur(10px);
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.member-details {
    display: grid;
    grid-template-areas: "image text";
    grid-template-rows: auto;
    grid-template-columns: 3fr 4fr;
    gap: 30px;
}

#memberModal .modal-img-container {
    grid-area: image;
    height: 100%;
    max-width: 100%;
    /* Ensure image fits within modal content */
    height: auto;
    /* Maintain aspect ratio */
    border-radius: 20px;
    overflow: hidden;
}

.modal-image {
    grid-area: image;
    height: 100%;
    max-width: 100%;
    /* Ensure image fits within modal content */
    height: auto;
    /* Maintain aspect ratio */
    border-radius: 20px;
    transform: scale(1.5);
}

.model-text {
    color: white;
    display: flex;
    grid-area: text;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    gap: 30px;
}

.model-text p {
    display: flex;
    flex-direction: column;
    gap: 30px;
}