/* styles_about.css */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500&display=swap');

/* Base ------------------------------------------------------------------ */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Slab', serif;
    background: #fff;
    color: #000;
}

.about-container {
    width: 90%;
    max-width: 1200px;
    margin: 80px auto 60px auto;
}

/* Hero ------------------------------------------------------------------ */
.about-hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 95px auto;
}

.about-hero h1 {
    margin: 0 0 25px 0;
    font-size: 2rem;
    font-weight: 500;
    color: #000;
}

.about-intro {
    margin: 0 0 22px 0;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: #000;
}

.about-intro:last-child {
    margin-bottom: 0;
}

/* Section headings ------------------------------------------------------ */
.about-section {
    margin-bottom: 95px;
}

.about-section-heading {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 38px auto;
}

.about-section-heading h2 {
    margin: 0 0 18px 0;
    font-size: 1.75rem;
    font-weight: 500;
    color: #000;
}

.about-section-heading p {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: #000;
}

/* Card grid ------------------------------------------------------------- */
.about-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 75px;
    align-items: start;
}

.about-card {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
}

.about-card--light,
.about-card--dark {
    background: transparent;
}

.about-card-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: transparent;
    border-bottom: 2px solid #fff;
}

.about-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-card-body {
    background: #4169e1;
    padding: 28px 24px 30px 24px;
    border-radius: 0 0 25px 25px;
}

.about-card-body h3 {
    margin: 0 0 16px 0;
    font-size: 1.35rem;
    font-weight: 500;
    color: #fff;
}

.about-card-body p {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 300;
    line-height: 1.75;
    color: #fff;
}

/* Mission box ----------------------------------------------------------- */
.about-mission {
    background: #f3f6ff;
    border: 1px solid rgba(45, 50, 146, 0.10);
    border-radius: 25px;
    padding: 38px 34px;
    max-width: 960px;
    margin: 0 auto 95px auto;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.about-mission h2 {
    margin: 0 0 18px 0;
    font-size: 1.75rem;
    font-weight: 500;
    color: #2d3292;
}

.about-mission p {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: #000;
}

/* CTA ------------------------------------------------------------------- */
.about-cta-box {
    background: #2d3292;
    border-radius: 25px;
    padding: 36px 34px;
    margin: 0 auto 40px auto;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.about-cta-copy {
    max-width: 680px;
}

.about-cta-copy h2 {
    margin: 0 0 16px 0;
    font-size: 1.75rem;
    font-weight: 500;
    color: #fff;
}

.about-cta-copy p {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
    color: #fff;
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

/* Buttons --------------------------------------------------------------- */
.about-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.12s ease-in-out,
                color 0.12s ease-in-out,
                transform 0.06s ease-in-out,
                box-shadow 0.12s ease-in-out;
}

.about-btn--primary {
    background: #4169e1;
}

.about-btn:hover,
.about-btn:focus {
    outline: none;
    background: #fff;
    color: #2d3292;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

/* Fade-up reveal -------------------------------------------------------- */
.about-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.about-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-reveal--delay-1 {
    transition-delay: 0.08s;
}

.about-reveal--delay-2 {
    transition-delay: 0.16s;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
    .about-card-grid {
        grid-template-columns: 1fr;
    }

    .about-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-cta-actions {
        justify-content: flex-start;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .about-container {
        width: 94%;
        margin-top: 60px;
    }

    .about-hero {
        margin-bottom: 75px;
    }

    .about-section {
        margin-bottom: 75px;
    }

    .about-section-heading {
        margin-bottom: 30px;
    }

    .about-card-body {
        padding: 24px 20px 26px 20px;
    }

    .about-mission {
        padding: 30px 24px;
        margin-bottom: 75px;
    }

    .about-cta-box {
        padding: 30px 24px;
    }

    .about-btn {
        font-size: 1.05rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-reveal,
    .about-reveal--delay-1,
    .about-reveal--delay-2 {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .about-btn {
        transition: none;
    }
}