/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #6b7280;
  scroll-behavior: smooth;
  background: #f8f9fa;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #1e3a8a;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.header-logo img {
  height: 50px;
  transform: scale(4);
  transform-origin: left center;
  position: relative;
  z-index: 1;
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.header-nav a {
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: #3d5a7a;
}
main {
  padding: 0.5rem 1rem;
}

section {
  margin-bottom: 3rem;
}

.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #3d5a7a 50%, #4e6a89 100%);
  color: #fff;
  text-align: center;
  padding: 15rem 1rem;
  position: relative;
}


.hero h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 2rem;
  line-height: 1.4;
}

.hero-about {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    image-set(
      url('../assets/hero-small.webp') 1x,
      url('../assets/hero-large.webp') 2x
    );
  filter: contrast(0.85) brightness(0.9);
}

/* Add spacing after section headings */
section h2 {
  margin-bottom: 3rem;
  color: #6b7280;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.feature {
  background: #fff;
  border: 1px solid #ebebea;
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.05);
}

/* Services Section Styles */
.services-section {
  background: #f8f9fa;
  padding: 4rem 1rem;
  margin-bottom: 3rem;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 6rem;
}

.service-item:last-child {
  margin-bottom: 0;
}

.services-section h2 {
  color: #6b7280 !important;
}

.service-item.reverse {
  grid-template-columns: 1fr 1fr;
}

.service-item.reverse .service-content {
  order: 1;
}

.service-item.reverse .service-image {
  order: 2;
}

.service-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-content {
  padding: 2rem 0;
}

.service-content h3 {
  color: #6b7280;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.service-content p {
  color: #6b7280;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-link {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.service-link:hover {
  border-bottom-color: #1e3a8a;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
  .service-item,
  .service-item.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .service-item.reverse .service-content,
  .service-item.reverse .service-image {
    order: unset;
  }
  
  .service-content h3 {
    font-size: 1.75rem;
  }
  
  .services-section {
    padding: 3rem 1rem;
  }
  
  .service-item {
    margin-bottom: 4rem;
  }
}

.cta {
  text-align: center;
  background: linear-gradient(90deg, rgba(105,99,97,1) 0%, rgba(36,64,101,1) 100%);
  color: #fff;
  padding: 3rem 1rem;
  border-radius: 8px;
}

footer {
  padding: 2rem 1rem;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.footer-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-form input {
  padding: 0.5rem;
  border: 1px solid #ebebea;
  border-radius: 4px;
}

.footer-form button {
  padding: 0.5rem 1rem;
  border: none;
  background: #696361;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}
