/* ===========================
   Variables & Reset
=========================== */
:root {
    --bg:         #07101f;
    --surface:    #0d1b2e;
    --surface-2:  #102035;
    --border:     rgba(255, 255, 255, 0.07);
    --border-hi:  rgba(129, 140, 248, 0.3);
    --primary:    #818cf8;
    --primary-2:  #a78bfa;
    --glow:       rgba(129, 140, 248, 0.1);
    --gold:       #fbbf24;
    --gold-glow:  rgba(251, 191, 36, 0.12);
    --text:       #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim:   #64748b;
    --radius:     16px;
    --radius-sm:  8px;
    --ease:       0.3s ease;
    --font:       'Inter', sans-serif;
    --mono:       'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===========================
   Cursor Glow
=========================== */
.cursor-glow {
    position: fixed;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.055) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    will-change: left, top;
    transition: opacity 0.4s;
}

/* ===========================
   Navigation
=========================== */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(7, 16, 31, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-logo {
    font-family: var(--mono);
    font-size: 1.1rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    margin-left: auto;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    transition: color var(--ease);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-resume-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--border-hi);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--primary);
    transition: all var(--ease);
    white-space: nowrap;
}

.nav-resume-btn:hover {
    background: var(--glow);
    border-color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    background: rgba(7, 16, 31, 0.97);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
    display: block;
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color var(--ease);
}

.mobile-menu a:hover { color: var(--text); }

/* ===========================
   Hero
=========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 9rem 2rem 5rem;
    text-align: center;
}

/* Animated blobs */
.hero-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.3;
}

.blob-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    top: -140px; left: -100px;
    animation: blobFloat1 13s ease-in-out infinite;
}

.blob-2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, #8b5cf6, transparent 70%);
    top: 45%; right: -80px;
    animation: blobFloat2 11s ease-in-out infinite;
}

.blob-3 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, #2dd4bf, transparent 70%);
    bottom: -60px; left: 38%;
    animation: blobFloat3 15s ease-in-out infinite;
    opacity: 0.2;
}

@keyframes blobFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(55px, 90px) scale(1.08); }
}
@keyframes blobFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(-45px, -65px) scale(0.92); }
}
@keyframes blobFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(65px, -45px) scale(1.12); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.38rem 1rem;
    background: rgba(129, 140, 248, 0.08);
    border: 1px solid rgba(129, 140, 248, 0.22);
    border-radius: 100px;
    font-size: 0.78rem;
    color: var(--primary);
    margin-bottom: 1.75rem;
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 7px; height: 7px;
    background: #4ade80;
    border-radius: 50%;
    animation: badgePulse 2.2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(1.4); }
}

/* Name */
.hero-name {
    font-size: clamp(2.6rem, 6.5vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--text);
    margin-bottom: 1rem;
}

/* Typewriter row */
.hero-role {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 2.5vw, 1.45rem);
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    min-height: 2.2rem;
}

.role-prefix { color: var(--text-dim); }

.role-text {
    color: var(--primary);
    font-weight: 600;
}

.role-cursor {
    color: var(--primary);
    animation: cursorBlink 1s step-end infinite;
    margin-left: 1px;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Bio */
.hero-bio {
    font-size: 1.02rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

/* CTA buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary {
    padding: 0.78rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all var(--ease);
    box-shadow: 0 4px 22px rgba(129, 140, 248, 0.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(129, 140, 248, 0.35);
}

.btn-ghost {
    padding: 0.78rem 2rem;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.92rem;
    transition: all var(--ease);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Social icons */
.hero-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-socials a {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    transition: all var(--ease);
}

.hero-socials a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--glow);
    transform: translateY(-3px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.25rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-dot {
    width: 6px; height: 6px;
    background: var(--text-dim);
    border-radius: 50%;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50%       { transform: translateY(9px); opacity: 1; }
}

/* ===========================
   Stats Bar
=========================== */
.stats-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.75rem 0;
}

.stats-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stats-container .stat-item {
    flex: 1;
}

.stats-container .stat-divider {
    flex-shrink: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

.stat-number-row {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    line-height: 1;
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
}

.stat-suffix {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    height: 44px;
    background: var(--border);
    flex-shrink: 0;
}

/* ===========================
   Sections
=========================== */
.section {
    padding: 6rem 0;
}

.section-dark {
    background: var(--surface);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 0.97rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* ===========================
   Reveal Animation
=========================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Timeline
=========================== */
.timeline {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 1.5rem;
    bottom: 3rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary) 0%, transparent 100%);
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    padding-left: 2.25rem;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 14px; height: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 50%;
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 1px var(--primary);
    flex-shrink: 0;
}

.timeline-body {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: border-color var(--ease), box-shadow var(--ease);
}

.timeline-body:hover {
    border-color: rgba(129, 140, 248, 0.18);
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.22);
}

.company-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.company-role {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.company-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* Project entries (expandable) */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.project-entry {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--ease);
}

.project-entry:hover {
    border-color: rgba(129, 140, 248, 0.18);
}

.project-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    text-align: left;
    gap: 1rem;
}

.project-toggle:hover { background: rgba(255,255,255,0.02); }

.project-toggle-left {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.project-dot {
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.7;
}

.project-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.project-tag {
    font-size: 0.68rem;
    padding: 0.18rem 0.55rem;
    background: rgba(129, 140, 248, 0.08);
    border: 1px solid rgba(129, 140, 248, 0.18);
    border-radius: 100px;
    color: var(--primary);
    font-weight: 500;
}

.project-tag.highlight {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.22);
    color: var(--gold);
}

