/* ===== DARK DOODLE DESIGN SYSTEM — NAGAR PORTFOLIO ===== */
/* Clean Hand-Drawn Dark Sketch Aesthetic */

/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Delius+Swash+Caps&family=Patrick+Hand&family=Shantell+Sans:ital,wght@0,300..800;1,300..800&family=JetBrains+Mono:wght@400;600;700&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  /* Brand Colors */
  --primary: #38BDF8;         /* Electric Sketch Cyan */
  --primary-hover: #0EA5E9;
  --secondary: #94A3B8;       /* Graphite Pencil Line */
  --secondary-light: #CBD5E1;  /* Light Chalk Line */
  --secondary-dark: #0F172A;
  
  --surface: #1E293B;         /* Dark Slate Sketch Surface */
  --surface-card: #182232;    /* Card Surface */
  --bg-paper: #0B0F17;        /* Dark Charcoal Sketchbook */
  --bg-paper-grid: rgba(255, 255, 255, 0.04);

  --text-primary: #F8FAFC;     /* Chalk White Text */
  --text-secondary: #CBD5E1;   /* Graphite Pencil Subtext */
  --text-tertiary: #64748B;    /* Muted Text */

  --success: #4ADE80;         /* Neon Chalk Green */
  --warning: #FACC15;         /* Neon Chalk Yellow */
  --danger: #F87171;          /* Chalk Crimson */

  /* Dark Doodle Highlighter Accents */
  --accent-yellow: #FDE047;
  --accent-pink: #F472B6;
  --accent-mint: #4ADE80;
  --accent-cyan: #38BDF8;
  --accent-purple: #C084FC;
  --tape-color: rgba(253, 224, 71, 0.2);

  /* Typography */
  --font-display: 'Delius Swash Caps', cursive, sans-serif;
  --font-body: 'Shantell Sans', cursive, sans-serif;
  --font-handwriting: 'Patrick Hand', cursive, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-padding: 90px 0;
  --container-width: 1140px;

  /* Realistic Hand-Drawn Sketch Border Radii (No Distorted Ovals!) */
  --wobble-1: 14px 22px 16px 28px / 24px 14px 26px 16px;
  --wobble-2: 20px 12px 24px 14px / 12px 22px 16px 24px;
  --wobble-3: 16px 24px 12px 20px / 22px 14px 20px 12px;
  --wobble-pill: 20px / 18px;

  /* Hand-Drawn Ink Shadows & Borders */
  --sketch-border: 2px solid var(--secondary);
  --sketch-border-thin: 1.5px solid var(--secondary);
  --sketch-border-primary: 2px solid var(--primary);
  
  --shadow-sketch: 4px 4px 0px #020617;
  --shadow-sketch-lg: 6px 6px 0px #020617;
  --shadow-sketch-primary: 5px 5px 0px var(--primary);
  --shadow-sketch-hover: 6px 6px 0px var(--primary);

  /* Transitions */
  --transition-bounce: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.25s ease-out;
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: auto;
  scrollbar-color: var(--primary) var(--bg-paper);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-paper);
  /* Dark Notebook Graph Paper Grid */
  background-image: 
    linear-gradient(to right, var(--bg-paper-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--bg-paper-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 1.05rem;
}

body.menu-open {
  overflow: hidden;
}

/* Navigation Drawer Backdrop */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 15, 23, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-paper);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border: 2px solid var(--bg-paper);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-yellow);
}

::selection {
  background: var(--accent-yellow);
  color: var(--secondary-dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition-smooth);
}

