/* ========== Base Styles ========== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f9fa;
  color: #333;
}

/* ========== Header & Navigation ========== */
header {
  background: #004080;
  color: white;
  padding: 20px 10px 10px;
  text-align: center;
  position: relative;
}

header img.logo {
  position: absolute;
  top: 10px;
  left: 20px;
  width: 40px; /* resized from 60px */
  height: auto;
}

header h1 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 0 0;
  gap: 25px;
  margin: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

nav ul li a:hover {
  color: #ffcc00;
}

/* ========== Hero Section ========== */
.hero {
  text-align: center;
  background: linear-gradient(to right, #007bff, #004080);
  color: white;
  padding: 60px 20px;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
}

.hero .btn {
  background: #ffcc00;
  color: #004080;
  font-weight: bold;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.hero .btn:hover {
  background: #ffe066;
}

/* ========== Page Content ========== */
.page-content {
  padding: 40px 20px;
  background: white;
  margin: 20px auto;
  max-width: 1200px;
  text-align: center;
}

/* ========== Features Section ========== */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
}

.features div {
  flex: 1 1 250px;
  margin: 15px;
}

/* ========== Service List ========== */
.service-list {
  list-style-type: none;
  padding: 0;
  text-align: left;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* ========== Forms ========== */
form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

form input, form select, form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  background-color: #004080;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

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

/* ========== Responsive Image Slider ========== */
.slider-container {
  width: 90%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  background: #ddd;
}

.slider {
  display: flex;
  width: 300%;
  height: 100%;
  animation: slide 15s infinite;
}

.slider img {
  width: 100%;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

@keyframes slide {
  0%, 100% { transform: translateX(0); }
  33% { transform: translateX(-100%); }
  66% { transform: translateX(-200%); }
}

/* ========== Footer ========== */
footer {
  background: #004080;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

/* ========== Map Container ========== */
.map-container {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}

/* ========== Responsive Adjustments ========== */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.2rem;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .features {
    flex-direction: column;
    padding: 20px;
  }

  .slider-container {
    aspect-ratio: 4 / 3;
  }
}
