/* --- CSS VARIABLES AND GENERAL SETUP --- */
:root {
    --about-green-dark: #052e2e;
    --about-green: #28a745; 
    --about-white: #FFFFFF;
    --about-off-white: #f7f7f7;
    --about-text-light: #555555;
    --about-radius: 20px;
}

body {
    font-family: 'Manrope', sans-serif;
    margin: 0;
    background-color: var(--about-white);
    color: var(--about-green-dark);
    padding: 10vh 0 0 0;
}

.about-section {
    width: 100%;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    gap: 3rem;
}

/* --- IMAGE GRID (LEFT COLUMN) --- */
.about-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    position: relative;
    /* Set initial state for animation */
    opacity: 0;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--about-radius);
}

.about-image-1 {
    grid-column: 1 / 3;
    height: 280px;
}

.about-image-2 {
    grid-column: 1 / 2;
    height: 250px;
}

.about-funded-card {
    grid-column: 2 / 3;
    background-color: var(--about-green);
    color: var(--about-white);
    border-radius: var(--about-radius);
    padding: 0rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-funded-icon {
    margin-bottom: 1rem;
}

.about-funded-text {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.about-funded-amount {
    margin: 0.25rem 0 0 0;
    font-size: 1rem;
}


/* --- CONTENT (RIGHT COLUMN) --- */
.about-content-column {
    position: relative;
    /* Set initial state for animation */
    opacity: 0;
}

.about-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.about-eyebrow-text {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--about-text-light);
    letter-spacing: 1px;
}

.about-main-heading {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: var(--about-green-dark);
}

.about-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--about-text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-feature-icon {
    background-color: #fef1e8;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-title {
    margin: 0 0 0.25rem 0;
    font-weight: 800;
    font-size: 1.2rem;
}

.about-feature-description {
    margin: 0;
    color: var(--about-text-light);
    line-height: 1.5;
}

.about-divider {
    border: none;
    height: 1px;
    background-color: #e0e0e0;
    margin: 2rem 0;
}

.about-cta-button {
    background-color: var(--about-green);
    color: var(--about-white);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.about-cta-button:hover .about-arrow {
    transform: translateX(5px);
}

/* --- OVERLAPPING IMPACT CARD --- */
.about-impact-card {
    position: absolute;
    bottom: -40px;
    right: -20px;
    background: var(--about-off-white);
    border-radius: var(--about-radius);
    padding: 1.5rem;
    text-align: center;
    width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid #f0f0f0;
}

.about-impact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: -60px auto 1rem auto;
    border: 5px solid var(--about-white);
}

.about-impact-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--about-green);
}

.about-impact-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--about-green-dark);
}

.about-impact-description {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: var(--about-text-light);
    line-height: 1.4;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content-column {
        margin-top: 1rem;
    }

    .about-impact-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 3rem auto 0 auto;
        padding-top: 1.5rem;
    }

    .about-impact-avatar {
        margin-top: -60px;
    }
}

@media (max-width: 480px) {
    .about-main-heading {
        font-size: 2.2rem;
    }

    .about-image-grid {
        grid-template-columns: 1fr;
    }

    .about-image-1,
    .about-image-2 {
        grid-column: auto;
        height: 250px;
    }
    .about-funded-card {
        grid-column: auto;
    }
}