/* ==========================================================================
   MOBILE-APP.CSS
   Ye file sirf MOBILE screens (max-width: 768px) pe kaam karti hai.
   Desktop/laptop pe koi asar nahi padega - wahan normal website hi dikhegi.
   ========================================================================== */

:root{
    --app-primary: #003877;
    --app-accent: #ffc72c;
    --app-nav-height: 62px;
    --app-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ==========================================================================
   1) APP-LIKE BASE FEEL (mobile only)
   ========================================================================== */
@media only screen and (max-width: 768px){

    html{
        -webkit-tap-highlight-color: transparent; /* tap pe grey flash hata do */
        overscroll-behavior-y: contain; /* pull-to-refresh / rubber-band bounce kam karo */
    }

    body{
        padding-bottom: calc(var(--app-nav-height) + var(--app-safe-bottom));
        -webkit-overflow-scrolling: touch;
    }

    /* mobile pe hover-only effects hata do, sirf active/tap state chalega */
    a:hover, .btn:hover{
        transition: none;
    }

    /* scrollbars app jaisa clean dikhao */
    ::-webkit-scrollbar{
        width: 0px;
        height: 0px;
    }
}

/* ==========================================================================
   2) BOTTOM APP NAVIGATION BAR (mobile only)
   Ye JS (mobile-app.js) se inject hoti hai, isliye yahan sirf styling hai
   ========================================================================== */
.app-bottom-nav{
    display: none; /* desktop pe hidden - default */
}

.app-bottom-nav a,
.app-bottom-nav button{
    min-height: 40px; /* sirf bottom nav ke andar - baaki site pe asar nahi */
}

@media only screen and (max-width: 768px){

    .app-bottom-nav{
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99999;
        background: #ffffff;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.12);
        padding-bottom: var(--app-safe-bottom);
        height: calc(var(--app-nav-height) + var(--app-safe-bottom));
        border-top: 1px solid #eee;
    }

    .app-bottom-nav a{
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        text-decoration: none;
        color: #8a8a8a;
        font-size: 11px;
        font-weight: 500;
        font-family: inherit;
    }

    .app-bottom-nav a svg{
        width: 22px;
        height: 22px;
        stroke: #8a8a8a;
        fill: none;
        stroke-width: 1.8;
    }

    .app-bottom-nav a.active{
        color: var(--app-primary);
    }

    .app-bottom-nav a.active svg{
        stroke: var(--app-primary);
    }

    /* center "post property" button - app jaisa highlighted circle */
    .app-bottom-nav a.app-nav-highlight .app-nav-icon-wrap{
        background: var(--app-primary);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -18px;
        box-shadow: 0 4px 10px rgba(0,56,119,0.35);
    }

    .app-bottom-nav a.app-nav-highlight svg{
        stroke: #ffffff;
        width: 22px;
        height: 22px;
    }
}

/* ==========================================================================
   3) STICKY APP-LIKE TOP HEADER (mobile only)
   Agar tera existing header already fixed/sticky hai to ye safe hai,
   bas isse thoda app jaisa shadow/clean feel milta hai
   ========================================================================== */
@media only screen and (max-width: 768px){
    header{
        position: sticky;
        top: 0;
        z-index: 9999;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
}

/* ==========================================================================
   4) HERO VIDEO BOX FIX (mobile only)
   Screenshot se confirm hua: site ki apni CSS (.hero-part{display:none})
   mobile pe kaam nahi kar rahi thi - black video box chhoti slider image
   ke bagal mein half-width dikh raha tha, neeche bada khaali gap chhod ke.
   Yahan force-hide kar rahe hain taaki pakka hide ho.
   ========================================================================== */
@media only screen and (max-width: 768px){
    .hero-part{
        display: none !important;
    }
    .hero-section .row > .col-xxl-3.col-xl-3.col-lg-3.col-md-6.col-sm-6.col-6{
        display: none !important;
    }
}

/* ==========================================================================
   5) HERO TEXT OVERFLOW FIX (mobile only, <=576px)
   Site ki apni indes-responsive.css mein .Growth-title ki width 170% aur
   .growth-text ki width 160% set hai - text apne box se bahar overflow
   ho raha tha. Yahan sahi width de rahe hain.
   ========================================================================== */
@media only screen and (max-width: 576px){
    .Growth-title{
        width: 90% !important;
    }
    .growth-text{
        width: 90% !important;
    }
}

/* ==========================================================================
   6) PROPERTY CARD "Possession + Project Phase" ROW FIX (mobile only)
   index.php mein markup class hai "developed_by_box" (bina "1" ke), lekin
   indes-responsive.css ka mobile-fix ".developed_by_box1" (extra "1" ke
   saath) target karta hai - naam match na hone se fix kabhi apply nahi
   hota, aur Possession/Project Phase text overlap/cramped dikhte hain.
   Yahan sahi class target karke stack kar rahe hain.
   ========================================================================== */
/* ==========================================================================
   7) HERO KE NEECHE BADA KHAALI GAP FIX (mobile only)
   Video box hide hone ke baad, hero ke parent containers (splide track/list,
   hero-img, project-container) ab bhi desktop jaisi height rakh rahe the -
   jisse "Explore Industrial Properties" button aur "Top Projects" ke beech
   bada blank gap dikh raha tha. Sabko auto-height force kar rahe hain.
   ========================================================================== */
@media only screen and (max-width: 768px){
    .hero-section,
    .hero-section .row,
    .project-container,
    .splide,
    .splide__track,
    .splide__list,
    .splide__slide,
    .hero-img{
        height: auto !important;
        min-height: 0 !important;
    }
}

@media only screen and (max-width: 768px){
    .developed_by_box{
        display: block !important;
        padding-bottom: 5px !important;
    }
    .developed_by_box .sell-text{
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ==========================================================================
   8) SLIDER FULL-WIDTH FIX (mobile only)
   index-d.css mein .splide__slide ki width 95% aur margin-left 5% hai -
   ye desktop ke liye tha (bagal mein video box ke saath spacing), lekin
   mobile pe bhi apply ho raha tha, jisse slider left-right dono taraf
   khaali jagah chhod raha tha, full-width nahi ban pa raha tha.
   ========================================================================== */
@media only screen and (max-width: 768px){
    #splide1 .splide__slide{
        width: 100% !important;
        margin-left: 0 !important;
    }
}

/* ==========================================================================
   9) HERO BUTTON TEXT CUT-OFF FIX (mobile only)
   .Growth-box (57% width) aur .growth-button (52% width) ke percentage
   widths .hero-box-text (jo absolute positioned hai, width auto) ke against
   resolve ho rahe the - jisse button bahut narrow ban raha tha aur
   "Explore Industrial Properties" text cut/wrap ho raha tha.
   ========================================================================== */
@media only screen and (max-width: 768px){
    .hero-box-text{
        width: 90% !important;
        max-width: 320px;
    }
    .Growth-box{
        width: 100% !important;
    }
    .growth-button{
        width: auto !important;
        max-width: 100%;
        white-space: normal !important;
        padding: 8px 14px !important;
        display: inline-block;
    }
}