/* Responsive Styles for Elderly Home Visit Estate Planning Service */

/* Large Devices (Desktops) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  section {
    padding: 4.5rem 0;
  }
}

/* Medium Devices (Tablets) */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2.25rem;
  }
  
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  section {
    padding: 4rem 0;
  }
  
  .about-img {
    margin-bottom: 2rem;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
}

/* Small Devices (Mobile Landscape) */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 3.5rem 0;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .core-info-item,
  .blog-card {
    margin-bottom: 20px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .contact-info {
    padding: 2rem;
  }
  
  /* Disable autoplay animations for mobile */
  .swiper-container-autoplay {
    autoplay: false;
  }
  
  /* Reduce animation effects */
  .animate__animated {
    animation-duration: 0s !important;
  }
  
  /* Footer spacing adjustments */
  .footer-col {
    margin-bottom: 2rem;
  }
}

/* Extra Small Devices (Mobile Portrait) */
@media (max-width: 575.98px) {
  html {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-section {
    min-height: 500px;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .about-feature {
    padding: 1.5rem;
  }
  
  /* Further reduce animations */
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Reduce card padding */
  .card-body {
    padding: 1.25rem;
  }
  
  /* Swiper adjustments */
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  /* Responsive table adjustments */
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 0 !important;
  }
  
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .animate__animated {
    animation-name: none !important;
  }
} 