.hero {
  min-height: clamp(500px, 80vh, 900px);
  margin-top: 1rem;
  padding-top: 80px;
  padding-bottom: 3rem;
  box-sizing: border-box;

  display: flex;
  align-items: center;

  background-image: 
    linear-gradient(
      147deg,
      rgba(41, 46, 80, 0.8) 13%,
      rgba(46, 51, 84, 0.77) 40%,
      rgba(62, 66, 97, 0.6) 63%,
      rgba(237, 221, 83, 0) 100%
    ),
    url('/assets/images/hero-section.jpg');

  background-size: cover;
  background-position: 30% 80%;
  background-repeat: no-repeat;

}

.part-1, .part-2, .part-3 { 
  height: 400px;
  background-color: blue;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-inline-start: 1rem;
  width: 100%;
  gap: 3rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #ffffff;
}

.hero-text h1 {
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(1.8rem, 1.76958rem + 1.52083vw, 2.98625rem);
  font-weight: 700;
  max-width: 20ch;
  line-height: 1.2;
}

.hero-text p {
  font-size: clamp(0.833125rem, 0.777rem + 0.278vw, 1rem);
  max-width: 361px;
  width: 100%;
  opacity: 0.85;
  line-height: 1.6;
}

/* ---------------- SERVICES ---------------- */

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  margin: 0 auto;
  width: 100%;
}

/* ---------------- WHY CHOOSE US ---------------- */

.why-choose-us {
  background-color: #f1f0ec;
  padding: 2rem 1.5rem;
}

a.cta-wrapper {
    display: block;
    width: fit-content;
    margin: 1rem auto;
}
.smaller-headings {
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(1.44rem, 1.34rem + 0.501vw, 1.728rem);
  text-align: center;
  font-weight: 700;
  color: #0a0f35;
  margin-block: 2rem 1.3rem;
}

.smaller-heading-helper {
  color: #0a0f35;
  opacity: .8;
}

.smaller-heading-description-container .smaller-headings {
  margin-block-end: .8rem;
}

.carousel-smaller-heading {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-block: 2rem;
}

/* ---------------- QUALITIES ---------------- */

.qualities-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.qualities-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.qualities-description {
  font-weight: 700;
  color: #0a0f35;
}

.icon-qualities {
  width: 40px;
  height: auto;
}

.lock {
  height: 53px;
}

.money-bill {
  width: 50px;
}

.service-card-lp a, a {
  text-decoration: none;
  display: inline-block;
}

a:hover .cta-button-card {
  transform: translateY(-5px);
  background-color: #0a0f35; 
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.icon-background {
  height: 7.5625rem;
  aspect-ratio: 1/1;
  background-color: #ffffff;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 4px 4px 6px 0px #0000000D;
}

/* ---------------- FAQ ---------------- */

.frequently-asked-questions {
  padding-block: 2rem;
  font-family: 'Inter', Tahoma, Geneva, Verdana, sans-serif;
  margin: 40px auto;
  padding: 0 20px;
  color: #1a2b4b;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 40px auto;
  padding: 0;
}

.faq-item {
  background: #f8fafd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  gap: 20px;
}

summary::-webkit-details-marker {
  display: none;
}

.icon-faq {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon-faq::before,
.icon-faq::after {
  content: '';
  position: absolute;
  background-color: #ff7a00; 
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.icon-faq::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.icon-faq::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

details[open] .icon-faq::before {
  transform: translateY(-50%) rotate(45deg);
}

details[open] .icon-faq::after {
  transform: translateX(-50%) rotate(45deg);
}

.faq-content {
  margin-top: 15px;
  font-size: 0.9375rem;
  color: #0a0f35;
  line-height: 1.6;
  border-top: 1px solid #edf2f7;
  padding-top: 15px;
  opacity: .8;
}

/* ---------------- RESPONSIVE ---------------- */

@container (min-width: 700px) {
  .card-container {
    gap: 1.75rem;
  }
}

/* FIXED: remove vh dependency, target landscape instead */
@media (max-width: 1024px) and (orientation: landscape) {
  .hero {
    min-height: 450px;
  }
}

@media screen and (min-width: 700px) {
  .hero-content {
    padding-inline-start: 2.5rem;
    gap: 2rem;
  }

  .service-offering,
  .why-choose-us,
  .frequently-asked-questions {
    padding-inline: 1rem;
  }

  .card-container {
    justify-content: center;
  }
}

@media screen and (min-width: 800px) {
  .hero-content {
    padding-inline-start: 3.5rem;
  }

  .service-offering,
  .why-choose-us,
  .frequently-asked-questions {
    padding-inline: 2rem;
  }
}

@media screen and (min-width: 1024px) {
  .service-offering,
  .why-choose-us,
  .frequently-asked-questions {
    padding-inline: 4rem;
  }

  .card-container {
    gap: 2rem;
  }
}

@media screen and (min-width: 1280px) {
  .service-offering,
  .why-choose-us,
  .frequently-asked-questions {
    padding-inline: 6.25rem;
  }

  .card-container {
    gap: 2.25rem;
  }
}

@media screen and (min-width: 900px) and (max-width: 1100px) {
  .card-container {
    justify-content: center;
    gap: 1.5rem;
  }

  .service-card-lp {
    flex: 0 1 calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
  }
}

@media screen and (max-width: 599px) {
  .card-container {
    gap: 1rem;
  }

  .service-offering,
  .why-choose-us,
  .frequently-asked-questions {
    padding: 1.5rem 1rem;
  }
}

@media screen and (max-width: 900px) and (orientation: portrait) {
  .hero-text {
    max-width: 90%;
  }
}