
/* Responsive adjustments */
@media (max-width: 1280px) and (max-height: 720px) {
    .text-section {
        max-width: 1000px;
    }
    .text-section h1 {
        font-size: 3rem;
    }
    
    .hero-slider {
        height: 80vh;
    }
}

@media (max-width: 992px) {
     .nav-container {
          height: auto;
          flex-direction: column;
     }
     
     .logo-section, .cta-section {
          flex: 1;
          width: 100%;
          justify-content: center;
          padding: 15px 0;
     }
     
     .nav-section {
          width: 100%;
          justify-content: center;
          padding: 15px 0;
     }
     
     .nav-menu {
          flex-wrap: wrap;
          justify-content: center;
     }
     
     .nav-item {
          margin: 5px 15px;
     }

     /* Hero Section Starts */
     .hero-section {
          min-height: 500px;
     }

     .text-section h1 {
          font-size: 2.8rem;
     }

     /* About Section Starts */
     .about-flex {
        flex-direction: column;
        gap: 40px;
    }
    
    .vertical-image:first-child,
    .vertical-image:last-child {
        transform: none;
    }
    
    .about-flex .content {
        text-align: center;
    }
    
    .about-flex .content h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
     .service-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .grid-section {
        grid-template-columns: 1fr;
    }

    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info-container {
        order: -1;
        margin-bottom: 40px;
    }
}

@media (max-width: 900px) {
    .modal-body {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .project-images {
        margin-bottom: 30px;
    }
    
    .main-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
     .hero-section {
          min-height: 400px;
          text-align: center;
     }
     
     .text-section {
          padding: 0 30px;
     }
     
     .text-section h1 {
          font-size: 2.2rem;
     }
     
     .text-section p {
          font-size: 1rem;
          margin: 0 auto 30px;
     }

     /* About Section Starts */
     .about-section {
        padding: 70px 0;
    }
    
    .flex-images {
        grid-template-columns: 1fr;
    }
    
    .vertical-image {
        height: 250px;
    }

    /* Testimonials Starts */
     .testimonials-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 25px;
    }

    /* NewsLetter Starts */

     .newsletter-cta {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .input-group {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .input-group input {
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    /* Footer */
     .footer-bottom {
        flex-direction: row;
    }

    /* Contact Section */
     .contact-section {
        padding: 60px 0 0;
     }
    
     .section-title {
          font-size: 2rem;
     }
    
     .contact-info-box h3 {
          font-size: 1.5rem;
     }
}

@media (max-width: 600px) {
    .modal-content {
        width: 95%;
    }
    
    .modal-body {
        padding: 20px;
        gap: 20px;
    }
    
    .project-description h2 {
        font-size: 1.5rem;
    }

    /* Footer */

     .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links,
    .footer-services,
    .footer-contact {
        margin-bottom: 20px;
    }
    
    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }
}


@media (max-width: 576px) {
     .nav-menu {
          flex-direction: column;
          align-items: center;
     }
     
     .nav-item {
          margin: 5px 0;
     }
     
     .call-btn {
          padding: 10px 20px;
     }

     /* Hero Section Starts */
     .hero-section {
          min-height: 350px;
     }
     
     .text-section h1 {
          font-size: 1.8rem;
     }

     /* Contact Section Starts */

     .contact-info-container {
        padding: 30px;
     }
    
     .business-hours li {
          flex-direction: column;
     }
    
     .business-hours span {
          width: auto;
          margin-bottom: 5px;
     }
}