 body {
        padding-top: 70px; /* Adjust according to navbar height */
    }
 /* Custom Styles for Navbar */
 .navbar {
    top: 0;
    background-color: #3f8205; /* Dark Blue */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;  /* Ensures navbar stays on top */
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f1c40f !important; /* Golden Yellow */
}
.nav-link {
    color: #ecf0f1 !important; /* Light Grey */
    font-size: 1.1rem;
    margin-right: 15px;
    transition: color 0.3s ease-in-out;
}
.nav-link:hover {
    color: #f1c40f !important; /* Golden Yellow on Hover */
}
.btn-primary {
    background-color: #f1c40f;
    border-color: #f1c40f;
    font-size: 1rem;
    padding: 5px 15px;
    transition: 0.3s;
}
.btn-primary:hover {
    background-color: #d4ac0d;
    border-color: #d4ac0d;
}
 /* Home Page Styles */
 .hero {
    background: url('images/tea-plantation.JPG') center/cover no-repeat;
    height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}
.features {
    padding: 50px 0;
    text-align: center;
}

/* Page Sections */
.page-section {
    padding: 60px 20px;
    text-align: center;
}
.page-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2rem;
}
.page-section p {
    color: #555;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ABOUT US SECTION */
#about {
    background-color: #f8f9fa;
    padding: 60px 0;
}

#about h2 {
    font-weight: 700;
    font-size: 2rem;
    color: #2c3e50;
}

#about p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}

/* Image Styling */
.about-img {
    max-width: 90%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Responsive Fix */
@media (max-width: 768px) {
    #about .row {
        text-align: center;
    }

    #about .col-lg-6 {
        margin-bottom: 20px;
    }

    .about-img {
        max-width: 100%;
    }
}

/* Products Section */
#products {
    background-color: #ffffff;
    padding: 80px 20px;
}

/* styling product card */
.product-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
    transition: 0.3s ease-in-out;
}
.product-card:hover {
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}
.product-card img {
    width: 100%;
    height: 200px;
    border-radius: 8px;
}
.product-card h4 {
    margin: 10px 0;
    font-size: 18px;
}
.product-card p {
    color: #666;
    font-size: 14px;
}
.product-card .price {
    color: #27ae60;
    font-size: 16px;
    font-weight: bold;
}
.product-card .add-to-cart {
    width: 100%;
    margin-top: 10px;
}

/* Farmers Section */
#farmers {
    background-color: #f8f9fa;
    padding: 80px 20px;
}

/* Orders Section */
#orders {
    background-color: #ffffff;
    padding: 80px 20px;
}
#searchOrder {
    width: 100%;
    max-width: 500px;
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-left: 25px;
}
.order_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.order_table th,
.order_table td {
    padding: 10px;
    border: 1px solid #ddd;
}
.order_table th {
    background-color: #2c3e50;
    color: white;
}

/* Reports Section */
#reports {
    background-color: #f8f9fa;
    padding: 60px 0;
}

#reports h2 {
    font-weight: 700;
    font-size: 2rem;
    color: #2c3e50;
}

/* Tables */
#reports table {
    width: 100%;
    border-collapse: collapse;
}

#reports th {
    background-color: #2c3e50 !important;
    color: white;
    text-align: center;
}

#reports td, #reports th {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

/* Cards */
#reports .card {
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

/* Export & Filter Buttons */
#reports .btn {
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
}

/* Search & Filter Inputs */
#searchReport, #dateFilter {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Contact Section */
#contact {
    background-color: #ffffff;
    padding: 80px 20px;
}
#contact form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
#contact .form-label {
    font-weight: bold;
    color: #2c3e50;
}
#contact .form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
}
#contact button {
    width: 100%;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: bold;
}

 /* Footer Styles */
 .footer {
    background-color: #3f8205;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
    width: 100%;
}
/* Orders Section */
#orders {
    padding: 60px 0;
}

#orders h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 20px;
}

.order-container {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.order-form {
    max-width: 500px;
    margin: 0 auto;
}

.order-form input,
.order-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.order-form button {
    width: 100%;
    padding: 10px;
}

#orders table {
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

#orders .badge {
    font-size: 14px;
    padding: 5px 10px;
}
#cart {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
}
#cart h2 {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 20px;
}
#cartItems {
    list-style: none;
    padding: 0;
}
#cartItems li {
    background-color: white;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#cartItems button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
}
#cartItems li button:hover {
    background-color: #b02a37;
}
#cartTotal {
    font-size: 20px;
    font-weight: bold;
    color: #28a745;
}

/* Farmers Section */
.farmer-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

#searchFarmer {
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    display: block;
    padding: 8px;
    border-radius: 5px;
}

/* styling farmers fetched from the backend */
#farmers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.farmer-card {
    width: 300px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    background: white;
}

.farmer-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}


