﻿
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:         #0a0e1a;
    --bg-2:       #0f172a;
    --bg-card:    rgba(255,255,255,0.04);
    --bg-card-h:  rgba(255,255,255,0.08);
    --border:     rgba(255,255,255,0.09);
    --border-h:   rgba(99,102,241,0.5);
    --text:       #f1f5f9;
    --muted:      #94a3b8;
    --dim:        #475569;
    --primary:    #6366f1;
    --primary-l:  #818cf8;
    --cyan:       #06b6d4;
    --violet:     #8b5cf6;
    --grad:       linear-gradient(135deg,#6366f1 0%,#8b5cf6 50%,#06b6d4 100%);
    --shadow:     0 24px 48px rgba(0,0,0,0.5);
    --nav-h:      68px;
    --r:          14px;
    --ease:       all 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::selection { background: rgba(99,102,241,0.3); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ─── NAV ─── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-h); display: flex; align-items: center;
    transition: var(--ease);
}
.navbar.scrolled {
    background: rgba(10,14,26,0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.nav-logo-img { height: 32px; width: auto; display: block; }
.nav-logo-name { font-size: 0.95rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.nav-links { display: flex; list-style: none; gap: 4px; align-items: center; }
.nav-links a {
    color: var(--muted); text-decoration: none;
    font-size: 0.875rem; font-weight: 500;
    padding: 7px 14px; border-radius: 8px;
    transition: var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--bg-card-h); }
.nav-cta {
    background: var(--grad) !important; color: #fff !important;
    padding: 8px 20px !important; border-radius: 24px !important;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(99,102,241,0.4); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--ease); }

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }


.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 20%, transparent 80%);
}

/* ── CONTENT ── */
.hero-content {
    position: relative;
    z-index: 1;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-logo-img { height: 80px; width: auto; margin-bottom: 24px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.82rem; font-weight: 500; color: var(--muted);
    border: 1px solid var(--border); border-radius: 50px;
    padding: 6px 16px; margin-bottom: 28px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
}
.hero-badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--cyan); flex-shrink: 0;
    box-shadow: 0 0 8px var(--cyan);
}

.hero-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text);
}
.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    min-height: 1.8rem;
}
.hero-role-static {
    font-size: clamp(0.88rem, 1.8vw, 1.05rem);
    color: var(--muted);
    font-weight: 500;
}
.hero-divider-dot {
    color: var(--dim);
    font-size: 1.1rem;
    line-height: 1;
}
.hero-typed-wrap {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: clamp(0.88rem, 1.8vw, 1.05rem);
    color: var(--cyan);
    font-weight: 600;
}

.cursor {
    display: inline-block;
    width: 2px; height: 1.1em;
    background: var(--cyan);
    border-radius: 1px;
    animation: blink 0.75s infinite;
    vertical-align: middle;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-bio {
    font-size: 1rem;
    color: var(--muted);
    max-width: 540px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 64px;
}

.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 28px; border-radius: 50px;
    font-size: 0.9rem; font-weight: 600;
    text-decoration: none; transition: var(--ease);
    cursor: pointer; border: none; letter-spacing: 0.01em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-primary {
    background: var(--grad); color: #fff;
    box-shadow: 0 8px 24px rgba(99,102,241,0.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(99,102,241,0.52); }
.btn-ghost {
    background: transparent; border: 1.5px solid var(--border); color: var(--text);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-l); transform: translateY(-2px); }

.hero-li-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 50px;
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--muted);
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--ease);
    flex-shrink: 0;
}
.hero-li-btn:hover {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10,102,194,0.1);
    transform: translateY(-2px);
}

