 /* --- Core Structural Settings From Your Base Code --- */
.navbar {
    height: 85px;
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    z-index: 999;
}

.logo {
    height: 100%;
    width: 35%;
}

.logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.navdiv {
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* --- Adjusted Navlinks to List Structure Elements --- */
.navlinks {
    height: 100%;
    width: 65%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative; /* Anchor point for Level 1 drop menu box positioning */
}

.navlinks .nav-item > a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: rgb(50, 47, 48);
    transition: color 0.2s ease;
}

.navlinks .nav-item > a:hover {
    color: rgb(17, 16, 16);
}

/* --- Dropdown Styling Layer Mapping image_97a7c2.png UI --- */

/* UI Styling for Trigger Indicator */
.dropdown-chevron {
    display: inline-block;
    font-size: 10px;
    margin-left: 4px;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

/* Level 1 Popup Card Formatting Box */
.dropdown-menu-l1 {
    position: absolute;
    top: 80%;
    left: 0;
    width: 210px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 8px 0;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    
    /* Hidden state setups */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-item-l1 {
    position: relative; /* Anchor point for Level 2 flyout submenu alignment positioning */
}

.dropdown-item-l1 a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s ease;
}

/* Side Chevron Styling Rules */
.arrow-right {
    font-size: 14px;
    color: #64748b;
}

/* Image Match Variant: Active Selection Tint Indicator & Hover Tint */
.dropdown-item-l1:hover > a,
.dropdown-item-l1 a.active-category {
    background-color: #f0fdf4; /* Light emerald hue matching the image spectrum */
    color: rgb(45, 107, 4);
}

/* Level 2 Submenu Panel Properties Box */
.dropdown-menu-l2 {
    position: absolute;
    top: 0;
    left: 100%; /* Spawns menu immediately to the right edge boundary of layer 1 */
    width: 230px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 12px 0;
    list-style: none;
    box-shadow: 5px 10px 35px rgba(0, 0, 0, 0.09);
    border: 1px solid #f1f5f9;
    margin-left: 2px; /* Tiny visual spacing separator gap */

    /* Hidden state configurations */
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-menu-l2 li a {
    display: block;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 14px;
    color: #475569;
    background-color: transparent !important; /* Forces row item color purity */
}

.dropdown-menu-l2 li a:hover {
    background-color: #f8fafc !important; /* Neutral high-contrast grey hover selection row indicator */
    color: #0f172a !important;
}

/* --- Action Hover Visibility Matrix Engines --- */

/* Reveal Level 1 Box */
.has-dropdown:hover .dropdown-menu-l1 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover .dropdown-chevron {
    transform: rotate(0deg);
}

/* Reveal Level 2 Box on Parent Hover Element */
.has-submenu:hover > .dropdown-menu-l2 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* --- Contact Button Base Code Styling --- */
.conbut {
    height: 100%;
    width: 18%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.conbut a {
    text-decoration: none;
    padding: 12px 28px;
    background-color: rgb(45, 107, 4);
    border-radius: 24px;
    color: white;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.conbut a:hover {
    background-color: rgb(83, 133, 50);
}

/* Burger Icon */
.burger,.close-menu {
    display: none;
    font-size: 32px;
    cursor: pointer;
    z-index: 1001;
}
@media (max-width:768px){

    .burger{
        display:block;
        font-size:30px;
    }

    .close-menu{
        display:block;
        position:absolute;
        top:20px;
        right:20px;
        font-size:30px;
        cursor:pointer;
    }

    .navdiv{
        position:fixed;
        top:0;
        left:-100%;

        width:90%;
        max-width:380px;
        height:100vh;

        background:#fff;

        padding:80px 20px 30px;

        overflow-y:auto;

        display:flex;
        flex-direction:column;

        transition:.35s ease;

        box-shadow:4px 0 20px rgba(0,0,0,.15);
    }

    .navdiv.active{
        left:0;
    }

    .navlinks{
        width:100%;
        flex-direction:column;
        align-items:flex-start;
        gap:0;
    }

    .nav-item{
        width:100%;
        flex-direction:column;
        align-items:flex-start;
    }

    .nav-item > a{
        width:100%;
        padding:14px 0;
    }

    .dropdown-menu-l1{
        position:static;
        width:100%;
        display:none;

        opacity:1;
        visibility:visible;
        transform:none;

        border:none;
        box-shadow:none;
        background:transparent;
    }

    .dropdown-menu-l1.mobile-open{
        display:block;
    }

    .dropdown-menu-l2{
        position:static;

        width:100%;
        display:none;

        opacity:1;
        visibility:visible;
        transform:none;

        margin-left:15px;
        margin-top:8px;

        border:none;
        box-shadow:none;

        background:#f8f8f8;
    }

    .dropdown-menu-l2.mobile-open{
        display:block;
    }

    .dropdown-item-l1 > a{
        width:100%;
        display:flex;
        justify-content:space-between;
        align-items:center;
    }

    .has-submenu > a.active .arrow-right{
        transform:rotate(90deg);
    }

    .conbut{
        width:100%;
        margin-top:20px;
    }

    .conbut a{
        width:100%;
        text-align:center;
    }
}