/* Add these styles to the END or inside your existing sectionsix.module.css */

.imageWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    width: 100%;
}

/* Ensure existing image settings are clean */
.imageWrapper img {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Adds a subtle shadow, similar to hero */
}

/* Keep the rest of your original sectionsix.module.css here */
.container {
    position: relative;
    margin: 0 auto;
    padding: 25px;
    width: 100vw;
    height: auto; /* Updated from fixed 350px for scaling */
    min-height: 350px;
    z-index: 1;
    margin-bottom: 5%;
    background-color: #FEB500;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    padding-bottom: 60px;
}

.innerContainer {
    z-index: 1;
    box-shadow: 0 -4px 16px rgba(250, 246, 246, 0.6);
    width: 100%;
    max-width: 90%;
    height: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.content {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    margin-top: 0;
}

.content h1 {
    text-align: center;
    font-size: 5.5rem;
    margin: 0;
    margin-bottom: 10px;
}

.content p {
    text-align: justify;
    font-size: large;
    margin: 0;
}

.cardsOne {
    margin-top: 15%;
    width: 100%;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .container {
        height: auto;
        padding: 25px;
        margin: 0 auto;
    }

    .innerContainer {
        padding: 25px;
    }

    .content h1 {
        font-size: 1.25rem;
    }

    .content p {
        font-size: 0.875rem;
    }

    .cardsOne {
        margin-top: 10%;
    }

    /* Force images to scale on mobile overriding inline styles if they are too big */
    .imageWrapper img {
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100vw;
        overflow: hidden;
        height: auto;
        padding: 25px;
        margin: 0 auto;
    }

    .innerContainer {
        padding: 25px;
        margin: 0 auto;
    }

    .content {
        padding: 0 10px;
    }

    .content h1 {
        font-size: 1rem;
    }

    .content p {
        font-size: 0.75rem;
    }

    .cardsOne {
        margin-bottom: 5%;
    }
}