/* ── IMPORTS & RESET ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #1e40af;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --blue-pale: #eff6ff;
  --blue-border: #bfdbfe;
  --text: #1f2937;
  --muted: #6b7280;
  --light: #9ca3af;
  --bg: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gradient-text { background: linear-gradient(135deg, var(--primary), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-title { font-size: 2.25rem; font-weight: 800; margin-bottom: 1rem; }
.section-divider { width: 6rem; height: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-light)); margin: 0 auto 2rem; border-radius: 2px; }
.section-subtitle { color: var(--muted); max-width: 640px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.2s; border: none; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--blue-pale); }
.tag { background: #f1f5f9; color: #475569; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 500; }
.badge { padding: 2px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; border: 1px solid; }
.badge-green { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.badge-blue  { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.badge-purple{ background: #faf5ff; color: #6b21a8; border-color: #e9d5ff; }
.badge-yellow{ background: #fefce8; color: #854d0e; border-color: #fef08a; }

/* ── ANIMATIONS ── */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }
@keyframes pulse-glow { from{box-shadow:0 0 20px rgba(30,64,175,0.3)} to{box-shadow:0 0 40px rgba(59,130,246,0.6)} }
@keyframes rotate { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes rotate-rev { from{transform:rotate(0deg)} to{transform:rotate(-360deg)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes slideInLeft { from{opacity:0;transform:translateX(-40px)} to{opacity:1;transform:translateX(0)} }
@keyframes slideInRight { from{opacity:0;transform:translateX(40px)} to{opacity:1;transform:translateX(0)} }
@keyframes barFill { from{width:0} to{width:var(--w)} }
@keyframes typing { 0%,100%{opacity:1} 50%{opacity:0} }

.animate { opacity: 0; }
.animate.in { animation: fadeUp 0.7s ease forwards; }
.animate-left.in { animation: slideInLeft 0.7s ease forwards; }
.animate-right.in { animation: slideInRight 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s !important; }
.delay-2 { animation-delay: 0.2s !important; }
.delay-3 { animation-delay: 0.3s !important; }
.delay-4 { animation-delay: 0.4s !important; }

/* ── HEADER ── */
#header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  transition: all 0.3s; padding: 16px 0;
}
#header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; flex-direction: column; }
.nav-brand .name { font-size: 1.25rem; font-weight: 800; }
.nav-brand .subtitle { font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--text); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { padding: 8px 18px; font-size: 0.875rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: all 0.3s; border-radius: 2px; }
.mobile-menu { display: none; padding: 12px 0; border-top: 1px solid var(--border); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 10px 0; font-size: 0.9rem; color: var(--text); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 12px; }

/* ── HERO ── */
#home {
  min-height: 100vh; display: flex; align-items: center; padding: 80px 0 40px;
  background-image: radial-gradient(circle at 25% 25%, rgba(30,64,175,0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(59,130,246,0.08) 0%, transparent 50%);
  position: relative; overflow: hidden;
}
.hero-ring { position: absolute; border-radius: 50%; border: 2px solid var(--blue-border); opacity: 0.3; pointer-events: none; }
.hero-ring-1 { width: 200px; height: 200px; top: 80px; left: 80px; animation: rotate 20s linear infinite; }
.hero-ring-2 { width: 300px; height: 300px; bottom: 80px; right: 80px; animation: rotate-rev 25s linear infinite; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-founder-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-pale); border: 1px solid var(--blue-border);
  border-radius: 50px; padding: 6px 16px; margin-bottom: 24px;
  font-size: 0.8rem; font-weight: 600; color: var(--primary);
}
.hero-founder-badge .live-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: typing 1.5s ease-in-out infinite; }
.hero-name { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 12px; }
.hero-role { font-size: 1.6rem; font-weight: 700; color: var(--muted); margin-bottom: 12px; min-height: 2.2rem; }
.hero-role #role-text { transition: opacity 0.3s; }
.hero-tagline { font-size: 1.1rem; color: var(--muted); margin-bottom: 24px; max-width: 520px; }
.hero-stats { display: flex; gap: 32px; margin-bottom: 32px; }
.hero-stat .num { font-size: 1.75rem; font-weight: 800; }
.hero-stat .lbl { font-size: 0.7rem; color: var(--muted); margin-top: 2px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-img-wrap { display: flex; justify-content: flex-end; position: relative; }
.hero-img-inner { position: relative; }
.hero-avatar {
  width: 320px; height: 320px; border-radius: 50%;
  overflow: hidden; border: 8px solid white;
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite, pulse-glow 2s ease-in-out infinite alternate;
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-ring-deco {
  position: absolute; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--primary));
}
.hero-ring-deco.top { width: 64px; height: 64px; top: -16px; right: -16px; opacity: 0.8; animation: rotate 15s linear infinite; }
.hero-ring-deco.bot { width: 48px; height: 48px; bottom: -16px; left: -16px; opacity: 0.6; animation: rotate-rev 12s linear infinite; }
.hero-card {
  position: absolute; background: white; border-radius: 12px;
  padding: 10px 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-card .c-name { font-size: 0.75rem; font-weight: 700; color: var(--primary); }
.hero-card .c-role { font-size: 0.65rem; color: var(--muted); }
.hero-card.left { bottom: -8px; left: -40px; }
.hero-card.right { top: -8px; right: -40px; }

/* ── ABOUT ── */
#about { padding: 80px 0; background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.about-text { color: var(--muted); margin-bottom: 16px; line-height: 1.8; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.highlight-card { background: white; border-radius: 12px; padding: 20px; box-shadow: var(--shadow); transition: box-shadow 0.2s; }
.highlight-card:hover { box-shadow: var(--shadow-lg); }
.highlight-card .icon { width: 36px; height: 36px; background: var(--blue-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--primary); font-size: 1.1rem; }
.highlight-card h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 4px; }
.highlight-card p { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.about-img-wrap { position: relative; display: flex; justify-content: center; }
.about-img { width: 380px; height: 380px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-xl); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-stat-card {
  position: absolute; background: white; border-radius: 12px;
  padding: 12px 16px; box-shadow: var(--shadow-lg); border-left: 4px solid;
}
.about-stat-card.left { bottom: -8px; left: -20px; border-color: var(--primary); }
.about-stat-card.right { top: -8px; right: -20px; border-color: #22c55e; }
.about-stat-card .num { font-size: 1.5rem; font-weight: 800; }
.about-stat-card.left .num { color: var(--primary); }
.about-stat-card.right .num { color: #16a34a; }
.about-stat-card .lbl { font-size: 0.7rem; color: var(--muted); }

/* ── PROJECTS ── */
#projects { padding: 80px 0; background: white; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 48px; }
.product-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s; }
.product-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.product-img { height: 220px; overflow: hidden; position: relative; background: #f8f9fa; }
.product-img img { width: 100%; height: 100%; object-fit: contain; background: #f8f9fa; padding: 12px; transition: transform 0.4s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.product-company { position: absolute; bottom: 12px; left: 16px; font-size: 0.7rem; color: white; opacity: 0.9; font-weight: 600; }
.product-body { padding: 20px; }
.product-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; transition: color 0.2s; }
.product-card:hover .product-title { color: var(--primary); }
.product-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; line-height: 1.6; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.product-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; font-weight: 600; color: var(--primary); }
.product-link:hover { text-decoration: underline; }
.repos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.repo-card { background: var(--bg); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); transition: all 0.3s; }
.repo-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.repo-icon { width: 40px; height: 40px; background: var(--blue-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; color: var(--primary); font-size: 1rem; }
.repo-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.repo-card p { font-size: 0.8rem; color: var(--muted); margin-bottom: 12px; line-height: 1.6; }
.repo-link { font-size: 0.8rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }

/* ── EXPERIENCE ── */
#experience { padding: 80px 0; background: var(--bg); }
.exp-list { max-width: 860px; margin: 0 auto; }
.exp-item { display: flex; gap: 20px; margin-bottom: 24px; position: relative; }
.exp-item:not(:last-child)::after {
  content: ''; position: absolute; left: 14px; top: 36px;
  width: 2px; height: calc(100% + 4px);
  background: linear-gradient(to bottom, var(--blue), var(--blue-border));
}
.exp-dot-wrap { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; padding-top: 8px; }
.exp-dot { width: 16px; height: 16px; border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 2px var(--blue); flex-shrink: 0; }
.exp-dot.current { background: #22c55e; box-shadow: 0 0 0 2px #22c55e; }
.exp-dot.past { background: var(--primary); }
.exp-dot.concurrent { background: #7c3aed; box-shadow: 0 0 0 2px #7c3aed; }
.exp-card { flex: 1; background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow 0.2s; }
.exp-card:hover { box-shadow: var(--shadow-lg); }
.exp-card-header { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.exp-title { font-size: 1.1rem; font-weight: 700; }
.exp-company { color: var(--primary); font-size: 0.9rem; font-weight: 600; margin: 2px 0; }
.exp-meta { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.exp-desc { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.exp-date-col { text-align: right; flex-shrink: 0; }
.exp-date { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.exp-toggle { font-size: 0.78rem; color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.exp-achievements { display: none; padding: 0 24px 20px; border-top: 1px solid var(--border); }
.exp-achievements.open { display: block; }
.exp-achievements ul { margin-top: 12px; space-y: 8px; }
.exp-achievements li { display: flex; gap: 10px; font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; line-height: 1.6; }
.exp-achievements li::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; margin-top: 7px; flex-shrink: 0; }

/* ── SKILLS ── */
#skills { padding: 80px 0; background: white; }
.skills-section-label { font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--text); }
.skills-section-label::before { content: ''; width: 4px; height: 20px; background: var(--primary); border-radius: 2px; }
.skills-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.skills-cards.two-col { grid-template-columns: repeat(2, 1fr); }
.skill-card { background: var(--bg); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); transition: box-shadow 0.2s; }
.skill-card:hover { box-shadow: var(--shadow-lg); }
.skill-card-icon { width: 56px; height: 56px; background: var(--blue-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 1.5rem; }
.skill-card-title { text-align: center; font-size: 0.875rem; font-weight: 700; margin-bottom: 20px; }
.skill-item { margin-bottom: 12px; }
.skill-label { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 500; margin-bottom: 4px; }
.skill-label span:last-child { color: var(--primary); font-weight: 700; }
.skill-bar-bg { background: #e5e7eb; border-radius: 4px; height: 6px; overflow: hidden; }
.skill-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--blue)); border-radius: 4px; width: 0; transition: width 1.2s ease; }
.extra-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.extra-tag { background: var(--blue-pale); color: var(--primary); padding: 8px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; transition: background 0.2s; cursor: default; }
.extra-tag:hover { background: #dbeafe; }

/* ── EDUCATION ── */
#education { padding: 80px 0; background: var(--bg); }
.edu-degree-card { background: white; border-radius: 16px; padding: 32px; box-shadow: var(--shadow); margin-bottom: 48px; transition: box-shadow 0.2s; }
.edu-degree-card:hover { box-shadow: var(--shadow-lg); }
.edu-card-inner { display: flex; gap: 24px; }
.edu-icon { width: 64px; height: 64px; background: var(--blue-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; }
.edu-body { flex: 1; }
.edu-degree { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.edu-uni { color: var(--primary); font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.edu-meta { display: flex; gap: 20px; font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.edu-desc { color: var(--muted); font-size: 0.875rem; margin-bottom: 8px; line-height: 1.7; }
.edu-thesis { font-size: 0.82rem; color: var(--muted); font-style: italic; display: flex; gap: 8px; align-items: flex-start; }
.awards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.award-card { background: linear-gradient(135deg, #fffbeb, #fef3c7); border: 1px solid #fde68a; border-radius: 16px; padding: 24px; box-shadow: var(--shadow); transition: box-shadow 0.2s; }
.award-card:hover { box-shadow: var(--shadow-lg); }
.award-trophy { font-size: 2rem; margin-bottom: 8px; }
.award-title { font-size: 1rem; font-weight: 800; color: #92400e; margin-bottom: 4px; }
.award-event { font-size: 0.82rem; font-weight: 700; color: #b45309; margin-bottom: 4px; }
.award-org { font-size: 0.75rem; color: #78716c; margin-bottom: 8px; }
.award-desc { font-size: 0.8rem; color: #57534e; line-height: 1.6; }
.pubs-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.pub-item { background: white; border-radius: 12px; padding: 20px; border-left: 4px solid var(--primary); box-shadow: var(--shadow); }
.pub-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.pub-meta { font-size: 0.78rem; color: var(--primary); font-weight: 600; }
.pub-id { font-size: 0.72rem; color: var(--light); margin-top: 2px; }
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-card { background: white; border-radius: 12px; padding: 20px; text-align: center; box-shadow: var(--shadow); transition: box-shadow 0.2s; }
.cert-card:hover { box-shadow: var(--shadow-lg); }
.cert-icon { width: 48px; height: 48px; background: var(--blue-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 1.2rem; }
.cert-name { font-size: 0.82rem; font-weight: 700; margin-bottom: 4px; }
.cert-issuer { font-size: 0.75rem; color: var(--primary); font-weight: 600; }
.cert-year { font-size: 0.7rem; color: var(--light); margin-top: 2px; }
.edu-sub-title { font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }

/* ── CONTACT ── */
#contact { padding: 80px 0; background: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1000px; margin: 0 auto; }
.contact-info-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.contact-info-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg); border-radius: 12px; box-shadow: var(--shadow); transition: box-shadow 0.2s; }
.contact-info-item:hover { box-shadow: var(--shadow-lg); }
.contact-info-icon { width: 44px; height: 44px; background: var(--blue-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; color: var(--primary); }
.contact-info-title { font-size: 0.75rem; font-weight: 700; margin-bottom: 2px; }
.contact-info-value { font-size: 0.85rem; color: var(--muted); }
.contact-info-value a { color: var(--primary); }
.social-links { display: flex; gap: 12px; margin-top: 4px; }
.social-btn { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all 0.2s; border: 1px solid var(--border); color: var(--muted); }
.social-btn:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); }
.contact-form-card { background: var(--bg); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.form-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 10px; font-family: inherit; font-size: 0.875rem;
  transition: all 0.2s; background: white; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; }
.form-success { display: none; background: #f0fdf4; border: 1px solid #86efac; color: #166534; border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: 0.875rem; }
.form-error { display: none; background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: 0.875rem; }

/* ── FOOTER ── */
footer { background: #111827; color: white; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .name { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.footer-brand .role { font-size: 0.78rem; color: #9ca3af; margin-bottom: 16px; }
.footer-brand p { font-size: 0.82rem; color: #9ca3af; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #1f2937; color: #9ca3af; font-size: 1rem; transition: all 0.2s; }
.footer-social a:hover { background: var(--primary); color: white; }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; color: white; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.82rem; color: #9ca3af; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom { border-top: 1px solid #1f2937; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.78rem; color: #6b7280; }

/* ── BACK TO TOP ── */
#back-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: var(--primary); color: white; border: none; border-radius: 50%; font-size: 1.1rem; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: all 0.2s; z-index: 999; }
#back-top.show { display: flex; }
#back-top:hover { background: #1d4ed8; transform: translateY(-2px); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .skills-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-img-wrap { justify-content: center; margin-top: 32px; }
  .hero-name { font-size: 2.5rem; }
  .hero-avatar { width: 260px; height: 260px; }
  .hero-card { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .repos-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .skills-cards, .skills-cards.two-col { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .about-img { width: 100%; height: 300px; }
  .about-stat-card { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 20px; }
  .section-title { font-size: 1.75rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .certs-grid { grid-template-columns: 1fr; }
}
