/* ============================================================
   STYLE.CSS — Wildlife Portfolio – Ritesh Vishwakarma
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Special+Elite&family=Space+Mono:wght@400;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary:    #0e1310;
  --secondary:  #141910;
  --forest:     #1b2018;
  --meadow:     #6b7c5e;
  --gold:       #b83028;
  --gold-light: #e04030;
  --cream:      #c4b896;
  --cream2:     #b8ad8c;
  --text:       #1c1c1c;
  --text-muted: #8b9280;
  --card:       rgba(255,255,255,0.03);
  --card-hover: rgba(255,255,255,0.06);
  --border:     rgba(160,155,120,0.14);
  --glow:       rgba(184,48,40,0.3);
  --shadow:     0 20px 60px rgba(0,0,0,0.5);
  --radius:     14px;
  --radius-sm:  7px;
  --transition: 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--primary);
  color: var(--cream);
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Custom Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99999;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99998;
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: transform 0.18s ease, width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.6;
}
.cursor.hover { width: 20px; height: 20px; background: var(--gold-light); }
.cursor-ring.hover { width: 52px; height: 52px; opacity: 1; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ---------- Scroll Progress Bar ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 9999;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--meadow));
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--gold);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(14,19,16,0.97);
  backdrop-filter: blur(20px);
  padding: 14px 60px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 4px;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem; font-weight: 400; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(196,184,150,0.55);
  position: relative; padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-admin-btn {
  padding: 7px 18px; border: 1px solid rgba(184,48,40,0.5);
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem; font-weight: 400; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  transition: var(--transition);
}
.nav-admin-btn:hover {
  background: rgba(184,48,40,0.1); color: var(--gold-light);
  box-shadow: 0 0 16px var(--glow);
}
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: none; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: 0.3s; }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative; width: 100%; height: 100vh; min-height: 700px;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 90% at 50% 40%, #1d2b18 0%, #141a11 35%, #0a0e09 100%);
  display: flex; align-items: center; justify-content: center;
}

/* Canvas particles */
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}

/* Gaur strip at bottom */
.gaur-strip {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px; z-index: 2; overflow: hidden; pointer-events: none;
}
.gaur-walk {
  position: absolute; bottom: 0;
  animation: gaurWalk linear infinite;
}
.gaur-walk svg { display: block; }
.gaur-1 { animation-duration: 22s; bottom: 5px; opacity: 0.95; }
.gaur-2 { animation-duration: 30s; animation-delay: -10s; bottom: 3px; opacity: 0.55; transform: scale(0.72); }
.gaur-3 { animation-duration: 40s; animation-delay: -20s; bottom: 2px; opacity: 0.28; transform: scale(0.48); }

@keyframes gaurWalk {
  0%   { left: 105%; }
  100% { left: -320px; }
}

/* Ground line */
.gaur-strip::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(184,48,40,0.35), rgba(107,124,94,0.4), rgba(184,48,40,0.35), transparent);
}

/* Hero content */
.hero-content {
  position: relative; z-index: 3;
  text-align: center; padding: 0 20px;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 18px;
  border: 1px solid rgba(184,48,40,0.4);
  background: rgba(184,48,40,0.07);
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem; font-weight: 400; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 24px;
  animation: fadeSlideDown 0.8s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s ease infinite;
}
.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 7.5vw, 7.5rem);
  font-weight: 400; line-height: 1; letter-spacing: 8px;
  background: linear-gradient(135deg, #c4b896 0%, var(--gold-light) 45%, #c4b896 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite, fadeSlideDown 0.9s 0.2s ease both;
  margin-bottom: 12px;
}
@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.hero-title {
  font-family: 'Space Mono', monospace;
  font-size: clamp(0.7rem, 1.4vw, 0.9rem);
  color: var(--meadow);
  letter-spacing: 4px; margin-bottom: 6px;
  animation: fadeSlideDown 1s 0.35s ease both;
}
.hero-org {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem; font-weight: 400; letter-spacing: 2px;
  color: rgba(196,184,150,0.45); margin-bottom: 36px;
  animation: fadeSlideDown 1s 0.45s ease both;
}
#typewriter {
  font-family: 'Special Elite', cursive;
  font-size: clamp(0.88rem, 1.6vw, 1.1rem);
  color: rgba(196,184,150,0.7);
  min-height: 2.2em; display: block;
  animation: fadeSlideDown 1s 0.55s ease both;
}
#typewriter::after {
  content: '|';
  animation: blink 0.8s step-end infinite;
  color: var(--gold);
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-top: 36px;
  animation: fadeSlideDown 1s 0.7s ease both;
}
.btn-primary {
  padding: 12px 34px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold); font-family: 'Space Mono', monospace;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  box-shadow: 0 0 0 rgba(184,48,40,0);
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-3px);
  background: rgba(184,48,40,0.1);
  box-shadow: 0 8px 28px rgba(184,48,40,0.3);
}
.btn-outline {
  padding: 12px 34px;
  border: 1px solid rgba(196,184,150,0.2);
  color: rgba(196,184,150,0.6); font-family: 'Space Mono', monospace;
  font-size: 0.68rem; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: rgba(107,124,94,0.5); color: var(--meadow);
  box-shadow: 0 0 16px rgba(107,124,94,0.15);
  transform: translateY(-3px);
}

