/* ==========================================================================
   BAIBHAV DHAMALA — CLASS XI SCHOLAR & DEVELOPER PORTFOLIO
   Modern, ultra-attractive, responsive design system.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Color System */
  --bg-dark: #07090e;
  --bg-card: rgba(15, 20, 32, 0.65);
  --bg-card-hover: rgba(22, 29, 46, 0.85);
  --bg-card-subtle: rgba(255, 255, 255, 0.02);

  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-violet: #6366f1;
  --accent-purple: #a855f7;
  --accent-coral: #ff3366;
  --accent-emerald: #10b981;

  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 240, 255, 0.35);
  --border-glow: rgba(99, 102, 241, 0.4);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --nav-height: 74px;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Background Atmosphere Glows */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, rgba(0, 240, 255, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -15%;
  right: 10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.05) 0%, rgba(99, 102, 241, 0.03) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 36px);
  position: relative;
  z-index: 2;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, var(--accent-cyan) 60%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 50%, var(--accent-coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Card Style */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 240, 255, 0.12);
  transform: translateY(-2px);
}

/* Section Header Shared */
.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-desc {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: clamp(15px, 1.2vw, 17px);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.site-nav.is-scrolled {
  background: rgba(7, 9, 14, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  height: 66px;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  color: #fff;
  letter-spacing: -0.01em;
}

.brand-dot {
  width: 9px;
  height: 9px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-dot 2.4s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  transition: width var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-smooth);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  color: #07090e;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.45);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 50px) 0 80px;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.status-ping {
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
}

.status-ping::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent-emerald);
  opacity: 0.6;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

.status-text {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #34d399;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 36px;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   About & Academics Section
   ========================================================================== */
.about-section {
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: flex-start;
}

.about-story {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-story p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
}

.about-highlight-box {
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(0, 240, 255, 0.04));
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 10px 0;
}

.about-highlight-box strong {
  color: #fff;
  font-size: 15px;
  display: block;
  margin-bottom: 6px;
}

.academic-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.academic-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-stream {
  padding: 4px 12px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.grade-year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-subtle);
}

.academic-title {
  font-size: 22px;
  margin-bottom: 4px;
}

.academic-sub {
  color: var(--text-muted);
  font-size: 14px;
}

.academic-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.academic-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.academic-list-item .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.learning-ticker {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
}

.learning-ticker-label {
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.learning-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.learn-pill {
  font-size: 12px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  color: #fff;
}

/* ==========================================================================
   Skills & Arsenal Section
   ========================================================================== */
.skills-section {
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
}

.skills-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.is-active {
  color: #07090e;
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.3);
  font-weight: 600;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.skill-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.skill-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skill-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.skill-level-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  font-weight: 600;
}

.skill-name {
  font-size: 18px;
  font-weight: 700;
}

.skill-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.skill-meter {
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: auto;
}

.skill-progress {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
}

/* ==========================================================================
   Featured Projects Section
   ========================================================================== */
.projects-section {
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
}

.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
}

.project-visual {
  position: relative;
  width: 100%;
  height: 200px;
  background: #0d111c;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.project-visual-graphic {
  position: absolute;
  inset: 0;
  opacity: 0.85;
  transition: transform var(--transition-smooth);
}

.project-card:hover .project-visual-graphic {
  transform: scale(1.05);
}

.project-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 4px 10px;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.project-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  transition: color var(--transition-fast);
}

.project-card:hover .project-title {
  color: var(--accent-cyan);
}

.project-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-body);
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.project-links {
  display: flex;
  gap: 12px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  transition: color var(--transition-fast);
}

.link-btn:hover {
  color: var(--accent-cyan);
}

.inspect-btn {
  font-size: 12.5px;
  color: var(--accent-cyan);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 240, 255, 0.06);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 240, 255, 0.2);
  transition: all var(--transition-fast);
}

.inspect-btn:hover {
  background: var(--accent-cyan);
  color: #07090e;
}

/* ==========================================================================
   Journey & Education Timeline
   ========================================================================== */
.journey-section {
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
}

.timeline-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-violet) 70%, transparent);
}

@media (min-width: 768px) {
  .timeline-wrap::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: 20px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  transform: translate(-6px, 6px);
  z-index: 3;
}

@media (min-width: 768px) {
  .timeline-node {
    left: 50%;
    transform: translate(-50%, 6px);
  }
}

.timeline-content {
  margin-left: 54px;
  padding: 22px 26px;
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: calc(50% + 32px);
    text-align: right;
  }
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: calc(50% + 32px);
  }
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Achievements & Honors Section
   ========================================================================== */
.achievements-section {
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.achievement-card {
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.achievement-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.achievement-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.achievement-title {
  font-size: 17px;
  font-weight: 700;
}

.achievement-issuer {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
}

.achievement-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding: clamp(60px, 8vw, 110px) 0 80px;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: flex-start;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.channel-item:hover {
  border-color: var(--border-highlight);
  transform: translateX(4px);
}

.channel-icon {
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.channel-text {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-subtle);
  text-transform: uppercase;
}

.channel-value {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
}

.contact-form-panel {
  padding: clamp(24px, 4vw, 36px);
}

.form-group-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  transition: all var(--transition-fast);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
  margin-top: 16px;
}

.form-alert.is-success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  position: relative;
  background: #040508;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.footer-text {
  font-size: 13.5px;
  color: var(--text-subtle);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon-link {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition-fast);
}

.social-icon-link:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Interactive Modals (Project Case Study & CV)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 740px;
  max-height: calc(100vh - 80px);
  background: #0d111c;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 240, 255, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform var(--transition-bounce);
}

.modal-overlay.is-active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.modal-header-bar h3 {
  font-size: 22px;
}

.modal-close-btn {
  font-size: 24px;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-coral);
  color: #fff;
}

.modal-scroll-body {
  padding: 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(7, 9, 14, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 99;
  transform: translateY(-120%);
  transition: transform var(--transition-smooth);
}

.mobile-drawer.is-open {
  transform: translateY(0);
}

.mobile-drawer a {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-body);
}

.mobile-drawer a:hover {
  color: var(--accent-cyan);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
