/* Home page */
/* SECTION - HOME */
.description {
  color: #fff;
  /* padding: 0 50px; */
}

.description h1 {
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 30px;
}

.description p {
  line-height: 1.7;
  margin: 30px 0;
  font-weight: 300;
}

#form {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

#form .btn:first-of-type {
  margin-right: 10px;
}
input {
  padding-inline-end: 10px;
  padding-inline-start: 10px;
  background-color: transparent;
  outline: transparent;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  margin-right: 10px;
  transition: all 0.3s ease-in;
  -webkit-transition: all 0.3s ease-in;
}

input::placeholder {
  color: rgb(117, 152, 242);
  opacity: 0.5;
  font-weight: 500;
}

.btn {
  background-color: #5b946c;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 400;
  /* border: 1px solid #7eb38e; */
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease-in;
}

.btn:hover {
  background-color: #7eb38e;
  /* border: 1px solid #5b946c; */
}

.item {
  max-width: 200px;
  aspect-ratio: 1/1;
  box-shadow:
    0 8px 8px rgba(0, 0, 0, 0.5),
    inset 0px 2px 2px rgba(255, 255, 255, 0.2);
  animation: fadeIn 0.5s linear 1 forwards;
  animation-delay: calc(0.2s * var(--i));
  opacity: 0;
}
.item-3 {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.item:nth-child(1) {
  background-color: #67d7e1;
  border-radius: 50% 50% 0 50%;
}
.item:nth-child(2) {
  border-radius: 50% 50% 0 0;
}

.item:nth-child(3) {
  background-color: #6cc164;
  border-radius: 50%;
}

.item:nth-child(4) {
  border-radius: 0 0 0 50%;
}

.item:nth-child(5) {
  border-radius: 0 50% 50% 0;
}

.item:nth-child(6) {
  background-color: #8071a8;
  border-radius: 0 50% 50% 50%;
}

.item:nth-child(7) {
  border-radius: 50% 50% 0 50%;
}

.item:nth-child(8) {
  background-color: #fe7519;
  border-radius: 50% 0 0 50%;
}

.item:nth-child(9) {
  background-color: #f5bec3;
  border-radius: 0 50% 50% 0;
}

.item:nth-child(10) {
  border-radius: 50%;
}

.item:nth-child(11) {
  background-color: #fcd659;
  border-radius: 50% 0 50% 50%;
}

.item:nth-child(12) {
  border-radius: 50% 0 0 0;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* SECTION - CARD CONTAINER */
/* =========================================================
   Home page
   ========================================================= */

.home-hero {
  width: 100%;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.home-hero__viewport {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  background: #1f1f1f;
}

.home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease;
}

.home-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.home-hero__media,
.home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__media img {
  object-fit: cover;
  object-position: center;
}

.home-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #1f1f1f;
  opacity: 0.88;
  clip-path: polygon(0 0, 0% 0, 45% 50%, 0 100%);
  pointer-events: none;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 560px;
  margin-left: clamp(16px, 4vw, 42px);
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.home-hero__textwrap {
  position: relative;
}

.home-hero__mobileShade {
  display: none;
}

.home-hero__title {
  margin: 0 0 14px;
  font-size: clamp(3.4rem, 3.2vw, 5.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.9);
}

.home-hero__desc {
  max-width: 480px;
  margin: 0;
  font-size: clamp(1.7rem, 1.25vw, 2.1rem);
  line-height: 1.45;
  color: #fff;
  opacity: 0.94;
  text-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.9);
}

.home-hero__actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-hero__actions button {
  border: 0;
  font-family: inherit;
}

.btn--dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--dark:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.home-hero__dots {
  position: absolute;
  z-index: 3;
  left: 32px;
  bottom: 22px;
  display: flex;
  gap: 10px;
}

.home-hero__dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
}

.home-hero__dot.is-active {
  background: rgba(255, 255, 255, 0.96);
}

/* Intro */
.home-intro {
  background: #fff;
}

.home-intro__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 44px 16px;
  text-align: center;
}

.home-intro__logo {
  display: block;
  width: 220px;
  height: auto;
  margin: 0 auto 18px;
  border-radius: 20px;
}

.home-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(3rem, 4vw, 4.8rem);
  line-height: 1.1;
  color: #1f1f1f;
}

.home-intro p {
  margin: 0 auto;
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.7;
  color: #333;
}

.home-intro__actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Quick cards */
.home-quick {
  max-width: 1200px;
  margin: 0 auto;
  padding: 46px 16px;
}

.home-quick__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-quick-card {
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(31, 31, 31, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.home-quick-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
}

.home-quick-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.home-quick-card:hover .home-quick-card__image img {
  transform: scale(1.04);
}

.home-quick-card__body {
  padding: 20px 18px 22px;
  text-align: center;
}

.home-quick-card__body h2 {
  margin: 0 0 10px;
  font-size: 2.6rem;
  line-height: 1.15;
  color: #1f1f1f;
}

.home-quick-card__body p {
  min-height: 72px;
  margin: 0 0 18px;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.55;
  color: #333;
}

/* Service area */
.home-service {
  padding: 20px 16px 58px;
}

.home-service__box {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 26px;
  text-align: center;
  background: rgba(177, 241, 196, 0.22);
  border: 1px solid rgba(91, 148, 108, 0.18);
  border-radius: 28px;
}

.home-service__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #5b946c;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-service h2 {
  margin: 0 0 16px;
  font-size: clamp(3rem, 4vw, 4.8rem);
  line-height: 1.1;
  color: #1f1f1f;
}

.home-service p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 2.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #333;
}

.home-service__actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.home-service__actions button {
  font-family: inherit;
  cursor: pointer;
}

/* Keep existing decorative bg */
.home-one-grid {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  width: 100%;
  min-height: 120px;
  background-color: #b1f1c4;
  background-image: url("../../../images/home-bg-01.png");
  background-repeat: repeat-x;
  background-position: top center;
  background-size: auto 120px;
}

@media (max-width: 900px) {
  .home-quick__grid {
    grid-template-columns: 1fr;
  }

  .home-quick-card__body p {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .home-hero__viewport {
    height: 560px;
  }

  .home-hero__shade {
    display: none;
  }

  .home-hero__content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    align-items: center;
    text-align: center;
  }

  .home-hero__textwrap {
    width: min(98%, 560px);
    padding: 20px 10px 12px;
  }

  .home-hero__mobileShade {
    position: absolute;
    inset: 0;
    display: block;
    z-index: -1;
    background: rgba(31, 31, 31, 0.88);
    border-radius: 18px;
  }

  .home-hero__desc {
    margin: 0 auto;
  }

  .home-hero__actions {
    justify-content: center;
  }

  .home-hero__actions .btn {
    width: min(100%, 320px);
    justify-content: center;
    text-align: center;
  }

  .home-hero__dots {
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
  }

  .home-intro__inner {
    padding: 34px 12px;
  }

  .home-intro__logo {
    width: 180px;
  }

  .home-intro p {
    font-size: 2rem;
  }

  .home-intro__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-quick {
    padding: 34px 12px;
  }

  .home-service {
    padding: 12px 12px 48px;
  }

  .home-service__box {
    padding: 26px 16px;
    border-radius: 22px;
  }

  .home-service p {
    font-size: 2rem;
  }

  .home-service__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
