/* ================================================================
   TECHAVEN — about.css
   About page: Mission, Team, Story, Values, CTA
   Dark cyber-noir with electric blue — personal but sharp
   ================================================================ */

/* ── Page hero ─────────────────────────────────────────────── */
.about-hero {
    padding: 5.5rem 0 5rem;
    position: relative;
    overflow: hidden;
    background: var(--ta-bg);
    border-bottom: 1px solid var(--ta-border);
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 80% 20%, rgba(10,132,255,0.10) 0%, transparent 65%),
        radial-gradient(ellipse 35% 45% at 5%  80%, rgba(10,132,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}
/* Bottom glow line */
.about-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(10,132,255,0.5) 50%, transparent 100%);
}

.ab-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--ta-blue);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: abFadeUp 0.6s 0.1s ease forwards;
}
.ab-hero-eyebrow::before {
    content: '';
    width: 28px; height: 1px;
    background: linear-gradient(to right, var(--ta-blue), rgba(10,132,255,0.2));
}

.ab-hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: abFadeUp 0.6s 0.2s ease forwards;
}
.ab-hero-title-accent {
    background: linear-gradient(135deg, var(--ta-blue) 0%, #5cc8ff 50%, var(--ta-blue) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: abGradShift 4s linear infinite;
}
@keyframes abGradShift { 0%{background-position:0% center} 100%{background-position:200% center} }

.ab-hero-sub {
    color: var(--ta-muted);
    font-size: 1.05rem;
    max-width: 580px;
    line-height: 1.80;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: abFadeUp 0.6s 0.3s ease forwards;
}

/* Quick-stats inline */
.ab-hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: abFadeUp 0.6s 0.4s ease forwards;
}
.ab-hs {
    display: flex;
    flex-direction: column;
}
.ab-hs-val {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--ta-blue);
    line-height: 1;
}
.ab-hs-label {
    font-size: 0.72rem;
    color: var(--ta-muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-top: 2px;
}

/* Hero visual — decorative terminal + logo lock-up */
.ab-hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    animation: abFadeUp 0.7s 0.5s ease forwards;
}
/* Floating accent chip */
.ab-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--ta-blue-dim);
    border: 1px solid rgba(10,132,255,0.25);
    border-radius: 50px;
    padding: 5px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: var(--ta-blue-light);
    align-self: flex-start;
}
.ab-chip-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ta-blue);
    box-shadow: 0 0 6px var(--ta-blue);
    animation: abPulse 2s ease-in-out infinite;
}
@keyframes abPulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── Mission section ─────────────────────────────────────────── */
.ab-mission {
    padding: 5.5rem 0;
    background: var(--ta-bg);
    position: relative;
    overflow: hidden;
}
.ab-mission::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(10,132,255,0.07), transparent 70%);
    top: -100px; right: -100px;
    pointer-events: none;
}
.ab-mission-quote {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.ab-mission-quote::before {
    content: '';
    position: absolute;
    left: 0; top: 4px; bottom: 4px;
    width: 3px;
    background: linear-gradient(to bottom, var(--ta-blue), rgba(10,132,255,0.2));
    border-radius: 3px;
}
.ab-mission-text {
    color: var(--ta-muted);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

/* Mission value pills */
.ab-mission-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.5rem;
}
.ab-value-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--ta-border);
    border-radius: 50px;
    padding: 6px 14px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ta-muted);
    letter-spacing: 0.04em;
    transition: all 0.22s;
}
.ab-value-pill:hover {
    background: var(--ta-blue-dim);
    border-color: rgba(10,132,255,0.3);
    color: #fff;
}
.ab-value-pill i { color: var(--ta-blue); font-size: 0.78rem; }

