@import url('https://fonts.googleapis.com/css2?family=Stint+Ultra+Condensed&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x:hidden;
}
.container {
    max-width: 100%;
    margin: 0 auto;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #5c703a;
    padding: 4rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    position: absolute;
    top: 4rem;
    right: 5%;
    z-index: 1001; /* Ensure it's above other elements */
}

.social-icon {
    width: 40px; /* Adjusted size */
    height: 40px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Logo */
.logo {
    margin-right: auto;
    position: absolute;
    top: 2rem;
    left: 5%;
    z-index: 1001;
}

.logo-img {
    width: 120px;
    height: auto;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.logo-img:hover {
    transform: scale(1.1);
}

.navbar {
    flex-grow: 1;
    background-color: transparent;
    z-index: 1000;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0; /* Remove any extra margin */
    padding: 0;
    align-items: center;
    justify-content: center; /* Center the navigation items horizontally */
    gap: 1.5rem; /* Space between items */
}
.nav-list li {
    margin: 0 15px;
}

.nav-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    padding: 0.75rem 0.5rem;
    transition: color 0.3s ease;
    font-family: 'Stint Ultra Condensed', sans-serif;

}

.nav-list li a:hover {
    color: #fff100;
}

/* Icon Animations */
.icon, .house-icon {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: relative;
    width: 40px; /* Adjusted size */
    height: 40px;
    top: 5px;
}

.home-link:hover .house-icon,
.crops-link:hover .crops-icon,
.products-link:hover .products-icon,
.blogs-link:hover .blog-icon,
.calendar-link:hover .calendar-icon,
.partners-link:hover .partner-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #046637;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    border: 2px solid #fff100;
    text-align: left;
    padding: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.dropdown-menu li a {
    color: #fff100;
    font-size: 18px;
    padding: 10px 5px;
    text-decoration: none;
    font-family: 'Stint Ultra Condensed', sans-serif;
    width: 100%;
    display: block;
}

.dropdown-menu li a:hover {
    background-color: #056637;
    text-decoration: underline;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    top: 1.5rem;
    left: 50%; /* Center the hamburger on smaller screens */
    transform: translateX(-50%);
    z-index: 1001;
}
.hamburger span {
    width: 32px;
    height: 4px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: absolute;
        top: 2rem;
        right: 2rem;
        z-index: 1001;
    }

    .nav-list {
        position: absolute;
        top: 20rem; /* Set top value to push the dropdown lower down */
        left: 0;
        right: 0;
        height: auto; /* Adjust height if needed */
        margin-top: 2rem; /* Add extra margin to further push it down */
        background-color: #046637;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 1rem;
        transform: translateY(-100%);
        transition: transform 0.5s ease-in-out, opacity 0.5s;
        opacity: 0;
        visibility: hidden;
        border: 2px solid #000;
        border-radius: 15px;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-list.active {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }

    .nav-list li {
        margin: 0;
        padding: 1rem 0;
    }

    .nav-list li a {
        color: #fff100;
        text-decoration: none;
        font-size: 4rem !important; /* Added !important to force the font size to grow */
        line-height: 5rem; /* Added line-height to maintain spacing between larger text */
        text-align: center;
        transition: color 0.3s ease, font-size 0.3s ease; /* Added transition for smoother growth */
    }

    .nav-list li a:hover {
        color: #ffffff;
    }

    .social-icons {
        position: absolute;
        top: 2.5rem;
        right: 1rem;
        display: flex;
        gap: 10px;
    }

    .dropdown-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 0.5rem;
        background-color: #046637;
        min-width: 12rem;
        padding: 1rem;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.5s, transform 0.5s;
        border: 2px solid #fff100;
        border-radius: 10px;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Larger Tablet Screens and Smaller Laptops (Max Width 1320px) */
@media (max-width: 1320px) {
    .hamburger {
        display: flex;
        position: absolute;
        top: 4rem;
        right: 34rem;
    }

    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 50vh;
        margin-top: 8rem;
        background-color: #046637;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 1rem;
        transform: translateY(-100%);
        transition: transform 0.5s ease-in-out, opacity 0.5s;
        opacity: 0;
        visibility: hidden;
        border: 2px solid #000;
        border-radius: 15px;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-list.active {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }

    .social-icons {
        position: absolute;
        top: 3rem;
        right: 4rem;
    }

    .logo {
        position: absolute;
        top: 1.5rem;
        right: 4rem;
    }

    .dropdown-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 5rem;
        margin-top: -2rem;
        background-color: #046637;
        min-width: 10rem;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.5s, transform 0.5s;
        border: 2px solid #fff100;
    }
}

.product-display {
    display: flex;
    justify-content: space-between; /* Reduce spacing between the image and details */
    align-items: flex-start;
    margin-top: 100px;
    padding: 20px;
    background: #fff;
    font-family: 'Marcellus', sans-serif;
    max-width: 1200px; /* Constrain the maximum width of the container */
    margin-left: auto;
    margin-right: auto;
}

.product-image {
    flex: 1; /* Adjusts the space taken by the image */
    display: flex;
    justify-content: center;
    margin-right: 20px; /* Reduce spacing between image and details */
    margin-top:40px;
}

.product-image img {
    width: 100%; /* Ensures the image scales to fit its container */
    max-width: 600px; /* Sets a maximum width for larger displays */
    height: auto; /* Maintains aspect ratio */
    margin-right: 50px; /* Adds space between the image and details */
    border-radius:50px;
}

.product-description {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    left:50px;
    font-family: 'Marcellus', sans-serif;
}

.toggle-section {
    font-size: 18px;
    color: grey;
    font-weight: bold;
    cursor: pointer;
    margin-right: 30px;
    position: relative;
    transition: color 0.3s ease;
    font-family: 'Marcellus', sans-serif;
}

.toggle-section::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease, width 0.3s ease;
    font-family: 'Marcellus', sans-serif;
}

