/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main wrapper for about section */
.manray-about-section-wrapper {
    line-height: 1.6;
    color: #2b2b2b;
    overflow-x: hidden;
    background: #ffffff;
    min-height: 100vh;
}

/* About page section styled to match the provided image */
.manray-about-section-main {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.manray-about-rainbow-container {
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

/* Adjust rainbow container height for different screens */
@media (max-width: 992px) {
    .manray-about-rainbow-container {
        height: 180px;
    }
}

@media (max-width: 600px) {
    .manray-about-rainbow-container {
        height: 120px;
    }
}

.manray-blue-rainbow-img {
    display: block;
    width: 40%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transition: width 0.3s ease;
}

/* Large screens */
@media (min-width: 1400px) {
    .manray-blue-rainbow-img {
        width: 35%;
    }
}

.manray-about-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 0px 24px;
}

.manray-about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.manray-about-content-text {
    font-size: 20px;
    line-height: 1.55;
    color: #2b2b2b;
    margin: 0 0 16px 0;
}

.manray-about-content-text.dark {
    color: #000000;
}

/* Responsive Design */
@media (max-width: 992px) {
    .manray-about-content-container {
        background-size: 110% auto;
        background-position: center 60%;
    }

    .manray-about-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .manray-blue-rainbow-img {
        width: 50%;
    }
}

@media (max-width: 600px) {
    .manray-about-content-container {
        padding: 32px 16px 64px 16px;
        background-size: 130% auto;
        background-position: center 62%;
    }

    .manray-about-content-text {
        font-size: 18px;
        line-height: 1.6;
    }

    .manray-blue-rainbow-img {
        width: 60%;
    }
}