.hero-scroll-hint {
  position: absolute; bottom: 220px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.5; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  animation: bounceY 2s ease infinite;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--red, var(--gold)));
}
@keyframes bounceY {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
section { padding: 100px 60px; position: relative; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block; width: 30px; height: 1px; background: var(--gold);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400; line-height: 1; letter-spacing: 4px;
  margin-bottom: 16px;
}
.section-title span { color: var(--gold); }

.section-divider {
  width: 60px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--meadow));
  margin-bottom: 60px;
}

/* Scroll-reveal animations */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   ABOUT / STATS SECTION
   ============================================================ */
#about { background: var(--secondary); }
#about .section-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center; }

.about-left .section-label, .about-left .section-title, .about-left .section-divider { text-align: left; }
.about-objective {
  font-family: 'Special Elite', cursive; font-size: 1rem; line-height: 2;
  color: rgba(196,184,150,0.75);
}

.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px;
  text-align: center; position: relative; overflow: hidden;
  transition: var(--transition);
}
.stat-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(184,48,40,0.07), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.stat-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.stat-card:hover::before { opacity: 1; }
.stat-icon { font-size: 1.8rem; margin-bottom: 12px; color: var(--gold); }
.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; font-weight: 400; color: var(--gold-light);
  letter-spacing: 2px; line-height: 1;
}
.stat-label { font-family: 'Space Mono', monospace; font-size: 0.62rem; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: rgba(196,184,150,0.45); margin-top: 6px; }

/* ============================================================
   EXPERIENCE TIMELINE
   ============================================================ */
#experience { background: var(--primary); }

.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 12px; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, var(--gold), var(--meadow), transparent);
}
.timeline-item {
  position: relative; margin-bottom: 48px;
  animation: fadeSlideRight 0.6s ease both;
}
.timeline-dot {
  position: absolute; left: -34px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--primary);
  box-shadow: 0 0 0 3px var(--gold), 0 0 16px var(--glow);
  z-index: 1;
  transition: transform 0.3s;
}
.timeline-item.current .timeline-dot {
  background: var(--gold-light);
  animation: pulseGlow 2s ease infinite;
}
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 0 3px var(--gold), 0 0 16px rgba(184,48,40,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(184,48,40,0.25), 0 0 28px rgba(184,48,40,0.4); }
}
.timeline-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 32px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.timeline-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--gold), var(--meadow));
  transform: scaleY(0); transform-origin: top; transition: transform 0.4s ease;
}
.timeline-card:hover { border-color: rgba(184,48,40,0.4); background: var(--card-hover); transform: translateX(6px); }
.timeline-card:hover::before { transform: scaleY(1); }

