body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #003366;
}

/* Header/Nav styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #003366;
  color: white;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1000;
}

.navbar .logo {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.hamburger {
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #003366;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 1rem 0;
  z-index: 999;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  padding: 1rem;
  border-top: 1px solid #FFC000;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu.show {
    display: flex;
  }
}


.logo {
  max-width: 120px;
  margin: 10px;
}

.hero {
  color: white;
  text-align: center;
  padding: 1rem 1rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(-45deg, #003366, #FFC000, #CC3300, #003366);
  background-size: 400% 400%;
  animation: gradientFlow 45s ease infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.carousel {
  width: 100%;
  height: 450px;
  position: relative;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
}

.caption h2 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  color: #FFC000;
}

.caption p {
  margin: 0;
  font-size: 1.1rem;
}


.services {
  padding: 2rem;
  text-align: center;
  background-color: #f9f9f9;
}

.service-cards {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.card {
  background: white;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 30%;
  margin: 1rem 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.card img {
  max-width: 150px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 12px;
  object-fit: contain;
}


.card a {
  color: #FFC000;
  text-decoration: none;
}

.light-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #f5f5f5; /* Light grey body */
  color: #333;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 20px;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.light-table th,
.light-table td {
  padding: 14px 20px;
  text-align: left;
  border: 1px solid #fff; /* White borders */
}

.light-table thead {
  background-color: #003366; /* Brand blue */
}

.light-table thead th {
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}

.light-table tbody tr {
  transition: background-color 0.2s ease;
}

.light-table tbody tr:hover {
  background-color: #eaeaea;
}

.light-table a {
  color: #FFC000; /* Gold for links */
  font-weight: 600;
  text-decoration: none;
}

.light-table a:hover {
  text-decoration: underline;
}


footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 1rem;
}

footer nav a {
  margin: 0 1rem;
  color: #FFC000;
  text-decoration: none;
}


/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .caption {
    max-width: 90%;
    padding: 1rem;
  }

  .caption h2 {
    font-size: 1.3rem;
  }

  .caption p {
    font-size: 0.95rem;
  }

  .services {
    flex-direction: column;
    align-items: center;
  }
  
    .card {
    width: 100%;
  }

  .services .service {
    width: 90%;
    margin-bottom: 1.5rem;
  }

  .training-table {
    width: 100%;
    overflow-x: auto;
  }

  .training-table table {
    width: 100%;
    width: 600px; /* Keep a fixed width so horizontal scroll works */
    border-collapse: separate;
  }

  footer {
    font-size: 0.9rem;
    padding: 1rem;
  }
}
