/* ========= Theme ========= */
:root {
  --bg: #0a0a0a;
  --fg: #e8e8ea;
  --muted: #a3a3ad;
  --card: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.10);
  --accent: #22d3ee;       /* cyan 400 */
  --accent-dim: rgba(34, 211, 238, 0.25);
  --max: 1120px;
  --rail: #3bf0f6ff;
  --rail-glow: rgba(59, 130, 246, 0.25);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-brd: rgba(255, 255, 255, 0.10);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  font-size: 15px;
}

/* ========= Layout ========= */
.wrap { width: min(92%, var(--max)); margin: 0 auto; }
.section { padding: 72px 0; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ========= Header ========= */
.site-header {
  position: sticky; 
  top: 0; 
  z-index: 20;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .row {
   justify-content: space-between;
    padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 800; letter-spacing: 0.2px; }
.logo-dot {
  width: 10px; 
  height: 10px; 
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--accent), transparent 70%);
  box-shadow: 0 0 0 2px var(--accent-dim), 0 0 14px var(--accent);
}

.nav { display: flex; gap: 14px; align-items: center; }
.nav a { color: var(--fg); text-decoration: none; opacity: 0.9; transition: opacity 0.2s, color 0.2s; }
.nav a:hover { opacity: 1; color: var(--accent); }

/* ========= Buttons ========= */
.btn {
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  padding: 9px 13px;
  border-radius: 10px; 
  font-weight: 600; 
  text-decoration: none; 
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); background: transparent; }
.btn-accent { background: linear-gradient(135deg, var(--accent-dim), var(--accent)); color: #001015; border: 0; }
.btn-accent:hover { opacity: 0.95; }
.btn-neutral { background: #fff; color: #0b0b0b; border: 0; }
.btn-neutral:focus-visible { outline: 3px solid var(--accent-dim); }

/* ========= Responsive nav ========= */
.hamburger { display: none; background: transparent; border: 0; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }
@media (max-width: 840px) {
  .hamburger { display: block; }
  .nav {
    position: fixed; 
    right: 16px; 
    top: 58px; 
    background: rgba(0, 0, 0, 0.92);
    border: 1px solid var(--line); 
    padding: 10px; 
    border-radius: 12px;
    display: none; 
    flex-direction: column; 
    z-index: 40;
  }
  .nav.open { display: flex; }
}

/* ========= Canvas ========= */
#bgCanvas { position: fixed; inset: 0; z-index: -1; background: #000; }

/* ========= Hero ========= */
.hero {
  display: grid; 
  grid-template-columns: 1.1fr 0.9fr; 
  gap: 24px; 
  align-items: center;
  min-height: 68vh; 
  padding: 60px 0;
}
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; } }
.eyebrow { color: #bfe9f6; text-transform: uppercase; letter-spacing: 0.3px; font-size: 0.8rem; }
.hero h1 { font-size: clamp(28px, 5.2vw, 48px); line-height: 1.08; margin: 0.25em 0; }
.lede { color: #cfd1d8; font-size: clamp(15px, 2vw, 18px); }
.hero-actions { display: flex; gap: 10px; margin-top: 10px; }
.stack-badges { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 14px 0 0; }
.stack-badges li { border: 1px solid var(--line); background: var(--card); padding: 6px 10px; border-radius: 999px; font-size: 12px; }

/* Right hero aside (single straight list) */
.glass { 
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); 
  border: 1px solid var(--line); 
  border-radius: 14px; 
  padding: 16px; 
  backdrop-filter: blur(10px); 
}
.aside-title { margin: 0 0 6px 0; font-size: 1.05rem; }
.contact-lines { list-style: none; padding-left: 0; margin: 10px 0; }
.contact-lines.tight li { margin: 6px 0; }
.link { color: #e7edf9; text-decoration: none; border-bottom: 1px dashed transparent; transition: border-color 0.2s, color 0.2s; }
.link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.wrap-social { margin-top: 8px; }

/* ========= Section Heads ========= */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 {
  margin: 0; 
  font-size: 24px; 
  padding-left: 10px; 
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, var(--accent-dim), var(--accent)) 1;
}
.muted { 
  color: var(--muted); 
  font-style: italic;
  font-size: 13px;
}
.small { font-size: 12.5px; }

/* ========= Grids ========= */
.grid-2 { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; }
@media (max-width: 960px) { .grid-2 { grid-template-columns: 1fr; } }

/* ========= Cards & thumbs ========= */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); border-color: var(--accent-dim); }
.thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #111, #1a1a1a); border-radius: 10px; margin-bottom: 10px; }

