/* General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Navbar */
header {
  background: #003366;
  padding: 15px 0;
  position: fixed;        /* make it stay at top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;          /* ensure it stays above slider */
}

/* Add margin to content so it doesn’t go under fixed navbar */
body {
  color: #222;
  background: #fff;
  margin-top: 80px;       /* height of navbar (adjust if needed) */
}

.navbar {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 45px;
  height: 45px;
}

.logo span {
  color: #ffcc00;
  font-size: 1.4rem;
  font-weight: 700;
}

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

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

.nav-links a:hover {
  color: #ffcc00;
}

/* Menu Icon (for mobile) */
.menu-icon {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Slider */
.slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slides img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slides img.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px 50px;
  border-radius: 15px;
}

.overlay h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.overlay p {
  font-size: 1.1rem;
  margin-top: 10px;
  font-weight: 500;
}

/* Sections */
section {
  padding: 80px 20px;
  text-align: center;
}

.details, .about {
  background: #f8f8f8;
}

h2 {
  color: #003366;
  margin-bottom: 20px;
  font-weight: 800;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 900px;
  margin: auto;
}

/* Team */
.team-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.team-member {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.team-member h3 {
  margin: 10px 0 5px;
  color: #003366;
  font-weight: 700;
}

/* Footer */
footer {
  background: #003366;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

footer h3 {
  color: #ffcc00;
  font-weight: 700;
  margin-bottom: 10px;
}

footer p {
  font-weight: 500;
}

footer .copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #003366;
    width: 100%;
    text-align: center;
    flex-direction: column;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .overlay h1 {
    font-size: 1.8rem;
  }

  .overlay p {
    font-size: 1rem;
  }

  section {
    padding: 60px 15px;
  }

  p {
    font-size: 0.95rem;
  }
}