/* ===== UTILITIES & LAYOUT ===== */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Notebook Tape Accent */
.tape {
  position: absolute;
  top: -12px;
  left: 30px;
  width: 70px;
  height: 20px;
  background: var(--tape-color);
  transform: rotate(-3deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  z-index: 2;
  border-left: 1px dashed rgba(255, 255, 255, 0.2);
  border-right: 1px dashed rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.tape-right {
  left: auto;
  right: 30px;
  transform: rotate(4deg);
}

/* Background Effects */
.bg-noise, .bg-grid, .orb {
  display: none;
}

/* Section Divider */
.section-divider {
  width: 100%;
  height: 24px;
  margin: 40px 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' fill='none'%3E%3Cpath d='M0 12 Q 150 4, 300 12 T 600 12 T 900 12 T 1200 12' stroke='%2338BDF8' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.6;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px auto;
  position: relative;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary-dark);
  background: var(--accent-yellow);
  padding: 4px 14px;
  border: 1.5px solid var(--secondary-dark);
  border-radius: var(--wobble-pill);
  transform: rotate(-1.5deg);
  margin-bottom: 14px;
  box-shadow: 2px 2px 0px #020617;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw + 0.8rem, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

/* Sketch Underline */
.section-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' fill='none'%3E%3Cpath d='M3 8 Q 75 2, 150 7 T 297 5' stroke='%2338BDF8' stroke-width='3.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin-top: -2px;
}

.section-subtitle {
  font-family: var(--font-handwriting);
  font-size: 1.3rem;
  color: var(--text-secondary);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: var(--container-width);
  z-index: 1000;
  background: var(--surface-card);
  border: var(--sketch-border-primary);
  border-radius: var(--wobble-3);
  box-shadow: var(--shadow-sketch-lg);
  padding: 10px 24px;
  transition: all var(--transition-bounce);
}

.navbar.scrolled {
  top: 10px;
  background: #111827;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary-dark);
  background: var(--primary);
  padding: 2px 12px;
  border: 1.5px solid var(--secondary-dark);
  border-radius: var(--wobble-1);
  box-shadow: 2px 2px 0px #020617;
}

.nav-logo:hover {
  transform: rotate(-3deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--wobble-pill);
  transition: all var(--transition-bounce);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--accent-yellow);
  color: var(--secondary-dark);
  border: 1.5px solid var(--secondary-dark);
  transform: rotate(-1deg);
}

.nav-cta {
  background: var(--accent-pink) !important;
  color: var(--secondary-dark) !important;
  border: 1.5px solid var(--secondary-dark) !important;
  box-shadow: 2.5px 2.5px 0px #020617;
}

.nav-cta:hover {
  background: var(--accent-yellow) !important;
  transform: translate(-2px, -2px) rotate(1deg) !important;
  box-shadow: 4px 4px 0px #020617 !important;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: var(--sketch-border-thin);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--secondary-light);
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: var(--accent-yellow);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: var(--accent-yellow);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 160px 0 90px 0;
  position: relative;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-handwriting);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary-dark);
  background: var(--accent-mint);
  border: 1.5px solid var(--secondary-dark);
  border-radius: var(--wobble-pill);
  padding: 6px 16px;
  box-shadow: 2.5px 2.5px 0px #020617;
  margin-bottom: 24px;
  transform: rotate(-1deg);
}