/* ========= About helpers ========= */
.tick-list { list-style: none; padding-left: 0; margin: 10px 0; }
.tick-list li { position: relative; padding-left: 18px; margin: 6px 0; }
.tick-list li:before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); }
.note { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }

/* ========= Contact ========= */
#contact .gradient-text { 
  background: linear-gradient(90deg, var(--accent-dim), var(--accent)); 
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent; 
}
.contact-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 16px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form { display: grid; gap: 10px; }
.contact-form label span { display: block; font-size: 12.5px; color: #a1a1aa; margin-bottom: 6px; }
.contact-form input, 
.contact-form textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--fg); 
  padding: 11px 12px; 
  border-radius: 12px;
}
.contact-form textarea { min-height: 120px; }
.btn-gradient { background: linear-gradient(135deg, var(--accent-dim), var(--accent)); color: #001015; border: 0; }
.btn-gradient:hover { filter: saturate(112%); }

/* ========= Footer ========= */
.site-footer { 
  border-top: 1px solid var(--line); 
  padding: 24px 0; 
  color: #b7bac7; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 12px; 
  flex-wrap: wrap; 
}

/* ========= Focus ========= */
:focus-visible { outline: 3px solid var(--accent-dim); outline-offset: 2px; }

/* ========= Pills ========= */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--line);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-dim);
  transform: translateY(-1px);
}
.pill:active { transform: none; }
.pill:focus-visible {
  outline: 3px solid var(--accent-dim);
  outline-offset: 2px;
}

/* Gradient outline variant */
.pill-outline {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(90deg, var(--accent-dim), var(--accent)) border-box;
}
.pill-outline:hover {
  background:
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)) padding-box,
    linear-gradient(90deg, var(--accent-dim), var(--accent)) border-box;
  color: #eafaff;
}

/* ==== Skills Section ==== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.skill-category {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.skill-category:hover { transform: translateY(-6px); }

.skill-category h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid #22d3ee;
  padding-left: 8px;
}

.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.skill-list li {
  margin: 10px 0;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
}

.skill-level {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin-top: 4px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, #22d3ee, #0ea5e9);
  border-radius: 4px;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding-left: 120px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 80px;
  top: 0; 
  bottom: 0;
  width: 2px;
  background: linear-gradient(#2563eb, #60d6faff);
  box-shadow: 0 0 0 4px var(--rail-glow);
  border-radius: 2px;
  opacity: 0.9;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  column-gap: 24px;
  margin: 22px 0 32px;
}

/* blue dot connecting to the rail */
.timeline-item::after {
  content: "";
  position: absolute;
  left: 74px;
  top: 28px;
  width: 12px; 
  height: 12px;
  background: var(--rail);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--rail-glow);
}

.timeline-date {
  grid-column: 1;
  align-self: flex-start;
  position: sticky;
  top: 90px;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: 0.5px;
}

.timeline-card {
  grid-column: 2;
  background: var(--card-bg);
  border: 1px solid var(--card-brd);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.timeline-card h3 { margin: 0 0 8px 0; }
.timeline-card p { margin: 6px 0; }
.timeline-card:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.35);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(147, 197, 253, 0.12);
}

/* mobile tweaks */
@media (max-width: 720px) {
  .timeline { padding-left: 28px; }
  .timeline::before { left: 10px; }
  .timeline-item {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-left: 18px;
  }
  .timeline-item::after { left: 4px; }
  .timeline-date { position: static; margin-bottom: 6px; }
}

/* ===== Testimonials ===== */
.testimonial {
  display: flex; 
  gap: 16px; 
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--card-brd);
  border-radius: 16px;
  padding: 18px;
  margin: 14px 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.testimonial-content {
  position: relative; 
  flex: 1;
  font-size: 0.98rem; 
  color: #eaeaea;
}
.testimonial-content::before {
  content: "“"; 
  position: absolute; 
  left: -8px; 
  top: -8px;
  font-size: 36px; 
  line-height: 1; 
  color: rgba(255, 255, 255, 0.18);
}
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 36px; 
  height: 36px; 
  border-radius: 50%;
  display: grid; 
  place-items: center;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #021120; 
  font-weight: 800;
  box-shadow: 0 0 0 4px var(--rail-glow);
}

