/* Responsive Styles */

/* Large screens (above 1200px) */
@media screen and (min-width: 1201px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktop (between 992px and 1200px) */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
}

/* Tablet (between 768px and 991px) */
@media screen and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-text,
    .about-image {
        width: 100%;
    }
    
    .services-grid,
    .audit-types-grid,
    .testimonials-grid,
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo,
    .footer-contact,
    .footer-links {
        grid-column: span 12;
        margin-bottom: 2rem;
    }
}

/* Mobile Landscape (between 576px and 767px) */
@media screen and (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .audit-types-grid,
    .testimonials-grid,
    .statistics-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        background: transparent;
        border: none;
        color: var(--primary);
        cursor: pointer;
    }
    
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--primary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease;
    }
    
    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-close {
        position: absolute;
        top: 2rem;
        right: 2rem;
        font-size: 2rem;
        color: #fff;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    
    .mobile-nav-list {
        list-style: none;
        text-align: center;
    }
    
    .mobile-nav-item {
        margin: 1.5rem 0;
    }
    
    .mobile-nav-link {
        color: #fff;
        font-family: var(--heading-font);
        font-size: 1.5rem;
        font-weight: 600;
    }
    
    .mobile-nav-link:hover {
        color: var(--secondary);
    }
}

/* Mobile Portrait (below 576px) */
@media screen and (max-width: 575px) {
    :root {
        --section-padding: 3rem 0;
        --container-padding: 0 1.5rem;
    }
    
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-divider {
        height: 50px;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}
