/* Responsive CSS */

/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .about-feature {
    padding: 20px;
  }
  
  .service-content h3,
  .feature-item h3,
  .coreinfo-item h3 {
    font-size: 1.3rem;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  section {
    padding: 60px 0;
  }
  
  .section-padding {
    padding: 80px 0;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .about-img {
    margin-bottom: 30px;
  }
  
  .service-img {
    height: 180px;
  }
  
  .team-info h4 {
    font-size: 1.3rem;
  }
  
  .contact-info {
    margin-top: 40px;
  }
  
  .page-header {
    height: 350px;
    margin-bottom: 60px;
  }
  
  .page-header-content h1 {
    font-size: 2.5rem;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  section {
    padding: 50px 0;
  }
  
  .section-padding {
    padding: 70px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero .swiper-slide {
    text-align: center;
  }
  
  .about-feature {
    margin-bottom: 20px;
  }
  
  .review-author-img {
    width: 50px;
    height: 50px;
  }
  
  .footer {
    padding: 60px 0 30px;
  }
  
  .footer-heading {
    margin-top: 30px;
  }
  
  .page-header {
    height: 300px;
    margin-bottom: 50px;
  }
  
  .page-header-content h1 {
    font-size: 2.2rem;
  }
  
  /* Disable animations on mobile to improve performance */
  .swiper-slide,
  .hero-content h1,
  .hero-content p,
  .hero-btn {
    animation: none !important;
    opacity: 1 !important;
  }
  
  .about-feature:hover,
  .service-card:hover,
  .feature-item:hover,
  .price-card:hover,
  .review-card:hover,
  .coreinfo-item:hover,
  .blog-card:hover {
    transform: none;
  }
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .section-title h2 {
    font-size: 1rem;
  }
  
  .hero-content h1 {
    font-size: 1rem;
  }
  
  .btn-custom {
    padding: 10px 25px;
  }
  
  .service-content,
  .contact-form,
  .contact-info {
    padding: 25px;
  }
  
  .service-img {
    height: 160px;
  }
  
  .price-header {
    padding: 25px;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .page-header {
    height: 250px;
    margin-bottom: 40px;
  }
  
  .page-header-content h1 {
    font-size: 1rem;
  }
  
  .page-header-content p {
    font-size: 1rem;
  }
}

/* Support for prefers-reduced-motion */
@media (prefers-reduced-motion) {
  * {
    animation: none !important;
    transition: none !important;
  }
  
  html {
    scroll-behavior: auto !important;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 0 !important;
  }
} 