@media (min-width:1580px) {
  .testimonial-slider .slick-next {
    right: -90px;
  }

  .testimonial-slider .slick-prev {
    left: -90px;
  }
}

@media (min-width: 768px) {
  .country-list-wrapper {
    column-count: 2;
  }

  .lei-services:has(.tabs) h2 {
    float: inline-start;
    margin-bottom: 0;
    margin-top: 8px;
  }

}

@media (min-width: 1024px) {
  .country-list-wrapper {
    column-count: 4;
  }

  .contact-form-sec .contact--info {
    padding-right: 50px;
  }
}

@media (max-width:1360px) {

  .banner-slider .slider-container {
    padding-right: 45px;
    padding-left: 45px;
  }

  .banner-slider .slick-next {
    right: -35px;
  }

  .banner-slider .slick-prev {
    left: -35px;
  }

  .main-nav ul {
    gap: 20px;
  }
}

@media (max-width:1099px) {
  .search-button span {
    display: none;
  }

  .space80 {
    padding: 60px 0;
  }
}

@media(min-width: 992px) {
  .with-logos .img-with-media-wrapper.reverse .media-container {
    width: 296px;
    max-width: 296px;
    flex: 1 1 296px;
  }

  .with-logos .img-with-media-wrapper.reverse .info-content {
    width: calc(100% - 296px);
    max-width: calc(100% - 296px);
    flex: 1 1 calc(100% - 296px);
  }
}

