.hero-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-contents {
  position: relative;
  background-image: url('../assets/patterns/main-pattern.svg');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: inherit;
  width: 100%;
  height: 100%;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
}


.hero-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-title {
  line-height: 0;
  padding: 0;
  margin: 0;
}

.hero-title h1 {
  font-size: 60px;
  font-weight: 800;
  color: var(--p-color) !important;
}

.hero-subtitles h2 {
  font-size: 40px;
}

.hero-image {
  width: 70%;
}

.hero-image img {
  width: 100%;
}


@media (max-width: 1400px) {
  .hero-title h1 {
    font-size: 50px;
  }

  .hero-subtitles h2 {
    font-size: 36px;
  }
}

@media (max-width: 1200px) {

  .hero-contents {
    background-size: contain;
    min-height: 360px;
  }

  .hero-image {
    width: 84%;
  }

  .hero-subtitles h2 {
    font-size: 30px;
  }

}


@media (max-width: 992px) {
  .hero-contents {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-items {
    flex-direction: column;
  }

  .hero-contents {
    align-items: center;
    background-position: center;
    background-size: 40%;
    min-height: 380px;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .hero-image {
    width: 80%;
  }

  .icon-title img {
    width: 40px;
  }

  .hero-title h1 {
    font-size: 36px;
  }

  .hero-subtitles h2 {
    font-size: 28px;
    text-align: center;
  }

.hero-contents {
	background: rgba(255, 255, 255, 0.9);
	border: 2px solid var(--w-color);
	border-radius: 32px;
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.1);
	margin: -100px 0 80px;
	min-height: 270px;
	gap: 28px;
}

}

@media (max-width: 576px) {
  .hero-contents {
    margin: -180px 0 50px;
    min-height: 250px;
  }

  .hero-image {
    width: 100%;
  }

  .hero-subtitles h2 {
    font-size: 22px;
    text-align: center;
  }

  .icon-title img {
    width: 36px;
  }

  .hero-title h1 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .hero-contents {
    background: rgba(255, 255, 255, 0.9);
    margin: -180px 0 50px;
    min-height: 230px;
  }

  .hero-title h1 {
    font-size: 24px;
  }

  .hero-subtitles h2 {
    font-size: 20px;
    text-align: center;
  }
}

@media (max-width: 390px) {
      .icon-title img {
        width: 30px;
    }

    .hero-title h1 {
        font-size: 22px;
    }

    .hero-subtitles h2 {
        font-size: 19px;
    }
}