.timeline-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.timeline-org { font-size: 0.78rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.timeline-title { font-family: 'Special Elite', cursive; font-size: 1rem; font-weight: 400; line-height: 1.5; }
.timeline-badge {
  white-space: nowrap; padding: 3px 12px; font-size: 0.65rem; font-weight: 400;
  font-family: 'Space Mono', monospace; letter-spacing: 1px;
  background: rgba(184,48,40,0.08); border: 1px solid rgba(184,48,40,0.3); color: var(--gold-light);
  flex-shrink: 0;
}
.timeline-badge.current-badge {
  background: rgba(107,124,94,0.1); border-color: rgba(107,124,94,0.35); color: #8fa07e;
}
.timeline-duration { font-family: 'Space Mono', monospace; font-size: 0.65rem; color: rgba(196,184,150,0.4); margin-bottom: 16px; }
.timeline-responsibilities { display: grid; gap: 8px; }
.timeline-responsibilities li {
  font-size: 0.84rem; color: rgba(196,184,150,0.65); line-height: 1.7;
  padding-left: 16px; position: relative;
}
.timeline-responsibilities li::before {
  content: '▹'; position: absolute; left: 0; color: var(--gold); font-size: 0.75rem;
}

/* ============================================================
   EDUCATION
   ============================================================ */
#education { background: var(--secondary); }

.edu-grid { display: grid; gap: 16px; }
.edu-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 28px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 8px 20px; align-items: center;
  transition: var(--transition);
}
.edu-card:first-child { border-color: rgba(184,48,40,0.4); background: rgba(184,48,40,0.04); }
.edu-card:hover { transform: translateX(6px); border-color: rgba(184,48,40,0.4); background: var(--card-hover); }
.edu-degree { font-family: 'Special Elite', cursive; font-size: 0.95rem; font-weight: 400; color: var(--cream); }
.edu-institution { font-size: 0.82rem; color: rgba(196,184,150,0.5); grid-column: 1; }
.edu-year {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1px;
  color: var(--gold); white-space: nowrap; grid-row: 1 / span 2; align-self: center; text-align: right;
}

/* ============================================================
   PUBLICATIONS
   ============================================================ */
#publications { background: var(--primary); }

.pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.pub-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; position: relative;
  overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column; gap: 12px;
}
.pub-card::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(184,48,40,0.08), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.pub-card:hover { transform: translateY(-8px); border-color: rgba(184,48,40,0.4); box-shadow: var(--shadow); }
.pub-card:hover::after { opacity: 1; }
.pub-number {
  font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; font-weight: 400;
  color: rgba(184,48,40,0.12); line-height: 1; position: absolute; right: 20px; top: 16px;
  letter-spacing: 2px;
}
.pub-year { font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.pub-title { font-family: 'Special Elite', cursive; font-size: 0.98rem; font-weight: 400; line-height: 1.6; color: var(--cream); flex: 1; }
.pub-authors { font-size: 0.78rem; color: rgba(196,184,150,0.45); line-height: 1.5; }
.pub-journal { font-style: italic; font-size: 0.82rem; color: var(--meadow); }
.pub-doi {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; color: var(--gold);
  border: 1px solid var(--border); padding: 5px 12px; border-radius: 20px;
  width: fit-content; transition: 0.3s;
}
.pub-doi:hover { background: rgba(184,48,40,0.08); border-color: var(--gold); }

/* ============================================================
   SKILLS
   ============================================================ */
#skills { background: var(--secondary); }

.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.skill-category {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: var(--transition);
}
.skill-category:hover { border-color: rgba(184,48,40,0.35); background: var(--card-hover); transform: translateY(-4px); }
.skill-cat-title {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  padding: 5px 12px; font-size: 0.75rem; font-weight: 400;
  background: rgba(196,184,150,0.04); border: 1px solid rgba(196,184,150,0.09);
  color: rgba(196,184,150,0.65); transition: 0.3s;
  animation: tagPop 0.4s ease both;
}
.skill-tag:hover { background: rgba(184,48,40,0.09); border-color: var(--gold); color: var(--gold-light); }
@keyframes tagPop {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* Certifications */
.certs-list { display: grid; gap: 12px; margin-top: 48px; }
.cert-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 18px;
  display: flex; gap: 14px; align-items: flex-start;
  font-family: 'Special Elite', cursive;
  font-size: 0.85rem; color: rgba(196,184,150,0.65); line-height: 1.7;
  transition: 0.3s;
}
.cert-item:hover { border-color: rgba(184,48,40,0.35); }
.cert-item::before { content: '✦'; color: var(--gold); flex-shrink: 0; font-size: 0.7rem; margin-top: 4px; }

/* ============================================================
   CONFERENCES
   ============================================================ */
#conferences { background: var(--primary); }

.conf-list { display: grid; gap: 16px; }
.conf-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 22px;
  display: flex; gap: 16px; align-items: flex-start;
  font-family: 'Special Elite', cursive;
  font-size: 0.85rem; color: rgba(196,184,150,0.65); line-height: 1.8;
  transition: 0.3s;
}
.conf-item:hover { border-color: rgba(184,48,40,0.35); background: var(--card-hover); transform: translateX(4px); }
.conf-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; font-weight: 400;
  color: rgba(184,48,40,0.3); flex-shrink: 0; min-width: 24px; letter-spacing: 2px;
}

