/* ======================================
   OUR TEAM SECTION
====================================== */

.team-section{

    padding:120px 0;

    background:#F3F3F3;

}

.team-container{

    width:1200px;

    max-width:90%;

    margin:auto;

}

/* ======================================
   TITLE
====================================== */

.team-title{

    color:#10131B;

    font-size:72px;

    font-weight:800;

    line-height:1;

    margin:0;

}

.team-line{

    width:35%;

    height:1px;

    background:#202020;

    opacity:.45;

    margin:28px 0 58px;

}

/* ======================================
   GRID SLIDER
====================================== */

.team-slider{

    overflow:hidden;

    width:100%;

    position:relative;

}

.team-track{

    display:flex;

    gap:36px;

    width:max-content;

    animation:teamLoop 22s linear infinite;

}

.team-slider:hover .team-track{

    animation-play-state:paused;

}

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

.team-card{

    width:260px;

    text-align:center;

}

/* ======================================
   PHOTO
====================================== */

.team-photo{

    position:relative;

    width:100%;

    height:340px;

    overflow:hidden;

    border-radius:34px;

    background:#2C2C2C;

    transition:.45s ease;

}

.team-photo img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

    transition:.45s ease;

}

/* ======================================
   ROLE
====================================== */

.team-role{

    position:absolute;

    left:24px;

    bottom:24px;

    writing-mode:vertical-rl;

    transform:rotate(180deg);

    color:#fff;

    font-size:18px;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    z-index:2;

}

/* ======================================
   NAME
====================================== */

.team-name{

    margin-top:18px;

    color:#10131B;

    font-size:24px;

    font-weight:700;

    text-transform:uppercase;

}

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

.team-card:hover .team-photo{

    transform:translateY(-8px);

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

}

.team-card:hover img{

    transform:scale(1.05);

}

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

/* Laptop Besar */
@media (max-width:1400px){

    .team-container{

        width:1100px;

    }

    .team-title{

        font-size:64px;

    }

    .team-card{

        width:240px;

    }

    .team-photo{

        height:320px;

    }

}


/* Laptop */
@media (max-width:1200px){

    .team-container{

        width:92%;

    }

    .team-title{

        font-size:58px;

    }

    .team-line{

        width:45%;

    }

    .team-track{

        gap:28px;

    }

    .team-card{

        width:220px;

    }

    .team-photo{

        height:300px;

    }

    .team-name{

        font-size:22px;

    }

    .team-role{

        font-size:16px;

        left:20px;

        bottom:20px;

    }

}


/* Tablet */
@media (max-width:992px){

    .team-section{

        padding:100px 0;

    }

    .team-title{

        font-size:48px;

    }

    .team-line{

        width:60%;

        margin:22px 0 45px;

    }

    .team-track{

        gap:24px;

    }

    .team-card{

        width:210px;

    }

    .team-photo{

        height:280px;

    }

    .team-name{

        font-size:20px;

    }

}


/* Mobile */
@media (max-width:768px){

    .team-section{

        padding:80px 0;

    }

    .team-container{

        width:90%;

    }

    .team-title{

        font-size:34px;

    }

    .team-line{

        width:100%;

        margin:18px 0 35px;

    }

    .team-track{

        gap:18px;

    }

    .team-card{

        width:170px;

        flex-shrink:0;

    }

    .team-photo{

        height:230px;

        border-radius:22px;

    }

    .team-role{

        left:14px;

        bottom:14px;

        font-size:12px;

    }

    .team-name{

        margin-top:14px;

        font-size:16px;

    }

}


/* Small Mobile */
@media (max-width:480px){

    .team-title{

        font-size:28px;

    }

    .team-card{

        width:150px;

    }

    .team-photo{

        height:200px;

        border-radius:18px;

    }

    .team-role{

        font-size:11px;

    }

    .team-name{

        font-size:15px;

    }

}


/* iPhone SE */
@media (max-width:380px){

    .team-title{

        font-size:24px;

    }

    .team-card{

        width:140px;

    }

    .team-photo{

        height:185px;

    }

    .team-name{

        font-size:14px;

    }

    .team-role{

        font-size:10px;

    }

}

/* ======================================
   TEAM LOOP ANIMATION
====================================== */

@keyframes teamLoop{

    from{

        transform:translateX(-50%);

    }

    to{

        transform:translateX(0);

    }

}