/* General container styling for both services and products */

.services-section, .products-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px;
    max-width: 1200px;
    margin: 10px auto ; /* Center the container and add spacing */
    padding: 80px 5px; /* Add padding to the sides */
}
/* Title styling for the services/products */
.service h1, .product h2 {
    font-size: 2 rem;
    color: #04611a;
    margin-bottom: 10px;
}

/* Styling for individual service/product boxes */
.service, .product {
    flex: 1 1 calc(33.333% - 40px); /* 3 columns, with margin between items */
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left; /* Ensure text is left-aligned */
}
/* Styling for the prominent title (tagline) */
.title {
    font-size: 1.9rem; /* Make it large */
    color: #04611a; /* Use a color that stands out */
    text-align: center; /* Center the title */
    /*  margin-bottom: 40px;  Add some space below */
    margin-top: 160px;
    font-weight: bold; /* Make it bold for emphasis */
    /* text-transform: uppercase;  Make the title all uppercase for a tagline feel */
    /*letter-spacing: 2px;  Add some letter spacing to give it a modern look */
}

/* Image styling */
.service img, .product img {
    width:  auto;
    height: 300px;
    object-fit: cover; /* Ensure the image covers the area without distortion */
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Title styling for the services/products */
.service h2, .product h2 {
    font-size: 1.5rem;
    color: #04611a;
    margin-bottom: 10px;
}

/* Description text */
.service p, .product p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

/* Responsive design: Stack items in two columns for medium screens */
@media (max-width: 992px) {
    .service, .product {
        flex: 1 1 calc(50% - 40px); /* Two columns */
    }
}

/* Responsive design: Stack items in a single column for small screens */
@media (max-width: 768px) {
    .service, .product {
        flex: 1 1 100%; /* One column */
    }
}
