/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .section-title::after {
        width: 60px;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-img {
        margin-top: 2rem;
    }
    
    .service-card, .about-feature, .price-card, .team-member, .review-item, .blog-card, .info-item {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    footer {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .team-info {
        padding: 1rem;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .team-role {
        font-size: 0.85rem;
    }
    
    .review-item {
        padding: 1.5rem;
    }
    
    .price-header {
        padding: 1.5rem;
    }
    
    .price-features {
        padding: 1.5rem;
    }
    
    #site-copyright {
        margin-top: 1.5rem;
    }
    
    .gallery-img {
        height: 200px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    html {
        font-size: 15px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-img {
        margin-top: 2rem;
    }
    
    .service-card, .about-feature, .price-card, .team-member, .review-item, .blog-card, .info-item {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    section {
        padding: 4.5rem 0;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .service-card, .about-feature, .price-card, .team-member, .review-item, .info-item {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    section {
        padding: 5rem 0;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Reduce animations for users who prefer 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;
    }
    
    .slide-up, .slide-in-right, .slide-in-left, .fade-in {
        animation: none !important;
    }
    
    .card:hover, .service-card:hover, .price-card:hover, .team-member:hover, .about-feature:hover,
    .info-item:hover, .gallery-item:hover, .blog-card:hover, .btn-primary:hover, .btn-secondary:hover {
        transform: none !important;
    }
    
    .gallery-item:hover .gallery-img, .team-member:hover .team-img {
        transform: none !important;
    }
    
    .feature-item:hover .feature-icon {
        transform: none !important;
    }
}

/* Mobile menu styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        margin: 0;
        border-radius: 5px;
    }
    
    .nav-link:hover, .nav-link:focus, .nav-link.active {
        background-color: var(--primary-color-1-light);
        color: white;
    }
    
    .nav-link::after {
        display: none;
    }
} 