/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  html {
    font-size: 15px;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .navbar-collapse {
    background-color: rgba(252, 250, 247, 0.98);
    padding: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  }
  
  .navbar-toggler {
    border: none;
    padding: 0;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .nav-link::after {
    left: 0;
    transform: none;
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 50px;
  }
  
  .features-bg, 
  .coreinfo-bg {
    width: 100%;
    height: 300px;
    position: relative;
  }
  
  .features-content, 
  .coreinfo-content {
    padding-top: 2rem;
  }
  
  .price-item.featured {
    transform: scale(1);
  }
  
  .price-item.featured:hover {
    transform: translateY(-10px);
  }
  
  .contact-info {
    margin-top: 3rem;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  html {
    font-size: 14px;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .hero-section {
    height: 80vh;
  }
  
  .hero-slider .swiper-slide {
    height: 80vh;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .about-img {
    margin-bottom: 2rem;
  }
  
  .service-item {
    padding: 2rem 1.5rem;
  }
  
  .feature-item {
    margin-bottom: 2rem;
  }
  
  .team-member {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .review-item {
    padding: 2rem 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Disable animations on mobile for better performance */
  @media (prefers-reduced-motion: no-preference) {
    .hero-content h1,
    .hero-content p {
      opacity: 1;
      transform: none;
      transition: none;
    }
    
    .fade-up {
      opacity: 1;
      transform: none;
      transition: none;
    }
    
    .service-item:hover,
    .price-item:hover,
    .price-item.featured:hover {
      transform: none;
    }
    
    .team-member:hover .team-img img {
      transform: none;
    }
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .price-tabs .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .decoration-circles {
    display: none;
  }
  
  .shape-divider svg,
  .shape-divider-top svg {
    height: 40px;
  }
  
  .review-author {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .review-author-img {
    margin-bottom: 1rem;
  }
  
  footer {
    padding-top: 3rem;
  }
  
  .footer-links,
  .footer-contact,
  .footer-about {
    margin-bottom: 2rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-content h1 {
    font-size: 4rem;
  }
}

/* Print styles */
@media print {
  header, 
  footer,
  .hero-section,
  .contact-form {
    display: none;
  }
  
  body {
    background-color: #fff;
    color: #000;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  /* Only apply if user has not disabled animations */
  @media (prefers-reduced-motion: no-preference) {
    /* We don't implement dark mode fully, but we respect user preference by reducing contrast */
    body {
      filter: brightness(0.9);
    }
  }
} 