/* General Styles */
html,body {
    font-family: Arial, sans-serif;
    padding: 0 !important;
    background-color: #eddddd;
    overflow-x: hidden;

}
* {
    box-sizing: border-box;
}

.container {
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
}

/* Navbar Styles */
.navbar {
    background-color: rgb(241, 216, 216);
    padding: 12px 10px;
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.navbar-brand img {
    width: 110px; /* Adjust logo size */
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: #1c5e20; /* Green color like Herbalife */
    font-size: 20px;
    margin-top: 10px;
    font-weight: bold;
    margin-right: 15px;
    text-decoration: none;
}

.navbar-nav .nav-link:hover {
    color: #0c2f0e !important;
}

/* Navbar Toggler (Mobile View) */
.navbar-toggler {
    border: none;
    background: none;
}


/* General Dropdown Styling */
.navbar-nav .dropdown-menu {
    width: 40vw; /* Full width of the viewport */
    left: 0;
    right: 100px !important;
    margin: auto;
    background-color: white;
    border: none;
    border-radius: 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    z-index: 1000;
    align-items: center;
}

/* Open dropdown on hover */
.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Dropdown Columns */
.mega-menu .row {
    max-width: 100%;
    margin: auto;
}

/* Dropdown Item Styling */
.dropdown-item {
    font-size: 18px;
    color: #2E7D32 !important;
    padding: 12px 20px;
    font-weight: bold;
    margin-right: 20px;
}

.dropdown-item:hover {
    background-color: #E8F5E9;
    color: #0c2f0e !important;
}

/* Add some spacing for readability */
.navbar-nav .dropdown-menu .col-md-6 {
    padding: 5px;
    align-items: center;
}


/* Search Icon */
.search-icon img {
    width: 20px;
    margin-left: 15px;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
    }
    .navbar-nav .nav-link {
        display: block;
        margin: 10px 0;
    }
}


/* Large Screens (Desktops, 1200px and above) */
@media (min-width: 1200px) {
    .mega-menu .row {
        max-width: 100%;
        margin: auto;
    }
}

/* Medium Screens (Tablets, 992px to 1199px) */
@media (max-width: 1199px) {
    .mega-menu .row {
        max-width: 100%;
        margin: auto;
    }
}

/* Small Screens (Tablets & Small Laptops, 768px to 991px) */
@media (max-width: 991px) {
    .mega-menu .row {
        max-width: 100%;
        margin: auto;
    }
}

/* Extra Small Screens (Mobile Phones, up to 767px) */
@media (max-width: 767px) {
    .mega-menu .row {
        max-width: 100%;
        margin: auto;
    }
}

/* Very Small Screens (Phones under 480px) */
@media (max-width: 480px) {
    .mega-menu .row {
        max-width: 100%;
        margin: auto;
    }
}

/* footer
-------------- */

footer {
    background-color: rgb(241, 216, 216);
}

footer section .footer-product-list li a {
    color: green;
    text-decoration: none;
}

footer section .footer-product-list li a:hover {
    color: green;
}




/* image for home blade */

.text-container {
    position: absolute;
    top: 50%;
    left: 45%;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    z-index: 2;
    transform: translateY(-50%);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.text-container1 {
    position: absolute;
    top: 50%;
    right: 45%;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    z-index: 2;
    transform: translateY(-50%);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Image Positioning */
.image-container {
    position: relative;
}

/* Mobile View (Stacked Layout) */
@media (max-width: 767px) {
    .mobile-width {
        padding: 0 !important; 
    }

 

    .image-container,
    .text-container,
    .text-container1 {
        width: 100%;
        padding: 5px !important; 
        text-align: center;
    }

    .image-container img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .text-container,
    .text-container1 {
        position: static !important; 
        transform: none !important;
        margin-top: 0 !important;
    }
}


/* 4 product tab */
/* Gallery Tabs */

.nav-tabs .nav-link {
    cursor: pointer;
    color: #28a745;
    font-weight: bold;
    font-size: 20px;
    border-radius: 2px;
}
.nav-tabs .nav-link.active {
    background: #28a745;
    color: white;
}

/* Gallery Grid */
.gallery-item {
    padding: 10px;
}

.gallery-item img {
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.gallery-item img:hover {
    transform: scale(1.05);
}
/* 3 column Gallary section */


.card {
    overflow: hidden;
    border-radius: 15px;
}

.card img {
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    border-radius: 15px;
}

.card2 img {
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    border-radius: 15px;
}

.fitness img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    border-radius: 15px;
}
.card:hover img {
    transform: scale(1.1);
}


.badge-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 10px;
}

.card-body {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    border-radius: 0 0 15px 15px;
}




