:root {
    --white: #fff;
    --black: #333;
    --button: #42884a;
    --primary-color: #3f602c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-size: 22px;
    font-weight: bold;
    color: var(--black);
    text-decoration: none;
    width: 150px;
    height: 60px;
}

/* Navbar (Desktop) */
.navbar {
    display: flex;
    gap: 25px;
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
    padding-top: 75px;
}

.navbar a {
    text-decoration: none;
    color: var(--black);
    font-size: 14px;
}

.navbar a:hover {
    color: var(--button);

}

/* Menu button hidden on desktop */
#menu-btn {
    font-size: 28px;
    cursor: pointer;
    display: none;
}


/* Links */
.navbar>a,
.drop-btn {
    text-decoration: none;
    color: var(--black);
    padding: 10px 12px;
    display: block;
}

/* Dropdown wrapper */
.dropdown {
    position: relative;
}

/* Dropdown menu hidden */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 210px;
    list-style: none;
    padding: 0px;
    margin: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 999;
    border-radius: 0px;
}

/* Dropdown items */
.dropdown-menu li a {
    padding: 8px 15px;
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #8f8e8e;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
}


/* POORA LOGO SECTION */
.header-top {
    position: absolute;
    /* 🔥 VERY IMPORTANT */
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    background: var(--white);
    transition: transform 0.35s ease;
    z-index: 2;
}

/* Navbar neeche rahe */


/* Jab header-top hide ho */
.header.hide-top .navbar {
    padding-top: 0;
}

/* HIDE = poora section bahar */
.header.hide-top .header-top {
    transform: translateY(-100%);
}

/* Popup container */
.contact-popup {
    position: fixed;
    top: 85px;
    right: -100%;
    width: 400px;
    max-width: 90%;
    height: auto;
    background: #fff;
    z-index: 100000;
    transition: 0.8s ease-in-out;
    padding: 30px;
    overflow-y: auto;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.2);
}

/* Active state */
.contact-popup.active {
    right: 0;
}



/* Open button */
.open-form-btn {
    position: fixed;
    right: -66px;
    top: 50%;
    z-index: 99999;
    transform: rotate(-90deg);
    background: #000;
    color: #fff;
    border: none;
    padding: 6px 15px;
    cursor: pointer;
}


/* Active Header */

.active-header {
    color: #42884a !important;
    font-weight: 600;
}

.dropdown-menu a.active-header {
    background: #f5f5f5;
}

/* ===================== */
/* 📱 SMALL MOBILE */
/* ===================== */

@media (max-width: 575px) {
    .contact-popup {
        padding: 15px;
    }

    .close-btn {
        font-size: 24px;
        top: 10px;
        right: 15px;
    }

    .open-form-btn {
        right: -53px;
        font-size: 13px;
        padding: 6px 14px;
    }
}





/* ================= MOBILE ================= */
/* Header */
.header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.logo {
    max-height: 45px;
    object-fit: cover;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: #fff;
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.dropdown-toggle::after {
    content: none !important;
}


/* ================= MOBILE ================= */
@media (max-width: 768px) {
    #menu-btn {

        display: block;
    }

    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
    }


    /* Navbar */
    .navbar {
        position: fixed;
        top: -100%;

        width: 100%;
        height: auto;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px;
        transition: 0.3s ease;
        overflow-y: scroll;
        gap: 5px;
        justify-content: flex-start;
    }

    .navbar.active {
        top: 0;
    }

    .dropdown {
        width: 100%;
        padding-left: 14px;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        cursor: pointer;
        font-weight: 600;
    }


    .dropdown-menu {
        display: none;
        position: static;
        /* 🔥 IMPORTANT: no overlap */
        list-style: none;
        margin: 0;
        padding: 0;
        background: #fff;
        width: 100%;
        border: none;
        box-shadow: none;
    }

    /* OPEN */
    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        display: block;
        padding: 10px 15px;
        font-size: 14px;
        border-bottom: 1px solid #e5e5e5;
        color: #333;
        text-decoration: none;
    }

    /* Arrow rotate */
    .dropdown-toggle i {
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
}

@media (max-width: 500px) {
    .phrowreverse {
        flex-direction: column-reverse !important;
    }

    ul.list-unstyled.manufacturing-list.caterory-list {
        margin-bottom: 0px;
    }

    ul.wellness {
        padding-left: 0px !important;
    }

    .footerlogo {
        width: 109px;
        height: 35px;
    }



}