/* ========================================================
   1. GLOBAL RE-ESTABLISHMENTS & CORE RESETS
======================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.container {
    max-width: 1320px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

/* ========================================================
   2. TOP HEADER BAR
======================================================== */
.top-header {
    background: #1f4d2d;
    height: 48px;
    width: 100%;
}

.top-header .container {
    max-width: 1200px;
    height: 100%;
}

.top-header-inner {
    height: 48px;
    display: flex;
    align-items: center;
}

.top-contact {
    display: flex;
    align-items: center;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.contact-link i {
    margin-right: 8px;
    font-size: 15px;
}

.contact-link:first-child {
    margin-right: 120px;
}

.contact-link:hover {
    color: #fff;
    opacity: 0.85;
}

.fa-phone-alt {
    transform: scaleX(-1);
}

.top-social {
    display: flex;
    align-items: center;
    margin-left: 350px;
    gap: 35px;
}

.top-social a {
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    transition: 0.3s;
}

.facebook:hover { color: #1877F2; transform: translateY(-2px); }
.instagram:hover { color: #E4405F; transform: translateY(-2px); }
.whatsapp:hover { color: #25D366; transform: translateY(-2px); }
.telegram:hover { color: #0088CC; transform: translateY(-2px); }

/* ========================================================
   3. LAPTOP / DESKTOP STYLES (MAIN NAVBAR)
======================================================== */
.main-navbar .container-fluid {
    --bs-gutter-x: 0;
    height: 110px;
    display: flex;
    align-items: center;
    padding-left: 35px;
    padding-right: 35px;
}

.main-navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.logo-img {
    width: 120px;
    height: auto;
}

.navbar-brand {
    margin-right: 80px;
}

.navbar-collapse {
    margin-left: 30px;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: #000;
    font-size: 17px;
    font-weight: 600;
    padding: 0 16px !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #6e8f73;
}

/* Desktop Projects Dropdown */
.navbar .dropdown-menu {
    min-width: 220px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: #f5f5f5;
    box-shadow: none;
    margin-top: 0;
}

.navbar .dropdown-item {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    padding: 22px 18px;
    border-bottom: 1px solid #e7e7e7;
    background: #f5f5f5;
    transition: .2s;
}

.navbar .dropdown-item:last-child {
    border-bottom: none;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
    background: #ececec;
    color: #7e9d86;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-link.dropdown-toggle::after {
    margin-left: 8px;
}

/* Team Breadcrumb Frame Layouts */
.team-breadcrumb {
    background: #73957f;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 140px;
}

.breadcrumb-separator {
    font-size: 16px;
    letter-spacing: -1px;
    margin: 0 4px;
}

.team-breadcrumb .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 25px;
    font-weight: 500;
    font-family: Arial, sans-serif;
}

.home-icon {
    display: block;
    width: 30px;
    height: 30px;
}
/* /* ========================================================
   4. EXTRA STRUCTURAL LOCK: UNIFIED MOBILE MECHANISM (991px and below)
======================================================== */
@media (max-width: 991px) {
    /* Prevent backdrop scrolling when overlay layout initializes */
    body.mobile-menu-active {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }

    .top-header {
        height: auto !important;
        padding: 12px 0 !important;
    }

    .top-header-inner {
        height: auto !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .top-contact {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .contact-link:first-child {
        margin-right: 0 !important;
    }

    .top-social {
        margin-left: 0 !important;
        gap: 20px !important;
    }

    /* Fixed top mobile view header bar frame container */
    .main-navbar .container-fluid {
        height: 75px !important;
        padding: 10px 20px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        background: #ffffff !important;
    }

    .logo-img {
        width: 100px !important;
    }

    .navbar-brand {
        margin-right: 0 !important;
    }

    /* UNIFIED CRITICAL OVERRIDE: Strict Full-Width & Full-Height Drawer */
    html body .main-navbar .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        left: -100vw !important; /* Kept completely off-screen to the left side */
        width: 100vw !important;  /* Forces full screen layout horizontal view */
        height: 100vh !important; /* Forces full viewport structural height view */
        background: #ffffff !important; /* Crisp, premium solid white canvas context layout */
        padding: 110px 40px 40px 40px !important;
        margin: 0 !important;

        /* Fixed scrolling framework block boundaries */
        overflow-y: auto !important;
        overflow-x: hidden !important;

        /* High stacking ordering hides background slider dots and carousel overlays completely */
        z-index: 2000 !important;

        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Slide dynamic interaction visibility hooks */
    html body .main-navbar .navbar-collapse.show {
        left: 0 !important; /* Locks directly into position across 100% layout width and height */
    }

    /* Close Panel Menu Trigger Dismissal Button [✕] */
    .menu-close {
        position: absolute !important;
        top: 25px !important;
        right: 25px !important;
        width: 44px !important;
        height: 44px !important;
        background: #ffffff !important;
        color: #111111 !important;
        border: 1px solid #dddddd !important;
        border-radius: 6px !important;
        font-size: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        z-index: 10000002 !important;
    }

    /* Left-Aligned Bold Typography Row Lists Setup */
    .main-navbar .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important; /* Left alignment matching design reference layout */
        text-align: left !important;
        width: 100% !important;
        margin: 0 !important;
        gap: 12px !important;
    }

    .main-navbar .navbar-nav .nav-item {
        width: 100% !important;
        display: block !important;
    }

    /* Font Colors Override Fix for High Contrast Mobile Legibility */
    .main-navbar .navbar-nav .nav-link {
        color: #111111 !important; /* Sharp pure charcoal font view against canvas white */
        font-size: 24px !important; /* Enlarged professional typography sizing rules */
        font-weight: 700 !important; /* Bold weights treatment */
        padding: 10px 0 !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        border: none !important;
        background: transparent !important;
    }

    .main-navbar .navbar-nav .nav-link.active {
        color: #7e9d86 !important;
    }

    /* Nested Multi-tier Mobile Projects Dropdown Accordion Controls */
    .main-navbar .dropdown-menu {
        position: static !important;
        float: none !important;
        background: #f9f9f9 !important;
        border: none !important;
        box-shadow: none !important;
        padding: 6px 0 6px 24px !important; /* Indented cascading step tracks alignment */
        margin: 6px 0 !important;
        width: 100% !important;
        display: none !important;
        text-align: left !important;
    }

    .main-navbar .nav-item.dropdown.show .dropdown-menu {
        display: block !important;
    }

    .main-navbar .dropdown-item {
        color: #222222 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        padding: 12px 0 !important;
        border: none !important;
        background: transparent !important;
        text-transform: uppercase !important;
        text-align: left !important;
    }

    .main-navbar .dropdown-item:hover {
        color: #7e9d86 !important;
    }
}

/* ========================================================
   5. TABLET LANDSCAPE TO PORTRAIT TRACK LOCKS (768px to 1024px)
======================================================== */
/* ========================================================
   5. TABLET TO LAPTOP TRANSITION LOCKS (992px to 1100px)
   - Lowered the threshold from 768px to 992px so tablets
     inherit the full-screen mobile menu.
======================================================== */
@media (min-width: 992px) and (max-width: 1100px) {
    .main-navbar .container-fluid {
        height: auto !important;
        min-height: 80px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .main-navbar .navbar-toggler {
        display: none !important; /* Kept hidden only on larger screens */
    }

    .main-navbar .navbar-collapse {
        display: flex !important;
        justify-content: flex-end !important;
        flex-grow: 1 !important;
        width: 100% !important;
        position: static !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .main-navbar .navbar-brand {
        margin-right: 15px !important;
    }

    .main-navbar .navbar-brand img {
        width: 90px !important;
    }

    .main-navbar .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end !important;
        gap: 0 12px !important;
    }

    .main-navbar a,
    .main-navbar .nav-link {
        font-size: 13.5px !important;
        padding: 4px 1px !important;
        white-space: nowrap !important;
    }
}
/* ========================================================
   UNIFIED DRAWER PANEL LAYER FOR PORTRAIT & TABLET SCREENS
   (Targets everything from 768px up to 1024px)
======================================================== */
@media (min-width: 768px) and (max-width: 1024px) {

    /* 1. Prevent your main background layout from scrolling when the menu is open */
    body.mobile-menu-active {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* 2. Bring back the hamburger button toggle framing rules for tablets */
    .main-navbar .navbar-toggler {
        display: block !important;
        background: transparent !important;
        border: 1px solid #dddddd !important;
        padding: 4px 8px !important;
    }

    /* 3. Force the menu panel container into a strict sliding column drawer */
    html body .main-navbar .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        left: -420px !important; /* Kept completely hidden off-screen to the left */
        width: 420px !important;  /* Strictly restricts width on tablets so it doesn't span full-screen */
        height: 100vh !important; /* Spans full screen from top to bottom */
        background: #ffffff !important; /* Solid premium white canvas context background */
        padding: 110px 40px 40px 40px !important;
        margin: 0 !important;

        /* Layout scroll tracking mechanics */
        overflow-y: auto !important;
        overflow-x: hidden !important;

        /* Super high stacking order keeps background images or sliders from bleeding through */
        z-index: 9999999 !important;

        /* Smooth sliding transitions framework */
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15) !important; /* Separates drawer from background */
    }

    /* Active toggle slide hook rule trigger */
    html body .main-navbar .navbar-collapse.show {
        left: 0 !important; /* Slides out flawlessly and snaps into position on the left */
    }

    /* 4. Cross Interface Close Button Panel Trigger [✕] */
    .menu-close {
        position: absolute !important;
        top: 25px !important;
        right: 25px !important; /* Pins nicely within the 420px container boundary grid */
        width: 44px !important;
        height: 44px !important;
        background: #ffffff !important;
        color: #111111 !important;
        border: 1px solid #dddddd !important;
        border-radius: 6px !important;
        font-size: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        z-index: 10000002 !important;
    }

    /* 5. Left Aligned Vertical Typography Headings Links List Grid */
    .main-navbar .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important; /* Enforces clean left-hand alignment layout */
        text-align: left !important;
        width: 100% !important;
        margin: 0 !important;
        gap: 12px !important;
    }

    .main-navbar .navbar-nav .nav-item {
        width: 100% !important;
        display: block !important;
    }

    .main-navbar .navbar-nav .nav-link {
        color: #111111 !important; /* Bold solid font styling treatment */
        font-size: 24px !important; /* Scale typography sizing to perfectly match phone views */
        font-weight: 700 !important;
        padding: 10px 0 !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        border: none !important;
        background: transparent !important;
    }

    .main-navbar .navbar-nav .nav-link.active {
        color: #7e9d86 !important;
    }

    /* 6. Precision Dropdown Nested List Visibility Configuration */
    .main-navbar .dropdown-menu {
        position: static !important;
        float: none !important;
        background: #f9f9f9 !important;
        border: none !important;
        box-shadow: none !important;
        padding: 6px 0 6px 24px !important; /* Indented padding tracks submenus cascade step */
        margin: 6px 0 !important;
        width: 100% !important;
        display: none !important;
        text-align: left !important;
    }

    .main-navbar .nav-item.dropdown.show .dropdown-menu {
        display: block !important; /* Opens accordion links inline upon click events */
    }

    .main-navbar .dropdown-item {
        color: #222222 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        padding: 12px 0 !important;
        border: none !important;
        background: transparent !important;
        text-transform: uppercase !important;
        text-align: left !important;
    }
}



/* ========================================================
   6. FOOTER COMPONENT GRAPHICS BLOCK SYSTEMS
======================================================== */
.footer-section {
    background: #1f5b3b;
    padding: 50px 0;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-left-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.footer-links-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.footer-links-row .footer-col {
    min-width: 150px;
}

.footer-right-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 400px;
    max-width: 100%;
}

.footer-col { color: #fff; }
.footer-logo { width: 140px; display: block; margin-bottom: 12px; }
.footer-logo-col h3 { font-size: 18px; font-weight: 700; line-height: 1.4; margin: 0; }
.footer-col h4 { font-size: 18px; font-weight: 700; margin-bottom: 15px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s ease; }
.footer-col ul li a:hover { color: #ddd; }
.footer-address p { color: #fff; font-size: 15px; font-weight: 500; line-height: 1.5; margin: 0; }
.footer-address iframe { width: 100%; height: 160px; border: 0; border-radius: 4px; }

/* Footer Responsive Breakpoint Controls (Tablet Grid) */
@media (min-width: 768px) and (max-width: 991px) {
    .footer-section { padding: 40px 15px !important; }
    .footer-container {
        display: grid !important;
        grid-template-columns: 1.2fr 1fr 1fr 1.8fr !important;
        gap: 15px !important;
        align-items: flex-start !important;
    }
    .footer-logo-col { grid-column: 1 !important; grid-row: 1 !important; text-align: left !important; }
    .footer-container .footer-col:nth-child(2) { grid-column: 2 !important; grid-row: 1 !important; }
    .footer-container .footer-col:nth-child(3) { grid-column: 3 !important; grid-row: 1 !important; }
    .footer-address { grid-column: 4 !important; grid-row: 1 !important; text-align: left !important; }
    .footer-logo { width: 100px !important; margin-bottom: 10px !important; }
    .footer-logo-col h3 { font-size: 14px !important; }
    .footer-col h4, .footer-address h4 { font-size: 15px !important; margin-bottom: 12px !important; }
    .footer-col ul li { margin-bottom: 6px !important; }
    .footer-col ul li a, .footer-address p { font-size: 13px !important; }
    .footer-address iframe { width: 100% !important; height: 110px !important; margin-top: 8px !important; }
}

/* Footer Responsive Breakpoint Controls (Mobile Viewports Grid Layout) */
@media (max-width: 576px) {
    .footer-section { padding: 40px 20px !important; }
    .footer-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 30px 20px !important;
    }
    .footer-logo-col { grid-column: 1 / span 2 !important; grid-row: 1 !important; text-align: center !important; }
    .footer-logo { margin: 0 auto 12px auto !important; width: 120px !important; }
    .footer-container .footer-col:nth-child(2) { grid-column: 1 !important; grid-row: 2 !important; text-align: left !important; }
    .footer-container .footer-col:nth-child(3) { grid-column: 2 !important; grid-row: 2 !important; text-align: left !important; }
    .footer-address { grid-column: 1 / span 2 !important; grid-row: 3 !important; text-align: center !important; }
    .footer-logo-col h3 { font-size: 17px !important; }
    .footer-col h4, .footer-address h4 { font-size: 16px !important; margin-bottom: 12px !important; }
    .footer-col ul li a, .footer-address p { font-size: 14px !important; }
    .footer-address iframe { width: 100% !important; height: 140px !important; margin-top: 10px !important; }
}
