/* Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.6rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    section {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding-right: 0;
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Mobile menu styles */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
    }
    
    .mobile-menu-toggle span {
        height: 3px;
        width: 100%;
        background-color: var(--secondary);
        transition: all 0.3s ease;
    }
    
    .main-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .main-menu.menu-open {
        transform: translateY(0);
    }
    
    .main-menu li {
        margin: 15px 0;
    }
    
    /* Form responsive */
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .policy-page {
        padding: 30px 20px;
    }
    
    #cookie-popup {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .service-cards,
    .benefits-grid,
    .testimonial-cards,
    .blog-posts,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .testimonial-card,
    .blog-post {
        padding: 20px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .thankyou-container h1 {
        font-size: 1.5rem;
    }
    
    .thankyou-container p {
        font-size: 1rem;
    }
}