/* Mission image/visual side */
.ab-mission-visual {
    background: var(--ta-bg-card);
    border: 1px solid var(--ta-border);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    min-height: 340px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.ab-mission-visual-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--ta-border);
    background: radial-gradient(ellipse at 80% 50%, rgba(10,132,255,0.12), transparent 65%);
    position: relative;
}
.ab-mission-visual-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.ab-mission-visual-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: var(--ta-muted);
}
.ab-mission-visual-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ab-mvb-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.ab-mvb-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
}
.ab-mvb-icon--blue  { background: rgba(10,132,255,0.12); border: 1px solid rgba(10,132,255,0.22); color: var(--ta-blue); }
.ab-mvb-icon--green { background: rgba(48,209,88,0.10);  border: 1px solid rgba(48,209,88,0.22);  color: var(--ta-dev); }
.ab-mvb-icon--amber { background: rgba(255,159,10,0.10); border: 1px solid rgba(255,159,10,0.22); color: var(--ta-audit); }
.ab-mvb-title { font-family: 'Rajdhani', sans-serif; font-size: 0.92rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.ab-mvb-desc  { font-size: 0.78rem; color: var(--ta-muted); line-height: 1.55; margin: 0; }

/* ── Story / Timeline ────────────────────────────────────────── */
.ab-story {
    padding: 5.5rem 0;
    background: #07070f;
    position: relative;
}

.ab-timeline {
    position: relative;
    padding-left: 0;
}

/* Mobile styles - line on left, content on right */
.ab-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--ta-blue), rgba(10,132,255,0.08));
    border-radius: 2px;
}

.ab-tl-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: relative;
}

.ab-tl-item.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

.ab-tl-item:last-child { 
    margin-bottom: 0; 
}

.ab-tl-dot-wrap {
    flex-shrink: 0;
    width: 48px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 8px;
    position: relative;
    z-index: 2;
}

.ab-tl-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ta-bg);
    border: 2px solid var(--ta-blue);
    box-shadow: 0 0 0 4px rgba(10,132,255,0.15), 0 0 12px rgba(10,132,255,0.2);
    flex-shrink: 0;
    transition: box-shadow 0.25s;
}

.ab-tl-item:hover .ab-tl-dot { 
    box-shadow: 0 0 0 6px rgba(10,132,255,0.2), 0 0 18px rgba(10,132,255,0.35); 
}

.ab-tl-content {
    flex: 1;
    background: var(--ta-bg-card);
    border: 1px solid var(--ta-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: border-color 0.25s, transform 0.25s;
}

.ab-tl-content:hover { 
    border-color: rgba(10,132,255,0.3); 
    transform: translateY(-2px); 
}

.ab-tl-empty {
    display: none;
}

.ab-tl-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--ta-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.ab-tl-title { 
    font-family: 'Rajdhani', sans-serif; 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: #fff; 
    margin-bottom: 8px; 
}

.ab-tl-desc { 
    font-size: 0.85rem; 
    color: var(--ta-muted); 
    line-height: 1.6; 
    margin: 0; 
}

/* Desktop styles - alternating layout */
@media(min-width: 768px) {
    /* Move line to center */
    .ab-timeline::before { 
        left: 50%; 
        transform: translateX(-50%);
    }
    
    /* Switch to grid layout */
    .ab-tl-item {
        display: grid;
        grid-template-columns: 1fr 48px 1fr;
        gap: 0 2rem;
        margin-bottom: 2.5rem;
    }
    
    /* Show empty divs on desktop */
    .ab-tl-empty {
        display: block;
    }
    
    /* Even items (2nd, 4th) - content on right */
    .ab-tl-item:nth-child(even) .ab-tl-content { 
        grid-column: 3; 
        grid-row: 1; 
        text-align: left;
    }
    
    .ab-tl-item:nth-child(even) .ab-tl-dot-wrap { 
        grid-column: 2; 
        grid-row: 1; 
    }
    
    .ab-tl-item:nth-child(even) .ab-tl-empty { 
        grid-column: 1; 
        grid-row: 1; 
    }
    
    /* Odd items (1st, 3rd, 5th) - content on left */
    .ab-tl-item:nth-child(odd) .ab-tl-content { 
        grid-column: 1; 
        grid-row: 1; 
        text-align: right;
    }
    
    .ab-tl-item:nth-child(odd) .ab-tl-dot-wrap { 
        grid-column: 2; 
        grid-row: 1; 
    }
    
    .ab-tl-item:nth-child(odd) .ab-tl-empty { 
        grid-column: 3; 
        grid-row: 1; 
    }
    
    .ab-tl-dot-wrap {
        padding-top: 12px;
    }
}

/* ── Team section ────────────────────────────────────────────── */
.ab-team {
    padding: 5.5rem 0;
    background: var(--ta-bg);
    position: relative;
    overflow: hidden;
}
.ab-team::before {
    content: '';
    position: absolute;
    width: 500px; height: 400px;
    background: radial-gradient(ellipse, rgba(10,132,255,0.06), transparent 70%);
    bottom: -80px; left: -80px;
    pointer-events: none;
}

.ab-team-card {
    background: var(--ta-bg-card);
    border: 1px solid var(--ta-border);
    border-radius: 16px;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.28s, transform 0.28s, box-shadow 0.28s;
    opacity: 0;
    transform: translateY(24px);
}
.ab-team-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.28s, box-shadow 0.28s;
}
.ab-team-card:hover {
    border-color: rgba(10,132,255,0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 0 1px rgba(10,132,255,0.18);
}
/* Glow edge on hover */
.ab-team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ta-blue), transparent);
    opacity: 0;
    transition: opacity 0.28s;
}
.ab-team-card:hover::before { opacity: 1; }