/* ======= Experience teaser (home) ======= */
.timeline-teaser {
  display: flex; 
  align-items: center; 
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px; 
  padding: 20px 22px; 
  text-decoration: none; 
  color: #fff;
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}
.timeline-teaser:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.35);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
}
.year-pill {
  display: inline-grid; 
  place-items: center;
  min-width: 54px; 
  height: 32px; 
  padding: 0 10px;
  border-radius: 999px; 
  font-weight: 700; 
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #25cdebff, #60a5fabb); 
  color: #021120;
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.18);
}
.teaser-text h3 { margin: 0 0 2px; }
.teaser-text p { margin: 0; }
.arrow-link { margin-left: auto; white-space: nowrap; color: #cffcffff; }

/* ======= Premium Timeline (full page) ======= */
.timeline.premium {
  position: relative;
  padding-left: 120px;
}
.timeline.premium::before {
  content: "";
  position: absolute; 
  left: 80px; 
  top: 0; 
  bottom: 0; 
  width: 2px;
  background: linear-gradient(#2563eb, #60a5fa);
  box-shadow: 0 0 0 4px var(--rail-glow);
  border-radius: 2px; 
  opacity: 0.9;
}
.timeline.premium .timeline-item {
  position: relative;
  display: grid; 
  grid-template-columns: 80px 1fr;
  column-gap: 24px; 
  margin: 22px 0 32px;
}
.timeline.premium .timeline-item::after {
  content: ""; 
  position: absolute; 
  left: 74px; 
  top: 28px;
  width: 12px; 
  height: 12px; 
  border-radius: 50%;
  background: var(--rail); 
  box-shadow: 0 0 0 6px var(--rail-glow);
}
.timeline.premium .timeline-date {
  grid-column: 1; 
  align-self: flex-start; 
  position: sticky; 
  top: 90px;
  font-weight: 700; 
  color: #93c5fd; 
  letter-spacing: 0.5px;
}
.timeline-card {
  grid-column: 2;
  background: var(--card-bg); 
  border: 1px solid var(--card-brd);
  border-radius: 16px; 
  padding: 22px 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}
.timeline-card h3 { margin: 0 0 8px; }
.timeline-card p { margin: 6px 0; }
.timeline-card:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.35);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(147, 197, 253, 0.12);
}
@media (max-width: 720px) {
  .timeline.premium { padding-left: 28px; }
  .timeline.premium::before { left: 10px; }
  .timeline.premium .timeline-item {
    grid-template-columns: 1fr; 
    column-gap: 0; 
    padding-left: 18px;
  }
  .timeline.premium .timeline-item::after { left: 4px; }
  .timeline.premium .timeline-date { position: static; margin-bottom: 6px; }
}

/* ===== Travel Teaser ===== */
.travel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.travel-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.travel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 197, 253, 0.28);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.travel-link { display: block; color: inherit; text-decoration: none; }

.cover-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.cover {
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block;
  transform: scale(1.02);
  filter: grayscale(100%);
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* Fix: Remove grayscale on hover of parent card */
.travel-card:hover .cover {
  filter: grayscale(0%);
  transform: scale(1.06);
}

.cover-wrap::after {
  content: ""; 
  position: absolute; 
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.25) 100%);
}

.tag {
  position: absolute; 
  left: 10px; 
  top: 10px;
  font-size: 12px; 
  padding: 4px 8px; 
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e7edf9;
}

.card-body { padding: 14px 14px 16px; }
.card-body h3 { margin: 0 0 6px 0; font-size: 1.05rem; }
.card-body p { margin: 0 0 10px 0; }
.arrow { color: #cfe7ff; font-weight: 600; }

.travel-cta { margin-top: 14px; display: flex; justify-content: flex-end; }

/* ===== Travel Diary ===== */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.chip {
  background: rgba(255, 255, 255, 0.06); 
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8e8ea; 
  padding: 8px 12px; 
  border-radius: 999px; 
  cursor: pointer;
  font-weight: 600; 
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}
.chip:hover { transform: translateY(-1px); }
.chip.is-active { border-color: #22d3ee; box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; 
  margin-bottom: 28px;
}
.gallery-item {
  position: relative; 
  display: block; 
  border-radius: 12px; 
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08); 
  background: rgba(255, 255, 255, 0.04);
}
.gallery-item img { 
  width: 100%; 
  height: 220px; 
  object-fit: cover; 
  display: block; 
  transition: transform 0.4s ease; 
}
.gallery-item:hover img { transform: scale(1.04); }
.badge {
  position: absolute; 
  left: 10px; 
  top: 10px; 
  font-size: 12px; 
  padding: 4px 8px; 
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55); 
  border: 1px solid rgba(255, 255, 255, 0.16); 
  color: #e7edf9;
}

