/* Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .service-card,
  .price-card,
  .about-feature {
    padding: 1.5rem;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .about-image {
    margin-bottom: 2rem;
  }
  
  .service-card,
  .feature-item,
  .price-card,
  .team-member,
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  .footer-widget {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
  }
  
  .navbar-nav .nav-link::after {
    display: none;
  }
  
  .hero-section,
  .about-section,
  .services-section,
  .features-section,
  .price-plan-section,
  .team-section,
  .reviews-section,
  .core-info-section,
  .contact-section,
  .blog-section {
    padding: 3rem 0;
  }
  
  .swiper-slide {
    padding: 3rem 0;
  }
  
  .about-feature,
  .service-card,
  .price-card,
  .team-member,
  .blog-card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .hero-section,
  .about-section,
  .services-section,
  .features-section,
  .price-plan-section,
  .team-section,
  .reviews-section,
  .core-info-section,
  .contact-section,
  .blog-section {
    padding: 2.5rem 0;
  }
  
  .swiper-slide {
    padding: 2.5rem 0;
  }
  
  .about-feature,
  .service-card,
  .price-card,
  .team-member,
  .review-card,
  .core-info-item,
  .blog-card {
    padding: 1.25rem;
  }
  
  .footer {
    padding: 2.5rem 0 1.5rem;
  }
  
  /* Form elements on small screens */
  .form-control {
    padding: 0.6rem;
  }
  
  /* Make sure images are responsive */
  .img-fluid {
    max-width: 100%;
    height: auto;
  }
}

/* Fix for prefers-reduced-motion */
@media (prefers-reduced-motion) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .swiper-container.swiper-initialized {
    --swiper-autoplay-delay: 999999s;
  }
  
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .fade-in.active {
    opacity: 1;
    transform: none;
  }
}

/* Print styles for intake forms */
@media print {
  body {
    background-color: white;
    font-size: 12pt;
  }
  
  header, 
  footer, 
  nav, 
  aside,
  .no-print {
    display: none !important;
  }
  
  main, 
  article, 
  section {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .row {
    display: block;
  }
  
  h1 {
    font-size: 18pt;
  }
  
  h2 {
    font-size: 16pt;
  }
  
  p, li {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  a {
    text-decoration: none;
    color: black;
  }
  
  /* Ensure form fields are visible when printed */
  input, 
  textarea, 
  select {
    border: 1px solid #999;
    background: white;
    color: black;
  }
} 