/* Responsive CSS */

/* 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: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 80px 0;
  }
  
  .hero-section {
    height: auto;
    padding: 120px 0;
  }
  
  .hero-img {
    margin-top: 50px;
  }
  
  .about-img {
    margin-bottom: 50px;
  }
  
  .service-item, 
  .feature-item, 
  .price-item,
  .team-member,
  .blog-item,
  .coreinfo-item {
    margin-bottom: 40px;
  }
  
  .contact-form {
    margin-top: 40px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .hero-section {
    height: auto;
    padding: 100px 0;
  }
  
  .hero-img {
    margin-top: 50px;
  }
  
  .about-img {
    margin-bottom: 50px;
  }
  
  .service-item, 
  .feature-item, 
  .price-item,
  .team-member,
  .blog-item,
  .coreinfo-item {
    margin-bottom: 30px;
  }
  
  .contact-form {
    margin-top: 40px;
  }
  
  .footer {
    padding: 60px 0 30px;
  }
  
  .footer-col {
    margin-bottom: 40px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .hero-section {
    height: auto;
    padding: 80px 0;
  }
  
  .hero-img {
    margin-top: 40px;
  }
  
  .about-img {
    margin-bottom: 40px;
  }
  
  .service-item, 
  .feature-item, 
  .price-item,
  .team-member,
  .blog-item,
  .coreinfo-item {
    margin-bottom: 30px;
  }
  
  .contact-form {
    margin-top: 30px;
    padding: 25px;
  }
  
  .footer {
    padding: 50px 0 30px;
  }
  
  .footer-col {
    margin-bottom: 30px;
  }
  
  .review-author {
    flex-direction: column;
    text-align: center;
  }
  
  .review-author img {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  /* Reduce animations for smaller screens */
  .service-item:hover,
  .feature-item:hover,
  .price-item:hover,
  .team-member:hover,
  .blog-item:hover,
  .coreinfo-item:hover,
  .about-feature:hover {
    transform: translateY(-5px);
  }
  
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: translateY(-2px);
  }
}

/* Prefers 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;
  }
  
  .service-item:hover,
  .feature-item:hover,
  .price-item:hover,
  .team-member:hover,
  .blog-item:hover,
  .coreinfo-item:hover,
  .about-feature:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
  
  .service-item:hover .service-img img,
  .team-member:hover .team-img img,
  .blog-item:hover .blog-img img,
  .gallery-item:hover img {
    transform: none;
  }
} 