@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

/* ── BASE ─────────────────────────────────────────── */
html { scroll-behavior: smooth; }

* { box-sizing: border-box; }

body {
  background-color: #020617;
  color: #e2e8f0;
  font-family: 'DM Sans', sans-serif;
  margin: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
  opacity: 0;
  animation: pageFadeIn 0.7s ease forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #a855f7);
  z-index: 100000;
  transition: width 0.1s linear;
}

h1, h2, h3, h4 { font-family: 'Syne', sans-serif; }

.block-container {
  padding: 60px 20px 3rem;
  max-width: 1100px;
  margin: auto;
}

img {
  border-radius: 10px;
  border: 1px solid #1f2937;
  transition: transform 0.3s ease;
  max-width: 100%;
}

/* ── NAVBAR ───────────────────────────────────────── */
.fixed-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 13px 20px;
  background: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.18);
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.fixed-navbar a {
  position: relative;
  text-decoration: none;
  color: #94a3b8;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.fixed-navbar a:hover,
.fixed-navbar a.active {
  color: #60a5fa;
}

.nav-indicator {
  position: absolute;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #3b82f6, #a855f7);
  transition: left 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

/* ── TYPING ANIMATION ─────────────────────────────── */
.typing-wrap {
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  color: #60a5fa;
  padding: 20px 0 12px 0;
  line-height: 1.5;
  min-height: 45px;
}

#typing::after {
  content: "|";
  animation: blink 1s infinite;
  margin-left: 2px;
}

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

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 36px 20px 14px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--x, 50%) var(--y, 30%), rgba(59,130,246,0.14), transparent 45%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  animation: blobFloat 20s ease-in-out infinite;
}

.blob1 { width: 260px; height: 260px; background: #3b82f6; top: -60px; left: 8%; animation-delay: 0s; }
.blob2 { width: 300px; height: 300px; background: #a855f7; top: 10px; right: 6%; animation-delay: -7s; }
.blob3 { width: 200px; height: 200px; background: #10b981; bottom: -90px; left: 42%; animation-delay: -13s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(24px, -18px) scale(1.08); }
  66%      { transform: translate(-18px, 16px) scale(0.94); }
}

.open-to-work-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.otw-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-green 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero h1 {
  position: relative;
  z-index: 2;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1px;
  max-width: 600px;
  margin: 0 auto 10px;
  background: linear-gradient(135deg, #e2e8f0 30%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  position: relative;
  z-index: 2;
  font-size: 16px;
  font-weight: 400;
  color: #94a3b8;
  max-width: 480px;
  margin: 0 auto 10px;
  letter-spacing: 0.8px;
  text-align: center;
}

.hero-tagline {
  position: relative;
  z-index: 2;
  font-size: 14px;
  color: #64748b;
  max-width: 440px;
  margin: 0 auto 12px;
}

.location-tag {
  position: relative;
  z-index: 2;
  display: inline-block;
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.location-tag i { color: #3b82f6; }

/* ── METRICS ──────────────────────────────────────── */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 28px auto;
  max-width: 780px;
  background: #0b162c;
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 14px;
  overflow: hidden;
}

.metric-item {
  text-align: center;
  padding: 24px 14px;
  border-right: 1px solid rgba(59, 130, 246, 0.1);
  transition: background 0.3s;
}

.metric-item:last-child { border-right: none; }
.metric-item:hover { background: rgba(59, 130, 246, 0.05); }

.metric-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #60a5fa;
  margin: 0 0 4px;
  white-space: nowrap;
}

.metric-item p {
  color: #64748b;
  font-size: 10px;
  margin: 0;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ── SOCIAL ICONS ─────────────────────────────────── */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  color: #94a3b8;
  border: 1px solid #1e293b;
  transition: all 0.25s ease;
  text-decoration: none;
}

.social-icons a:hover {
  color: #3b82f6;
  border-color: #3b82f6;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.22);
}

/* ── HERO BUTTONS ─────────────────────────────────── */
.hero-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 195px);
  justify-content: center;
  gap: 11px;
  margin: 20px auto 8px;
}

.hero-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  gap: 6px;
}

.hero-btn.primary {
  position: relative;
  overflow: hidden;
  background: #3b82f6;
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.hero-btn.primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.hero-btn.primary:hover::after { left: 125%; }

.hero-btn.primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.45);
}

.hero-btn.secondary {
  border: 1px solid #334155;
  color: #cbd5e1;
  background: transparent;
}

.hero-btn.secondary:hover {
  border-color: #3b82f6;
  color: #60a5fa;
  transform: translateY(-2px);
  background: rgba(59, 130, 246, 0.05);
}

