

.filter-section {
    width: 100%;
    padding: 20px;
    background-color: #f3f3f3;
    text-align: center;
}

h2 {
    color: #2a7d2c;
    font-weight: bold;
}

.filter-controls {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%; /* Make it full width */
    flex-wrap: wrap;
}
.filters {
    display: flex;
    gap: 15px;
    flex: 2;
    justify-content: center;
}

.filter-item label {
    font-weight: bold;
    color: #2a7d2c;
    margin-right: 5px;
}

.filter-item select {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.filter-button {
    padding: 10px 20px;
    background-color: #2a7d2c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.filter-button:hover {
    background-color: #226623;
}


.search-bar-section {
    text-align: right;
    max-width: 1000px; /* Width of the container for center alignment */
    margin: 10px auto 0 auto; /* Center it horizontally */
}

.search-bar-section input {
    padding: 10px;
    width: 100%;
    max-width: 250px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 10px 0 0 auto; /* Aligns to the right */
   
}
.product-display {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    width: 250px; /* Set a fixed width */
    height: 400px; /* Set a fixed height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.product-card img {
    max-height: 150px; /* Limit the image height */
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h3 {
    color: #2a7d2c;
    font-size: 18px;
    margin: 10px 0;
    flex-grow: 1; /* Allow the title to adjust */;

}

.product-card p {
    color: #555;
    font-size: 14px;
    margin: 5px 0;
}
.product-card .btn {
    margin-top: auto; /* Push the button to the bottom */
}
.product-card .product-description {
    font-size: 14px;
    color: #2c2828; /* Slightly gray text for the description */
    margin: 5px 0 10px;
}
/* Hover Effect */
.product-card:hover {
    transform: scale(1.03);
}
/* Product Price Styling */
.product-price {
    font-weight: bold;
    font-size: 18px; /* Increase the font size */
    color: #333; /* Darker color for better visibility */
    margin: 5px 0;
}

/* CSS for the Request Info Button */
.request-info-btn {
    background-color: #0d9249; /* Primary blue color */
    color: #ffffff; /* White text */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(4, 163, 70, 0.2);
}

.request-info-btn:hover {
    background-color: #067029; /* Darker blue on hover */
    transform: scale(1.05); /* Slightly larger on hover */
}

.request-info-btn:active {
    background-color: #0ac275a8; /* Even darker blue on click */
    transform: scale(0.98); /* Slightly smaller on click */
}

/* Modal Background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
