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

body {
    margin: 0;
    padding: 0;
    font-family: 'Hepta Slab', serif;
    line-height: 1.6;
    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: 40%; /* 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;
    }
}
h1 {
    color: #923524;
    text-align: center;
    font-size: 2.5em;
}

h2 {
    color: #056637;
    text-align: center;
    font-size: 2em;
}

h3 {
    color: #056637;
    font-size: 1.25em;
}
.hero {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 1s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%; /* Match the height of the container */
    position: relative;
}

.slide img {
    width: 100%;
    height: 70vh; /* Ensure all images take the full height */
    object-fit: cover; /* Crop the image to fill the area while maintaining its aspect ratio */
    object-position: center; /* Center the image for better cropping */
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    margin: 2em;
}



.content {
    background-color: rgba(4, 102, 55, 0.3);
    padding: 1.5em;
    border-radius: 8px;
}

.content p {
    margin: 0 1.5em;
    font-size: 1.1em;
}

ul li {
    list-style-type: none;
    font-size: 1.1em;
}

.icons {
    color: #923524;
    font-size: 3em;
}

.comment-section {
    margin-top: 2rem;
    padding: 1rem;
    border: 0.1rem solid #056637;
    border-radius: 0.5rem;
    background-color: #f9f9f9;
}

.comment-form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align form content */
    width: 100%;
}

.comment-form label {
    width: 100%;
    max-width: 600px; /* Keep labels aligned with inputs */
    margin: 0.5rem 0 0.25rem;
    font-weight: bold; /* Enhance visibility */
    text-align: left;
}

.comment-form input[type="text"],
.comment-form textarea {
    width: 100%;
    max-width: 600px; /* Maintain consistent width */
    padding: 0.75rem; /* Comfortable padding */
    margin-bottom: 1rem;
    border: 0.1rem solid #056637;
    border-radius: 0.25rem;
    font-size: 1rem;
    box-sizing: border-box; /* Prevent overflow */
}

.comment-form textarea {
    min-height: 120px; /* Adjusted for better usability */
    resize: vertical; /* Allow resizing vertically */
}

.comment-form button {
    align-self: flex-start; /* Align button to the left of inputs */
    margin-left: 1rem; /* Add slight margin for better spacing */
    background-color: #056637;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.comment-form button:hover {
    background-color: white;
    color: #056637;
    border: 0.1rem solid #056637;
}

.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 Queries for Responsiveness */
@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;
}
/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 50vh; /* Reduce height for tablets and smaller screens */
    }


    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.5em;
    }
    .content p {
        margin: 0 1em;
        font-size: 1em;
    }
    .icons {
        font-size: 2.5em;
    }
    .comment-form input[type="text"],
    .comment-form textarea,
    .comment-form button {
        max-width: 100%; /* Ensure full width on smaller screens */
        font-size: 0.9rem;
    }

    .comment-form button {
        margin-left: 0; /* Center button for smaller screens */
        align-self: center;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 40vh; /* Further reduce height for mobile devices */
    }

    .comment-form input[type="text"],
    .comment-form textarea {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .comment-form button {
        padding: 0.5rem 1rem; /* Smaller button padding */
        font-size: 0.85rem;
    }
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.2em;
    }
    .grid-container {
        margin: 1em;
    }
    .content {
        padding: 1em;
    }
    .content p {
        margin: 0.5em;
        font-size: 0.9em;
    }
    .icons {
        font-size: 2em;
    }
}
@media (max-width: 768px) {
    /* On tablets and smaller screens, show the entire image */
    .slide img {
        height: auto; /* Let the image define its own height */
        object-fit: contain; /* Ensures the whole image is shown */
        object-position: center;
    }

    /* Ensure the hero section height adjusts based on the content (image) */
    .hero {
        height: auto;
    }

    .slide {
        height: auto; /* Allow the slide to grow with the image */
    }
}

@media (max-width: 480px) {
    /* For very small screens, the same logic applies (entire image visible) */
    .slide img {
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    .hero, .slide {
        height: auto;
    }
}