/* Responsive Styles */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .services-grid,
  .team-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .hero {
    min-height: 450px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .row {
    flex-direction: column;
  }
  
  .services-grid,
  .team-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero {
    min-height: 400px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .services-grid,
  .team-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card,
  .team-card,
  .blog-card {
    max-width: 100%;
  }
  
  .accordion-title {
    font-size: 0.9rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 1rem;
  }
  
  .testimonial-quote {
    font-size: 1rem;
  }
}

/* For elements that should be hidden on mobile */
@media (max-width: 767.98px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* For elements that should be shown only on mobile */
@media (min-width: 768px) {
  .show-on-mobile {
    display: none !important;
  }
}

/* Specific adjustments for navigation */
@media (max-width: 767.98px) {
  .navbar {
    padding: 0.5rem 1rem;
  }
  
  .navbar-nav {
  flex-direction: row;
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 1rem;
  }
  
  .navbar-nav.active {
    display: flex;
  }
  
  .hamburger {
    display: block;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
} 