/* ============================================================
   ABOUT PAGE — public/css/about.css
   Styles for: about/mission, about/vision, about/timeline,
   about/infrastructure partials.
   Uses CSS variables from app.css — no new colors introduced.
============================================================ */

/* ---------------------------------------------------------------
   1. MISSION SECTION — image stack + founder quote
--------------------------------------------------------------- */
.about-mission-img-wrap {
    position: relative;
    padding-right: 2rem;
    padding-bottom: 2rem;
}

.about-mission-main {
    position: relative;
    z-index: 1;
}

.about-mission-badge {
    position: absolute;
    top: 1.5rem;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.25rem;
    box-shadow: var(--shadow-lg);
    max-width: 220px;
}

.about-mission-badge i {
    color: var(--color-primary);
    flex-shrink: 0;
}

.about-mission-badge strong {
    display: block;
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.3;
}

.about-mission-badge span {
    display: block;
    font-size: var(--fs-xs);
    color: var(--color-gray-400);
    margin-top: 0.15rem;
}

.about-mission-inset {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    width: 45%;
    aspect-ratio: 1 / 1;
    border: 5px solid var(--color-white);
}

.about-founder-quote {
    position: relative;
    background: var(--color-off-white);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    margin: 0;
}

.about-founder-quote p {
    font-family: var(--font-primary);
    font-size: var(--fs-md);
    font-weight: 600;
    font-style: italic;
    color: var(--color-secondary);
    line-height: 1.6;
    margin: 0 0 0.85rem;
}

.about-founder-quote footer strong {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--color-primary);
}

.about-founder-quote footer span {
    display: block;
    font-size: var(--fs-xs);
    color: var(--color-gray-400);
    margin-top: 0.15rem;
}

/* ---------------------------------------------------------------
   2. VISION BANNER — dark gradient statement band
--------------------------------------------------------------- */
.vision-banner {
    position: relative;
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
    text-align: center;
}

.vision-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(213,0,0,0.18), transparent 55%),
                radial-gradient(circle at 80% 80%, rgba(213,0,0,0.12), transparent 55%);
    pointer-events: none;
}

.vision-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: var(--radius-full);
    background: rgba(213,0,0,0.15);
    color: var(--color-primary-light);
    margin-bottom: 1.5rem;
}

.vision-banner-text {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    font-family: var(--font-primary);
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.6;
}

.vision-banner-text span {
    color: var(--color-primary-light);
}

/* ---------------------------------------------------------------
   3. CORE VALUES GRID
--------------------------------------------------------------- */
.value-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(213,0,0,0.15);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: var(--color-white);
    margin-bottom: 1.1rem;
    box-shadow: var(--shadow-red);
}

.value-title {
    font-family: var(--font-primary);
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.value-desc {
    font-size: var(--fs-sm);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin: 0;
}

/* ---------------------------------------------------------------
   4. MANAGEMENT MESSAGE CARD
--------------------------------------------------------------- */
.mgmt-quote-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: var(--color-off-white);
    border-radius: var(--radius-xl);
    padding: clamp(1.75rem, 4vw, 3rem);
    box-shadow: var(--shadow-card);
}

.mgmt-quote-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--color-white);
}

.mgmt-quote-mark {
    color: rgba(213,0,0,0.18);
    margin-bottom: 0.5rem;
}

.mgmt-quote-text {
    font-family: var(--font-primary);
    font-size: var(--fs-lg);
    font-weight: 600;
    font-style: italic;
    color: var(--color-secondary);
    line-height: 1.7;
    margin: 0 0 1rem;
}

.mgmt-quote-name {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--color-primary);
}

.mgmt-quote-role {
    display: block;
    font-size: var(--fs-xs);
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
}

/* ---------------------------------------------------------------
   5. INFRASTRUCTURE FACILITY CARDS
--------------------------------------------------------------- */
.infra-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
}

.infra-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(11,42,91,0.12);
    transform: translateY(-4px);
}

.infra-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(11,42,91,0.06);
    color: var(--color-secondary);
    flex-shrink: 0;
}

.infra-title {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.35rem;
}

.infra-desc {
    font-size: var(--fs-sm);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin: 0;
}

/* ---------------------------------------------------------------
   6. CERTIFICATION BADGES
--------------------------------------------------------------- */
.cert-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-full);
    padding: 0.65rem 1.25rem;
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-secondary);
    box-shadow: var(--shadow-sm);
}

.cert-badge i {
    color: var(--color-primary);
}

/* ---------------------------------------------------------------
   7. JOURNEY TIMELINE — desktop two-column width fix
   (.timeline-content is flex:1 by default in components.css; since
   .timeline-dot is absolutely positioned it reserves no flex space,
   so content would otherwise stretch full width and overlap the
   center line. Constrain it to half the row on desktop.)
--------------------------------------------------------------- */
@media (min-width: 992px) {
    #journey .timeline-content {
        max-width: calc(50% - 2rem);
    }
}

/* ---------------------------------------------------------------
   8. RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .about-mission-img-wrap {
        padding-right: 0;
        padding-bottom: 3rem;
    }

    .about-mission-inset {
        width: 55%;
    }

    .mgmt-quote-card {
        flex-direction: column;
        text-align: center;
    }
}