
html, body {
    max-width: 100%;
    overflow-x: hidden; /* Yeh page ko left to right move hony sy block kr daita h */
}
/* Reset and Base Layout Rules */
html, body {
    max-width: 100%;
    overflow-x: hidden; /* Page ko left to right move hony sy rokta h */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Styling (overridden by header.css for layout) */
.navbar {
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    padding: 14px 25px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    display: block;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    margin-left: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0 auto; 
}

.nav-item {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

/* Services Split Container Style */
.services-wrapper {
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.services-wrapper:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.dropdown-icon-trigger {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.arrow-icon {
    transition: transform 0.3s ease;
}

/* Dropdown (White Box) Desktop Settings */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: white;
    list-style: none;
    min-width: 260px;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dropdown-menu li a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.quote-btn {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0d9488 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(6, 182, 212, 0.45);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}



















/* ==========================================================
   3. MOBILE RESPONSIVE LAYOUT (White Box & Button Alignment Fix)
   ========================================================== */
@media (max-width: 991px) {
    body.menu-open {
        overflow: hidden !important; /* Screen scroll layer lock */
    }

    /* Main top navbar container block — solid bar only when not over hero */
    .navbar:not(.nav-over-hero) {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        padding: 0 24px;
        z-index: 3000; 
        background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
        display: flex;
        align-items: center;
    }

    .navbar.nav-over-hero {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        padding: 0 24px;
        z-index: 3000;
        background: transparent;
        box-shadow: none;
        display: flex;
        align-items: center;
    }

    .navbar.nav-over-hero.navbar-scrolled {
        position: fixed;
        background: linear-gradient(135deg, #0f766e 0%, #134e4a 55%, #0f172a 100%);
        box-shadow: 0 4px 24px rgba(15, 23, 42, 0.28);
    }

    .nav-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .logo {
        display: block;
    }

    .logo img {
        height: 35px;
        display: block;
    }

    /* Cross (X) or 3-Lines alignment controllers */
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3002;
    }

    /* Burger to Cross transformation triggers */
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Vertical Slide-in Core Navigation Block */
    .nav-wrapper {
        position: fixed; 
        top: 0;          
        left: 0;
        width: 100vw;
        height: 100vh;   
        background: linear-gradient(180deg, #0f766e 0%, #134e4a 55%, #0f172a 100%);
        display: none; 
        flex-direction: column;
        justify-content: flex-start; /* Content ko upar se sequential structure dega background text lock k sath */
        align-items: flex-start;
        padding-top: 100px;   /* Logo area layout spacing placeholder */
        padding-bottom: 40px;  
        padding-left: 24px;   /* Left alignment strict design */
        padding-right: 24px;  
        margin-left: 0;
        z-index: 2000;         
        overflow-y: auto; 
        box-sizing: border-box;
    }

    .nav-wrapper.show {
        display: flex !important;
    }

    /* Base Menu stack layout wrapper */
    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: left;
        margin-top: 20px;
        margin-bottom: 0; /* Extra gap drops handles */
    }

    /* Underline grid rows for list items */
    .nav-links > li {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Custom left aligned clean dividers */
    }

    .nav-item {
        width: 100%; 
        justify-content: flex-start;
        padding: 16px 0; 
        font-size: 19px; 
        color: white;
        text-decoration: none;
        font-weight: 500;
    }

    /* Services container split parameters */
    .services-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-icon-trigger {
        border-left: none; 
        padding: 16px 0;
    }

    /* DYNAMIC DROPDOWN WHITE BOX OVERLAY DESIGN */
    .dropdown-menu {
        position: absolute; /* Relative flow se hata kar absolute kiya taake box flow disturb na kare */
        top: auto;
        left: 0;
        transform: translateY(5px);
        width: 90%;
        max-width: 280px; 
        background-color: white; /* Safe clean white container block restored */
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        padding: 10px 0;
        opacity: 0;
        visibility: hidden;
        display: block !important; /* JS configuration handler toggle stability bypass */
        transition: all 0.2s ease-in-out;
        z-index: 2500;
    }

    /* Open Class state parameter logic handles */
    .dropdown-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu li {
        border-bottom: none !important; /* White box ke andar horizontal divider lines block key */
        width: 100%;
    }

    .dropdown-menu li a {
        color: #333333 !important; /* Clean dark readability fonts inside white layout */
        padding: 12px 20px;
        font-size: 15px;
        text-align: left;
        display: block;
        text-decoration: none;
        font-weight: 500;
        width: 100%;
    }

    .dropdown-menu li a:hover {
        background-color: #f5f5f5;
    }

    .dropdown.active .arrow-icon {
        transform: rotate(180deg);
    }

    /* COMPACT BUTTON ATTACHED RIGHT AFTER CONTACT US BLOCK */
    .nav-btn-container {
        width: 100%;
        display: flex;
        justify-content: flex-start; /* Button ko left align kiya words k synchronization k liye */
        margin-top: 30px;            /* Contact us line se perfectly calculated short space downward padding */
        padding-bottom: 20px;        /* Safe rendering parameters layout */
    }

    .quote-btn {
        width: auto;
        min-width: 160px;
        padding: 12px 24px; 
        font-size: 15px;
        font-weight: 600;
        border-radius: 10px;
        text-align: center;
        margin-left: 0;
    }
    .hero .hero-content .txt {
        font-size: 28px;       /* 28px ya 30px mobile frame par perfect lagta hai */
        line-height: 1.3;      /* Lines ke darmiyan spacing ko tight karne ke liye */
        margin-bottom: 20px;   /* Buttons se calculated distance maintain rakhne k liye */
    }

    /* Agar tagline (Your Socials) ka size bhi text ke mutabiq adjust karna ho */
    .hero .hero-content .tagline {
        font-size: 16px;
        margin-bottom: 10px;
    }
}