/* ============================================================
   OTHER ACTIVITIES
   ============================================================ */
#activities { background: var(--secondary); }

.act-list { display: grid; gap: 16px; }
.act-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 22px;
  display: flex; gap: 16px; align-items: flex-start;
  font-family: 'Special Elite', cursive;
  font-size: 0.85rem; color: rgba(196,184,150,0.65); line-height: 1.8;
  transition: 0.3s;
}
.act-item:hover { border-color: rgba(184,48,40,0.35); background: var(--card-hover); }
.act-icon { font-size: 1.3rem; flex-shrink: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--primary); }
#contact .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }

.contact-info-grid { display: grid; gap: 20px; }
.contact-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; gap: 16px; align-items: center; transition: 0.3s;
}
.contact-card:hover { border-color: rgba(184,48,40,0.45); transform: translateX(6px); }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; color: var(--gold); }
.contact-card-label { font-family: 'Space Mono', monospace; font-size: 0.6rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-card-value { font-size: 0.88rem; color: var(--cream); word-break: break-all; }

.references-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; font-weight: 400;
  letter-spacing: 3px; color: var(--cream); margin-bottom: 24px;
}
.ref-grid { display: grid; gap: 16px; }
.ref-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px;
  transition: 0.3s;
}
.ref-card:hover { border-color: rgba(184,48,40,0.35); }
.ref-name { font-weight: 700; font-size: 0.92rem; color: var(--gold-light); margin-bottom: 4px; }
.ref-title { font-size: 0.78rem; color: rgba(196,184,150,0.55); line-height: 1.5; margin-bottom: 4px; }
.ref-org { font-size: 0.76rem; color: var(--meadow); }
.ref-email { font-family: 'Space Mono', monospace; font-size: 0.65rem; color: rgba(196,184,150,0.4); margin-top: 6px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--secondary); padding: 40px 60px;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-left { font-family: 'Space Mono', monospace; font-size: 0.68rem; color: rgba(196,184,150,0.35); }
.footer-left strong { color: var(--gold); }
.footer-orcid {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem; color: rgba(196,184,150,0.4);
  display: flex; align-items: center; gap: 8px;
}
.footer-orcid a { color: var(--meadow); text-decoration: underline; text-underline-offset: 3px; }

/* Gaur silhouette watermark in footer */
.footer-gaur {
  position: absolute; right: 0; bottom: 0; opacity: 0.05; pointer-events: none;
}

/* ============================================================
   GAUR SVG
   ============================================================ */
.gaur-svg-body { fill: #1a1a18; }
.gaur-svg-stocking { fill: #d4c89e; }
.gaur-svg-horn { fill: none; stroke: #2a2a20; stroke-linecap: round; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}
@keyframes float {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-10deg) scale(0.9); }
  to   { opacity: 1; transform: rotate(0deg) scale(1); }
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(14,19,16,0.98); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 4px; color: rgba(196,184,150,0.7); transition: color 0.3s; }
.mobile-nav a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  section { padding: 80px 40px; }
  #about .section-inner { grid-template-columns: 1fr; gap: 48px; }
  #contact .section-inner { grid-template-columns: 1fr; gap: 48px; }
  #navbar { padding: 16px 40px; }
  #navbar.scrolled { padding: 12px 40px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 768px) {
  section { padding: 70px 24px; }
  #navbar { padding: 16px 24px; }
  .pub-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .timeline { padding-left: 28px; }
  .hero-cta { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 16px; }
  .stat-value { font-size: 2rem; }
  .edu-card { grid-template-columns: 1fr; }
  .edu-year { text-align: left; }
}
