/* ======================================
TEAM HERO SECTION
====================================== */

.team-founder-section{
    background:linear-gradient(
        135deg,
        #021660 0%,
        #03257f 100%
    );
    padding:30px 0 0;
    position:relative;
}

.founder{
    padding:50px 0;
}

/*.team-hero{*/
/*    display:grid;*/
/*    grid-template-columns:1.4fr 1fr;*/
/*    gap:50px;*/
/*    color:#fff;*/
/*}*/

.team-hero{
    display:grid;
    grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);
    gap:50px;
    align-items:center;
    color:#fff;
}

.team-badge{
    display:inline-block;
    background:#0B5FFF;
    padding:10px 20px;
    border-radius:50px;
    font-size:13px;
    font-weight:700;
    margin-bottom:25px;
}

.team-hero h1{
    font-size:46px;
    line-height:1.1;
    font-weight:800;
    margin-bottom:20px;
}

.team-hero h1 span{
    display:block;
    color:#ff7f22;
}

.team-hero p{
    font-size:20px;
    line-height:1.9;
    color:#d8e2ff;
}

.hero-line{
    width:70px;
    height:4px;
    background:#ff7f22;
    margin:20px 0;
}

.team-hero-image{
    text-align:center;
}

.team-hero-image img{
    width:100%;
    max-width:450px;
}

/* ======================================
FOUNDER SECTION
====================================== */