.hero-badge .pulse {
  width: 10px;
  height: 10px;
  background: #16A34A;
  border: 1.5px solid var(--secondary-dark);
  border-radius: 50%;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw + 1rem, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero-name .first-name {
  color: var(--text-primary);
  display: inline-block;
}

.hero-name .last-name {
  color: var(--secondary-dark);
  background: var(--accent-yellow);
  padding: 0 12px;
  border: 1.5px solid var(--secondary-dark);
  border-radius: var(--wobble-1);
  display: inline-block;
  transform: rotate(1deg);
  box-shadow: 3px 3px 0px #020617;
}

.hero-title {
  font-family: var(--font-handwriting);
  font-size: 1.7rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.typed-text {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline cubic-bezier(0.34, 1.56, 0.64, 1) var(--accent-yellow);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* Stats Cards */
.hero-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}

.hero-stat {
  background: var(--surface-card);
  border: 2px solid var(--primary);
  border-radius: var(--wobble-2);
  padding: 16px 24px;
  box-shadow: var(--shadow-sketch);
  transition: all var(--transition-bounce);
  position: relative;
}

.hero-stat:nth-child(1) {
  transform: rotate(-2deg);
}

.hero-stat:nth-child(2) {
  border-color: var(--accent-yellow);
  transform: rotate(2deg);
}

.hero-stat:hover {
  transform: translate(-3px, -3px) rotate(0deg);
  box-shadow: var(--shadow-sketch-hover);
}

.hero-stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat:nth-child(2) .hero-stat-value {
  color: var(--accent-yellow);
}

.hero-stat-label {
  font-family: var(--font-handwriting);
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 28px;
  border: 2px solid var(--secondary-dark);
  border-radius: var(--wobble-pill);
  cursor: pointer;
  transition: all var(--transition-bounce);
}

.btn-primary {
  background: var(--primary);
  color: var(--secondary-dark);
  box-shadow: 4px 4px 0px #020617;
  transform: rotate(-1deg);
}

.btn-primary:hover {
  background: var(--accent-yellow);
  transform: translate(-3px, -4px) rotate(1deg);
  box-shadow: 6px 6px 0px #020617;
}

.btn-secondary {
  background: var(--surface-card);
  color: var(--text-primary);
  border: var(--sketch-border);
  box-shadow: var(--shadow-sketch);
  transform: rotate(1deg);
}

.btn-secondary:hover {
  background: var(--accent-pink);
  color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translate(-3px, -4px) rotate(-1deg);
  box-shadow: 6px 6px 0px #020617;
}

/* Hero Visual Avatar */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-avatar-ring {
  width: 260px;
  height: 260px;
  background: #1E1B4B;
  border: 3px solid var(--primary);
  border-radius: 50% 45% 55% 48% / 48% 52% 48% 52%;
  box-shadow: 6px 6px 0px #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: rotate(-2deg);
}

.hero-avatar {
  font-family: var(--font-display);
  font-size: 7.5rem;
  font-weight: 800;
  color: var(--accent-yellow);
  text-shadow: 3px 3px 0px #020617;
  line-height: 1;
  user-select: none;
}

.hero-float-card {
  position: absolute;
  border: 2px solid var(--secondary-dark);
  border-radius: 12px 18px 14px 16px / 16px 12px 18px 14px;
  padding: 10px 18px;
  font-family: var(--font-handwriting);
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 3px 3px 0px #020617;
  white-space: nowrap;
  z-index: 5;
  transition: all var(--transition-bounce);
}

.hero-float-card.card-top {
  top: -15px;
  right: -30px;
  background: var(--accent-yellow);
  color: var(--secondary-dark);
  transform: rotate(4deg);
}

.hero-float-card.card-bottom {
  bottom: -15px;
  left: -30px;
  background: var(--accent-mint);
  color: var(--secondary-dark);
  transform: rotate(-4deg);
}

.hero-float-card:hover {
  transform: scale(1.08) rotate(0deg);
  box-shadow: 5px 5px 0px #020617;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text {
  background: var(--surface-card);
  border: var(--sketch-border);
  border-radius: var(--wobble-3);
  padding: 36px;
  box-shadow: var(--shadow-sketch-lg);
  position: relative;
}

.about-text p {
  margin-bottom: 18px;
  color: var(--text-primary);
  line-height: 1.8;
}

/* Info Grid — Fixed Card Padding & Clean Borders */
.about-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px dashed var(--secondary);
}

.about-info-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--secondary);
  border-radius: 12px 18px 10px 16px / 16px 10px 18px 12px;
  padding: 12px 16px;
  box-shadow: 2px 2px 0px #020617;
  transition: all var(--transition-bounce);
}

.about-info-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.about-info-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.5px;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-info-value {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  word-break: break-word;
}

/* Highlight Cards */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.highlight-card {
  background: var(--surface-card);
  border: var(--sketch-border);
  border-radius: var(--wobble-2);
  padding: 24px;
  box-shadow: var(--shadow-sketch);
  transition: all var(--transition-bounce);
  position: relative;
}

.highlight-card:nth-child(1) { border-color: var(--accent-yellow); transform: rotate(-1.5deg); }
.highlight-card:nth-child(2) { border-color: var(--accent-mint); transform: rotate(1.5deg); }
.highlight-card:nth-child(3) { border-color: var(--primary); transform: rotate(1deg); }
.highlight-card:nth-child(4) { border-color: var(--accent-pink); transform: rotate(-1deg); }

.highlight-card:hover {
  transform: translate(-4px, -5px) rotate(0deg);
  box-shadow: var(--shadow-sketch-hover);
}

