/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --font-size-4xl: 2.25rem; /* Reduce largest heading size on mobile */
  }
  
  .hero {
    padding-top: 6rem;
    text-align: center;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-shape {
    display: none; /* Hide decorative shapes on smallest screens */
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .team-img {
    width: 150px;
    height: 150px;
  }
  
  .service-item,
  .blog-item,
  .price-item,
  .about-feature,
  .core-info-item {
    margin-bottom: 2rem;
  }
  
  .review-item {
    padding: var(--spacing-md);
  }
  
  .footer [class*="col-"] {
    margin-bottom: 2rem;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero {
    padding-top: 6rem;
  }
  
  .service-item,
  .blog-item,
  .price-item,
  .about-feature,
  .core-info-item {
    margin-bottom: 2rem;
  }
  
  .team-img {
    width: 175px;
    height: 175px;
  }
  
  .footer [class*="col-"] {
    margin-bottom: 2rem;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero {
    padding-top: 6rem;
  }
  
  .service-item,
  .blog-item,
  .price-item {
    margin-bottom: 2rem;
  }
  
  .hero-shape {
    opacity: 0.05; /* Reduce opacity of decorative shapes on tablets */
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .service-name,
  .blog-title,
  .price-name {
    font-size: var(--font-size-lg);
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px; /* Limit container width on very large screens */
  }
}

/* Header responsive styles */
@media (max-width: 991.98px) {
  .header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
  }
  
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
  }
  
  .header .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .header .nav-link:after {
    display: none;
  }
}

/* Swiper Slider responsive adjustments */
@media (max-width: 767.98px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  .swiper-container {
    padding-bottom: 40px;
  }
  
  .swiper-pagination {
    bottom: 0;
  }
}

/* Contact Form responsive adjustments */
@media (max-width: 767.98px) {
  .contact-form {
    padding: var(--spacing-md);
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
}

/* Gallery responsive adjustments */
@media (max-width: 991.98px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
}

/* FAQ section responsive adjustments */
@media (max-width: 767.98px) {
  .accordion-button {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .accordion-body {
    padding: 1rem;
  }
}

/* Additional Pages responsive adjustments */
@media (max-width: 767.98px) {
  .additional-page-section {
    padding: var(--spacing-lg) 0;
  }
} 