/* File: styles/about-section.css */

.about-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 2rem;
    background-color: #FDF0E9; 
}

.container-about {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 7rem;
}

.about-content {
    max-width: 50%;
    
}

.about-content h3 {
    color: #00AEEF; 
    font-size: 1.5rem;
    font-weight: normal;
}

.about-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0;
    color: #391400;
}

.about-content .highlight {
    color: #00AEEF; 
}

.about-content .subheading {
    font-weight: bold;
    margin: 1rem 0;
}


.about-content p {
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 70%;
    color: #39140096;
}

.about-image {
    max-width: 50%;
}

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


@media (max-width: 950px) {
    .about-section {
        flex-direction: column; /* Changes flex direction to stack elements vertically */
        align-items: center; /* Centers the elements */
        padding: 2rem 1rem; /* Adjusts padding for smaller screens */
    }

    .container-about {
        flex-direction: column; /* Ensures elements stack with text on top */
        align-items: center; /* Centers items for visual appeal */
        gap: 2rem; /* Reduces gap for smaller screens */
    }

    .about-content {
        max-width: 100%; /* Allows text content to span the full width */
        text-align: center; /* Centers the text for better readability */
        margin-bottom: 20px; /* Adds spacing below the text */
    }

    .about-image {
        max-width: 100%; /* Ensures image takes the full container width */
        margin-top: 20px; /* Adds spacing above the image */
    }

    .about-content h1 {
        font-size: 2rem; /* Optionally reduce font size */
    }

    .about-content p {
        max-width: 100%; /* Allows paragraph to take the full width */
        line-height: 1.4; /* Adjusts line height for better readability */
    }
}
