/* ===========================
   About Us Page Styles — The ADR Initiative
   =========================== */

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */

.about-hero {
    background-color: var(--color-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Dot grid — top-left */
.about-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -60px;
    width: 360px;
    height: 360px;
    background-image: radial-gradient(circle, rgba(87, 7, 102, 0.45) 3.5px, transparent 3.5px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 32% 34%, black 26%, rgba(0,0,0,0.32) 52%, transparent 74%);
    mask-image:         radial-gradient(ellipse 60% 60% at 32% 34%, black 26%, rgba(0,0,0,0.32) 52%, transparent 74%);
    pointer-events: none;
    z-index: 0;
}

/* Dot grid — bottom-right */
.about-hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -60px;
    width: 280px;
    height: 280px;
    background-image: radial-gradient(circle, rgba(87, 7, 102, 0.35) 3px, transparent 3px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 65% 65% at 66% 66%, black 24%, rgba(0,0,0,0.28) 50%, transparent 72%);
    mask-image:         radial-gradient(ellipse 65% 65% at 66% 66%, black 24%, rgba(0,0,0,0.28) 50%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.about-hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.2;
    margin: 0 0 20px;
}

.about-hero-subtitle {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--color-black);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================================
   SECTION 2 — FOUNDERS
   Inherits all .founder-* styles from home.css
   ============================================================ */

.about-founders {
    background-color: var(--color-bg-light);
    padding: 80px 0;
}

.about-founders .section-title {
    text-align: center;
    margin-bottom: 48px;
}

/* ============================================================
   SECTION 3 — OUR MISSION
   ============================================================ */

.about-mission {
    background-color: var(--color-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Soft glow — top-right */
.about-mission::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(87, 7, 102, 0.07) 0%, rgba(87, 7, 102, 0.03) 45%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Small orb cluster — bottom-left */
.about-mission::after {
    content: '';
    position: absolute;
    bottom: calc(50% - 8px);
    left: 40px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(87, 7, 102, 0.22);
    box-shadow:
        60px  -60px 0 18px rgba(87, 7, 102, 0.12),
        20px   80px 0  8px rgba(87, 7, 102, 0.16),
       120px   20px 0  5px rgba(87, 7, 102, 0.20),
       -20px -100px 0 12px rgba(87, 7, 102, 0.10);
    pointer-events: none;
    z-index: 0;
}

.about-mission-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.about-mission-header .section-label {
    margin-bottom: 14px;
}

.about-mission-header .section-title {
    margin-bottom: 24px;
}

.about-mission-text {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--color-black);
    line-height: 1.8;
    text-align: center;
}

.about-mission-text p {
    margin: 0 0 18px;
}

.about-mission-text p:last-child {
    margin-bottom: 0;
}

/* Achievement cards grid */
.about-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-ach-card {
    background: var(--color-bg-light);
    border: 1px solid #e0e3ec;
    border-radius: 10px;
    padding: 36px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.about-ach-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.about-ach-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--color-primary);
}

.about-ach-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.4;
    margin: 0;
}

/* ============================================================
   SECTION 4 — OUR JOURNEY (Vertical Timeline)
   ============================================================ */

.about-journey {
    background-color: var(--color-bg-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Spinning dashed circle — top-right corner */
.about-journey::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -160px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 2px dashed rgba(87, 7, 102, 0.18);
    pointer-events: none;
    z-index: 0;
    animation: deco-spin-slow 28s linear infinite;
}

/* Concentric rings — bottom-left */
.about-journey::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        transparent 24%, rgba(87, 7, 102, 0.14) 24%, rgba(87, 7, 102, 0.14) 28%, transparent 28%,
        transparent 40%, rgba(87, 7, 102, 0.10) 40%, rgba(87, 7, 102, 0.10) 44%, transparent 44%,
        transparent 56%, rgba(87, 7, 102, 0.06) 56%, rgba(87, 7, 102, 0.06) 60%, transparent 60%
    );
    pointer-events: none;
    z-index: 0;
}

.about-journey .section-title {
    text-align: center;
    margin-bottom: 56px;
}

/* Timeline */
.tl-wrap {
    position: relative;
    width: 100%;
    padding: 0;
}

.tl-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-primary);
    transform: translateX(-50%);
}

.tl-row {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 20px;
}

.tl-row.left  { flex-direction: row; }
.tl-row.right { flex-direction: row-reverse; }

.tl-card-wrap {
    width: calc(50% - 36px);
}

.tl-spacer { width: calc(50% - 36px); }

.tl-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 3px solid var(--color-white);
    z-index: 2;
    flex-shrink: 0;
}

.tl-card {
    background: var(--color-white);
    border: 1px solid #e0d0e3;
    border-radius: 10px;
    overflow: hidden;
}

.tl-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    cursor: pointer;
    user-select: none;
    gap: 12px;
    transition: background 0.2s;
}

.tl-heading:hover { background: rgba(87, 7, 102, 0.04); }

.tl-heading-left { flex: 1; }

.tl-year {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-primary);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.tl-title {
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 600;
    color: var(--color-secondary);
    line-height: 1.4;
}

.tl-chevron {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(87, 7, 102, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.tl-chevron svg {
    width: 14px;
    height: 14px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.35s ease;
}

.tl-card.open .tl-chevron svg { transform: rotate(180deg); }
.tl-card.open .tl-chevron     { background: rgba(87, 7, 102, 0.18); }

.tl-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.3s ease;
    border-top: 1px solid transparent;
}

.tl-card.open .tl-body {
    max-height: 700px;
    opacity: 1;
    border-top-color: #e0d0e3;
}

.tl-body-inner { padding: 14px 18px 18px; }

.tl-desc {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

.tl-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
}

.tl-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    line-height: 1.5;
}

.tl-check {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-top: 4px;
    fill: var(--color-primary);
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */

@media (max-width: 1024px) {

    .about-hero-title {
        font-size: 40px;
    }

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

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */

@media (max-width: 768px) {

    .about-hero,
    .about-founders,
    .about-mission,
    .about-journey {
        padding: 60px 0;
    }

    .about-hero-title {
        font-size: 32px;
    }

    .about-hero-subtitle,
    .about-mission-text {
        font-size: 16px;
    }

    .about-ach-title {
        font-size: 16px;
    }

    /* Founders — override fixed width from home.css */
    .about-founders .founder-card {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .tl-spine { left: 14px; }

    .tl-dot {
        left: 14px;
        top: 16px;
        width: 18px;
        height: 18px;
    }

    .tl-row.left,
    .tl-row.right {
        flex-direction: column;
        padding-left: 40px;
    }

    .tl-card-wrap { width: 100%; }
    .tl-spacer    { display: none; }

    .tl-title { font-size: 18px; }
    .tl-desc  { font-size: 15px; }

    .tl-list li { font-size: 15px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */

@media (max-width: 480px) {

    .about-hero,
    .about-founders,
    .about-mission,
    .about-journey {
        padding: 48px 0;
    }

    .about-hero-title {
        font-size: 28px;
    }

    .about-hero-subtitle,
    .about-mission-text {
        font-size: 15px;
    }

    .about-achievements {
        grid-template-columns: 1fr;
    }

    .tl-title { font-size: 16px; }
    .tl-desc  { font-size: 14px; }
    .tl-list li { font-size: 14px; }
}

@media (max-width: 768px) {
    .about-hero::before,   .about-hero::after,
    .about-mission::before, .about-mission::after,
    .about-journey::before, .about-journey::after {
        display: none;
    }
}
