/* General Styles */
.banner-svg {
  width: 100%;
  display: block;
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: -1px;
  transform: rotate(180deg);
}

.banner-svg svg {
  height: 362px;
  transform: translateX(-50%) rotateY(180deg);
  width: calc(300% + 1.3px);
  fill: #fff;
  position: relative;
  left: 60%;
}

.custom-banner-wrapper {
  width: 100%;
  height: 100%;
  min-height: 640px;
  background-color: transparent;
  position: relative;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}

.banner-content-left {
  width: 45%;
  padding-left: 0;
  margin-right: 5%;
}

.banner-content-right {
  width: 50%;
  text-align: center;
}

.banner-image img {
  max-width: 100%;
  height: auto;
  max-width: 500px;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.banner-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 88px;
}

.banner-text h3 {
  font-size: 30px;
  font-weight: 300;
  text-transform: capitalize;
  line-height: 1.2em;
  color: #FFFEFE;
  margin: 0;
}

.banner-text h1 {
  font-size: 45px;
  font-weight: 500;
  text-transform: capitalize;
  line-height: 1.2em;
  margin: 0;
  color: #FFFEFE;
}

.banner-text p {
  color: #FFFEFE;
  font-size: 20px;
  font-weight: 300;
  text-transform: none;
  line-height: 25px;
  margin: 10px 0;
}

.banner-image {
  padding-top: 80px;
  text-align: center;
}

/* Ensure the Background Remains Clean */
.custom-banner-wrapper::before {
  background-image: url(https://klearcom.com/wp-content/uploads/2023/10/Tech-Pattern-e1697717474107.png);
  content: '';
  display: block;
  position: absolute;
  opacity: 0.05;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Tablet Styles */
@media screen and (max-width: 1023px) {
  .banner-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px;
  }

  .banner-content-left {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }

  .banner-text h3,
  .banner-text h1,
  .banner-text p {
    text-align: center;
  }

  .banner-text h3 {
    font-size: 32px;
  }

  .banner-text h1 {
    font-size: 32px;
  }

  .banner-text p {
    font-size: 18px;
  }

  .banner-image {
    padding-top: 20px;
  }

  .banner-image img {
    max-width: 80%;
  }
}

/* Mobile Styles */
@media screen and (max-width: 767px) {
  .banner-inner {
    flex-direction: column !important; /* Force vertical stacking */
    align-items: center !important;
    padding: 0 10px !important;
  }

  .banner-content-left {
    width: 100% !important;
    margin-right: 0 !important;
    text-align: center !important;
  }

  .banner-text {
    padding-top: 20px !important; /* Adjust spacing */
    text-align: center !important;
    gap: 15px !important;
  }

  .banner-text h3 {
    font-size: 30px !important;
  }

  .banner-text h1 {
    font-size: 28px !important;
  }

  .banner-text p {
    font-size: 16px !important;
    max-width: 310px !important;
    margin: 0 auto !important;
  }

  .banner-image {
    display: none !important; /* Ensure the image is hidden */
  }

  /* Optional: Reposition Image Below Text */
  /*
  .banner-image {
    display: block !important;
    order: 2 !important; /* Push the image below the text */
    margin-top: 20px !important;
    text-align: center !important;
  }

  .banner-image img {
    max-width: 90% !important;
    height: auto !important;
  }
  */
}
