/* Hero section base styles (Desktop) */
.hero-wrapper.hero-1 {
  background:
    linear-gradient(131deg, #003c61, #003c61de, #003c6173, #003c613a, #01853c),
    url("../img/hero/hero.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .header-logo img {
    max-height: 40px !important;
    max-width: 220px !important;
  }
  .nav-header {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
  .nav-header .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .hero-wrapper.hero-1 {
    background: #003c61 !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    min-height: auto !important;
  }

  .hero-wrapper.hero-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    background:
      linear-gradient(to bottom, rgba(0, 60, 97, 0) 50%, #003c61 95%),
      linear-gradient(
        131deg,
        #003c61,
        #003c61f1,
        #003c61af,
        #003c6100,
        #01853c
      ),
      url("../img/hero/hero.webp");
    background-position: 40% 0%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
  }

  .hero-style1 {
    margin-top: 0 !important;
    text-align: left;
  }
  .hero-style1 .sub-title {
    margin-left: 0;
    margin-right: auto;
  }
  .hero-title {
    font-size: 28px !important;
    text-shadow:
      1px 1px 4px rgba(0, 0, 0, 0.8),
      2px 2px 10px rgba(0, 0, 0, 0.6) !important;
  }
  .hero-title span {
    font-size: 16px !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8) !important;
  }
  .hero-text {
    font-size: 14px !important;
    margin-bottom: 20px !important;
    text-shadow:
      1px 1px 3px rgba(0, 0, 0, 0.9),
      1px 1px 5px rgba(0, 0, 0, 0.5) !important;
  }
  .hero-form-wrapper {
    margin-top: 30px !important;
  }
  .hero-form-wrapper iframe {
    height: 600px !important;
  }
  .btn-group {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 15px !important;
  }
  .btn-group .global-btn {
    width: 100%;
    justify-content: center;
  }
  .google-rating-badge {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .header-logo img {
    max-height: 35px !important;
    max-width: 180px !important;
  }

  .hero-wrapper.hero-1::before {
    background-position: 20% 0%;
    height: 80vh;
  }
  .hero-title {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }
  .hero-title span {
    font-size: 18px !important;
    margin-top: 18px !important;
  }
  .hero-text {
    font-size: 14px !important;
  }
}
