
.our-team .two-leaders .card{
    border-color: transparent;
}
/* .our-team .two-leaders:nth-child(2) .card{
    align-items: end;

} */
.our-team .two-leaders .card-img{
   width: 400px;
   position: relative;
}
.our-team .two-leaders .card-body::after {
    position: absolute;
    content: '';
    width: 420px;
    height: 10px;
    background-color: var(--orange);
    top: 0px;
    left: 0px;
    transition: all .3s ease-in-out;
}

.our-team .row .two-leaders:hover .card-body::after{
    width: 420px;
    height: 180px;
    bottom: 0;

}
.our-team{
    padding: 70px 0;
}
/* .our-team .row .two-leaders{
text-align: center;
} */
/* .our-team .row .two-leaders:nth-child(1) .card-img::after {
    left: 22px;
} */
/* .our-team .row .two-leaders:nth-child(2) .card-img img{
margin-left: 40px;
} */
/* .our-team .row .card .card-body{
margin-top: 30px;
} */
.our-team .row .card .card-body h3{
    font-weight: bold;
    font-size: 34px;
    /* margin-bottom: 10px; */
    z-index: 1;
    position: relative;
    text-transform: uppercase;
    font-family: 'Gill Sans MT Ext Condensed';
    letter-spacing: 1px;
}
.our-team .row .card .card-body h6{
   font-size: 19px;
   /* font-weight: bold; */
   /* margin: 10px 0; */
   z-index: 1;
   position: relative;
}
.our-team .row .card .card-body a{
 color: black;
 font-size: 16px;
 z-index: 1;
 position: relative;

 }
 .our-team .row .two-leaders .card-body hr,
 .our-team .row .two-leaders.prinsipals .card-body hr{
    opacity: 1;
    margin: 8px 0;
 }
 .our-team .row .card .card-body p:nth-child(3){
    /* margin: 5px 0; */
    margin-top: 5px;
    font-weight: bold;
    z-index: 1;
    position: relative;
 }
  .our-team .row .card .card-body p i{
    color: var(--orange);
    margin-right: 10px;
    font-size: 16px;
    z-index: 1;
    position: relative;
  }
 .our-team .row .two-leaders:first-child .card-body{
    margin-left: 10px;
    width: 420px;
 }

 .our-team .row .two-leaders:nth-child(2) .card-img::after {
       left: -18px;
}
.our-team .row .two-leaders:nth-child(2) .card-body{
    width: 420px;
    text-align: end;
}
.our-team .row .two-leaders:nth-child(2) .card-body p i{
    margin-left: 10px;
    margin-right: 0;
}
.our-team .row .two-leaders .card-body{
padding-top: 30px;
position: relative;
transition: all .5s ease-in-out;
}
.our-team .two-leaders.prinsipals .card-body::after {
    width: 95%;
    /* left: 23px; */
    right: 0;
}
/* .our-team .two-leaders.prinsipals .card-img::after {
 
} */
.our-team .two-leaders.prinsipals .card-img img {
    width: 250px;
}
.our-team .two-leaders.prinsipals .card-img {
    width: 100%;
    /* text-align: center; */
}
.our-team .row .two-leaders.prinsipals .card .card-body h3 {
    /* margin-bottom: 8px;
    margin-top: 8px; */
    font-family: 'Gill Sans MT Ext Condensed';
    font-size: 35px;
    letter-spacing: 1px;
    
}
.our-team .row .two-leaders .card .card-body h6 {
    margin-bottom: 0;
    font-size: 18px;
    transition: 0.5s all;
    font-weight: 600;
}
.our-team .row .two-leaders.prinsipals {
    margin-top: 70px;
 
}
/* .our-team .row .two-leaders.prinsipals .card{
    margin-left: 10PX;
} */
.our-team .row .two-leaders:nth-child(odd) .card .card-img {
margin-left: 12px;
}
.our-team .row .two-leaders:nth-child(even) .card .card-img {
text-align: center;
}

/* .our-team .row .two-leaders:nth-child(even) .card-body {
    text-align: end;
    padding-right: 20px;
}
.our-team .row .two-leaders:nth-child(even) .card-body p i{
    margin-right: 0;
    margin-left: 10px;
    font-size: 16px;
} */
.our-team .row .two-leaders.prinsipals:hover .card-body::after{
    height: 170px;
    width: 95%;
    bottom: 0;

}
.our-team .row .two-leaders:hover .card-body p,
.our-team .row .two-leaders:hover .card-body a,
.our-team .row .two-leaders:hover .card-body i,
.our-team .row .two-leaders:hover .card-body hr,
.our-team .row .two-leaders:hover .card-body h3,
.our-team .row .two-leaders:hover .card-body h6{
    color: white;
    z-index: 1;
    position: relative;
}


