/* Responsive Styles */

/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1399.98px) {
    .container {
        max-width: 1140px;
    }
    
    .team-wrapper {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
    
    .team-image {
        width: 160px;
        height: 160px;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .team-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .team-image {
        width: 180px;
        height: 180px;
    }
    
    .services-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .core-info-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--primary-5);
        cursor: pointer;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        padding: 50px 20px;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin-left: 0;
        margin-bottom: 20px;
    }
    
    .about-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image {
        order: -1;
    }
    
    .services-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-plan {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }
    
    .team-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        order: -1;
    }
    
    .core-info-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .services-wrapper {
        grid-template-columns: 1fr;
    }
    
    .team-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-wrapper {
        grid-template-columns: 1fr;
    }
    
    .core-info-wrapper {
        grid-template-columns: 1fr;
    }
    
    .gallery-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Disable autoplay and animations on mobile */
    @media (prefers-reduced-motion) {
        .swiper-container {
            --swiper-autoplay: false;
        }
        
        .float-animation {
            animation: none;
        }
        
        .service-item:hover,
        .pricing-plan:hover,
        .team-member:hover,
        .review-item:hover,
        .blog-item:hover {
            transform: none;
        }
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .team-wrapper {
        grid-template-columns: 1fr;
    }
    
    .gallery-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    /* Disable autoplay and animations on mobile */
    .swiper-container {
        --swiper-autoplay: false;
    }
    
    .float-animation {
        animation: none;
    }
    
    .service-item:hover,
    .pricing-plan:hover,
    .team-member:hover,
    .review-item:hover,
    .blog-item:hover {
        transform: none;
    }
} 