/* ==========================================================================
   Infurix - Responsive Media Queries
   Mobile-First & Breakpoint Optimization
   ========================================================================== */

/* Extra Large Screens (>= 1200px) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large Screens (1024px to 1199px) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .section-heading {
    font-size: 2.1rem;
  }
  
  .trust-number {
    font-size: 2.2rem;
  }
}

/* Medium Screens / Tablets (768px to 991px) */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .hero-section {
    padding: 140px 0 70px;
    text-align: center;
    background-position: center top;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }

  .hero-quick-features {
    justify-content: center;
  }
  
  .hero-glass-container {
    margin-top: 20px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

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

  .navbar-collapse {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 12px;
    border: 1px solid var(--border-color);
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .header-cta-btn {
    width: 100%;
    margin-top: 15px;
    text-align: center;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;
  }

  .trust-item:last-child {
    border-bottom: none;
  }

  /* Process Vertical Timeline on Tablet / Mobile */
  .process-line {
    display: none;
  }

  .process-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    padding-left: 30px;
  }

  .process-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 24px;
    width: 2px;
    background-color: var(--primary-color);
  }

  .process-step {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }

  .process-number-wrap {
    margin-bottom: 0;
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
  }

  .process-step-content {
    padding-top: 6px;
  }
}

/* Small Screens / Mobile (576px to 767px) */
@media (max-width: 767.98px) {
  .section-padding {
    padding: 50px 0;
  }

  #portfolio-filters{
    flex-wrap: nowrap !important;
    overflow: hidden;
    overflow-x: scroll;
    padding-bottom: 0.5rem;
  }
  .portfolio-filter-btn{
    white-space: nowrap;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-heading {
    font-size: 1.85rem;
  }

  .btn-primary-custom,
  .btn-outline-custom,
  .btn-light-custom {
    width: 100%;
    padding: 12px 20px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 24px 20px;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .site-footer {
    padding: 50px 0 24px;
    text-align: center;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

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

  .footer-links.footer-contact li {
    justify-content: center;
  }
  .footer-bottom{
    margin-top: 24px;
  }
  .button-wrap{    
    align-items: center;
    flex-direction: column;
  }
}

/* Extra Small Screens (< 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .trust-number {
    font-size: 2rem;
  }

  .service-card {
    padding: 24px 20px;
  }

  .tech-badge {
    font-size: 0.88rem;
    padding: 10px 14px;
  }
}
