/* =====================================================
   BD ABOUT ME PAGE
   ===================================================== */

/* Dark mode transition */
.bd-about-page,
.bd-about-page * { transition: background-color .3s ease, color .3s ease, border-color .3s ease; }

.bd-about-page { padding: 40px 0 80px; background: var(--page-bg, #f8fafc); }

/* ── Hero ─────────────────────────────────────────── */
.bd-ab-hero {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0 70px;
}

.bd-ab-hero-img-wrap { position: relative; }

.bd-ab-photo {
    width: 100%; border-radius: 28px;
    box-shadow: 0 24px 64px rgba(99,102,241,.2);
    object-fit: cover; aspect-ratio: 4/5;
    display: block;
}
.bd-ab-photo-placeholder {
    width: 100%; aspect-ratio: 4/5; border-radius: 28px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex; align-items: center; justify-content: center;
    font-size: 100px; color: #93c5fd;
}

.bd-ab-available {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
    border-radius: 999px; padding: 8px 18px;
    font-size: .8rem; font-weight: 700; color: #0f172a;
    display: flex; align-items: center; gap: 8px;
    white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.bd-ab-available span {
    width: 10px; height: 10px; border-radius: 50%; background: #10b981;
    animation: bd-ab-blink 1.4s ease-in-out infinite;
}
@keyframes bd-ab-blink { 0%,100%{ opacity:1; } 50%{ opacity:.3; } }

.bd-ab-greeting { font-size: 1rem; color: #6366f1; font-weight: 700; margin: 0 0 6px; }
.bd-ab-name { font-size: 3rem; font-weight: 900; color: #0f172a; margin: 0 0 8px; line-height: 1.1; }
.bd-ab-title {
    font-size: 1.2rem; font-weight: 600; color: #6366f1;
    background: linear-gradient(90deg, #6366f1, #2563eb);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin: 0 0 20px;
}
.bd-ab-bio { color: #475569; line-height: 1.8; font-size: .95rem; margin-bottom: 24px; }

/* Social links */
.bd-ab-socials { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.bd-ab-social {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--sc, #6366f1); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.bd-ab-social:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0,0,0,.2); }

/* CTA buttons */
.bd-ab-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.bd-ab-btn-primary {
    padding: 13px 28px; border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #2563eb);
    color: #fff; font-weight: 700; font-size: .9rem;
    text-decoration: none; display: flex; align-items: center; gap: 8px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 20px rgba(99,102,241,.3);
}
.bd-ab-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(99,102,241,.4); color: #fff; }

.bd-ab-btn-outline {
    padding: 13px 28px; border-radius: 12px;
    border: 2px solid #e2e8f0; color: #475569;
    font-weight: 700; font-size: .9rem;
    text-decoration: none; display: flex; align-items: center; gap: 8px;
    transition: border-color .2s, color .2s;
}
.bd-ab-btn-outline:hover { border-color: #6366f1; color: #6366f1; }

/* ── Section common ───────────────────────────────── */
.bd-ab-section { margin-bottom: 60px; }
.bd-ab-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.bd-ab-accent { display: block; width: 5px; height: 32px; border-radius: 999px; background: linear-gradient(135deg, #6366f1, #2563eb); }
.bd-ab-section-head h2 { font-size: 1.6rem; font-weight: 800; color: #0f172a; margin: 0; }

/* ── Skills ──────────────────────────────────────── */
.bd-ab-skills-grid {
    display: grid; grid-template-columns: repeat(2,1fr); gap: 22px;
}
.bd-ab-skill {}
.bd-ab-skill-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.bd-ab-skill-name { font-weight: 700; color: #1e293b; font-size: .9rem; }
.bd-ab-skill-pct  { font-weight: 700; color: #6366f1; font-size: .88rem; }
.bd-ab-skill-bar { height: 8px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.bd-ab-skill-fill {
    height: 100%; background: linear-gradient(90deg, #6366f1, #2563eb);
    border-radius: 999px; width: 0; transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.bd-ab-skill-fill.animate { /* width is set inline */ }

/* ── Timeline ────────────────────────────────────── */
.bd-ab-timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 36px; }
.bd-ab-timeline::before {
    content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
    width: 2px; background: linear-gradient(180deg, #6366f1, #2563eb, #e2e8f0);
    border-radius: 2px;
}
.bd-ab-tl-item { position: relative; padding-bottom: 28px; }
.bd-ab-tl-item:last-child { padding-bottom: 0; }
.bd-ab-tl-dot {
    position: absolute; left: -30px; top: 4px;
    width: 16px; height: 16px; border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #2563eb);
    border: 3px solid #fff; box-shadow: 0 0 0 2px #6366f1;
}
.bd-ab-tl-year { font-size: .78rem; font-weight: 700; color: #6366f1; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.bd-ab-tl-role { font-size: 1rem; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.bd-ab-tl-company { font-size: .85rem; color: #64748b; display: flex; align-items: center; gap: 6px; }
.bd-ab-tl-company i { color: #6366f1; }

/* ── Stats ───────────────────────────────────────── */
.bd-ab-stats {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 56px;
}
.bd-ab-stat-card {
    background: #fff; border-radius: 20px; padding: 32px 20px;
    text-align: center; box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1px solid #f1f5f9;
    transition: transform .2s, box-shadow .2s;
}
.bd-ab-stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(99,102,241,.12); }
.bd-ab-stat-num { font-size: 2.4rem; font-weight: 900; color: #6366f1; line-height: 1; margin-bottom: 8px; }
.bd-ab-stat-label { font-size: .85rem; color: #64748b; font-weight: 600; }

/* ── CTA banner ──────────────────────────────────── */
.bd-ab-cta-banner {
    background: linear-gradient(135deg, #6366f1, #2563eb);
    border-radius: 24px; padding: 48px 56px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    color: #fff;
}
.bd-ab-cta-banner h2 { font-size: 1.8rem; font-weight: 800; margin: 0 0 8px; }
.bd-ab-cta-banner p  { font-size: .95rem; opacity: .85; margin: 0; }
.bd-ab-cta-banner .bd-ab-btn-primary {
    background: #fff; color: #6366f1;
    box-shadow: 0 8px 28px rgba(0,0,0,.2); white-space: nowrap;
}
.bd-ab-cta-banner .bd-ab-btn-primary:hover { background: #f8fafc; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
    .bd-ab-hero { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .bd-ab-photo { max-width: 280px; margin: 0 auto; }
    .bd-ab-photo-placeholder { max-width: 280px; margin: 0 auto; }
    .bd-ab-available { position: relative; bottom: auto; left: auto; transform: none; display: inline-flex; margin-top: 12px; }
    .bd-ab-socials, .bd-ab-ctas { justify-content: center; }
    .bd-ab-skills-grid { grid-template-columns: 1fr; }
    .bd-ab-stats { grid-template-columns: repeat(2,1fr); }
    .bd-ab-cta-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
}
@media (max-width: 480px) {
    .bd-ab-name { font-size: 2.2rem; }
    .bd-ab-stats { grid-template-columns: 1fr 1fr; }
}

/* ── Dark mode ───────────────────────────────────── */
body.dark-mode .bd-ab-name { color: #f1f5f9; }
body.dark-mode .bd-ab-bio  { color: #94a3b8; }
body.dark-mode .bd-ab-stat-card { background: #1e293b; border-color: #334155; }
body.dark-mode .bd-ab-tl-dot { border-color: #1e293b; }
body.dark-mode .bd-ab-tl-role { color: #e2e8f0; }
body.dark-mode .bd-ab-section-head h2 { color: #f1f5f9; }
body.dark-mode .bd-ab-skill-bar { background: #334155; }
body.dark-mode .bd-ab-skill-name { color: #e2e8f0; }
body.dark-mode .bd-ab-btn-outline { border-color: #334155; color: #94a3b8; }
body.dark-mode .bd-ab-available { background: rgba(30,41,59,.95); color: #e2e8f0; }
