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

:root {
  --bg-primary: #070b16;
  --bg-secondary: #0c1225;
  --bg-card: rgba(10, 18, 40, 0.78);
  --accent-1: #00e59e;
  --accent-2: #ff6090;
  --accent-3: #ffbe45;
  --accent-4: #00d4ff;
  --accent-5: #00e59e;
  --neon-pink: #ff6090;
  --text-primary: #f8fafc;
  --text-secondary: #b0bec5;
  --border-color: rgba(0, 229, 158, 0.18);
  --glow: 0 0 50px rgba(0, 229, 158, 0.2);
  --glow-strong: 0 0 80px rgba(0, 229, 158, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 16px;
}

/* ===== CUSTOM CURSOR TRAIL ===== */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent-1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s;
  mix-blend-mode: screen;
}

/* ===== PARTICLE BG ===== */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== LOADER ===== */
.loader-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.6s, visibility 0.6s;
}

.loader-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-4));
  border-radius: 10px;
  animation: loadBar 1.8s ease forwards;
}

.loader-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 4px;
  text-transform: uppercase;
}

@keyframes loadBar {
  to {
    width: 100%;
  }
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 8, 15, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 5000;
  transition: transform 0.35s;
}

nav.hide-nav {
  transform: translateY(-100%);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(0, 229, 158, 0.1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-1);
  transition: 0.3s;
  transform: translateX(-50%);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 8% 80px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content {
  animation: heroSlideIn 1s ease 1.8s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(0, 229, 158, 0.12);
  border: 1px solid rgba(0, 229, 158, 0.25);
  font-size: 13px;
  color: var(--accent-3);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-4), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.hero-subtitle {
  font-size: 21px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  padding: 15px 34px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: white;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: 0.35s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 24px rgba(0, 229, 158, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 229, 158, 0.45);
}

.btn-outline {
  padding: 15px 34px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: 0.35s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: var(--accent-1);
  background: rgba(0, 229, 158, 0.08);
  transform: translateY(-3px);
}

/* Hero Image */
.hero-image-section {
  animation: heroImageIn 1s ease 2s both;
  display: flex;
  justify-content: center;
}

.profile-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.profile-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent-1), var(--accent-4), var(--accent-2), var(--accent-1));
  animation: spinRing 6s linear infinite;
  opacity: 0.7;
}

.profile-ring::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg-primary);
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 4px solid var(--bg-primary);
}

.profile-float-badge {
  position: absolute;
  z-index: 3;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--accent-3);
  animation: floatBadge 3s ease-in-out infinite;
  white-space: nowrap;
}

.profile-float-badge.top {
  top: 10px;
  right: -30px;
}

.profile-float-badge.bottom {
  bottom: 10px;
  left: -30px;
  animation-delay: 1.5s;
}

/* ===== SECTION BASE ===== */
section {
  padding: 100px 8%;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-1);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
}

.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-4));
  margin: 16px auto 0;
  border-radius: 10px;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  transition: 0.4s;
  opacity: 0;
  transform: translateY(30px);
}

.about-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-card:hover {
  border-color: var(--accent-1);
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

.about-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 229, 158, 0.2), rgba(255, 96, 144, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.about-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.about-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===== EXPERIENCE ===== */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

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

.timeline-item {
  padding-left: 56px;
  margin-bottom: 40px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: 0.5s;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-1);
  z-index: 2;
}

.timeline-item h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-item .role {
  font-size: 15px;
  color: var(--accent-3);
  margin-bottom: 4px;
}

.timeline-item .duration {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.timeline-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-4));
  transform: scaleX(0);
  transition: 0.4s;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  border-color: var(--accent-1);
  transform: translateY(-10px);
  box-shadow: var(--glow);
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 20px;
}

.project-status.live {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.project-status.progress {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.project-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.project-status.live .status-dot {
  background: #22c55e;
  animation: pulse 2s infinite;
}

.project-status.progress .status-dot {
  background: #f59e0b;
  animation: pulse 2s infinite;
}

.project-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 600;
}

.project-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tags span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 229, 158, 0.1);
  border: 1px solid rgba(0, 229, 158, 0.2);
  color: var(--accent-3);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent-4);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.project-link:hover {
  gap: 10px;
  color: var(--accent-3);
}

/* ===== SKILLS ===== */
.skills-container {
  max-width: 800px;
  margin: 0 auto;
}

.skill-category {
  margin-bottom: 36px;
}

.skill-category h3 {
  font-size: 15px;
  color: var(--accent-3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 600;
}

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

.skill-tag {
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: 0.35s;
  cursor: default;
  opacity: 0;
  transform: translateY(15px);
}

.skill-tag.visible {
  opacity: 1;
  transform: translateY(0);
}

.skill-tag:hover {
  border-color: var(--accent-1);
  background: rgba(0, 229, 158, 0.1);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

/* ===== EDUCATION ===== */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: 0.4s;
  opacity: 0;
  transform: translateY(30px);
}

.edu-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.edu-card:hover {
  border-color: var(--accent-1);
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

.edu-card .edu-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.edu-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.edu-card .edu-school {
  font-size: 14px;
  color: var(--accent-3);
  margin-bottom: 4px;
}

.edu-card .CGPA {
  font-size: 14px;
  color: var(--accent-4);
  font-weight: 600;
  margin-bottom: 4px;
}

.edu-card .edu-year {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===== CONTACT ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.contact-profile {
  text-align: center;
}

.contact-profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-1);
  margin-bottom: 20px;
  box-shadow: 0 0 40px rgba(0, 229, 158, 0.25);
}

.contact-profile h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  margin-bottom: 6px;
}