/* Background gradient behind avatar */
.ab-team-card-bg {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100px;
    background: radial-gradient(ellipse at 50% 0%, rgba(10,132,255,0.12), transparent 70%);
    pointer-events: none;
}

.ab-team-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10,132,255,0.2), rgba(10,132,255,0.06));
    border: 2px solid rgba(10,132,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ta-blue);
    transition: border-color 0.25s, box-shadow 0.25s;
    overflow: hidden;
}
.ab-team-card:hover .ab-team-avatar {
    border-color: rgba(10,132,255,0.6);
    box-shadow: 0 0 0 4px rgba(10,132,255,0.15), 0 0 20px rgba(10,132,255,0.2);
}
/* If using actual photo: */
.ab-team-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Status dot */
.ab-team-status {
    position: absolute;
    bottom: 4px; right: 4px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--ta-dev);
    border: 2px solid var(--ta-bg-card);
    box-shadow: 0 0 6px rgba(48,209,88,0.5);
}

.ab-team-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    transition: color 0.22s;
}
.ab-team-card:hover .ab-team-name { color: var(--ta-blue-light); }
.ab-team-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: var(--ta-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.ab-team-bio {
    font-size: 0.81rem;
    color: var(--ta-muted);
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

/* Skill tags */
.ab-team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.ab-team-skill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--ta-border);
    color: var(--ta-muted);
    transition: all 0.2s;
}
.ab-team-card:hover .ab-team-skill {
    background: var(--ta-blue-dim);
    border-color: rgba(10,132,255,0.22);
    color: var(--ta-blue-light);
}

/* Social links */
.ab-team-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 1rem;
    border-top: 1px solid var(--ta-border);
}
.ab-team-social-link {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--ta-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--ta-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.22s;
}
.ab-team-social-link:hover {
    background: var(--ta-blue-dim);
    border-color: rgba(10,132,255,0.3);
    color: var(--ta-blue);
    transform: translateY(-2px);
}

/* ── Values section ──────────────────────────────────────────── */
.ab-values {
    padding: 5.5rem 0;
    background: #07070f;
    position: relative;
    overflow: hidden;
}
.ab-values::before {
    content: '';
    position: absolute;
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(10,132,255,0.07), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ab-value-card {
    background: var(--ta-bg-card);
    border: 1px solid var(--ta-border);
    border-radius: 14px;
    padding: 1.75rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color 0.26s, transform 0.26s, box-shadow 0.26s;
    opacity: 0;
    transform: translateY(18px);
}
.ab-value-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.26s, box-shadow 0.26s;
}
.ab-value-card:hover {
    border-color: rgba(10,132,255,0.35);
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.4);
}
.ab-value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--ta-blue), transparent);
    opacity: 0;
    transition: opacity 0.26s;
}
.ab-value-card:hover::before { opacity: 1; }