.toggle-section:hover::after {
    background-color: grey;
}

.toggle-section.active {
    color: black;
}

.toggle-section.active::after {
    background-color: black;
}

.description-content {
    margin-top: 20px;
    overflow: hidden;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    position: relative;
    font-family: 'Marcellus', sans-serif;
}

.description-text {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    text-align: justify;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    font-family: 'Marcellus', sans-serif;
}

.description-text.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.rating {
    color: #000;
    font-size: 16px;

}

.price {
    font-size: 24px;
    color: #000;
    font-family: 'Marcellus', sans-serif;

}

.size-selection {
    font-family: 'Marcellus', sans-serif;
    margin-bottom:50px;
    margin-top:40px;

}

.size-selection label,
.size-selection select {
    font-family: 'Marcellus', sans-serif;
    font-size: 16px;
    color: #333;
}

.size-selection select {
    padding: 8px;
    border: 3px solid #ccc;
    border-radius: 4px;
    background-color: white;
    margin-left:5px;
    font-weight: bold;
}
.actions {
     display: flex;
     align-items: center;
     margin-bottom: 50px;
 }

.btn-add-to-cart, .btn-view-recipes {
    padding: 15px 30px;
    background: #046637;
    border-radius: 10px;
    color: white;
    border: none;
    cursor: pointer;
    font-family: 'Marcellus', sans-serif;
    font-weight: bolder;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin-right: 15px;
}

.btn-add-to-cart:hover, .btn-view-recipes:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #046637;
    background-color: white;
    border: 2px solid #046637;
}

.btn-wishlist {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    border-radius: 5px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-wishlist i {
    color: black;
    font-size: 20px;
    transition: color 0.3s ease;
}

.btn-wishlist:hover {
    background-color: #046637;
}

.btn-wishlist:hover i {
    color: red;
}
@media (max-width: 1250px) {
    .product-display {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        padding: 10px;
        max-width: 90%;
    }

    .product-image {
        display: flex;
        justify-content: center;
        width: 100%; /* Ensure the container takes full width */
    }

    .product-image img {
        width: 70%; /* Adjusts image size for better scaling */
        height: auto;
        margin: 0 auto;
    }

    .product-details {
        width: 100%;
        text-align: center;
    }

    .description-content {
        width: 100%;
        height: auto;
        margin-top: 15px;
    }

    .btn-add-to-cart {
        width: 100%;
        padding: 15px;
        margin-bottom: 10px;
    }

    .btn-wishlist {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .product-display {
        padding: 5px;
    }

    .product-image {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .product-image img {
        width: 80%; /* Increase width for a better view */
        margin-bottom: 15px;
    }

    .product-details {
        padding: 0 10px;
    }

    .btn-add-to-cart {
        padding: 12px;
        font-size: 0.85rem;
    }

    .btn-wishlist {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .product-display {
        padding: 5px;
    }

    .product-image {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .product-image img {
        width: 90%; /* Full width for smaller screens */
        height: auto;
        margin: 0;
    }

    .product-details h1 {
        font-size: 1.2rem;
    }

    .size-selection {
        margin-bottom: 20px;
    }

    .btn-add-to-cart {
        padding: 10px;
        font-size: 0.75rem;
    }

    .btn-wishlist {
        width: 40px;
        height: 40px;
    }

    .description-content {
        padding: 10px;
    }
}
.footer-section {
    background-color: #046637;
    color: white;
    padding: 40px 20px; /* Added side padding for smaller screens */
    font-family: 'Marcellus', sans-serif;
}

.footer-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Ensure columns wrap on smaller screens */
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    margin-left: 50px;
}

.footer-col h6 {
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff100;
    font-size: 18px;
}

.footer-col p, .footer-col ul {
    font-size: 14px;
    color: white;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fff100;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #fff100;
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.footer-bottom p {
    font-size: 14px;
    margin: 10px 0; /* Added margin for better spacing on small screens */
}

.social-icons2 {
    display: flex;
    gap: 10px;
    justify-content: center; /* Center icons on smaller screens */
}

.social-icons2 img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.social-icons2 img:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .footer-col {
        min-width: 100%; /* Make columns take full width */
        margin-left: 0; /* Remove side margin */
        text-align: center; /* Center text for smaller screens */
    }

    .footer-bottom {
        flex-direction: column; /* Stack elements vertically */
    }

    .social-icons2 {
        margin-bottom: 10px; /* Add space below icons */
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 20px 10px; /* Reduce padding for very small screens */
    }

    .footer-col h6 {
        font-size: 16px; /* Adjust font size for headers */
    }

    .footer-col p, .footer-col ul {
        font-size: 12px; /* Reduce text size for better fit */
    }

    .social-icons2 img {
        width: 20px; /* Smaller icons for mobile */
        height: 20px;
    }

    .footer-bottom p {
        font-size: 12px; /* Smaller text for footer note */
    }
}

::-webkit-scrollbar {
    width: 24px;
}
::-webkit-scrollbar-track {
    background: #046637;
}
::-webkit-scrollbar-thumb {
    background-color: #046637;
    border-radius: 10px;
    border: 4px solid #000;
}