/* Responsive CSS for Senior Living Document Assistance Desk */

/* Large devices (laptops/desktops, up to 1199px) */
@media (max-width: 1199.98px) {
  .hero-section {
    padding: 160px 0 80px;
  }
  
  .hero-blob {
    width: 70%;
    height: 70%;
  }
  
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .service-card, 
  .about-feature,
  .price-card {
    padding: 2rem;
  }
}

/* Medium devices (tablets, up to 991px) */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 140px 0 60px;
    min-height: auto;
  }
  
  .hero-blob {
    width: 80%;
    right: -20%;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .coreinfo-section,
  .contact-section,
  .blog-section,
  .faq-section,
  .gallery-section,
  .section-alt {
    padding: 80px 0;
  }
  
  .service-icon,
  .feature-icon,
  .coreinfo-icon {
    font-size: 2.5rem;
  }
  
  .review-item {
    margin: 1rem 0;
  }
  
  .navbar-collapse {
    background-color: var(--neutral-100);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .footer {
    padding: 50px 0 20px;
  }
  
  .price-amount {
    font-size: 2.25rem;
  }
  
  /* Swiper slider responsiveness */
  .swiper-button-next, 
  .swiper-button-prev {
    display: none;
  }
}

/* Small devices (landscape phones, up to 767px) */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 120px 0 50px;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.85rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-blob {
    opacity: 0.5;
  }
  
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .coreinfo-section,
  .contact-section,
  .blog-section,
  .faq-section,
  .gallery-section,
  .section-alt {
    padding: 60px 0;
  }
  
  .service-card, 
  .about-feature, 
  .price-card, 
  .team-member,
  .blog-card {
    margin-bottom: 30px;
  }
  
  .service-icon,
  .feature-icon,
  .coreinfo-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
  
  .footer {
    padding: 40px 0 20px;
    text-align: center;
  }
  
  .footer-title {
    margin-top: 2rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  /* Disable animations on mobile */
  @media (prefers-reduced-motion: no-preference) {
    .fade-in {
      opacity: 1;
      transition: none;
    }
  }
  
  /* Slider adjustments for mobile */
  .swiper-pagination {
    bottom: 0;
  }
  
  /* Team member spacing */
  .team-member {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Extra small devices (phones, up to 575px) */
@media (max-width: 575.98px) {
  .hero-section {
    padding: 100px 0 40px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .coreinfo-section,
  .contact-section,
  .blog-section,
  .faq-section,
  .gallery-section,
  .section-alt {
    padding: 50px 0;
  }
  
  .service-card, 
  .about-feature, 
  .price-card {
    padding: 1.5rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .footer {
    padding: 30px 0 20px;
  }
  
  .price-amount {
    font-size: 1.85rem;
  }
  
  /* Gallery adjustments */
  .gallery-img {
    height: 200px;
  }
}

/* Fixes for specific elements on different viewports */
@media (min-width: 768px) and (max-width: 991.98px) {
  .team-member {
    max-width: none;
  }
  
  .team-img {
    height: 220px;
  }
}

/* Special case for medium-small devices */
@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item {
    width: 50%;
    float: left;
    padding: 0 15px;
  }
}

/* Disable hover effects on touch devices */
@media (hover: none) {
  .service-card:hover,
  .about-feature:hover,
  .price-card:hover,
  .team-member:hover,
  .blog-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .gallery-item:hover .gallery-img {
    transform: none;
  }
  
  .nav-link:hover::after {
    width: 0;
  }
  
  .submit-btn:hover {
    transform: none;
  }
} 