/* Default Styling for Desktop and Larger Screens */
.about-container {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    background-color: transparent;  /* Full transparency */
    margin-top: 50px; /* Space from the top */
    flex-wrap: wrap;  /* Allows wrapping on smaller screens */
}

.about-info-section {
    width: 60%;
    padding: 20px;
    background-color: transparent;  /* Full transparency for the text section */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 30px; /* Add margin to push the text section a bit down */
    color: white;  /* Make all text inside this section white */
}

.company-title h2 {
    font-size: 2rem;
    color:orange;  /* Make the title text white */
    
    margin-bottom: 20px;
    font-family: 'Spartan', sans-serif
}

.company-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color:floralwhite;  /* Make the description text white */
    margin-bottom: 20px;
    font-family: 'Spartan', sans-serif
}

.company-mission h3,
.company-vision h3 {
    font-size: 1.5rem;
    color: orange;  /* Make the mission and vision headings white */
    margin-top: 20px;
    font-family: 'Spartan', sans-serif
    

}

.company-mission p,
.company-vision p {
    font-size: 1.1rem;
    color: white;  /* Make the mission and vision paragraphs white */
    margin-bottom: 15px;
    
    font-family: 'Spartan', sans-serif;
}

.about-image-section {
    width: 35%;
    text-align: center;
    margin-top: 30px; /* Add margin to push the image section a bit down */
}

.about-image-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Media Queries for Tablet Screens */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;  /* Stack the sections vertically */
        align-items: center;  /* Center-align the content */
        padding: 20px;
    }

    .about-info-section {
        width: 100%;  /* Full width for smaller screens */
        padding: 15px;
        text-align: center;  /* Center align the text */
    }

    .company-title h2 {
        font-size: 1.0rem;  /* Adjust font size for tablet */
    }

    .company-description p {
        font-size: 1rem;  /* Adjust font size for tablet */
    }

    .company-mission h3,
    .company-vision h3 {
        font-size: 1.0rem;  /* Adjust font size for mission/vision */
        font-family: 'Spartan', sans-serif;
    }

    .company-mission p,
    .company-vision p {
        font-size: 0.6rem; /* Adjust font size for mission/vision */
        font-family: 'Spartan', sans-serif
    }

    .about-image-section {
        width: 100%;  /* Full width for image section */
        margin-top: 20px; /* Adjust margin for better spacing */
    }
}

/* Media Queries for Mobile Screens */
@media (max-width: 480px) {
    .about-container {
        flex-direction: column;  /* Stack the sections vertically */
        align-items: center;  /* Center-align the content */
        padding: 10px;
    }

    .about-info-section {
        width: 100%;  /* Full width for mobile screens */
        padding: 10px;
        text-align: center;  /* Center align text on mobile */
    }

    .company-title h2 {
        font-size: 1.0rem;  /* Adjust font size for mobile */
        text-align: center;  /* Center-align title */
    }

    .company-description p {
        font-size: 0.6rem;  /* Adjust font size for mobile */
        text-align: center;  /* Center-align description */
    }

    .company-mission h3,
    .company-vision h3 {
        font-size: 1.0rem;  /* Adjust font size for mission/vision */
        text-align: center;  /* Center-align headings */
        font-family: 'Spartan', sans-serif
    }

    .company-mission p,
    .company-vision p {
        font-size: 0.6rem;  /* Adjust font size for mobile */
        text-align: center;
        font-family: 'Spartan', sans-serif  /* Center-align mission/vision text */
    }

    .about-image-section {
        width: 100%;  /* Full width for image section */
        margin-top: 15px; /* Adjust margin for better spacing */
    }

    .about-image-section img {
        max-width: 40%;  /* Limit image size */
        margin-bottom: -12%;  /* Center the image */
    }
}