/* ── STATS STRIP ── */
.hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.hero-stat {
    padding: 28px 16px;
    text-align: center;
    position: relative;
    transition: background 0.25s ease;
}
.hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20px; bottom: 20px;
    width: 1px;
    background: rgba(255,255,255,0.07);
}
.hero-stat:hover { background: rgba(255,255,255,0.04); }
.hs-num {
    display: block;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.hs-lbl {
    font-size: 0.71rem;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 500;
}

.scroll-hint {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: var(--dim); font-size: 0.72rem; letter-spacing: 0.1em;
    text-transform: uppercase; z-index: 1;
    animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* Light theme overrides */
html[data-theme="light"] .hero-stats {
    background: rgba(255,255,255,0.7);
    border-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .hero-stat:not(:last-child)::after {
    background: rgba(0,0,0,0.08);
}
html[data-theme="light"] .hero-stat:hover { background: rgba(0,0,0,0.03); }

/* ─── SECTIONS ─── */
section { padding: 96px 0; }
#about, #experience, #contact { background: var(--bg-2); }

/* ─── PROJECTS PAGE ─── */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.proj-card { display: flex; flex-direction: column; }
.proj-tech-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.proj-link { margin-top: 16px; width: fit-content; padding: 9px 20px; font-size: 0.82rem; }

/* ─── RECENT ARTICLES ─── */
.recent-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.recent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.recent-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; transition: var(--ease); }
.recent-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(99,102,241,0.15); }
.recent-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.recent-cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--primary-l); background: rgba(99,102,241,.12); border-radius: 50px; padding: 3px 10px; }
.recent-time { font-size: 0.75rem; color: var(--dim); }
.recent-title { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.4; }
.recent-excerpt { font-size: 0.85rem; color: var(--dim); line-height: 1.6; flex: 1; }
.recent-cta { font-size: 0.82rem; font-weight: 600; color: var(--primary-l); display: flex; align-items: center; gap: 6px; margin-top: 4px; }
@media (max-width: 768px) { .recent-grid { grid-template-columns: 1fr; } .recent-header { flex-direction: column; align-items: flex-start; } }

/* ─── STUDY GUIDES ─── */
.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 48px; }
.guides-empty { color: var(--dim); font-size: 0.9rem; }
.guide-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, transform .2s; }
.guide-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.guide-cert { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(99,102,241,.15); color: var(--primary-l); border: 1px solid rgba(99,102,241,.3); border-radius: 6px; padding: 3px 10px; width: fit-content; }
.guide-title { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.4; }
.guide-desc { font-size: 0.875rem; color: var(--dim); line-height: 1.6; }

.section-label {
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--primary-l); margin-bottom: 10px;
    display: flex; align-items: center; gap: 10px;
}
.section-label::after { content:''; width:28px; height:1px; background:var(--primary); display:block; }
.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 700; line-height: 1.18;
    margin-bottom: 14px; letter-spacing: -0.02em;
}
.section-sub { color: var(--muted); font-size: 0.95rem; max-width: 500px; line-height: 1.75; margin-bottom: 52px; }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; align-items: center; }

.photo-wrap { position: relative; }
.photo-placeholder {
    width: 100%; aspect-ratio: 1; border-radius: 24px;
    background: linear-gradient(135deg, #1e293b, #111827);
    border: 1px solid var(--border);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; color: var(--dim); font-size: 0.82rem;
}
.photo-placeholder i { font-size: 3.5rem; }
.photo-actual { width: 100%; aspect-ratio: 1; border-radius: 24px; object-fit: cover; border: 1px solid var(--border); display: block; }

.exp-badge {
    position: absolute; bottom: -18px; right: -18px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--r); padding: 16px 20px; text-align: center;
    box-shadow: var(--shadow);
}
.exp-badge .num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.1rem; font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1;
}
.exp-badge .lbl { font-size: 0.67rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

.about-copy p { color: var(--muted); line-height: 1.8; margin-bottom: 14px; font-size: 0.95rem; }
.about-copy h3 { font-family:'Plus Jakarta Sans', sans-serif; font-size:1.4rem; font-weight:600; margin-bottom:14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.tag {
    padding: 5px 13px; border-radius: 7px; font-size: 0.77rem; font-weight: 500;
    background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.22);
    color: var(--primary-l);
}

/* ─── SKILLS ─── */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(275px,1fr)); gap: 20px; }
.skill-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r); padding: 26px; transition: var(--ease);
}
.skill-card:hover { border-color: var(--border-h); background: var(--bg-card-h); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.sk-icon {
    width: 44px; height: 44px; border-radius: 11px;
    background: var(--grad); display: flex; align-items: center;
    justify-content: center; margin-bottom: 18px; font-size: 1.1rem; color: #fff;
}
.skill-card h4 { font-family:'Plus Jakarta Sans', sans-serif; font-size:0.95rem; font-weight:600; margin-bottom:14px; }
.stags { display: flex; flex-wrap: wrap; gap: 7px; }
.stag {
    padding: 4px 10px; border-radius: 6px; font-size: 0.73rem; font-weight: 500;
    background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.1); color: var(--muted);
}

