/* ==========================================================================
   Otectcircle — Responsive Overrides
   ========================================================================== */

/* Large desktops (1400px+) */
@media (min-width: 1400px) {
  .container {
    max-width: 1260px;
  }
}

/* Desktops / small laptops (992px - 1199px) */
@media (max-width: 1199.98px) {
  .hero {
    padding: 5rem 0 4rem;
  }

  .cta-band {
    padding: 2.75rem;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 991.98px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero {
    text-align: center;
    padding: 3.5rem 0 3rem;
  }

  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    margin-top: 3rem;
    max-width: 340px;
  }

  .section-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .process-step {
    margin-bottom: 2.5rem;
    text-align: center;
  }

  .navbar-collapse {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 0.75rem;
    box-shadow: var(--shadow-md);
  }

  .navbar-nav .nav-link {
    padding: 0.65rem 0.5rem;
  }

  .nav-cta {
    margin-left: 0.5rem;
    margin-top: 0.75rem;
    display: inline-block;
  }
}

/* Small tablets / large phones (576px - 767px) */
@media (max-width: 767.98px) {
  .cta-band {
    padding: 2.25rem 1.5rem;
    text-align: center;
  }

  .cta-band .btn {
    width: 100%;
    margin-top: 0.5rem;
  }

  .workflow-step {
    flex-direction: column;
  }

  .contact-info-card {
    margin-bottom: 1.25rem;
  }
}

/* Phones (up to 575px) */
@media (max-width: 575.98px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-sm {
    padding: 2.75rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .service-card,
  .benefit-card {
    padding: 1.75rem 1.4rem;
  }

  .portfolio-filters {
    justify-content: center;
  }

  .filter-btn {
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .site-footer {
    padding-top: 3.5rem;
    text-align: center;
  }

  .site-footer .col-lg-3,
  .site-footer .col-lg-2,
  .site-footer .col-md-4,
  .site-footer .col-md-6 {
    margin-bottom: 2rem;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Extra small (up to 425px) */
@media (max-width: 424.98px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.92rem;
  }
}

/* Prevent horizontal scroll on all breakpoints */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}
