/* Responsive styles */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Medium screens (992px to 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        gap: 3rem;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    /* Services Page */
    .service-detail-content {
        gap: 3rem;
    }
    
    .services-overview-content {
        gap: 2rem;
    }
    
    /* About Page */
    .about-story-content {
        gap: 3rem;
    }
    
    .mission-vision-content {
        gap: 2rem;
    }
}

/* Small screens (768px to 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-image, .about-text {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .newsletter-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-column {
        min-width: 150px;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .blog-layout {
        flex-direction: column;
    }

    .blog-sidebar {
        width: 100%;
    }
    
    /* Services Page */
    .services-overview-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .services-overview-text,
    .services-overview-image {
        width: 100%;
    }
    
    .service-detail-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .service-detail-content.reverse {
        flex-direction: column;
    }
    
    .service-detail-image,
    .service-detail-text {
        width: 100%;
    }
    
    /* About Page */
    .about-story-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .about-story-text,
    .about-story-image {
        width: 100%;
    }
    
    .mission-vision-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Extra small screens (576px to 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        flex-direction: column;
        gap: 0;
        align-items: center;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }

    .services-grid, .stats-container {
        grid-template-columns: 1fr;
    }

    .hero-buttons, .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-column {
        width: 100%;
    }

    .contact-content {
        flex-direction: column;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Very small screens (up to 575px) */
@media (max-width: 575px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .cookie-content h3 {
        font-size: 1.2rem;
    }

    .cookie-content p {
        font-size: 0.9rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons button {
        width: 100%;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group input {
        border-radius: 5px;
        margin-bottom: 0.5rem;
    }

    .form-group button {
        border-radius: 5px;
    }

    .thanks-actions {
        flex-direction: column;
    }

    .testimonial-content {
        padding: 1.5rem;
    }
}