/* 
 * Senior Center Aid Desk
 * Responsive CSS file
 */

/* Extra small devices (phones, 575px and down) */
@media (max-width: 575px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    section {
        padding: 60px 0 !important;
    }
    
    .about-feature, 
    .service-item,
    .feature-item,
    .price-card,
    .info-item {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .review-item {
        margin: 10px 0;
    }
    
    .team-img {
        width: 150px;
        height: 150px;
    }
    
    /* Disable animations on small devices */
    .about-feature:hover,
    .service-item:hover,
    .price-card:hover,
    .blog-item:hover,
    .info-item:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    /* Adjust the featured price card */
    .price-card.featured {
        transform: none;
    }
    
    /* Adjust swiper navigation for small screens */
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    section {
        padding: 70px 0 !important;
    }
    
    /* Reduce motion on smaller devices */
    .about-feature:hover,
    .service-item:hover,
    .price-card:hover,
    .blog-item:hover,
    .info-item:hover {
        transform: translateY(-5px);
    }
    
    /* Adjust the featured price card */
    .price-card.featured {
        transform: scale(1.02);
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .service-item,
    .price-card {
        margin-bottom: 30px;
    }
    
    .review-item {
        margin: 10px;
    }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .about-feature:hover,
    .service-item:hover,
    .price-card:hover,
    .blog-item:hover,
    .info-item:hover {
        transform: none;
    }
    
    .gallery-img:hover {
        transform: none;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .swiper-container {
        --swiper-autoplay-delay: 0 !important;
    }
} 