/* ===========================
   Core Reset & Base
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-image: url('../assets/images/BG.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Optional parallax */
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

/* ==============================
   Navbar
================================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgb(19, 19, 19);
  box-shadow: 10px 0 10px black;
  padding: 20px 40px;
  color: white;
  position: relative;
  z-index: 2000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  animation: rainbowText 7s linear infinite;
}

.navbar .active {
  color: #00c9c8;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #00c9c8;
}

/* ==============================
   Hamburger Menu
================================= */
.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  position: relative;
  z-index: 2001;
  padding: 6px 8px;
}

/* Mobile: show burger and provide slide-down menu */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgb(19, 19, 19);
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 0;
    z-index: 1999;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
  }

  .nav-links.open {
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
    padding: 18px 0;
  }

  .nav-links li a {
    padding: 8px 12px;
    display: inline-block;
  }
}

/* ==============================
   TEAM LAYOUT
================================= */

.main{
width:100%;
display:flex;
justify-content:center;
align-items:center;
gap:60px;
padding:80px 40px;
flex-wrap:wrap;
}

/* MEMBER CARD */

.member{
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
width:250px;
}

/* PROFILE IMAGE */

.profile-img{
width:160px;
height:160px;
border-radius:50%;
object-fit:cover;
border:4px solid #00c9c8;
margin-bottom:20px;
}

/* NAME */

.details h2{
color:white;
font-size:1.4rem;
letter-spacing:1px;
margin-bottom:6px;
}

/* POSITION */

.details p{
color:#b5b5b5;
font-size:0.9rem;
margin-bottom:15px;
}

/* SOCIAL ICONS */

.socials{
display:flex;
gap:18px;
}

.socials a{
color:white;
font-size:18px;
transition:0.3s;
}

.socials a:hover{
color:#00c9c8;
transform:scale(1.2);
}

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

@media(max-width:900px){

.main{
gap:40px;
}

}

@media(max-width:600px){

.main{
flex-direction:column;
}

}