.founder-section{
    display:grid;
    /*grid-template-columns:50% 50%;*/
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.founder-left{
    background:linear-gradient(
        135deg,
        #07297d 0%,
        #0b3aa6 100%
    );
    padding:25px;
    display:flex;
    gap:25px;
    align-items:flex-start;
}

.founder-image{
    flex-shrink:0;
}

.founder-image img{
    width:200px;
    height:260px;
    object-fit:cover;
    border-radius:10px;
    border:3px solid rgba(255,255,255,.25);
}

.founder-content{
    flex:1;
}

.founder-content h2{
    font-size:30px;
    line-height:1.2;
    color:#fff;
    margin-bottom:8px;
}

.designation{
    color:#ff7f22;
    font-size:20px;
    font-weight:700;
}

.orange-line{
    width:60px;
    height:3px;
    background:#ff7f22;
    margin:10px 0;
}

.founder-content p{
    color:#d8e2ff;
    line-height:1.9;
    font-size:16px;
}

.linkedin-btn{
    width:45px;
    height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    color:#0B5FFF;
    border-radius:10px;
    margin-top:20px;
    text-decoration:none;
    transition:.3s;
}

.linkedin-btn:hover{
    background:#0B5FFF;
    color:#fff;
}

.founder-right{
    padding:25px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    align-content:center;
}

.value-card{
    display:flex;
    align-items:flex-start;
    /*align-items: center;*/
    gap:18px;
}

.value-card .icon{
    width:60px;
    height:60px;
    min-width:60px;
    border-radius:50%;
    background:#f4f7ff;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0B5FFF;
    font-size:24px;
}

.value-card h4{
    color:#071C63;
    margin-bottom:6px;
    font-size:18px;
}

.value-card p{
    color:#667085;
    line-height:1.6;
    font-size:14px;
}

/* ======================================
CORE TEAM
====================================== */

.core-team-section{
    background:#fff;
    padding:50px 0;
}

.team-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.team-card{
    background:#fff;
    padding:18px;
    border-radius:18px;
    text-align:center;
    height:100%;
    display:flex;
    flex-direction:column;
    border:1px solid #edf2f7;
    transition:.3s;
}

.team-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.team-card img{
    width:100%;
    /*height:260px;*/
    max-height:380px;
    height:auto;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:15px;
}

.team-card h4{
    color:#071C63;
    font-size:20px;
    margin-bottom:6px;
}

.team-card span{
    display:block;
    color:#667085;
    font-size:14px;
    line-height:1.6;
}

.team-card a{
    width:38px;
    height:38px;
    margin:15px auto 0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f3f6fb;
    border-radius:8px;
    color:#0B5FFF;
}

/* ======================================
4K / ULTRA WIDE
====================================== */


/* 3840px (4K) */
@media (min-width:3000px){
    .team-founder-section{padding:120px 0 0;}

    .team-hero{
        gap:120px;
    }

    .team-hero h1{font-size:80px;}
    .team-hero p{
        font-size:24px;
        max-width:1100px;
    }

    .team-badge{
        font-size:18px;
        padding:14px 30px;
    }

    .team-hero-image img{
        max-width:700px;
    }

    .founder-image img{
        width:320px;
        height:420px;
    }

    .founder-content h2{
        font-size:54px;
    }

    .designation{
        font-size:30px;
    }

    .founder-content p{
        font-size:22px;
    }

    .value-card h4{
        font-size:28px;
    }

    .value-card p{
        font-size:18px;
    }

    .team-card h4{
        font-size:28px;
    }

    .team-card span{
        font-size:18px;
    }
}

@media (min-width:2200px) and (max-width:2999px){

    .team-hero h1{
        font-size:64px;
    }

    .team-hero p{
        font-size:22px;
    }

    .team-hero-image img{
        max-width:600px;
    }

    .founder-image img{
        width:280px;
        height:360px;
    }

    .founder-content h2{
        font-size:42px;
    }

    .designation{
        font-size:24px;
    }

    .founder-content p{
        font-size:20px;
    }

    .team-card h4{
        font-size:24px;
    }
}


@media (min-width:1600px) and (max-width:2199px){

    .team-hero h1{
        font-size:54px;
    }

    .team-hero p{
        font-size:20px;
    }
}


@media (max-width:1440px){

    .team-hero h1{
        font-size:42px;
    }

    .team-grid{
        grid-template-columns:repeat(4,1fr);
    }
}

/* ======================================
LARGE LAPTOP
====================================== */

@media(max-width:1400px){

    .team-hero{
        gap:40px;
    }

    .team-hero h1{
        font-size:42px;
    }

    .founder-content h2{
        font-size:28px;
    }
}

@media (max-width:1366px){

    .team-hero h1{
        font-size:40px;
    }

    .team-hero p{
        font-size:18px;
    }
}


@media (max-width:1280px){

    .team-hero{
        gap:35px;
    }

    .founder-right{
        gap:15px;
    }
}

/* ======================================
LAPTOP
====================================== */

@media(max-width:1199px){

    .team-founder-section{
        padding:50px 0 ;
    }

    .founder{
        /*margin-top:-150px;*/
    }

    .team-hero{
        grid-template-columns:1fr;
        text-align:center;
        gap:40px;
    }

    .hero-line{
        margin:25px auto;
    }

    .team-hero-image img{
        max-width:400px;
        margin:auto;
    }

    .founder-section{
        grid-template-columns:1fr;
    }

    .founder-right{
        grid-template-columns:repeat(2,1fr);
    }

    .team-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

/* ======================================
TABLET
====================================== */

@media (max-width:1024px){

    .team-hero{
        grid-template-columns:1fr;
        text-align:center;
    }

    .hero-line{
        margin:20px auto;
    }

    .team-hero-image img{
        margin:auto;
    }

    .founder-section{
        grid-template-columns:1fr;
    }

    .team-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:991px){

    .team-hero h1{
        font-size:40px;
    }

    .team-hero p{
        font-size:18px;
    }

    .founder-left{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .orange-line{
        margin:15px auto;
    }

    .linkedin-btn{
        margin:20px auto 0;
    }

    .founder-right{
        grid-template-columns:1fr;
    }

    .team-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

/* ======================================
MOBILE
====================================== */

@media(max-width:768px){

    .team-founder-section{
        padding:50px 0;
    }

    .founder{
        /*margin-top:-60px;*/
    }

    .team-hero{
        gap:25px;
    }

    .team-hero h1{
        font-size:32px;
    }

    .team-hero p{
        font-size:16px;
    }

    .team-badge{
        font-size:12px;
    }

    .founder-left{
        padding:20px;
    }

    .founder-image img{
        width:100%;
        max-width:240px;
        height:auto;
    }

    .founder-content h2{
        font-size:24px;
    }

    .founder-content p{
        font-size:14px;
    }

    .founder-right{
        padding:20px;
        gap:15px;
    }

    .value-card{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .team-grid{
        grid-template-columns:1fr;
    }

    .team-card img{
        height:auto;
        max-height:380px;
    }
}


@media (max-width:576px){

    .team-grid{
        grid-template-columns:1fr;
    }

    .founder-content h2{
        font-size:24px;
    }

    .founder-content p{
        font-size:14px;
    }
}


/* ======================================
SMALL MOBILE
====================================== */

@media(max-width:480px){

    .team-founder-section{
        padding:40px 0;
    }

    .team-hero h1{
        font-size:26px;
    }

    .team-hero p{
        font-size:14px;
    }

    .founder-content h2{
        font-size:22px;
    }

    .designation{
        font-size:16px;
    }

    .value-card h4{
        font-size:16px;
    }

    .value-card p{
        font-size:13px;
    }

    .team-card{
        padding:15px;
    }

    .team-card h4{
        font-size:18px;
    }

    .team-card span{
        font-size:13px;
    }
}

@media (max-width:375px){

    .team-hero h1{
        font-size:22px;
    }

    .founder-content h2{
        font-size:20px;
    }
}

@media (max-width:320px){

    .team-hero h1{
        font-size:20px;
    }

    .team-hero p{
        font-size:13px;
    }

    .team-card{
        padding:12px;
    }

    .team-card h4{
        font-size:16px;
    }

    .team-card span{
        font-size:12px;
    }
}

/* ======================================
OVERFLOW FIX
====================================== */

.team-founder-section,
.founder,
.core-team-section{
    overflow:hidden;
}

.founder-left,
.founder-right,
.founder-content{
    min-width:0;
}

.team-hero,
.founder-section,
.team-grid{
    width:100%;
}

.founder-image img,
.team-card img{
    max-width:100%;
}

.founder-content,
.value-card,
.team-card{
    overflow-wrap:break-word;
}

.value-card .icon,
.linkedin-btn{
    flex-shrink:0;
}