/* Responsive Styles */

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
        max-width: 80%;
        margin: 0 auto;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .features-grid,
    .priceplan-grid,
    .team-grid,
    .blog-grid,
    .coreinfo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small devices (576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .features-grid,
    .priceplan-grid,
    .team-grid,
    .blog-grid,
    .coreinfo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-options {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .shape-blob {
        display: none;
    }
}

/* Extra small devices (less than 576px) */
@media (max-width: 575.98px) {
    html {
        font-size: 14px;
    }
    
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-image {
        order: -1;
        width: 100%;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-feature {
        padding: 1.5rem;
    }
    
    .services-grid,
    .features-grid,
    .priceplan-grid,
    .team-grid,
    .blog-grid,
    .coreinfo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-options {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .shape-blob {
        display: none;
    }
}

/* Navigation styles for mobile */
@media (max-width: 991.98px) {
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 900;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-item {
        margin: 0 0 1.5rem;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1000;
    }
    
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 800;
        display: none;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    .nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
        cursor: pointer;
    }
}

/* Animation adjustments for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero::before,
    .shape-blob {
        animation: none !important;
    }
    
    .swiper-container {
        --swiper-theme-color: var(--color-primary);
    }
}

/* Additional adjustments for Safari and iOS */
@supports (-webkit-touch-callout: none) {
    .hero,
    .section {
        background-attachment: scroll;
    }
} 