/*=========================================
            TEAM BANNER
=========================================*/

.team-banner{
    position:relative;
    height:390px;
 background:url("../home3_image/about_us2.webp") center center/cover no-repeat;
    display:flex;
    align-items:center;
    overflow:hidden;
}

.team-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.60) 35%,
        rgba(0,0,0,.18) 100%
    );
}

.team-banner-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.15);
}

.team-banner-container{
    position:relative;
    z-index:2;
    width:90%;
    max-width:1320px;
    margin:auto;
}

.team-banner-content{
    max-width:700px;
}

.team-banner-content h1{
    color:#fff;
    font-size:48px;
    font-weight:800;
    line-height:1.1;
    margin-bottom:28px;
}

.team-breadcrumb{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.team-breadcrumb a,
.team-breadcrumb span{
    color:#fff;
    text-decoration:none;
    font-size:22px;
    font-weight:700;
    text-transform:uppercase;
    transition:.35s;
}

.team-breadcrumb a:hover{
    color:#ff6b1a;
}

/*=========================================
            RESPONSIVE
=========================================*/

@media(max-width:1200px){

.team-banner{
    height:360px;
}

.team-banner-content h1{
    font-size:64px;
}

.team-breadcrumb a,
.team-breadcrumb span{
    font-size:21px;
}

}

@media(max-width:992px){

.team-banner{
    height:330px;
}

.team-banner-content h1{
    font-size:52px;
}

.team-breadcrumb a,
.team-breadcrumb span{
    font-size:18px;
}

}

@media(max-width:768px){

.team-banner{
    height:290px;
}

.team-banner-container{
    width:92%;
}

.team-banner-content h1{
    font-size:42px;
    margin-bottom:18px;
}

.team-breadcrumb{
    gap:8px;
}

.team-breadcrumb a,
.team-breadcrumb span{
    font-size:16px;
}

}

@media(max-width:576px){

.team-banner{
    height:250px;
}

.team-banner-content h1{
    font-size:34px;
}

.team-breadcrumb a,
.team-breadcrumb span{
    font-size:14px;
}

}

@media(max-width:420px){

.team-banner{
    height:220px;
}

.team-banner-content h1{
    font-size:30px;
}

.team-breadcrumb a,
.team-breadcrumb span{
    font-size:13px;
}

}

/*=========================================
        MEMBER DETAILS SECTION
=========================================*/

.member-details{
    position:relative;
    padding:70px 0;
    background:#fff;
    overflow:hidden;
}

.member-container{
    width:80%;
    max-width:1320px;
    margin:auto;
    display:grid;
    grid-template-columns:430px 1fr;
    gap:80px;
    align-items:flex-start;
}


/*=========================================
            LEFT SIDE
=========================================*/

.member-left{
    position:relative;
    overflow:visible;
}

.member-image{
    position:relative;
    overflow:visible;      /* FIX: was being overridden to hidden further down, which clipped the social icons */
    border-radius:12px;
    box-shadow:0 20px 60px rgba(0,0,0,.12);
}

.member-image img{
    width:100%;
    height: 500px;
    display:block;
    border-radius:12px;    /* rounding moved here since the container no longer clips */
    transition:.8s ease;
}

.member-image:hover img{
    transform:scale(1.08);
}

.member-image::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:12px;    /* keep overlay corners matching the image */
    background:linear-gradient(
        to top,
        rgba(0,0,0,.25),
        transparent
    );
    opacity:0;
    transition:.5s;
    pointer-events:none;
}

.member-image:hover::before{
    opacity:1;
}


/*=========================================
        SOCIAL ICONS
=========================================*/

