html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #eff8f2 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Dosis", sans-serif;
    font-weight: 600;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: #099c66;
}

.navbar {
    background-color: rgb(249 255 241) !important;
}

.right-nav-btn a {
    padding-right: 20px;
    color: rgb(15, 76, 54);
}

.right-nav-btn a i {
    font-size: 20px;
}

.right-nav-btn button {
    background: transparent;
    border: none;
    color: #0f4c36;
}

.cart-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.cart-link span {
    position: absolute;
    top: -2px;
    right: 10px;
    background: #0f4c36;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.wishlist-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.wishlist-link span {
    position: absolute;
    top: -2px;
    right: 8px;
    background: #0f4c36;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Ensure main dropdown menu is displayed when hovering over "Shop" */
.nav-item.dropdown:hover>.dropdown-menu {
    display: block !important;
}

/* Styling for main dropdown items (FMCG, Kitchen Gardening, Vermicomose) */
.nav-item .dropdown-menu {
    padding: 10px 0;
    border-radius: 4px;
    min-width: 200px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Position and styling for sub-menus */
.dropdown-submenu {
    position: relative;
}

/* Initially hide sub-menus, display them on hover */
.dropdown-submenu .dropdown-menu {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -6px;
    padding: 8px 0;
    border-radius: 4px;
    min-width: 180px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

/* Show sub-menu when hovering over its parent item */
.dropdown-submenu:hover>.dropdown-menu,
.dropdown-submenu .dropdown-menu.show {
    display: block !important;
}

/* Styling individual dropdown items */
.dropdown-item {
    padding: 10px 15px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
}

/* Hover effect for dropdown items */
.dropdown-item:hover {
    background-color: #f1f1f1;
    color: #000000;
    border-radius: 4px;
}

/* Adjust nested sub-menu (sub-sub-menu) positioning */
.dropdown-submenu .dropdown-submenu .dropdown-menu {
    left: 100%;
    top: 0;
    margin-top: 0;
    margin-left: 5px;
}



.top-header {
    height: 40px;
    background: rgb(15, 76, 54);
    position: relative;
}

/* .main-header {
    position: fixed;
    z-index: 9;
    top: 0;
    width: 100%;
}

.main-header .search-btn button {
    right: 11%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
} */

.main-header form {
    width: 30%;
}

.top-header p {
    padding: 10px;
    color: white;
    font-size: 14px;
}

.main-header .navbar .navbar-nav {
    margin-left: 20px;
}

.main-header .navbar .navbar-nav li {
    padding-right: 30px;
}

.main-header .navbar .navbar-nav li a {
    color: rgb(15, 76, 54);
    padding: 0px;
}

.main-header .navbar .navbar-nav li a:hover {
    color: rgb(147 194 53);
    transition: 0.2s ease;
}

.section-1 .banner img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: top;
}

.section-2 .heading h3 {
    text-align: center;
    color: rgb(15, 76, 54);
    font-size: 40px;
    font-weight: 900;
}


.section-2 .box {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.section-2 .box img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    /* Darkens the image */
}

.section-2 .box-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    border: 2px solid white;
    background: #8fbf2dc2;
    border-radius: 100%;
    border-bottom: 18px solid white;
}

.section-2 .box-content h4 {
    font-size: 40px;
    font-weight: bold;
    margin: 0;
    padding: 20px 80px;
}





.section-2 .content {
    border-radius: 30px 30px 0px 0px;
}

.section-2 .content a {
    text-decoration: none;
    color: rgb(15, 76, 54);
    ;
}

.section-2 .content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.section-3 h3 {
    font-size: 40px;
    font-weight: 900;
}

.footer h3 {
    color: rgb(15, 76, 54);
    margin-bottom: 15px;
}

.footer a {
    text-decoration: none;
    color: black;
    font-size: 14px;
}

.footer .links a:hover {
    color: rgb(14 88 61);
    transition: 0.2s ease;
    border-bottom: 1px solid rgb(15, 76, 54);
}

.footer ul li {
    padding-bottom: 10px;
}

.footer ul li i {
    margin-right: 10px;
}

.footer .social-links li {
    float: left;
}

.footer .social-links li i {
    font-size: 25px;
    color: rgb(15, 76, 54);
}

/* login form   */

.login-form {
    padding-top: 100px;
}

.login-form h2 {
    color: rgb(15, 76, 54);
}

.login-form a {
    text-decoration: none;
    color: rgb(15, 76, 54);
}

.login-form button {
    background-color: rgb(15, 76, 54) !important;
    border-radius: 0px !important;
    border: none;
    margin: 10px;
}

/* login form   */

.social-links ul {
    list-style-type: none;
    padding-left: 0px;
}

.form-control:focus {
    color: rgb(15, 76, 54) !important;
    background-color: white !important;
    border-color: rgb(15, 76, 54) !important;
    outline: 0;
    box-shadow: none !important;
}

.my-account .nav-links ul {
    list-style-type: none;
    background-color: rgb(15, 76, 54);
    border-radius: 30px;
    padding: 10px;
}

.my-account .nav-links ul li {
    padding: 15px;
    cursor: pointer;
}

/* .my-account .nav-links ul li:hover {
    background-color: rgb(23, 107, 76);
} */

.my-account .nav-links ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.my-account .nav-links ul li a:hover {
    font-size: 17px;
}

.about-us .image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* .main-header .dropdown-menu {
    position: absolute;
    top: 25px;
} */

.main-header .dropdown-menu li {
    padding-bottom: 10px;
}

.services .content img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blogs .content img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blogs .content .btn a {
    text-decoration: none;
    color: rgb(15, 76, 54);
}

.blogs .content .btn a:hover {
    text-decoration: 1px solid rgb(15, 76, 54);
    color: rgb(34, 125, 92);
    transition: 0.2s ease;
}

.add-to-cart .cart-btn a {
    border-radius: 0;
    background-color: #0f4c36;
    color: white;
}

nav .breadcrumb {
    width: 100%;
    height: 250px;
    align-items: center;
}

nav .breadcrumb li {
    font-size: 25px;
}

nav .breadcrumb li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: white;
}

