/* Reset default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




/* Responsive: Hero section text sizes (moved to bottom) */

.manray-about-section {
    line-height: 1.6;
    overflow-x: hidden;
}

/* Two column layout */
.manray-home-about-section {
    width: 100%;
    min-height: 200px;
    display: flex;
}

.manray-home-about-section-left {
    background-color: white;
    flex: 0 0 20%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.manray-home-about-section-right {
    background-color: #f8f0f7;
    flex: 0 0 80%;
    padding: 40px 60px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.manray-home-about-section h1 {
    width: 100%;
}

.manray-home-about-section p {
    margin: 0;
    width: 100%;
}

/* Global text styling */
.manray-hindi-text {
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    color: #99258e !important;
}

/* Slightly smaller default size for Hindi heading in about section */
.manray-home-about-section .manray-hindi-text {
    font-size: 3rem;
}

.manray-english-text {
    color: #6d6e71 !important;
    font-family: "Poppins", sans-serif;
    line-height: 1.4;
    font-weight: 600;
    padding-left: 20px;
}

/* Center paragraph under H1 for the about section */
.manray-home-about-section .manray-english-text {
    font-size: 1.25rem;
    padding-left: 0;
}

/* New Two Column Section - 50/50 Layout */
.manray-about-split-section {
    width: 100%;
    min-height: 300px;
    /* Switch to block/float layout so content can wrap below the image */
    display: block;
    background: linear-gradient(to right, #ffffff 0%, #ffffff 20%, #f8f0f7 20%, #f8f0f7 100%);
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}

/* Clearfix to contain floated media column */
.manray-about-split-section::after {
    content: "";
    display: table;
    clear: both;
}

/* Faded rainbow across the whole split section */
.manray-about-split-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../../../assets/images/fade-rainbow.png');
    background-repeat: no-repeat;
    background-position: center 10%;
    background-size: 70% auto;
    pointer-events: none;
    z-index: 0;
}

.manray-about-media-column {
    /* Float the media so text can flow to the right, then full-width below */
    float: left;
    width: 40%;
    margin-right: 24px;
    /* visual gap between image box and content */
    padding: 40px 0 40px 0;
    display: block;
    background-color: transparent;
    position: relative;
}

.manray-about-media-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    margin-left: 0;
}

.manray-about-media-square {
    width: 80%;
    max-width: 520px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    margin-top: 6px;
    margin-left: 20%;
    overflow: hidden;
}

.manray-about-media-rainbow {
    position: absolute;
    left: 0;
    bottom: -20px;
    width: 75%;
    height: auto;
    transform: none;
    pointer-events: none;
}

.manray-about-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.manray-about-content-column {
    /* Allow block to flow alongside the floated image and expand full width after */
    padding: 40px 10% 40px 25%;
    display: block;
    /* Transparent so section-level faded bg is visible */
    background-color: transparent;
    background-image: none;
    position: relative;
    z-index: 1;
}

.manray-about-content-column {
    position: relative;
}

.manray-about-content-column::before {
    content: none;
}

.manray-about-content-inner,
.manray-about-content-column>* {
    position: relative;
    z-index: 1;
}

/* Keep donate button aligned to bottom of the right column */
.manray-about-content-column .donate-button {
    align-self: flex-start;
    margin-top: auto;
}

/* Inner wrapper for right column to allow targeted adjustments without layout shift */
.manray-about-content-inner {
    width: 100%;
}

.manray-about-content-column h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #99258e;
    width: 100%;
}

.manray-about-content-column p {
    font-size: 1.25rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: #6d6e71;
    margin: 0 0 20px 0;
    width: 100%;
    line-height: 1.6;
}

.manray-about-cta {
    margin-top: 20px;
    text-align: left;
}

.manray-about-cta h3 {
    font-size: 1.5rem;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: #99258e;
    margin-bottom: 20px;
    line-height: 1.3;
}

.manray-about-donate-button {
    background-color: #ec1c24;
    color: white;
    border: 2px solid #ec1c24;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.manray-about-donate-button:hover {
    background-color: white;
    color: #ec1c24;
}

.manray-about-donate-button i {
    margin: 0 5px;
    font-size: 1.1rem;
}

@media (min-width: 1400px) {
    .manray-home-about-section .manray-hindi-text {
        font-size: 3.6rem;
    }

    .manray-home-about-section .manray-english-text {
        font-size: 1.3rem;
    }
}

/* Responsive: Section 2 stacks columns below 1100px */
@media (max-width: 1100px) {

    .manray-home-about-section .manray-home-about-section-right {
        padding: 40px 20px 40px 0;
    }


    .manray-home-about-section .manray-hindi-text {
        font-size: 2.3rem;
    }

    .manray-home-about-section .manray-english-text {
        font-size: 0.9rem;
    }

    /* Stack columns on small screens */
    .manray-about-media-column,
    .manray-about-content-column {
        float: none;
        width: 100%;
        padding: 40px 0px;
    }

    .manray-about-media-column {
        margin-right: 0;
    }

    .manray-about-media-wrapper,
    .manray-about-media-square {
        height: auto;
    }

    .manray-about-media-square {
        width: 90%;
        margin-left: 5%;
        aspect-ratio: 1 / 1;
    }

    .manray-about-media-rainbow {
        left: 0;
        bottom: 0;
    }

    .manray-about-content-column {
        margin-left: 0;
        background: none;
        background-color: transparent;
        background-image: none;
    }

    .manray-about-content-inner {
        padding-left: 25%;
        padding-right: 5%;

    }

    .manray-about-content-column .donate-button {
        margin-top: 20px;
    }

}

@media (max-width: 768px) {

    .home-about-section .english-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .home-about-section .hindi-text {
        font-size: 2.5rem;
    }

    .home-about-section .english-text {
        font-size: 0.75rem;
    }
}