/* styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #f5f5f5;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: #004080;
  padding: 1rem 2rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
}

header h1 {
  font-size: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid white;
  border-radius: 5px;
  transition: all 0.3s;
}

nav a:hover {
  background: white;
  color: #004080;
}

/* Hero Section Styles */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background: linear-gradient(rgba(2, 10, 18, 0.658), rgba(2, 19, 35, 0.696)), 
              url('./uploads/hero1.jpg') no-repeat center center/cover;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 2rem;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-primary {
  background-color: white;
  color: #004080;
}

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  flex: 1;
  padding: 2rem;
  text-align: center;
}

main h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #004080;
}

main p {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 2rem;
}

footer {
  background: #004080;
  color: white;
  text-align: center;
  padding: 1.5rem;
}
/* Services Section */
.services-container {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 1400px; /* Increased from 1200px */
  margin: 0 auto;
}

.services-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #004080;
  position: relative;
}

.services-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #004080;
  margin: 1rem auto 0;
}

.services-grid {
  display: flex; /* Changed from grid to flex */
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  width: calc(33.333% - 2rem); /* 3 cards with gaps */
  min-width: 300px; /* Minimum width before wrapping */
  flex-grow: 1;
}

/* Rest of your existing card styles remain the same */
.card-icon {
  font-size: 2.5rem;
  color: #004080;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #004080;
}

.service-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.card-link {
  color: #004080;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.card-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.card-link:hover {
  color: #002b57;
}

.card-link:hover i {
  transform: translateX(5px);
}

@media (max-width: 1000px) {
  .service-card {
    width: calc(50% - 2rem); /* 2 cards on medium screens */
  }
}

@media (max-width: 700px) {
  .service-card {
    width: 100%; /* 1 card on small screens */
  }
}

.logo {
  height: 40px;
  width: auto;
  margin-right: 15px;
}