:root {
    --logo-color: #f79836;
    --primary-color: #a8cf45;
    --primary-color-dark: #0e844d;
    --text-dark: #333333;
    --white: #ffffff;
    --button: #0b3d26;

}

.header {
    position: -webkit-sticky;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 4%;
}

.header .logo {
    height: auto;
    width: auto;
    margin-right: auto;
}

.header .logo img {
    height: 70px;
    width: 100%;
    object-fit: cover;
    margin-top: 7px;
}


.header .navbar ul {
    list-style: none;
}

.header .navbar ul li {
    position: relative;
    float: left;
}

/* .header .navbar ul li:hover ul {
    display: block;
} */

.header .navbar ul li a {
    font-size: 18px;
    color: var(--text-dark);
    padding: 11px;
    display: block;
    text-decoration: none;
    position: relative;
    padding-bottom: 10px;
    /* Adds spacing between text and the underline */
    transition: color 0.4s ease;
}

.header .navbar ul li a:hover {
    color: var(--primary-color-dark);
    font-weight: 600;
}

.header .navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    /* Position at the bottom of the link */
    left: 0;
    width: 0;
    height: 2px;
    /* Thickness of the underline */
    background-color: var(--primary-color-dark);
    /* Color of the underline */
    transition: width 0.4s ease;
    /* Smooth underline expansion */
}

.header .navbar ul li a:hover::after {
    width: 100%;
    /* Expands the underline to the full width of the text */
}

.header .navbar ul li ul {
    position: absolute;
    left: 0;
    width: 15rem;
    background: var(--white);
    display: none;
}

.header .navbar ul li ul li {
    width: 100%;
}

.header .icons div,
.header .icons a {
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    margin-left: 1rem;

}

.header .icons div:hover,
.header .icons a:hover {
    color: var(--primary-color-dark);
}

.header .search-form {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    width: 320px;


    border-radius: 25px;
    padding: 0.8rem 1rem;

    display: flex;
    align-items: center;
    gap: 10px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: all 0.3s ease;
}
.dropdown-menu li {
    display: block;
    margin: 5px 5px 5px 5px;
    text-align: left;
}


.header .search-form.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#search-box {
    width: 100%;
    padding: 10px 40px 10px 12px;
    border-radius: 25px;
    border: 1px solid #ccc;
    outline: none;
}

.search-form label {
    position: absolute;
    right: 15px;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    cursor: pointer;
}



#menu-btn {
    display: none;
}


input, textarea:focus {
    outline: none;
    box-shadow: none;
}


@media (max-width: 1200px) {
    .header {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    #menu-btn {
        display: inline-block;
    }

    .header .logo img {
        height: 70px;

    }

    .header .navbar ul li a {
        padding: 16px;
    }

    .header .search-form {
        top: 100%;
    }

    .header .navbar {
        position: absolute;
        top: 99%;
        left: 0;
        right: 0;
        background: var(--white);
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .header .navbar.active {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .navbar ul li {
        width: 100%;
    }

    .header .navbar ul li ul {
        position: relative;
        width: 100%;
    }

    .header .navbar ul li ul li a {
        padding-left: 2rem;
    }

    .header .search-form {
        right: 5%;
        display: flex;
    }


}



/* All Page headeer section style sheet like blog, contact etc */
.heading {
    text-align: center;
    padding: 0.5rem 9%;
}

.heading h1 {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--white);
}

.heading p {
    color: var(--white);
    padding-top: .7rem;
    font-size: 1rem;

}

.heading p a {
    color: var(--white);
    text-decoration: none;
}

.heading p a:hover {
    color: var(--logo-color);
    text-decoration: underline;
    font-weight: 600;
}

/* Desktop hover ONLY */
@media (min-width: 769px) {
    .header .navbar ul li:hover>ul {
        display: block;
    }
}


/* Mobile dropdown */
@media (max-width: 768px) {
    .navbar ul ul {
        display: none !important;
    }

    .navbar ul li.open>ul {
        display: block !important;
    }
}



@media (max-width: 768px) {
    .heading {
        padding: 1.5rem 9%;
    }

    .heading h1 {
        font-size: 1.5rem;
    }

    .heading p {
        font-size: 1.4rem;
    }
}

/* All page header style end */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup.hidden {
    display: none;
}

.popup-content {
    background: var(--white);
    padding: 20px 15px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: left;
    position: relative;
    box-shadow: 0px 0px 19px rgba(0, 0, 0, 0.5);
}

.popup-content .close-popup {
    position: absolute;
    top: -16px;
    right: -16px;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
}

.popup-content h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: -10px;
    color: var(--logo-color);
}

.popup-content form {
    display: flex;
    flex-direction: column;
}

.pop-up-row {
    margin-bottom: 10px;
}

.pop-up-row label {
    width: 30%;
    /* Adjust width as needed */
    text-align: right;
    margin-right: 1rem;
    font-size: 14px;
    /* Add space between label and input field */
}

.pop-up-row input,
.pop-up-row textarea {
    width: 100%;
    padding: 5px;
    font-size: 12px;
    margin-top: 4px;
    border: 1px solid #a9a4a4;
    border-radius: 4px;
}

.pop-up-row textarea {
    resize: vertical;
}

.popup-content button {
    padding: 7px;
    background-color: var(--button);
    color: var(--white);
    font-size: 1.1rem;
    border: none;
    border-radius: 0.3rem;
    cursor: pointer;
    align-self: start;
    transition: background-color 0.3s ease;
}

.popup-content button:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: 0 0 10px var(--primary-color);
}

.product-row {
    display: flex;
    gap: 10px;
}

.close-popup-btn {
    position: absolute;
    top: -16px;
    right: -16px;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
}

.hidden {
    display: none;
}

@media (max-width:767px) {
    .product-row {
        display: block;

    }
}

#moveToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;

    display: none;
    /* hidden by default */
    width: 45px;
    height: 45px;

    background-color: var(--primary-color-dark);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.3s, transform 0.3s;
}

#moveToTop:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px var(--primary-color);
    color: var(--text-dark);
}

.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;

}

.whatsapp-float img {
    width: 50px;
    height: 50px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}