.member-social{
    position: absolute;
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.member-social a{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    transition: .35s;
}


.member-social a:hover{
    background: #ff6b1a;
    color: #fff;
    transform: translateX(8px);
}


/*=========================================
            RIGHT SIDE
=========================================*/

.member-right{
    position:relative;
}

.member-tag{

    display:inline-block;

    background:#ff6b1a;

    color:#fff;

    padding:8px 18px;

    border-radius:4px;

    font-size:20px;

    font-weight:700;

    letter-spacing:.5px;

    margin-bottom:22px;

}

.member-name{

    font-size:48px;

    font-weight:800;

    color:#111;

    margin-bottom:24px;

}

.member-desc{

    font-size:17px;

    line-height:2;

    color:#666;

    margin-bottom:35px;

}


/*=========================================
        MEMBER INFO
=========================================*/

.member-info{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

    padding-bottom:35px;

    margin-bottom:45px;

    border-bottom:1px solid #ececec;

}

.info-box span{

    display:block;

    color:#999;

    font-size:15px;

    margin-bottom:8px;

}

.info-box h5{

    color:#111;

    font-size:18px;

    font-weight:600;

}


/*=========================================
        SECTION HEADING
=========================================*/

.section-heading{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:18px;

}

.section-icon{

    width:65px;
    height:65px;

    border-radius:50%;

    background:#fff3ec;

    display:flex;
    justify-content:center;
    align-items:center;

    color:#ff6b1a;

    font-size:28px;

    transition:.4s;

}

.section-heading:hover .section-icon{

    background:#ff6b1a;
    color:#fff;

    transform:rotateY(180deg);

}

.section-heading h3{

    font-size:28px;

    font-weight:700;

    color:#111;

}


/*=========================================
            SKILLS
=========================================*/

.member-skill{

    margin-bottom:60px;

}

.member-skill p{

    color:#666;

    line-height:1.9;

    margin-bottom:35px;

}


/*=========================================
        PROGRESS BAR
=========================================*/

.progress-item{

    margin-bottom:30px;

}

.progress-head{

    display:flex;

    justify-content:space-between;

    margin-bottom:12px;

}

.progress-head span{

    font-size:16px;

    color:#111;

    font-weight:600;

}

.progress-head strong{

    color:#ff6b1a;

    font-size:15px;

}

.progress{

    width:100%;

    height:8px;

    background:#ececec;

    border-radius:50px;

    overflow:hidden;

}

.progress-bar{

    width:0;

    height:100%;

    background:linear-gradient(90deg,#ff6b1a,#ff934c);

    border-radius:50px;

    transition:2s ease;

}

/*=========================================
        AREAS OF EXPERTISE
=========================================*/

.member-expertise{
    padding-top:10px;
    margin-bottom:60px;
}

.member-expertise p{
    color:#666;
    font-size:16px;
    line-height:1.9;
    margin-bottom:30px;
}

.expertise-box{
    position:relative;
    padding:28px 30px;
    background:#fafafa;
    border-left:4px solid #ff6b1a;
    margin-bottom:22px;
    transition:.4s ease;
}

.expertise-box:hover{
    background:#fff3ec;
    transform:translateX(10px);
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.expertise-box h4{
    font-size:22px;
    font-weight:700;
    color:#111;
    margin-bottom:12px;
}

.expertise-box p{
    margin:0;
    font-size:15px;
    line-height:1.8;
}


/*=========================================
        PREVIOUS / NEXT
=========================================*/

.member-navigation{
    display:flex;
    justify-content:space-between;
    gap:25px;
    margin-top:50px;
    padding-top:40px;
    border-top:1px solid #ececec;
}

.member-prev,
.member-next{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    text-decoration:none;
    color:#111;
    transition:.35s;
}

.member-prev:hover,
.member-next:hover{
    color:#ff6b1a;
}

.member-prev .arrow,
.member-next .arrow{
    width:58px;
    height:58px;
    border-radius:50%;
    background:#fff3ec;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#ff6b1a;
    font-size:20px;
    transition:.4s ease;
}

.member-prev:hover .arrow,
.member-next:hover .arrow{
    background:#ff6b1a;
    color:#fff;
    transform:rotate(360deg);
}

.member-navigation small{
    display:block;
    color:#888;
    font-size:14px;
    margin-bottom:6px;
}

.member-navigation h5{
    font-size:20px;
    font-weight:700;
    color:#111;
}


/*=========================================
        FLOATING ANIMATION
=========================================*/

.member-left{
    animation:memberFloat 5s ease-in-out infinite;
}

@keyframes memberFloat{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-12px);
    }

}


/*=========================================
        REVEAL ANIMATION
=========================================*/

.member-tag,
.member-name,
.member-desc,
.member-info,
.member-skill,
.member-expertise,
.member-navigation{
    opacity:1;
    transform:none;
    transition:.8s;
}

.js-enabled .member-tag,
.js-enabled .member-name,
.js-enabled .member-desc,
.js-enabled .member-info,
.js-enabled .member-skill,
.js-enabled .member-expertise,
.js-enabled .member-navigation{
    opacity:0;
    transform:translateY(50px);
}

.js-enabled .member-tag.active,
.js-enabled .member-name.active,
.js-enabled .member-desc.active,
.js-enabled .member-info.active,
.js-enabled .member-skill.active,
.js-enabled .member-expertise.active,
.js-enabled .member-navigation.active{
    opacity:1;
    transform:translateY(0);
}

.member-tag.active,
.member-name.active,
.member-desc.active,
.member-info.active,
.member-skill.active,
.member-expertise.active,
.member-navigation.active{
    opacity:1;
    transform:translateY(0);
}

.member-social a{
    opacity:0;
    transform:translateX(-40px);
    transition:.5s ease;
}

.member-social.active a{
    opacity:1;
    transform:translateX(0);
}

.member-social.active a:nth-child(1){transition-delay:.1s;}
.member-social.active a:nth-child(2){transition-delay:.2s;}
.member-social.active a:nth-child(3){transition-delay:.3s;}
.member-social.active a:nth-child(4){transition-delay:.4s;}
.member-social.active a:nth-child(5){transition-delay:.5s;}

/*=========================================================
        RESPONSIVE MEDIA QUERIES
=========================================================*/
 
/* -------- Large tablets / small laptops -------- */
@media (max-width:1200px){
 
    .member-container{
        width:90%;
        gap:50px;
        grid-template-columns:360px 1fr;
    }
 
    .member-name{
        font-size:40px;
    }
}
 
 
/* -------- Tablets (stack image on top, content below) -------- */
@media (max-width:991px){
 
    .member-details{
        padding:50px 0;
    }
 
    .member-container{
        grid-template-columns:1fr;
        gap:60px;
    }
 
    .member-left{
        max-width:430px;
        margin:0 auto;
        animation:none; /* avoid extra layout shift once stacked */
    }
 
    .member-image img{
        height:420px;
    }
 
    /* Move social icons from off-canvas left edge to sitting under the image */
    .member-social{
        position:static;
        transform:none;
        flex-direction:row;
        justify-content:center;
        margin-top:20px;
    }
 
    .member-social a{
        opacity:1;
        transform:none;
    }
 
    .member-social.active a{
        transition-delay:0s !important;
    }
 
    .member-name{
        font-size:36px;
    }
 
    .member-info{
        grid-template-columns:repeat(2,1fr);
    }
}
 
 
/* -------- Mobile phones -------- */
@media (max-width:576px){
 
    .member-details{
        padding:40px 10px;
    }
 
    .member-container{
        width:92%;
        gap:40px;
    }
 
    .member-image img{
        height:300px;
    }
 
    .member-tag{
        font-size:16px;
        padding:6px 14px;
    }
 
    .member-name{
        font-size:28px;
        margin-bottom:16px;
    }
 
    .member-desc{
        font-size:15px;
        line-height:1.8;
        margin-bottom:25px;
    }
 
    .member-info{
        grid-template-columns:1fr 1fr;
        gap:16px;
        margin-bottom:30px;
        padding-bottom:25px;
    }
 
    .info-box h5{
        font-size:16px;
    }
 
    .section-heading{
        gap:12px;
    }
 
    .section-icon{
        width:50px;
        height:50px;
        font-size:22px;
    }
 
    .section-heading h3{
        font-size:22px;
    }
 
    .member-skill{
        margin-bottom:40px;
    }
 
    .expertise-box{
        padding:20px 18px;
    }
 
    .expertise-box h4{
        font-size:18px;
    }
 
    .member-navigation{
        flex-direction:column;
        gap:20px;
        margin-top:35px;
        padding-top:30px;
    }
 
    .member-prev .arrow,
    .member-next .arrow{
        width:48px;
        height:48px;
        font-size:16px;
    }
 
    .member-navigation h5{
        font-size:17px;
    }
}
 
 
/* -------- Small phones -------- */
@media (max-width:380px){
 
    .member-image img{
        height:250px;
    }
 
    .member-name{
        font-size:24px;
    }
 
    .member-info{
        grid-template-columns:1fr;
    }
 
    .member-social a{
        width:40px;
        height:40px;
    }
}
 