body {
    background-color: #fafefa; /* Light background */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    flex-direction: row; /* Align items in a row */
    justify-content: space-between; /* Space between logo and nav */
    align-items: center; /* Align items vertically centered */
    background-color: #ffffff; /* White background for contrast */
    padding: 10px 5%;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    flex: 0 1 auto; /* Logo takes necessary space */
    margin-right: 1em; /* Space between logo and menu */
}

.logo img {
    width: 20vw; /* Responsive logo size */
    max-width: 250px; /* Sets a max-width for large screens */
    height: auto;
}


.nav-container {
    display: flex; /* Flex container for the nav */
    justify-content: flex-end; /* Align the nav to the right */
    width: 100%; /* Full width for nav container */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #000000; /* Black text for nav links */
    font-size: 1.4em; /* Increase font size */
    font-weight: bold;
}

nav ul .dropdown {
    display: none; /* Initially hide the dropdown */
    position: absolute;
    top: 100%; /* Align below the menu item */
    left: 0;
    background-color: white;
    border: 1px solid #6b6666;
    padding: 10px;
    list-style: none;
    min-width: 150px; /* Set a minimum width for the dropdown */
}

nav ul li:hover .dropdown {
    display: block; /* Show dropdown on hover */
}

nav ul .dropdown li {
    margin: 0.5em; /* No margin for list items */
    padding: 2px 0; /* Add padding for better spacing */
}

nav ul .dropdown li a {
    text-decoration: none;
    color: #000000; /* Text color for dropdown items */
    font-size: 1em; /* Ensure consistency in font size */
    font-weight: normal; /* Regular weight for dropdown items */
    display: block; /* Ensure the entire area is clickable */
    white-space: nowrap; /* Prevent text from wrapping */
}

/* Separator line styling */
.separator-line {
    width: 100%;
    height: 5px; /* Adjust thickness as needed */
    background-color: #63d150; /* Solid color for the line */
    margin: 10px 0; /* Space above and below the line */
}


/* Contact Section */
.contact-section {
    background-color: #fafefa; /* Light background for the section */
    display: flex;             /* Enables Flexbox for centering */
    justify-content: center;   /* Centers content horizontally */
    align-items: center;       /* Centers content vertically */
    min-height: 20vh;         /* Full viewport height */
}

.contact-form-container {
    width: 80%;                /* Sets a reasonable width for the form */
    max-width: 800px;          /* Limits the width on larger screens */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form{
    width: 95%; /* Split container width */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: #63d150;
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 1rem;
    display: block;
    margin-top: 15px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 97.5%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #63d150;
    color: #010101;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #4ca03d;
}

.popup-message {
    background-color: #e0f7fa; /* Light blue background */
    color: #00695c; /* Dark teal text */
    padding: 10px 15px; /* Padding around the text */
    border: 1px solid #004d40; /* Darker border */
    border-radius: 5px; /* Rounded corners */
    margin-bottom: 15px; /* Space below the pop-up */
    display: flex; /* Flex to center align text */
    justify-content: center; /* Center text horizontally */
    align-items: center; /* Center text vertically */
    font-weight: bold; /* Bold text for emphasis */
}



/* Footer Section */
footer {
    padding: 20px; /* Padding for the footer */
    background-color: #333; /* Dark background for the footer */
    color: #fff; /* White text color */
}

.footer-container {
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space items evenly */
    align-items: center; /* Center align items vertically */
    max-width: 1200px; /* Limit the width of the container */
    margin: auto; /* Center the container */
}

.footer-info p {
    margin: 20px 0; /* Space between paragraphs */
    text-align: left; /* Center the text */
    font-weight: bold;
    font-size: 1.2rem;
}

.social-media {
    display: flex; /* Use flexbox for social media icons */
    gap: 20px; /* Space between icons */
}

.social-media img {
    width: 40px; /* Size of the social media icons */
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s; /* Transition for hover effect */
}

.social-media img:hover {
    transform: scale(1.1); /* Slightly enlarge icons on hover */
}


html {
    scroll-behavior: smooth;
}


/* weederBased Section */
.weederBased-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%; /* Add left and right padding */
}

