/*  import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* all similar content styling codes */
section{
    padding: 100px 0;
}
.navbar{
    position: fixed;
    width: 100%;
    z-index: 999;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
    top: 0;
    background-color: #20a52b;
}
/* navbar styling */

.navbar.sticky{
    padding: 3px 0;
    background:#1f4724;
    color: white;
}
.navbar.sticky.menu li a{
    color: white;
}
.navbar .nav-header{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
}
.logo {
    display: flex;
    align-items: center;
    margin-right: 100px;
}

.logo img {
    margin-right: 5px;
}

.logo p {
    margin: 0 ;
    font-size: 1.5em;
    font-weight: bold;
    color: #0c0c0b;
}
.logo button {
    font-weight: bold;
    background-color: transparent; /* Transparent background */
    border: none; /* Remove default button border */
    padding: 0; /* Remove padding */
    font-size: inherit; /* Inherit font size from parent */
    cursor: pointer; /* Cursor style on hover */
    margin: 0 5px; /* Adjust margin to control spacing */
    color: #333; /* Text color */
}

.logo button:hover {
    text-decoration: none; /* Underline text on hover */
}   
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: #0c0c0b;
    font-size: 18px;
    font-weight: bold;
    margin-left: 10px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover{
    color: rgb(208, 230, 16);
}
.navbar.sticky .menu li a:hover{
    color: #d19d0c;
}
.menu {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
}

.menu li {
    position: relative;
    list-style: none;   /* remove the bullets */
    
}
.menu li a{
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
    transition:  0.3s ease;
}
.menu li a:hover,
.menu li a.active{
    color: rgb(187, 128, 19)
}

/* menu btn styling */
.menu-btn{
    font-size: 23px;
    cursor: pointer;
    display: none;
    margin-right: 40px;
}

/* Dropdown menu styling */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    list-style-type: none;
    padding: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    min-width: 250px;  /* Ensures the dropdown has enough width */
}

.dropdown:hover .sub-menu {
    display: block;
}

.dropdown-submenu {
    display: flex;
    align-items: center;
    padding: 10px;
    white-space: nowrap;
}

.dropdown-submenu img {
    margin-right: 10px;
    width: 40px;
    height: 40px;
}

.dropdown-submenu a {
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;  /* Adds space between the image and text */
}

.dropdown-submenu a:hover {
    color: #007bff;
}

/* Ensuring each item in the dropdown submenu occupies its own line */
.sub-menu .dropdown-submenu {
    display: flex;
    flex-direction: row;
    width: 100%;  /* Ensures full width of the submenu */
}

.sub-menu .dropdown-submenu a {
    flex-grow: 1;  /* Makes the link take up the remaining space */
    display: flex;
    align-items: center;
}

.sub-menu .dropdown-submenu img {
    margin-right: 10px;
}
/* Mobile menu button */
#menu-btns {
    display: none;
}

#menu-btn {
    display: none;
    cursor: pointer;
}

#menu-btn i {
    font-size: 24px;
    color: #333;
}
/* Responsive styles */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: -100%;
        background: #c7c2c2;
        width: 100%;
        overflow: scroll;
        transition: left 0.3s ease;
        padding: 30px;
        z-index: 9999;
    }

    .menu.active {
        left: 0;
    }

    #menu-btn {
        display: block;
    }

    .menu li a {
        padding: 10px 20px;
    }

    /* Adjust dropdown sub-menu styling for mobile */
    .sub-menu {
        position: relative;
        box-shadow: none;
        padding: 0;
        background-color: #928989;
        display: none; /* Initially hidden */
    }

    .dropdown:hover .sub-menu {
        overflow: visible;
        display: block;
        width: 100%; /* Ensure full width */
        left: 0; /* Move the dropdown to the left edge */
        top: auto; /* Remove top position to stack below the dropdown parent */
    }

    .sub-menu.dropdown-submenu {
        padding: 15px 20px;
    }

    .sub-menu.dropdown-submenu img {
        width: 30px;
        height: 30px;
    }

    .sub-menu.dropdown-submenu a {
        color: white;
    }

    .sub-menu.dropdown-submenu a:hover {
        color: #007bff;
    }
}
.hero {
    height: 100vh;
    display: flex;
    background-image: url('cows-field.jpeg');
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    transition: background-image 2ms ease-in-out;
}

.hero-content {
    color: rgb(228, 213, 9);
    font-size: large;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
}

.hero-content a {
    color: #e9c00b;
    text-decoration: none;
    font-size: 1.5em;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
}

.hero-content a:hover {
    text-decoration: none;
    color: blue;
}
.about-us {
    display: flex;
    justify-content: space-between;
    padding: 60px;
    background-color: #f4f4f4;
}
.content{
    text-align: center;
    
}
.content h1{
    font-size: 1.7em;
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.content p{
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: larger;
}
.about-us .content, .about-us .image {
    width: 45%;
}

.about-us .image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px 10px 10px 10px;
}
.learn-more-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #0056b3;
}
/* Services Section */

.services {
    padding: 50px 0;
    text-align: center;
    background-color: #f9f9f9;
}
.service-provider{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.slider-item {
    width: 350px;
    padding: 20px;
    margin: 20px;
    background-color: #fff;
    border: 1px solid #ddd; /* Border styling */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Box shadow for depth */
}

.slider-item h3{
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}
.slider-item span{
    color: blue;
}
.slider-item p{
    font-size: 1.1em;
    color: #666;
}


.slider-item img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Rounded corners for the image */
}