/* ─── EXPERIENCE ─── */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
    content:''; position:absolute; left:5px; top:8px; bottom:0; width:2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}
.tl-item { position: relative; margin-bottom: 36px; }
.tl-dot {
    position: absolute; left: -27px; top: 8px;
    width: 13px; height: 13px; border-radius: 50%;
    background: var(--grad); border: 2px solid var(--bg);
    box-shadow: 0 0 0 2px var(--primary);
}
.tl-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r); padding: 26px; transition: var(--ease);
}
.tl-card:hover { border-color: var(--border-h); background: var(--bg-card-h); }
.tl-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.tl-title { font-family:'Plus Jakarta Sans', sans-serif; font-size:1.05rem; font-weight:600; }
.tl-period {
    font-size: 0.75rem; padding: 3px 12px;
    background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.25);
    color: var(--cyan); border-radius: 20px; font-weight: 500; white-space: nowrap;
}
.tl-company { font-size: 0.85rem; color: var(--primary-l); font-weight: 500; margin-bottom: 12px; }
.tl-desc { color: var(--muted); font-size: 0.875rem; line-height: 1.75; }
.tl-desc ul { padding-left: 16px; margin-top: 8px; }
.tl-desc li { margin-bottom: 5px; }
.tech-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tech-tag {
    padding: 3px 10px; border-radius: 5px; font-size: 0.7rem; font-weight: 500;
    background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2); color: var(--primary-l);
}

/* ─── PROJECTS ─── */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px,1fr)); gap: 22px; }
.proj-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r); padding: 26px; transition: var(--ease);
    display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.proj-card::before {
    content:''; position:absolute; top:0; left:0; right:0; height:3px;
    background: var(--grad); opacity: 0; transition: var(--ease);
}
.proj-card:hover { border-color: var(--border-h); background: var(--bg-card-h); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.proj-card:hover::before { opacity: 1; }
.proj-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.proj-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--grad); display: flex; align-items: center;
    justify-content: center; font-size: 1.25rem; color: #fff;
}
.proj-links { display: flex; gap: 7px; }
.proj-link {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--muted); text-decoration: none; font-size: 0.82rem;
    transition: var(--ease);
}
.proj-link:hover { border-color: var(--primary); color: var(--primary-l); }
.proj-title { font-family:'Plus Jakarta Sans', sans-serif; font-size:1.05rem; font-weight:600; margin-bottom: 10px; }
.proj-desc { color: var(--muted); font-size: 0.87rem; line-height: 1.72; flex: 1; margin-bottom: 20px; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 7px; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.c-intro { color: var(--muted); line-height: 1.75; margin-bottom: 36px; font-size: 0.95rem; }
.c-item {
    display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
    text-decoration: none; color: var(--text); transition: var(--ease);
}
.c-item:hover .c-item-icon { background: rgba(99,102,241,0.2); border-color: var(--primary); }
.c-item:hover { color: var(--primary-l); }
.c-item-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-l); font-size: 0.9rem; transition: var(--ease);
}
.c-item-label { font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.c-item-val { font-size: 0.85rem; color: var(--muted); }
.c-availability {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
    font-size: 0.82rem; font-weight: 500; color: var(--muted);
    background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.25);
    border-radius: 50px; padding: 7px 16px;
}
.c-avail-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #10b981; flex-shrink: 0;
    box-shadow: 0 0 8px rgba(16,185,129,0.7);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green { 0%,100%{opacity:1} 50%{opacity:.4} }

.c-form {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r); padding: 34px;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--muted); margin-bottom: 7px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 11px 15px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    border-radius: 9px; color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.88rem;
    transition: var(--ease); outline: none;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary); background: rgba(99,102,241,0.05);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--dim); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { margin-top: 10px; font-size: 0.77rem; color: var(--dim); text-align: center; }

/* ─── LANGUAGE PILLS (in About) ─── */
.lang-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lang-pill {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 8px; padding: 7px 14px;
}
.lang-name { font-size: 0.83rem; font-weight: 500; color: var(--text); }
.lang-level {
    font-size: 0.7rem; font-weight: 600; padding: 2px 8px;
    border-radius: 5px; text-transform: uppercase; letter-spacing: 0.05em;
}
.lang-level.native  { background: rgba(99,102,241,0.15); color: var(--primary-l); }
.lang-level.fluent  { background: rgba(6,182,212,0.15);  color: var(--cyan); }
.lang-level.advanced{ background: rgba(139,92,246,0.15); color: var(--violet); }