.section-4 img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.section-4 a {
    padding: 10px;
    background-color: #0f4c36;
    border-radius: 0px;
    color: white;
}

.checkout button {
    padding: 10px;
    border-radius: 0;
    background-color: #0f4c36;
    border: none;
}

.checkout button:hover {
    background-color: #179567;
    transition: 0.2s ease;
}

@media only screen and (max-width: 768px) {
    .top-header {
        text-align: center;
    }

    .main-header nav {
        margin: 0;
        padding: 0;
    }

    .main-header .navbar .navbar-nav {
        margin-left: 0;
    }

    .main-header ul li {
        padding: 10px;
    }

    .cart-title {
        display: none;
    }

    nav .breadcrumb li {
        font-size: 12px;
    }



    .mob-btn {
        display: block !important;
    }

    .mob-btn i {
        font-size: 20px;
    }

    .mobile-navigation {
        display: block !important;
    }

    .wishlist-link span {
        top: -4px;
        right: -10px;
    }

    .cart-link span {
        top: -4px;
        right: -9px;
    }
}


.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler {
    border: none !important;
}

section {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Sidebar Container */
.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    /* Hidden by default */
    width: 350px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
}

.sidebar-header h4 {
    margin: 0;
}

.sidebar-header .close-sidebar {
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
}

/* Sidebar Content */
.sidebar-content {
    padding: 15px;
}

/* Sidebar Active State */
.sidebar.active {
    right: 0;
    /* Visible state */
}

/* Sidebar Triggers */
.sidebar-triggers {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1100;
}

.sidebar-triggers button {
    padding: 10px 15px;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

.sidebar-triggers .btn-primary {
    background-color: #007bff;
}

.sidebar-triggers .btn-success {
    background-color: #28a745;
}

.mobile-navigation {
    z-index: 99999;
}

.mobile-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding-top: 10px;
}

.contact-us .contact-us-content {
    background-color: #f8f8ef;
    padding: 50px;
    border-radius: 5px;
}

.contact-us .right-content {
    background-image: url('/images/Section.webp');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

.modal ul li a {
    text-decoration: none;
    color: #0f4c36;
}

.modal ul {
    --bs-list-group-border-color: transparent !important;
}

.mob-btn button {
    border: none;
    background: transparent;
    color: #0f4c36;
}


#searchOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

#searchOverlay.active {
    display: flex;
}

#searchOverlay input {
    width: 80%;
    max-width: 600px;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #0f4c36;
}

#searchOverlay .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: rgb(0, 0, 0);
    cursor: pointer;
}


#searchOverlay-mb {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

#searchOverlay-mb.active {
    display: flex;
}

#searchOverlay-mb input {
    width: 80%;
    max-width: 600px;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #0f4c36;
}

#searchOverlay-mb .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: rgb(0, 0, 0);
    cursor: pointer;
}

.why-choose-us h2 {
    font-weight: 700;
}

.product-sec h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-sec img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-sec .card-body img {
    height: 40px !important;
}

.contact-icons {
    /* display: flex; */
    position: fixed;
    background-color: #25D366;
    z-index: 100;
    right: 0;
    top: 50%;
}

.nav-contact {
    color: #9b1e28;
}

.contact-icons {
    position: fixed;
    background-color: #25D366;
    z-index: 100;
    right: 0;
    top: 50%;
}

.companies-logo img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}


.minimize-btn {
    /* position: fixed;
    left: 0;
    top: 41%;
    z-index: 100; */
    width: 100%;
}


.sticky-contact {
    /* position: fixed;
    left: 0;
    top: 50%; */
    /* transform: translateY(-50%); */
    background-color: #000;
    padding: 5px;
    border-radius: 0 0px 10px 0;
    transition: transform 0.3s ease;
    z-index: 100;
}

.tsh-icon {
    position: fixed;
    left: 0;
    top: 70%;
    z-index: 100;
}

.contact-item {
    display: flex;
    align-items: center;
    background-color: #24d366;
    color: #fff;
    margin: 5px 0;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
}

.contact-item i {
    font-size: 20px;
}

.minimize-btn {
    background-color: #000;
    color: #fff;
    padding: 5px;
    cursor: pointer;
    text-align: center;
    border-radius: 0 5px 0px 0;
    display: inline-block;
}

/* New style to hide the contact items when minimized */
.collapsed {
    transform: translate(-100%, 0%);
}

.owl-theme .owl-nav.disabled+.owl-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.testimonial-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-item .reviews-info {
    text-align: center;
    width: 50%;
}

.btn-primary {
    background-color: #0f4c36;
    border: none;
    border-radius: 0px;
}

.btn-primary:hover {
    background-color: #0f4c36;
}