/* ==========================================================================
   Avahi Socials - Responsive Stylesheet
   Stylesheet: responsive.css
   ========================================================================== */

/* Large Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

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

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

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

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

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

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .service-hero-split {
    grid-template-columns: 1fr;
  }

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

  .client-slide {
    flex: 0 0 33.333vw;
    width: 33.333vw;
    min-width: 33.333vw;
    max-width: 33.333vw;
    height: 140px;
  }
  .client-slide img {
    max-height: 115px;
    max-width: 82%;
  }
}

/* Tablets & Mobile Navigation (max-width: 900px) */
@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .header {
    top: 8px;
    padding: 0 0.85rem;
  }

  .navbar {
    padding: 0.6rem 1.25rem;
    border-radius: 20px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0.85rem;
    width: calc(100% - 1.7rem);
    height: auto;
    max-height: calc(100vh - 85px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(240, 83, 32, 0.15);
    overflow-y: auto;
    transform: translateX(-110%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: none;
    width: 100%;
  }

  .has-dropdown.mobile-open .dropdown-menu {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }
}

/* Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {
  .services-grid {
    padding: 1.5rem 1rem;
    border-radius: 20px;
  }
  .clients-heading {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  .clients-slider-wrapper {
    padding: 2.25rem 0;
  }
  .client-slide {
    flex: 0 0 50vw;
    width: 50vw;
    min-width: 50vw;
    max-width: 50vw;
    height: 110px;
    padding: 0 0.85rem;
  }
  .client-slide img {
    max-height: 90px;
    max-width: 85%;
  }
  .section-padding {
    padding: 3.5rem 0;
  }

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

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

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

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

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

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

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .floating-stat-card {
    display: none;
  }

  .experience-badge {
    position: static;
    margin-top: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}
