.hero {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}

.hero-wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  z-index: 999;
  line-height: 0;
  pointer-events: none;
}

.hero-wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}

.hero-wave-bottom svg {
  display: block;
  width: 100%;
  height: 150px;
}

.hero-content {
  position: relative;
  top: -70px;
  z-index: 4;
  text-align: left;
  color: #ffffff;
  padding: 0 24px;
  max-width: 1400px;
  width: 100%;

  max-width: 1400px;
  margin: 0 auto;
  padding: 0 120px;
}

.hero-subtitle {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 36px 0;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* welcome-section */
.welcome-section {
  padding-top: 0px;
  padding-bottom: 100px;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  overflow: hidden;
}

.welcome-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 678 / 602;
  height: auto;
}

.welcome-photo svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.welcome-photo img {
  position: absolute;
  border-radius: 12%;
  object-fit: cover;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.img-1 {
  width: 42%;
  height: 38%;
  top: 6%;
  left: 8%;
}
.img-2 {
  width: 42%;
  height: 38%;
  top: 17%;
  left: 55%;
}
.img-3 {
  width: 42%;
  height: 38%;
  top: 50%;
  left: 8%;
}
.img-4 {
  width: 42%;
  height: 38%;
  top: 60%;
  left: 55%;
}

/* message-section */
.message-section .swiper-pagination {
  position: relative;
  margin-top: 30px;
  text-align: center;
}

.message-section .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #aaa;
  opacity: 1;
  transition: all 0.3s ease;
}

.message-section .swiper-pagination-bullet-active {
  background: var(--primary-color);
  width: 15px;
  height: 15px;
}

.message-section {
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: var(--secondary-color);
}

.message-section-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
}

.message-img {
  width: 330px;
  height: 400px;
  object-fit: cover;
  border: 8px solid var(--primary-color);
  border-radius: 50%;
}

/* project-section */
.project-section {
  padding-top: 100px;
  padding-bottom: 100px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.project-content {
  flex: 1;
}

.project-img-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.project-img {
  width: 100%;
  max-width: 550px;
  height: 400px;
  object-fit: cover;
  border-radius: 40px;
  z-index: 2;
  position: relative;
}

.project-shape-bg {
  position: absolute;
  right: -30px;
  top: -30px;
  bottom: -30px;
  z-index: 1;
}

.project-shape-bg svg {
  height: 100%;
  width: auto;
}

.project-badge {
  position: absolute;
  bottom: -30px;
  left: -20px;
  z-index: 3;
  width: 170px;
  height: 170px;
  background-color: #0c5404;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.badge-inner {
  width: 150px;
  height: 150px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.badge-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 1rem;
  margin-top: 5px;
  padding: 3px;
}

/* blog-section */
.blog-section {
  padding-top: 50px;
  padding-bottom: 100px;

  background-color: #f4f7f4;
}

@media (max-width: 992px) {
  .hero {
    height: 80vh;
  }

  .hero-wave-bottom svg {
    height: 90px;
  }

  .hero-content {
    padding: 0 80px;
  }

  /* welcome-section */
  .welcome-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .welcome-photo {
    max-width: 600px;
    margin: 0 auto 40px;
  }

  /* project-section */
  .message-section-wrapper {
    flex-direction: column;
  }

  /* message-section */
  .project-section {
    flex-direction: column;
    text-align: center;
  }

  .project-img-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .project-img {
    height: 300px;
  }

  .project-shape-bg {
    right: -10px;
  }

  .project-badge {
    left: 23%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .hero-wave-bottom svg {
    height: 60px;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-content {
    margin-top: 0;
    padding: 0 20px;
  }

  /* message-img */
  .message-img {
    width: 270px;
    height: 350px;
  }

  /* welcome-section */
  .welcome-photo img {
    border-radius: 20px;
  }
}
