/* ============================================================
   ABOUT PAGE STYLES — Clean, Professional, Fully Responsive
   ============================================================ */

/* ── SHARED ── */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-pill {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: var(--primary-light, #E8F0FF);
    border: 1px solid var(--border-blue, rgba(0,71,171,0.15));
    color: var(--primary, #0047AB);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-accent {
    color: var(--primary, #0047AB);
}

/* ── OUR STORY ── */
.about-story {
    padding: 5rem 0;
    background: #fff;
}

.about-story-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.about-story-content h2 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-story-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.25rem;
}

.about-story-content strong {
    color: #0f172a;
}

/* ── MEET THE PASTOR ── */
.pastor-profile {
    padding: 6rem 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.pastor-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.pastor-image-wrapper {
    position: relative;
    padding-right: 2rem;
    padding-bottom: 2rem;
}

.pastor-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(10, 31, 68, 0.15);
    z-index: 2;
}

.pastor-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/5;
    transform: scale(1.02);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pastor-image-frame:hover .pastor-img {
    transform: scale(1.06);
}

.pastor-image-accent {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    pointer-events: none;
    z-index: 3;
}

.pastor-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background: var(--primary-light, #E8F0FF);
    border-radius: 20px;
    z-index: 1;
    transform: translate(10px, 10px);
}

.pastor-content {
    padding-left: 1rem;
}

.pastor-content h2 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.pastor-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary, #0047AB);
    padding-left: 1.5rem;
}

.pastor-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.25rem;
}

.pastor-signature-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.pastor-title {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 1px;
}

/* ── MISSION & VISION ── */
.about-mission {
    padding: 5rem 0;
    background: var(--bg-page, #F8FAFC);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mission-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 24px rgba(10,31,68,0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(10,31,68,0.08);
}

.mission-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-light, #E8F0FF);
    color: var(--primary, #0047AB);
    display: grid;
    place-items: center;
    font-size: 26px;
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.mission-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.75;
}

/* ── CORE VALUES ── */
.about-values {
    padding: 5rem 0;
    background: #fff;
}

.about-values-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-values-header h2 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.04);
    background: var(--bg-page, #F8FAFC);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(10,31,68,0.06);
    border-color: var(--primary, #0047AB);
}

.value-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light, #E8F0FF);
    color: var(--primary, #0047AB);
    display: grid;
    place-items: center;
    font-size: 24px;
    margin: 0 auto 1.25rem;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
}

/* ── TIMES OF SERVICE ── */
.about-services {
    padding: 5rem 0;
    background: var(--bg-page, #F8FAFC);
}

.about-services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-services-header h2 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 24px rgba(10,31,68,0.04);
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.about-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--primary, #0047AB);
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.about-service-card:hover::before {
    opacity: 1;
    width: 100px;
}

.about-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(10,31,68,0.08);
}

.about-service-card.primary {
    background: var(--primary, #0047AB);
    color: #fff;
    border-color: transparent;
}

.about-service-card.primary::before {
    background: var(--accent-gold, #F5A623);
    opacity: 1;
    width: 80px;
}

.about-service-card.primary:hover::before {
    width: 120px;
}

.about-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--primary-light, #E8F0FF);
    color: var(--primary, #0047AB);
    display: grid;
    place-items: center;
    font-size: 28px;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.about-service-card.primary .about-service-icon {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.about-service-card:hover .about-service-icon {
    transform: scale(1.1);
}

.about-service-card h3 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.about-service-card.primary h3 {
    color: #fff;
}

.about-service-time {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: var(--primary-light, #E8F0FF);
    color: var(--primary, #0047AB);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.about-service-card.primary .about-service-time {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.about-service-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
}

.about-service-card.primary p {
    color: rgba(255,255,255,0.75);
}

/* ── STATS BAR ── */
.about-stats {
    padding: 4rem 0;
    background: var(--secondary, #0A1F44);
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-num {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── TABLET (max 1024px) ── */
@media (max-width: 1024px) {
    .pastor-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .pastor-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
        padding-right: 1.5rem;
    }

    .pastor-content {
        padding-left: 0;
        text-align: center;
    }

    .pastor-lead {
        border-left: none;
        padding-left: 0;
    }

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

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

/* ── MOBILE (max 640px) ── */
@media (max-width: 640px) {
    .pastor-profile {
        padding: 4rem 0;
    }

    .pastor-content h2 {
        font-size: 2rem;
    }

    .about-story {
        padding: 3.5rem 0;
    }

    .about-story-content h2 {
        font-size: 1.75rem;
    }

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

    .about-services {
        padding: 3.5rem 0;
    }

    .about-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-service-card {
        padding: 2rem 1.5rem;
    }

    .about-values {
        padding: 3.5rem 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .value-card {
        padding: 1.75rem 1.25rem;
    }

    .about-stats {
        padding: 3rem 0;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .stat-num {
        font-size: 2rem;
    }
}