.toggle-icon {
    font-size: 0.7rem;
    color: var(--text-dim);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.project-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.project-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease;
}

.project-details.open {
    max-height: 600px;
}

.project-details ul {
    padding: 0.875rem 1.1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-details li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.65;
}

.project-details li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-dim);
    font-size: 0.75rem;
    top: 0.05em;
}

/* Inline bullets (internship) */
.inline-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.inline-bullets li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.65;
}

.inline-bullets li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-dim);
}

/* Tech pills */
.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.875rem 1.1rem;
}

.tech-pills span {
    font-size: 0.7rem;
    padding: 0.22rem 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-dim);
    font-family: var(--mono);
}

/* Tech pills outside project-details (e.g. internship) */
.timeline-body > .tech-pills {
    padding: 0;
    margin-top: 0.75rem;
}

/* ===========================
   Achievements
=========================== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
    max-width: 880px;
    margin: 0 auto;
}

.achievement-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color var(--ease), box-shadow var(--ease);
}

.achievement-card:hover {
    border-color: rgba(129, 140, 248, 0.22);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.achievement-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.achievement-icon-wrap {
    width: 46px; height: 46px;
    background: rgba(129, 140, 248, 0.1);
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.achievement-icon-wrap.gold {
    background: var(--gold-glow);
    border-color: rgba(251, 191, 36, 0.22);
    color: var(--gold);
}

.achievement-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.achievement-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.achievement-card p strong { color: var(--text); }

/* Review dots */
.review-track {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.review-dots {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.rdot {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid;
    transition: all 0.3s;
}

.rdot.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(129, 140, 248, 0.35);
}

.rdot.inactive {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
}

.review-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-dim);
}

/* Photo slot */
.photo-slot {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 0.25rem;
}

.photo-input { display: none; }

.photo-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 110px;
    border: 2px dashed rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-dim);
    font-size: 0.78rem;
    transition: all var(--ease);
    background: rgba(255, 255, 255, 0.015);
}

.photo-label:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--glow);
}

.photo-label i { font-size: 1.4rem; }

/* ===========================
   Skills
=========================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    max-width: 880px;
    margin: 0 auto;
}

.skill-group {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
    transition: border-color var(--ease);
}

.skill-group:hover {
    border-color: rgba(129, 140, 248, 0.18);
}

.skill-group-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.skill-group-title i {
    color: var(--primary);
    font-size: 0.85rem;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.skill-pills span {
    font-size: 0.78rem;
    padding: 0.32rem 0.75rem;
    background: rgba(129, 140, 248, 0.06);
    border: 1px solid rgba(129, 140, 248, 0.14);
    border-radius: 100px;
    color: var(--text-muted);
    transition: all var(--ease);
    cursor: default;
}

.skill-pills span:hover {
    background: rgba(129, 140, 248, 0.14);
    color: var(--text);
    border-color: rgba(129, 140, 248, 0.32);
    transform: translateY(-2px);
}

/* ===========================
   Education
=========================== */
.education-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.875rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    transition: border-color var(--ease);
}

.education-card:hover {
    border-color: rgba(129, 140, 248, 0.22);
}

.edu-icon {
    width: 54px; height: 54px;
    background: rgba(129, 140, 248, 0.1);
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    color: var(--primary);
    flex-shrink: 0;
}

.edu-info { flex: 1; min-width: 200px; }

.edu-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.edu-university {
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.edu-meta {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.edu-grade {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(129, 140, 248, 0.07);
    border: 1px solid rgba(129, 140, 248, 0.18);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    min-width: 86px;
}

.grade-val {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.grade-lbl {
    font-size: 0.68rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-top: 0.25rem;
}

/* ===========================
   Contact
=========================== */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    max-width: 580px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.2rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--ease);
}

.contact-card:hover {
    border-color: rgba(129, 140, 248, 0.22);
    background: var(--surface-2);
    transform: translateX(6px);
}

.contact-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.contact-icon.email   { background: rgba(129, 140, 248, 0.1); color: var(--primary); }
.contact-icon.linkedin { background: rgba(10, 102, 194, 0.14); color: #5ba3e0; }
.contact-icon.github  { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); }

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.contact-label {
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
}

.contact-value {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.contact-arrow {
    font-size: 0.78rem;
    color: var(--text-dim);
    transition: transform var(--ease), color var(--ease);
}

.contact-card:hover .contact-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

/* ===========================
   Footer
=========================== */
.footer {
    padding: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.footer-name {
    color: var(--primary);
    font-weight: 500;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
    .nav-links,
    .nav-resume-btn { display: none; }

    .hamburger { display: flex; }

    .stat-divider { display: none; }

    .stats-container {
        gap: 1.75rem;
        justify-content: center;
    }

    .stat-number { font-size: 2rem; }

    .achievements-grid { grid-template-columns: 1fr; }

    .company-header { flex-direction: column; }

    .company-meta { align-items: flex-start; }

    .education-card { flex-direction: column; text-align: center; }

    .edu-info { text-align: center; }

    .skills-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero { padding: 8rem 1.25rem 4rem; }
    .skills-grid { grid-template-columns: 1fr; }
    .section { padding: 4rem 0; }
    .stats-section { padding: 2rem 0; }
}