/* Big number accent */
.ab-value-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(10,132,255,0.08);
    line-height: 1;
    position: absolute;
    top: 10px; right: 16px;
    transition: color 0.26s;
    pointer-events: none;
}
.ab-value-card:hover .ab-value-num { color: rgba(10,132,255,0.14); }

.ab-value-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
    background: linear-gradient(135deg, rgba(10,132,255,0.18), rgba(10,132,255,0.06));
    border: 1px solid rgba(10,132,255,0.25);
    color: var(--ta-blue);
    transition: box-shadow 0.26s;
}
.ab-value-card:hover .ab-value-icon { box-shadow: 0 0 16px rgba(10,132,255,0.25); }
.ab-value-title { font-family: 'Rajdhani', sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.ab-value-desc  { font-size: 0.82rem; color: var(--ta-muted); line-height: 1.68; margin: 0; }

/* ── CTA section ─────────────────────────────────────────────── */
.ab-cta {
    padding: 5.5rem 0;
    background: var(--ta-bg);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--ta-border);
}
.ab-cta::before {
    content: '';
    position: absolute;
    width: 700px; height: 350px;
    background: radial-gradient(ellipse, rgba(10,132,255,0.10), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.ab-cta-inner { position: relative; z-index: 1; }

.ab-cta-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}
.ab-cta-sub {
    color: var(--ta-muted);
    font-size: 0.95rem;
    line-height: 1.78;
    max-width: 520px;
    margin-bottom: 2rem;
}
.ab-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Section common ──────────────────────────────────────────── */
.ab-eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.67rem;
    color: var(--ta-blue);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.6rem;
}
.ab-section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}
.ab-section-sub {
    color: var(--ta-muted);
    font-size: 0.9rem;
    max-width: 500px;
    line-height: 1.72;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes abFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Add this to your about.css file or in the style section */

.ab-team-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(10,132,255,0.1);
    border: 1px solid rgba(10,132,255,0.25);
    border-radius: 40px;
    color: #0a84ff;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 1rem;
    width: fit-content;
}

.ab-team-link:hover {
    background: rgba(10,132,255,0.2);
    border-color: #0a84ff;
    color: #0a84ff;
    gap: 0.75rem;
    transform: translateY(-2px);
}

.ab-team-link i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.ab-team-link:hover i {
    transform: translateX(3px);
}

/* Optional: Full width on mobile */
@media (max-width: 768px) {
    .ab-team-link {
        width: 100%;
        justify-content: center;
    }
}



 
/* ─── Section: Team Grid ───────────────────────────────── */
.team-section {
    padding: 5rem 0 7rem;
    background: var(--ta-bg);
}
 
.section-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ta-blue);
    margin-bottom: 0.5rem;
}
 
.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--ta-heading);
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
}
 
.section-rule {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--ta-blue), transparent);
    margin: 0.8rem 0 0;
}

/* ─── Member Card ──────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.6rem;
    margin-top: 3rem;
    align-items: stretch;
}
 
.member-card {
    position: relative;
    background: var(--ta-bg-card);
    border: 1px solid var(--ta-border);
    border-radius: var(--ta-radius-lg);
    overflow: hidden;
    text-decoration: none;
    display: flex;           /* Change from 'block' to 'flex' */
    flex-direction: column; /* Stack children vertically */
    height: 100%;           /* Fill the grid cell height */
    transition: border-color var(--ta-ease), transform var(--ta-ease), box-shadow var(--ta-ease);
    animation: fadeUp 0.5s ease both;
}
.member-card:nth-child(1)  { animation-delay: 0.05s; }
.member-card:nth-child(2)  { animation-delay: 0.10s; }
.member-card:nth-child(3)  { animation-delay: 0.15s; }
.member-card:nth-child(4)  { animation-delay: 0.20s; }
.member-card:nth-child(5)  { animation-delay: 0.25s; }
.member-card:nth-child(6)  { animation-delay: 0.30s; }
 
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
 
.member-card:hover {
    border-color: var(--ta-border-hov);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(10,132,255,0.12), 0 0 0 1px rgba(10,132,255,0.15);
}
 
/* corner accent */
.member-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(10,132,255,0.18) 0%, transparent 60%);
    pointer-events: none;
    transition: opacity var(--ta-ease);
    opacity: 0;
    z-index: 1;
}
.member-card:hover::before { opacity: 1; }
 
