/* ==========================================================================
   MultiCode Solution - Responsive Stylesheet
   Version: 1.0.0
   Author: Senior UI/UX & Frontend Engineer
   ========================================================================== */

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

/* Desktop & Laptop (< 1200px) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3.25rem;
  }
  .section-title {
    font-size: 2.35rem;
  }
  .process-timeline::before {
    display: none;
  }
  .hero-floating-card {
    padding: 12px 16px;
  }
  .card-1 {
    left: 0;
  }
  .card-2 {
    right: 0;
  }
}

/* Tablets & Small Laptops (< 992px) */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 70px 0;
  }

  /* Navbar Mobile Styling */
  .navbar-collapse {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 15px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--border-color);
  }

  .nav-link-custom {
    padding: 10px 16px !important;
    margin-bottom: 4px;
  }

  /* Hero Adjustments */
  .hero-section {
    padding: 140px 0 70px;
    text-align: center;
  }

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

  .hero-btns {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .hero-image-wrap {
    margin-top: 50px;
  }

  .about-img-container {
    margin-bottom: 40px;
  }

  .contact-info-card {
    margin-bottom: 30px;
  }

  .cta-section {
    text-align: center;
  }

  .cta-section .d-flex {
    justify-content: center;
    margin-top: 24px;
  }
}

/* Mobile Screens (< 768px) */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-stats-row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-item {
    flex: 1 1 40%;
  }

  .hero-floating-card {
    display: none; /* Hide floating cards on small screens for clean visual presentation */
  }

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

  .tech-filter-nav {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.825rem;
  }

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

  .testimonial-card {
    padding: 28px 20px;
  }
}

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

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

  .btn-primary-custom,
  .btn-outline-custom {
    width: 100%;
  }

  .stat-item h3 {
    font-size: 1.75rem;
  }

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

  .cta-section h2 {
    font-size: 2rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}
