/* ============================================================
   SAS INSTITUTIONS — ABOUT PAGE CSS
   about.css - PREMIUM FULL-WIDTH DESIGN
   ============================================================ */

/* ── About Hero (Clean Premium Gradient) ────────────────── */
.about-page__hero {
    background: linear-gradient(135deg, #0A2833 0%, #075463 50%, #0A2833 100%);
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

.about-page__hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(197,165,114,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.about-page__hero .container {
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

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

.about-page__eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C5A572;
    margin-bottom: 24px;
}

.about-page__headline {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 32px;
    letter-spacing: -0.03em;
}

.about-page__intro {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    max-width: 750px;
    margin: 0 auto;
}

.about-page__hero-bg,
.about-page__hero-bg-img,
.about-page__hero-image {
    display: none;
}

/* ── Who We Are Section ─────────────────────────────────── */
.about-page__section {
    background: #ffffff;
    padding: 120px 0;
}

.about-page__section .container {
    max-width: 1400px;
}

.about-page__narrow {
    max-width: 900px;
    margin: 0 auto;
}

.about-page__section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #0A2833;
    margin-bottom: 40px;
    text-align: center;
}

.about-page__section-heading.center {
    text-align: center;
}

.about-page__body {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.9;
    color: #4b5563;
    text-align: center;
}

/* ── Purpose Section (Full Width Dark) ──────────────────── */
.about-page__purpose {
    background: linear-gradient(135deg, #0A2833 0%, #075463 100%);
    padding: 120px 0;
    position: relative;
}

.about-page__purpose .container {
    max-width: 1400px;
}

.about-page__purpose .about-page__narrow {
    max-width: 1100px;
}

.about-page__purpose-statement {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 80px;
    text-align: center;
}

.about-page__purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 80px;
}

.purpose-item {
    text-align: center;
    padding: 50px 40px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.purpose-item:hover {
    background: rgba(255,255,255,0.12);
    border-color: #C5A572;
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.purpose-item h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.purpose-item p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
}

/* ── Institutions Grid (Premium Cards) ──────────────────── */
.about-page__institutions {
    background: #f8f9fa;
    padding: 120px 0;
}

.about-page__institutions .container {
    max-width: 1400px;
}

.about-page__inst-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.about-inst-card {
    padding: 50px 40px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.about-inst-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #C5A572;
    transition: height 0.4s ease;
}

.about-inst-card:hover::before {
    height: 100%;
}

.about-inst-card:hover {
    border-color: #C5A572;
    box-shadow: 0 20px 60px rgba(10,40,51,0.15);
    transform: translateY(-8px);
}

.about-inst-card__name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #0A2833;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-inst-card__desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 30px;
    flex-grow: 1;
}

.about-inst-card__arrow {
    font-size: 1.8rem;
    color: #C5A572;
    transition: transform 0.3s ease;
    align-self: flex-start;
}

.about-inst-card:hover .about-inst-card__arrow {
    transform: translateX(12px);
}

/* ── Foundation Section ─────────────────────────────────── */
.about-page__foundation {
    background: #ffffff;
    padding: 120px 0;
}

.about-page__foundation .container {
    max-width: 1400px;
}

/* ── Final CTA (Full Width) ─────────────────────────────── */
.about-page__cta {
    background: linear-gradient(135deg, #0A2833 0%, #075463 100%);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.about-page__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(197,165,114,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.about-page__cta .container {
    position: relative;
    z-index: 1;
}

.about-page__cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 50px;
}

.about-page__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .about-page__purpose-grid,
    .about-page__inst-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

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

    .about-page__section,
    .about-page__purpose,
    .about-page__institutions,
    .about-page__foundation,
    .about-page__cta {
        padding: 80px 0;
    }

    .about-page__hero-content {
        margin-bottom: 50px;
    }

    .about-page__purpose-statement {
        margin-bottom: 50px;
    }

    .about-page__inst-grid {
        margin-top: 50px;
    }

    .purpose-item {
        padding: 40px 30px;
    }

    .about-inst-card {
        padding: 40px 30px;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .about-page__hero {
        padding: 100px 0 60px;
    }

    .about-page__section,
    .about-page__purpose,
    .about-page__institutions,
    .about-page__foundation,
    .about-page__cta {
        padding: 60px 0;
    }

    .about-page__cta-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-page__cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .purpose-item {
        padding: 32px 24px;
    }

    .about-inst-card {
        padding: 32px 24px;
    }
}


/* ── Principal's Message Section ────────────────────────── */
.principal-message-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 120px 0;
    position: relative;
}

.principal-message-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(197,165,114,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.principal-content {
    position: relative;
    z-index: 1;
}

.principal-message-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.principal-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10,40,51,0.2);
    aspect-ratio: 3/4;
}

.principal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.principal-image-wrapper:hover .principal-image {
    transform: scale(1.05);
}

.principal-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(197,165,114,0.3) 0%, transparent 60%);
    pointer-events: none;
}

.principal-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.principal-message-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C5A572;
    margin-bottom: 20px;
}

.principal-quote {
    font-family: 'Georgia', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.6;
    color: #0A2833;
    margin-bottom: 40px;
    font-style: italic;
    border-left: 4px solid #C5A572;
    padding-left: 30px;
}

.principal-signature {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #075463;
    margin: 0;
}

/* ── Responsive Principal Section ──────────────────────── */
@media (max-width: 1024px) {
    .principal-message-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .principal-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .principal-message-section {
        padding: 80px 0;
    }

    .principal-message-wrapper {
        gap: 40px;
    }

    .principal-image-wrapper {
        aspect-ratio: 1;
    }

    .principal-quote {
        font-size: 1.4rem;
        margin-bottom: 30px;
        padding-left: 20px;
    }

    .principal-signature {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .principal-message-section {
        padding: 60px 0;
    }

    .principal-message-wrapper {
        gap: 30px;
    }

    .principal-image-wrapper {
        aspect-ratio: 1;
        max-width: 100%;
    }

    .principal-quote {
        font-size: 1.2rem;
        margin-bottom: 20px;
        border-left-width: 3px;
        padding-left: 15px;
    }

    .principal-message-label {
        font-size: 0.8rem;
    }
}
