/* ═══════════════════════════════════════════════════════════════
   FLOWGEEK — about.css
   Specific styles for the About Page layouts
   ═══════════════════════════════════════════════════════════════ */

.about-padding { padding: 120px 0; }
.text-center { text-align: center; }
.justify-center { justify-content: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ───────────────────────────────────────────────────────────────
   1. ABOUT HERO
───────────────────────────────────────────────────────────────── */
.about-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 160px;
    padding-bottom: 80px;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 30%, var(--bg-base) 100%);
    pointer-events: none;
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 24px;
}

.about-hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeIn 0.7s cubic-bezier(.16,1,.3,1) 0.3s forwards;
}

.about-hero-sub {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeIn 0.7s cubic-bezier(.16,1,.3,1) 0.5s forwards;
}

.hero-orb {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99,202,183,0.09) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ───────────────────────────────────────────────────────────────
   2. TEAM GRID
───────────────────────────────────────────────────────────────── */
.section-team {
    padding-bottom: 120px;
    margin-top: -60px; /* Pulls cards up into the hero section slightly */
    position: relative;
    z-index: 3;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    padding: 40px 24px 24px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.team-image-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 24px;
    border: 2px solid var(--border-teal);
    padding: 4px;
    background: var(--teal-faint);
}
.team-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.team-role {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.team-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    margin-bottom: 32px;
}

.team-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.team-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    margin-top: 8px;
    flex-shrink: 0;
}

.team-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.team-footer p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.team-highlight {
    color: var(--teal) !important;
    font-weight: 500;
    margin-top: 8px;
}

/* Specific Card Color Accents */
.team-card.blue-accent .team-image-wrap { border-color: rgba(96,165,250,0.4); background: rgba(96,165,250,0.1); }
.team-card.blue-accent .team-role, .team-card.blue-accent .team-highlight { color: var(--blue-400) !important; }
.team-card.blue-accent .team-dot { background: var(--blue-400); }

.team-card.purple-accent .team-image-wrap { border-color: rgba(167,139,250,0.4); background: rgba(167,139,250,0.1); }
.team-card.purple-accent .team-role, .team-card.purple-accent .team-highlight { color: var(--purple-400) !important; }
.team-card.purple-accent .team-dot { background: var(--purple-400); }

/* ───────────────────────────────────────────────────────────────
   3. WHY CHOOSE US
───────────────────────────────────────────────────────────────── */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-feature-card {
    padding: 40px 24px;
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--teal-faint);
    border: 1px solid var(--border-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--teal);
    margin: 0 auto 24px;
    box-shadow: var(--shadow-teal);
}

.about-feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.about-feature-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-feature-card.blue-accent .feature-icon { background: rgba(96,165,250,0.1); border-color: rgba(96,165,250,0.3); color: var(--blue-400); box-shadow: 0 0 30px rgba(96, 165, 250, 0.15); }
.about-feature-card.purple-accent .feature-icon { background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.3); color: var(--purple-400); box-shadow: 0 0 30px rgba(167, 139, 250, 0.15); }

/* ───────────────────────────────────────────────────────────────
   4. IMPACT & RESULTS
───────────────────────────────────────────────────────────────── */
.section-impact { background: linear-gradient(180deg, transparent, rgba(99,202,183,0.03) 50%, transparent); }

.impact-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.impact-split.reverse {
    grid-template-columns: 1.5fr 1fr;
}
.impact-split.reverse .impact-text {
    order: 2; /* Text on right for desktop */
}
.impact-split.reverse .impact-cards {
    order: 1;
}

.impact-text .section-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.05;
}

.impact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.impact-card {
    padding: 24px 32px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.impact-card i {
    font-size: 1.4rem;
    color: var(--teal);
    margin-top: 4px;
    flex-shrink: 0;
}

.impact-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.impact-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.impact-metric {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 8px;
}
.impact-metric.blue { color: var(--blue-400); }
.impact-metric.purple { color: var(--purple-400); }

.impact-card.blue-accent i { color: var(--blue-400); }
.impact-card.purple-accent i { color: var(--purple-400); }

/* ───────────────────────────────────────────────────────────────
   5. CTA CARD
───────────────────────────────────────────────────────────────── */
.about-cta-card {
    padding: 80px 40px;
    border-color: var(--border-teal);
    background: radial-gradient(circle at center, rgba(99,202,183,0.08) 0%, rgba(7,7,10,0.8) 70%);
}

/* ───────────────────────────────────────────────────────────────
   RESPONSIVE DESIGN
───────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    /* Center the third item if on tablet */
    .team-card:nth-child(3) { grid-column: 1 / -1; max-width: 500px; margin: 0 auto; }
    
    .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
    .about-feature-card:nth-child(3) { grid-column: 1 / -1; }

    .impact-split, .impact-split.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .impact-split.reverse .impact-text { order: 1; }
    .impact-split.reverse .impact-cards { order: 2; }
}

@media (max-width: 768px) {
    .team-grid, .why-choose-grid { grid-template-columns: 1fr; }
    .team-card:nth-child(3), .about-feature-card:nth-child(3) { grid-column: auto; max-width: 100%; }
    
    .about-hero { padding-top: 140px; min-height: 40vh; }
    .section-team { margin-top: 0; }
    
    .impact-card { flex-direction: column; gap: 16px; padding: 24px; text-align: center; }
    .impact-card i { margin: 0 auto; }
}