/* featured badge */
.card-featured-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ta-audit);
    background: rgba(255,159,10,0.10);
    border: 1px solid rgba(255,159,10,0.30);
    padding: 0.22rem 0.6rem;
    border-radius: 4px;
}
 
/* image area */
.card-image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0b0b18;
}
.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: saturate(0.85);
}
.member-card:hover .card-image-wrap img {
    transform: scale(1.04);
    filter: saturate(1);
}
 
/* image gradient overlay */
.card-image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--ta-bg-card), transparent);
    pointer-events: none;
}
 
/* initials fallback */
.card-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--ta-blue);
    background: linear-gradient(135deg, #0b0b1e 0%, #0d1229 100%);
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--ta-border);
}
 
/* card body */
.card-body {
    padding: 1.4rem 1.5rem 1.6rem;
    position: relative;
    flex: 1;                /* Push footer to bottom */
    display: flex;
    flex-direction: column;
}
 
.card-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ta-heading);
    letter-spacing: 0.03em;
    margin-bottom: 0.2rem;
    transition: color var(--ta-ease);
}
.member-card:hover .card-name { color: var(--ta-blue-light); }
 
.card-designation {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--ta-blue);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}
 
.card-bio {
    font-size: 0.855rem;
    color: var(--ta-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.2rem;
}
 
/* skills chips */
.card-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}
.skill-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    color: var(--ta-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--ta-border);
    border-radius: 4px;
    padding: 0.18rem 0.55rem;
    transition: color var(--ta-ease), border-color var(--ta-ease);
}
.member-card:hover .skill-chip {
    color: var(--ta-blue);
    border-color: rgba(10,132,255,0.25);
}
 
/* card footer */
.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--ta-border);
    margin-top: auto; 
}
 
.card-socials {
    display: flex;
    gap: 0.6rem;
}
.card-social-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--ta-border);
    color: var(--ta-muted);
    transition: all var(--ta-ease);
    text-decoration: none;
    font-size: 0.8rem;
}
.card-social-link:hover {
    background: var(--ta-blue-dim);
    border-color: rgba(10,132,255,0.3);
    color: var(--ta-blue);
}
 
.card-cta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--ta-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap var(--ta-ease), color var(--ta-ease);
}
.card-cta:hover { color: var(--ta-blue-light); gap: 0.6rem; }
.card-cta svg { transition: transform var(--ta-ease); }
.card-cta:hover svg { transform: translateX(3px); }
 
/* experience badge */
.card-exp {
    position: absolute;
    top: -18px;
    right: 1.5rem;
    background: var(--ta-blue);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.7rem;
    border-radius: 5px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(10,132,255,0.35);
}
 
/* ─── Empty state ───────────────────────────────────────── */
.team-empty {
    text-align: center;
    padding: 5rem 2rem;
}
.team-empty__icon {
    font-size: 3rem;
    color: var(--ta-faint);
    margin-bottom: 1.2rem;
}
.team-empty__title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    color: var(--ta-muted);
    margin-bottom: 0.5rem;
}
.team-empty__sub {
    font-size: 0.9rem;
    color: var(--ta-faint);
}
 
/* ─── Bottom CTA band ───────────────────────────────────── */
.team-cta-band {
    background: linear-gradient(135deg, #0d0d20 0%, #0a101e 100%);
    border-top: 1px solid var(--ta-border);
    border-bottom: 1px solid var(--ta-border);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.team-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(10,132,255,0.08) 0%, transparent 70%);
}
.team-cta-band__inner { position: relative; z-index: 1; }
.team-cta-band__title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ta-heading);
    letter-spacing: 0.04em;
    margin-bottom: 0.8rem;
}
.team-cta-band__sub {
    color: var(--ta-muted);
    font-size: 0.95rem;
    max-width: 440px;
    margin: 0 auto 2rem;
}
 
/* responsive */
@media (max-width: 768px) {
    .hero-stats { gap: 1.8rem; flex-wrap: wrap; }
    .team-grid  { grid-template-columns: 1fr; }
}