.weederBased-content {
    flex: 1;
    padding-right: 10px;
    margin-left: 5%; /* Moves the text content slightly toward the center */
    margin-top: -5%; /* Moves text higher */
}

.weederBased-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.weederBased-content p {
    font-size: 1.2rem;
    word-spacing: 2px; /* Increases space between words */
    line-height: 1.5; /* Adjusts line spacing */
}

.weederBased-images {
    position: relative;
    max-width: 80%; /* Adjust as needed */
    margin: auto;
    overflow: hidden; /* Hides the other images */
}

.weederBasedImage-container {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth transition for sliding */
}

.weederBasedImage {
    width: 100%;
    display: none; /* Hide all images by default */
}

.weederBasedImage.active {
    display: block; /* Show only the active image */
}

.weederBased-images button {
    position: absolute;
    top: 50%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%); /* Vertically center the buttons */
}

.prev {
    left: 0;
    transform: translateY(-50%);
}

.next {
    right: 0;
    transform: translateY(-50%);
}

button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}


/* Video Section */
.weederBased_video-section {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.weederBased_video-container {
    width: 100%;  /* Makes the container take 80% of the width */
    max-width: 1000px; /* Optional: maximum width for the video container */
}

.weederBased_video-container video {
    width: 100%; /* Ensures the video element takes up the full container width */
    height: auto; /* Keeps the aspect ratio */
}


/* Datasheet Section */
.datasheet-section {
    padding: 2.5% 10% 2.5%; /* Adjust as needed */
}

/* Datasheet Content */
.datasheet-content {
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: flex-start; /* Align to the left */
}

/* Styling for the download button */
.download-btn {
    display: flex;
    align-items: center; /* Align the icon and text in one row */
    text-decoration: none; /* Remove underline from the link */
    color: inherit; /* Keeps the text color as the default */
}

/* PDF Icon Styling */
.pdf-icon {
    width: 30px; /* Adjust size of the icon */
    height: auto;
    margin-right: 10px; /* Space between icon and title */
}

/* Title Styling */
.download-btn h2 {
    font-size: 1.5rem; /* Adjust title size */
    font-weight: bold;
    margin: 0; /* Remove any margin */
}

/* Optional description text */
.datasheet-content p {
    font-size: 1rem;
    margin-top: 10px;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack elements vertically on smaller screens */
        align-items: center; /* Center items on smaller screens */
    }

    .nav-container {
        justify-content: center; /* Center nav on smaller screens */
        width: 100%; /* Full width for nav container */
    }

    nav {
        text-align: center; /* Center nav text on smaller screens */
    }

    nav ul {
        flex-direction: column; /* Stack nav items vertically on smaller screens */
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }
    nav ul li a {
        font-size: 1.0em; /* Smaller font size for mobile */
    }

    .logo img {
        width: 20vw; /* Keep logo responsive */
        max-width: 150px;
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) { /* For tablets and mobile devices */
    .additional-content {
        padding: 20px; /* Reduce padding on smaller screens */
    }

    .content-item {
        flex: 1 1 100%; /* Make items stack vertically */
        max-width: none; /* Remove max width to fill the container */
    }

    .number {
        font-size: 1.5rem; /* Smaller font size for the number */
    }

    .weeded-text {
        font-size: 0.9rem; /* Smaller font size for weeded text */
    }
}

@media (max-width: 480px) { /* For mobile devices */
    .additional-content {
        padding: 10px; /* Further reduce padding on mobile */
    }

    .number {
        font-size: 1.25rem; /* Even smaller font size for the number */
    }

    .weeded-text {
        font-size: 0.8rem; /* Even smaller font size for weeded text */
    }
}
