/* 4K */
@media (min-width: 2500px) {
  .hero-content-wrapper {
    max-width: 80%;
  }
  .hero-section {
    padding: 7% 0 10% 0;
  }
}

/* Full HD */
@media (min-width: 1920px) and (max-width: 2499px) {
  .hero-content-wrapper {
    max-width: 60%;
  }
}

/* Large Desktop */
@media (min-width: 1441px) and (max-width: 1919px) {
  .hero-content-wrapper {
    max-width: 60%;
  }
}

/* Desktop */
@media (min-width: 1281px) and (max-width: 1440px) {
  .hero-content-wrapper {
    max-width: 60%;
  }
  input.wpcf7-form-control.wpcf7-submit {
    margin-top: 20px;
  }
}

/* Tablet (landscape) or small laptop */
@media (min-width: 1025px) and (max-width: 1280px) {
  .hero-content-wrapper {
    max-width: 60%;
  }
}

@media (max-width: 1199px) {
  :root {
    --font-xxl: 48px;
  }
  .navbar-expand-lg .navbar-nav .nav-link{
    font-size: var(--font-14);
    padding-left: .3rem;
    padding-right: .3rem;
  }
}

/* iPad Pro (1024px) */
@media (min-width: 992px) and (max-width: 1024px) {
  /* Typography adjustments for iPad Pro */
  :root {
    --font-xxl: 48px;
    --font-xl: 42px;
    --font-lg: 24px;
    --font-md: 20px;
    --font-20: 18px;
  }

  /* Header & Navigation */
  .logo-img {
    height: 38px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    font-size: var(--font-13);
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }

  header .btn-outline-primary {
    padding: 0.5rem 1rem;
    font-size: var(--font-14);
  }

  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding: 4% 0 8% 0;
  }

  .hero-content-wrapper {
    max-width: 70%;
  }

  .hero-right-image {
    width: calc(100% - 65%);
    top: 8%;
  }

  .btn-secondary {
    padding: 16px 32px;
  }

  .btn-bite {
    padding-right: 70px;
  }

  .btn-bite span {
    padding: 16px 25px;
    font-size: var(--font-16);
  }

  .btn-bite:after {
    width: 58px;
    height: 57.8px;
    right: 16px;
  }

  /* Proven Experience Section */
  .proven-experience-section {
    margin-top: -100px;
  }

  .orange-border-top-card {
    padding: 25px 30px;
  }

  .proven-experience-section p:first-letter {
    font-size: 60px;
  }

  /* Quick Highlights */
  .quick-highlight-col {
    padding: 1.5rem !important;
  }

  .quick-highlight-img-card {
    width: 66px;
    height: 66px;
  }

  .quick-highlight-img {
    width: 35px;
    height: 35px;
  }

  /* Bulldog Bite Section */
  .bulldog-bite-section {
    padding: 6% 0 2%;
  }

  .bulldog-bite-section:before {
    bottom: -45px;
    left: -40px;
    background-size: 90%;
  }

  .bulldog-bite-section:after {
    width: 180px;
    height: 175px;
    background-size: 110px;
  }

  .bulldog-claim-process {
    padding-left: 35px;
  }

  .steps-number {
    width: 34px;
    height: 34px;
    font-size: var(--font-20);
    margin-right: 18px;
  }

  .steps-content h4 {
    font-size: var(--font-20);
  }

  .steps-content p {
    font-size: var(--font-14);
  }

  /* Track Records */
  .track-records-section {
    padding: 3% 0;
  }

  .track-records-col {
    min-width: 32%;
  }

  .track-records-col-img-card {
    width: 60px;
    height: 60px;
  }

  .track-records-img {
    width: 32px;
    height: 32px;
  }

  /* Damage Handle Section */
  .damage-handle-col {
    padding: 1.5rem !important;
  }

  /* Google Reviews Widget */
  .Grid__GridContainer-sc-18948e20-0.cePTRE,
  .es-grid-layout {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  #elfsight-google-review-widget .HeaderWriteReviewButton__Component-sc-275e4878-0.mrXQz.es-header-write-review-button-container {
    position: absolute;
    right: 0;
    top: -75px;
  }

  button.ButtonBase__ButtonContainer-sc-2b567eb2-3.daLTkD.HeaderWriteReviewButton__WriteReviewButton-sc-275e4878-1.jcSCgO.es-header-write-review-button {
    padding: 8px 14px !important;
    font-size: var(--font-16) !important;
  }

  /* Coverage Map */
  .state-tags {
    gap: 8px 10px;
  }

  .state-tags .tag {
    font-size: var(--font-14);
    padding: 6px 10px;
  }

  #usMapHolder svg {
    max-width: 100%;
  }

  /* Footer */
  footer {
    padding: 4% 0 3%;
  }

  footer:before {
    width: 55%;
    bottom: -50px;
    left: -45px;
    background-size: 90%;
  }

  .footer-logo {
    width: 45%;
  }

  .footer-contact-section {
    padding: 3% 0 2%;
  }

  .contact-details li {
    font-size: var(--font-14);
    margin: 8px 0;
  }

  .footer-links li {
    font-size: var(--font-14);
    margin-right: 15px;
  }

  .footer-social .social-icon {
    font-size: var(--font-16);
    margin: 0 12px 0 0;
  }

  /* Form Adjustments */
  .form-card {
    padding: 2rem 1.5rem;
  }

  .form-card:after {
    width: 100px;
    height: 50px;
    right: 32px;
    background-size: contain;
  }

  .form-control {
    font-size: var(--font-14);
    padding: 0.6rem 0.75rem;
  }

  .form-card label {
    font-family: var(--font-roboto);
    font-size: 13px;
    font-weight: var(--fw-400);
  }

  textarea.form-control {
    height: 100px;
  }

  .btn-warning {
    font-size: var(--font-14);
    padding: 0.6rem 1.2rem;
  }

  /* Modal adjustments */
  .modal-dialog {
    max-width: 90%;
  }

  .modal-body {
    max-height: 550px;
  }

  .modal-table th,
  .modal-table td {
    font-size: var(--font-12);
    padding: 0.5rem;
  }

  /* Utility classes for iPad Pro */
  .container {
    max-width: 960px;
  }

  /* Carousel adjustments */
  .carousel-item.active .col-md-4,
  .carousel-item .col-md-4 {
    max-width: 260px;
    flex: 0 0 260px;
  }
}

