/* Full responsive layout: phone, tablet, laptop, desktop */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  overflow-x: clip;
  max-width: 100%;
  top: 0 !important;
}

img,
video,
svg,
canvas {
  max-width: 100%;
}

iframe {
  max-width: 100%;
  border: 0;
}

.container-fuild {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

section > .row {
  margin-left: 0;
  margin-right: 0;
}

p,
li,
td,
th,
blockquote,
.footer-links a,
.solution-card-description,
.modern-blog-content,
.about-description {
  overflow-wrap: break-word;
}

a.btn-hero,
a.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mobile-menu-toggle {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-heading {
  font-size: clamp(1.75rem, 1.05rem + 2.5vw, 3.25rem) !important;
  line-height: 1.15 !important;
}

.why-choose-t,
.display-4,
.section-title,
.about-tittle-d {
  font-size: clamp(1.7rem, 1.15rem + 1.8vw, 2.75rem) !important;
  line-height: 1.15 !important;
}

.hero-image {
  width: 100%;
  height: clamp(260px, 52vw, 560px);
  max-width: 100%;
}

.inner-bg {
  background-position: center center;
}

.inner-bg ul li a:after {
  content: "›";
  font-family: inherit;
  font-weight: 700;
  margin-left: 8px;
}

.breadcrumb-bg ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
}

.owl-carousel,
.owl-stage-outer,
.solutions-slider-wrap,
.simply-scroll,
.simply-scroll-container,
.simply-scroll-clip {
  max-width: 100%;
}

iframe.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

/* Tablet and small laptop navigation */
@media (min-width: 992px) and (max-width: 1199.98px) {
  header nav.d-lg-flex {
    gap: 0.7rem !important;
  }

  header .nav-link {
    font-size: 12px !important;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .brand-wordmark span:first-child {
    font-size: 15px !important;
    letter-spacing: 0.04em !important;
  }

  .brand-wordmark span:last-child {
    font-size: 10px !important;
    letter-spacing: 0.06em !important;
  }

  .ts-21 img {
    height: 44px;
  }

  .nav-menu-bg,
  .top-bg-d,
  .hero-section {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Large desktops */
@media (min-width: 1400px) {
  .banner-bg {
    padding: 48px 0 64px;
  }
}

@media (min-width: 1920px) {
  .hero-heading {
    font-size: 3.4rem !important;
  }

  .banner-bg {
    padding: 64px 0 80px;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .top-bg-d,
  .nav-menu-bg,
  .hero-section,
  .inner-bg-t {
    padding-left: 10px;
    padding-right: 10px;
  }

  .top-bg {
    padding: 10px 12px;
  }

  .top-left {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-right: 0 !important;
    max-width: 100%;
  }

  .top-left p {
    white-space: normal;
  }

  .top-social-b {
    float: none;
  }

  .nav-menu-bg-d {
    padding: 10px 12px;
  }

  .ts-21 {
    min-width: 0;
  }

  .ts-21 img {
    height: 42px;
  }

  .brand-wordmark span:first-child {
    font-size: 15px !important;
    letter-spacing: 0.04em !important;
  }

  .brand-wordmark span:last-child {
    font-size: 10px !important;
    letter-spacing: 0.08em !important;
  }

  .hero-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-section .fs-5 {
    font-size: 1rem !important;
  }

  .inner-bg {
    height: auto !important;
    min-height: 200px;
    padding: 64px 16px 32px !important;
  }

  .modern-blog-content {
    padding: 28px 18px;
  }

  .contact-card,
  .form-control,
  .form-select,
  textarea {
    max-width: 100%;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* Phone */
@media (max-width: 767.98px) {
  .top-bg .d-flex {
    gap: 8px 12px !important;
  }

  .top-left {
    width: 100%;
  }

  .top-left p {
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-image {
    height: clamp(240px, 78vw, 420px);
  }

  .hero-stat {
    min-width: 0;
    max-width: 48%;
    gap: 0.35rem;
    padding: 0.4rem 0.5rem;
  }

  .hero-stat-tl,
  .hero-stat-bl {
    padding: 0.4rem 0.45rem 0.4rem 0.5rem;
  }

  .hero-stat-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 0.72rem;
    border-radius: 8px;
  }

  .hero-stat-value {
    font-size: 0.9rem;
  }

  .hero-stat-label {
    font-size: 0.55rem;
    letter-spacing: 0.04em;
    white-space: normal;
    line-height: 1.15;
  }

  .hero-section .btn-hero,
  .hero-section .btn-hero-outline {
    width: 100%;
  }

  .inner-bg h1 {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }

  .breadcrumb-bg ul li {
    line-height: 1.5;
    padding: 0 6px;
    font-size: 14px;
  }

  .footer-copyright-content,
  .hours-item {
    flex-wrap: wrap;
    gap: 6px;
  }

  .our-team-group-text {
    white-space: normal;
  }

  .our-team-group-title::before,
  .our-team-group-title::after {
    flex-basis: 28px;
    max-width: 28px;
  }

  .modern-about-us-detail,
  .blog-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .top-bg-d,
  .nav-menu-bg,
  .hero-section,
  .inner-bg-t {
    padding-left: 6px;
    padding-right: 6px;
  }

  .brand-wordmark span:last-child {
    display: none;
  }

  .brand-wordmark span:first-child {
    font-size: 13px !important;
    letter-spacing: 0.03em !important;
  }

  .ts-21 {
    gap: 8px;
  }

  .ts-21 img {
    height: 36px;
  }

  .hero-heading {
    font-size: 1.55rem !important;
  }

  .hero-stat-label {
    letter-spacing: 0;
  }

  .hero-stat-tl,
  .hero-stat-tr {
    top: 0.4rem;
  }

  .hero-stat-bl,
  .hero-stat-br {
    bottom: 0.4rem;
  }

  .modern-blog-content {
    padding: 20px 14px;
    border-radius: 12px;
  }

  .cookie-consent-popup {
    width: calc(100% - 20px);
  }
}
