
*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#07101f;

    color:#fff;

    overflow-x:hidden;

}
:root{

    --primary:#d9a441;
    --primary-light:#ffd978;

    --white:#ffffff;

    --text:#1b1b1b;

    --gray:#65728c;

    --bg:#07101f;

}
/* .team-section{

    position:relative;

    overflow:hidden;

    padding:50px;
    background:
        radial-gradient(circle at 15% 20%, rgba(28,58,98,.35), transparent 35%),
        radial-gradient(circle at 90% 10%, rgba(12,27,48,.55), transparent 45%),
        linear-gradient(135deg,#07111f,#091728,#050b15);

} */
.team-section{
    min-height:100vh;
    height:100vh;
    padding:25px 40px;
    display:flex;
    align-items:center;
}
.container{

    width:min(1400px,100%);

    margin:auto;

    padding-inline:30px;

    position:relative;

    z-index:10;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.subtitle{

    display:inline-flex;

    align-items:center;

    gap:18px;

    color:var(--primary);

    font-size:18px;

    letter-spacing:5px;

    font-weight:700;

    margin-bottom:18px;

}

.subtitle::before,
.subtitle::after{

    content:"";

    width:45px;

    height:2px;

    background:var(--primary);

}

.section-title h2{

    font-size:clamp(32px,4vw,40 px);

    font-weight:800;

    line-height:1.1;

    color:#fff;

    max-width:1300px;

    margin:auto;

}

.section-title h2 span{

    color:var(--primary);

}
.title-divider{

    margin-top:28px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

}

.title-divider span{

    width:90px;

    height:2px;

    background:var(--primary);

}

.title-divider i{

    color:var(--primary);

    font-size:14px;

}
.team-grid{

    display:grid;

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

    gap:30px;

    align-items:stretch;

}

.bg-circle{

    position:absolute;

    border-radius:50%;

    border:1px solid rgba(217,164,65,.15);

}

.team-card{

    position:relative;

    background:#ffffff;

    border-radius:22px;

    overflow:visible;

    padding-top:105px;

    text-align:center;

    display:flex;

    flex-direction:column;
    height:100%;

    min-height:520px;

    box-shadow:
        0 30px 70px rgba(0,0,0,.30);

    transition:
        transform .4s ease,
        box-shadow .4s ease;

}

.team-card:hover{

    transform:translateY(-12px);

    box-shadow:
        0 40px 80px rgba(0,0,0,.40);

}


/* Gold top line */

.team-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:5px;

    background:linear-gradient(
        90deg,
        transparent,
        #D9A441,
        #FFD978,
        #D9A441,
        transparent
    );

    border-radius:22px 22px 0 0;

}
.profile-wrapper{

    position:absolute;

    left:50%;

    top:-60px;

    transform:translateX(-50%);

    width:170px;

    height:170px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        #FFD978,
        #D9A441
    );

    padding:6px;

    box-shadow:
        0 20px 45px rgba(0,0,0,.30);

    z-index:20;

}

.profile-wrapper img{

    width:100%;

    height:100%;

    border-radius:50%;

    object-fit:cover;

    border:6px solid #fff;

    display:block;

    transition:.45s;

}

.team-card:hover .profile-wrapper img{

    transform:scale(1.08);

}

.card-body{

    display:flex;
    flex:1;

    flex-direction:column;

    height:100%;

    padding:22px;

}
.card-body h3{

    font-size:28px;

    font-weight:700;

    color:#161616;

    margin-bottom:15px;

    line-height:1.2;

}
.card-body h4{

    font-size:17px;

    font-weight:500;

    color:#65728C;

    line-height:1.5;

    min-height:45px;

}

.card-divider{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    margin:18px 0;

}

.card-divider span{

    width:55px;

    height:2px;

    background:#D9A441;

}

.card-divider i{

    font-size:8px;

    color:#D9A441;

}

.card-body p{

    color:#505050;

    line-height:1.6;

    font-size:15px;

    flex:1;

}

.social-icons{

    display:flex;

    justify-content:center;

    gap:12px;

    margin-top:20px;

}

.social-icons a{

    width:44px;

    height:44px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    border:2px solid #D9A441;

    color:#C58B1A;

    font-size:17px;

    transition:.35s;

}

.social-icons a:hover{

    background:#D9A441;

    color:#fff;

    transform:translateY(-6px);

}



/* =====================================================
   HOVER
===================================================== */

.team-card:hover h3{

    color:#D9A441;

}



/* ==========================================
   ANIMATIONS
========================================== */

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(50px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes float{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-20px);
    }
}

@keyframes pulse{
    0%{
        transform:scale(1);
        opacity:.4;
    }
    100%{
        transform:scale(1.08);
        opacity:0;
    }
}


/* ==========================================
   CARD ANIMATION
========================================== */

.team-card{

    animation:fadeUp .8s ease forwards;

}

.team-card:nth-child(2){

    animation-delay:.2s;

}

.team-card:nth-child(3){

    animation-delay:.4s;

}



/* ==========================================
   PROFILE EFFECT
========================================== */

.profile-wrapper::after{

    content:"";

    position:absolute;

    inset:-10px;

    border-radius:50%;

    border:2px solid rgba(217,164,65,.25);

    animation:pulse 3s infinite;

}

.team-card{

    overflow:visible;

}

.social-icons a{

    position:relative;

    overflow:hidden;

}

.social-icons a::before{

    content:"";

    position:absolute;

    width:100%;

    height:100%;

    background:rgba(255,255,255,.15);

    left:-100%;

    top:0;

    transition:.4s;

}

.social-icons a:hover::before{

    left:0;

}

@media (max-width:1200px){

.team-grid{

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

}

}

@media (max-width:850px){

.team-grid{

grid-template-columns:1fr;

gap:100px;

}

.section-title{

margin-bottom:90px;

}

.team-card{

min-height:auto;

padding-top:130px;

}

.profile-wrapper{

width:200px;

height:200px;

top:-70px;

}

.card-body{

padding:25px 25px 35px;

}

.card-body h3{

font-size:30px;

}

.card-body h4{

font-size:18px;

min-height:auto;

}

.card-body p{

font-size:15px;

line-height:1.8;

}

}

@media (max-width:576px){

.team-section{

padding:80px 15px 100px;

}

.container{

padding-inline:10px;

}

.subtitle{

font-size:14px;

letter-spacing:3px;

}

.subtitle::before,
.subtitle::after{

width:25px;

}

.section-title h2{

font-size:34px;

line-height:1.25;

}

.title-divider span{

width:45px;

}

.profile-wrapper{

width:170px;

height:170px;

}

.social-icons{

gap:12px;

}

.social-icons a{

width:46px;

height:46px;

font-size:17px;

}

}