/* RESET AND BASE SETUP */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f9fc;
  color: #222;
}

/* ===== HEADER / TOP NAVIGATION ===== */
header {
  background-color: #083d77;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* LOGO TEXT */
.logo {
  font-size: 24px;
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 1px;
}

/* NAVIGATION LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 4px; /* Reduced gap between navigation links */
}

.nav-links li {
  display: inline-block;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #ffc107;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #ffc107;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Page Title */
.page-title {
  text-align: center;
  margin: 40px 0 10px;
  font-size: 36px;
  color: #004466;
}

.intro {
  text-align: center;
  font-size: 18px;
  color: #444;
  margin-bottom: 40px;
}

/* Services Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 50px 60px;
}

.service-card {
  background-color: #ffffff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 320px;
  text-align: center;
}

.service-card h2 {
  color: #004466;
  margin-bottom: 15px;
  font-size: 22px;
}

.service-card p {
  color: #555;
  font-size: 16px;
  margin-bottom: auto;
  line-height: 1.5;
  flex-grow: 1;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* EXPLORE BUTTON */
.explore-btn {
  display: inline-block;
  background-color: #083d77;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s;
  margin-top: auto;
}

.explore-btn:hover {
  background-color: #005acc;
}

/* Animation */
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