@media (max-width: 991px) { 
  .hero-left-section .btn-secondary{
    width:100% !important;
  }

  .btn-bite {
    margin-top: 22px;
    margin-left: 0 !important;
    padding-right: 62px;
  }

  .btn-bite:after{
    height: 75px;
    right: 0; 
  }
}
/* Tablet Screens (>= 576px and < 992px) - */
@media (min-width: 576px) and (max-width: 991px) {
  /* Typography from 767px */
  :root {
    --font-lg: 28px;
    --font-xxl: 30px;
    --font-md: 18px;
    --font-xl: 32px;
    --border-radius16: 12px;
  }

  .btn-bite span {
    padding-top: 23px; 
    padding-left: 90px!important;
    padding-bottom: 23px; 
  }

  /* Display utilities */
  .d-mobile-none {
    display: none;
  }

  .d-mobile-show {
    display: block !important;
  }

  /* Utility Classes */
  .res-flex-wrap {
    flex-wrap: wrap;
  }

  .res-flex-nowwrap {
    flex-wrap: nowrap;
  }

  .res-scrollbar {
    overflow-x: auto;
    /* padding: 5px; */
    padding: 12px;
  }

  .res-mt-0 {
    margin-top: 0 !important;
  }

  .res-ms-0 {
    margin-left: 0 !important;
  }

  .res-mb-0 {
    margin-bottom: 0 !important;
  }

  .res-pt-2 {
    padding-top: 1rem !important;
  }

  .res-pb-0 {
    padding-bottom: 0 !important;
  }

  .res-px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .res-text-center {
    text-align: center;
  }

  .res-w-100 {
    width: 100%;
  }

  .gy-5 {
    --bs-gutter-y: 0;
  }

  .mt-xs-3 {
    margin-top: 2rem;
  }

  .mt-xs-5 {
    margin-top: 3rem;
  }

  /* Header from 480px */
  .logo-img {
    height: 40px;
  }

  header .btn-outline-primary {
    border: 0;
    justify-content: end;
  }

  header .btn-outline-primary:hover,
  header .btn-outline-primary:focus {
    background: transparent;
    color: var(--primary-color);
  }

  header .btn-outline-primary:hover svg {
    fill: var(--primary-color);
  }

  /* Force navbar to collapse like mobile */
  .navbar-expand-lg > .container,
  .navbar-expand-lg > .container-fluid {
    flex-wrap: wrap;
  }

  .navbar-expand-lg .navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
  }

  .navbar-toggler {
    display: block;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: column;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
  }

  /* Hero Section from 767px */
  .hero-left-section .d-flex.res-flex-wrap {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .btn-secondary {
    padding: 18px 40px;
    width: auto !important;
    min-width: 280px;
    max-width: 100%;
    display: block;
    text-align: center;
  }

  .hero-section {
    min-height: auto;
    padding: 25px 0 25px;
    align-items: flex-start !important;
  }

  .hero-content-wrapper {
    max-width: 100%;
  }

  .hero-left-section {
    order: 2;
    margin-top: 25px;
  }

  .hero-right-section {
    width: 100%;
  }

  .hero-right-image {
    position: relative;
    right: 0;
    z-index: -1;
    top: 0;
    width: 100%;
    left: 0;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
  }

  /* Proven Experience Section */
  .show-more-btn {
    display: block;
    margin: 15px 0;
    width: 100%;
    font-family: var(--font-intro-bold);
  }

button.ButtonBase__ButtonContainer-sc-2b567eb2-3.daLTkD.es-load-more-button {width: 100%!important;}
span.ButtonBase__Ellipsis-sc-2b567eb2-5.eDohHB{font-size: 16px!important;}

  .proven-experience-text .content-to-toggle {
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .content-to-toggle {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    margin: 0;
  }

  .proven-experience-text .show-more-btn {
    display: block;
  }

  .proven-experience-text .show-more-btn.show-less {
    display: block;
  }

  .orange-border-top-card {
    padding-left: 0;
    padding-right: 0;
  }

  .proven-experience-section {
    margin-top: -48px;
    border-left: 1px solid var(--grey-color);
    border-right: 1px solid var(--grey-color);
    border-radius: 0 0 var(--border-radius16) var(--border-radius16);
  }

  .proven-experience-section p:first-letter {
    font-size: 40px;
    -webkit-initial-letter: 2;
  }

  /* Quick Highlights */
  section.quick-highlight-section.py-5.my-3 {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .quick-highlight-row {
    margin-top: 1rem;
  }

  .quick-highlight-img {
    width: 30px;
    height: 30px;
  }

  .quick-highlight-img-card {
    width: 62px;
    height: 62px;
  }

  .quick-highlight-row .col-lg-6:nth-child(1) .quick-highlight-col {
    border-top-left-radius: var(--border-radius16);
    border-top-right-radius: var(--border-radius16);
  }

  .quick-highlight-row .col-lg-6:nth-child(2) .quick-highlight-col {
    border-top-right-radius: 0;
  }

  .quick-highlight-row .col-lg-6:nth-child(3) .quick-highlight-col {
    border-bottom-left-radius: 0;
  }

  .quick-highlight-row .col-lg-6:nth-child(4) .quick-highlight-col {
    border-bottom-left-radius: var(--border-radius16);
    border-bottom-right-radius: var(--border-radius16);
  }

  /* Bulldog Bite Section */
  .bulldog-bite-section:after {
    width: 170px;
    height: 153px;
    top: -1px;
    background-size: 110px;
  }

  .bulldog-bite-section {
    background: linear-gradient(180deg, rgba(43, 80, 163, 1) 0%, rgba(31, 39, 89, 1) 88%);
  }

  .bulldog-claim-process {
    margin-left: 0;
    padding-left: 0;
  }

  .bulldog-bite-section:before {
    background-size: contain;
    left: 0;
    right: 0;
    bottom: 20%;
  }

  /* About Us Section */
  .about-us-section {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }

  .about-us-section .orange-border-top-card {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    margin-top: 1rem;
  }

  /* Track Records Section */
  .track-records-row .track-records-col:last-child {
    border-left: 0;
    border-top: 1px solid var(--grey-color);
  }

  .track-records-col {
    min-width: 100%;
  }

  .track-records-section {
    padding: 10% 0;
    margin-bottom: 0 !important;
  }

  /* Damage Handle Section */
  .damage-handle-col {
    width: auto;
  }

  .damage-handle-row .damage-handle-col:nth-child(1) {
    border-top-left-radius: var(--border-radius16);
    border-bottom-left-radius: var(--border-radius16);
  }

  .damage-handle-row .damage-handle-col:nth-child(5) {
    border-top-right-radius: 0;
  }

  .damage-handle-row .damage-handle-col:last-child {
    border-top-right-radius: var(--border-radius16);
    border-bottom-right-radius: var(--border-radius16);
    min-width: 170px;
  }

  /* Google Reviews */
  .Grid__GridContainer-sc-18948e20-0.cePTRE,
  .es-grid-layout {
    /* grid-template-columns: repeat(2, minmax(0px, 1fr)) !important; */
    gap: 15px !important;
  }

  .HeaderContainer__Inner-sc-4da6b4d0-0.dqKgxA.es-header-container.HeaderComponent__StyledHeader-sc-82145d0b-0.hMUqhT, .rpfyV {
    background: transparent !important;
    padding: 20px 0 30px!important;
    gap: 0;
  }

  #elfsight-google-review-widget .HeaderWriteReviewButton__Component-sc-275e4878-0.mrXQz.es-header-write-review-button-container {
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
  }
  
  span.ButtonBase__Overlay-sc-2b567eb2-4.heqffG {
    padding: 0!important;
  }

  .button.ButtonBase__ButtonContainer-sc-2b567eb2-3.daLTkD.HeaderWriteReviewButton__WriteReviewButton-sc-275e4878-1.jcSCgO.es-header-write-review-button {
    padding: 8px 16px!important;
  }

  button.ButtonBase__ButtonContainer-sc-2b567eb2-3.daLTkD.HeaderWriteReviewButton__WriteReviewButton-sc-275e4878-1.jcSCgO.es-header-write-review-button, #elfsight-google-review-widget button.ButtonBase__ButtonContainer-sc-2b567eb2-3.daLTkD.es-load-more-button {
    width: 100% !important;
  }

  #elfsight-google-review-widget button.es-header-write-review-button,
  #elfsight-google-review-widget button.es-load-more-button {
    width: 100% !important;
    box-sizing: border-box;
    padding: 5px 0!important;
    display: block; 
  }

  /* Coverage Map */
  /* For horizontal scroll, uncomment below and comment the show more section */
  /* .coverage-map {
    overflow-y: auto;
    padding: 5px 0;
  }
  .state-tags {
    flex-wrap: nowrap;
    gap: 10px 8px;
  } */

  /* For show more/less functionality */
  .coverage-map {
    overflow: hidden;
    padding: 5px 0;
    max-height: 96px;
    transition: max-height 0.5s ease-out;
  }

  .coverage-map.expanded {
    max-height: 1000px;
  }

  .state-tags {
    flex-wrap: wrap;
    gap: 10px 8px;
  }

  .state-tags .tag {
    white-space: nowrap;
  }

  #toggleStateTagsBtn {
    display: block !important;
    margin: 15px 0;
    width: 100%;
    font-family: var(--font-intro-bold);
  }

  #usMapHolder svg {
    max-width: 100%;
  }

  /* Footer */
  footer {
    padding: 15% 0 5%;
    background: linear-gradient(180deg, rgba(43, 80, 163, 1) 0%, rgba(31, 39, 89, 1) 88%);
    position: relative;
    overflow-x: hidden;
  }

  footer:after {
    background: url(../images/bulldog-adjusters-bite-res-footer-image.svg) no-repeat center top;
    position: absolute;
    height: 120px;
    left: 0;
    content: '';
    right: 0;
    top: -57px;
    width: 120px;
    z-index: 0;
    margin: 0 auto;
  }

  footer:before {
    height: 27%;
    bottom: auto;
    left: auto;
    content: '';
    right: -92px;
    top: 25%;
    background-size: 400px;
    width: 100%;
    z-index: 0;
  }

  .footer-contact-section {
    padding: 7% 0 0;
  }

  .contact-details {
    order: 2;
    width: 100%;
    flex: 100%;
    margin-bottom: 30px;
  }

  .footer-social {
    order: 2;
    margin-top: 10px;
  }

  .footer-links {
    margin: 0 0 15px;
    order: 3;
    gap: 15px;
  }

  .footer-links li {
    margin-right: 5px;
    width: auto;
    white-space: nowrap;
    font-size: 13px;
  }

  .footer-links li:after {
    top: 5px;
    right: -12px;
    height: 10px;
  }

  .res-flex-column-none {
    flex-direction: inherit !important;
    flex-wrap: wrap;
    justify-content: space-between !important;
  }

  /* Form Card */
  .form-card:after {
    display: none;
  }

  .wpcf7-form .d-flex.align-items-center.res-w-100.res-flex-column-none {
    flex-direction: initial !important;
    width: 100%;
    justify-content: space-between;
  }

  .wpcf7-form .d-flex.align-items-center.res-w-100.res-flex-column-none p {
    width: 50%;
  }

  .wpcf7-form p {
    width: 100%;
  }

  input.wpcf7-form-control.btn.btn-warning {
    margin-top: 30px;
    margin-bottom: 0;
  }

  /* Modal from 480px */
  .modal-dialog {
    margin: 0 auto;
    max-width: 80%;
    width: auto;
    transition: transform 0.5s ease-out;
    transform: translate3d(0, 100vh, 0);
  }

  .modal {
    top: auto;
    bottom: 0;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .modal.show {
    height: 80%;
  }

  .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .modal.show .modal-dialog {
    transform: translate3d(0, 0, 0);
  }

  .modal-body {
    height: 526px;
    overflow-y: scroll;
    overflow-x: hidden;
  }
}

