/* About page — flat, compact, devcom-style */

/* Page header */
.page-header {
    background: var(--brand-navy);
    padding: 140px 0 70px;
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.page-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 auto;
}

/* Eyebrow alignment helper */
.eyebrow-left {
    text-align: left;
    margin-bottom: 0.8rem;
}

/* Intro: text + photo */
.about-intro-section {
    padding: 80px 0;
    background: var(--white);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.about-lead {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.6rem;
}

.about-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
}

.about-badges li {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.about-badges i {
    color: var(--primary-orange);
    margin-right: 0.4rem;
}

.about-intro-photo {
    position: relative;
}

.about-intro-photo img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.photo-tag {
    position: absolute;
    left: -18px;
    bottom: 24px;
    background: var(--brand-navy);
    color: var(--white);
    border-radius: 12px;
    padding: 0.9rem 1.4rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.photo-tag-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-orange);
}

.photo-tag-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Timeline — compact left rail */
.timeline-section {
    padding: 70px 0 80px;
    background: var(--light-gray);
}

.timeline {
    max-width: 820px;
    margin: 2.5rem auto 0;
    position: relative;
    padding-left: 10px;
}

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

.timeline-item {
    display: flex;
    gap: 2.2rem;
    align-items: flex-start;
    position: relative;
    padding: 0 0 2.2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-year {
    flex: 0 0 102px;
    background: var(--brand-navy);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    border-radius: 8px;
    padding: 0.5rem 0.4rem;
    position: relative;
    z-index: 1;
}

.timeline-body {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.3rem 1.6rem;
    flex: 1;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.4rem;
}

.timeline-description {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Values — compact rows with icon beside text */
.values-section {
    padding: 70px 0 80px;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.value-card {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.4rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.value-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    background: #E8F6FE;
    color: var(--primary-blue);
    font-size: 1.15rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.35rem;
}

.value-description {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.97rem;
}

/* Mission & Vision — flat navy band */
.mission-vision {
    background: var(--brand-navy);
    padding: 70px 0;
    color: var(--white);
}

.mission-vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.mv-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 2.2rem 2.4rem;
}

.mv-card-accent {
    border-top: 4px solid var(--primary-orange);
}

.mv-card:first-child {
    border-top: 4px solid var(--primary-blue);
}

.mv-kicker {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.mv-card:first-child .mv-kicker {
    color: var(--primary-blue);
}

.mv-text {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    margin: 0;
}

/* Certifications */
.cert-section {
    padding: 70px 0 90px;
    background: var(--light-gray);
}

.cert-intro {
    max-width: 860px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--text-light);
    line-height: 1.8;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.cert-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.8rem 1.6rem;
    text-align: center;
}

.cert-card .value-icon {
    margin: 0 auto 1rem;
}

/* Shared section headings (eyebrow comes from base.html) */
.timeline-section .section-title,
.values-section .section-title,
.cert-section .section-title {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-top: 0.4rem;
}

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

    .about-intro-photo img {
        height: 320px;
    }

    .photo-tag {
        left: 16px;
    }

    .mission-vision-content {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 46px;
    }

    .timeline-item {
        gap: 1.2rem;
    }

    .timeline-year {
        flex-basis: 88px;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .page-header {
        padding: 120px 0 50px;
    }

    .page-title {
        font-size: 1.7rem;
    }

    .about-heading {
        font-size: 1.7rem;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.6rem;
    }

    .timeline-year {
        flex-basis: auto;
        width: fit-content;
        padding: 0.4rem 1rem;
    }
}
