/* Global responsive safety layer */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

input,
textarea,
select,
button {
  max-width: 100%;
}

.container-hd,
.container-hd .clients-area-inner,
.body-wrapper,
#smooth-content {
  overflow-x: clip;
}

.enterprise-area .expertise-wrapper .expertise-box {
  flex: 0 0 20% !important;
  max-width: 20%;
}

@media only screen and (max-width: 1199px) {
  .header-area .header__button .wc-btn,
  .header-area .wc-btn-primary {
    padding: 10px 16px;
    font-size: 12px;
  }

  .footer-area .section-title {
    font-size: clamp(42px, 9vw, 72px);
    margin-top: 0;
  }

  .enterprise-area .expertise-wrapper .expertise-box {
    flex: 0 0 25% !important;
    max-width: 25%;
  }
}

@media only screen and (max-width: 991px) {
  .hero-area-inner,
  .about-area-inner,
  .faq-area-inner,
  .testimonial-area-inner,
  .service-area .service-top-wrapper,
  .service-area .services-grid,
  .feature-area .features-wrapper,
  .team-area .team-wrapper,
  .blog-area .blogs-wrapper,
  .pricing-area .pricing-wrapper,
  .footer-area-inner,
  .footer-cta {
    gap: 24px;
  }

  .hero-area .section-content .text,
  .feature-area .section-header .text,
  .service-area .section-header .text,
  .team-area .section-header .text {
    margin-inline-start: 0 !important;
    text-indent: 0 !important;
    max-width: 100% !important;
  }

  .enterprise-area .expertise-wrapper {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
  }

  .enterprise-area .expertise-wrapper .expertise-box {
    flex: 0 0 calc(33.333% - 12px) !important;
    max-width: calc(33.333% - 12px);
  }

  .enterprise-area .expertise-wrapper > *:not(:first-child) {
    margin-inline-start: 0 !important;
  }
}

@media only screen and (max-width: 767px) {
  .section-spacing {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .section-spacing-top {
    padding-top: 56px !important;
  }

  .section-spacing-bottom {
    padding-bottom: 56px !important;
  }

  .section-title {
    font-size: clamp(28px, 8vw, 40px) !important;
    margin-top: 0 !important;
  }

  .section-title.large {
    font-size: clamp(30px, 10vw, 48px) !important;
  }

  .hero-area-inner,
  .about-area-inner,
  .faq-area-inner,
  .testimonial-area-inner,
  .pricing-area .pricing-wrapper,
  .service-area .services-grid,
  .feature-area .features-wrapper,
  .team-area .team-wrapper,
  .blog-area .blogs-wrapper,
  .footer-area-inner,
  .footer-cta {
    grid-template-columns: 1fr !important;
  }

  .service-area .services-grid,
  .feature-area .features-wrapper {
    margin: 0 !important;
    gap: 20px !important;
  }

  .service-area .service-item,
  .feature-box {
    padding-inline: 0 !important;
    border-inline: 0 !important;
  }

  .clients-area-inner {
    margin-inline-end: 0 !important;
    padding-inline-start: 0 !important;
  }

  .client-area .clients-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .client-area .client-box {
    min-height: 72px;
    aspect-ratio: auto !important;
    padding: 10px !important;
  }

  .expertise-box {
    width: 160px !important;
    height: 160px !important;
  }

  .enterprise-area .expertise-wrapper .expertise-box {
    flex: 0 0 calc(50% - 12px) !important;
    max-width: calc(50% - 12px);
  }

  .footer-area {
    padding-inline: 15px !important;
  }

  .copyright-area-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  .copyright-area .footer-nav-list {
    gap: 10px 20px !important;
  }

  .header-area .header__logo img {
    max-width: 130px !important;
    height: auto !important;
  }
}

@media only screen and (max-width: 479px) {
  .header-area .header__button {
    display: none;
  }

  .client-area .clients-wrapper {
    grid-template-columns: 1fr !important;
  }

  .expertise-box {
    width: 140px !important;
    height: 140px !important;
  }

  .enterprise-area .expertise-wrapper .expertise-box {
    flex: 0 0 100% !important;
    max-width: 100%;
  }

  .hero-area .hero-motion-wrap {
    margin-top: 20px !important;
    margin-inline: 0 !important;
    max-width: 100% !important;
  }
}