/* Mobile (landscape) */
@media (max-width: 767px) { 

  :root{
    --font-lg: 28px;
    --font-xxl: 30px;
    --font-md: 20px;
    --font-xl: 32px;
  }
  .d-mobile-none{
    display: none;
  }
  .d-mobile-show{
    display: block !important;
  }
  .res-flex-wrap{
    flex-wrap: wrap;
  }
  .res-flex-nowwrap{
    flex-wrap: nowrap;
  }
  .res-scrollbar{
    overflow-x: auto;
    padding: 5px;
    /* padding: 12px; */
  }
  .res-mt-0{
    margin-top: 0 !important;
  }
  .res-ms-0{
    margin-left: 0 !important;
  }
  .res-mb-0{
    margin-bottom: 0 !important;
  }
  .res-pt-2{
    padding-top: 1rem !important;
  }
  .res-pb-0{
    padding-bottom: 0 !important;
  }
  .res-px-0{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
.res-text-center{
  text-align: center;
}
.res-w-100{
  width: 100%;
}
  .gy-5 {
    --bs-gutter-y: 0;
  }

  .hero-left-section .d-flex.res-flex-wrap {
    flex-direction: column;
  }

  a.btn.btn-bite-new {
    margin-top: 22px;
    margin-left: 0;
    margin-right: 0;
    padding: 23px 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    display: block;
    text-align: center;
  }

  .btn-bite:after{
    height: 78px;
    right: 0; 
  }
  
  .hero-section{
    padding: 25px 0 25px;
    align-items: flex-start !important;
  }
  .hero-content-wrapper {
    max-width: 100%;
  }
  .hero-left-section {
    order: 2;
    margin-top: 40px;
  }
  .hero-left-section h4{line-height: 24px;}
  .hero-right-section {
    width: 100%;
  }
  .hero-right-image {
    position: relative;
    right: 0;
    z-index: -1;
    top: 0;
    width: 100%;
    left: 0;
  }
  .show-more-btn {
    display: block;
    margin: 15px 0;
    width: 100%;
    font-family: var(--font-intro-bold);
  }
  .proven-experience-text .content-to-toggle {
    max-height: 100px; /* Limit the height on mobile */
    overflow: hidden; /* Hide content that exceeds the max-height */
    transition: max-height 0.3s ease-out; /* Smooth transition for expanding content */
  }
.content-to-toggle {
  max-height: 0; /* Limit the height of content initially */
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  margin: 0;
}
  .proven-experience-text .show-more-btn {
    display: block;
  }

  .proven-experience-text .show-more-btn.show-less {
    display: block;
  }
  .orange-border-top-card{
    padding-left: 0;
    padding-right: 0;
  }
  .proven-experience-section {
    margin-top: -48px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}
.proven-experience-section p:first-letter{
  font-size: 40px;
   -webkit-initial-letter: 2;
}
section.quick-highlight-section.py-5.my-3{
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.quick-highlight-row{
  margin-top: 1rem;
}
.quick-highlight-img {
    width: 30px;
    height: 30px;
}
.quick-highlight-img-card {
    width: 62px;
    height: 62px;
}

.bulldog-bite-section:after {
    width: 170px;
    height: 153px;
    top: -1px;
    background-size: 110px;
}
.bulldog-bite-section {
  background: linear-gradient(180deg, rgba(43, 80, 163, 1) 0%, rgba(31, 39, 89, 1) 88%);
}
.bulldog-claim-process {
    margin-left: 0;
    padding-left: 0;
}
.bulldog-bite-section:before {
    background-size: contain;
    left: 0;
    right: 0;
    bottom: 20%;
}
.about-us-section {
    margin-bottom: 0 !important;
}
.about-us-section .orange-border-top-card{
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  margin-top: 1rem;
}

.quick-highlight-row .col-lg-6:nth-child(1) .quick-highlight-col{
  border-top-left-radius: var(--border-radius16);
  border-top-right-radius: var(--border-radius16);
}

.quick-highlight-row .col-lg-6:nth-child(2) .quick-highlight-col{
  border-top-right-radius: 0;
}

.quick-highlight-row .col-lg-6:nth-child(3) .quick-highlight-col{
  border-bottom-left-radius: 0;
}

.quick-highlight-row .col-lg-6:nth-child(4) .quick-highlight-col{
  border-bottom-left-radius: var(--border-radius16);
  border-bottom-right-radius: var(--border-radius16);
}


  .track-records-row .track-records-col:last-child{
    border-left: 0;
    border-top: 1px solid var(--grey-color);
  }
  .track-records-col {
      min-width: 100%;
  }
  .track-records-section{
    padding: 15% 0;
    margin-bottom: 0 !important;
  }
  
  .damage-handle-col {
      width: auto;
  }
  .damage-handle-row .damage-handle-col:nth-child(1) {
    border-top-left-radius: var(--border-radius16);
    border-bottom-left-radius: var(--border-radius16);
  }

  .damage-handle-row .damage-handle-col:nth-child(5) {
    border-top-right-radius: 0;
  }
  .damage-handle-row .damage-handle-col:last-child{
    border-top-right-radius: var(--border-radius16);
    border-bottom-right-radius: var(--border-radius16);
    min-width: 170px;
  }
  .HeaderContainer__Inner-sc-4da6b4d0-0.dqKgxA.es-header-container.HeaderComponent__StyledHeader-sc-82145d0b-0.hMUqhT{
    background: transparent !important;
    padding: 20px 0 30px;
    gap: 0;
  }
  #elfsight-google-review-widget .HeaderWriteReviewButton__Component-sc-275e4878-0.mrXQz.es-header-write-review-button-container {
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
}
button.ButtonBase__ButtonContainer-sc-2b567eb2-3.daLTkD.HeaderWriteReviewButton__WriteReviewButton-sc-275e4878-1.jcSCgO.es-header-write-review-button{
  width: 100% !important;
  font-size: 16px!important;
}
  #elfsight-google-review-widget button.es-header-write-review-button,
  #elfsight-google-review-widget button.es-load-more-button {
    width: 100% !important;
    box-sizing: border-box;
    padding: 5px 0!important;
    display: block; 
    font-size: 16px!important;
  }
/* For horizontal scroll, uncomment below and comment the show more section */
/* .coverage-map {
    overflow-y: auto;
    padding: 5px 0;
}
.state-tags {
    flex-wrap: nowrap;
    gap: 10px 8px;
} */

/* For show more/less functionality */
.coverage-map {
    overflow: hidden;
    padding: 5px 0;
    max-height: 96px;
    transition: max-height 0.5s ease-out;
}
.coverage-map.expanded {
    max-height: 1000px;
}
.state-tags {
    flex-wrap: wrap;
    gap: 10px 8px;
}
.state-tags .tag{
  white-space: nowrap;
}
#toggleStateTagsBtn {
    display: block !important;
    margin: 15px 0;
    width: 100%;
    font-family: var(--font-intro-bold);
}
  #usMapHolder svg {
    max-width: 100%;
  }
  footer{
    padding: 20% 0 5%;
    background: linear-gradient(180deg, rgba(43, 80, 163, 1) 0%, rgba(31, 39, 89, 1) 88%);
    position: relative;
    overflow-x: hidden;
  }
  footer:after {
    background: url(../images/bulldog-adjusters-bite-res-footer-image.svg) no-repeat center top;
    position: absolute;
    height: 120px;
    left: 0;
    content: '';
    right: 0;
    top: -57px;
    width: 120px;
    z-index: 0;
    margin: 0 auto;
  }
  footer:before {
    height: 27%;
    bottom: auto;
    left: auto;
    content: '';
    right: -92px;
    top: 25%;
    background-size: 400px;
    width: 100%;
    z-index: 0;
  }
  .footer-contact-section {
      padding: 7% 0 0;
  }
  .contact-details {
      order: 2;
      width: 100%;
      flex: 100%;
      margin-bottom: 30px;
  }
  .footer-social {
    order: 2;
    margin-top: 10px;
  }
  .footer-links {
    margin: 0 0 15px;
    order: 3;
    gap: 15px;
}
.footer-links li {
    margin-right: 5px;
    width: auto;
    white-space: nowrap;
    font-size: 13px;
}
.footer-links li:after{
  top: 5px;
  right: -12px;
  height: 10px;
}
  .res-flex-column-none{
    flex-direction: inherit !important;
    flex-wrap: wrap;
    justify-content: space-between !important;
  }
  .form-card:after{
    display: none;
  }
 .wpcf7-form .d-flex.align-items-center.res-w-100.res-flex-column-none{
    flex-direction: initial !important;
    width: 100%;
    justify-content: space-between;
  }
  .wpcf7-form .d-flex.align-items-center.res-w-100.res-flex-column-none p{
    width: 50%;
  }
  .wpcf7-form p{
    width: 100%;
  }
  input.wpcf7-form-control.btn.btn-warning {
    margin-top: 30px;
    margin-bottom: 0;
}
.no-padding-mobile{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#eapps-faq-1.eapps-faq-layout-accordion .eapps-faq-content-category-items,
#eapps-faq-2.eapps-faq-layout-accordion .eapps-faq-content-category-items, 
.eapps-faq-template-bg-border.eapps-faq-layout-accordion .eapps-faq-container .eapps-faq-inner .eapps-faq-content-category-items .eapps-faq-content-category-item:first-child, .eapps-faq-layout-accordion.eapps-faq-template-bg-border .eapps-faq-content-category-item:first-child:before,
.eapps-faq-template-bg-border.eapps-faq-layout-accordion .eapps-faq-container .eapps-faq-inner .eapps-faq-content-category-items .eapps-faq-content-category-item:last-child, .eapps-faq-layout-accordion.eapps-faq-template-bg-border .eapps-faq-content-category-item:last-child:before, #elfsight-faq-widget .eapps-faq-layout-accordion.eapps-faq-template-bg-border .eapps-faq-content-category-item:nth-child(4):before {
  border-radius: 0px!important;
}

}

