/* ============================================================
   CUMA Engineering — About Page Styles
   ============================================================ */

/* ---- Page Hero ---- */
.about-hero {
    background: linear-gradient(135deg, var(--black) 0%, #2d1100 100%);
    color: var(--white); padding: 72px 0;
    position: relative; overflow: hidden; text-align: center;
}
.about-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(255,106,0,.12), transparent);
}
.about-hero .container { position: relative; z-index: 1; }
.about-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; margin-bottom: 14px; }
.about-hero p  { color: #bbb; max-width: 560px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }

/* ---- Story Section ---- */
.story-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}
.story-img {
    border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 4/3; position: relative;
    box-shadow: var(--shadow-lg);
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-img-badge {
    position: absolute; bottom: 24px; left: 24px;
    background: var(--orange); color: #fff;
    padding: 14px 20px; border-radius: var(--radius-lg);
    font-size: .88rem; font-weight: 700; text-align: center; line-height: 1.3;
}
.story-img-badge strong { display: block; font-size: 1.8rem; font-weight: 900; }

.story-content .overline { color: var(--orange); }
.story-content h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 20px; }
.story-content p  { color: var(--mid-gray); line-height: 1.8; margin-bottom: 16px; }

/* ---- Stats Banner ---- */
.stats-banner {
    background: var(--orange);
    padding: 56px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item .num { font-size: 2.8rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-item .lbl { font-size: .85rem; color: rgba(255,255,255,.85); margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; background: rgba(255,255,255,.3); display: none; }

/* ---- Mission & Vision ---- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
    padding: 36px; border-radius: var(--radius-lg);
    border-left: 4px solid var(--orange); background: var(--white);
    box-shadow: var(--shadow-sm);
}
.mv-icon { font-size: 2.4rem; margin-bottom: 16px; }
.mv-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; }
.mv-card p  { color: var(--mid-gray); line-height: 1.8; }

/* ---- Values ---- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
    text-align: center; padding: 36px 24px;
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); transition: var(--transition);
    border-top: 3px solid transparent;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-top-color: var(--orange); }
.value-icon { font-size: 2.2rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.value-card p  { font-size: .88rem; color: var(--mid-gray); line-height: 1.7; }

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
    text-align: center; background: var(--white);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-img {
    aspect-ratio: 1; overflow: hidden;
    background: var(--light-gray); position: relative;
}
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-img img { transform: scale(1.07); }
.team-overlay {
    position: absolute; inset: 0; background: rgba(255,106,0,.85);
    display: flex; align-items: center; justify-content: center; gap: 12px;
    opacity: 0; transition: opacity var(--transition);
}
.team-card:hover .team-overlay { opacity: 1; }
.team-social {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .85rem;
    transition: background var(--transition);
}
.team-social:hover { background: rgba(255,255,255,.4); }
.team-body { padding: 18px; }
.team-name { font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.team-role { font-size: .8rem; color: var(--orange); font-weight: 600; }

/* ---- Timeline ---- */
.timeline { position: relative; max-width: 700px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; left: 50%; transform: translateX(-50%);
    top: 0; bottom: 0; width: 2px; background: var(--border);
}
.tl-item { display: flex; gap: 32px; margin-bottom: 48px; position: relative; }
.tl-item:nth-child(even) { flex-direction: row-reverse; }
.tl-content {
    flex: 1; background: var(--white); border-radius: var(--radius-lg);
    padding: 20px 24px; box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--orange);
}
.tl-item:nth-child(odd)  .tl-content { text-align: right; }
.tl-item:nth-child(even) .tl-content { text-align: left; }
.tl-year { color: var(--orange); font-weight: 800; font-size: .85rem; margin-bottom: 6px; }
.tl-content h4 { font-weight: 700; margin-bottom: 6px; }
.tl-content p  { font-size: .88rem; color: var(--mid-gray); }
.tl-dot {
    position: absolute; left: 50%; transform: translateX(-50%);
    top: 20px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--orange); border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--orange);
    z-index: 1;
}

/* ---- CTA ---- */
.about-cta {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: #fff; text-align: center; padding: 72px 0;
}
.about-cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.about-cta p  { opacity: .9; max-width: 520px; margin: 0 auto 32px; }
.about-cta .btn-white { background: #fff; color: var(--orange); }
.about-cta .btn-outline-white {
    border: 2px solid rgba(255,255,255,.5); color: #fff; background: transparent;
    padding: 14px 28px; border-radius: var(--radius); font-weight: 600; font-size: .95rem;
}
.about-cta .btn-outline-white:hover { background: rgba(255,255,255,.15); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .story-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .mv-grid    { grid-template-columns: 1fr; }
    .values-grid{ grid-template-columns: repeat(2, 1fr); }
    .timeline::before { left: 16px; }
    .tl-item, .tl-item:nth-child(even) { flex-direction: column; padding-left: 48px; }
    .tl-dot   { left: 16px; }
    .tl-item .tl-content, .tl-item:nth-child(odd) .tl-content { text-align: left; }
}
@media (max-width: 600px) {
    .values-grid { grid-template-columns: 1fr; }
    .team-grid   { grid-template-columns: repeat(2, 1fr); }
    .stats-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .about-hero { padding: 48px 0; }
    .stats-banner { padding: 40px 0; }
    .stat-item .num { font-size: 2.2rem; }
    .stat-item .lbl { font-size: .75rem; }
    .stats-grid { gap: 16px; }
    .mv-card { padding: 24px 18px; }
    .mv-icon { font-size: 1.8rem; margin-bottom: 12px; }
    .value-card { padding: 24px 16px; }
    .team-grid { gap: 12px; }
    .team-body { padding: 12px; }
    .team-name { font-size: .88rem; }
    .tl-content { padding: 16px 18px; }
    .about-cta { padding: 48px 0; }
    .about-cta h2 { font-size: 1.5rem; }
    .about-cta p { font-size: .9rem; }
    .story-img-badge { padding: 10px 14px; font-size: .8rem; }
    .story-img-badge strong { font-size: 1.4rem; }
}
@media (max-width: 360px) {
    .team-grid { grid-template-columns: 1fr; }
    .stat-item .num { font-size: 1.9rem; }
    .about-cta h2 { font-size: 1.3rem; }
}
