.team-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0px;
    margin-bottom: 10px;
}

.team-header {
    text-align: center;
    color: #85d1c7ff;
    margin: 10px 0;
}

.our-team {
    border-left: 8px solid #f1ab60;
    border-bottom: 8px solid #f1ab60;
    border-radius: 30px;
    position: relative;
    z-index: 2; 
}

.our-team .team-image {
    position: relative;
    text-align: center;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: all 0.5s ease 0s;
}

.our-team img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    transition: all 0.5s ease 0s;
}

.our-team .description-team {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 12px;
    color: #ffffff;
    line-height: 1;
    padding: 15px;
    opacity: 0;
    background-color: #553e269f;
    transition: all 0.5s ease 0s;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow-y: scroll;
    z-index: 1;
}

.our-team:hover .team-image {
    transform: scale(1.2);
}

.our-team:hover .description-team {
    opacity: 1;
}

.our-team .social {
    padding: 10px 0 0 0;
    margin: 0;
    list-style: none;
    position: absolute;
    top: 40px;
    left: -27px;
    background: #f1ab60;
    text-align: center;
    transform: translate(25px, 0px) rotateY(90deg);
    transition: all 0.5s ease 0s;
    z-index: 1;
}

.our-team:hover .social {
    transform: translate(0px, 0px) rotateY(0deg);
    z-index: 1;
}

.our-team .social li {
    display: block;
    margin-bottom: 10px;
    z-index: 1;
}

.our-team .social li a {
    display: block;
    width: 0px; 
    height: 0px;
    font-size: 17px;
    color: #fff;
    line-height: 30px;
    transition: all 0.5s ease 0s;
    z-index: 1;
}


.our-team .team-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fce5cc;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.info-left {
    text-align: left;
}

.info-right {
    display: flex;
    gap: 10px;
}

.social-icon img {
    width: 30px;
    height: auto;
}

.our-team .title {
    font-size: 15px;
    color: #8d534e;
    letter-spacing: 0px;
    margin: 0 0 10px 0;
    transition: all 0.5s ease 0s;
}

.our-team .post {
    display: block;
    font-size: 15px;
    color: #8d534e;
    text-transform: capitalize;
    z-index: 1;
}

.our-team .title:hover,
.our-team .post:hover {
    color: #e0ffefff;
    z-index: 1;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: -15px;
}

.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 15px;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.spacer {
    height: 60px;
}

