@media (max-width: 1399.98px) {
  .projects-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  :root {
    --header-height: 92px;
  }

  .section-space {
    padding: 100px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 150px 0 145px;
  }

  .about-media {
    min-height: 560px;
    max-width: none;
  }

  .about-image-primary {
    width: 100%;
    height: 470px;
  }

  .process-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-flow::before,
  .process-arrow {
    display: none;
  }

  .projects-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-detail-grid {
    grid-template-columns: 1fr;
  }

  .page-banner {
    min-height: 340px;
  }
}

@media (max-width: 991.98px) {
  .navbar-brand img,
  .offcanvas-brand img,
  .footer-brand img {
    width: 210px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-media {
    min-height: auto;
    padding-bottom: 0;
  }

  .about-image-primary {
    width: 100%;
    height: 480px;
  }

  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    margin-top: -68px;
  }

  .projects-toolbar {
    justify-content: flex-start;
  }

  .floating-social-group {
    display: none;
  }

  .team-card {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .team-card img {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 84px 0;
  }

  .site-header {
    padding: 12px 0;
  }

  .hero-section {
    padding: 122px 0 118px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 10vw, 2.95rem);
    line-height: 1;
  }

  .hero-text {
    font-size: 0.96rem;
  }

  .trust-strip {
    margin-top: -28px;
  }

  .trust-strip .container {
    padding: 18px;
  }

  .scroll-cue {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .process-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .projects-toolbar {
    margin-bottom: 22px;
  }

  .project-filters {
    gap: 10px;
  }

  .project-filter-btn {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .projects-track {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 320px;
  }

  .service-media img,
  .video-card img {
    height: 290px;
  }

  .about-image-primary {
    height: 390px;
  }

  .about-value-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 24px 20px;
  }

  .about-feature-video {
    margin-top: 54px;
  }

  .accordion-button {
    font-size: 1.2rem;
  }

  .faq-contact-panel {
    padding: 26px 22px;
  }

  .faq-contact-panel h3 {
    font-size: 2.1rem;
  }

  .faq-contact-card-content {
    align-items: flex-start;
  }

  .faq-contact-photo {
    width: 88px;
    height: 88px;
  }

  .project-detail-modal .modal-dialog {
    margin: 0.8rem;
  }

  .page-banner {
    padding-top: 74px;
    padding-bottom: 46px;
  }

  .page-banner h1 {
    font-size: clamp(2.1rem, 8.5vw, 2.9rem);
  }

  .quick-process {
    justify-content: flex-start;
  }

  .quick-process-arrow {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .navbar-brand img,
  .offcanvas-brand img,
  .footer-brand img {
    width: 176px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .trust-item {
    padding: 8px 6px;
  }

  .service-body,
  .process-step,
  .testimonial-card,
  .contact-card {
    padding: 22px 20px;
  }

  .service-area-panel {
    padding: 24px 20px;
  }

  .project-filter-btn {
    flex-basis: 100%;
  }

  .project-overlay {
    padding: 22px 20px;
  }

  .about-image-primary {
    height: 330px;
  }

  .final-cta-card {
    padding: 48px 20px;
  }

  .about-feature-video {
    margin-top: 42px;
    border-radius: 24px;
  }

  .about-feature-video .ratio {
    --bs-aspect-ratio: 58%;
  }

  .instagram-embed-card {
    padding: 12px;
  }

  .faq-contact-card-content {
    flex-direction: column-reverse;
  }

  .faq-contact-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .scroll-top-btn {
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
  }

  .floating-whatsapp-btn {
    right: 18px;
    bottom: 78px;
    width: 52px;
    height: 52px;
  }

  .floating-social-icon {
    width: 48px;
    height: 48px;
  }

  .page-banner {
    min-height: 300px;
    margin-top: 84px;
    padding: 52px 0 36px;
  }

  .page-banner p {
    font-size: 0.94rem;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .quick-process-item {
    width: 100%;
  }
}
