.banner {
  background: linear-gradient(
    90deg,
    #0f4c41 0%,
    #11302a 100%
  );
  border-radius: 20px;
  padding: 58px 100px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  direction: rtl;
  overflow: hidden;
  position: relative;
  z-index: 100;
}

.banner .banner-bg {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  z-index: -1;
  object-fit: contain;
}

.banner-content {
  max-width: 55%;
  position: relative;
  z-index: 1;
}

.banner h2 {
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #46d292, #1acc99);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.banner p {
  font-size: 20px;
  line-height: 34px;
  font-weight: 300;
  font-style: normal;
  color: #eceff1;
}

.banner button {
  z-index: 1;
  background-color: #f9c623;
  border: none;
  width: 20%;
  color: #263238;
  font-size: 24px;
  padding: 12px 36px;
  border-radius: 7.5px;
  cursor: pointer;
  transition: background 0.3s;
}

.banner button:hover {
  background-color: #f8d253;
}

@media screen and (max-width: 1024px) {
  .banner {
    padding: 40px 60px;
  }

  .banner h2 {
    font-size: 32px;
  }

  .banner p {
    font-size: 18px;
    line-height: 30px;
  }

  .banner button {
    font-size: 20px;
    padding: 10px 30px;
    width: 25%;
  }
}

@media screen and (max-width: 768px) {
  .banner {
    flex-direction: column;
    padding: 30px 40px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .banner .banner-bg {
    width: 100%;
    height: auto;
    position: absolute;
    right: 20%;
    top: -50%;
  }

  .banner-content {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .banner h2 {
    font-size: 28px;
  }

  .banner p {
    font-size: 16px;
    line-height: 28px;
  }

  .banner button {
    font-size: 18px;
    padding: 10px 20px;
  }
}

@media screen and (max-width: 480px) {
  .banner {
    padding: 35px 20px;
  }

  .banner h2 {
    font-size: 28px;
  }

  .banner p {
    font-size: 12px;
    line-height: 24px;
  }

  .banner button {
    font-size: 12px;
    padding: 8px 20px;
  }
}
