/* home page */
@media (max-width: 991.98px) {
  .benefits-section {
    padding-left: 48px;
    padding-right: 48px;
  }

  .benefits-title {
    font-size: 2.25rem;
    line-height: 50px;
  }

  .benefit-card-container {
    height: 368px;
  }

  .benefit-card {
    padding: 64px 24px 48px 24px;
    height: 317px;
  }

  .benefit-card-content {
    width: 250px;
  }
}

@media (max-width: 575.98px) {
  .benefits-section {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 32px;
  }

  .background-image {
    left: 0 !important;
    width: 100% !important;
    height: 150px !important;
  }

  .benefits-title {
    margin-bottom: 32px;
    font-size: 1.875rem;
    line-height: 2.5rem;
  }

  .benefit-card-container {
    height: 350px;
    margin-bottom: 64px;
  }

  .benefit-card {
    padding: 64px 20px 48px 20px;
    height: 299px;
  }

  .benefit-card-content {
    width: 240px;
    height: 160px;
  }

  .benefit-card-title {
    margin-bottom: 20px;
    font-size: 1.25rem;
  }

  .benefit-card-description {
    font-size: 1.125rem;
    line-height: 2.25rem;
  }
}

/* banners section */
/* Medium devices (tablets) */
@media (max-width: 991.98px) {

  .about-us-label {
    left: 50px;
    top: 220px;
    font-size: 14px;
    letter-spacing: 16px;
    width: auto;
  }

  .main-heading {
    left: 50px;
    top: 250px;
    font-size: 60px;
    line-height: 60px;
    letter-spacing: 16px;
    width: calc(100% - 100px);
  }
}

/* Small devices (phones) */
@media (max-width: 575.98px) {
  .about-us-label {
    left: 20px;
    top: 180px;
    font-size: 12px;
    letter-spacing: 12px;
  }

  .main-heading {
    left: 20px;
    top: 205px;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 12px;
    width: calc(100% - 40px);
  }
}

/* values section */
@media (max-width: 767.98px) {
  .main-title {
    font-size: 1.875rem;
    line-height: 2.5rem;
  }

  .main-description {
    font-size: 1.25rem;
    line-height: 2rem;
  }

  .value-card {
    height: auto;
  }

  .value-card-content {
    flex-direction: column;
    gap: 1rem;
    height: auto;
    text-align: center;
  }

  .value-text {
    align-items: center;
  }

  .value-title {
    font-size: 1.25rem;
  }

  .value-description {
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .main-title {
    font-size: 1.875rem;
    line-height: 2.5rem;
  }

  .main-description {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

/* contact section */
@media (max-width: 768px) {
  .contact-section {
    height: auto;
  }

  .contact-info-bg,
  .contact-form-bg {
    position: relative;
    width: 100%;
    left: 0;
    padding: 3rem 1.25rem;
  }

  .contact-header,
  .contact-address,
  .social-icons,
  .form-header,
  .contact-form {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
  }

  .contact-container,
  .form-container {
    width: 100%;
    height: auto;
    padding: 0;
  }

  .map-container {
    position: relative;
    top: 0;
    height: 400px;
  }

  .map-background {
    height: 400px;
  }

  .map-pattern-img {
    width: 128px;
    height: 128px;
  }

  .map-marker {
    top: 150px;
  }
}

@media (max-width: 576px) {
  .contact-info-bg,
  .contact-form-bg {
    padding: 2rem 1rem;
  }

  .contact-title,
  .form-title {
    font-size: 1.875rem;
    line-height: 2rem;
  }

  .contact-subtitle,
  .contact-text {
    font-size: 1rem;
    line-height: 1.25rem;
  }

  .form-subtitle {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .map-container {
    height: 300px;
  }

  .map-background {
    height: 300px;
  }
}

@media screen and (min-width: 320px) and (max-width: 575px) {
  .img-1 {
    width: 100%;
  }
  .img-2 {
    width: 100%;
  }
  .img-3 {
    width: 100%;
  }
  .person-image {
    right: 214px;
    bottom: 18px;
    width: 123px;
    height: 200px;
  }
  .align-container {
    position: relative;
    top: 94px;
    left: 0px;
  }
  .text-color {
    color: #ffff !important;
    font-size: 14px !important;
  }
  .hero-content {
    top: 10%;
  }
  .nav-link,  .btn {
    font-size: 14px;
  }
  .hero-text h6 {
    line-height: 35px !important;
  }
  /* .hero-text h3 {
    line-height: 16px !important;
  } */
}
@media screen and (min-width: 576px) and (max-width: 767px) {
  .img-1 {
    width: 100%;
  }
  .img-2 {
    width: 100%;
  }
  .img-3 {
    width: 100%;
  }
  .text-color {
    color: #ffff !important;
    font-size: 14px !important;
  }
  .hero-text h6 {
    line-height: 35px !important;
  }
  .hero-text h3 {
    line-height: 20px !important;
  }
  .hero-text ul ol {
    line-height: 25px !important;
  }
  .hero-content {
    margin-top: -21px;
  }
.nav-link,  .btn {
    font-size: 13px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .img-1 {
    width: 100%;
    height: 450px;
  }
  .img-2 {
    width: 100%;
  }
  .img-3 {
    width: 100%;
  }
  .value-card-content {
    height: 110px;
  }
  .text-color {
    color: #000 !important;
    font-size: 16px !important;
  }
  .px-funct {
    padding-right: 3rem !important;
    padding-left: 145px !important;
  }
  .mt-fun {
    margin-top: 10px !important;
  }
  .ht-200 {
    height: 200px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1199px) {
  .img-1 {
    width: 257px;
    height: 452px;
  }
}
@media screen and (min-width: 1200px) and (max-width: 1440px) {
  .img-1 {
    width: 100%;
    height: 448px;
  }
  .margin-x {
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media screen and (min-width: 1441px) and (max-width: 1600px) {
  .margin-x {
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media screen and (min-width: 1601px) and (max-width: 1919px) {
  .margin-x {
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media screen and (min-width: 1920px) and (max-width: 2300px) {
  .margin-x {
    margin-left: 20px;
    margin-right: 20px;
  }
}
