/*
 * about.css - styles for the About page (about.php)
 * Prefix: abt-   (BEM: .abt-block__element--modifier)
 * Externalized from the old inline <style> block; namespaced to avoid
 * collisions with global classes like .hero-section used elsewhere.
 */

/* ---------- Design tokens (scoped names so they can't clash) ---------- */
:root {
    --abt-primary: #3498db;
    --abt-accent: #2ecc71;
    --abt-ink: #2c3e50;
    --abt-ink-soft: #34495e;
    --abt-muted: #7f8c8d;
    --abt-surface: #ffffff;
    --abt-border: rgba(226, 232, 240, 0.8);

    --abt-space-sm: 8px;
    --abt-space-md: 16px;
    --abt-space-lg: 24px;
    --abt-space-xl: 40px;

    --abt-radius: 16px;
    --abt-radius-lg: 24px;
    --abt-shadow-sm: 0 8px 25px rgba(0, 0, 0, 0.05);
    --abt-shadow-md: 0 12px 30px rgba(0, 0, 0, 0.1);
    --abt-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.abt-page {
    background: linear-gradient(180deg, #78a6c8 0%, #e6eef3 30%, #e6eef3 100%);
    min-height: 100vh;
}

/* ---------- Hero ---------- */
.abt-hero {
    padding: 2rem 0 0;
    color: var(--abt-ink);
    text-align: center;
}

.abt-hero__title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--abt-ink);
}

.abt-hero__subtitle {
    font-size: 1.1rem;
    color: var(--abt-ink-soft);
    font-weight: 300;
    max-width: 800px;
    margin: var(--abt-space-sm) auto 0;
}

/* ---------- Section shell ---------- */
.abt-section {
    padding: var(--abt-space-xl) 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--abt-radius-lg);
    box-shadow: var(--abt-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 30px 0;
}

.abt-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--abt-space-lg);
}

.abt-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--abt-ink-soft);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
}

/* ---------- Mission cards ---------- */
.abt-mission {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--abt-space-lg);
    margin-top: var(--abt-space-xl);
}

.abt-mission__card {
    background: var(--abt-surface);
    border-radius: var(--abt-radius);
    padding: 1.8rem;
    box-shadow: var(--abt-shadow-sm);
    border: 1px solid var(--abt-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.abt-mission__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--abt-shadow-md);
}

.abt-mission__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--abt-primary), var(--abt-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.abt-mission__title {
    color: var(--abt-ink);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.abt-mission__text {
    color: var(--abt-ink-soft);
    line-height: 1.6;
    font-size: 1.05rem;
    margin: 0;
}

.abt-mission__text a {
    color: var(--abt-primary);
    font-weight: 600;
    text-decoration: none;
}

.abt-mission__text a:hover {
    text-decoration: underline;
}

/* ---------- Testimonial ---------- */
.abt-testimonial {
    margin-top: 60px;
}

.abt-testimonial__heading {
    text-align: center;
    color: var(--abt-ink);
    margin-bottom: var(--abt-space-xl);
    font-size: 2rem;
    font-weight: 600;
}

.abt-testimonial__card {
    background: var(--abt-surface);
    border-radius: var(--abt-radius);
    padding: 2rem;
    box-shadow: var(--abt-shadow-sm);
    border: 1px solid var(--abt-border);
    max-width: 820px;
    margin: 0 auto;
}

.abt-testimonial__quote {
    font-size: 1.15rem;
    color: var(--abt-ink-soft);
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.abt-testimonial__author {
    display: flex;
    align-items: center;
}

.abt-testimonial__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--abt-primary), var(--abt-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.abt-testimonial__name {
    font-weight: 600;
    color: var(--abt-ink);
    margin: 0;
}

.abt-testimonial__title {
    color: var(--abt-muted);
    font-size: 0.9rem;
    margin: 0;
}

.abt-testimonial__title a {
    color: var(--abt-muted);
}

/* ---------- CTA ---------- */
.abt-cta {
    margin-top: 60px;
    text-align: center;
}

.abt-cta__heading {
    color: var(--abt-ink);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: var(--abt-space-md);
}

.abt-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--abt-space-md);
    justify-content: center;
}

.abt-cta__btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: var(--abt-radius);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.abt-cta__btn--primary {
    background: linear-gradient(135deg, var(--abt-primary), var(--abt-accent));
    color: #fff;
}

.abt-cta__btn--secondary {
    background: var(--abt-surface);
    color: var(--abt-primary);
    border: 1px solid var(--abt-primary);
}

.abt-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--abt-shadow-md);
}

.abt-cta__btn:focus {
    outline: 2px solid var(--abt-accent);
    outline-offset: 2px;
}

/* ---------- Responsive (mobile-first: grids open up on larger screens) ---------- */
@media (min-width: 768px) {
    .abt-hero__title {
        font-size: 2.5rem;
    }

    .abt-mission {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .abt-mission__card,
    .abt-cta__btn {
        transition: none;
    }

    .abt-mission__card:hover,
    .abt-cta__btn:hover {
        transform: none;
    }
}
