/* RESPONSIVE STYLES FOR PATIENT RIGHTS ADVOCACY TEMPLATE */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-content {
    max-width: 600px;
  }
  
  .team-img {
    height: 250px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .navbar-collapse {
    background-color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    align-items: center;
  }
  
  .nav-link {
    padding: 10px 15px;
    width: 100%;
    text-align: center;
  }
  
  .hero-content {
    max-width: 500px;
    padding: 0 15px;
  }
  
  .about-feature {
    margin-bottom: 30px;
  }
  
  .service-img {
    height: 180px;
  }
  
  .review-item {
    padding: 1.5rem;
  }
  
  .contact-info {
    margin-top: 30px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .about-feature, 
  .service-item, 
  .feature-item,
  .price-item,
  .team-member,
  .info-item,
  .blog-item {
    margin-bottom: 30px;
  }
  
  .section-divider {
    height: 50px;
  }
  
  .service-img {
    height: 220px;
  }
  
  .price-features {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .review-author {
    flex-direction: column;
    text-align: center;
  }
  
  .review-author img {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  footer {
    text-align: center;
  }
  
  .footer-col {
    margin-bottom: 30px;
  }
  
  .social-icons {
    justify-content: center;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-content {
    padding: 0 10px;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1rem;
  }
  
  .about-feature, 
  .service-item, 
  .feature-item,
  .price-item,
  .review-item,
  .info-item {
    padding: 1.2rem;
  }
  
  .service-img {
    height: 180px;
  }
  
  .team-img {
    height: 280px;
  }
  
  .contact-form {
    padding: 1.2rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
}

/* Height-based media queries */
@media (max-height: 700px) {
  .hero {
    height: auto;
    min-height: 100vh;
  }
}

/* Animation optimization for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  
  .fadeInUp, .zoomIn {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 0 !important;
  }
} 