@media  (max-width:1200px){
    .template-box{
        display: flex;
        flex-wrap: wrap;
    }
}

/* mobile version */
@media (max-width: 600px){
    .section-container{
       max-width: 1200px;
        width: 100%;
        margin: auto;
        padding: 0px;
        overflow-x: hidden;
    }
 
    .site-wrapper{
       max-width: 100vw;
       padding: 0;
    }
    /* hero-header and nav are managed in the unified mobile navigation section below */
    .hero{
        width: 100%;
        height: fit-content;
    }
    .hero::before{
        transform: translateX(150%);
        /* width: fit-content; */
        width: 100%;
        max-width: 700px;
        overflow: hidden;

    }
    .hero.show-bg::before{
        transform: translateX(0);
        width: 100%;
        max-width: 700px;
        /* height: 300px; */
    }
    .hero-mainContent{
        height: fit-content;
       flex-direction: column;
        /* z-index: -1;  */
    }   
    .hero-content {
      
       
       width: 100%;
        
    }
    .heroForm{
        margin-bottom: 20px;
    }
    .hero-content h1{
        font-size: 25px;
        margin-bottom: 30px;
        
    }
  
    /*scroll navbar */
    .scroll-header{
        position: relative;
         display: none;
    }
    .scroll-container{
        display: flex;
        flex-direction: column;
       
    }
    .scroll-container navbar {
        display: flex;
        flex-direction: column;
    }
    .hero-content p{
        font-size: 18px;
        margin-top: -40px;
    }
    .about-section{
        height: fit-content;
        padding: 5px;
    }
    .about-content{
        height: fit-content;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        
    }
    .aboutText{
        flex-grow: 1;
        flex-basis: 200;
        width: 100%;
       
    }
    .about-image{
        width: 100%;

    }
    .ceo-card{
        width: 100%;
        
    }
    .ceo-card{
        padding: clamp(10px, 1vw, 0px);
    }
    .ceo-image-wrapper {
        max-width: 400px;
        height: 200px;
    }
    .ceo-image-wrapper img{
        height: 50%;
        width: 100%;
        object-fit: cover;
    }
    .property-wrapper{
        flex-wrap: wrap;
        flex-direction: column;
    }
    .property-card{
        width: 100%;
    }
    .landing-ceo-card{
        flex-direction: column;
         padding: 10px 20px;
    }
    /* services page*/
    .service-row{
        flex-wrap: wrap;
        flex-direction: column;
    }
    .service-col{
        width: 100%;
    }
    .services-Cta{
        flex-wrap: wrap;
    }
    .animation-video{
        margin-top: 20px;
    }

    /* counter */
    .counter-container{
        min-height: 100% !important;
        display: flex;
        padding: 0px 10px;
        flex-direction: column !important;
         width: 100%;
         flex-wrap: wrap;
         margin-top: -30px !important;

    }
    .content-box{
        width: 100%;
        margin-left: 30px;   
        height: fit-content;
    }
    .counter-box::before{
        height: 210px;
        top: 0px;
    }
  
    .counter-container{
        flex-wrap: wrap;
        height: fit-content;
        margin-top:-80px;
        flex-direction: column;
    }
    .counter-box{
        width: 100%;
    }
    
    .footer-container{
        width: 100%;
        flex-wrap: wrap;
        /* gap: 20px; */
        display: flex;
        height: fit-content;
        flex-direction: column;
    }
    .footer-box {
        flex-grow: 1;
        flex-basis: 200;
        height: auto;
        width: 100%;
    }
    .contact-footer{
        position: relative;
        left: 0px;
    }
    .template-container{
        height: fit-content;
    }
    .template-box{
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .template-card{
        margin-top: 120px;
    }
    .template-front{
        margin-left: -50px;
    }
    /* timeline */
    .timeline-container{
        height: fit-content;
        margin-top: 120px
        
    }
    .icons{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contact-section{
        padding: 40px;
    
    }
    .contact-content{
        display: flex;
        flex-wrap: wrap !important;
        flex-direction: column;
    }
    .contact-content h1{
        font-size: 25px;
    }
    .contact-box{
        flex-direction: column;
        flex-wrap: wrap;
    }
    .text-icons{
        position: relative;
        left: 0px;
        width: 100%;

    }
    .text-box p{
        display: flex;
        flex-wrap: wrap;
    }
    .text-icons a{
        /* display: flex; */
        flex-wrap: wrap;
    }
    .radio-row{
        /* white-space: wrap; */
        flex-wrap: wrap;
    }
    .expert-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 4px !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .expertise-viewpoint {
        overflow: hidden !important;
        width: calc(100vw - 100px) !important;
        max-width: 290px !important;
        min-width: 230px !important;
        padding: 12px 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .expertise-wrapper {
        gap: 20px !important;
        padding: 10px 0 !important;
    }
    .flip-card {
        width: calc(100vw - 100px) !important;
        max-width: 290px !important;
        min-width: 230px !important;
        height: 390px !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }
    .arrow {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 15px !important;
        flex-shrink: 0 !important;
    }
    .testimonials-cards{
        width: 400px;
    }
    /* scroll */
    .scroll-btn{
        width: 0;
        height: 0;
    }
    .scroll-btn i{
        position: fixed;
        right:0px;
        top: 380px;
        bottom: 0px;
    }
    /* get in quote */
    .package-wrapper{
        flex-wrap: wrap;
        flex-direction: column;
    }
    .package-card{
        width: 350px;
        
    }
    .package-card a{
        position: relative;
        left: -20px;
        width: 100%;
    }
    .compare-box{
        width: 100px;
    }
    .compare-card{
        flex-wrap: wrap;
    }
    .list{
        margin-top: 30px;
       
    }
    .list p{
         height: 600px;
        width: 20px;
        font-size: 12px;
    }
    .list h3{
        text-align: start;
        font-size: 15px;
    }
    /* calculation */
    .plot-input input{
        width: 100%;
    }
    .navbar button{
        width: 300px;
        padding: 0px;
    }
     .projectImage img {
        width: 100%;
    }
    .project-wrapper{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        height: 90vh;
    }
    .project-card{
        width: 100%;
        
    }

    /* .project-image img{
        height: 300px;
    } */
    .floors-container{
        flex-direction: column;
    }
    /* map */
    .project-iframe{
         margin: 10px;
    }
    .project-iframe iframe{ 
        width: 100%;
        
    }   
    /* team */
    .team-wrapper{
        flex-direction: column;
    }
    .team-card{
        width: 100%;
        
    }
    /* youtube play */
    .video-card {
        width: fit-content;
    }
    /* copyright */
    .copyright{
        height: fit-content;
        display: flex;
        flex-direction: column;
    }
    /* .vm-card */
    .vm-card{
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    /* graphs  */
    .performance-wrapper{
        display: flex;
        flex-direction: column;
    }
    canvas {
        max-width: 100%;
    }
    .chart-card{
        width: 100%;
        height: 100% !important;
    }
    #zoneChart{
        width: 100%;
        height: 100% !important;
    }

    /* LANDING PAGE */
    .landing-nav{
        flex-direction: column;
        height: fit-content;
        flex-wrap: wrap;
        
    }
    .landing-nav p,.landing-nav  img,.landing-nav  a {
        margin-bottom: 20px;
        font-size: 17px;
    }
    .animated-button{
        padding: 7px 36px;
    }
    .landing-nav a span{
         font-size: 17px;
    }
    .landing-hero{
        flex-direction: column;
        height: fit-content;
        margin-top: 220px;
    }
    .top-bar{
        flex-direction: column;
        text-align: center;
    }
    .landing-timeline{
        flex-direction: column;
        width: 100%;
    }
    .landing-timeline::before{
        content:"";
        position:absolute;
        display: none;
    }
    .landing-timeline::after{
             display: none;
    }
     .landing-step{
        width: 100%;
    }
    .landing-footer-container{
        flex-direction: column;
        margin-top: 20px;
    }
    /* landing page */
    .card-row {
        flex-direction: column;
        flex-wrap: wrap;

    }
    .thankyou-container{
        height: fit-content;
    }
    .thankyou-card{
         display: flex;
         flex-wrap: wrap;
         width: 100%;
         padding-right: 20px;
    }
    .background-diagonal{
        height: fit-content;
    }
     .underline1{
        display: none;
        
    }
    /* .compare plans */
    table.list td{
        font-size: 12px;
       
    }
    table.list .feature{
        position: relative;
        left: -20px;
        
    }
    /* career */
    /* .career-btn{
        margin-bottom: 30px !important;
    } */
    .hero-buttons{
        flex-direction: column;
    }

}
/* tables */
@media (min-width: 601px) and (max-width: 900px) {
    .section-container{
        width: 100%;
        overflow-x: hidden;
    }
    /* hero-header and nav are managed in the unified mobile navigation section below */
    /* scroll */
    .scroll-container img{
         width: 70px ; 
        height: 70px ;
        margin-top: 0px;
    }
    .scroll-container navbar a{
        font-size: 12px;
    }
    .hero-mainContent{
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* z-index: -1;  */
    }
    .class-btn span{
        padding:6px 6px 6px 20px;
        display: inline;
       
    }
    .class-btn i{
        width:35px;
        height:35px;
    }
      
    .hero{
        height: fit-content;
    }
    .hero-form{
        margin-top: 0;
        width: 500px;
        height: fit-content;
    }
   
    .hero-content h1{
        font-size: 30px;
    }
    .hero-content p{
        font-size: 18px;
    }
    .hero-content{
        text-align: left;
    }
     .hero-content::before{
        width: 600px;
     }
    .about-section{
        height: fit-content;
        padding: 5px;
    }
    .about-content{
        height: fit-content;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        
    }
    .aboutText{
        flex-grow: 1;
        flex-basis: 200;
        width: 100%;
       
    }
    .about-image{
        width: 100%;
    }
    
    .site-wrapper{
        flex-wrap: wrap;
        width: 100%;
       
    }
    .site-card{
        width: 300px;
    }
    .property-wrapper{
        flex-wrap: wrap;
        /* flex-direction: column; */
    }
    .property-card{
        width: 100%;
    }
    .landing-ceo-card{
        flex-direction: column;
         padding: 10px 20px;
    }
        /* services page*/
    .service-row{
        flex-wrap: wrap;
        flex-direction: column;
    }
    .service-col{
        width: 100%;
    }
    .services-Cta{
        flex-wrap: wrap;
    }
    .animation-video{
        margin-top: 20px;
    }
      .vm-card{
        flex-wrap: wrap;
        margin-bottom: 20px;
    }
    /* counter */
    .counter-container{
        flex-wrap: wrap;
        height: fit-content;
        display: flex;
        padding: 0px 10px;
        margin-top: 0px;

    }
    .counter-box{
        position: relative;
        flex-grow: 1;
        flex-basis: 200;
        display: flex;
        flex-direction: column;
        width:100%;

    }
    .counter-box::before{
        height: 250px;
        position: absolute;
        top: 60px;
        padding: 0;
        margin-bottom: 10px;
    }
    
   
    .contact-footer{
        position: relative;
        left: -15px;
    } 
    .footer-container{
        width: 100%;
        flex-wrap: wrap;
        display: flex;
        height: fit-content;
        
    }
    .footer-box {
        flex-grow: 1;
        flex-basis: 200;
        height: auto;
        width: 300px;
    }
    .icons{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .underline1{
        display: none;
    }

    .contact-section{
        padding: 40px;
    
    }
    .contact-box{
        flex-direction: column;
    }
    .text-icons{
        position: relative;
        left: 0px;
        width: 100%;
    }
    .text-icons a{
        flex-direction: row;
    }
    .radio-row{
        /* white-space: wrap; */
        flex-wrap: wrap;
    }

    .expert-container {
        max-width: 100% !important;
        padding: 24px 10px !important;
        gap: 12px !important;
    }
    .expertise-viewpoint {
        overflow: hidden !important;
        width: min(calc(2 * 300px + 24px), calc(100vw - 120px)) !important;
    }
    .flip-card {
        width: 300px !important;
    }
    .expertise-cards {
    flex-direction: column;
    }
     
    .template-container{
        height: fit-content;
    }
    .template-box{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        /* align-items: center;
        justify-content: center; */
    }
    .template-card{
        margin-top: 120px;
    }
    .template-front{
        margin-left: -50px;
    }.template-box{
        flex-wrap: wrap;
    }
      /* timeline */
    .timeline-container{
        height: fit-content;
        margin-top: 120px
        
    }

    .scroll-btn{
        width: 0;
        height: 0;
    }
    .scroll-btn i{
        position: fixed;
        right: 0px;
        top: 380px;
        bottom: 0px;
    }
    /* get a quote */
    
    .package-wrapper{
        flex-wrap: wrap;
    }
    .projectImage{
        flex-wrap: wrap;
        height: fit-content;
        width: fit-content;
    }
    .projectImage img{
        width: calc((100% - 10px) / 2); 
    }
    .project-wrapper{
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0px;
        
    }
    .project-card{
        width: 40%;
    }
    .counter-heading{
        height: 40vh;
    }
    .template-box{
        flex-wrap: wrap;
    }

    
    /* graphs  */
    .performance-wrapper{
        display: flex;
        flex-wrap: wrap;
    }
    canvas {
        max-width: 100%;
    }
    .chart-card{
        width: 100%;
        height: 100% !important;
    }
    #zoneChart{
        width: 100%;
        height: 100% !important;
    }
    /* Landing page */
     .landing-hero{
      
        height: fit-content;
        margin-top: 50px;
    }
    .btn-outline{
        padding: 15px 15px;
    }

    .landing-nav{
        flex-direction: column;
        height: fit-content;
        flex-wrap: wrap;
        
    }
    .landing-nav p,.landing-nav  img,.landing-nav  a {
        /* margin-bottom: 20px; */
        font-size: 17px;
    }
    .landing-hero{
        flex-direction: column;
        height: fit-content;
        margin-top: 220px;
    }
    .landing-nav p,.landing-nav  img,.landing-nav  a {
        margin-bottom: 20px;
        font-size: 15px;
    }
     .animated-button{
        padding: 7px 36px;
    }
    .landing-nav a span{
         font-size: 15px;
    }
    /* thankyou page */
     .background-diagonal{
        height: fit-content;
    }

    


}

@media (min-width: 901px) and (max-width: 1250px){
    
    .section-container{
        max-width: 100%;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    /* Desktop/Laptop Header nav handles min-width 992px below */
    
    /* scroll-navbar */
    .scroll-container img{
        margin-top: 0px;
    }
    .about-section{
         height: fit-content;
         width:100%;
         
         
    }
    .about-content{
       width: 100%;
       height: 100vh;
       flex-wrap: wrap;

    }
    .aboutText{
        padding: 0px;
        width: 50%;
    }
    .about-image {
        height: 400px;
    }
    .about-image img{
        width: 100%;
        height: 100%;
    }
    .about-content, .footer-container{
        flex-wrap: wrap;
        justify-content: space-between;
        display: flex;
        height: fit-content ;
        
    }

    .counter-box{
        position: relative;
        margin-top: 30px;
        width: 100%;
        height: 100%;
    }
    .counter-box h2{
        font-size: 2rem;
    }
    
    .counter-container{
        flex-direction: row;
        flex-wrap: wrap;
        /* height: fit-content !important; */
    }
    .template-container{
        padding: 0px 0px;
        margin: 0;
        margin-left: -70px;
    }
    .template-box{
        display: flex;
        align-items: center;
        justify-content: center;
        
       
        
    }
    .template-card{
        width: 200px;
    }
     .template-front{
        width: 200px;
     }
     .template-front h3{
        margin-left: 90px;
     }
    .template-back{
        width: 200px;
    }
    /* scroll */ 
    .scroll-btn{
        width: 0;
        height: 0;
    }
    .scroll-btn i{
        position: fixed;
        right: 10px;
        top: 350px;
        bottom: 0px;
    }
    .footer-container{
        height: auto !important;
        min-height: fit-content !important;
        flex-wrap: wrap;
    }
    .footer-box{
         flex-wrap: wrap;
         
    }
   
      /* get a quote */
    
    .package-wrapper{
        flex-wrap: wrap;
    }
     .projectImage{
        flex-wrap: wrap;
        height: fit-content;
    }
     .project-card{
        flex-wrap: wrap;
        width: 30px !important;
        gap: 0px;
    }
   
    .scroll-btn{
        position: relative;
        right: 30px;
    }
    .copyright{
        height: fit-content;
    }
       
    .hero{
        height: fit-content;
    }
    .hero-form{
        margin-top: 200px;
        width: 500px;
        height: fit-content;
    }
}

/* ========================================================
   UNIFIED RESPONSIVE NAVIGATION SYSTEM (MOBILE & TABLET)
   ======================================================== */

/* Desktop Rules: Hide mobile hamburger toggle on large screens */
@media (min-width: 992px) {
    .menu-toggle {
        display: none !important;
    }
    .mobile-nav-overlay {
        display: none !important;
    }
}

/* Mobile & Tablet Rules: Clean fixed topbar and slide-down drawer */
@media (max-width: 991px) {
    body {
        padding-top: 68px !important;
    }

    .section-container {
        padding-top: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Fixed Top App Bar */
    .hero-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 68px !important;
        padding: 0 18px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        z-index: 1050 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    }

    body.dark-theme .hero-header {
        background: #08101d !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
    }

    /* Header Logo */
    .hero-header img.Image,
    .hero-header img {
        display: block !important;
        height: 46px !important;
        max-height: 46px !important;
        width: auto !important;
        max-width: 160px !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: contain !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        z-index: 1051 !important;
    }

    /* 3-Lines Hamburger Button */
    .menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 10px !important;
        background: #f1f5f9 !important;
        color: #002147 !important;
        font-size: 22px !important;
        cursor: pointer !important;
        border: 1px solid #cbd5e1 !important;
        transition: all 0.25s ease !important;
        z-index: 1051 !important;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-toggle:active,
    .menu-toggle.active {
        background: #f68220 !important;
        color: #ffffff !important;
        border-color: #f68220 !important;
    }

    body.dark-theme .menu-toggle {
        background: #111e33 !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
    }

    body.dark-theme .menu-toggle.active {
        background: #f68220 !important;
        color: #ffffff !important;
        border-color: #f68220 !important;
    }

    /* Navigation Drawer - HIDDEN BY DEFAULT on mobile */
    header nav,
    .hero-header nav {
        display: none !important;
        position: fixed !important;
        top: 68px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100vh - 68px) !important;
        overflow-y: auto !important;
        background: #ffffff !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px 20px 28px 20px !important;
        margin: 0 !important;
        border-radius: 0 0 20px 20px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
        z-index: 1040 !important;
        border-top: 1px solid #f1f5f9 !important;
    }

    /* Shown only when user taps the 3 lines */
    header nav.active,
    .hero-header nav.active {
        display: flex !important;
        animation: mobileNavSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    body.dark-theme header nav,
    body.dark-theme .hero-header nav {
        background: #0d1726 !important;
        border-top-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    }

    @keyframes mobileNavSlide {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Links inside Navigation Drawer */
    header nav a,
    .hero-header nav a {
        padding: 13px 16px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        color: #1e293b !important;
        text-align: left !important;
        border-radius: 8px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    header nav a:hover,
    header nav a:active {
        background: rgba(246, 130, 32, 0.08) !important;
        color: #f68220 !important;
        padding-left: 20px !important;
    }

    body.dark-theme header nav a {
        color: #f1f5f9 !important;
        border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    }

    body.dark-theme header nav a:hover {
        background: rgba(246, 130, 32, 0.15) !important;
        color: #f68220 !important;
    }

    /* Mobile Accordion Dropdowns */
    .nav-dropdown {
        width: 100% !important;
        position: static !important;
    }

    .nav-dropdown > a::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 13px;
        margin-left: 8px;
        transition: transform 0.2s ease;
    }

    .nav-dropdown.mobile-expanded > a::after {
        transform: rotate(180deg);
    }

    .nav-dropdown .dropdown-menu {
        position: static !important;
        width: 100% !important;
        display: none !important;
        background: #f8fafc !important;
        border: none !important;
        box-shadow: none !important;
        padding: 6px 12px !important;
        border-radius: 8px !important;
        margin: 4px 0 8px 0 !important;
    }

    .nav-dropdown.mobile-expanded .dropdown-menu {
        display: block !important;
    }

    .nav-dropdown .dropdown-menu a {
        font-size: 13.5px !important;
        font-weight: 600 !important;
        padding: 10px 14px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    }

    body.dark-theme .nav-dropdown .dropdown-menu {
        background: #08101d !important;
    }

    body.dark-theme .nav-dropdown .dropdown-menu a {
        border-bottom-color: rgba(255, 255, 255, 0.04) !important;
    }

    /* GET A FREE QUOTE Button */
    header nav .fill-btn,
    .hero-header nav .fill-btn {
        margin-top: 15px !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        border-radius: 50px !important;
        display: inline-flex !important;
    }

    /* Theme Toggle inside drawer */
    header nav .theme-toggle-btn {
        margin-top: 12px !important;
        width: 100% !important;
        height: 42px !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    /* Dark Backdrop Overlay */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(2px);
        z-index: 1030;
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s ease;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.mobile-menu-open {
        overflow: hidden !important;
    }

    /* Hide redundant desktop scroll-header on mobile */
    .scroll-header {
        display: none !important;
    }

    /* Home Page & Other Pages Hero Layout */
    .hero {
        width: 100% !important;
        min-height: auto !important;
        padding: 24px 16px 35px 16px !important;
        margin-top: 0 !important;
    }

    .hero-mainContent {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .hero-content {
        width: 100% !important;
        text-align: center !important;
    }

    .hero-content h1 {
        font-size: 24px !important;
        line-height: 1.35 !important;
        margin-bottom: 15px !important;
    }

    .hero-content p {
        font-size: 14.5px !important;
        line-height: 1.6 !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }

    .heroForm {
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
    }

    .about-container, 
    .blog-container, 
    .services-section, 
    .career-container, 
    .contact-container, 
    .package-container {
        margin-top: 0 !important;
        padding-top: 25px !important;
    }

    /* Dilip Buildcon Exact Match Hero Responsiveness - Centered & Elevated on Mobile */
    .hero-dbl {
        min-height: calc(100vh - 68px) !important;
        height: 100vh !important;
        height: 100svh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
    }

    .hero-dbl-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.52) 0%,
            rgba(0, 0, 0, 0.6) 45%,
            rgba(0, 0, 0, 0.82) 100%
        ) !important;
    }

    .hero-dbl-content {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 92% !important;
        max-width: 650px !important;
        text-align: center !important;
        padding: 0 12px !important;
        z-index: 10 !important;
    }

    .hero-dbl-title {
        font-size: clamp(23px, 5.8vw, 36px) !important;
        line-height: 1.22 !important;
        margin-bottom: 12px !important;
        text-align: center !important;
    }

    .hero-dbl-subtitle {
        font-size: clamp(13.5px, 3.4vw, 15.5px) !important;
        line-height: 1.58 !important;
        margin: 0 auto 20px auto !important;
        max-width: 95% !important;
        text-align: center !important;
        color: rgba(255, 255, 255, 0.95) !important;
    }

    .hero-dbl-dots {
        justify-content: center !important;
        gap: 10px !important;
        margin: 0 auto !important;
    }

    .dbl-dot {
        width: 10px !important;
        height: 10px !important;
    }

    .metrics-ribbon-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .metric-ribbon-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-bottom: 12px !important;
    }

    .metric-ribbon-item:nth-last-child(-n+2) {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .metric-ribbon-item .metric-num {
        font-size: 28px !important;
    }

    .metric-ribbon-item .metric-label {
        font-size: 11.5px !important;
    }

    /* About Us Slider Mobile Responsiveness */
    .about-image-slider-wrapper {
        height: 380px !important;
        margin-top: 25px !important;
    }
}


/* ==========================================================================
   PRODUCTION RESPONSIVE SUITE (Mobile, Tablet, Desktop)
   ========================================================================== */

/* Tablet & Mobile Screens (<= 991px) */
@media (max-width: 991px) {
    /* Contact Page Layout Stacking */
    .contact-layout-wrapper {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }
    .contact-content {
        margin-bottom: 0 !important;
    }
    .contact-container {
        padding: 30px 24px !important;
    }
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .contact-iframe iframe {
        height: 380px !important;
    }

    /* Project Page Map & Cards */
    #indiaProjectMap {
        height: 460px !important;
    }
    .focus-hubs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Footer Fixes */
    .footer-container {
        height: auto !important;
        min-height: fit-content !important;
        padding: 40px 20px !important;
        gap: 25px !important;
    }
    .footer-box {
        width: 100% !important;
        height: auto !important;
    }
    .contact-footer {
        left: 0 !important;
    }
}

/* Smartphone Screens (<= 600px) */
@media (max-width: 600px) {
    /* Hero Banner Mobile Center & Compact Spacing */
    .hero-dbl-content {
        top: 48% !important;
        width: 95% !important;
        padding: 0 6px !important;
    }
    .hero-dbl-title {
        font-size: clamp(21px, 6.2vw, 29px) !important;
        line-height: 1.24 !important;
        margin-bottom: 10px !important;
    }
    .hero-dbl-subtitle {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin: 0 auto 16px auto !important;
    }
    .hero-dbl-dots {
        gap: 9px !important;
    }

    /* Core Competencies Carousel Mobile Polish */
    .expert-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 4px !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .expertise-viewpoint {
        overflow: hidden !important;
        width: calc(100vw - 100px) !important;
        max-width: 290px !important;
        min-width: 230px !important;
        padding: 12px 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .expertise-wrapper {
        gap: 20px !important;
        padding: 10px 0 !important;
    }
    .flip-card {
        width: calc(100vw - 100px) !important;
        max-width: 290px !important;
        min-width: 230px !important;
        height: 390px !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }
    .arrow {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 15px !important;
        flex-shrink: 0 !important;
    }
    .front-overlay {
        padding: 35px 14px 16px 14px !important;
        width: 100% !important;
    }
    .front-overlay h3 {
        font-size: 16px !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }
    .card-badge {
        top: 12px !important;
        left: 12px !important;
        font-size: 9.5px !important;
        padding: 4px 10px !important;
        max-width: calc(100% - 24px) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .back {
        padding: 20px 16px !important;
    }
    .back-content h4 {
        font-size: 15.5px !important;
    }
    .back-content p {
        font-size: 11.5px !important;
        line-height: 1.5 !important;
    }

    /* General Container & Heading Padding */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Contact Page Mobile Polish */
    .contact-section {
        padding: 40px 0 60px !important;
    }
    .contact-text h1 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }
    .contact-intro {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
    }
    .contact-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .contact-info-card {
        padding: 20px 18px !important;
        border-radius: 14px !important;
    }
    .contact-info-card h5 {
        font-size: 13px !important;
    }
    .contact-info-card p {
        font-size: 13.5px !important;
        word-break: break-word !important;
    }
    .contact-container {
        padding: 24px 16px !important;
        border-radius: 16px !important;
    }
    .contact-container h1 {
        font-size: 22px !important;
    }
    .contact-container .subtitle {
        font-size: 13px !important;
        margin-bottom: 20px !important;
    }
    .form-box.two-cols {
        flex-direction: column !important;
        gap: 14px !important;
    }
    .form-box input,
    .form-box select,
    .form-box textarea {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
    .radio-row {
        gap: 8px !important;
    }
    .radio-row label {
        padding: 7px 12px !important;
        font-size: 12px !important;
    }
    .contact-btn {
        padding: 14px 20px !important;
        font-size: 14px !important;
    }
    .contact-iframe iframe {
        height: 300px !important;
        border-radius: 14px !important;
    }

    /* Project Page Map on Mobile */
    #indiaProjectMap {
        height: 380px !important;
    }
    .map-controls-bar {
        gap: 6px !important;
    }
    .map-focus-btn {
        padding: 6px 12px !important;
        font-size: 11.5px !important;
    }
    .focus-hubs-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    /* Services Page Mobile Polish */
    .services-hero-banner {
        padding: 110px 16px 50px !important;
    }
    .services-hero-banner h1 {
        font-size: 28px !important;
    }
    .services-hero-banner p {
        font-size: 14px !important;
    }
    .expertise-showcase-section {
        padding: 40px 0 60px !important;
    }
    .expertise-card-thumb {
        height: 190px !important;
    }
    .expertise-card-main {
        padding: 20px 18px !important;
    }
    .expertise-card-main h3 {
        font-size: 18px !important;
    }

    /* Touch-friendly Back to Top button */
    #scrollProgress {
        width: 48px !important;
        height: 48px !important;
        bottom: 20px !important;
        right: 20px !important;
    }
    #scrollProgress svg {
        width: 48px !important;
        height: 48px !important;
    }
    #scrollProgress circle {
        cx: 24 !important;
        cy: 24 !important;
        r: 20 !important;
    }
    #scrollProgress .arrow {
        font-size: 15px !important;
    }
}