.highlight-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.highlight-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.highlight-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== EDUCATION TIMELINE ===== */
.education-timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  background: var(--surface-card);
  border: var(--sketch-border);
  border-radius: var(--wobble-1);
  padding: 30px;
  box-shadow: var(--shadow-sketch-lg);
  position: relative;
  transition: all var(--transition-bounce);
}

.timeline-item::before {
  content: '📌';
  position: absolute;
  top: -12px;
  left: 24px;
  font-size: 1.4rem;
}

.timeline-item:hover {
  transform: translate(-3px, -4px) rotate(-0.5deg);
  box-shadow: var(--shadow-sketch-hover);
}

.timeline-date {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-dark);
  background: var(--accent-yellow);
  padding: 3px 12px;
  border: 1.5px solid var(--secondary-dark);
  border-radius: var(--wobble-pill);
  margin-bottom: 10px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.timeline-institution {
  font-family: var(--font-handwriting);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.timeline-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.timeline-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary-dark);
  background: var(--accent-cyan);
  border: 1.5px solid var(--secondary-dark);
  border-radius: var(--wobble-pill);
  padding: 3px 10px;
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px;
}

.project-card {
  background: var(--surface-card);
  border: var(--sketch-border);
  border-radius: var(--wobble-3);
  padding: 30px;
  box-shadow: var(--shadow-sketch-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-bounce);
  position: relative;
}

.project-card:nth-child(1) { border-color: var(--accent-yellow); transform: rotate(-1deg); }
.project-card:nth-child(2) { border-color: var(--accent-mint); transform: rotate(1deg); }
.project-card:nth-child(3) { border-color: var(--accent-pink); transform: rotate(-0.5deg); }

.project-card:hover {
  transform: translate(-5px, -6px) rotate(0deg);
  box-shadow: 8px 8px 0px var(--primary);
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.project-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  background: var(--accent-yellow);
  border: 1.5px solid var(--secondary-dark);
  border-radius: 50% 40% 50% 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0px #020617;
}

.project-link {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-dark);
  background: var(--accent-mint);
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--secondary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px #020617;
}

.project-link:hover {
  background: var(--accent-yellow);
  transform: rotate(15deg) scale(1.1);
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-dark);
}

.project-stat {
  background: var(--accent-pink);
  padding: 4px 10px;
  border: 1.5px solid var(--secondary-dark);
  border-radius: var(--wobble-pill);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tech-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.04);
  border: var(--sketch-border-thin);
  border-radius: var(--wobble-pill);
  padding: 3px 10px;
}

/* ===== TECH STACK ===== */
.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
}

.tech-category {
  background: var(--surface-card);
  border: var(--sketch-border);
  border-radius: var(--wobble-2);
  padding: 24px;
  box-shadow: var(--shadow-sketch);
  transition: all var(--transition-bounce);
}

.tech-category:hover {
  transform: translate(-3px, -4px);
  box-shadow: var(--shadow-sketch-hover);
}

.tech-category-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--primary);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-item {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-dark);
  background: var(--accent-cyan);
  border: 1.5px solid var(--secondary-dark);
  border-radius: var(--wobble-pill);
  padding: 6px 14px;
  box-shadow: 2px 2px 0px #020617;
  transition: all var(--transition-bounce);
}

.tech-item:hover {
  background: var(--accent-yellow);
  transform: rotate(-3deg) scale(1.06);
}

/* ===== EXPERIENCE & VOLUNTEERING ===== */
.experience-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.exp-card {
  background: var(--surface-card);
  border: var(--sketch-border);
  border-radius: var(--wobble-1);
  padding: 28px;
  box-shadow: var(--shadow-sketch-lg);
  transition: all var(--transition-bounce);
}

.exp-card:hover {
  transform: translate(-3px, -4px);
  box-shadow: var(--shadow-sketch-hover);
}

.exp-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.exp-card-icon {
  font-size: 2.2rem;
  width: 56px;
  height: 56px;
  background: var(--accent-mint);
  border: 1.5px solid var(--secondary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px #020617;
}

.exp-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
}

.exp-card-org {
  font-family: var(--font-handwriting);
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
}