/* Lightbox modal */
.lightbox {
  position: fixed; 
  inset: 0; 
  display: none; 
  place-items: center; 
  z-index: 60;
  background: rgba(0, 0, 0, 0.75); 
  backdrop-filter: blur(4px); 
  padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(96vw, 1200px); 
  max-height: 80vh; 
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); 
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lightbox-caption { margin-top: 12px; color: #cfd1d8; text-align: center; }
.lightbox-close {
  position: absolute; 
  right: 20px; 
  top: 16px; 
  width: 36px; 
  height: 36px;
  border-radius: 999px; 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  background: rgba(0, 0, 0, 0.6);
  color: #fff; 
  font-size: 20px; 
  cursor: pointer;
}

/* Mini blog entries */
.cards.three-col { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.entry .entry-meta { display: block; color: #93c5fd; font-weight: 700; margin-bottom: 6px; }
.entry h3 { margin: 0.15rem 0 0.25rem; font-size: 1.05rem; }
.entry p { color: #e8e8ea; }

/* ===== Education & Certificates ===== */
.mt-24 { margin-top: 24px; }

/* layout */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

/* cards */
.glass.edu-card,
.edu-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 16px; 
  padding: 18px;
  backdrop-filter: blur(10px);
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}
.edu-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-dim);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.edu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.edu-badge {
  display: inline-grid; 
  place-items: center;
  height: 28px; 
  padding: 0 10px; 
  border-radius: 999px; 
  font-weight: 800; 
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, var(--accent-dim), var(--accent)); 
  color: #001015;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16);
}
.edu-time { font-size: 0.95rem; }
.edu-title { margin: 0.25rem 0 4px 0; }

/* action pills under education items */
.edu-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* certificates grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.cert-card {
  background: var(--card); 
  border: 1px solid var(--line); 
  border-radius: 14px; 
  padding: 14px;
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}
.cert-card:hover { transform: translateY(-3px); border-color: var(--accent-dim); }
.cert-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cert-icon {
  width: 34px; 
  height: 34px; 
  border-radius: 10px; 
  display: grid; 
  place-items: center; 
  font-size: 18px;
  background: linear-gradient(135deg, var(--accent-dim), var(--accent)); 
  color: #001015; 
  font-weight: 800;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}
.cert-card h4 { margin: 0; }

/* publication */
.pub-list { display: grid; gap: 14px; }
.pub-card {
  background: var(--card); 
  border: 1px solid var(--line); 
  border-radius: 14px; 
  padding: 16px;
}
.pub-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.pub-badge {
  height: 26px; 
  padding: 0 10px; 
  display: inline-grid; 
  place-items: center; 
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-dim), var(--accent)); 
  color: #001015; 
  font-weight: 800;
}
.pub-actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }

/* link & pills */
.link.verify { color: #cfe7ff; text-decoration: none; border-bottom: 1px dashed transparent; }
.link.verify:hover { color: #fff; border-bottom-color: var(--accent); }

/* responsive header tweak if needed */
@media (max-width: 840px) {
  .edu-head { align-items: flex-start; flex-direction: column; gap: 4px; }
}

/* Contact Form Buttons */
.form-actions {
  display: flex; 
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Ideas Section */
.ideas-grid {
  margin-top: 20px;
}
.ideas-grid h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  border-left: 4px solid #22d3ee;
  padding-left: 8px;
}
.idea-cards {
  display: grid;
  gap: 12px;
}
.idea-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.25s;
}
.idea-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  border-color: rgba(34, 211, 238, 0.25);
}
.idea-card h4 { margin: 0 0 6px; }
.idea-card p { margin: 0; color: #ccc; }