@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:'Poppins',sans-serif;
    color:white;
    min-height:100vh;
    background:linear-gradient(135deg,#5B86E5,#36D1DC);
}
main{
    width:min(1300px,90%);
    margin:auto;
    min-height:100vh;
}

.top-bar{
    display:flex;
    justify-content:flex-start;
    align-items:center;
    padding:30px 0;
}

.top-bar h2{
    font-size:2rem;
    font-weight:700;
    letter-spacing:1px;
}

.content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
    min-height:80vh;
}

.hero{
    flex:1;
    text-align:left;
}

.hero h1{
    font-size:4rem;
    font-weight:700;
    margin-bottom:20px;
}

.subtitle{
    font-size:1.3rem;
    margin-bottom:20px;
    color:#d9d9d9;
}

.description{
    max-width:500px;
    line-height:1.9;
    color:#cfcfcf;
    margin-bottom:35px;
}

.team-grid{
    flex:1;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
    justify-items:center;
}

.member-card{
    cursor:pointer;
    text-align:center;
    transition:.35s ease;
    outline:none;
}

.member-card:hover{
    transform:translateY(-8px);
}

.member-card.active img{
    border-color:#4fc3f7;
    box-shadow:0 0 20px rgba(79,195,247,.6);
}

.member-card img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
}

.member-card:hover img{
    transform:scale(1.08);
    border-color:#ffd54f;
    box-shadow:
    0 15px 35px rgba(0,0,0,.35);
}

.member-card h3{
    margin-top:18px;
    font-size:1rem;
    font-weight:600;
    color:white;
}

footer{
    margin-top:80px;
    text-align:center;
    color:#dddddd;
    font-size:.95rem;
}

.member-card{
    opacity:0;
    transform:translateY(40px);
    animation:fadeUp .7s forwards;
}
.member-card:nth-child(1){animation-delay:.1s;}
.member-card:nth-child(2){animation-delay:.2s;}
.member-card:nth-child(3){animation-delay:.3s;}
.member-card:nth-child(4){animation-delay:.4s;}
.member-card:nth-child(5){animation-delay:.5s;}
.member-card:nth-child(6){animation-delay:.6s;}
.member-card:nth-child(7){animation-delay:.7s;}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@media(max-width:900px){
.content{
    flex-direction:column;
    text-align:center;
    gap:60px;
}
.hero{
    text-align:center;
}
.description{
    margin:auto;
    margin-bottom:30px;
}
.team-grid{
    grid-template-columns:repeat(2,1fr);
}
}
@media(max-width:500px){
.team-grid{
    grid-template-columns:1fr;
}
.hero h1{
    font-size:2.4rem;
}
}