#team-head {
    padding-top: 5rem;
    background-color: #F9F3EE;
    background-image: url("../img/about-banner_bg.webp");
    background-size: contain;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.team-tag h3 {
    font-size: 7vh;
    color: #000;
}

.team-tag h2 {
    font-size: 7.5vh;
    color: #000;
    font-weight: 800;
}

.ceo-image {
    position: relative;
    z-index: 4;
    height: 500px;
     width: 100%;
}

.image-shadow {
    position: absolute;
    bottom: 0%;
    width: 100%;
    height: 405px;
    border-radius: 225px 225px 0 0;
    background-color: #39a79c;
    background-image: url('../img/team/lines.png');
    background-size: contain;
    background-size: 300% 300%;
    animation: flow 6s infinite ease-in-out;
    z-index: 2;
}

.top-team-image{
        object-fit: contain;
    position: relative;
    z-index: 4;
    height: 500px;
}

#team-crousal {
    padding: 4rem 0rem;
    
}

.team-card {
    border: none;
    border-radius: 15px;
    background: #fff;
    background-image: url(../img/about-banner_bg.webp);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    margin: 15px;
    min-height: 420px;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.team-header {
    background: #39a79c;
    color: white;
    text-align: center;
    padding: 45px 20px;
}

.team-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 22px;
}

.team-header small {
    font-size: 17px;
    display: block;
    margin-top: 5px;
}

.team-img {
    width: 140px !important;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin: -40px auto 20px;
    display: block;
    border: 5px solid #fff;
    background: #fff;
}

.team-body {
    text-align: center;
    padding: 0 20px 20px;
}

.team-body p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

#team-crousal .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

#team-crousal .owl-nav button {
    background: #39a79c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: 0.3s;
}

#team-crousal .owl-nav button:hover {
    background: #15443d !important;
}

#team-crousal .owl-nav i {
    font-size: 18px;
    line-height: 1;
}

@media screen and (max-width: 1280px) and (max-height: 800px) {
#team-head{
        height: 100vh;
    }
}

@media(max-width:768px) {
#team-head{
        height:100%!important;
    }
.ceo-image {
         width: 100%;
    position: relative;
    z-index: 4;
    height: 341px;
    object-fit: contain;
}
.image-shadow{
    height: 342px;
}
.top-team-image{
    height: 454px;
}
#team-head {
        padding-top: 4rem;
    }
.team-tag h3 {
        font-size: 2rem;
        color: #000;
    }
.team-tag h3 {
    font-size: 5vh;
}
}