.about-us-container {
    padding: 0;
    /* remove padding from outer section */
}

.about-content {
    display: flex;
    flex-wrap: wrap; /* allows content to wrap on small screens */
    width: 100%;
    min-height: 100vh; /* use min-height for flexibility */
    color: #203d83;
}

.about-text {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 1rem 8rem 8rem;
    z-index: 2;
}

.about-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #203d83;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.about-image {
    width: 60%;
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%);
    mask-image: linear-gradient(to right, transparent 0%, black 20%);
}

/* Medium screens (tablets) */
@media (max-width: 1024px) {

    .about-us-container{
        height: 100%;
    }

    .about-content{
        height: 100%;
    }

    .about-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about-text {
        width: 100%;
        padding: 6rem 4rem;
        text-align: center;
    }

    .about-image {
        width: 100%;
        height: 70vh;
    }

    .about-image img {
        mask-image: none;
    }

    .about-text h2 {
        font-size: 3rem;
    }

    .about-text p {
        font-size: 1.2rem;
    }
}

/* Small screens (phones) */
@media (max-width: 768px) {
    .about-text {
        padding: 4rem 2rem;
    }

    .about-text h2 {
        font-size: 2.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    
}
