@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600&family=Share+Tech+Mono&display=swap');

/* Color Palette & Variables */
:root {
  --bg-color: #050508;
  --primary-neon: #00FFFF;
  --secondary-neon: #BF5FFF;
  --surface-color: #0D0D14;
  --border-color: rgba(0, 255, 255, 0.15);
  --text-color: #D0E8E8;
  --muted-text: #4A6060;
  --font-mono: 'Share Tech Mono', monospace;
  --font-body: 'Exo 2', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

/* Scanline Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: repeating-linear-gradient(to bottom,
      transparent 0,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px);
  pointer-events: none;
  z-index: 9998;
}

/* Custom Cursor */
#cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--primary-neon);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--primary-neon);
}

#cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px dashed var(--primary-neon);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, border-color 0.2s, background-color 0.2s;
  animation: cursorSpin 8s linear infinite;
}

@keyframes cursorSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.cursor-active {
  width: 45px !important;
  height: 45px !important;
  border-color: var(--secondary-neon) !important;
  border-style: solid !important;
  background-color: rgba(191, 95, 255, 0.1) !important;
}

/* Section Layout */
section {
  position: relative;
  padding: 100px 5%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10;
}

.section-label {
  font-family: var(--font-mono);
  color: var(--primary-neon);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* Glitch Title */
.section-title {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  color: var(--text-color);
  position: relative;
  display: inline-block;
  margin-top: 0;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.section-title:hover::before,
.section-title:hover::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.section-title:hover::before {
  left: 3px;
  text-shadow: -2px 0 var(--primary-neon);
  animation: glitch-anim-1 0.4s infinite linear alternate-reverse;
}

.section-title:hover::after {
  left: -3px;
  text-shadow: 2px 0 var(--secondary-neon);
  animation: glitch-anim-2 0.3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% {
    clip-path: inset(20% 0 80% 0);
  }

  100% {
    clip-path: inset(60% 0 10% 0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip-path: inset(10% 0 60% 0);
  }

  100% {
    clip-path: inset(30% 0 20% 0);
  }
}

/* Scroll Animation */
.scroll-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Boot Screen */
#boot-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease;
  font-family: var(--font-mono);
  color: var(--primary-neon);
  padding: 20px;
  font-size: 1.2rem;
}

#boot-terminal div {
  margin-bottom: 5px;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  background: transparent;
  cursor: none;
  transition: all 0.3s ease;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  letter-spacing: 1px;
}

.btn-cyan {
  border: 1px solid var(--primary-neon);
  color: var(--primary-neon);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.btn-cyan:hover {
  background: var(--primary-neon);
  color: var(--bg-color);
  box-shadow: 0 0 15px var(--primary-neon);
}

.btn-purple {
  border: 1px solid var(--secondary-neon);
  color: var(--secondary-neon);
  box-shadow: 0 0 10px rgba(191, 95, 255, 0.1);
}

.btn-purple:hover {
  background: var(--secondary-neon);
  color: var(--bg-color);
  box-shadow: 0 0 15px var(--secondary-neon);
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 5%;
  transition: all 0.3s;
  background: transparent;
}

#navbar.scrolled {
  background: rgba(13, 13, 20, 0.85);
  backdrop-filter: blur(20px);
  padding: 15px 5%;
  border-bottom: 1px solid var(--border-color);
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--primary-neon);
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--muted-text);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  font-family: var(--font-mono);
  position: relative;
  transition: color 0.3s;
  cursor: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-neon);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-neon);
}

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

.hamburger {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-neon);
  cursor: none;
}

#mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 13, 20, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10001;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

#mobile-menu.open {
  right: 0;
}

#mobile-menu a {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--text-color);
  text-decoration: none;
  letter-spacing: 0.1em;
  cursor: none;
}

#mobile-menu a:hover {
  color: var(--primary-neon);
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 5%;
  font-size: 2rem;
  color: var(--primary-neon);
  cursor: none;
}

/* Hero Section */
#home {
  min-height: 100vh;
  justify-content: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  background-image: linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 40px;
  animation: panBg 10s linear infinite;
  z-index: -1;
}

