/* Responsive fixes for React + HTML template (mobile/tablet) */

html,
body {
  width: 100%;
  overflow-x: hidden;
}

#root,
#antra-smooth-wrapper,
#antra-smooth-content {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.scroll-img {
  width: min(800px, 100%);
  max-width: 100%;
  height: auto;
}

@media only screen and (max-width: 991px) {
  #antra-smooth-wrapper,
  #antra-smooth-content {
    min-height: auto !important;
    height: auto !important;
  }

  .slider-content-wrap .section-heading .section-title {
    font-size: 42px;
    line-height: 1.15;
  }

  .home-page .slider-item .slider-element-wrap {
    display: none;
  }

  .home-page .slider-content-wrap .bottom-content .antra-desc {
    max-width: 100%;
  }

  .home-page .slider-content-wrap .bottom-content .antra-btn {
    display: flex;
    justify-content: center;
  }

  .home-page .section-heading .section-title,
  .home-page .section-heading .section-title.title-2 {
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1.2;
    word-break: break-word;
  }

  .home-page .counter-1 .counter-element {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0 auto 24px;
    text-align: center;
  }
}

@media only screen and (max-width: 767px) {
  .home-page .slider-item {
    padding-bottom: 30px;
  }

  .slider-content-wrap {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .slider-content-wrap .section-heading .section-title {
    font-size: 32px;
  }

  .slider-content-wrap .bottom-content .antra-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .slider-content-wrap .bottom-content .antra-desc p {
    font-size: 16px;
  }

  .header .primary-header-inner .header-right-wrap {
    column-gap: 10px;
  }

  .container,
  .container-2 {
    padding-left: 15px;
    padding-right: 15px;
  }

  .section-heading .section-title,
  .section-heading .section-title.title-2 {
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.2;
  }

  .home-page .section-heading .section-title br {
    display: none;
  }

  .home-page .heading-space,
  .home-page .section-heading-wrap {
    row-gap: 16px;
  }

  .home-page .counter-item .title {
    justify-content: center;
  }

  .home-page .counter-item p,
  .home-page .process-item p,
  .home-page .project-content span,
  .home-page .post-content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .project-carousel,
  .blog-carousel,
  .testi-carousel,
  .antra-slider {
    overflow: hidden;
  }
}

@media only screen and (max-width: 575px) {
  .slider-content-wrap .section-heading .section-title {
    font-size: 28px;
  }

  .home-page .slider-content-wrap .section-heading .sub-heading {
    font-size: 12px;
    padding: 6px 10px;
  }

  .home-page .slider-content-wrap .bottom-content .antra-desc p {
    font-size: 15px;
  }

  .tl-primary-btn,
  .header .primary-header-inner .header-right-wrap .header-btn {
    padding: 14px 20px;
    font-size: 14px;
  }
}
