/* Shared responsive refinements applied after the template styles. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

.reveal-ready .about-reveal,
.reveal-ready .service-reveal {
  opacity: 0;
  transform: translateY(36px);
}

h2,
h3,
h4,
h5,
h6 {
  white-space: normal;
  overflow-wrap: anywhere;
}

.offcanvas__info {
  width: min(450px, 100vw);
  overflow-y: auto;
}

.offcanvas__wrapper {
  min-height: 100%;
}

.offcanvas__wrapper .offcanvas__content {
  padding-bottom: 24px;
}

.header-main .header-right .header-btn .sidebar__toggle {
  background: transparent;
  border: 0;
  padding: 8px;
}

.footer-wrapper .single-footer-widget .footer-contact .social-icon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom .footer-bottom-wrapper {
  min-width: 0;
}

.footer-bottom .footer-bottom-wrapper p {
  margin: 0;
}

@media (max-width: 1199px) {
  .offcanvas__wrapper .offcanvas__content .offcanvas__contact.d-xl-block,
  .offcanvas__wrapper .offcanvas__content .offcanvas__contact ul.d-xl-block {
    display: block !important;
  }

  .hero-1 .hero-content .button-item h2 {
    font-size: clamp(3.5rem, 16vw, 10rem);
    line-height: 0.98;
  }

  .service-card-item .cont p {
    max-height: none;
    opacity: 1;
    overflow: visible;
    transform: none;
  }
}

@media (max-width: 767px) {
  .hero-1 {
    padding: 116px 0 64px;
  }

  .hero-1 .hero-content .top-item {
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .hero-1 .hero-content .top-item .left-item {
    max-width: 100%;
  }

  .hero-1 .hero-content .top-item p {
    margin: 0;
  }

  .hero-1 .hero-content .email {
    display: block;
    font-size: clamp(3.75rem, 18vw, 8rem);
    line-height: 0.95;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-1 .hero-content .button-item {
    align-items: center;
    gap: 12px;
    margin-top: 14px;
  }

  .hero-1 .hero-content .button-item .radius-btn {
    margin-top: 0;
    padding: 16px 20px;
  }

  .hero-1 .hero-content .button-item .radius-btn img {
    max-width: 160px;
  }

  .hero-1 .hero-content .button-item h2 {
    font-size: clamp(3rem, 14vw, 6rem);
    line-height: 1;
  }

  .about-section.fix {
    padding-bottom: 56px;
  }

  .service-card-item {
    align-items: flex-start;
    gap: 12px;
    padding: 22px 0;
  }

  .service-card-item .cont {
    min-width: 0;
  }

  .service-card-item .cont h3 {
    font-size: clamp(1.2rem, 5vw, 1.75rem);
    line-height: 1.25;
  }

  .service-card-item .cont p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 8px 0 0;
  }

  .pf-stats {
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .pf-stat-label {
    max-width: 110px;
  }

  .pf-filter {
    gap: 8px;
    margin-bottom: 28px;
  }

  .pf-filter-btn {
    padding: 9px 14px;
  }

  .footer-wrapper {
    padding: 56px 0 48px;
  }

  .footer-wrapper .single-footer-widget .footer-contact .social-icon {
    margin-top: 22px;
  }

  .footer-bottom .footer-bottom-wrapper {
    align-items: flex-start;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .footer-wrapper .single-footer-widget .footer-content p {
    max-width: 38rem;
  }

  .offcanvas__wrapper .offcanvas__content .offcanvas__contact ul li {
    font-size: 0.9375rem;
  }
}

@media (max-width: 575px) {
  .hero-1 .hero-content .top-item .left-item span {
    font-size: 12px;
    line-height: 1.45;
  }

  .hero-1 .hero-content .button-item .radius-btn img {
    max-width: 128px;
  }

  .pf-featured-info {
    padding: 26px 20px;
  }

  .pf-result-chips {
    flex-wrap: wrap;
    gap: 10px;
  }

  .pf-result-chip {
    flex: 1 1 100px;
  }

  .footer-wrapper .row {
    row-gap: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .about-reveal,
  .service-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
