/* ============================================================
   DR. AKHILESH KUMAR SINGH — CV WEBSITE STYLES
   Agricultural Green + Ivory Academic Theme
   Font: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

:root {
  --green-deep:   #1b4332;
  --green-mid:    #2d6a4f;
  --green-light:  #40916c;
  --green-pale:   #d8f3dc;
  --green-faint:  #f0faf2;
  --ivory:        #fafaf7;
  --ivory-dark:   #f2f0ea;
  --text-dark:    #1a1a18;
  --text-mid:     #3d3d38;
  --text-soft:    #6b6b64;
  --text-faint:   #9a9a92;
  --gold:         #b5882a;
  --gold-light:   #f3e7c8;
  --border:       #e0ddd5;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
  --radius:       10px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;
  --nav-h:        64px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ivory-dark); }
::-webkit-scrollbar-thumb { background: var(--green-light); border-radius: 3px; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
a { color: var(--green-mid); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-deep); }
strong { font-weight: 600; color: var(--text-dark); }
em { font-style: italic; }

/* ── CONTAINER ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════ */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#main-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  height: 100%;
  display: flex; align-items: center;
  padding: 0 32px;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-deep);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--green-faint);
  color: var(--green-deep);
}
.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.4rem;
  color: var(--green-deep);
  cursor: pointer;
  margin-left: auto;
}

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 48px) 32px 64px;
  position: relative;
  overflow: hidden;
  background: var(--green-deep);
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(64,145,108,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(181,136,42,0.10) 0%, transparent 60%);
  pointer-events: none;
}
/* subtle leaf-vein lines */
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 48px,
      rgba(255,255,255,0.03) 48px,
      rgba(255,255,255,0.03) 49px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 56px;
}

/* Profile photo */
.profile-photo-wrap {
  flex-shrink: 0;
  position: relative;
}
.profile-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(var(--green-light), var(--gold), var(--green-light));
  opacity: 0.8;
}
.profile-photo {
  width: 480px; height: 480px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--green-deep);
  position: relative;
  display: block;
}
.profile-initials {
  width: 480px; height: 480px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  border: 4px solid rgba(255,255,255,0.2);
  position: relative;
}

/* Hero text */
.hero-text { flex: 1; }
.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  background: rgba(64,145,108,0.15);
  border: 1px solid rgba(64,145,108,0.35);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
  font-weight: 300;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-bottom: 24px;
}
.meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.7);
}
.meta-item svg { color: var(--green-light); flex-shrink: 0; }

.experience-badge {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-light);
  background: rgba(181,136,42,0.12);
  border: 1px solid rgba(181,136,42,0.3);
  padding: 8px 18px;
  border-radius: 8px;
  margin-bottom: 28px;
}
.exp-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  font-family: var(--font-display);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--green-light);
  color: #fff;
  border-color: var(--green-light);
}
.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(64,145,108,0.35);
}
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-large { padding: 14px 32px; font-size: 1rem; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ════════════════════════════════════════════════
   SECTIONS
════════════════════════════════════════════════ */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--ivory-dark);
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 16px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--gold));
  border-radius: 2px;
}

/* ════════════════════════════════════════════════
   SUMMARY
════════════════════════════════════════════════ */
.summary-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--green-light);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}
.summary-text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ════════════════════════════════════════════════
   SKILLS GRID
════════════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.skill-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.skill-icon { font-size: 1.8rem; margin-bottom: 12px; }
.skill-card h3 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 6px;
}
.skill-card p { font-size: 0.84rem; color: var(--text-soft); line-height: 1.6; }

