/*
 * About Page - From Care to Change Section
 * Pixel-perfect styling converted from Figma
 *
 * @package Sanjeevani
 */

.about-care-change {
    position: relative;
    padding: 50px 0 0px;
    max-width: auto;
    overflow: visible;
    background: #ffffff;
}

.about-care-change__container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    padding-right: 10%;
    display: grid;
    grid-template-columns: 52% 48%;
    align-items: center;
    gap: 46px;
    z-index: 1;
}

.about-care-change__content {
    position: relative;
    margin-top: -90px;
}

/* Title + description */
.about-care-change__title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 64px;
    color: #020b19;
    margin: 0 0 18px 0;
}

.about-care-change__chip {
    position: relative;
    display: inline-block;
    padding: 0px 5px;
    color: #00b994;
    background: linear-gradient(to bottom, rgba(210, 228, 255, 0) 40%, rgba(210, 228, 255, 0.62) 60%);
}

.about-care-change__description {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 30px;
    color: rgba(0, 0, 0, 0.7);
    max-width: 585px;
    margin: 0 0 36px 0;
}

/* Mission card */
.about-care-change__mission {
    position: relative;
    display: inline-block;
}

.about-care-change__connector {
    position: absolute;
    top: -30px;
    right: -210px;
    width: 150px;
    height: auto;
    transform: scaleX(-1) rotate(-42deg);
    pointer-events: none;
}

.about-care-change__mission-card {
    position: relative;
    width: 218px;
    height: 90px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 13px 14px 40px 0 rgba(39, 98, 131, 0.15);
    padding-top: 16px;
    /* space for badge */
    margin-top: 10px;
    margin-left: 190px;
    text-align: center;
}

.about-care-change__mission-badge {
    position: absolute;
    left: 50%;
    top: -22px;
    width: 42px;
    height: 42px;
    transform: translateX(-50%);
}

.about-care-change__mission-badge img {
    width: 100%;
    height: 100%;
}

.about-care-change__mission-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #020817;
    margin: 6px 0 2px 0;
}

.about-care-change__mission-sub {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 22.4px;
    color: #4b4d4c;
    letter-spacing: 0.6px;
    margin: 0;
}

/* Right visual */
.about-care-change__visual {
    position: relative;
}

.about-care-change__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 621 / 620;
    border-radius: 30px;
    overflow: hidden;
}

.about-care-change__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Big teal glow */
.about-care-change__glow {
    position: absolute;
    right: -140px;
    top: -40px;
    width: 900px;
    height: 900px;
    background: radial-gradient(closest-side, rgba(0, 240, 193, 0.35), rgba(0, 240, 193, 0.15) 40%, rgba(0, 240, 193, 0.05) 60%, rgba(0, 0, 0, 0) 70%);
    filter: blur(40px);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1100px) {
    .about-care-change__container {
        grid-template-columns: 60% 40%;
        gap: 36px;
    }

    .about-care-change__image-wrap {
        width: 100%;
        aspect-ratio: 621 / 575;
    }
}

@media (max-width: 900px) {
    .about-care-change {
        padding: 80px 0;
        overflow: hidden;
    }

    .about-care-change__container {
        grid-template-columns: 1fr;
        justify-items: stretch; /* ensure children fill the track width */
    }

    .about-care-change__visual {
        order: -1;
        justify-self: stretch; /* fill available width */
    }

    .about-care-change__image-wrap {
        width: 100%;
        height: 320px; /* reduced height on mobile */
        aspect-ratio: auto;
        border-radius: 20px;
        margin: 0; /* allow full-width stretch */
    }

    .about-care-change__image-wrap img {
        display: block;
        width: 100%;
        height: 100%; /* fill wrapper height */
        max-width: 100%;
        object-fit: cover; /* crop to reduced height while keeping full width */
    }

    .about-care-change__glow {
        right: -260px;
        top: 0;
        width: 700px;
        height: 700px;
    }

    .about-care-change__connector {
        display: none;
    }

    /* Reset negative top offset on mobile */
    .about-care-change__content {
        margin-top: 0;
        text-align: center;
        justify-self: center;
    }

    /* Center mission card on mobile */
    .about-care-change__mission-card {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .about-care-change__title {
        font-size: 36px;
        line-height: 44px;
    }

    .about-care-change__description {
        font-size: 16px;
        line-height: 26px;
    }

    .about-care-change {
        padding: 40px 0;
    }

    /* Hide heavy glow on small screens */
    .about-care-change__glow {
        display: none !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .about-care-change__glow {
        filter: none;
    }
}

@media (max-width: 480px) {
    .about-care-change__image-wrap { height: 300px; }
}