/* ================= GLOBAL ================= */

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

body{
    font-family: 'Poppins', sans-serif;
    background: #f5f7ff;
}

/* ================= HEADER ================= */

.top-header{
    width: 100%;
    padding: 18px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg,#4568dc,#6a5acd);
}

.left-logo img,
.right-logo img{
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 15px;
}

.header-text{
    text-align: center;
    color: white;
}

.header-text h1{
    font-size: 38px;
    font-weight: 700;
}

.header-text p{
    margin-top: 6px;
    font-size: 17px;
}

/* ================= NAVBAR ================= */

.navbar{
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar a{
    text-decoration: none;
    color: #222;
    font-size: 17px;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.navbar a:hover,
.navbar .active{
    color: #4568dc;
}

/* UNDERLINE */

.navbar a::after{
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #4568dc;
    left: 0;
    bottom: -5px;
    transition: 0.4s;
}

.navbar a:hover::after{
    width: 100%;
}

/* ================= DROPDOWN ================= */

.dropdown{
    position: relative;
}

.dropdown-content{
    position: absolute;
    top: 35px;
    left: 0;
    width: 300px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: none;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.dropdown-content a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #222;
    padding: 18px 22px;
    border-bottom: 1px solid #ececec;
    transition: 0.3s;
}

.dropdown-content a:hover{
    background: #f3f6ff;
    color: #4568dc;
    padding-left: 28px;
}

.dropdown:hover .dropdown-content{
    display: block;
}

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

.team-title{
    text-align: center;
    padding: 70px 20px 40px;
}

.team-title h1{
    font-size: 55px;
    color: #222;
    margin-bottom: 15px;
}

.team-title p{
    font-size: 18px;
    color: #666;
}

/* ================= PEOPLE SECTION ================= */

.people-section{
    padding: 30px 70px 80px;
}

.people-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 35px;
}

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

.person-card{
    background: white;
    border-radius: 25px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.person-card:hover{
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

/* IMAGE */

.img-box{
    height: 340px;
    overflow: hidden;
}

.img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.person-card:hover img{
    transform: scale(1.06);
}

/* PERSON INFO */

.person-info{
    padding: 25px;
    text-align: center;
}

.person-info h3{
    font-size: 26px;
    color: #222;
    margin-bottom: 10px;
}

.person-info span{
    color: #4568dc;
    font-size: 17px;
    font-weight: 500;
}

/* ================= FOOTER ================= */

.footer{
    background: #4568dc;
    color: white;
    text-align: center;
    padding: 22px;
    font-size: 16px;
}

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

@media(max-width:768px){

    .top-header{
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .header-text h1{
        font-size: 28px;
    }

    .navbar{
        flex-wrap: wrap;
        gap: 20px;
    }

    .team-title h1{
        font-size: 38px;
    }

    .people-section{
        padding: 40px 20px;
    }

}