/* ════════════════════════════════════════════════
   TIMELINE
════════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-light), var(--green-pale));
}
.timeline-item {
  position: relative;
  margin-bottom: 44px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: -29px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green-light);
  border: 3px solid var(--ivory);
  box-shadow: 0 0 0 2px var(--green-light);
  z-index: 1;
}
.timeline-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.timeline-content:hover { box-shadow: var(--shadow-md); }
.timeline-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}
.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.timeline-role {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green-deep);
  margin-bottom: 2px;
}
.timeline-org {
  font-size: 0.88rem;
  color: var(--text-soft);
  font-weight: 500;
}
.timeline-badge {
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.timeline-project {
  font-size: 0.83rem;
  color: var(--text-soft);
  background: var(--green-faint);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 14px;
  line-height: 1.7;
  border-left: 3px solid var(--green-pale);
}
.timeline-bullets {
  list-style: none;
  padding: 0;
}
.timeline-bullets li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 5px 0 5px 18px;
  position: relative;
  line-height: 1.65;
  border-bottom: 1px solid var(--border);
}
.timeline-bullets li:last-child { border-bottom: none; }
.timeline-bullets li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-weight: 700;
  font-size: 1rem;
}

.project-features-box {
  font-size: 0.85rem;
  color: var(--text-mid);
  background: var(--gold-light);
  border: 1px solid rgba(181,136,42,0.2);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 14px;
  line-height: 1.7;
}
.project-features-box ul {
  margin: 8px 0 0 18px;
}
.project-features-box ul li { margin-bottom: 4px; }

/* ════════════════════════════════════════════════
   CONSULTING
════════════════════════════════════════════════ */
.consulting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.consulting-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 4px solid var(--green-light);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.consulting-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.consulting-adb { border-top-color: #004a97; }
.consulting-fao { border-top-color: #007bc0; }
.consulting-cropin { border-top-color: var(--green-light); }
.consulting-logo-area {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.consulting-acronym {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-pale);
  width: 56px; height: 56px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.consulting-org { font-weight: 600; font-size: 0.95rem; }
.consulting-location { font-size: 0.78rem; color: var(--text-soft); }
.consulting-role {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-deep);
  margin-bottom: 4px;
}
.consulting-period {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.consulting-card p { font-size: 0.85rem; color: var(--text-soft); line-height: 1.65; }

/* ════════════════════════════════════════════════
   EDUCATION
════════════════════════════════════════════════ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.edu-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.edu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--green-pale));
}
.edu-phd::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.edu-comp::before {
  background: linear-gradient(90deg, #6c757d, #dee2e6);
}
.edu-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.edu-degree {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 2px;
}
.edu-spec {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.edu-inst {
  font-size: 0.84rem;
  color: var(--text-mid);
  font-style: italic;
}

/* ════════════════════════════════════════════════
   MEMBERSHIPS
════════════════════════════════════════════════ */
.memberships-list { display: flex; flex-direction: column; gap: 16px; }
.membership-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.membership-dot {
  flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green-light);
  margin-top: 6px;
}
.membership-item p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }

/* ════════════════════════════════════════════════
   TRAINING
════════════════════════════════════════════════ */
.training-list { display: flex; flex-direction: column; gap: 1px; }
.training-item {
  display: flex; gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.training-item:last-child { border-bottom: none; }
.training-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 58px;
  padding-top: 4px;
}
.training-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 4px;
}
.training-content p { font-size: 0.85rem; color: var(--text-soft); line-height: 1.6; }

/* ════════════════════════════════════════════════
   STUDY TOURS
════════════════════════════════════════════════ */
.study-tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.study-tour-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.study-tour-icon { font-size: 2rem; margin-bottom: 12px; }
.study-tour-card h4 {
  font-size: 1.05rem;
  color: var(--green-deep);
  margin-bottom: 10px;
}
.study-tour-card p { font-size: 0.87rem; color: var(--text-soft); line-height: 1.65; }

/* ════════════════════════════════════════════════
   RESEARCH
════════════════════════════════════════════════ */
.research-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.research-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.research-list { list-style: none; padding: 0; }
.research-list li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
  line-height: 1.7;
}
.research-list li:last-child { border-bottom: none; }
.research-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 0.5rem;
  color: var(--green-light);
  top: 16px;
}

/* ════════════════════════════════════════════════
   PUBLICATIONS
════════════════════════════════════════════════ */
.pub-group {
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pub-group-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-deep);
  transition: background .2s;
}
.pub-group-toggle:hover { background: var(--green-faint); }
.toggle-arrow { transition: transform .3s; flex-shrink: 0; }
.pub-group-toggle[aria-expanded="true"] .toggle-arrow { transform: rotate(180deg); }
.pub-group-content {
  display: none;
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
}
.pub-group-content.open { display: block; }
.pub-list {
  padding: 16px 0 0 20px;
}
.pub-list li {
  font-size: 0.87rem;
  color: var(--text-mid);
  margin-bottom: 12px;
  line-height: 1.7;
}
.pub-list-bullet { padding-left: 18px; }
.pub-list em { color: var(--green-mid); font-style: italic; }

