/* ==========================================================================
   About Page
   ========================================================================== */

/* Page header override */
.page-header--about {
    padding-bottom: var(--space-3xl);
}

.page-header__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
}

/* --- Our Story --- */
.about-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.about-story__content h2 {
    margin-bottom: var(--space-lg);
}

.about-story__content p {
    color: var(--color-text-light);
    line-height: var(--lh-relaxed);
}

.about-story__image {
    position: relative;
}

.about-story__image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-story__badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--color-secondary);
    color: var(--color-bg-white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-story__badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-extrabold);
    line-height: 1;
}

.about-story__badge-text {
    font-size: var(--fs-xs);
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .about-story__grid {
        grid-template-columns: 1fr;
    }
    .about-story__badge {
        bottom: -16px;
        left: 16px;
    }
}

/* --- Vision / Mission cards --- */
.vm-card {
    background: var(--color-bg-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--color-secondary);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.vm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.vm-card--mission {
    border-top-color: var(--color-primary);
}

.vm-card__icon {
    color: var(--color-secondary);
    margin-bottom: var(--space-lg);
}

.vm-card--mission .vm-card__icon {
    color: var(--color-primary);
}

.vm-card h3 {
    margin-bottom: var(--space-md);
}

.vm-card p {
    color: var(--color-text-light);
    line-height: var(--lh-relaxed);
    font-size: var(--fs-sm);
}

/* --- Core Values --- */
.value-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.value-card:hover {
    background: var(--color-bg-white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background: rgba(46, 139, 87, 0.1);
    color: var(--color-secondary);
    margin-bottom: var(--space-lg);
}

.value-card h4 {
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.value-card p {
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    line-height: var(--lh-relaxed);
}

/* --- Timeline --- */
.timeline {
    position: relative;
    max-width: 700px;
    margin-inline: auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline__item {
    position: relative;
    padding-bottom: var(--space-2xl);
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__marker {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--color-bg-white);
    border: 3px solid var(--color-secondary);
    border-radius: var(--radius-full);
    z-index: 1;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.timeline__item:hover .timeline__marker {
    background: var(--color-secondary);
    transform: scale(1.3);
}

.timeline__content {
    background: var(--color-bg-white);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.timeline__item:hover .timeline__content {
    box-shadow: var(--shadow-md);
}

.timeline__year {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--color-bg-white);
    background: var(--color-secondary);
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.timeline__content h4 {
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    font-size: var(--fs-lg);
}

.timeline__content p {
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    line-height: var(--lh-relaxed);
}

@media (max-width: 576px) {
    .timeline {
        padding-left: 30px;
    }
    .timeline::before {
        left: 10px;
    }
    .timeline__marker {
        left: -28px;
        width: 14px;
        height: 14px;
    }
    .timeline__content {
        padding: var(--space-md) var(--space-lg);
    }
}

/* --- SDG alignment --- */
.about-sdg__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-sdg__content h2 {
    margin-bottom: var(--space-lg);
}

.about-sdg__content p {
    color: var(--color-text-light);
    line-height: var(--lh-relaxed);
}

.about-sdg__image {
    position: relative;
    text-align: center;
}

.about-sdg__image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 400px;
    margin-inline: auto;
}

.sdg-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-primary);
    color: var(--color-bg-white);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.sdg-badge__number {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    font-weight: var(--fw-extrabold);
    line-height: 1;
}

.sdg-badge__text {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    margin-top: var(--space-xs);
}

@media (max-width: 768px) {
    .about-sdg__grid {
        grid-template-columns: 1fr;
    }
}
