body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  scroll-behavior: smooth;
  color: #2c3e50;
}

/* NAVBAR */
header {
  background: #0b1f3a;
  padding: 15px 60px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-container img {
  height: 42px;
}

.logo-text {
  color: white;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* NAV LINKS */
nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
}

/* underline animation */
nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #4da3ff;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* HERO */
#home {
  height: 90vh;
  background:
    linear-gradient(rgba(11, 31, 58, 0.75), rgba(11, 31, 58, 0.85)),
    url("./hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.hero h1 {
  font-size: 44px;
  max-width: 900px;
  font-weight: 600;
}
.hero p {
  font-size: 18px;
  margin-top: 15px;
  opacity: 0.95;
}

/* SECTIONS */
section {
  padding: 80px 10%;
}

/* alternate background for readability */
section:nth-child(even) {
  background: #f7f9fc;
}

h2 {
  margin-bottom: 20px;
  font-size: 28px;
  color: #0b1f3a;
}

/* TEXT */
p,
li {
  line-height: 1.7;
  max-width: 900px;
}

/* LIST */
ol {
  padding-left: 20px;
}

/* CARDS */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 220px;
  background: white;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  font-weight: 500;
}

.card:hover {
  transform: translateY(-6px);
}

/* TEAM LIST */
#team ul {
  list-style: none;
  padding: 0;
}

#team li {
  background: #ffffff;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-left: 4px solid #1e4f8a;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

/* TIMELINE */
.timeline {
  text-align: center;
  background: #f7f9fc;
  padding: 100px 20px;
}

.timeline h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.timeline p {
  display: inline-block;
  background: white;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  color: #0b1f3a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FOOTER */
footer {
  background: #0b1f3a;
  color: white;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 30px 20px;
  width: 100%;
}

footer p {
  margin: 0;
  width: 100%;
}

/* MOBILE */
@media (max-width: 768px) {
  header {
    padding: 15px;
  }

  nav {
    flex-direction: column;
    gap: 10px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero h1 {
    font-size: 28px;
  }

  section {
    padding: 60px 20px;
  }
}
