/* static/css/about.css */
.about-us {
    max-width: 1200px;
    margin: 20px auto;
    padding: 4rem;
}

.about-us h1 {
    text-align: center;
    margin: 20px;
    font-size: 2rem; /* Smaller font size */
    margin-bottom: 1.5rem; /* Reduced margin */
    color:#04611a
}

.about-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-image {
    flex: 1 1 40%;
    min-height: 200px;
}

.about-image img {
    max-width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.about-text {
    flex: 1 1 55%;
    /*font-size: 0.9rem; /* Smaller font size */
    line-height: 1.6; /* Improved line height for readability */
    text-wrap: pretty;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 400;
    line-height: 1.65;
}

.about-text h2, .about-text h3 {
    color: #04611a;
    margin-top: 1rem; /* Space between headings */
}

.about-text p, .about-text ul {
    margin-bottom: 1rem; /* Space between paragraphs and lists */
}

.about-text ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.about-text li {
    margin-bottom: 0.5rem; /* Space between list items */
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-image, .about-text {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .about-image {
        min-height: 150px; /* Adjust min-height for smaller screens */
    }

    .about-image img {
        width: 100%; /* Ensure image scales down appropriately */
        height: auto; /* Maintain aspect ratio */
        max-width: 300px; /* Set a max width to make the image smaller */
    }

    .about-us {
        padding: 2rem; /* Reduce padding for smaller screens */
    }

    .about-us h1 {
        font-size: 1.5rem; /* Reduce heading font size for smaller screens */
    }
}
