/* ================================================
   ABOUT.CSS — About Page Styles
   ================================================ */

/* ── Page Header (Shared) ── */
.page-header {
    background: url('https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 160px 0 100px;
    position: relative;
    color: white;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 27, 45, 0.92) 0%, rgba(22, 42, 70, 0.8) 50%, rgba(212, 131, 15, 0.35) 100%);
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 2;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 3;
    animation: fadeInUp 0.8s var(--ease) 0.1s both;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    font-family: var(--font-heading);
}

.page-breadcrumb {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.page-breadcrumb a {
    color: var(--accent);
    font-weight: 600;
    position: relative;
}

.page-breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.page-breadcrumb a:hover::after {
    transform: scaleX(1);
}

.page-breadcrumb a:hover {
    color: var(--white);
}

/* ── About Story Section ── */
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-text p {
    color: var(--text-body);
    margin-bottom: 22px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.story-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

.highlight-box {
    background: linear-gradient(135deg, var(--cream), var(--warm-gray));
    padding: 36px;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.highlight-box::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: var(--primary-glow);
    border-radius: 50%;
    pointer-events: none;
}

.highlight-box i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 14px;
    display: block;
    opacity: 0.5;
}

.highlight-box p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
    font-style: italic;
}

/* ── Story Images ── */
.story-images {
    position: relative;
    height: 550px;
}

.image-wrapper {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.image-wrapper:hover img {
    transform: scale(1.04);
}

.img-1 {
    width: 68%;
    height: 75%;
    top: 0;
    left: 0;
    z-index: 2;
}

.img-2 {
    width: 58%;
    height: 58%;
    bottom: -20px;
    right: 0;
    z-index: 3;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-lg);
}

/* ── Purpose / Mission-Vision Cards ── */
.purpose-section {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.purpose-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.purpose-card {
    background: var(--white);
    padding: 50px 36px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
    border: 1px solid rgba(15, 27, 45, 0.04);
    position: relative;
    overflow: hidden;
}

.purpose-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
}

.purpose-card:hover,
.active-card {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.purpose-card:hover::before,
.active-card::before {
    transform: scaleX(1);
}

.purpose-icon {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--primary-glow), var(--accent-soft));
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 28px;
    transition: var(--transition);
}

.purpose-card:hover .purpose-icon,
.active-card .purpose-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(212, 131, 15, 0.3);
}

.purpose-card h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    font-family: var(--font-heading);
}

.purpose-card p {
    color: var(--text-body);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .page-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .story-images {
        height: 420px;
        order: -1;
    }

    .purpose-grid {
        grid-template-columns: 1fr;
    }

    .story-text {
        text-align: center;
    }

    .story-text .sub-heading {
        justify-content: center;
    }

    .highlight-box {
        text-align: left;
    }
}

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

    .story-images {
        height: 350px;
    }
}