@keyframes panBg {
  0% {
    transform: translateY(-40px);
  }

  100% {
    transform: translateY(0);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-left .terminal-window {
  width: 100%;
  max-width: 550px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
  margin-bottom: 30px;
}

.terminal-bar {
  background: rgba(0, 255, 255, 0.05);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.terminal-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted-text);
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
  min-height: 180px;
  text-shadow: 0 0 2px rgba(208, 232, 232, 0.3);
}

.cta-buttons {
  display: flex;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.5s;
  flex-wrap: wrap;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── Cyber Profile Card ── */
.cyber-profile-card {
  width: 100%;
  max-width: 380px;
  background: rgba(10, 10, 20, 0.7);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.1), inset 0 0 20px rgba(0, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cyber-profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 35px rgba(0, 255, 255, 0.2), inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  background: rgba(0, 255, 255, 0.1);
  padding: 10px 15px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.card-status-dot {
  width: 8px;
  height: 8px;
  background: #27c93f;
  border-radius: 50%;
  box-shadow: 0 0 8px #27c93f;
  margin-right: 8px;
  animation: pulse-dot 2s infinite;
}

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

.card-status-text {
  color: var(--primary-neon);
  flex-grow: 1;
  letter-spacing: 1px;
}

.card-id {
  color: var(--secondary-neon);
  opacity: 0.8;
}

.card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.avatar-container {
  position: relative;
  width: 120px;
  height: 120px;
}

.avatar-glow {
  position: absolute;
  top: -10%; left: -10%; width: 120%; height: 120%;
  background: radial-gradient(circle, rgba(191,95,255,0.4) 0%, transparent 70%);
  animation: rotate-glow 5s linear infinite;
  z-index: 0;
}

@keyframes rotate-glow {
  to { transform: rotate(360deg); }
}

.avatar-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(13, 13, 20, 0.9);
  border: 2px dashed var(--primary-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.4);
}

.avatar-image span {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-neon);
  text-shadow: 0 0 10px var(--primary-neon);
  letter-spacing: 2px;
}

.profile-details {
  text-align: center;
  width: 100%;
}

.name-glitch {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 5px;
  text-shadow: 2px 0 var(--secondary-neon), -2px 0 var(--primary-neon);
}

.role-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--bg-color);
  background: var(--primary-neon);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: bold;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.metric {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 10px 5px;
}

.metric-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted-text);
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.metric-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--secondary-neon);
  text-shadow: 0 0 5px rgba(191, 95, 255, 0.5);
}

.card-footer {
  padding: 15px 25px;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
  box-shadow: 0 0 8px var(--primary-neon);
  animation: load-progress 2s ease-out forwards;
}

@keyframes load-progress {
  from { width: 0%; }
}

.progress-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted-text);
  letter-spacing: 1px;
  text-align: right;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.bio-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.15);
  border-radius: 4px;
  padding: 20px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.stat-card {
  text-align: center;
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  color: var(--primary-neon);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Skills Section */
.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.category-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 0.1em;
}

.hex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.hex-wrapper {
  margin: 0 5px;
  filter: drop-shadow(0 0 3px rgba(0, 255, 255, 0.15));
  transition: filter 0.3s, transform 0.3s;
}

.hex-wrapper:nth-child(even) {
  margin-top: 55px;
}

.hex-node {
  width: 100px;
  height: 115px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1px;
}

.hex-inner {
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--surface-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hex-inner span {
  font-size: 1.6rem;
  font-family: var(--font-mono);
  font-weight: bold;
}

.hex-inner small {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--muted-text);
  margin-top: 5px;
  text-align: center;
}

.cyan-tint .hex-node {
  background: rgba(0, 255, 255, 0.4);
}

.cyan-tint .hex-inner span {
  color: var(--primary-neon);
}

.cyan-tint .hex-wrapper:hover {
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.8));
  transform: scale(1.08);
}

.purple-tint .hex-node {
  background: rgba(191, 95, 255, 0.4);
}

.purple-tint .hex-inner span {
  color: var(--secondary-neon);
}

.purple-tint .hex-wrapper:hover {
  filter: drop-shadow(0 0 10px rgba(191, 95, 255, 0.8));
  transform: scale(1.08);
}

.mixed-tint .hex-node {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.5), rgba(191, 95, 255, 0.5));
}

.mixed-tint .hex-inner span {
  color: var(--text-color);
}

.mixed-tint .hex-wrapper:hover {
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.6));
  transform: scale(1.08);
}

.grey-tint .hex-node {
  background: rgba(255, 255, 255, 0.2);
}

.grey-tint .hex-inner span {
  color: var(--muted-text);
}

.grey-tint .hex-wrapper:hover {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
  transform: scale(1.08);
}

/* Projects Section */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--primary-neon);
  color: var(--primary-neon);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: none;
  transition: all 0.3s;
  text-transform: uppercase;
}

.filter-btn:hover {
  background: rgba(0, 255, 255, 0.1);
}

.filter-btn.active {
  background: var(--primary-neon);
  color: var(--bg-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-card .tag-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  margin-bottom: 15px;
  width: max-content;
}

.tag-ai {
  background: rgba(191, 95, 255, 0.1);
  color: var(--secondary-neon);
  border: 1px solid var(--secondary-neon);
}

.tag-chatbot {
  background: rgba(0, 255, 255, 0.1);
  color: var(--primary-neon);
  border: 1px solid var(--primary-neon);
}

.tag-web {
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.1), rgba(191, 95, 255, 0.1));
  color: #fff;
  border: 1px solid var(--primary-neon);
}

