/* Responsive CSS for Anti-Corrosion & Protection Treatments */

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .swiper {
    height: 550px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .swiper {
    height: 500px;
  }
  
  .service-card, .feature-card, .price-card, .review-card, .coreinfo-card {
    padding: var(--spacing-sm);
  }
  
  .shape-1 {
    width: 200px;
    height: 200px;
  }
  
  .shape-2 {
    width: 150px;
    height: 150px;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-desc {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .swiper {
    height: 400px;
  }
  
  .service-card, .feature-card, .price-card, .review-card, .coreinfo-card {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .shape-decorator {
    display: none;
  }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title, h1{
    font-size: 1rem;
  }
  
  .hero-subtitle, h2 {
    font-size: 0.8rem;
  }
  
  .hero-desc, p {
    font-size: 0.7rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-desc {
    font-size: 0.9rem;
  }
  
  .swiper {
    height: 350px;
  }
  
  .service-card, .feature-card, .price-card, .review-card, .coreinfo-card {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
  }
  
  .section {
    padding: var(--spacing-md) 0;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .shape-decorator {
    display: none;
  }
  
  /* Disable animations for better performance on mobile */
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  /* Adjust footer spacing */
  footer {
    padding: var(--spacing-md) 0 var(--spacing-sm);
  }
  
  .footer-col {
    margin-bottom: var(--spacing-md);
  }
  
  .footer-title {
    font-size: 1.3rem;
  }
}

/* Fix for swiper in small screens - respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .swiper-slide {
    transition: none;
  }
  
  .fade-in {
    transition: none;
    opacity: 1;
    transform: none;
  }
  
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .review-card:hover,
  .coreinfo-card:hover,
  .team-card:hover .team-img {
    transform: none;
  }
  
  .team-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
  }
} 