/* ── SECTION COMMON ───────────────────────────────── */
.section { padding: 46px 0 28px; scroll-margin-top: 70px; }

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 34px;
  font-weight: 800;
  text-align: center;
  margin: 0 auto 28px;
  max-width: 480px;
  letter-spacing: -0.5px;
  color: #f1f5f9;
}

.section-title::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, #3b82f6, #a855f7);
  border-radius: 3px;
  transition: width 0.7s ease 0.15s;
}

.section-title.reveal-visible::after { width: 56px; }

/* ── SCROLL REVEAL ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

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

/* ── CARD TILT ─────────────────────────────────────── */
.pcard, .exp-card {
  will-change: transform;
}

.section-divider {
  width: 45%;
  margin: 8px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.22), transparent);
}

/* ── ABOUT ────────────────────────────────────────── */
.about-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.about-img { flex: 0 0 220px; text-align: center; }
.about-text { flex: 1; line-height: 1.75; }

.abt-points {
  margin: 10px 0 10px 18px;
  color: #cbd5e1;
  line-height: 1.8;
}
.abt-points li { margin-bottom: 5px; }

@media (max-width: 680px) {
  .about-grid { flex-direction: column; align-items: center; }
}

/* ── EXPERIENCE CARDS ─────────────────────────────── */
.exp-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.exp-card {
  display: flex;
  background: #0b162c;
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(59,130,246,0.16);
  border-color: rgba(59,130,246,0.42);
}

.exp-accent-bar {
  width: 4px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, #3b82f6, rgba(59,130,246,0.05));
  border-radius: 4px 0 0 4px;
}

.exp-inner { flex: 1; padding: 22px 24px; }

.exp-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.exp-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(59,130,246,0.2);
  overflow: hidden;
  flex-shrink: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  border-radius: 0;
  padding: 4px;
}

.exp-header-text { flex: 1; }

.exp-role {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.exp-sub-role { font-size: 12px; color: #64748b; margin-bottom: 5px; }

.exp-company-row { display: flex; align-items: center; gap: 8px; }

.exp-company { font-size: 13px; font-weight: 600; color: #60a5fa; }

.exp-type-badge {
  font-size: 10px;
  padding: 2px 9px;
  border-radius: 20px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.3);
  color: #93c5fd;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.exp-date-block { text-align: right; flex-shrink: 0; }

.exp-date { font-size: 12px; color: #94a3b8; white-space: nowrap; margin-bottom: 2px; }

.exp-duration { font-size: 11px; color: #475569; }

.exp-impact-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.exp-impact-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  background: rgba(59,130,246,0.07);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 10px;
  min-width: 80px;
}

.chip-num {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #60a5fa;
  line-height: 1.2;
}

.chip-label {
  font-size: 10px;
  color: #64748b;
  text-align: center;
  margin-top: 2px;
  letter-spacing: 0.3px;
}

.exp-points {
  margin: 0 0 14px 16px;
  color: #cbd5e1;
  line-height: 1.75;
  padding: 0;
}
.exp-points li { margin-bottom: 5px; }

.exp-tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(59,130,246,0.08);
}

.exp-tools-row span {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(59,130,246,0.07);
  border: 1px solid rgba(59,130,246,0.2);
  color: #93c5fd;
  font-weight: 500;
}

/* ── PROJECT CARDS ─────────────────────────────────── */
.proj-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto;
}

.pcard {
  position: relative;
  background: #0b162c;
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.pcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(59,130,246,0.2);
  border-color: rgba(59,130,246,0.5);
}

.pcard-banner {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  flex-shrink: 0;
}

.pcard-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: none;
  display: block;
  transition: transform 0.5s ease;
}

.pcard:hover .pcard-banner img { transform: scale(1.08); }

.pcard-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pcard-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pcard-tags span {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.25);
  color: #93c5fd;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
}

.pcard-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
}

