/* Solutions Section */
#solutions {
    margin-top: 40px;
}

#solutions h1 {
    font-size: 2.5em;
    color: #4CAF50;
    text-align: center;
    margin-bottom: 30px;
}

#solutions h2 {
    font-size: 2em;
    color: #4CAF50;
    margin-bottom: 20px;
    text-align: center;
}

.solution-item {
    margin-bottom: 40px;
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
}

#solutions img,
.content-wrapper img {
    max-width: 33%;
    height: auto;
    border-radius: 10px;
    margin-right: 20px;
    flex-shrink: 0;
}

.text-content {
    flex: 1;
    max-width: 67%;
}

.text-content p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.cta-button {
    background-color: #4CAF50;
    color: #fff;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: inline-block;
    margin-top: 10px;
}

.cta-button:hover {
    background-color: #388E3C;
}

/* Herb and General Remedy Sections */
#remedy-list {
    margin-top: 40px;
    text-align: center;
}

#remedy-list h2 {
    font-size: 2.2em;
    color: #4CAF50;
    margin-bottom: 20px;
}

.remedy-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.remedy-button {
    display: inline-block;
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.remedy-button:hover {
    background-color: #388E3C;
}

.remedy-section {
    margin-top: 40px;
}

.remedy-section h3 {
    font-size: 2em;
    color: #4CAF50;
    text-align: center;
    margin-bottom: 20px;
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.content-wrapper img {
    max-width: 33%;
    height: auto;
    border-radius: 10px;
    margin-right: 20px;
    flex-shrink: 0;
}

.text-content {
    flex: 1;
    max-width: 67%;
}

.text-content p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
    text-align: justify;
}

/* Recommended Products */
.recommended-products {
    margin-top: 30px;
}

.recommended-products h4 {
    font-size: 1.8em;
    color: #4CAF50;
    margin-bottom: 20px;
    text-align: center;
}

.product-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.product-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    flex: 1 1 calc(33.333% - 20px);
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    margin-bottom: 10px;
}

.product-card h5 {
    margin: 15px 0;
    font-size: 1.5em;
    color: #333;
}

.product-card p {
    font-size: 1em;
    color: #666;
}

.product-card p:last-child {
    font-weight: bold;
    color: #4CAF50;
    margin-top: 10px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.product-card:focus {
    outline: none;
    box-shadow: 0px 0px 0px 2px #4CAF50;
}

.product-card:active {
    transform: translateY(0);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #333;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.footer-links {
    list-style: none;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4CAF50;
}

.social-media a {
    color: #ffffff;
    margin: 0 10px;
    text-decoration: none;
}

.social-media a:hover {
    color: #4CAF50;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #solutions h1 {
        font-size: 2em;
    }

    #solutions h2 {
        font-size: 1.7em;
    }

    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    #solutions img,
    .content-wrapper img {
        margin: 0 auto 20px;
        max-width: 100%;
    }

    .text-content {
        text-align: center;
        max-width: 100%;
    }

    .text-content p {
        font-size: 1em;
    }

    .cta-button {
        font-size: 1.1em;
        padding: 10px 15px;
    }

    .remedy-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .product-cards {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    #solutions h1 {
        font-size: 1.8em;
    }

    #solutions h2 {
        font-size: 1.5em;
    }

    .text-content p {
        font-size: 0.95em;
    }

    .cta-button {
        font-size: 1em;
        padding: 8px 12px;
    }

    .product-card h5 {
        font-size: 1.2em;
    }

    .product-card p {
        font-size: 0.9em;
    }
}
