.about-banner-sec {
  background-image: url("../../../../public/images/XXL_height.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 350px 140px 50px;
  position: relative;
  z-index: 1;
}

.about-banner-sec::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  background-color: #00000069;
  width: 100%;
  height: 100%;
}

.about-banner-content h1 {
  font-family: var(--font-dm-display);
  font-weight: 400;
  font-size: 100px;
  color: #fff;
}

.about-banner-content p {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  margin-top: 30px;
}
/* Tablet screens (≤991px) */
@media (max-width: 991.98px) {
  .about-banner-sec {
    padding: 250px 60px 40px;
  }

  .about-banner-content h1 {
    font-size: 60px;
    line-height: 1.2;
  }

  .about-banner-content p {
    font-size: 15px;
    max-width: 90%;
  }
}

/* Mobile screens (≤767px) */
@media (max-width: 767.98px) {
  .about-banner-sec {
    padding: 180px 30px 30px;
  }

  .about-banner-content h1 {
    font-size: 40px;
    line-height: 1.3;
    text-align: center;
  }

  .about-banner-content p {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    margin-top: 20px;
  }
}

/* Extra small devices (≤575px) */
@media (max-width: 575.98px) {
  .about-banner-sec {
    padding: 140px 20px 25px;
  }

  .about-banner-content h1 {
    font-size: 28px;
  }

  .about-banner-content p {
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  .about-banner-sec {
    padding: 180px 15px 20px;
  }

  .about-banner-content h1 {
    font-size: 34px;
  }

  .about-banner-content p {
    font-size: 12px;
    line-height: 1.5;
  }
}
