/* RESPONSIVE STYLES - Affordable Housing Application Workshops Template */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  #hero-title-1 {
    font-size: 4rem;
  }
  
  #hero-subtitle-1 {
    font-size: 1.8rem;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  #hero-title-1 {
    font-size: 3.2rem;
  }
  
  #hero-subtitle-1 {
    font-size: 1.4rem;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  section {
    padding: 4rem 0;
  }
  
  #hero {
    padding: 8rem 0 4rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  #hero-title-1 {
    font-size: 2.8rem;
  }
  
  #hero-subtitle-1 {
    font-size: 1.3rem;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .hero-image {
    margin: 0 auto;
  }
  
  .about-feature,
  .services-card,
  .features-item,
  .pricing-card,
  .team-card,
  .blog-card {
    margin-bottom: 30px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  footer {
    padding: 3rem 0 1rem;
  }
  
  .footer-col {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  section {
    padding: 3rem 0;
  }
  
  #hero {
    padding: 7rem 0 3rem;
    text-align: center;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  #hero-title-1 {
    font-size: 2.5rem;
  }
  
  #hero-subtitle-1 {
    font-size: 1.2rem;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  .about-feature,
  .services-card,
  .features-item,
  .pricing-card,
  .team-card,
  .blog-card {
    margin-bottom: 30px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  footer {
    padding: 3rem 0 1rem;
    text-align: center;
  }
  
  .footer-col {
    margin-bottom: 2rem;
  }
  
  #sitename-footer {
    margin-left: auto;
    margin-right: auto;
  }
  
  #contact-info-phone,
  #contact-info-email,
  #contact-info-address {
    justify-content: center;
  }
  
  #blog_grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  section {
    padding: 2.5rem 0;
  }
  
  #hero {
    padding: 6.5rem 0 2.5rem;
    text-align: center;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  #hero-title-1 {
    font-size: 2.2rem;
  }
  
  #hero-subtitle-1 {
    font-size: 1.1rem;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  .about-feature,
  .services-card,
  .features-item,
  .pricing-card,
  .team-card,
  .info-card,
  .blog-card {
    margin-bottom: 30px;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  
  .contact-form {
    padding: 1.25rem;
  }
  
  footer {
    padding: 2.5rem 0 1rem;
    text-align: center;
  }
  
  .footer-col {
    margin-bottom: 2rem;
  }
  
  #sitename-footer {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.6rem;
  }
  
  #contact-info-phone,
  #contact-info-email,
  #contact-info-address {
    justify-content: center;
  }
  
  #site-copyright {
    font-size: 0.75rem;
  }
  
  #blog_grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* 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;
  }
  
  .hero-image img,
  .services-card-img img,
  .team-img img,
  .blog-img img,
  .gallery-item img {
    transition: none !important;
  }
  
  .services-card:hover,
  .about-feature:hover,
  .features-item:hover,
  .pricing-card:hover,
  .team-card:hover,
  .review-card:hover,
  .info-card:hover,
  .blog-card:hover {
    transform: none !important;
  }
  
  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-accent:hover {
    transform: none !important;
  }
  
  .blog-link:hover i {
    transform: none !important;
  }
} 