.exp-card-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.exp-card-body ul {
  padding-left: 20px;
  color: var(--text-primary);
  line-height: 1.8;
}

.exp-card-body li {
  margin-bottom: 8px;
}

/* ===== INTERESTS & PERSONAL ===== */
.interests-grid, .personal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}

.interest-card, .personal-card {
  background: var(--surface-card);
  border: var(--sketch-border);
  border-radius: var(--wobble-3);
  padding: 24px;
  box-shadow: var(--shadow-sketch);
  display: flex;
  gap: 16px;
  transition: all var(--transition-bounce);
}

.interest-card:hover, .personal-card:hover {
  transform: translate(-3px, -4px) rotate(1deg);
  box-shadow: var(--shadow-sketch-hover);
}

.interest-card-icon, .personal-card-icon {
  font-size: 2.2rem;
}

.interest-card-text h4, .personal-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.interest-card-text p, .personal-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.currently-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px;
  width: 100%;
}

.currently-item {
  background: var(--surface-card);
  border: var(--sketch-border);
  border-radius: var(--wobble-2);
  padding: 16px 20px;
  box-shadow: var(--shadow-sketch);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition-bounce);
  min-width: 0;
}

.currently-item:nth-child(1) { border-color: var(--accent-yellow); }
.currently-item:nth-child(2) { border-color: var(--accent-mint); }
.currently-item:nth-child(3) { border-color: var(--accent-pink); }
.currently-item:nth-child(4) { border-color: var(--primary); }

.currently-item:hover {
  transform: translate(-3px, -3px) rotate(-1.5deg);
  box-shadow: var(--shadow-sketch-hover);
}

.currently-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.currently-text {
  min-width: 0;
  text-align: left;
}

.currently-text h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.currently-text p {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.currently-text p a {
  color: var(--primary);
  text-decoration: none;
}

.currently-text p a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
  background: #050810;
  color: #FFFFFF;
  border-top: 4px solid var(--primary);
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 380px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  flex: 1;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent-yellow);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #CBD5E1;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  color: #64748B;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  font-size: 1.2rem;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--secondary-dark);
  transform: rotate(10deg);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 75px;
    left: 4%;
    width: 92%;
    max-height: calc(85vh - 75px);
    overflow-y: auto;
    background: var(--surface-card);
    border: var(--sketch-border-primary);
    border-radius: var(--wobble-1);
    box-shadow: var(--shadow-sketch-lg);
    flex-direction: column;
    padding: 24px;
    gap: 12px;
    display: none;
    z-index: 1000;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets (<= 768px) */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .hero {
    padding: 130px 0 60px 0;
  }

  .hero-avatar-ring {
    width: 220px;
    height: 220px;
  }

  .hero-avatar {
    font-size: 6rem;
  }

  .hero-float-card.card-top {
    right: -10px;
    top: -10px;
  }

  .hero-float-card.card-bottom {
    left: -10px;
    bottom: -10px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Small Tablets & Mobile Devices (<= 576px) */
@media (max-width: 576px) {
  .container {
    width: 92%;
  }

  .navbar {
    padding: 8px 16px;
  }

  .hero-badge {
    font-size: 1rem;
    padding: 5px 12px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-description {
    font-size: 1.02rem;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .about-info-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .about-text {
    padding: 24px 18px;
  }

  .timeline-item {
    padding: 24px 18px;
  }

  .exp-card {
    padding: 24px 18px;
  }

  .exp-card-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .exp-card-meta {
    text-align: center;
  }

  .project-card {
    padding: 24px 18px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .currently-item {
    flex-direction: column;
    text-align: center;
  }

  .currently-text {
    text-align: center;
  }
}

/* Ultra Small Devices (<= 380px) */
@media (max-width: 380px) {
  .hero-stats {
    flex-direction: column;
    width: 100%;
  }

  .hero-stat {
    width: 100%;
  }

  .hero-avatar-ring {
    width: 170px;
    height: 170px;
  }

  .hero-avatar {
    font-size: 4.5rem;
  }

  .hero-float-card {
    font-size: 0.9rem;
    padding: 6px 10px;
  }
}