/* Page-specific responsive refinements */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

@media (max-width: 767px) {
  .custom-cursor__cursor,
  .custom-cursor__cursor-two {
    display: none;
  }

  .hero-slider__text br,
  .sec-title__title br {
    display: none;
  }

  .hero-slider__item {
    padding-top: 105px;
    padding-bottom: 130px;
  }

  .hero-slider__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.14;
  }

  .hero-slider__carousel.owl-carousel .owl-nav,
  .hero-slider__carousel.owl-carousel .counter {
    display: none;
  }

  .testimonials-one__image,
  .testimonials-one__image img {
    width: 100% !important;
  }

  .contact-one__image {
    min-height: 400px;
    height: 400px;
  }
}

@media (max-width: 575px) {
  .whatsapp-float {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 1001;
    display: grid;
    touch-action: manipulation;
  }

  .topbar {
    display: none;
  }

  .main-header__inner {
    min-height: 74px;
  }

  .main-header__logo img {
    width: 165px;
    height: auto;
  }

  .mobile-nav__btn {
    width: 46px;
    height: 46px;
  }

  .hero-slider__tagline {
    margin-bottom: 18px;
  }

  .hero-slider__tagline__text {
    font-size: clamp(0.78rem, 3.9vw, 1rem);
    letter-spacing: 0.06em;
  }

  .hero-slider__description {
    margin-bottom: 28px;
  }

  .hero-slider__text {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-slider__button {
    gap: 14px;
  }

  .sec-title__title {
    font-size: clamp(1.7rem, 7.8vw, 2rem);
    line-height: 1.2;
  }

  .sec-title__tagline {
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .about-one__experience__year {
    padding-right: 14px;
    padding-left: 14px;
  }

  .about-one__feature__item {
    padding: 20px;
  }

  .countries-one__content,
  .visa-card__content,
  .blog-card__content {
    overflow-wrap: anywhere;
  }

  .testimonials-one__inner {
    padding: 24px;
    border-radius: 0 0 0 64px;
  }

  .testimonials-one__quote::after {
    width: 100%;
  }

  .contact-one__form {
    padding: 32px 20px 40px;
  }

  .contact-one__image {
    min-height: 340px;
    height: 340px;
  }

  .contact-one__phone {
    left: 50%;
    transform: translateX(-50%);
  }

  .main-footer__bottom__inner,
  .main-footer__page {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .main-header__logo img {
    width: 145px;
  }

  .hero-slider__item {
    padding-top: 90px;
    padding-bottom: 115px;
  }

  .visanet-btn,
  .visanet-btn-two {
    max-width: 100%;
  }
}
