/* Rural Social Aid Roadshow - Responsive Stylesheet */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title-1 {
    font-size: 3rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title-1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.2rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .about-feature-card, 
  .services-card, 
  .price-card, 
  .team-card, 
  .coreinfo-item {
    margin-bottom: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .feature-item {
    margin-bottom: 2rem;
  }
  
  .review-card {
    min-height: 320px;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title-1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.1rem;
  }
  
  .hero-section {
    min-height: auto;
    padding: 8rem 0 4rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .feature-item {
    margin-bottom: 2rem;
  }
  
  .review-card {
    min-height: auto;
    margin-bottom: 1.5rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer-contact-item {
    justify-content: center;
  }
  
  .footer-links {
    margin-bottom: 2rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title-1 {
    font-size: 2rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1rem;
  }
  
  .hero-section {
    min-height: auto;
    padding: 8rem 0 4rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .feature-item {
    margin-bottom: 2rem;
  }
  
  .review-card {
    min-height: auto;
    margin-bottom: 1.5rem;
  }
  
  .footer {
    text-align: center;
    padding: 3rem 0 1.5rem;
  }
  
  .footer-contact-item {
    justify-content: center;
  }
  
  .footer-links {
    margin-bottom: 2rem;
  }
  
  .about-feature-card, 
  .services-card, 
  .price-card, 
  .team-card, 
  .coreinfo-item {
    margin-bottom: 1.5rem;
  }
  
  .accordion-button {
    padding: 1rem;
  }
  
  .accordion-body {
    padding: 1rem;
  }
}

/* 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-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
    transition: none;
  }
  
  .about-feature-card:hover,
  .services-card:hover,
  .coreinfo-item:hover,
  .blog-card:hover,
  .price-card:hover {
    transform: none;
  }
  
  .team-card:hover .team-img,
  .gallery-item:hover .gallery-img {
    transform: none;
  }
} 