/* ─── EDUCATION ─── */
#education { background: var(--bg-2); }

.edu-card {
    display: flex; align-items: flex-start; gap: 20px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r); padding: 28px;
    margin-bottom: 36px; transition: var(--ease);
}
.edu-card:hover { border-color: var(--border-h); background: var(--bg-card-h); }
.edu-icon {
    width: 52px; height: 52px; border-radius: 13px;
    background: var(--grad); display: flex; align-items: center;
    justify-content: center; font-size: 1.3rem; color: #fff; flex-shrink: 0;
}
.edu-degree { font-family:'Plus Jakarta Sans', sans-serif; font-size:1.1rem; font-weight:600; margin-bottom:4px; }
.edu-school { font-size:0.88rem; color:var(--primary-l); font-weight:500; margin-bottom:12px; }
.edu-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.edu-honor {
    font-size: 0.78rem; color: #fbbf24; font-weight: 500;
    display: flex; align-items: center; gap: 5px;
}

.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 18px; }
.cert-card {
    display: flex; align-items: flex-start; gap: 16px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r); padding: 22px; transition: var(--ease);
}
.cert-card:hover { border-color: var(--border-h); background: var(--bg-card-h); transform: translateY(-3px); }
.cert-badge {
    width: 42px; height: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; color: #fff; flex-shrink: 0;
}
.cert-badge.ms    { background: linear-gradient(135deg,#0078d4,#00bcf2); }
.cert-badge.pbi   { background: linear-gradient(135deg,#f2c811,#e8a800); color: #1a1a1a; }
.cert-badge.udemy { background: linear-gradient(135deg,#ec5252,#a435f0); }
.cert-title  { font-size:0.87rem; font-weight:600; color:var(--text); line-height:1.45; margin-bottom:5px; }
.cert-issuer { font-size:0.77rem; color:var(--primary-l); font-weight:500; margin-bottom:4px; }
.cert-date   { font-size:0.73rem; color:var(--dim); }

/* ─── HERO STATS ─── */
.hero-stats {
    display: flex; gap: 0; flex-wrap: wrap;
    border: 1px solid var(--border); border-radius: var(--r);
    background: var(--bg-card); overflow: hidden;
    margin-top: 48px; width: fit-content;
}
.stat {
    padding: 16px 28px; border-right: 1px solid var(--border);
    display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.stat:last-child { border-right: none; }
.stat-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem; font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1;
}
.stat-lbl { font-size: 0.72rem; color: var(--muted); font-weight: 500; white-space: nowrap; letter-spacing: 0.02em; }

/* ─── EXPERTISE CARDS ─── */
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 22px; }
.exp-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r); padding: 28px; transition: var(--ease);
    position: relative; overflow: hidden;
}
.exp-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: var(--grad); opacity: 0; transition: var(--ease);
}
.exp-card:hover { border-color: var(--border-h); background: var(--bg-card-h); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.exp-card:hover::after { opacity: 1; }
.exp-card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--grad); display: flex; align-items: center;
    justify-content: center; font-size: 1.2rem; color: #fff; margin-bottom: 18px;
}
.exp-card h4 { font-family:'Plus Jakarta Sans', sans-serif; font-size:1.05rem; font-weight:700; margin-bottom: 10px; }
.exp-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.7; margin-bottom: 18px; }

