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

/* Body Styling */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

/* Header and Navigation */
header {
  background-color: #003366;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Base nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
  background-color: #003366;
  color: white;
  position: relative;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

nav .nav-links {
  list-style: none;
  display: flex; /* desktop layout */
  gap: 20px;
}

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

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav .nav-links {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #003366;
    overflow: hidden;
    max-height: 0; /* hidden by default */
    transition: max-height 0.3s ease;
    z-index: 999;
  }

  nav .nav-links.active {
    max-height: 500px; /* enough to show menu items */
  }

  nav .nav-links li {
    padding: 10px 20px;
  }

  nav .nav-links li a {
    display: block;
  }
}

/* Hero Section */
.hero {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 4rem 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero .cta-button {
  background-color: #ffcc00;
  color: #003366;
  padding: 0.75rem 2rem;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.hero .cta-button:hover {
  background-color: #e6b800;
}

/* Content Sections */
.content-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 20px;
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #003366;
}

.content-section p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* Team Section */
.team {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 20px;
  text-align: center;
}

.team h2 {
  color: #003366;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.team-intro {
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.team-member {
  background-color: white;
  border-radius: 10px;
  padding: 1rem;
  width: 250px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-member img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.team-member h3 {
  color: #003366;
  margin-bottom: 0.5rem;
}

.team-member p {
  font-size: 0.95rem;
  color: #555;
}

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

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  padding: 0.75rem;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #002244;
}

/* Footer */
footer {
  background-color: #003366;
  color: #ffffff;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
  font-size: 0.95rem;
}

footer .footer-links {
  margin-bottom: 8px;
}

footer .footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s;
}

footer .footer-links a:hover {
  color: #f7d200;
}

footer p {
  color: #ffffff;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.3px;
}


.hamburger.active span:nth-child(1) {
  /* Rotate the top bar and move it to the center */
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  /* Hide the middle bar */
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  /* Rotate the bottom bar and move it to the center */
  transform: translateY(-8px) rotate(-45deg);
}