@media (max-width: 576px) {
  .Grid__GridContainer-sc-18948e20-0.cePTRE,
  .es-grid-layout {
      grid-template-columns: 1fr !important;
      gap: 15px !important;
      width: 100% !important;
      max-width: 100% !important;
  }

  header .btn-outline-primary {
    border: 0;
    justify-content: end;
  }

  .hero-left-section .d-flex.res-flex-wrap {
    align-items: center;
  }

  .btn-secondary {
    padding: 23px 40px;
    width: auto !important;
    min-width: 280px;
    max-width: 100%;
    display: block;
    text-align: center;
  }

  .btn-bite span {
    padding-top: 23px; 
    padding-left: 90px!important;
    padding-bottom: 23px; 
  }
  .btn-bite:after {
      height: 78px;
  }

  .hero-left-section .d-flex.res-flex-wrap {
    flex-direction: column;
  }

  a.btn.btn-bite-new {
    margin-top: 22px;
    margin-left: 0;
    margin-right: 0;
    padding: 23px 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    display: block;
    text-align: center;
  }

  .hero-section{min-height: auto;}
  span.ButtonBase__Overlay-sc-2b567eb2-4.heqffG{padding: 0!important;}
  button.ButtonBase__ButtonContainer-sc-2b567eb2-3.daLTkD.es-load-more-button {width: 100%!important;}
  span.ButtonBase__Ellipsis-sc-2b567eb2-5.eDohHB{font-size: 16px!important;}
}

