@media (min-width:1551px) and (max-width:10000px) {
    .container {
        max-width: 1270px;
    }
}
@media screen and (max-width: 1599px){

    .container {
        max-width: 1270px;
    }
   
    
}
@media screen and (max-width: 1499px) {

    .container {
        max-width: 1250px;
    }
    html{
        font-size: 55%;
    }
   
    
}
@media screen and (max-width: 1299px) {

    .container {
        max-width: 1150px;
    }
    html{
        font-size: 50%;
    }

    .hero-banner-image{
        min-height: 650px;
        padding: 50px 0 100px 0;
    }


    /* About Page */
    .team-image .team-img{
        height: 250px;
    }
    
}

@media screen and (max-width: 1199px) {

    .container {
        max-width: 930px;
    }
    h6{
        font-size: 16px;
    }


    .navbar-expand-lg .navbar-nav .nav-item{
        margin-right: 30px;
    }


    .hero-banner-block{
        padding: 40px;
        max-width: 600px;
    }
    .hero-banner-text h6{
        margin-bottom: 20px;
    }
    .hero-banner-text p{
        margin-bottom: 25px;
    }



    .why-choose-img img{
        height: 300px;
    }
    .info-block{
        left: 30px;
    }
    .info-block h2{
        font-size: 90px;
        line-height: 50px;
        margin-bottom: 25px;
    }
    .why-choose-text ul li{
        font-size: 16px;
    }
    


    .blog-section,.why-choose-section{
        padding: 8rem 0;
    }
    .blog-grid{
        gap: 20px;
    }

    .footer{
        padding-top: 10rem;
    }
    .footer-brand p,.footer-contact .contact-item span{
        font-size: 16px;
        line-height: 24px;
    }
    .footer-links ul li a{
        font-size: 16px;
    }




    /* About Page */
    .stats-grid{
        gap: 40px 20px;
    }
    .stat-label{
        font-size: 16px;
    }
    

}

@media screen and (max-width: 991px) {

    .container {
        max-width: 730px;
    }
    html{
        font-size: 45%;
    }   
    .top-closebar{
        display: flex;
        justify-content: space-between;
        margin: 0 0 30px 0;
    }
    .navbar-toggler{
        order: 3;
    }
    .header-button{
        margin: 0 20px 0 auto;
    }
    .offcanvas{
        padding: 30px;
        max-width: 350px;
        width: 80%!important;
    }
    .navbar-expand-lg .navbar-nav{
        margin: 0;
    }
    .navbar-expand-lg .navbar-nav .nav-item:first-child, .navbar-expand-lg .navbar-nav .nav-item{
        margin: 0 0 0 0;
    }
    .navbar-expand-lg .navbar-nav .nav-link{
        padding: 10px 0;
        font-size: 16px;
        color: #0A2540;
    }
    .navbar-expand-lg .navbar-nav .nav-link:hover{
        color: #D4AF37;
    }
    .navbar-expand-lg .navbar-nav .nav-link::before {
        bottom: 0;
    }



    .hero-banner-image{
        min-height: 550px;
    }


    .service-parent .row{
        --bs-gutter-y: 10px;
    }
    

    .why-choose-img img{
        height: 200px;
    }
    .info-block {
        left: 0;
        bottom: 0px;
    }
    .info-block h2{
        font-size: 60px;
        line-height: 20px;
    }
    .info-block h6{
        font-size: 14px;
    }
    .why-choose-img-2{
        margin-top: 100px;
    }

    .about-text{
        padding: 0;
    }

    .blog-grid{
        grid-template-columns: repeat(2, 1fr);
    }


    .footer-brand{
        text-align: center;
        margin-bottom: 40px;
    }
    .footer-logo{
        margin: 0 auto;
    }
    .footer-brand p{
        max-width: 100%;
    }
    .social-links{
        justify-content: center;
    }

    .footer{
        clip-path: polygon(100% 3%, 100% 100%, 0% 100%, 0 3%, 33% 0);
    }
    .footer-bottom-links a,.footer-bottom p{
        font-size: 14px;
    }




    /* Contact Page */
    .inside-banner-wrap::before {
        width: 50%;
    }
    .map-section iframe{
        height: 400px;
    }
    .contact-text{
        padding: 0;
    }



    /* About Page */
    .about-page-image img{
        height: 330px;
    }
    .mission-vision-section{
        padding-bottom: 1rem;
    }
    .mission-block{
        margin-bottom: 80px;
    }
    .team-card{
        margin-bottom: 30px;
    }
    .team-section{
        padding: 8rem 0 5rem 0;
    }
    .stats-grid{
        gap: 30px 10px;
    }
    .stat-label{
        font-size: 15px;
        letter-spacing: 0;
    }

}

