/* ============================================================
   PRAGNESH MARU PORTFOLIO – style.css
   ============================================================ */

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

:root {
  --bg:        #05071a;
  --bg2:       #080c24;
  --surface:   rgba(255,255,255,0.04);
  --border:    rgba(255,255,255,0.08);
  --accent:    #00d4ff;
  --accent2:   #7c3aed;
  --accent3:   #10b981;
  --text:      #e2e8f0;
  --muted:     #64748b;
  --white:     #ffffff;
  --glow:      rgba(0, 212, 255, 0.15);
  --glow2:     rgba(124, 58, 237, 0.15);
  --radius:    16px;
  --radius-sm: 8px;
  --font:      'Inter', sans-serif;
  --mono:      'JetBrains Mono', monospace;
  --nav-h:     72px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

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

/* ── Canvas BG ──────────────────────────────────────────────── */
#bgCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Custom Cursor ──────────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-follower {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.3s;
  opacity: 0.5;
}
body:hover .cursor-follower { opacity: 0.5; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(5, 7, 26, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo-bracket { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: left var(--transition), right var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link.active::after,
.nav-link:hover::after { left: 0.9rem; right: 0.9rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Sections ───────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 7rem 0;
}
.section:nth-child(even) { background: rgba(255,255,255,0.015); }

/* ── Section Header ─────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 999px;
  background: rgba(0,212,255,0.06);
}
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ── Glass Card ─────────────────────────────────────────────── */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  cursor: none;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 0 0 0 rgba(0,212,255,0);
}
.btn-primary:hover {
  box-shadow: 0 0 24px 2px rgba(0,212,255,0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-ghost:hover {
  background: rgba(0,212,255,0.08);
  transform: translateY(-2px);
}

.full-width { width: 100%; justify-content: center; }

/* ── Tags / Chips ───────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 6px;
  padding: 0.2rem 0.65rem;
}

/* ── Reveal Animations ──────────────────────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up    { transform: translateY(50px); }
.reveal-left  { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 0 3rem;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-content { flex: 1; max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent3);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--accent3);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero-name {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}
.name-line { display: block; }
.name-line.accent {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-family: var(--mono);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--muted);
  margin-bottom: 1.5rem;
  min-height: 2rem;
}
.title-prefix, .title-suffix { color: var(--accent2); }
.cursor-blink { animation: blink 1s step-end infinite; color: var(--accent); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.highlight {
  color: var(--accent);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-plus { font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-num-wrapper { display: flex; align-items: baseline; gap: 0.1rem; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Avatar / Orbit visuals */
.hero-visual { flex-shrink: 0; position: relative; display: flex; align-items: center; justify-content: center; }

.avatar-ring {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

.avatar-inner {
  width: 150px; height: 150px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.15));
  border: 2px solid rgba(0,212,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(20px);
}
.avatar-icon svg { width: 64px; height: 64px; stroke: var(--accent); opacity: 0.9; }

/* Orbit rings */
.orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.orbit-1 { width: 220px; height: 220px; animation: spin 8s linear infinite; }
.orbit-2 { width: 280px; height: 280px; animation: spin 12s linear infinite reverse; }
.orbit-3 { width: 330px; height: 330px; animation: spin 10s linear infinite; }
.orbit-4 { width: 200px; height: 200px; animation: spin 14s linear infinite reverse; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.orbit-dot {
  width: 36px; height: 36px;
  background: rgba(5,7,26,0.8);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -18px;
  backdrop-filter: blur(10px);
}
.orbit-dot img { width: 20px; height: 20px; object-fit: contain; }

.orbit-1 .orbit-dot { animation: counter-spin 8s linear infinite; }
.orbit-2 .orbit-dot { animation: counter-spin 12s linear infinite reverse; }
.orbit-3 .orbit-dot { animation: counter-spin 10s linear infinite; }
.orbit-4 .orbit-dot { animation: counter-spin 14s linear infinite reverse; }
@keyframes counter-spin { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-float 2.5s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
@keyframes fade-float {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.accent-text { color: var(--accent); }

.about-body {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.975rem;
}
.about-body strong { color: var(--text); }

.about-links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.about-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--transition);
}
.about-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.about-link:hover { color: var(--accent); }

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.info-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,0.25);
  box-shadow: 0 8px 32px rgba(0,212,255,0.08);
}
.info-card-icon { font-size: 1.5rem; flex-shrink: 0; }
.info-card-text h4 { font-size: 0.875rem; font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
.info-card-text p { font-size: 0.775rem; color: var(--muted); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════
   EXPERIENCE / TIMELINE
   ═══════════════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}
.timeline-item:nth-child(even) .timeline-card { grid-column: 3; }
.timeline-item:nth-child(even) .timeline-dot { grid-column: 2; }
.timeline-item:nth-child(odd)  .timeline-card { grid-column: 1; }
.timeline-item:nth-child(odd)  .timeline-dot  { grid-column: 2; }

.timeline-dot {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.timeline-dot-inner {
  width: 16px; height: 16px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0,212,255,0.15), 0 0 16px var(--accent);
  animation: dot-pulse 2.5s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,212,255,0.15), 0 0 16px var(--accent); }
  50% { box-shadow: 0 0 0 10px rgba(0,212,255,0.05), 0 0 30px var(--accent); }
}

.timeline-card {
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,212,255,0.08);
  border-color: rgba(0,212,255,0.2);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.job-title { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.company-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 0.25rem;
  transition: color var(--transition);
}
.company-name:hover { color: var(--accent2); }
.company-location { font-size: 0.775rem; color: var(--muted); }

.timeline-date {
  font-family: var(--mono);
  font-size: 0.775rem;
  color: var(--muted);
  white-space: nowrap;
  padding: 0.3rem 0.8rem;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  border: 1px solid var(--border);
}
.timeline-date.current {
  color: var(--accent3);
  background: rgba(16,185,129,0.08);
  border-color: rgba(16,185,129,0.25);
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.timeline-bullets li {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 1.25rem;
  position: relative;
}
.timeline-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.timeline-bullets li strong { color: var(--text); }

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   SKILLS
   ═══════════════════════════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.skill-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.skill-category:hover {
  transform: translateY(-5px);
  border-color: rgba(0,212,255,0.25);
  box-shadow: 0 12px 40px rgba(0,212,255,0.07);
}
.skill-cat-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.skill-cat-icon { font-size: 1rem; }
.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.skill-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  transition: border-color var(--transition), background var(--transition);
}
.skill-item:hover {
  border-color: rgba(0,212,255,0.3);
  background: rgba(0,212,255,0.05);
}
.skill-item img { width: 20px; height: 20px; object-fit: contain; }

/* Skill Bars */
.skill-bars {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.skill-bars-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.bar-item { margin-bottom: 1.25rem; }
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.bar-pct { color: var(--accent); font-family: var(--mono); }
.bar-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ═══════════════════════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 2rem;
}
.project-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.project-card:hover::before { transform: scaleX(1); }
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,212,255,0.1);
  border-color: rgba(0,212,255,0.2);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.project-icon {
  width: 48px; height: 48px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-icon svg { width: 24px; height: 24px; stroke: var(--accent); }

.project-links { display: flex; gap: 0.5rem; align-items: center; }
.project-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all var(--transition);
}
.project-link svg { width: 16px; height: 16px; }
.project-link:hover { color: var(--accent); border-color: var(--accent); background: rgba(0,212,255,0.06); }

.project-private-badge {
  font-size: 0.7rem;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
}

.project-title { font-size: 1.15rem; font-weight: 700; color: var(--white); }
.project-duration { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.project-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.7; flex: 1; }
.project-tech { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.project-btn {
  margin-top: auto;
  padding: 0.6rem 1.25rem;
  font-size: 0.825rem;
  align-self: flex-start;
}

/* ═══════════════════════════════════════════════════════════════
   EDUCATION
   ═══════════════════════════════════════════════════════════════ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.edu-card {
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.25);
}
.edu-icon { font-size: 2rem; flex-shrink: 0; }
.edu-info { flex: 1; }
.edu-info h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.edu-school {
  font-size: 0.9rem;
  color: var(--accent2);
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
  transition: color var(--transition);
}
.edu-school:hover { color: var(--accent); }
.edu-location { font-size: 0.75rem; color: var(--muted); }
.edu-meta { margin-top: 0.9rem; }
.edu-date { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); display: block; margin-bottom: 0.75rem; }

.edu-cgpa { display: flex; flex-direction: column; gap: 0.4rem; }
.cgpa-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.cgpa-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
.cgpa-text { font-family: var(--mono); font-size: 0.75rem; color: var(--accent2); }

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  transition: background var(--transition), transform var(--transition);
}
.contact-item:hover { background: rgba(255,255,255,0.04); transform: translateX(4px); }

.contact-item-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 18px; height: 18px; }

.email-icon    { background: rgba(0,212,255,0.1); color: var(--accent); border: 1px solid rgba(0,212,255,0.2); }
.phone-icon    { background: rgba(16,185,129,0.1); color: var(--accent3); border: 1px solid rgba(16,185,129,0.2); }
.linkedin-icon { background: rgba(0,119,181,0.15); color: #0a66c2; border: 1px solid rgba(0,119,181,0.2); }
.github-icon   { background: rgba(255,255,255,0.05); color: var(--text); border: 1px solid var(--border); }

.contact-item-label { font-size: 0.75rem; color: var(--muted); display: block; }
.contact-item-value { font-size: 0.875rem; color: var(--text); font-weight: 500; }

/* Contact Form */
.contact-form {
  padding: 2rem;
}
.contact-form h3 { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 1.5rem; }

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #3a4a5c; }

.form-success {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 8px;
  color: var(--accent3);
  font-size: 0.875rem;
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-logo {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}
.footer-text { font-size: 0.875rem; color: var(--muted); }
.footer-socials { display: flex; gap: 0.75rem; }
.social-btn {
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all var(--transition);
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(0,212,255,0.06);
  transform: translateY(-2px);
}

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: #2a3545;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding: 2rem 2rem 5rem; min-height: 100vh; justify-content: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .about-link { justify-content: flex-start; }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 40px 1fr; }
  .timeline-item:nth-child(odd)  .timeline-card,
  .timeline-item:nth-child(even) .timeline-card { grid-column: 2; }
  .timeline-item:nth-child(odd)  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot  { grid-column: 1; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 1.5rem; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(5,7,26,0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .section { padding: 5rem 0; }
  .footer-content { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .projects-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1.25rem; }
}
