/* RESET + BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  font-family: "Segoe UI", sans-serif;
  background: #f5faff;
  color: #1c1c1c;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO SECTION */
.hero {
  position: relative;
  text-align: center;
  padding: 90px 20px;
  background-color: #e6f2ff;
  background-image: url("../images/home_page_header_image.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 47, 95, 0.5);
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffffff;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #e0f7ff;
}

.hero a {
  display: inline-block;
  background-color: #00c292;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.hero a:hover {
  background-color: #009973;
}

/* WHY US SECTION */
.why-us {
  position: relative;
  padding: 70px 0;
  text-align: center;
  background-image: url("../images/why_us_image.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.why-us > * {
  position: relative;
  z-index: 2;
}

.why-us h2 {
  font-size: 30px;
  color: #111111;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  padding: 20px;
}

.feature {
  flex: 1 1 300px;
  max-width: 350px;
  min-height: 170px;
  padding: 30px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.feature h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #003366;
}

.feature p {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

/* SERVICES SECTION */
.wave-section {
  position: relative;
  padding: 70px 20px;
  background-color: #e6f6ff;
  background-image: url("../images/services_image_home.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.testing-services .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testing-services h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #003366;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.service {
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-weight: 600;
  color: #003366;
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
}

.btn.service-btn {
  display: inline-block;
  background-color: #003366;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.btn.service-btn:hover {
  background-color: #005b99;
}

/* TABLET RESPONSIVE */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 75px 16px;
    background-size: cover;
    background-position: center top;
  }

  .hero h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero a {
    padding: 11px 22px;
    font-size: 15px;
  }

  .why-us {
    padding: 60px 0;
    background-size: cover;
    background-position: center center;
  }

  .why-us h2 {
    font-size: 26px;
  }

  .features {
    gap: 22px;
    margin-top: 30px;
    padding: 15px;
  }

  .feature {
    flex: 1 1 280px;
    max-width: 360px;
    padding: 26px 18px;
  }

  .wave-section {
    padding: 60px 16px;
    background-size: cover;
    background-position: center center;
  }

  .testing-services h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .services-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
  }
}

/* MOBILE RESPONSIVE */
@media (max-width: 480px) {
  .hero {
    padding: 65px 14px;
    background-position: center top;
  }

  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 15px;
  }

  .why-us {
    padding: 50px 0;
  }

  .why-us h2,
  .testing-services h2 {
    font-size: 24px;
  }

  .features {
    gap: 18px;
    padding: 12px;
  }

  .feature {
    flex: 1 1 100%;
    max-width: 100%;
    min-height: auto;
  }

  .wave-section {
    padding: 50px 14px;
    background-size: cover;
    background-position: center center;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: 75px;
    font-size: 15px;
  }
}
