/* General page setup */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  color: #333;
}

/* Header with gradient background */
header {
  background: linear-gradient(to bottom, #b9dcff, #0066cc);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.logo {
  width: 100px;
  height: auto;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Navigation bar */
nav {
  background: #004c99;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0.7rem 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

nav a:hover {
  text-decoration: underline;
}

/* Section styling */
section {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  color: #004c99;
  border-bottom: 2px solid #b9dcff;
  padding-bottom: 0.3rem;
  margin-bottom: 1.2rem;
}

.services,
.team,
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
}

/* Card layout for sections */
.card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
}

.card h3 {
  color: #0066cc;
}

/* Contact section */
.contact {
  background: #e0f0ff;
  text-align: center;
  padding: 2rem;
}

.contact p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

/* Footer */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  header {
    padding: 1.5rem 0.5rem;
  }

  .logo {
    width: 80px;
  }

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

  section {
    padding: 1rem;
  }

  .card {
    flex: 1 1 100%;
  }
}