.our-team h2 {
    text-align: left;
    font-family: 'Gill Sans MT Ext Condensed';
    text-decoration: underline;
    text-underline-offset: 30px;
    text-decoration-thickness: 0;
    font-size: 70px;
    color: var(--black);
    position: relative;
    margin-bottom: 100px;
    font-size: 58px;
}
.our-team  h2 span {
    color: var(--orange);
}
.our-team  h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -1px;
    transform: unset;
    width: 30px;
    height: 5px;
    background-color: var(--orange);
}
.principal-name{
width: fit-content;
text-align: end;
}
.principal-name p{
font-style: italic;
}
.our-team .row .two-leaders:nth-child(2) .card .card-img {
margin-left: 20px;
}
.our-team .row .two-leaders:nth-child(even) .card .card-body .ita{
    font-style: italic;
}
@media (max-width: 1600px){
}
@media (max-width: 1536px){
    .our-team .row .card .card-body h3 {
        font-size: 28px;
    }  
    .our-team .row .two-leaders.prinsipals {
        margin-top: 60px;
    }
}
@media (max-width: 1440px){
}
@media (max-width: 1366px){
    
    .our-team .two-leaders .card-img {
    width: 350px;
}
.our-team .row .two-leaders:nth-child(2) .card-body,
.our-team .row .two-leaders:first-child .card-body,
.our-team .two-leaders .card-body::after,
.our-team .row .two-leaders:hover .card-body::after {
    width: 360px;
}
.our-team .row .two-leaders.prinsipals .card .card-body h3 {
    font-size: 28px;
}
.principal-name p {
    font-size: 16px;
}
p {
    font-size: 16px;
}
.our-team .two-leaders.prinsipals .card-img img {
    width: 220px;
}
.our-team .row .two-leaders .card-body {
    padding-top: 20px;
}


}
@media (max-width: 1280px){
}
@media (max-width: 1199px){
}
@media (max-width: 1152px){
    p {
    font-size: 13px;
}
.our-team .two-leaders.prinsipals .card-body::after {
    width: 100%;
}
.our-team .row .two-leaders.prinsipals:hover .card-body::after {
    width: 100%;
}
}
@media (max-width: 1024px){
}
@media (max-width: 992px){
}
@media (max-width: 991px){
    .our-team .row .card .card-body h3 {
        font-size: 34px;
    }
    p {
        font-size: 16px;
    }
    .our-team .row .two-leaders.prinsipals .card .card-body h3 {
        font-size: 34px;
    }
    .our-team .two-leaders .card-img {
        width: 95%;
        height: 100%;
    }
    .our-team .two-leaders .card {
        height: 95%;
    }
    .our-team .two-leaders.prinsipals .card-img img {
        width: 95%;
        height: 100%;
    }
    /* .our-team .row .two-leaders.prinsipals:nth-child(odd) .card .card-img img{
        width: 100%;
        height: 100%;
    } */
    .our-team .row .two-leaders:nth-child(2) .card-body,
     .our-team .row .two-leaders:first-child .card-body, 
     .our-team .two-leaders .card-body::after, 
     .our-team .row .two-leaders:hover 
     .card-body::after {
        width: 100%;
        margin: 0;
    }
    .our-team .row .two-leaders:nth-child(odd) .card .card-img {
        margin-left: 0;
    }
     .our-team .two-leaders .card {
        height: 95%;
    }
    .our-team {
        padding: 50px 0;
    }
    .our-team h2 {
        margin-bottom: 70px;
        font-size: 54px;
    }

}
@media (max-width: 768px){
}
@media (max-width: 767px){
}
@media (max-width: 600px){
}
@media (max-width: 576px){
}
@media (max-width: 540px){
    .our-team .two-leaders:nth-child(1) {
       margin-bottom: 50px;
    }
    .our-team .row .two-leaders.prinsipals {
        margin-top: 41px;
    }
}
@media (max-width: 492px){
    .our-team h2 {
    margin-bottom: 50px;
    font-size: 35px;
    text-underline-offset: 20px;
}
.our-team h2::after {
    bottom: -16px;
}
}
@media (max-width: 432px){
    .our-team .row .card .card-body h3 {
        font-size: 28px;
    }
    p {
        font-size: 15px;
    }
}
@media (max-width: 425px){
}

@media (max-width: 414px){
}

@media (max-width: 412px){
 
}

@media (max-width: 400px){
}