@media (max-width: 991px) {
  h1 {
    font-size: 32px;
    letter-spacing: -0.72px;
  }

  h2 {
    font-size: 28px;
    letter-spacing: -0.56px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 15px;
  }

  .img-with-media-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .info-content,
  .media-container {
    flex: 1 1 100%;
  }

  .main-nav ul {
    gap: 5px;
    justify-content: center;
  }

  .search-button span {
    display: none;
  }

  .header-actions {
    max-width: 200px;
  }

  nav.main-nav {
    max-width: 380px;
    width: 100%;
  }

  .search-button {
    margin-right: 5px;
  }

  .logo {
    max-width: 150px;
    width: 100%;
  }

  .google-reviews {
    max-width: 300px;
    width: 100%;
  }

  .hero-container {
    justify-content: center;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero-content {
    padding: 34px 0 40px 0;
  }

  .img-with-media-wrapper .info-content {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .media-container {
    max-width: 100%;
  }

  .step-progress {
    gap: 24px;
  }

  .step-item:nth-child(2) {
    flex: 0 0 457px;
  }

  .about-lei-company {
    background-position: calc(100% - -300px) bottom;
    background-size: contain;
  }

  .hero-container:not(:has(.info-card)) {
    justify-content: left;
    /* Or flex-start */
  }

  header .btn-primary {
    font-size: 12px;
    padding: 10px 14px;
  }

  .banner-with-search form {

    width: calc(100% - 25px);
  }

  .img-with-media .media-container {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .img-with-media-wrapper.reverse {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .img-with-media-wrapper.reverse .info-content,
  .img-with-media-wrapper.reverse .media-container {
    flex: 1 1 100%;
    max-width: 100%;
  }



}

@media (max-width: 768px) {

  h1 {
    font-size: 32px;
    letter-spacing: -0.72px;
  }

  h2 {
    font-size: 24px;
    letter-spacing: -0.48px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 16px;
  }

  h5 {
    font-size: 14px;
  }


  .space80 {
    padding: 40px 0;
  }

  .title-with-subtitle p {

    font-size: 14px;
    line-height: 140%;
  }

  body:has(.mobile-bottom-nav) {
    margin-bottom: 70px;
  }

  .testimonial-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonial-card-icon {
    margin-bottom: 10px;
  }

  .tabs {
    display: flex;
    margin-bottom: 0;
    overflow-x: auto;
  }

  .tabs .tab-button {
    flex: 1;
  }

  .tab-content.active {
    display: block;
  }

  nav.main-nav {
    display: none;
  }

  .header-container {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .lei-form {
    border-radius: 16px 16px 16px 16px;
  }

  .lei-services:has(.tabs) .lei-form {
    border-radius: 0 0 16px 16px;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .search-button {
    margin-right: 0;
    width: 50px;
    z-index: 9;
    position: relative;
  }

  .search-block {
    width: 30px;
  }

  .search-block .lei-search-html-search {
    right: 0;
  }

  .search-block .lei-search-html-search.active {
    z-index: 9;
  }

  .search-block .lei-search-html-search.active input {
    width: 300px;
    z-index: 9;
  }

  .hero-container {
    justify-content: center;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero-content {
    padding: 34px 0 40px 0;
  }

  .about-content {
    width: 100%;
    flex: auto;
  }

  .google-reviews {
    max-width: 100%;
    text-align: left;
    flex: auto;
    margin-top: 40px;
    justify-content: flex-start;
  }

  .search-button img {
    width: 20px;
  }

  /* mobile nav. css */
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .mobile-bottom-nav .mobile-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .mobile-bottom-nav .menu-item {
    flex: 1;
  }

  .mobile-bottom-nav .menu-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #231f20;
    text-decoration: none;
  }

  .mobile-bottom-nav .nav-item.active,
  .mobile-bottom-nav .menu-item.current_page_item a,
  .mobile-bottom-nav .menu-item.current_page_item a:focus {
    color: rgba(248, 153, 57, 1);
  }

  .mobile-bottom-nav .menu-item a.active svg path,
  .mobile-bottom-nav .menu-item.current_page_item a svg path {
    fill: rgba(248, 153, 57, 1);
  }

  .mobile-bottom-nav .menu-item a svg {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
  }

  .faq-column {
    column-count: 1;
  }

  .img-with-media-wrapper {
    flex-direction: column;
  }

  .img-with-media-wrapper.reverse {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .banner-slider {
    background: linear-gradient(92.69deg, #F89939 -14.97%, #188943 124.12%);
  }

  .slider .slide-item {

    font-size: 24px;
    text-align: center;
  }

  .img-with-media-wrapper .info-content {
    flex: 1 1 100%;
    max-width: 100%
  }

  .info-content,
  .media-container {
    max-width: 100%;
  }

  .copyright-wrap {
    flex-wrap: wrap;
    gap: 24px;
    text-align: left;
  }

  .footer-bottom {
    margin-top: 40px;
  }


  .footer-container,
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer-links .footer-column {
    min-width: 200px
  }

  .footer-column h4 {
    font-size: 14px;
  }

  .with-logos .media-container {
    flex: 1 1 200px;
    max-width: 200px;
  }

  .form-group {
    flex-direction: column;
  }

  form h3 {
    font-size: 20px;
  }

  form h4 {
    font-size: 16px;
  }

  .lei-form .filed-wrapper {
    padding: 16px;
  }

  .tab-button {
    padding: 20px;
    font-size: 14px;
  }

  .steps-wrapper {
    flex-wrap: wrap;
    gap: 16px;
  }

  .form-steps {
    flex-wrap: wrap;
  }

  .form-steps .step {
    padding: 8px;
    /* flex: 1 1 49%; */
    font-size: 12px;
  }

  .form-steps .step span {
    width: 24px;
    height: 24px;
    font-size: 16px;
  }

  .form-footer {
    padding: 16px;
    justify-content: space-between;
    gap: 20px;
  }

  .checkbox-group label {
    align-items: flex-start;
  }

  .step-card {
    max-width: 100%;
  }

  .step-item:nth-child(2) {
    flex: 0 0 100%;
  }

  .steps-container {
    flex-direction: column;
    gap: 25px;
  }

  .thankYou-block .main-block .thankyou-icon {
    max-width: 150px;
  }

  .thankYou-block .main-block h1 {
    font-size: 40px;
  }

  .thankYou-block {
    padding: 60px 0;
  }

  .com-search-block {
    padding: 12px;
  }

  .header-actions {
    max-width: fit-content;
  }

  .hero-section:before {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01)),
      linear-gradient(180deg, rgba(13, 47, 26, 0.85) 0%, rgba(13, 47, 26, 0) 58.11%);
  }

  .country-word-block {
    gap: 25px;
  }

  .form-footer .price {
    font-size: 24px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .term-text {
    flex-wrap: wrap;
  }

  .imprint-row {
    flex-direction: column;
    align-items: center;
  }

  .imprint-row .imprint-col {
    width: 100%;
  }

  .imprint-section,
  .contact-form-sec {
    padding: 64px 0;
  }

  .imprint-section-title {
    text-align: center;
    font-size: 42px;
  }

  .contact-form-sec .contact--info,
  .contact-form {
    width: 100%;
  }

  .contact--info p {
    font-size: 16px;
    line-height: normal;
    margin-bottom: 1rem;
  }

}

@media (max-width:576px) {
  .footer-branding address {
    max-width: 100%;
  }

  .footer-container,
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial-slider {
    overflow: hidden;
  }

  .testimonial-slider .slider .slick-list {
    overflow: visible;
  }

  .testimonial-slider .slick-slide {
    padding: 0 10px;
    box-sizing: border-box;
  }

  .testimonial-slider .slick-slide>div {
    box-sizing: border-box;
  }

  .testimonial-card {
    width: 350px;
  }

  .footer-links .footer-column {
    min-width: 150px;
  }

  .banner-with-search form {
    flex-direction: column;
    padding: 12px;
    width: calc(100% - 25px);
  }

  .banner-with-search form .serach-input {
    width: 100%;
    margin-bottom: 10px;
  }

  .banner-with-search form button {
    width: 100%;
  }

  .continenet-wrapper a {
    min-width: auto;
    width: 100%;
  }

  .banner-with-search {
    padding: 60px 0;
  }

  .banner-with-search .title-block {
    margin-bottom: 20px;
  }

  .info-row {
    gap: 8px;
  }

  .info-label {
    flex: 0 0 125px;
  }

  .com-search-block {
    flex-direction: column;
    gap: 16px;
  }

  .com-search-block button {
    width: 100%;
  }

  .hero-buttons {
    gap: 10px;
  }

  .btn-primary,
  .btn-transparent {
    padding: 10px 20px;
  }

  .step-numbers {
    font-size: 18px;
  }

  .media-container {
    padding: 16px;
  }

  .location-info select {
    max-width: 100%;
    width: 100%;
  }

  input[type=date] {
    width: 100% !important;
    max-width: -webkit-fill-available;
  }

}