/* Responsive CSS */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title-1 {
    font-size: 3rem;
  }
  
  .service-item-content,
  .priceplan-item {
    padding: 20px;
  }
  
  .footer-widget {
    margin-bottom: 30px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .site-nav ul {
    gap: 15px;
  }
  
  .hero-title-1 {
    font-size: 2.5rem;
  }
  
  .hero-section {
    padding-top: 100px;
  }
  
  .hero-image {
    margin-top: 40px;
  }
  
  .blog-grid,
  .services-grid,
  .priceplan-grid,
  .features-grid,
  .coreinfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .blog-item-image,
  .service-item-image {
    height: 180px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .site-header {
    padding: 15px 0;
  }
  
  .site-nav {
    flex-direction: column;
  }
  
  .site-nav ul {
    margin-top: 15px;
    gap: 10px;
  }
  
  .hero-title-1 {
    font-size: 2.2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .service-item-image,
  .blog-item-image,
  .team-member-image {
    height: 200px;
  }
  
  .blog-grid,
  .services-grid,
  .priceplan-grid,
  .team-grid,
  .features-grid,
  .coreinfo-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  .about-image {
    margin-bottom: 30px;
  }
  
  .footer-widget {
    margin-bottom: 30px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title-1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .blog-grid,
  .services-grid,
  .priceplan-grid,
  .team-grid,
  .features-grid,
  .coreinfo-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .site-nav ul li {
    margin-bottom: 10px;
  }
  
  .contact-form {
    padding: 20px 15px;
  }
  
  .footer-links {
    margin-bottom: 20px;
  }
  
  .priceplan-item-price {
    font-size: 1.8rem;
  }
  
  .reviews-swiper {
    padding: 20px 0;
  }
  
  .review-item {
    padding: 20px;
  }
  
  .accordion-header h3 {
    font-size: 1rem;
  }
}

/* Fix for some mobile devices not handling vh units correctly */
@media (max-height: 600px) {
  .hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  
  .service-item:hover,
  .blog-item:hover,
  .team-member:hover,
  .priceplan-item:hover,
  .about-feature:hover,
  .feature-item:hover,
  .coreinfo-item:hover {
    transform: none !important;
  }
  
  .service-item:hover .service-item-image img,
  .blog-item:hover .blog-item-image img,
  .gallery-item:hover img {
    transform: none !important;
  }
  
  .swiper-container {
    --swiper-pagination-bullet-inactive-opacity: 0.5;
  }
} 