/* 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) {
  .hero-content h1 {
    font-size: 50px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .gallery-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section-padding {
    padding: 80px 0;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .section-title p {
    font-size: 16px;
  }

  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-feature, 
  .services-item, 
  .features-item, 
  .price-card, 
  .team-member, 
  .core-info-item, 
  .blog-item {
    margin-bottom: 25px;
  }

  .team-info h4 {
    font-size: 20px;
  }

  .team-info p {
    font-size: 14px;
  }

  .accordion-button {
    padding: 15px 20px;
    font-size: 16px;
  }

  .accordion-body {
    padding: 15px 20px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero {
    height: auto;
    padding: 100px 0;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .section-title {
    margin-bottom: 50px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 16px;
  }

  .about-feature, 
  .services-item, 
  .features-item, 
  .price-card, 
  .team-member, 
  .core-info-item, 
  .blog-item {
    margin-bottom: 20px;
  }

  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    padding: 20px;
  }

  .contact-form {
    padding: 30px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero {
    height: auto;
    padding: 100px 0 70px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .section-title p {
    font-size: 16px;
  }

  .about-feature, 
  .services-item, 
  .features-item, 
  .price-card, 
  .team-member, 
  .core-info-item, 
  .blog-item {
    margin-bottom: 20px;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 20px;
    margin: 10px 0;
  }

  .review-author-img {
    width: 50px;
    height: 50px;
  }

  .contact-form {
    padding: 25px;
  }

  .accordion-button {
    padding: 15px;
    font-size: 16px;
  }

  .accordion-body {
    padding: 15px;
  }

  .btn-primary {
    padding: 8px 20px;
    font-size: 14px;
  }

  footer {
    padding: 50px 0 30px;
  }

  footer h4 {
    margin-top: 30px;
  }

  .navbar-brand {
    font-size: 24px;
  }
}

/* For devices that prefer 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;
  }
  
  .swiper-container {
    --swiper-pagination-color: var(--primary-color-1);
    --swiper-pagination-bullet-inactive-color: #ccc;
    --swiper-pagination-bullet-inactive-opacity: 0.5;
    --swiper-pagination-bullet-size: 8px;
    --swiper-pagination-bullet-horizontal-gap: 4px;
  }
  
  .swiper-button-next, 
  .swiper-button-prev {
    display: none !important;
  }
}

/* Prevent autoplay on mobile devices */
@media (max-width: 768px) {
  .swiper-container {
    --swiper-pagination-color: var(--primary-color-1);
    --swiper-pagination-bullet-inactive-color: #ccc;
    --swiper-pagination-bullet-inactive-opacity: 0.5;
    --swiper-pagination-bullet-size: 8px;
    --swiper-pagination-bullet-horizontal-gap: 4px;
  }
  
  .swiper-button-next, 
  .swiper-button-prev {
    display: none !important;
  }
} 