/* ==========================================================================
   Our Purpose Section Component - SS Healing Rays (About Us Page)
   Features:
     - Full background banner view from assets/banner/about-banner.jpg
     - Complete visibility of botanical leaves on left & right flanks
     - Strict 2-Line Headline (Marcellus + Playfair Display italic highlight)
     - Full-width center-aligned description text
   ========================================================================== */

.purpose-section {
    position: relative;
    padding: clamp(4.5rem, 6.5vw, 6.5rem) 0;
    background-color: #fbf0ee;
    background-image: var(--purpose-bg, url('../banner/about-banner.jpg'));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 100%;
    overflow: hidden;
}

/* Ensure no overlay covers or fades out the background image */
.purpose-section::before,
.purpose-section::after {
    display: none !important;
    content: none !important;
}

.purpose-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(1.5rem, 6vw, 6.5rem);
}

/* 1. Centered Content Wrap (Full-Width Flow) */
.purpose-content-wrap {
    max-width: 1240px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Eyebrow Badge (Unified Brand Design) */
.purpose-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(186, 67, 108, 0.08);
    border: 1px solid rgba(186, 67, 108, 0.16);
    border-radius: 50px;
    margin-bottom: 0.95rem;
}

.purpose-badge .badge-icon {
    color: var(--secondary-color, #ba436c);
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.purpose-badge .badge-text {
    font-family: var(--brand-font-sans, 'Lato', sans-serif);
    font-size: clamp(0.76rem, 0.84vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary-color, #ba436c);
    line-height: 1;
}

/* Main Heading: Strict 2 Lines Layout */
.purpose-heading {
    font-family: var(--brand-font-marcellus, 'Marcellus', Georgia, serif);
    font-size: clamp(2rem, 3.2vw, 2.85rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--heading-color, #111133);
    margin: 0 auto clamp(1.5rem, 2.5vw, 2.25rem);
    letter-spacing: -0.015em;
    width: 100%;
}

.purpose-heading .purpose-title-line {
    display: block;
}

.purpose-heading .purpose-title-line:nth-child(2) {
    margin-top: 0.25rem;
}

.purpose-heading .title-highlight {
    font-family: var(--brand-font-serif, 'Playfair Display', Georgia, serif);
    font-style: italic;
    font-weight: 600;
    color: var(--secondary-color, #ba436c);
}

/* 2. Full-Width Description Paragraphs */
.purpose-description-wrap {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.purpose-description {
    font-family: var(--brand-font-sans, 'Lato', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    font-weight: 400;
    line-height: 1.88;
    color: #3b3b4f;
    margin: 0 auto 1.35rem;
    letter-spacing: 0.005em;
    width: 100%;
}

.purpose-description:last-child {
    margin-bottom: 0;
}

/* 3. Pivotal Teacher Quote Callout */
.purpose-quote-callout {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(186, 67, 108, 0.2);
    border-left: 4px solid var(--secondary-color, #ba436c);
    border-radius: 16px;
    padding: clamp(1.25rem, 2vw, 1.65rem) clamp(1.25rem, 2.5vw, 2.25rem);
    max-width: 860px;
    box-shadow: 0 6px 20px rgba(186, 67, 108, 0.04);
}

.purpose-quote {
    font-family: var(--brand-font-serif, 'Playfair Display', Georgia, serif);
    font-style: italic;
    font-size: clamp(1.08rem, 1.3vw, 1.25rem);
    font-weight: 500;
    line-height: 1.68;
    color: var(--primary-color, #82387a);
    margin: 0 0 0.5rem 0;
}

.purpose-quote-impact {
    font-family: var(--brand-font-sans, 'Lato', sans-serif);
    font-size: clamp(0.82rem, 0.9vw, 0.88rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color, #ba436c);
    margin: 0;
}

/* ==========================================================================
   4. White Background 2-Column Story Container
   ========================================================================== */
.purpose-two-col-card {
    background-color: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(186, 67, 108, 0.14);
    box-shadow: 0 16px 45px -10px rgba(17, 17, 51, 0.06), 0 4px 15px rgba(186, 67, 108, 0.03);
    padding: clamp(2rem, 3.5vw, 3.25rem);
    margin-top: clamp(2.75rem, 4.5vw, 3.75rem);
    max-width: 1200px;
    width: 100%;
    text-align: left;
}

.story-col-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.story-col-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.25rem;
}

.story-col-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(186, 67, 108, 0.08);
    border: 1px solid rgba(186, 67, 108, 0.18);
    color: var(--secondary-color, #ba436c);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.story-col-title {
    font-family: var(--brand-font-marcellus, 'Marcellus', Georgia, serif);
    font-size: clamp(1.28rem, 1.55vw, 1.55rem);
    font-weight: 400;
    line-height: 1.32;
    color: var(--heading-color, #111133);
    margin: 0;
    letter-spacing: -0.01em;
}

.story-col-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.story-col-desc {
    font-family: var(--brand-font-sans, 'Lato', system-ui, -apple-system, sans-serif);
    font-size: clamp(0.95rem, 1.05vw, 1.02rem);
    font-weight: 400;
    line-height: 1.82;
    color: #475569;
    margin: 0;
}

.story-col-desc em {
    font-family: var(--brand-font-serif, 'Playfair Display', Georgia, serif);
    font-style: italic;
    color: var(--primary-color, #82387a);
}

@media (min-width: 992px) {
    .story-col-divider {
        border-left: 1px solid rgba(186, 67, 108, 0.14);
        padding-left: clamp(1.75rem, 3.2vw, 3rem);
    }
}

/* Responsive Adaptations */
@media (max-width: 991.98px) {
    .purpose-section {
        padding: clamp(3.5rem, 5.5vw, 4.5rem) 0;
        background-size: cover;
        background-position: center center;
    }
    .purpose-container {
        padding: 0 1.5rem;
    }
    .purpose-content-wrap {
        max-width: 100%;
    }
    .purpose-heading {
        font-size: clamp(1.8rem, 3.5vw, 2.35rem);
        margin-bottom: 1.5rem;
    }
    .purpose-description {
        font-size: 1rem;
        line-height: 1.8;
    }
    .purpose-quote-callout {
        padding: 1.25rem 1.5rem;
    }
    .purpose-two-col-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    .story-col-divider {
        border-top: 1px solid rgba(186, 67, 108, 0.12);
        padding-top: 2rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .purpose-section {
        padding: 3rem 0;
        background-size: cover;
    }
    .purpose-container {
        padding: 0 1rem;
    }
    .purpose-heading {
        font-size: 1.65rem;
        line-height: 1.28;
        margin-bottom: 1.25rem;
    }
    .purpose-description {
        font-size: 0.96rem;
        line-height: 1.75;
        margin-bottom: 1.15rem;
    }
    .purpose-quote-callout {
        padding: 1rem 1.15rem;
        border-radius: 12px;
    }
}