/* ─── ARTICLES ─── */
#articles { background: var(--bg-2); }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 22px; }
.article-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r); padding: 26px; transition: var(--ease);
    display: flex; flex-direction: column;
}
.article-card:hover { border-color: var(--border-h); background: var(--bg-card-h); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.article-cat {
    display: inline-block; font-size: 0.7rem; font-weight: 600;
    padding: 3px 10px; border-radius: 5px; margin-bottom: 14px;
    text-transform: uppercase; letter-spacing: 0.07em;
}
.article-cat.bc     { background: rgba(99,102,241,0.15); color: var(--primary-l); }
.article-cat.api    { background: rgba(6,182,212,0.15);  color: var(--cyan); }
.article-cat.ls     { background: rgba(139,92,246,0.15); color: var(--violet); }
.article-cat.pbi    { background: rgba(251,191,36,0.15); color: #fbbf24; }
.article-card h4 { font-family:'Plus Jakarta Sans', sans-serif; font-size:1rem; font-weight:600; line-height:1.35; margin-bottom:10px; }
.article-card p  { color: var(--muted); font-size:0.83rem; line-height:1.7; flex:1; margin-bottom:18px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.article-date { font-size: 0.73rem; color: var(--dim); }
.article-read { font-size: 0.73rem; color: var(--dim); }
.article-tags-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.atag {
    padding: 2px 8px; border-radius: 5px; font-size: 0.7rem; font-weight: 500;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: var(--muted);
}

/* ─── VALUE PROPS ─── */
.value-props { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 20px; margin-top: 40px; }
.vp-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r); padding: 24px; transition: var(--ease);
}
.vp-card:hover { border-color: var(--border-h); background: var(--bg-card-h); }
.vp-icon {
    width: 42px; height: 42px; border-radius: 10px; font-size: 1rem;
    background: var(--grad); display: flex; align-items: center; justify-content: center;
    color: #fff; margin-bottom: 16px;
}
.vp-card h4 { font-family:'Plus Jakarta Sans', sans-serif; font-size:0.95rem; font-weight:600; margin-bottom:8px; }
.vp-card p  { color: var(--muted); font-size:0.83rem; line-height:1.7; }

/* ─── SKILLS COMPACT CLOUD ─── */
.skills-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.sc-tag {
    padding: 6px 14px; border-radius: 8px; font-size: 0.8rem; font-weight: 500;
    background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.1); color: var(--muted);
    transition: var(--ease);
}
.sc-tag:hover { border-color: var(--primary); color: var(--primary-l); background: rgba(99,102,241,0.1); }

/* ─── THEME TOGGLE BUTTON ─── */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ease);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.theme-toggle:hover { color: var(--text); background: var(--bg-card-h); border-color: var(--primary); }

/* ─── LIGHT THEME ─── */
html[data-theme="light"] {
    --bg:         #f0f4f8;
    --bg-2:       #ffffff;
    --bg-card:    rgba(0,0,0,0.04);
    --bg-card-h:  rgba(0,0,0,0.07);
    --border:     rgba(0,0,0,0.1);
    --border-h:   rgba(99,102,241,0.45);
    --text:       #0f172a;
    --muted:      #475569;
    --dim:        #94a3b8;
    --shadow:     0 24px 48px rgba(0,0,0,0.1);
}
html[data-theme="light"] .navbar.scrolled {
    background: rgba(240,244,248,0.94);
}
html[data-theme="light"] .nav-links.open {
    background: rgba(240,244,248,0.97);
}
html[data-theme="light"] .hero-grid {
    background-image:
        linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
}
html[data-theme="light"] .hf-1,
html[data-theme="light"] .hf-2,
html[data-theme="light"] .hf-3 { background: #ffffff; box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
html[data-theme="light"] .atag {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.1);
}
html[data-theme="light"] .blog-search-wrap { background: rgba(0,0,0,0.03); }
html[data-theme="light"] .tag-pill { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.09); }
html[data-theme="light"] .article-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
html[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg); }

/* ─── FOOTER ─── */
footer { padding: 36px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-copy { color: var(--dim); font-size: 0.82rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--dim); text-decoration: none; font-size: 0.82rem; transition: var(--ease); }
.footer-links a:hover { color: var(--primary-l); }

/* ─── REVEAL ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.tl-item { opacity: 0; transform: translateX(-18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.tl-item.visible { opacity: 1; transform: translateX(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 680px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stat:nth-child(2)::after { display: none; }
    .hero-stat:nth-child(3)::after { display: none; }
    .hero-stat:nth-child(1),
    .hero-stat:nth-child(2) {
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    html[data-theme="light"] .hero-stat:nth-child(1),
    html[data-theme="light"] .hero-stat:nth-child(2) {
        border-bottom-color: rgba(0,0,0,0.08);
    }
    .hero-sub-row { flex-direction: column; gap: 6px; }
    .hero-divider-dot { display: none; }
}
@media (max-width: 820px) {
    .about-grid { grid-template-columns: 1fr; }
    .photo-wrap { max-width: 260px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: fixed; top: var(--nav-h); left: 0; right: 0;
        background: rgba(10,14,26,0.96); backdrop-filter: blur(20px);
        padding: 18px; border-bottom: 1px solid var(--border); gap: 2px;
    }
    .hamburger { display: flex; }
    section { padding: 64px 0; }
    .footer-inner { justify-content: center; text-align: center; }
    .hero-right { display: none; }
}

