/* --- Media Queries (Responsive Adjustments) --- */

@media (min-width: 768px) {
  /* md breakpoint in Tailwind */

  .nav-container {
    padding: 0 1.5rem;
  }

  .desktop-menu {
    display: flex;
  }

  .mobile-menu-btn {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  } /* Ensure it's hidden on desktop */

  .main-content {
    padding-left: 1.5rem;

    padding-right: 1.5rem;
  }

  .page-title {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  /* lg breakpoint */

  .nav-container {
    padding: 0 2rem;
  }

  .main-content {
    padding-left: 2rem;

    padding-right: 2rem;
  }
}

@media screen and (min-width: 997px) {
  .hero-card-container {
    flex-direction: row;

    gap: 1.5rem;

    justify-content: center;
  }

  .why-to-choose {
    align-items: center;

    max-width: 40%;

    justify-content: flex-start;
  }

  .service-card-container {
    display: flex;

    flex-direction: column;

    gap: 1.9rem !important;
  }
}

@media (min-width: 1020px) {
  .hero-section {
    padding: 4rem 2rem;

    align-items: flex-start;
  }

  .service-card-container {
    flex-direction: row;

    /* justify-content: center; */

    align-items: center;
  }

  .service-1 h4 {
    font-size: 1.25rem;
  }

  .why-to-choose {
    align-items: center;

    max-width: 30%;

    justify-content: flex-start;
  }

  .service-1 {
    height: 80%;
  }
}

@media screen and (min-width: 992px) {
  .about-us {
    flex-direction: row;

    gap: 2rem;

    justify-content: center;
  }

  .about-img {
    max-width: 624px;
  }
}

@media (min-width: 768px) {
  .stats-container {
    flex-direction: row;

    flex-wrap: wrap;

    max-width: 1000px;

    justify-content: center;
  }

  .stat-card {
    flex: 1 1 200px; /* Allows cards to grow and sit side-by-side */
  }
}
@media (min-width: 768px) {
  .footer-grid {
    /* On medium screens, split into 2 columns */
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    /* On large screens, 4 columns. First column is slightly wider. */
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
