/* ── LOADER ── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg, #06060f);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; }

.loader-logo {
  font-family: 'Inter', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoPulse 1s ease-in-out infinite alternate;
}
.loader-dot { color: #3b82f6; -webkit-text-fill-color: #3b82f6; }

@keyframes logoPulse {
  from { opacity: 0.6; transform: scale(0.97); }
  to   { opacity: 1;   transform: scale(1.03); }
}

.loader-bar {
  width: 120px;
  height: 3px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 99px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 99px;
  animation: loadBar 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes loadBar {
  0%   { width: 0; }
  60%  { width: 80%; }
  100% { width: 100%; }
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #06060f;
  --surface:    #0e0e1b;
  --card:       #12121f;
  --card-hover: #17172a;
  --border:     rgba(99, 102, 241, 0.18);
  --accent:     #3b82f6;
  --accent-2:   #06b6d4;
  --accent-glow:rgba(59, 130, 246, 0.25);
  --text:       #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim:   #64748b;
  --gradient:   linear-gradient(135deg, #3b82f6, #06b6d4);
  --radius:     14px;
  --radius-sm:  8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

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

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

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }

/* ── CONTAINER ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ── SECTION COMMON ── */
.section { padding: 6rem 0; }

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

.section-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.accent { color: var(--accent); -webkit-text-fill-color: var(--accent); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition);
  padding: 1.2rem 0;
}

.navbar.scrolled {
  background: rgba(6, 6, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
}

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

.nav-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.nav-logo .dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

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

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(6, 6, 15, 0.97);
  backdrop-filter: blur(16px);
  padding: 1.5rem;
  gap: 1rem;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0;
  transition: var(--transition);
}
.mobile-link:hover { color: var(--accent); }

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

.data-canvas {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
  mask-image: linear-gradient(to right, transparent 0%, black 30%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #3b82f6, transparent);
  top: -150px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #06b6d4, transparent);
  bottom: -100px; left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.hero-greeting {
  font-family: 'Fira Code', monospace;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-name {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.35s;
}

.hero-title-wrapper {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.5s;
  min-height: 2rem;
}
.hero-title-animated { color: var(--text); font-weight: 600; }
.cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.65s;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.8s;
}

.hero-socials {
  display: flex;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.95s;
}
.social-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-family: 'Fira Code', monospace;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 1.2s;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── ABOUT ── */
.about { background: var(--surface); }

.about-grid {
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── ABOUT PHOTO ── */
.about-photo-col {
  display: flex;
  justify-content: center;
}

.about-photo-wrapper {
  position: relative;
  width: 220px;
  flex-shrink: 0;
}

.about-photo {
  width: 220px;
  height: 270px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  display: block;
  position: relative;
  z-index: 1;
  border: 2px solid var(--border);
}

.about-photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 26px;
  border: 2px solid transparent;
  background: var(--gradient) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  z-index: 0;
}

.about-photo-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 1.1rem;
  border-radius: 99px;
  display: flex;
  gap: 0.3rem;
  white-space: nowrap;
  z-index: 2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.85;
}
.about-text strong { color: var(--text); font-weight: 600; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--accent);
  background: var(--card-hover);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-number .accent { -webkit-text-fill-color: var(--accent); }
.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.stat-open { border-color: rgba(16, 185, 129, 0.3) !important; }
.stat-open:hover { border-color: #10b981 !important; }

.open-dot {
  font-size: 1.8rem;
  color: #10b981 !important;
  -webkit-text-fill-color: #10b981 !important;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.2); }
}

/* ── EDUCATION ── */
.edu-grid { max-width: 780px; margin: 0 auto; }

.edu-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.edu-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gradient);
}
.edu-card:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-3px);
}

.edu-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(59,130,246,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.edu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 99px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.8rem;
}
.edu-dot {
  width: 6px; height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.edu-degree {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}
.edu-school {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.edu-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }

@media (max-width: 600px) {
  .edu-card { flex-direction: column; gap: 1rem; padding: 1.5rem; }
}

/* ── SKILLS ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.skills-category {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.skills-category:first-child { margin-top: 0; }

.skills-cat-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  white-space: nowrap;
}
.skills-cat-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}
.skill-card:hover {
  border-color: var(--accent);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.skill-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.skill-icon svg { width: 26px; height: 26px; }

.python     { background: rgba(59, 130, 246, 0.15);  color: #3b82f6; }
.sql        { background: rgba(16, 185, 129, 0.15);  color: #10b981; }
.excel      { background: rgba(34, 197, 94, 0.15);   color: #22c55e; }
.sheets     { background: rgba(6, 182, 212, 0.15);   color: #06b6d4; }
.powerbi    { background: rgba(245, 158, 11, 0.15);  color: #f59e0b; }
.tableau    { background: rgba(239, 68, 68, 0.15);   color: #ef4444; }
.powerquery { background: rgba(16, 185, 129, 0.15);  color: #10b981; }
.looker     { background: rgba(99, 102, 241, 0.15);  color: #6366f1; }
.git        { background: rgba(249, 115, 22, 0.15);  color: #f97316; }

.skill-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.skill-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.skill-use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.use-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  background: rgba(59, 130, 246, 0.08);
  color: var(--text-muted);
  border: 1px solid rgba(59, 130, 246, 0.15);
  letter-spacing: 0.03em;
  transition: var(--transition);
}

.skill-card:hover .use-tag {
  background: rgba(59, 130, 246, 0.15);
  color: var(--text);
  border-color: rgba(59, 130, 246, 0.3);
}

.skill-bar {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 99px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── WHAT I OFFER ── */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.offer-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.offer-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.offer-card:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-3px);
}
.offer-card:hover::after { transform: scaleX(1); }

