/* Rural Social Aid Roadshow - Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  h1 { font-size: 1.625rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.125rem; }
  
  #hero {
    min-height: 80vh;
  }
  
  .process-step::after {
    display: none;
  }
  
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  #blog_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Typography */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.125rem; }
  h4 { font-size: 1rem; }
  p { font-size: 0.875rem; }
  
  /* Navbar */
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    margin: 0;
  }
  
  /* Hero */
  #hero {
    min-height: 100vh;
  }
  
  #hero h1 {
    font-size: 1.5rem;
  }
  
  #hero p {
    font-size: 1rem;
  }
  
  .shape-blob-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
  }
  
  .shape-blob-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
  }
  
  /* Sections */
  section {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  /* Service cards */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card .price {
    font-size: 1.25rem;
  }
  
  /* Features */
  .feature-item i {
    font-size: 2.5rem;
  }
  
  /* Pricing */
  .pricing-card {
    margin-bottom: 1.5rem;
  }
  
  .pricing-card .price {
    font-size: 2rem;
  }
  
  /* Team */
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Process */
  .process-step {
    margin-bottom: 2rem;
  }
  
  .process-step .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 2rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .btn-submit {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }
  
  /* Blog */
  #blog_grid {
    grid-template-columns: 1fr;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .gallery-item {
    height: 180px;
  }
  
  /* Info grid */
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  /* Footer */
  footer {
    text-align: center;
  }
  
  footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-autoplay {
    --swiper-autoplay-delay: 999999999ms !important;
  }
  
  .swiper-effect-fade,
  .swiper-effect-cube,
  .swiper-effect-flip,
  .swiper-effect-coverflow {
    --swiper-effect: none !important;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Typography */
  h1 { font-size: 1.375rem; }
  h2 { font-size: 1.125rem; }
  h3 { font-size: 1rem; }
  
  /* Hero */
  #hero h1 {
    font-size: 1.375rem;
  }
  
  #hero p {
    font-size: 0.875rem;
  }
  
  /* Sections */
  section {
    padding: 2rem 0;
  }
  
  /* Features */
  .feature-box {
    padding: 1.5rem;
  }
  
  .feature-box i {
    font-size: 2.5rem;
  }
  
  /* Service cards */
  .service-card-body {
    overflow-x: hidden;
    padding: 1rem;
  }
  
  /* Gallery */
  .gallery-item {
    height: 150px;
  }
  
  /* Contact */
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  /* Blog */
  .blog-card-body {
    overflow-x: hidden;
    padding: 1rem;
  }
  
  /* Footer */
  footer {
    padding: 2rem 0 1rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  #hero,
  #gallery,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none !important;
  }
  
  body {
    overflow-x: hidden;
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  section {
    page-break-inside: avoid;
  }
} 