body {
    /*font-family: Arial, sans-serif;*/
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    line-height: 1.6;
    color: #333;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:0rem;
    padding-left:3rem;
    padding-right: 3rem;
    background-color:#156f0b; /* Make the background transparent */
    border-bottom: 4px solid #156f0b;
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box; /* Ensure padding is included in the width */
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
    line-height: 1.65;
    
}

.burger-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
}

.burger-menu span {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 4px 0;
    border-radius: 2px;
}

.logo img {
    height: 80px;
    width:auto;
}

.nav {
    display: flex;
    justify-content: flex-start; /* Align items to the left */
    align-items: center; /* Vertically center the items */
    padding-left: 20px; /* Optional: Add some padding to the left */
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px; /* Space between links */
    padding: 0;
    margin: 0;
}

.nav ul li {
    margin-right: 20px; /* Optional: Add space between list items */
}

.nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    background-color: #156f0b;
    border-radius: 8px;
}


.footer {
    /* background-color: #252525;
    border-top: 1px solid #ddd;
    padding: 1rem;
    padding-left: 3rem;
    padding-right: 3rem;
    text-align: center;
    position: inherit;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box; 
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
    line-height: 25.65;*/
    background-color: #252525;
    color: white;
    padding: 2rem;
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
    font-family: Arial, sans-serif;

}

.footer-content {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    flex-wrap: wrap;
    gap: 1rem;
}

/* .footer-content a {
    text-decoration: none;
    color: #333;
}

.footer-content p {
    margin: 0;
} */

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-column p,
.footer-column a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-column a:hover {
    color: #fff;
}

.footer-logo {
    width: 150px;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid #444;
    padding-top: 1rem;
}

.footer-bottom p {
    margin: 0;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: white;
    margin-right: 10px;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #059e45;
}

.container {
    padding: 2rem;
    text-align: center;
}

.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    z-index: 1; /* Ensure the overlay appears on top of the banner */
    padding: 1rem;
}

.overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.overlay h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.overlay p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}


.input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.search-form input,
.search-form select {
    flex: 1;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-width: 350px; /* Allow the element to shrink below its intrinsic size */
}

.search-form select {
    display: none; /* Initially hidden */
}

.search-form button {
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #059e45;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    
}

.search-form button:hover {
    background-color: #808a84;
    transform: translateY(-8px); /* Lift the button on hover */
    
}

.selector-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.selector-container select {
    padding: 0.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    width: 100px; /* Adjust width as needed */
    margin-left: 1rem;
}



#product_category {
    padding: 0.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    width: 150px;
}

.search-form button:hover {
    background-color: #059e45;
}


.container {
    padding: 2rem;
    padding-bottom: 4rem; /* Make space for the fixed footer */
    text-align: center;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
    line-height: 1.65;
    
}

.supplier-section {
    margin-bottom: 2rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1rem;
    background-color: #f9f9f9;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
    line-height: 1.65;
}

.supplier-section h2 {
    margin-top: 0;
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem;
    border-radius: 5px 5px 0 0;
}
.search-results-container {
    margin-top: 4rem; /* Add margin to avoid overlap with the header */
    padding-left: 11rem; /* Add padding to the left */
    padding-right: 11rem; /* Add padding to the right */
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
    line-height: 1.65;
    background-color: #e9fff2;
    
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
    line-height: 1.65;
}

.results-table th,
.results-table td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: left;
    word-wrap: break-word;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
    line-height: 1.65;
    
}

.results-table th {
    background-color: #059e45;
    color: #fff;
    cursor: pointer; /* Add cursor pointer to indicate sortable columns */
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
    line-height: 1.65;
}
.results-table th:hover {
    background-color: #218838;
}

.results-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

button {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
}

button:hover {
    background-color: #218838;
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #059e45;
    color: #fff;
    text-align: center;
    padding: 1rem;
    z-index: 1000;
    display: none; /* Initially hidden */
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
    line-height: 1.65;
}

.cookie-consent p {
    margin: 0;
}

.cookie-buttons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cookie-button {
    background-color: #059e45;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-button:hover {
    background-color: #218838;
}

.privacy-link {
    color: #e90707;
    text-decoration: underline;
    margin-left: 0.5rem;
}

.privacy-link:hover {
    color: #0056b3;
}

/* Privacy Policy Styles */
.privacy-policy {
    text-align: left;
    margin: 2rem auto;
    max-width: 800px;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
    line-height: 1.65;
}

.privacy-policy h1,
.privacy-policy h2 {
    color: #059e45;
}

.privacy-policy p,
.privacy-policy ul {
    margin-bottom: 1rem;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
    line-height: 1.65;
}

.privacy-policy ul {
    list-style: disc;
    padding-left: 1.5rem;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
    line-height: 1.65;
}
/* Add modal styles for demo video */
.modal {
    display: none; /* Hide the modal by default */
    position: fixed; /* Fix the position of the modal on the screen */
    z-index: 1000; /* Ensure the modal appears on top of other elements */
    left: 0; /* Position the modal at the left edge of the screen */
    top: 0; /* Position the modal at the top edge of the screen */
    width: 100%; /* Set the modal to take the full width of the screen */
    height: 100%; /* Set the modal to take the full height of the screen */
    overflow: auto; /* Allow scrolling if the content overflows */
    background-color: rgba(0,0,0,0.4); /* Semi-transparent black background */
}