.contact-profile p {
  font-size: 15px;
  color: var(--text-secondary);
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.35s;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 18px;
}

.social-btn:hover {
  border-color: var(--accent-1);
  background: rgba(0, 229, 158, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

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

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: 0.35s;
}

.contact-info-card:hover {
  border-color: var(--accent-1);
  transform: translateX(6px);
}

.contact-info-card .cic-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 229, 158, 0.2), rgba(255, 96, 144, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.contact-info-card p {
  font-size: 15px;
  font-weight: 600;
  margin-top: 2px;
}

.contact-info-card a {
  color: var(--text-primary);
  text-decoration: none;
}

.contact-info-card a:hover {
  color: var(--accent-4);
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 40px 8%;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

footer p {
  font-size: 14px;
  color: var(--text-secondary);
}

footer .heart {
  color: var(--accent-1);
  animation: pulse 1.5s infinite;
  display: inline-block;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ===== FLOATING ROBOT ===== */
.robot-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 4000;
  animation: robotFloat 4s ease-in-out infinite;
  cursor: pointer;
  filter: drop-shadow(0 0 20px rgba(0, 229, 158, 0.4));
}

.robot {
  width: 70px;
  height: 85px;
  position: relative;
}

.robot-head {
  width: 52px;
  height: 38px;
  background: linear-gradient(135deg, #00e59e, #00d4ff);
  border-radius: 14px 14px 10px 10px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 229, 158, 0.5);
}

.robot-eye {
  width: 10px;
  height: 10px;
  background: #ffbe45;
  border-radius: 50%;
  position: absolute;
  top: 14px;
  box-shadow: 0 0 10px #ffbe45, 0 0 20px #ffbe45;
  animation: blink 3s infinite;
}

.robot-eye.left {
  left: 12px;
}

.robot-eye.right {
  right: 12px;
}

.robot-antenna {
  width: 3px;
  height: 14px;
  background: var(--accent-4);
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
  animation: antennaWiggle 2s ease-in-out infinite;
}

.robot-antenna::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -3px;
  width: 9px;
  height: 9px;
  background: var(--accent-4);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-4);
  animation: pulse 1.5s infinite;
}

.robot-body {
  width: 44px;
  height: 28px;
  background: linear-gradient(135deg, #00e59e, #00d4ff);
  border-radius: 6px 6px 10px 10px;
  margin: 3px auto 0;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 229, 158, 0.3);
}

.robot-body::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: rgba(34, 211, 238, 0.3);
  border: 2px solid var(--accent-4);
  border-radius: 4px;
  box-shadow: 0 0 8px var(--accent-4);
}

.robot-arm {
  width: 8px;
  height: 22px;
  background: var(--accent-2);
  border-radius: 4px;
  position: absolute;
  top: 42px;
}

.robot-arm.left {
  left: 3px;
  animation: armWave 2s ease-in-out infinite;
  transform-origin: top center;
}

.robot-arm.right {
  right: 3px;
  animation: armWave 2s ease-in-out infinite 0.5s;
  transform-origin: top center;
}

.robot-leg {
  width: 10px;
  height: 12px;
  background: var(--accent-1);
  border-radius: 3px 3px 5px 5px;
  position: absolute;
  bottom: 0;
}

.robot-leg.left {
  left: 17px;
}

.robot-leg.right {
  right: 17px;
}

.robot-speech {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--accent-4);
  white-space: nowrap;
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
}

.robot-speech::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--border-color);
}

.robot-container:hover .robot-speech {
  opacity: 1;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  margin-bottom: 24px;
  text-align: center;
  color: var(--accent-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: rgba(5, 10, 24, 0.8);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 20px rgba(0, 229, 158, 0.15);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: white;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: 0.35s;
  box-shadow: 0 4px 24px rgba(0, 229, 158, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 158, 0.45);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
}

.form-status.success {
  color: var(--accent-5);
}

.form-status.error {
  color: var(--neon-pink);
}

/* ===== ANIMATIONS ===== */
@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatBadge {

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

  50% {
    transform: translateY(-10px);
  }
}

@keyframes robotFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-12px) rotate(2deg);
  }

  75% {
    transform: translateY(-6px) rotate(-2deg);
  }
}

@keyframes blink {

  0%,
  42%,
  44%,
  100% {
    transform: scaleY(1);
  }

  43% {
    transform: scaleY(0.1);
  }
}

@keyframes antennaWiggle {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(8deg);
  }

  75% {
    transform: rotate(-8deg);
  }
}

@keyframes armWave {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-20deg);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 229, 158, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(0, 229, 158, 0.6);
  }
}

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

  .hero-desc {
    margin: 0 auto 32px;
  }

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

  .hero-image-section {
    order: -1;
  }

  .profile-container {
    width: 220px;
    height: 220px;
  }

  .profile-float-badge {
    display: none;
  }

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

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

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

  .contact-section {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .robot-container {
    bottom: 16px;
    left: 16px;
  }

  .robot {
    transform: scale(0.8);
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(5, 10, 24, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-120%);
    transition: 0.35s;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 600px) {
  section {
    padding: 70px 5%;
  }

  nav {
    padding: 14px 20px;
  }

  .hero {
    padding: 100px 5% 60px;
  }

  .hero-title {
    font-size: 32px;
  }

  .robot-container {
    display: none;
  }
}