/* Extra Large Devices (large desktops, 1200px and up) */
@media (max-width: 1399.98px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.2rem;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: 600px;
    height: auto;
    padding: 100px 0;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    margin-bottom: 3rem;
  }

  .services-item {
    margin-bottom: 2rem;
  }

  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    margin-bottom: 2rem;
  }

  .services-item,
  .team-member,
  .blog-item {
    margin-bottom: 1.5rem;
  }

  .testimonial-item {
    padding: 1.5rem;
  }

  .testimonial-text:before {
    top: -15px;
    left: -5px;
    font-size: 2rem;
  }

  .testimonial-text:after {
    bottom: -30px;
    right: -5px;
    font-size: 2rem;
  }

  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }

  .hero {
    padding: 80px 0;
  }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    margin-bottom: 1.5rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-gap: 10px;
  }

  .shape {
    display: none;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .hero {
    padding: 60px 0;
  }
}

/* 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;
  }
  
  .services-item:hover,
  .gallery-item:hover,
  .blog-item:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .btn:hover {
    transform: none;
  }
  
  .blog-item:hover .blog-item-img img {
    transform: none;
  }
} 