.services-heading {
    font-size: 3.5em;
    margin-bottom: 40px;
    color: #333;
}
/* CSS for Slider Document section */
.slider-document {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    padding: 20px;
    color: rgb(156, 218, 12);
}

.slider-heading {
    font-size: 2.8em;
    max-width: 80%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5); /* Background for readability */
    padding: 10px 20px;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}


/* Scroll to Top Button */
#scrollup {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #53948e; /* Set a background color */
    color: rgb(56, 18, 36); /* Text color */
    cursor: pointer; /* Pointer/hand icon */
    padding: 15px; /* Some padding */
    border-radius: 20px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#scrollup:hover {
    background-color: #3f9b43; /* Add a dark-grey background on hover */
}
.products-page {
    text-align: center;
    padding: 20px;
}

.products-heading {
    font-size: 3.5em; /* Adjust as needed */
    margin-bottom: 40px;
    color: #333;
}

.product-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.product-card {
    flex: 1 1 calc(33.333% - 40px); /* Adjust width and gap */
    margin: 20px;
    position: relative;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 300px; /* Adjust height as needed */
    transition: transform 0.3s ease; /* For slight enlargement */
}

.product-card:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Light dark cover */
    transition: opacity 0.3s ease;
    opacity: 1; /* Initially visible */
}

.product-card:hover .product-overlay {
    opacity: 0; /* Hidden on hover */
}

.product-info {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    margin: 0;
    font-size: 3.0em; /* Adjust as needed */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}

.product-info button {
    margin: 30px auto 0; /* Center the button horizontally */
    padding: 10px 20px;
    background-color: #ff5722;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    width: 100px; /* Adjust the width as needed */
    display: block;
}





.view-btn {
    background-color: #ff9800;
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.view-btn:hover {
    background-color: #e68900;
}

@media (max-width: 768px) {
    .product-card {
        flex: 1 1 calc(50% - 40px); /* Adjust for tablet size */
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 1 1 100%; /* Adjust for mobile size */
    }
}
/* Media Queries */
@media (max-width: 1200px) {
    .product-info h3 {
        font-size: 55px;
    }
    
}

@media (max-width: 992px) {
    .product-info h3 {
        font-size: 40px;
    }
    
    .product-info p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .product-info h3 {
        font-size: 18px;
    }
    
    
    .product-info {
        width: 90%; /* Make the text area a bit wider */
    }
}

@media (max-width: 576px) {
    .product-info h3 {
        font-size: 16px;
    }
    
    .product-info p {
        font-size: 11px;
    }
    
    .product-info {
        width: 100%; /* Full width for small screens */
    }
}

/* General footer styling */
.footer {
    background-color:#1f4724;
    padding: 30px; /* Padding for content inside the footer */
    display: flex;
    justify-content: space-around;
    align-items: flex-start; /* Align items to the top */
    flex-wrap: wrap; /* Allow items to wrap if necessary */
    min-height: 75vh; /* Minimum 75% of the viewport height */
    position: relative; /* Ensure position is relative for absolute positioning of copyright */
}

/* Styling for each section within the footer */
.footer-info {
    margin: 20px;
    flex: 1; /* Take up full width */
    text-align: center;
    margin-bottom: 20px; /* Space between sections */
}

.footer-info img {
    margin-bottom: 10px;
    border-radius: 10px 10px 10px 10px ;
    max-width: 100%; /* Ensure image stays within container */
}

.contact-us, .stay-connected {
    margin-top: 20px;
    margin-left: 30px;
    flex: 1; /* Equal width for both sections */
    text-align: left; /* Align text to the left */
    padding: 0 20px; /* Add padding to left and right */
}

.contact-us h3, .stay-connected h3 {
    margin-bottom: 30px;
    font-size: 2.5rem; /* Increase font size for section headings */
}

.contact-us p {
    margin-bottom: 20px; /* Adjust spacing between contact info lines */
    font-size: 1.8rem; /* Increase font size for contact info */
}

.stay-connected .social-icons {
    margin-top: 10px; /* Space above social icons */
}

.social-icons {
    margin-top: 10px; /* Space above social icons */
}

.social-icons a {
    margin-right: 30px; /* Increase spacing between social icons */
    color: #333;
    font-size: 50px; /* Increase font size for social icons */
    text-decoration: none; /* Remove underline from icons */
    display: inline-block;
    transition: transform 0.3s ease-out; /* Add smooth transition for transform */
}

.social-icons a:hover {
    transform: translateY(-5px); /* Move icons 5px upwards on hover */
}

/* Styling for the copyright notice */
.footer .copyright {
    position: absolute;
    bottom: 20px; /* Add more space from the bottom */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.footer .copyright p {
    font-size: 1.4rem; /* Adjust font size for copyright notice */
    color: #888; /* Adjust color for copyright notice */
}

@media (max-width: 768px) {
    .footer {
        min-height: auto; /* Allow footer height to adjust dynamically */
        align-items: center; /* Center items vertically */
    }

    .stay-connected {
        margin-top: 30px; /* Increase margin-top for spacing */
    }

    .footer .copyright {
        bottom: 10px; /* Adjust bottom spacing */
         /* Increase margin-top for spacing */
    }
}
