/* Enhanced Product Cards and Image Standardization */

.banner-overlay {
    background-color: rgba(24, 118, 54, 0.7);
}

.products-section {
    padding: 10px 0;
    background-color: #f9f9f9;
}

.products-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* Enhanced card styling */
.product-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Standardized image container */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f5f6f6;
    height: 250px; /* Fixed height for all image containers */
    margin-bottom: 15px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Standardized image sizing */
.slide img {
    max-width: 100%;
    max-height: 110%;
    object-fit: contain;
    padding: 10px;
}

/* Improved slider controls */
.slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 10px;
}

.slider-btn {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    color: var(--primary);
    font-size: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* Enhanced product info styling */
.product-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.product-title {
    color: var(--primary);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.product-subtitle {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 5px;
}

.product-flow {
    color: var(--primary);
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 12px;
}

.product-description {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.acusmart-section {
 /*   background: #f7f9fb;  */
    padding: 20px 55px;
    font-family: 'Segoe UI', sans-serif;
    text-align: justify;
}

.acusmart-container {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.acusmart-intro {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.acusmart-section h3 {
    color: var(--primary);
    margin-top: 30px;
    font-size: 1.25rem;
}

.benefits-list {
    margin-top: 10px;
    padding-left: 20px;
}

.benefits-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}


@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .slider-container {
        height: 220px;
    }

    .product-card{
        width: 75%;
        margin: 0 auto;
    }
    .product-title{
        text-align: center;
    }
}

@media (max-width: 676px) {
    .product-card{
        width: 100%;
        margin: 0 auto;
    }
    .acusmart-section{
        padding: 10px 25px;
    }
}


@media (max-width: 480px) {
    .slider-container {
        height: 180px;
    }

    .product-title, .product-subtitle {
        font-size: 17px;
    }

    .product-flow {
        font-size: 14px;
    }

    .acusmart-section {
        /*   background: #f7f9fb;  */
        padding: 14px 20px;
    }

    .product-card{
        padding: 13px;
    }
    .product-info{
        margin-top: 0;
        padding-top: 7px;
    }

    .banner-content h1 {
        margin-top: 45px;
    }
}