/* Responsive Styles */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 80px 0;
  }
  
  .navbar-collapse {
    background-color: var(--primary-2);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .services-item-img {
    height: 200px;
  }
  
  /* Prevent animations on tablet devices */
  @media (prefers-reduced-motion: reduce) {
    .fade-up, .fade-in {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 80px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .section-title h2:after {
    width: 60px;
    bottom: -10px;
  }
  
  .about-feature, 
  .services-item, 
  .features-item, 
  .priceplan-item, 
  .team-member, 
  .coreinfo-item, 
  .blog-item {
    margin-bottom: 20px;
  }
  
  .services-item-img {
    height: 180px;
  }
  
  footer {
    padding: 60px 0 20px;
  }
  
  #site-copyright {
    margin-top: 30px;
  }
  
  /* Disable auto-play sliders on mobile */
  .swiper-container {
    --swiper-autoplay: false !important;
  }
  
  /* Prevent animations on mobile devices */
  .fade-up, .fade-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .navbar-brand {
    font-size: 22px;
  }
  
  .services-item-content, 
  .priceplan-item-content, 
  .reviews-item, 
  .contact-form, 
  .blog-item-content {
    padding: 20px;
  }
  
  .services-item-img {
    height: 160px;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .breadcrumb-section {
    padding: 100px 0 60px;
  }
}

/* Support for dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --white: #121212;
    --light-gray: #1e1e1e;
    --medium-gray: #333333;
    --dark-gray: #888888;
    --black: #f5f5f5;
  }
  
  body {
    color: #f5f5f5;
  }
  
  .header.sticky {
    background-color: #121212;
  }
  
  .header.sticky .navbar-brand,
  .header.sticky .nav-link {
    color: #f5f5f5;
  }
  
  .services-item, 
  .priceplan-item, 
  .team-member, 
  .reviews-item, 
  .contact-form, 
  .blog-item,
  .faq-accordion .accordion-item {
    background-color: #1e1e1e;
    border-color: #333333;
  }
  
  .form-control {
    background-color: #1e1e1e;
    border-color: #333333;
    color: #f5f5f5;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, 
  ::before, 
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .swiper-container {
    --swiper-autoplay: false !important;
  }
} 