*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
    scroll-margin-top: 6vh;
}
html {
    scroll-behavior:smooth;
}
body{
    min-height: 100vh;
}

main{
    padding-top: 50px;
}
nav{
    height: 50px;
    width: 100%;
    z-index: 100000;
    position: fixed;
    background-color: #007a33;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.1);

}



nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li{
    height: 50px;

}

nav a{
     height: 100%;
     width: 100%;
     padding: 0 30px;
     text-decoration: none;
     display: flex;
     align-items: center;
     color: rgb(255, 255, 255);
}

nav a:hover{
    background-color: rgb(195, 155, 55);
}

nav li:first-child{
    margin-left: 2vw;

    margin-right: auto;
}

.logo_img img {
    width: 40px;
    padding-right: 5px;
    padding-top: 8px;

}


.menu-button{
    display: none;
}

.sidebar{
    position: fixed;
    margin: 0;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    box-shadow: -10px 0 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li a{
    padding-left:30px;
    font-size: 15px;
    width: 100%;
}



.sidebar li{
    width: 100%;
}

nav ul li:first-child a {
    margin-left: 0.5vw;

    font-family: 'Times New Roman', Times, serif;
    font-size: 26px; /* Adjust the size as needed */
    font-weight: bold; /* Optional: Make it bold */
}
nav ul li:first-child a:hover {
   background-color: transparent;
}

.logo {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 30px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.crop {
    background: #00FF00;
    background: linear-gradient(to left, #00FFFF  0%, #00FF00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
}

.tech {
    background: #00FF00;
    background: linear-gradient(to left, #00FFFF 0%, #00FF00  100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    
}


.tagline {
    color: rgba(255, 246, 246, 0.915);
    font-style: italic;
    font-size: 12px;
    padding-top: 8px;
    margin-left: 10px;
}


@media(max-width:800px){
    .hideOnMobile{
        display: none;
    }

    .menu-button{
        display: block;
    }

    
    
    
}

@media(max-width:400px){
    .sidebar{
        width: 50%;
    }
}




header {
    scroll-margin-top: 50px;
    margin: 0;
    background-image: url(assets/header_img.jpg);
    background-color: #333; /* Fallback color */
    display: grid;
    place-items: center;
    background-size: cover;
    background-position: center;
    min-height: 70vh; /* Use min-height for flexibility */
    padding: 0px 7vw;
    color: white;
    text-align: center;
    position: relative; /* Needed for overlay */
}

/* Add an overlay for better text readability */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1;
}

/* Ensure text is above the overlay */
header * {
    position: relative;
    z-index: 2;
}

header h2 {
    margin: 0;
    font-size: 5vw;
    padding: 0;
    /* border: 2px solid black; */

}

header h4 {
    padding:10px;
    font-size: 2vw;
    margin: 0;

    /* border: 2px solid black; */
}

.header{
    height: 4px;
    background-color: rgba(44,90,38,255);
    border-width: 0;

}

.product-types {
    padding: 5vw 7vw 5vw 7vw;
    height: 50vh;
    display: flex;
    justify-content: space-between; 
    gap: 20px; 
}

.product-types-items {
    flex: 1; 
    background: rgb(255, 255, 255);
    padding: 20px 50px;
    text-align: center;
    /* border: 2px solid black; */
}
.product-types-items h5{
    font-size: 20px;
}

.product-types-items i{
    font-size: 50px;
    color: rgba(44,90,38,255);
    padding-bottom: 20px;
}



.slider-container {
    scroll-behavior: smooth;
    scroll-margin-top: 20vw;
    width: 100%;
    overflow-x: auto;
    overflow: hidden; /* Hide overflow */
    -webkit-overflow-scrolling: touch; /* Smooth on mobile */

    white-space: nowrap; /* Prevent wrapping */
    background-color: #f4f4f4;
    padding: 2vw 7vw 3vw 7vw;
    padding-top: 80px;
    
}

.slider-container h3{
    font-size: 3.5vw;
    /* border: 2px solid black; */
    display: flex;
    justify-content: center;
    margin-bottom:20px ;
}

.slider-track {
    display: inline-block;
    white-space: nowrap;
    animation: slide 30s linear infinite; /* Animation for sliding */
    
}

.slider-item {
    display: inline-block;
    width: 300px; /* Adjust width as needed */
    height: 400px;
    margin: 0 10px;
    background-color: #038d3c;
    border: 2px solid #333;
    text-align: center;
    /* line-height: 150px; */
    font-size: 20px;
    font-weight: bold;
    overflow: hidden;
    flex-direction: row;

    border-radius: 20px;
}

.slider-item img{
    width: 100%;
    height: 69%;
    background: #f8f9fa; /* Remove fixed height */
    object-fit: cover;}

/* .slider-track img{
    background-size:inherit; 
    width: 100%;
    height: 65%;

} */


.slider-item h6 {
    color: #ffffff; /* Ensure the text color is visible */
    font-size: 16px; /* Ensure the font size is reasonable */
    margin: 0; /* Remove default margins if needed */
    padding-bottom: 5px; /* Remove default padding if needed */
    
}

.slider-item p {
    color: #d8d8d8; 
    font-size: 12px;
    max-width: 100%;
    height: 39px;
    word-wrap: break-word; /* Ensures long words break */
    overflow-wrap: break-word;
    white-space: normal; /* Ensure text wraps */
    overflow: hidden;
}


.slider-item button{
    border: 1px solid #ffcc00;
    color: white;
    background-color: #007a33;
    margin: 1px;
    padding: 7px;
    font-size: 15px;
    border-radius: 20px;
    
}

.slider-item button:hover{
    color: #007a33;
    background-color: white;

}

/* Keyframes for sliding animation */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move track by half its width */
    }
}

.all-products{
    display: flex;
    justify-content: center;

}


.all-products button a{
    text-decoration: none;
    color: #fff;
}

.all-products button a:hover{
    background-color: #ffffff;
    color:  #1baa1e;
}

.all-products button{
    text-decoration: none;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1.2vw;
    width: 200px;
    height: 50px;
    background-color: #038d3c;
    border-radius: 25px;
    color: white;
}
.all-products button:hover{
    border-radius: 25px;
    background-color: #efebeb;
    color:  #1baa1e;
}



.about-us {
    /* background-color: #d8d8d8; */
    display: grid;
    grid-template-columns: 2fr 1fr; /* Two equal columns */
    gap: 20px; /* Space between text and image */
    align-items: center; /* Vertically center content */
    padding: 0 7vw;
}

.about-text {
    margin: 2vw 0vw;
    order: 1; /* Text comes first by default */
}

.about h2{
    /* background-color: #d8d8d8; */
font-size: 3vw;
display: flex;
justify-content: center;
}

.about-image {
    margin: 2vw 0vw;

    order: 2; /* Image comes second by default */
    display: flex;
    justify-content: center; /* Center the image horizontally */
    align-items: center; /* Center the image vertically */
}

.about-image img {
    max-width: 100%; /* Ensure image doesn't overflow */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: Add rounded corners */
    object-fit: cover; /* Ensure the image covers the area */
    width: 100%; /* Ensure the image takes full width */
    max-height: 300px; /* Set a consistent height for all images */
}

/* Reverse the order for the second section */
.about-us.reverse {
    grid-template-columns: 1fr 2fr; /* Maintain two equal columns */
}

.about-us.reverse .about-text {
    order: 2; /* Text comes second in reverse layout */
}

.about-us.reverse .about-image {
    order: 1; /* Image comes first in reverse layout */
}

/* Stack image above text on smaller screens */
@media (max-width: 768px) {
    .about-us, .about-us.reverse {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .about-text {
        order: 2; /* Text comes second on smaller screens */
    }

    .about-image {
        order: 1; /* Image comes first on smaller screens */
    }

    .about-image img {
        max-height: 200px; /* Adjust height for smaller screens */
    }
}

.inquiry{
    padding: 100px 7vw 100px 7vw;
    height: auto;
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
}

.inquiry h4{
    margin-top: 10px;
    /* border: 2px solid black; */
    font-size: 30px;
    padding-bottom: 20px;
    text-align: center;
}

.inquiry .para{
    height: 100px;
}

.inquiry input{
    width: 50vw;
    margin: 5px;
    height: 30px;
}

.inquiry p{
    font-size: 20px;
    padding: 5px;
    margin-top: 5px;
}

.inquiry label{
    margin: 5px;
    font-size: 20px;

    padding: 5px;

}
#products{
    padding: 5px;
}
.inquiry button{

    margin: 10px;
    height: 40px;
    background-color: rgba(44,90,38,255) ;
    border: 2px solid rgba(197,159,40,255);
    border-radius: 50px;
    font-size: 15px;
    color: #f4f4f4;
}

.inquiry button:hover{
    background-color: rgb(0, 0, 0);
}

.inquiry textarea{
    margin-top: 10px;
}


/* Footer styles */
.footer {
    background-color: #2c5a26;
    color: white;
    padding: 20px 7vw;
    font-size: 14px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.map-container {
    width: 100%;
    height: 200px;
    border: 2px solid #fff;
    border-radius: 10px;
    overflow: hidden;
}

.quick-links ul {
    
    list-style: none;
    padding: 0;
}

.quick-links ul li {
    margin-bottom: 10px;
}

.quick-links ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.quick-links ul li a:hover {
    color: #ffcc00;
}

.contact-info p {
    margin: 5px 0;
}

.copyright {
    text-align: center;
    border-top: 1px solid #fff;
    padding-top: 10px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
    }

    .map-container {
        height: 150px;
        width: 50vw;
    }


    .product-types {
        height: auto;
        flex-direction: column; /* Stack items vertically */
    }
}