.modal-content {
    position: relative; /* Position relative to its parent (the modal) */
    background-color: #fff; /* Set the background color to white */
    margin: 5% auto; /* Center the modal content vertically and horizontally with smaller margins */
    padding: 20px; /* Add padding inside the modal content */
    border: 1px solid #888; /* Add a border around the modal content */
    width: 80%; /* Set the width of the modal content to 80% of the screen */
    height: 80%; /* Set the height of the modal content to 80% of the screen */
    max-width: 90%; /* Set a maximum width for the modal content to ensure it fits within the viewport */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Add a shadow effect to the modal content */
}

.close-button {
    color: #aaa; /* Set the close button color to light grey */
    float: right; /* Float the close button to the right */
    font-size: 28px; /* Set the font size of the close button */
    font-weight: bold; /* Make the close button text bold */
}

.close-button:hover,
.close-button:focus {
    color: #218838; /* Change the close button color to dark when hovered or focused */
    text-decoration: none; /* Remove any text decoration (e.g., underline) */
    cursor: pointer; /* Change the cursor to a pointer when hovering over the close button */
}

iframe {
    width: 100%; /* Set the iframe to take the full width of the modal content */
    height: 100%; /* Set the iframe to take the full height of the modal content */
    border: none; /* Remove the border around the iframe */
}

.demo-button {
    color: #fff;
    border: none;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.3s; /* Smooth transition */
}

.demo-button:hover {
    background-color: #218838; /* Slightly darker shade on hover */
    transform: translateY(-2px); /* Lift the button on hover */
    box-shadow: 0 5px 10px rgba(0,0,0,0.2); /* Add a shadow for depth */
    border-radius: 5px;
    padding: 5px;
}

.demo-button:active {
    transform: translateY(0); /* Reset the transform on click */
    box-shadow: 0 3px 6px rgba(0,0,0,0.2); /* Reduce shadow on click */
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #156f0b;
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: green;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 8px;
    /*border: 1px solid #ddd; added border*/
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #059e45;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #059e45;
}
/* Nested Dropdown Styles */
.nested-dropdown {
    position: relative;
}

.nested-dropbtn {
    padding: 10px;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nested-dropdown-content {
    display: none;
    position: absolute;
    top: 0;
    left: 100%; /* Position to the right of "Tools" */
    min-width: 160px;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 8px;
}

/* Show the nested dropdown on hover */
.nested-dropdown:hover .nested-dropdown-content {
    display: block;
}
/* Profile Menu Styles */
.profile-menu {
    position: relative;
    display: inline-block;
    margin-right: 40px;
    
}

.profile-button {
    background: #156f0b;
    border: none;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
}

.profile-dropdown {
    display: none;
    position: absolute;
    background-color: #156f0b;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    min-width: 160px;
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
}

.profile-dropdown a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 16px;
}

.profile-dropdown a:hover {
    background-color: #218838;
}

.profile-menu:hover .profile-dropdown {
    display: block;
}

.flash-messages {
    margin: 20px 0;
}

/* Popup Modal */
.flash-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.flash-modal-content {
    background-color: #28a745;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #28a745;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px; /* Maximum width */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.flash-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.flash-close:hover,
.flash-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.flash-message {
    margin-bottom: 10px;
    color:#fff;
}

.flash-message.success {
    background-color: #28a745;
    color: #ffffff;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 5px;
}

.flash-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
}


.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
.services-section, .products-section {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.service, .product {
    width: 30%;
    text-align: center;
}

.service img, .product img {
    width: 100%;
    height: auto;
}


/* Responsive design */
@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        margin: 0;
        align-items: flex-start; /* Align the items to the left in mobile view */
        padding-left: 0;
    }

    .nav ul li a {
        text-align: center;
        padding: 0.5rem;
        border-bottom: 1px solid #ddd;
        /*color: green*/
    }
    .nav ul li a:last-child {
        border-bottom: none; /* Remove border from the last item */
    }
    .nav {
        display: none; /* Hide the original nav on smaller screens */
    }

    .burger-menu {
        display: flex; /* Show the burger menu on smaller screens */
    }

    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        right: 0;
        width:  %;
        background-color: #f8f8f8;
        z-index: 999;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .overlay h1 {
        font-size: 2rem;
    }

    .overlay h2 {
        font-size: 1.2rem;
    }

    .overlay p {
        font-size: 1rem;
    }

    .search-form input {
        width: 100%;
    }

    .selector-container {
        flex-direction: column;
    }

    .selector-container select {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .search-form {
        flex-direction: column;
    }

    .input-group {
        flex-direction: column; /* Stack input elements vertically within the group */
        gap: 0.5rem; /* Reduce gap between elements */
    }

    .search-form input,
    .search-form select,
    .search-form button {
        width: 100%;
    }  
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-column {
        margin-bottom: 1rem;
    }
}
