.about-section {
    background-color: #eaad42;
    color: #303030;
    padding: 50px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allows content to wrap on smaller screens */
}

.about-content {
    flex: 1;
    padding: 20px;
    min-width: 300px; /* Ensures content doesn't get too narrow */
}

.about-section h2 {
    font-size: 2rem;
    font-weight: bold;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-image {
    flex: 1;
    text-align: center;
    min-width: 300px; /* Ensures image doesn't get too narrow */
}

.about-image img {
    max-width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column; /* Stack content vertically on smaller screens */
        padding: 30px; /* Reduce padding for smaller screens */
    }

    .about-content, .about-image {
        flex: none; /* Reset flex for stacked layout */
        width: 100%; /* Full width for stacked layout */
        padding: 10px; /* Adjust padding for smaller screens */
    }

    .about-section h2 {
        font-size: 1.8rem; /* Slightly smaller heading for smaller screens */
    }

    .about-section p {
        font-size: 1rem; /* Slightly smaller text for smaller screens */
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 20px; /* Further reduce padding for very small screens */
    }

    .about-section h2 {
        font-size: 1.5rem; /* Smaller heading for very small screens */
    }

    .about-section p {
        font-size: 0.9rem; /* Smaller text for very small screens */
    }
}