/* ════════════════════════════════════════════════
   AWARDS
════════════════════════════════════════════════ */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.award-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.award-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.award-featured {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  color: #fff;
  border-color: var(--green-mid);
}
.award-featured .award-icon,
.award-featured h4,
.award-featured p,
.award-featured strong {
  color: #fff;
}
.award-featured strong { color: #fff; }
.award-year {
  position: absolute; top: 14px; right: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  font-weight: 600;
}
.award-featured .award-year { color: rgba(255,255,255,0.5); }
.award-icon { font-size: 2.2rem; margin-bottom: 12px; }
.award-card h4 {
  font-size: 1rem;
  color: var(--green-deep);
  margin-bottom: 10px;
}
.award-card p { font-size: 0.83rem; color: var(--text-soft); line-height: 1.65; }

/* ════════════════════════════════════════════════
   EXTRA EXPERIENCE
════════════════════════════════════════════════ */
.extra-exp-list { display: flex; flex-direction: column; gap: 16px; }
.extra-exp-item {
  display: flex; gap: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
}
.extra-exp-period {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 100px;
  padding-top: 4px;
  line-height: 1.6;
}
.extra-exp-content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-deep);
  margin-bottom: 2px;
}
.extra-exp-content p { font-size: 0.87rem; color: var(--text-soft); line-height: 1.65; margin-top: 4px; }

/* ════════════════════════════════════════════════
   LANGUAGES
════════════════════════════════════════════════ */
.lang-table-wrap { overflow-x: auto; }
.lang-table {
  width: 100%; border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.lang-table thead tr {
  background: var(--green-deep);
  color: #fff;
}
.lang-table th, .lang-table td {
  padding: 14px 24px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.lang-table th { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; }
.lang-table tbody tr:last-child td { border-bottom: none; }
.lang-table tbody tr:nth-child(even) { background: var(--green-faint); }
.lang-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}
.lang-excellent {
  background: var(--green-pale);
  color: var(--green-deep);
}

/* ════════════════════════════════════════════════
   EXTRA CURRICULAR
════════════════════════════════════════════════ */
.extra-list { display: flex; flex-direction: column; gap: 12px; }
.extra-item {
  display: flex; align-items: flex-start;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.extra-item::before {
  content: '✦';
  color: var(--green-light);
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 4px;
}

/* ════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════ */
.contact-section {
  background: var(--green-deep);
  color: #fff;
}
.contact-section .section-label { color: var(--green-light); }
.contact-section .section-title { color: #fff; }
.contact-section .section-title::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.contact-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px;
  transition: background .2s;
}
.contact-card:hover { background: rgba(255,255,255,0.11); }
.contact-icon { margin-bottom: 12px; color: var(--green-light); }
.contact-card h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 8px;
}
.contact-card p { font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.7; }
.contact-card a { color: rgba(255,255,255,0.85); }
.contact-card a:hover { color: var(--gold); }
.contact-download { text-align: center; }

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
footer {
  background: #111;
  color: rgba(255,255,255,0.5);
  padding: 28px 32px;
  text-align: center;
}
.footer-inner { max-width: 800px; margin: 0 auto; }
footer p { font-size: 0.82rem; line-height: 1.6; }
.footer-signed { margin-top: 6px; font-family: var(--font-display); font-style: italic; }

/* ════════════════════════════════════════════════
   ANIMATIONS & SCROLL REVEAL
════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 24px; border-radius: 0; }
  .nav-toggle { display: block; }

  .hero-content { flex-direction: column; text-align: center; gap: 28px; }
  .hero-meta { justify-content: center; }
  .hero-actions { justify-content: center; }
  .profile-photo-wrap { align-self: center; }
  .experience-badge { font-size: 0.9rem; }

  .timeline { padding-left: 24px; }
  .timeline-marker { left: -21px; }
  .timeline-header { flex-direction: column; }

  .extra-exp-item { flex-direction: column; gap: 8px; }
  .training-item { flex-direction: column; gap: 6px; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2rem; }
  .skills-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .consulting-grid { grid-template-columns: 1fr; }
}