.project-title {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--primary-neon);
  margin-bottom: 15px;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--muted-text);
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.tech-stack {
  margin-bottom: 20px;
}

.tech-pill {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--muted-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 6px;
  margin-bottom: 6px;
  border-radius: 4px;
}

.project-links {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.project-links .btn {
  padding: 8px 15px;
  font-size: 0.8rem;
}

/* Timeline Section */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 1px;
  border-left: 1px dashed var(--primary-neon);
  box-shadow: 0 0 8px var(--primary-neon);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.milestone {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.milestone:nth-child(odd) {
  left: 0;
  text-align: right;
}

.milestone:nth-child(even) {
  left: 50%;
  text-align: left;
}

.milestone::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--primary-neon);
  border-radius: 50%;
  top: 45px;
  box-shadow: 0 0 10px var(--primary-neon);
  z-index: 2;
}

.milestone:nth-child(odd)::before {
  right: -6px;
}

.milestone:nth-child(even)::before {
  left: -6px;
}

.timeline-content {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: 4px;
  display: inline-block;
  width: 100%;
  max-width: 460px;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.1);
  position: relative;
}

.timeline-icon {
  position: absolute;
  top: -15px;
  width: 36px;
  height: 36px;
  background: var(--bg-color);
  border: 1px solid var(--primary-neon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  z-index: 5;
}

.milestone:nth-child(odd) .timeline-icon {
  left: -15px;
}

.milestone:nth-child(even) .timeline-icon {
  right: -15px;
}


.timeline-content:hover {
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.timeline-date {
  font-family: var(--font-mono);
  color: var(--primary-neon);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.timeline-title {
  font-family: var(--font-mono);
  color: var(--text-color);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.timeline-desc {
  font-family: var(--font-body);
  color: var(--muted-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Contact Section */
.contact-container {
  display: flex;
  gap: 50px;
}

.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 4px;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.5);
}

.contact-icon {
  color: var(--primary-neon);
  display: flex;
  align-items: center;
}

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

.contact-label {
  font-family: var(--font-mono);
  color: var(--primary-neon);
  font-size: 0.85rem;
}

.contact-value {
  font-family: var(--font-body);
  color: var(--text-color);
  font-size: 1.05rem;
}

.contact-right {
  flex: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 15px;
  color: var(--text-color);
  font-family: var(--font-mono);
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
  width: 100%;
  border-radius: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid var(--primary-neon);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

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

.btn-submit {
  width: 100%;
  background: var(--primary-neon);
  color: var(--bg-color);
  border: 1px solid var(--primary-neon);
  padding: 15px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  transition: all 0.3s;
  font-weight: bold;
  font-size: 1rem;
  cursor: none;
  border-radius: 4px;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background: transparent;
  color: var(--primary-neon);
  box-shadow: 0 0 15px var(--primary-neon);
}

.form-success {
  display: none;
  font-family: var(--font-mono);
  color: var(--primary-neon);
  margin-top: 15px;
  padding: 15px;
  border: 1px solid var(--primary-neon);
  background: rgba(0, 255, 255, 0.05);
  border-radius: 4px;
}

/* Footer */
footer {
  border-top: 1px dashed rgba(0, 255, 255, 0.2);
  background: var(--surface-color);
  padding: 30px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-family: var(--font-mono);
  color: var(--text-color);
  font-size: 0.9rem;
}

.footer-center {
  font-family: var(--font-mono);
  color: var(--muted-text);
  font-size: 0.85rem;
}

.footer-right {
  display: flex;
  gap: 15px;
}

.footer-right a {
  color: var(--muted-text);
  transition: color 0.3s;
  cursor: none;
}

.footer-right a:hover {
  color: var(--primary-neon);
}

/* Blinking Cursor for Terminal */
.blink-cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-left .terminal-window {
    margin: 0 auto 40px auto;
    text-align: left;
  }

  .cta-buttons {
    justify-content: center;
  }

  .about-content,
  .skills-layout,
  .contact-container {
    grid-template-columns: 1fr;
  }

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

  footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

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

  .timeline::after {
    left: 20px;
  }

  .milestone {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding: 20px 0 20px 50px;
  }

  .milestone::before {
    left: 14px !important;
  }

  .terminal-body {
    font-size: 0.9rem;
  }

  .hex-wrapper:nth-child(even) {
    margin-top: 0;
  }

  .hex-grid {
    gap: 15px;
  }

  .hex-node {
    transform: scale(0.9);
  }
}