/* Mobile (portrait) */
@media (max-width: 480px) { 
  :root{
    --border-radius16: 12px;
    --font-xxl: 31px;
  }
  .mt-xs-3{
    margin-top: 2rem;
  }
  .mt-xs-5{
    margin-top: 3rem;
  }
  .logo-img {
    height: 40px;
  }
  .res-w-100 {
    width: 100%;
  }

  .hero-left-section .d-flex.res-flex-wrap {
    align-items: stretch !important;
  }

  .btn-secondary {
    padding: 16px 0;
    width: 100% !important;
    min-width: auto;
    max-width: 100%;
    display: block;
    text-align: center;
  }
  .btn-bite span {
    padding-top: 16px;
    padding-left: 90px!important;
    padding-bottom: 16px;
  }
  .btn-bite:after {
    height: 64px;
  }

  .hero-left-section .d-flex.res-flex-wrap {
    flex-direction: column;
  }

  a.btn.btn-bite-new {
    padding: 16px 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: 22px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    display: block;
    text-align: center;
  }

  header .btn-outline-primary{
    border: 0;
    justify-content: end;
  }
  header .btn-outline-primary:hover, header .btn-outline-primary:focus{
    background: transparent;
    color: var(--primary-color);
  }
  header .btn-outline-primary:hover svg {
      fill: var(--primary-color);
  }
  .hero-right-image {
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
  }

  /* Modal dialog starts at the bottom of the screen */
  .modal-dialog {
    margin: 0;
    max-width: 100%;
    width: auto;
    transition: transform 0.5s ease-out; /* Smooth sliding transition */
    transform: translate3d(0, 100vh, 0); /* Positions it below the viewport */
  }

  .modal{
    top: auto;
    bottom: 0;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;

  }
  .modal.show{
    height: 80%;
  }
  /* Optional: Darker backdrop for mobile devices */
  .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
  }
    /* Target state: modal is in its normal position */
    .modal.show .modal-dialog {
        transform: translate3d(0, 0, 0); /* Brings it to the center */
    }
    .modal-body {
      height: 526px;
      overflow-y: scroll;
      overflow-x: hidden;
    }

    span.ButtonBase__Overlay-sc-2b567eb2-4.heqffG{padding: 0!important;}
  button.ButtonBase__ButtonContainer-sc-2b567eb2-3.daLTkD.es-load-more-button {width: 100%!important;}
  span.ButtonBase__Ellipsis-sc-2b567eb2-5.eDohHB{font-size: 16px!important;}

}

/* Mobile (portrait) */
@media (max-width: 410px) { 
  :root{
    --font-xxl: 26px;
  }
  .logo-img {
    height: 28px;
  }
  .btn-bite span {
    padding-top: 12px;
    padding-left: 90px!important;
    padding-bottom: 12px;
  }
  .btn-bite:after {
    height: 56px;
  }
  .hero-left-section .d-flex.res-flex-wrap {
    flex-direction: column;
  }

  a.btn.btn-bite-new {
    padding: 12px 0;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    display: block;
    text-align: center;
  }
  .btn-secondary{
    padding: 12px 0;
  }
  .hero-right-image {
    height: 200px;
  }
  span.ButtonBase__Overlay-sc-2b567eb2-4.heqffG{padding: 0!important;}
button.ButtonBase__ButtonContainer-sc-2b567eb2-3.daLTkD.es-load-more-button {width: 100%!important;}
span.ButtonBase__Ellipsis-sc-2b567eb2-5.eDohHB{font-size: 16px!important;}
}

@media (max-width: 390px){
  :root{
    --font-md: 18px;
    --font-xxl: 26px;
  }
  .btn-bite:after {
    height: 53px;
  }
}

