@media (min-width:1300px) and (max-width: 1600px) {
  .container {
    max-width: 92%;
  }
}


@media screen and (max-width: 1299.98px) {
  .footer-contact-top {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 560px);
    gap: 42px;
    max-width: 100%;
  }

  .contact-right-image {
    max-width: 560px;
    border-radius: 28px;
  }

  .container {
    max-width: 92%;
  }

  .masthead-logo .custom-logo {
    max-width: 280px;
  }

  #masthead .masthead-menu>li>a {
    font-size: 16px;
  }

  .btn-1 {
    min-width: 170px !important;
    min-height: 45px !important;
    font-size: 16px !important;
  }
}

@media screen and (max-width: 991px) {
  .footer-contact-section {
    padding: 64px 0px 38px;
  }

  .footer-contact-top {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 42px;
    max-width: 100%;
  }

  .footer-contact-info {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .footer-contact-list {
    max-width: 520px;
    margin: 0 auto;
    gap: 18px;
  }

  .footer-contact-list li {
    justify-content: flex-start;
    text-align: left;
  }

  .contact-right-image {
    max-width: 520px;
  }

  .footer-contact-divider {
    margin: 52px auto 44px;
  }

  .footer-contact-form,
  .footer-contact-form .contact-form-wrapper .container {
    max-width: 720px;
  }

  .container {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
  }

  .logo-wrapper .custom-logo {
    max-width: 220px;
    width: 100%;
  }

  #masthead2 {
    min-height: 100px;
  }

  #masthead2.scrolled .custom-logo {
    width: 180px;
  }

  .home-banner-section {
    min-height: 560px;
    background-position: 32% center;
  }

  .home-banner-section::before {
    background: linear-gradient(90deg, rgb(0, 83, 135) 0%, rgba(0, 117, 190, 0.56) 48%, rgba(0, 117, 190, 0.08) 100%);
  }

  .home-banner-content {
    max-width: 540px;
  }

  .home-about-right-column {
    flex-basis: 60% !important;
  }

  .home-service-section {
    --home-service-card-overlap: 100px;
  }

  .home-banner-content .description {
    max-width: 400px;
  }

  .home-banner-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 768px) {
  .footer-contact-top {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 720px;
  }

  #scrollToTop {
    right: 15px;
    bottom: 40px;
  }

  .footer-contact-heading {
    font-size: 34px;
  }

  .footer-contact-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .footer-contact-list li {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    text-align: center;
  }

  .footer-contact-list a,
  .footer-contact-list span {
    text-align: center;
  }

  .footer-contact-form-description p {
    font-size: 15px;
    line-height: 25px;
  }

  .contact-form-wrapper .row {
    --bs-gutter-y: 14px;
  }

  .contact-form-wrapper .form-control {
    min-height: 58px;
    font-size: 15px;
    line-height: 28px;
    max-height: 55px;
  }

  .contact-form-wrapper .form-control::placeholder {
    font-size: 15px;
    line-height: 28px;
  }

  .contact-form-wrapper textarea.form-control {
    min-height: 150px;
    max-height: 150px;
  }

  .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .home-banner-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .btn-1 {
    min-width: 150px !important;
    min-height: 40px !important;
    font-size: 15px !important;
    padding: 7px 20px !important;
  }

  .home-about-section {
    padding: 50px 0 30px;
  }

  .home-about-columns {
    justify-content: center;
  }

  .home-about-copy {
    text-align: center;
  }

  .home-about-columns {
    margin-top: 20px;
  }

  .home-service-image-wrap {
    height: 400px;
    min-height: auto !important;
  }
}

@media screen and (max-width: 575px) {

  .home-about-section {
    padding: 50px 0 10px;
  }

  .home-service-image-wrap {
    height: 300px;
    min-height: auto !important;
  }


  .footer-contact-section {
    padding: 44px 0px 25px;
    background-position: center top;
  }

  .footer-contact-top {
    gap: 28px;
  }

  .footer-contact-heading {
    margin-bottom: 16px;
    font-size: 28px;
  }

  .footer-contact-list {
    gap: 14px;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-contact-list li {
    font-size: 14px;
  }

  .footer-contact-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .contact-right-image {
    max-width: 100%;
    border-radius: 12px;
  }

  .footer-contact-divider {
    margin: 38px auto 34px;
  }

  .footer-contact-form-description {
    margin-bottom: 22px;
  }

  .contact-form-wrapper .wpcf7-list-item {
    margin-bottom: 12px;
  }

  .contact-form-wrapper .wpcf7-list-item-label {
    padding-left: 38px;
    font-size: 14px;
    line-height: 24px;
  }

  .contact-form-wrapper input[type="checkbox"],
  .contact-form-wrapper .wpcf7-list-item-label::before,
  .contact-form-wrapper .wpcf7-list-item-label::after {
    width: 24px;
    height: 24px;
  }

  .contact-form-wrapper .wpcf7-list-item-label::after {
    font-size: 14px;
  }

  .contact-form-wrapper .btn-warning {
    min-width: 170px !important;
  }

  .home-banner-section {
    min-height: 450px;
  }

  .home-banner-section::before {
    background: linear-gradient(90deg, rgb(0, 83, 135) 0%, rgba(0, 117, 190, 0.56) 64%, rgba(0, 117, 190, 0.43) 100%);
  }

  .home-banner-content {
    max-width: 100%;
  }

  .home-service-section {
    --home-service-card-overlap: 60px;
    padding-bottom: 56px;
  }

  .home-service-image-wrap {
    height: 310px;
  }

  .home-service-card {
    border-radius: 16px 16px 24px 24px;
  }
}