@media screen and (max-width: 767px) {

    
    html{
        font-size: 42%;
    } 
    .navbar{
        min-height: 70px;
    }
    .navbar-brand img{
        max-width: 150px;
        width: 150px;
    }
    body .header-button .btn.btn-primary{
        padding: 8px 15px 10px 15px;
    }

    body .btn.btn-primary{
        padding: 10px 20px 12px 20px;
    }


    .hero-banner-block{
        padding: 25px;
    }

    .about-section{
        padding-top: 8rem;
    }
    .about-image img{
        height: 350px;
    }
    .about-text{
        padding-top: 20px;
    }


    .why-choose-text{
        margin-bottom: 30px;
    }
    
    .tetimonial-section{
        padding: 8rem 0;
    }


    .blog-grid{
        grid-template-columns: repeat(1, 1fr);
    }


    .footer{
        clip-path: polygon(100% 3%, 100% 100%, 0% 100%, 0 3%, 33% 0);
    }
    .footer-links{
        margin-bottom: 40px;
    }
    .footer-bottom p{
        text-align: center;
        margin-bottom: 10px;
    }
    .footer-bottom-links{
        gap: 10px 15px;
        justify-content: center;
    }


    /* Contact Page */
    .inside-banner-image{
        min-height: 300px;
        padding: 0;
    }
    .inside-banner-wrap::before{
        width: 100%;
        border-radius: 0;
    }
    .inside-banner-wrap{
        padding: 30px 0;
    }
    .inside-banner-text{
        text-align: center;
    }
    .contact-section{
        padding: 8rem 0;
    }
    .contact-form{
        padding: 30px;
    }
    .bg-block::before {
        display: none;
    }
    .contact-text{
        padding: 0 0 20px 0;
    }



    /* About Page */
    .about-page-text{
        margin-bottom: 30px;
    }
    .team-image .team-img{
        height: 280px;
    }
    .stats-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-label{
        font-size: 14px;
    }
    

   
}

@media (min-width:576px) and (max-width:767px) {
    .hero-slider {
        height: 70vh ;
        min-height: 500px;
    }
    .hero-slide {
        height: 70vh;
        min-height: 500px;
    }
    .hero-content h1 {
        font-size: 4rem;
        line-height: 4.5rem;
    }
    .service-box {
        margin-bottom: 20px;
    }
    .contact-form-wrapper {
        padding: 30px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item {
        grid-template-columns: 1fr;
    }
}

/* Responsive Styles for New Sections */
@media screen and (max-width: 991px) {
    .hero-slider {
        height: 80vh;
        min-height: 500px;
    }
    .hero-slide {
        height: 80vh;
        min-height: 500px;
    }
    .hero-content {
        padding: 20px;
    }
    .services-section,
    .gallery-section,
    .contact-section {
        padding: 60px 0;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .contact-form-wrapper {
        padding: 40px;
    }
}

@media screen and (max-width: 767px) {
    .hero-slider {
        height: 70vh;
        min-height: 450px;
    }
    .hero-slide {
        height: 70vh;
        min-height: 450px;
    }
    .hero-content h1 {
        font-size: 3rem;
        line-height: 3.5rem;
    }
    .hero-content p {
        font-size: 16px;
        line-height: 24px;
    }
    .section-header h2 {
        font-size: 3rem;
        line-height: 3.5rem;
    }
    .service-box {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    .service-box h4 {
        font-size: 20px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gallery-item {
        grid-template-columns: 1fr;
    }
    .gallery-image img {
        height: 200px;
    }
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    .hero-slider .swiper-button-next:after,
    .hero-slider .swiper-button-prev:after {
        font-size: 16px;
    }
}