.offer-icon {
  width: 52px; height: 52px;
  background: rgba(59,130,246,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.offer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.offer-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.offer-tools { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.offer-tool {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 99px;
  padding: 0.2rem 0.6rem;
}

@media (max-width: 768px) {
  .offer-grid { grid-template-columns: 1fr; }
}

/* ── CERTIFICATIONS ── */
.certs-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cert-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  flex: 1;
  min-width: 260px;
  max-width: 380px;
  transition: var(--transition);
}
.cert-card:hover {
  border-color: var(--accent);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.cert-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.cert-icon { font-size: 2rem; line-height: 1; }

.cert-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cert-status.incoming {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.cert-status.completed {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.cert-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.cert-org   { font-size: 0.8rem; color: var(--accent); font-weight: 600; margin-bottom: 0.8rem; }
.cert-desc  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

.certs-group + .certs-group { margin-top: 2rem; }
.certs-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.cert-card-ms {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.05);
}
.cert-card-ms:hover {
  border-color: #2563eb;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.18);
}
.cert-icon-ms { width: 2rem; height: 2rem; }
.cert-icon-ms svg { width: 100%; height: 100%; display: block; }
.cert-badge-ms {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 99px;
  padding: 0.2rem 0.7rem;
}
.cert-exam {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.cert-verify-link {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  transition: color 0.2s;
}
.cert-verify-link:hover { color: var(--accent); }
.cert-modules { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.3rem; }
.cert-card-full { flex: 0 0 100%; max-width: 100%; }

/* ── PROJECTS ── */
.projects { background: var(--surface); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.project-card:hover::before { transform: scaleX(1); }
.project-card:hover {
  border-color: var(--accent);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--accent-glow);
}

.project-thumb {
  margin: -2rem -2rem 0 -2rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #0f172a;
}
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}
.project-card:hover .project-thumb img {
  transform: scale(1.05);
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent);
  border: 1px solid var(--border);
  letter-spacing: 0.04em;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}
.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}

.project-results {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.result {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.result-value {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.result-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ── PROJECT PLACEHOLDER ── */
.project-placeholder {
  border-style: dashed;
  opacity: 0.5;
  cursor: default;
}
.project-placeholder:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
  background: var(--card);
}
.project-placeholder::before { display: none; }

/* ── FEATURED PROJECT ── */
.project-featured {
  background: var(--card);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  box-shadow: 0 0 32px rgba(59, 130, 246, 0.08);
}
.project-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}
.project-featured:hover {
  border-color: var(--accent);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--accent-glow);
}

.project-featured-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 99px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.5rem;
}

.project-featured-layout {
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: 2.5rem;
  align-items: center;
}

.project-featured-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: #0f172a;
}
.project-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}
.project-featured:hover .project-featured-image img {
  transform: scale(1.05);
}

.project-featured-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.project-featured-title { font-size: 1.5rem; }
.project-featured-results .result-value { font-size: 1.8rem; }

/* ── CONTACT FORM ── */
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group:last-of-type { margin-bottom: 1.2rem; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.form-submit { width: 100%; justify-content: center; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── CONTACT ── */
.contact-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.contact-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.contact-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  min-width: 280px;
}
.contact-card:hover {
  border-color: var(--accent);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.contact-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(99,102,241,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-card-icon svg { width: 22px; height: 22px; }

.contact-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}
.contact-card-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-card-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* ── LANGUAGES ── */
.lang-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.lang-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
}
.lang-flag { font-size: 1rem; }
.lang-name { font-weight: 600; color: var(--text); }
.lang-level {
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 99px;
  padding: 0.1rem 0.5rem;
  font-weight: 500;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-socials a svg { width: 16px; height: 16px; }
.footer-socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-nav-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  width: fit-content;
}
.footer-nav a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  text-align: center;
}
.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lang-row { margin-top: 1.2rem; }
}


/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--accent-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 90;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(59,130,246,0.5); }

/* ── ACTIVE NAV ── */
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

/* ── SKILL TOOLTIP ── */
.skill-card { position: relative; }
.skill-card::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #1e293b;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.skill-card:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */

/* Tablet (769px – 1024px) */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 200px 1fr; gap: 2.5rem; }
  .about-stats { grid-template-columns: repeat(2, 1fr); grid-column: 1 / -1; }
  .about-photo-col { grid-row: 1; }

  .skills-grid { grid-template-columns: repeat(2, 1fr); }

  .certs-grid { justify-content: flex-start; }
  .cert-card { max-width: 100%; }

  .contact-card { min-width: 0; flex: 1; }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo-col { display: flex; justify-content: center; margin-bottom: 0; }
  .about-photo-wrapper { width: 160px; }
  .about-photo { width: 160px; height: 200px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); grid-column: unset; }

  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-featured-layout { grid-template-columns: 1fr; }
  .project-featured { padding: 1.5rem; }

  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .contact-cards { flex-direction: column; align-items: center; }
  .contact-card { width: 100%; max-width: 380px; }
  .data-canvas { display: none; }
  .hero-content { max-width: 100%; padding: 0 1.5rem; }

  .section { padding: 4rem 0; }

  .cert-card { max-width: 100%; width: 100%; }
}

/* Small phones (≤480px) */
@media (max-width: 480px) {
  .hero-name { font-size: 2.4rem; }
  .hero-buttons { width: 100%; }
  .btn { width: 100%; justify-content: center; }

  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 1rem; }
  .stat-number { font-size: 1.8rem; }

  .skill-card { padding: 1.5rem; }
  .project-card { padding: 1.5rem; }
  .project-thumb { margin: -1.5rem -1.5rem 0 -1.5rem; }
  .project-results { gap: 1rem; }

  .contact-card { padding: 1.2rem 1.5rem; }

  .section-title { font-size: 1.8rem; }
}
