* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #f4f4f4;
  color: #3333;
}

header {
  background-color: #e9e4e4;
  padding: 10px 20px;
  box-shadow: inset;
  padding: 10px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0rem 3rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}
.parent-hero {
  background-color: #f9f9f9;
}

/* Hamburger menu (Mobile view) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: black;
}

/* Mobile menu modal */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.mobile-menu.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-menu .nav-links-mobile {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  text-align: center;
  padding-top: 50px;
}

.nav-links-mobile a {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
}
/* Close Button */
.close-btn {
  background-color: #349574;
  padding: 8px 15px;
  border: none;
  font-size: 30px;
  font-weight: bold;
  color: rgb(255, 255, 255);
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 3rem;

  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  max-width: 1200px;
}

.hero-content h1 {
  font-size: 3rem;
  color: #333;
}

.hero-content p {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #5c5c5c;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #349574;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 1.5rem;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-left: 3rem;
}

.stat h3 {
  color: #333;
  font-size: 1.5rem;
}

.stat p {
  color: #666;
}

.why-choose-us h2 {
  text-align: center;
  padding: 40px 40px;
  color: #333;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 80px;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.footer {
  background-color: #349574;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  margin: 5px 0;
}

.social-links {
  margin: 10px 0;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

.social-links a:hover {
  text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .hero-stats {
    flex-direction: row;
    justify-content: space-around;
    margin: 2rem 0;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile menu visible */
  .mobile-menu.active {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .card-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .stat h3 {
    font-size: 1.2rem;
  }

  .stat p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-image img {
    max-width: 300px;
  }

  .btn-primary {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
}