.pcard-desc { font-size: 12px; color: #64748b; line-height: 1.55; flex: 1; }

.pcard-hint {
  font-size: 10px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

@media (max-width: 900px) { .proj-grid-6 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .proj-grid-6 { grid-template-columns: 1fr; } }

/* ── PROJECT MODAL ─────────────────────────────────── */
.pmodal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'DM Sans', sans-serif;
}
.pmodal-backdrop.open { display: flex; }

.pmodal {
  background: #0b162c;
  border: 1px solid rgba(59,130,246,0.4);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  position: relative;
  animation: pmodalIn 0.25s ease;
}
@keyframes pmodalIn {
  from { opacity:0; transform:translateY(24px) scale(0.96); }
  to   { opacity:1; transform:translateY(0)    scale(1); }
}
.pmodal::-webkit-scrollbar { width: 4px; }
.pmodal::-webkit-scrollbar-track { background: transparent; }
.pmodal::-webkit-scrollbar-thumb { background: rgba(59,130,246,0.3); border-radius: 4px; }

.pmodal-header { padding: 24px 28px 0; display: flex; align-items: flex-start; gap: 16px; }
.pmodal-icon {
  font-size: 30px;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pmodal-title { font-family: 'Syne', sans-serif; font-size: 19px; font-weight: 800; color: #f1f5f9; margin: 0 0 4px; line-height: 1.25; }
.pmodal-subtitle { font-size: 12px; color: #64748b; margin: 0; }
.pmodal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}
.pmodal-close:hover { background:rgba(239,68,68,0.15); color:#f87171; border-color:rgba(239,68,68,0.3); }
.pmodal-divider { height:1px; background:rgba(59,130,246,0.12); margin:14px 0; }
.pmodal-body { padding: 16px 28px 28px; }
.pmodal-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px; }
.pmodal-image {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(59,130,246,0.15);
  margin: 4px 0 14px;
  cursor: zoom-in;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: block;
}
.pmodal-image:hover { transform: scale(1.015); opacity: 0.92; }
.pmodal-tags span {
  background:rgba(59,130,246,0.1);
  border:1px solid rgba(59,130,246,0.3);
  color:#60a5fa;
  font-size:11px;
  padding:3px 10px;
  border-radius:20px;
  font-weight:500;
}
.pmodal-desc { font-size:13.5px; color:#cbd5e1; line-height:1.75; margin-bottom:16px; }
.pmodal-section-label { font-size:10px; text-transform:uppercase; letter-spacing:1.2px; color:#475569; font-weight:600; margin: 18px 0 8px; }
.pmodal-points { list-style:none; padding:0; margin:0 0 20px; display:flex; flex-direction:column; gap:9px; }
.pmodal-points li { font-size:13px; color:#94a3b8; padding-left:18px; position:relative; line-height:1.6; }
.pmodal-points li::before { content:'▸'; position:absolute; left:0; color:#3b82f6; }
.pmodal-points li b { color:#cbd5e1; }
.pmodal-actions { display:flex; gap:10px; flex-wrap:wrap; }
.pmodal-btn-primary {
  display:inline-flex; align-items:center; gap:7px;
  padding:9px 18px; border-radius:9px;
  font-size:13px; font-weight:600;
  text-decoration:none;
  background:#3b82f6; color:white;
  border:none;
  box-shadow:0 4px 14px rgba(59,130,246,0.3);
  cursor:pointer; transition:background 0.2s;
}
.pmodal-btn-primary:hover { background:#2563eb; }
.pmodal-btn-secondary {
  display:inline-flex; align-items:center; gap:7px;
  padding:9px 18px; border-radius:9px;
  font-size:13px; font-weight:600;
  text-decoration:none;
  border:1px solid rgba(59,130,246,0.35);
  color:#93c5fd;
  background:transparent;
  transition: all 0.25s;
}
.pmodal-btn-secondary:hover { background:rgba(59,130,246,0.09); border-color:#3b82f6; color:#60a5fa; }
.pmodal-highlight-box {
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #6ee7b7;
  line-height: 1.65;
}
.pmodal-highlight-box strong { color: #34d399; font-weight: 700; }
.pmodal-module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.pmodal-module-card { background: rgba(59,130,246,0.05); border: 1px solid rgba(59,130,246,0.15); border-radius: 10px; padding: 12px 14px; }
.pmodal-module-card .mod-title { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; color: #60a5fa; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.pmodal-module-card .mod-desc { font-size: 11.5px; color: #64748b; line-height: 1.55; }
@media (max-width: 560px) { .pmodal-module-grid { grid-template-columns: 1fr; } }

/* ── SKILLS NETWORK ────────────────────────────────── */
#skills-network {
  width: 100%;
  height: 520px;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  background: #0b162c;
  border: 1px solid rgba(59,130,246,0.18);
}

/* ── SKILL TAGS ───────────────────────────────────── */
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 8px;
  max-width: 900px;
}

.tag {
  background: #0f172a;
  border: 1px solid #1e293b;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12.5px;
  color: #cbd5e1;
  transition: all 0.22s ease;
  cursor: default;
}

.tag:hover {
  border-color: #3b82f6;
  color: #60a5fa;
  background: rgba(59,130,246,0.05);
  transform: translateY(-2px);
}

/* ── CERTIFICATIONS ───────────────────────────────── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #0b162c;
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 12px;
  transition: all 0.28s ease;
}

.cert-card:hover {
  border-color: rgba(59,130,246,0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(59,130,246,0.13);
}

.cert-icon { font-size: 26px; color: #3b82f6; flex-shrink: 0; width: 32px; text-align: center; }

.cert-title { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: #f1f5f9; margin-bottom: 3px; }

.cert-issuer { font-size: 12px; color: #64748b; margin-bottom: 6px; }

.cert-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cert-status.completed { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #34d399; }
.cert-status.in-progress { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3); color: #fbbf24; }

/* ── CONTACT ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 20px;
  background: #0b162c;
  border: 1px solid rgba(59,130,246,0.16);
  border-radius: 11px;
  text-decoration: none;
  transition: all 0.28s ease;
}

.contact-card:hover {
  border-color: rgba(59,130,246,0.48);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(59,130,246,0.13);
}

.contact-card i { font-size: 19px; color: #3b82f6; flex-shrink: 0; width: 22px; text-align: center; }

.contact-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #64748b; margin-bottom: 3px; }

.contact-value { font-size: 13.5px; color: #cbd5e1; font-weight: 500; }

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 26px 0 16px;
  color: #334155;
  font-size: 12.5px;
  border-top: 1px solid rgba(59,130,246,0.07);
  margin-top: 26px;
}

/* ── FLOATING ACTION BAR ───────────────────────────── */
.fab-bar {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.fab-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.35);
  background: rgba(11,22,44,0.92);
  backdrop-filter: blur(10px);
  color: #94a3b8;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  text-decoration: none;
  position: relative;
}

.fab-btn:hover {
  background: rgba(59,130,246,0.18);
  border-color: #3b82f6;
  color: #60a5fa;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.3);
}

.fab-btn::before {
  content: attr(data-tip);
  position: absolute;
  right: 54px;
  background: rgba(11,22,44,0.96);
  color: #cbd5e1;
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(59,130,246,0.2);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.fab-btn:hover::before { opacity: 1; }

/* ── LIGHT THEME ────────────────────────────────────── */
body.light-theme { background-color: #f1f5f9; color: #0f172a; }
body.light-theme .fixed-navbar { background: rgba(241,245,249,0.97); border-bottom: 1px solid rgba(59,130,246,0.2); }
body.light-theme .fixed-navbar a { color: #475569; }
body.light-theme .fixed-navbar a:hover, body.light-theme .fixed-navbar a.active { color: #2563eb; border-bottom-color: #2563eb; }
body.light-theme .metrics { background: #ffffff; border-color: rgba(59,130,246,0.15); }
body.light-theme .metric-item h3 { color: #2563eb; }
body.light-theme .metric-item p { color: #64748b; }
body.light-theme .exp-card { background: #ffffff; border-color: rgba(59,130,246,0.15); }
body.light-theme .exp-role { color: #0f172a; }
body.light-theme .exp-points li { color: #334155; }
body.light-theme .pcard { background: #ffffff; border-color: rgba(59,130,246,0.15); }
body.light-theme .pcard-title { color: #0f172a; }
body.light-theme .cert-card { background: #ffffff; border-color: rgba(59,130,246,0.15); }
body.light-theme .cert-title { color: #0f172a; }
body.light-theme .contact-card { background: #ffffff; border-color: rgba(59,130,246,0.15); }
body.light-theme .contact-value { color: #0f172a; }
body.light-theme .section-title { color: #0f172a; }
body.light-theme .tag { background: #ffffff; border-color: #cbd5e1; color: #334155; }
body.light-theme .fab-btn { background: rgba(255,255,255,0.95); border-color: rgba(59,130,246,0.25); color: #475569; }
body.light-theme #skills-network { background: #ffffff; border-color: rgba(59,130,246,0.15); }
body.light-theme .blob { opacity: 0.16; }
body.light-theme .hero::before { background: radial-gradient(500px circle at var(--x, 50%) var(--y, 30%), rgba(59,130,246,0.08), transparent 45%); }
body.light-theme .pmodal { background: #ffffff; }
body.light-theme .pmodal-title { color: #0f172a; }
body.light-theme .pmodal-desc { color: #334155; }
body.light-theme .about-text { color: #334155; }
body.light-theme .abt-points { color: #334155; }

/* ── SCROLLBAR ────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: rgba(59,130,246,0.28); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(59,130,246,0.52); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 680px) {
  .hero h1           { font-size: 34px; }
  .hero-subtitle     { font-size: 13px; }
  .metrics           { grid-template-columns: repeat(2, 1fr); }
  .metric-item:nth-child(2) { border-right: none; }
  .metric-item:nth-child(1),
  .metric-item:nth-child(2) { border-bottom: 1px solid rgba(59,130,246,0.1); }
  .hero-buttons-grid { grid-template-columns: 1fr; max-width: 210px; }
  .contact-grid      { grid-template-columns: 1fr; }
  .cert-grid         { grid-template-columns: 1fr; }
  .fixed-navbar      { gap: 16px; flex-wrap: wrap; }
  .fixed-navbar a    { font-size: 12px; }
}
