/* Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  html {
    font-size: 15px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .header-container {
    padding: 0 1rem;
  }
  
  .nav-links {
    margin-right: 1rem;
  }
  
  .nav-links li {
    margin-left: 1.5rem;
  }
  
  .service-img,
  .blog-img {
    height: 180px;
  }
  
  .team-img {
    height: 250px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  html {
    font-size: 14px;
  }

  section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-links li {
    margin: 1rem 0;
  }
  
  .hero {
    text-align: center;
    height: auto;
    min-height: 100vh;
  }
  
  .hero-content {
    padding: 8rem 0 5rem;
  }
  
  .about-features,
  .services-grid,
  .features-grid,
  .price-plan-grid,
  .team-grid,
  .core-info-grid,
  .blog-grid,
  .gallery-grid,
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    text-align: center;
  }
  
  .footer-title:after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 1rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
  
  .footer {
    padding: 3rem 0 1rem;
  }
}

/* Animation and slider modifications for reduced motion preference */
@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-theme-color: var(--primary-color);
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

/* Mobile specific modifications (< 768px) */
@media (max-width: 767.98px) {
  .swiper-container {
    --swiper-theme-color: var(--primary-color);
  }
  
  .swiper-container .swiper-pagination {
    bottom: 10px;
  }
  
  .swiper-autoplay-running .swiper-wrapper {
    animation-play-state: paused !important;
  }
} 