/* Futuristic Background System */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(163,255,18,0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(163,255,18,0.05) 0%, transparent 50%);
  animation: background-pulse 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

@keyframes background-pulse {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.7; transform: scale(1.1); }
}

/* Holographic Grid Overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(163,255,18,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163,255,18,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Cleanest modern UI enhancements */
.minimal-navbar {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 24px rgba(163,255,18,0.07);
  border-bottom: 1.5px solid #e6e6e6;
  backdrop-filter: blur(8px);
}
.clean-banner {
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 0.1rem;
  letter-spacing: 2px;
  background: none;
  -webkit-text-fill-color: var(--primary);
  text-shadow: 0 2px 8px #a3ff1233;
}
.clean-section {
  background: #fff;
  border-radius: 2.5rem;
  margin: 2.5rem 0;
  box-shadow: 0 4px 32px rgba(163,255,18,0.06);
  padding: 70px 0 50px 0;
  min-height: 50vh;
  transition: box-shadow 0.3s;
}
.clean-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2.5rem;
  letter-spacing: 1.5px;
  text-align: left;
}
.clean-about {
  gap: 4rem;
  align-items: flex-start;
}
.about-img-wrap {
  background: linear-gradient(135deg, #a3ff12 0%, #12fff7 100%);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 8px 32px #a3ff1233;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clean-pic {
  border: none;
  box-shadow: 0 4px 24px #a3ff1233;
}
.about-content {
  flex: 1;
}
.clean-title {
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.2rem;
  letter-spacing: 1.5px;
}
.clean-subtitle {
  font-size: 1.3rem;
  color: #222;
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.clean-desc {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 1.7rem;
}
.clean-counters .counter {
  background: #f7f7f7;
  color: var(--primary);
  border-radius: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: none;
  min-width: 90px;
}
.clean-socials .social-link img {
  filter: grayscale(0.7) brightness(1.1);
  opacity: 0.8;
}
.clean-socials .social-link:hover img {
  filter: grayscale(0) brightness(1.5) drop-shadow(0 2px 8px #a3ff12cc);
  opacity: 1;
}
.clean-timeline {
  border-left: 2px solid #e6e6e6;
  margin-left: 1.2rem;
  padding-left: 1.2rem;
}
.clean-timeline-item {
  margin-bottom: 2rem;
}
.clean-dot {
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px #a3ff1233;
}
.clean-timeline-content h3 {
  color: #222;
  font-size: 1.1rem;
  font-weight: 600;
}
.clean-timeline-content span {
  color: #888;
  font-size: 0.95rem;
}
.clean-projects-grid {
  gap: 2.5rem;
}
.clean-project-card {
  background: #f7f7f7;
  border-left: 4px solid var(--primary);
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px #a3ff1233;
  padding: 2rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 180px;
}
.clean-project-card:hover {
  box-shadow: 0 8px 32px #a3ff1233;
  transform: translateY(-8px) scale(1.03);
}
.clean-skills-list {
  gap: 1.5rem;
}
.clean-skills-list span {
  background: #f7f7f7;
  color: #222;
  border: 1.5px solid #e6e6e6;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.7rem 1.7rem;
  box-shadow: none;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}
.clean-skills-list span:hover {
  background: var(--primary);
  color: #fff;
}
.clean-contact-form input,
.clean-contact-form textarea {
  background: #f7f7f7;
  border: 1.5px solid #e6e6e6;
  color: #222;
  font-size: 1.05rem;
  border-radius: 0.7rem;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  transition: border 0.2s;
}
.clean-contact-form input:focus,
.clean-contact-form textarea:focus {
  border: 1.5px solid var(--primary);
  outline: none;
}
.clean-contact-form button {
  background: var(--primary);
  color: #181818;
  font-weight: bold;
  border: none;
  border-radius: 0.7rem;
  padding: 1rem 1.7rem;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px #a3ff1233;
}
.clean-contact-form button:hover {
  background: #baff4a;
  color: #181818;
  transform: scale(1.05);
}
@media (max-width: 900px) {
  .clean-section {
    padding: 40px 0 30px 0;
    border-radius: 1.2rem;
  }
  .clean-about {
    flex-direction: column;
    gap: 2rem;
  }
  .about-img-wrap {
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 600px) {
  .clean-section {
    padding: 20px 0 10px 0;
    border-radius: 0.7rem;
  }
  .container {
    padding: 0 0.7rem;
  }
  .clean-title {
    font-size: 1.5rem;
  }
  .clean-section-title {
    font-size: 1.1rem;
  }
}
/* Live typing banner */
.live-banner {
  width: 100vw;
  text-align: center;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-top: 0.2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: bannerFadeIn 1.2s cubic-bezier(.77,0,.18,1);
}
.cursor {
  display: inline-block;
  width: 1ch;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
@keyframes bannerFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* About counters */
.about-counters {
  display: flex;
  gap: 2.5rem;
  margin: 1.5rem 0 0.7rem 0;
}
.counter {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: bold;
  background: var(--card-bg);
  border-radius: 1.2rem;
  padding: 0.7rem 1.5rem;
  box-shadow: 0 2px 8px rgba(163,255,18,0.08);
  min-width: 120px;
  text-align: center;
  animation: counterPop 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes counterPop {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

/* Social icons */
.about-socials {
  margin-top: 1.2rem;
  display: flex;
  gap: 1.2rem;
}
.social-link img {
  width: 32px;
  height: 32px;
  filter: grayscale(0.5) brightness(1.2);
  transition: filter 0.2s, transform 0.2s;
}
.social-link:hover img {
  filter: grayscale(0) brightness(1.5) drop-shadow(0 2px 8px #a3ff12cc);
  transform: scale(1.15) rotate(-8deg);
}

/* Testimonials slider */
.testimonials-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-top: 2rem;
}
.testimonial-card {
  min-width: 320px;
  max-width: 400px;
  background: var(--card-bg);
  border-left: 4px solid var(--primary);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  scroll-snap-align: start;
  opacity: 0.7;
  transform: scale(0.95);
  transition: opacity 0.3s, transform 0.3s;
  position: relative;
}
.testimonial-card.active {
  opacity: 1;
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 8px 32px rgba(163,255,18,0.12);
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.2rem;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 500;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}
.blog-card {
  background: var(--card-bg);
  border-left: 4px solid var(--primary);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  animation: cardPop 1.2s cubic-bezier(.77,0,.18,1);
}
.blog-card h3 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
}
.blog-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  margin-top: 1rem;
  display: inline-block;
  transition: color 0.2s;
}
.blog-link:hover {
  color: #12fff7;
}
/* Reset & base styles */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  transition: background 0.4s, color 0.4s;
  overflow-x: hidden;
}
:root {
  --primary: #a3ff12;
  --primary-dark: #8ae610;
  --secondary: #12fff7;
  --bg: #fafafa;
  --text: #1a1a1a;
  --section-bg: #ffffff;
  --card-bg: #ffffff;
  --border: #e8e8e8;
  --shadow: 0 8px 40px rgba(0,0,0,0.05);
  --shadow-hover: 0 16px 60px rgba(163,255,18,0.15);
  --gradient: linear-gradient(135deg, #a3ff12 0%, #12fff7 100%);
  --gradient-text: linear-gradient(135deg, #a3ff12 0%, #12fff7 100%);
  --glass: rgba(255,255,255,0.9);
  
  /* Responsive spacing */
  --container-padding: 2rem;
  --section-padding: 4rem 0;
  --card-padding: 2rem;
  --border-radius: 24px;
  
  /* Responsive typography */
  --title-size: 4rem;
  --subtitle-size: 1.5rem;
  --body-size: 1.2rem;
  --small-size: 0.9rem;
  
  /* Layout variables */
  --navbar-height: 80px;
  --vh: 1vh; /* Will be set by JavaScript */
  --safe-area-top: 0px;
  --safe-area-bottom: 0px;
}
body.dark {
  --bg: #0a0a0a;
  --text: #f5f5f5;
  --section-bg: #151515;
  --card-bg: #1a1a1a;
  --border: #2a2a2a;
  --shadow: 0 8px 40px rgba(0,0,0,0.3);
  --shadow-hover: 0 16px 60px rgba(163,255,18,0.2);
  --glass: rgba(26,26,26,0.9);
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
}
.loader-circle {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ultra-modern-navbar {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(163,255,18,0.1);
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  animation: navSlideDown 1s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.ultra-modern-navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: hologram-scan 4s ease-in-out infinite;
}

@keyframes hologram-scan {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 0.8; transform: translateX(100%); }
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 2rem;
}
.ultra-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.profile-container {
  position: relative;
}
.profile-pic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(163,255,18,0.2);
  transition: all 0.3s ease;
}
.profile-pic:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(163,255,18,0.3);
}
.status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #00ff88;
  border: 2px solid var(--section-bg);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text .name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.5px;
}
.brand-text .title {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}
.modern-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: var(--primary);
  background: rgba(163,255,18,0.1);
}
.nav-link:hover::before {
  width: 80%;
}
.theme-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}
.theme-btn:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: var(--shadow-hover);
}
.theme-icon {
  font-size: 1.2rem;
  display: block;
}

/* Ultra Modern Sections */
.ultra-section {
  background: var(--section-bg);
  border-radius: 24px;
  margin: 3rem 0;
  box-shadow: var(--shadow);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.ultra-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  opacity: 0.8;
}
.ultra-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-section {
  background: linear-gradient(135deg, var(--section-bg) 0%, rgba(163,255,18,0.05) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  margin-top: 120px;
}
.ultra-about {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
}
.ultra-content {
  animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}
.hero-badge {
  display: inline-block;
  background: rgba(163,255,18,0.1);
  color: var(--primary);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(163,255,18,0.2);
  animation: fadeInUp 1s 0.2s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.ultra-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: fadeInUp 1s 0.4s both;
}
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ultra-subtitle {
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0.8;
  animation: fadeInUp 1s 0.6s both;
  position: relative;
}

/* Futuristic Text Animation */
.futuristic-text {
  position: relative;
  display: inline-block;
}

.glitch-text {
  position: relative;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  animation: glitch 4s infinite, typewriter 3s steps(40) 1s both, neon-glow 2s ease-in-out infinite alternate;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.glitch-text::before {
  animation: glitch-1 4s infinite;
  color: #ff0040;
  z-index: -1;
}

.glitch-text::after {
  animation: glitch-2 4s infinite;
  color: #00ffff;
  z-index: -2;
}

@keyframes typewriter {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

@keyframes glitch {
  0%, 74%, 76%, 100% {
    transform: translate(0);
  }
  75% {
    transform: translate(-2px, 1px);
  }
}

@keyframes glitch-1 {
  0%, 74%, 76%, 100% {
    transform: translate(0);
    opacity: 0;
  }
  75% {
    transform: translate(2px, -1px);
    opacity: 0.8;
  }
}

@keyframes glitch-2 {
  0%, 74%, 76%, 100% {
    transform: translate(0);
    opacity: 0;
  }
  75% {
    transform: translate(-2px, 1px);
    opacity: 0.8;
  }
}

@keyframes neon-glow {
  from {
    text-shadow: 
      0 0 5px var(--primary),
      0 0 10px var(--primary),
      0 0 15px var(--primary);
  }
  to {
    text-shadow: 
      0 0 10px var(--primary),
      0 0 20px var(--primary),
      0 0 30px var(--primary),
      0 0 40px var(--primary);
  }
}

/* Particle Effect */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particles::before,
.particles::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  animation: particle-float 3s infinite ease-in-out;
}

.particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  box-shadow: 0 0 6px var(--primary);
}

.particles::after {
  top: 70%;
  right: 15%;
  animation-delay: 1.5s;
  box-shadow: 0 0 6px var(--primary);
}

@keyframes particle-float {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 1;
  }
}

@keyframes digital-rain {
  0% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(100px);
    opacity: 0;
  }
}

/* Futuristic Cursor Trail */
.cursor-trail {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.1s ease;
  box-shadow: 
    0 0 10px var(--primary),
    inset 0 0 10px rgba(163,255,18,0.2);
  animation: cursor-pulse 2s ease-in-out infinite;
}

@keyframes cursor-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}

.cursor-trail::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* AI Chatbot Styles */
.ai-chatbot {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  font-family: 'Inter', sans-serif;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(163, 255, 18, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.chatbot-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.chatbot-toggle:hover::before {
  left: 100%;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(163, 255, 18, 0.4);
}

.chatbot-icon {
  width: 28px;
  height: 28px;
  color: white;
  z-index: 1;
  position: relative;
}

.chatbot-pulse {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  animation: chatbot-pulse 2s ease-in-out infinite;
}

@keyframes chatbot-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 500px;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(163, 255, 18, 0.2);
  border-radius: 20px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(163, 255, 18, 0.1),
    inset 0 1px 0 rgba(163, 255, 18, 0.1);
  transform: scale(0) translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.chatbot-window.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
}

.chatbot-window::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0.8;
  box-shadow: 0 0 20px rgba(163, 255, 18, 0.5);
}

.chatbot-header {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(163, 255, 18, 0.15);
  background: linear-gradient(135deg, 
    rgba(163, 255, 18, 0.08) 0%, 
    rgba(163, 255, 18, 0.03) 100%);
  position: relative;
}

.chatbot-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(163, 255, 18, 0.5) 50%, 
    transparent 100%);
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.chatbot-avatar svg {
  width: 20px;
  height: 20px;
  color: white;
}

.chatbot-info h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(163, 255, 18, 0.3);
}

.chatbot-status {
  font-size: 0.8rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.chatbot-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.chatbot-close {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(163, 255, 18, 0.2);
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.chatbot-close:hover {
  background: rgba(163, 255, 18, 0.2);
  color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05);
}

.chatbot-close svg {
  width: 20px;
  height: 20px;
}

.chatbot-messages {
  height: 320px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
  width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

.message {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  animation: message-slide-in 0.3s ease-out;
}

@keyframes message-slide-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-message {
  flex-direction: row-reverse;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bot-message .message-avatar {
  background: var(--gradient);
}

.user-message .message-avatar {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(163, 255, 18, 0.3);
  backdrop-filter: blur(10px);
}

.message-avatar svg {
  width: 16px;
  height: 16px;
  color: white;
}

.user-message .message-avatar svg {
  color: #ffffff;
}

.message-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.8rem 1rem;
  max-width: 240px;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.user-message .message-content {
  background: var(--gradient);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(163, 255, 18, 0.2);
}

.bot-message .message-content {
  color: #ffffff;
}

.message-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chatbot-input-container {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-top: 1px solid rgba(163, 255, 18, 0.15);
  gap: 0.8rem;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.chatbot-input-container input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(163, 255, 18, 0.2);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.chatbot-input-container input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.chatbot-input-container input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(163, 255, 18, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.chatbot-input-container button {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.chatbot-input-container button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(163, 255, 18, 0.3);
}

.chatbot-input-container button svg {
  width: 18px;
  height: 18px;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid rgba(163, 255, 18, 0.1);
  background: rgba(0, 0, 0, 0.1);
}

.quick-reply-btn {
  background: rgba(163, 255, 18, 0.1);
  border: 1px solid rgba(163, 255, 18, 0.3);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(5px);
  white-space: nowrap;
}

.quick-reply-btn:hover {
  background: rgba(163, 255, 18, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(163, 255, 18, 0.2);
}

.quick-reply-btn:active {
  transform: translateY(0);
}

.chatbot-typing {
  display: none;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.8;
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.chatbot-typing.active {
  display: flex;
}

.typing-indicator {
  display: flex;
  gap: 2px;
}

.typing-indicator span {
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-8px);
  }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .ai-chatbot {
    bottom: 1rem;
    right: 1rem;
  }
  
  .chatbot-toggle {
    width: 50px;
    height: 50px;
  }
  
  .chatbot-icon {
    width: 24px;
    height: 24px;
  }
  
  .chatbot-window {
    width: calc(100vw - 2rem);
    height: 450px;
    bottom: 60px;
    right: -0.5rem;
  }
  
  .chatbot-messages {
    height: 250px;
  }
  
  .message-content {
    max-width: 180px;
    font-size: 0.85rem;
  }
  
  .chatbot-header {
    padding: 1rem;
  }
  
  .chatbot-header h3 {
    font-size: 1rem;
  }
  
  .quick-replies {
    padding: 0.5rem;
    gap: 0.3rem;
  }
  
  .quick-reply-btn {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
}

@media (max-width: 768px) {
  .ai-chatbot {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .chatbot-window {
    width: 350px;
    height: 480px;
  }
  
  .chatbot-messages {
    height: 300px;
  }
  
  .message-content {
    max-width: 220px;
  }
}

/* Extra Small Mobile Optimization */
@media (max-width: 375px) {
  .container {
    padding: 0 0.5rem;
  }
  
  .nav-flex {
    padding: 0.4rem 0.8rem;
  }
  
  .ultra-brand {
    gap: 0.4rem;
  }
  
  .profile-pic {
    width: 36px;
    height: 36px;
  }
  
  .brand-text .name {
    font-size: 0.8rem;
  }
  
  .brand-text .title {
    font-size: 0.65rem;
  }
  
  .modern-nav {
    gap: 0.6rem;
  }
  
  .nav-link {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  
  .hero-section {
    margin-top: 100px;
    padding: 1rem 0;
  }
  
  .ultra-title {
    font-size: 1.8rem;
  }
  
  .ultra-subtitle {
    font-size: 1rem;
  }
  
  .ultra-desc {
    font-size: 0.85rem;
    padding: 0 0.2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-desc {
    font-size: 0.8rem;
  }
  
  .hero-stats {
    gap: 0.3rem;
  }
  
  .stat-item {
    min-width: 70px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.65rem;
  }
  
  .hero-actions {
    padding: 0 0.5rem;
  }
  
  .cta-primary,
  .cta-secondary {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
  
  .ultra-pic {
    width: 160px;
    height: 160px;
  }
  
  .ultra-projects-grid {
    padding: 0 0.2rem;
  }
  
  .ultra-project-card {
    padding: 1rem;
  }
  
  .ultra-project-card h3 {
    font-size: 1rem;
  }
  
  .ultra-project-card p {
    font-size: 0.8rem;
  }
  
  .ultra-skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding: 0 0.2rem;
  }
  
  .ultra-skill-item {
    padding: 0.8rem 0.6rem;
  }
  
  .skill-icon {
    font-size: 1.6rem;
  }
  
  .skill-name {
    font-size: 0.8rem;
  }
  
  .skill-level {
    font-size: 0.65rem;
  }
}

/* iPhone SE and similar small screens */
@media (max-width: 320px) {
  .ultra-title {
    font-size: 1.6rem;
  }
  
  .ultra-subtitle {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .stat-item {
    min-width: auto;
  }
  
  .ultra-skills-grid {
    grid-template-columns: 1fr;
  }
  
  .ultra-project-card {
    padding: 0.8rem;
  }
}
@media (pointer: coarse) {
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .theme-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  .cta-primary,
  .cta-secondary {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .social-item {
    min-width: 48px;
    min-height: 48px;
  }
  
  .project-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .ultra-submit-btn {
    min-height: 48px;
  }
  
  .quick-reply-btn {
    min-height: 36px;
    padding: 0.5rem 1rem;
  }
  
  .chatbot-input-container input {
    min-height: 44px;
  }
  
  .chatbot-input-container button {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Landscape Mobile Optimization */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
    margin-top: 100px;
  }
  
  .ultra-section {
    padding: 1.5rem 0;
    margin: 1.5rem 0;
  }
  
  .ultra-title {
    font-size: 2rem;
  }
  
  .ultra-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    flex-direction: row;
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .ultra-pic {
    width: 150px;
    height: 150px;
  }
  
  .chatbot-window {
    height: 350px;
  }
  
  .chatbot-messages {
    height: 200px;
  }
}

/* High DPI / Retina Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .profile-pic,
  .ultra-pic {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}
@keyframes data-flow {
  0% { transform: translateY(-100%) scaleY(0); opacity: 0; }
  50% { opacity: 0.6; transform: translateY(0) scaleY(1); }
  100% { transform: translateY(100%) scaleY(0); opacity: 0; }
}

/* Holographic Border Pulse */
@keyframes holo-pulse {
  0%, 100% { 
    border-color: rgba(163,255,18,0.2);
    box-shadow: inset 0 0 20px rgba(163,255,18,0.05);
  }
  50% { 
    border-color: rgba(163,255,18,0.5);
    box-shadow: inset 0 0 40px rgba(163,255,18,0.1);
  }
}

/* Enhanced Ultra Sections */
.ultra-section {
  background: var(--section-bg);
  border-radius: 24px;
  margin: 3rem 0;
  box-shadow: var(--shadow);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  animation-delay: var(--section-delay, 0s);
}

.ultra-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  opacity: 0.8;
  animation: section-glow 3s ease-in-out infinite alternate;
}

@keyframes section-glow {
  0% { opacity: 0.4; box-shadow: 0 0 20px rgba(163,255,18,0.2); }
  100% { opacity: 0.8; box-shadow: 0 0 40px rgba(163,255,18,0.4); }
}
.ultra-desc {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text);
  opacity: 0.7;
  margin-bottom: 3rem;
  animation: fadeInUp 1s 0.8s both;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s 1s both;
}
.stat-item {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.6;
  font-weight: 500;
  margin-top: 0.5rem;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s 1.2s both;
}
.cta-primary {
  background: var(--gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(163,255,18,0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.5s ease;
}

.cta-primary:hover::before {
  left: 100%;
}

.cta-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 12px 32px rgba(163,255,18,0.4),
    0 0 20px rgba(163,255,18,0.3);
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}
.cta-secondary {
  background: var(--card-bg);
  color: var(--text);
  padding: 1rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}
.cta-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}
.ultra-socials {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s 1.4s both;
}
.social-item {
  width: 48px;
  height: 48px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}
.social-item svg {
  width: 20px;
  height: 20px;
}
.social-item:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: slideInRight 1s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
.profile-showcase {
  position: relative;
  background: var(--gradient);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(163,255,18,0.3);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
.ultra-pic {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
}
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}
.floating-item {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow);
  animation: floatItem 4s ease-in-out infinite;
}
.floating-item:nth-child(1) {
  top: 20%;
  right: -10%;
  animation-delay: 0s;
}
.floating-item:nth-child(2) {
  bottom: 30%;
  left: -15%;
  animation-delay: 1s;
}
.floating-item:nth-child(3) {
  top: 60%;
  right: -20%;
  animation-delay: 2s;
}
@keyframes floatItem {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

.timeline {
  border-left: 3px solid var(--primary);
  margin-left: 1.5rem;
  padding-left: 1.5rem;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: -1.7rem;
  top: 0;
  width: 1.1rem;
  height: 100%;
  background: linear-gradient(var(--primary), transparent 80%);
  z-index: 0;
  opacity: 0.1;
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  animation: timelineFadeIn 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes timelineFadeIn {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
.timeline-dot {
  position: absolute;
  left: -1.7rem;
  top: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  z-index: 1;
  animation: dotPop 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes dotPop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.timeline-content h3 {
  margin: 0 0 0.2rem 0;
  font-size: 1.1rem;
  color: var(--primary);
}
.timeline-content span {
  color: var(--text);
  font-weight: 400;
  font-size: 0.95rem;
}
.timeline-date {
  font-size: 0.95rem;
  color: #888;
  margin-left: 0.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}
.project-card {
  background: var(--card-bg);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
  border-radius: 1.2rem;
  padding: 2rem 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  animation: cardPop 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes cardPop {
  0% { transform: scale(0.7); opacity: 0; }
  80% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 5px;
  background: var(--gradient);
  opacity: 0.2;
  border-radius: 1.2rem 1.2rem 0 0;
}
.project-card:hover {
  transform: translateY(-10px) scale(1.04) rotate(-1deg);
  box-shadow: 0 12px 40px rgba(163,255,18,0.18);
}
.project-card h3 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
}
.project-card span {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.98rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1rem;
}
.skills-list span {
  background: var(--gradient);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  font-weight: 500;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(163,255,18,0.08);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  animation: skillPop 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes skillPop {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 420px;
  margin-top: 1.5rem;
  animation: contactFadeIn 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes contactFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact-form input,
.contact-form textarea {
  padding: 1rem 1.2rem;
  border: 1.5px solid #ccc;
  border-radius: 0.7rem;
  font-size: 1.1rem;
  background: var(--card-bg);
  color: var(--text);
  transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid var(--primary);
  outline: none;
}
.contact-form button {
  background: var(--primary);
  color: #181818;
  font-weight: bold;
  border: none;
  border-radius: 0.7rem;
  padding: 1rem 1.7rem;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(163,255,18,0.08);
}
.contact-form button:hover {
  background: #baff4a;
  color: #181818;
  transform: scale(1.05);
}

/* Ultra Modern Footer */
.ultra-footer {
  background: linear-gradient(135deg, 
    rgba(10, 10, 15, 0.98) 0%, 
    rgba(15, 15, 25, 0.95) 50%, 
    rgba(20, 20, 30, 0.98) 100%);
  border-top: 2px solid rgba(163, 255, 18, 0.3);
  position: relative;
  overflow: hidden;
  margin-top: 5rem;
}

.ultra-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(163, 255, 18, 0.6) 20%, 
    rgba(163, 255, 18, 1) 50%, 
    rgba(163, 255, 18, 0.6) 80%, 
    transparent 100%);
  animation: footer-scan 3s ease-in-out infinite;
}

@keyframes footer-scan {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding: 4rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-section h3,
.footer-section h4 {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 1px;
}

.footer-brand {
  text-align: left;
}

.brand-icon {
  margin-bottom: 1rem;
}

.hologram-logo {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, 
    rgba(163, 255, 18, 0.2) 0%, 
    rgba(163, 255, 18, 0.05) 100%);
  border: 2px solid rgba(163, 255, 18, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}

.hologram-logo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(163, 255, 18, 0.1) 50%, 
    transparent 70%);
  animation: hologram-sweep 2s ease-in-out infinite;
}

@keyframes hologram-sweep {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.footer-brand h3 {
  font-size: 1.4rem;
  margin: 0.5rem 0;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.3rem 0;
  display: inline-block;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(0.3rem);
}

.footer-links a:hover::before {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(163, 255, 18, 0.1);
  border: 1px solid rgba(163, 255, 18, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(163, 255, 18, 0.2), 
    transparent);
  transition: left 0.5s ease;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(163, 255, 18, 0.2);
  transform: translateY(-0.2rem);
  box-shadow: 0 8px 25px rgba(163, 255, 18, 0.3);
}

.social-link svg {
  width: 20px;
  height: 20px;
  z-index: 1;
  position: relative;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tech-badge {
  background: rgba(163, 255, 18, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(163, 255, 18, 0.3);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: rgba(163, 255, 18, 0.2);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(163, 255, 18, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(163, 255, 18, 0.2);
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(163, 255, 18, 0.5) 50%, 
    transparent 100%);
  margin-bottom: 2rem;
}

.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.95rem;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.6; 
    transform: scale(1.2);
  }
}

.footer-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.3;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1rem 1rem;
  }
  
  .footer-copyright {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Section reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .section {
    will-change: opacity, transform;
  }
}

/* Responsive Typography Updates */
@media (max-width: 1200px) {
  :root {
    --title-size: 3.5rem;
    --subtitle-size: 1.4rem;
    --body-size: 1.1rem;
    --container-padding: 1.5rem;
    --section-padding: 3rem 0;
  }
}

@media (max-width: 900px) {
  :root {
    --title-size: 3rem;
    --subtitle-size: 1.3rem;
    --body-size: 1rem;
    --container-padding: 1.5rem;
    --section-padding: 2.5rem 0;
    --card-padding: 1.5rem;
    --border-radius: 16px;
  }
}

@media (max-width: 600px) {
  :root {
    --title-size: 2.5rem;
    --subtitle-size: 1.2rem;
    --body-size: 1rem;
    --small-size: 0.85rem;
    --container-padding: 1rem;
    --section-padding: 2rem 0;
    --card-padding: 1.5rem;
    --border-radius: 16px;
    --navbar-height: 70px;
  }
}

@media (max-width: 480px) {
  :root {
    --title-size: 2rem;
    --subtitle-size: 1.1rem;
    --body-size: 0.95rem;
    --small-size: 0.8rem;
    --container-padding: 1rem;
    --section-padding: 1.5rem 0;
    --card-padding: 1rem;
    --border-radius: 12px;
    --navbar-height: 60px;
  }
}

/* Apply responsive variables */
.container {
  padding: 0 var(--container-padding);
}

.ultra-section {
  padding: var(--section-padding);
  border-radius: var(--border-radius);
}

.ultra-title {
  font-size: var(--title-size);
}

.ultra-subtitle {
  font-size: var(--subtitle-size);
}

.ultra-desc {
  font-size: var(--body-size);
}

.ultra-project-card,
.ultra-skill-item,
.ultra-contact-form {
  padding: var(--card-padding);
  border-radius: var(--border-radius);
}

.nav-flex {
  height: var(--navbar-height);
}
@media (min-width: 601px) and (max-width: 900px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .ultra-about {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .ultra-title {
    font-size: 3rem;
  }
  
  .ultra-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }
  
  .ultra-pic {
    width: 280px;
    height: 280px;
  }
  
  .ultra-projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .ultra-skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.2rem;
  }
  
  .experience-timeline::before {
    left: 1.5rem;
  }
  
  .timeline-item::before {
    left: 1.5rem;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 3rem;
    margin-right: 0;
    text-align: left;
  }
  
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
  }
}

/* Large Mobile / Small Tablet */
@media (min-width: 481px) and (max-width: 600px) {
  .container {
    padding: 0 1.2rem;
  }
  
  .ultra-title {
    font-size: 2.8rem;
  }
  
  .ultra-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-stats {
    flex-direction: row;
    justify-content: space-around;
    gap: 1rem;
  }
  
  .stat-item {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    flex-direction: row;
    gap: 1rem;
  }
  
  .cta-primary,
  .cta-secondary {
    flex: 1;
    text-align: center;
  }
  
  .ultra-pic {
    width: 220px;
    height: 220px;
  }
  
  .ultra-projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .ultra-skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
    padding: 0 1.5rem;
  }
  
  .ultra-about {
    grid-template-columns: 1fr 350px;
    gap: 3rem;
  }
  
  .ultra-title {
    font-size: 3.5rem;
  }
  
  .experience-timeline::before {
    left: 2rem;
  }
  
  .timeline-item::before {
    left: 2rem;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 4rem;
    margin-right: 0;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .nav-flex {
    flex-direction: column;
    height: auto;
    gap: 1rem;
    padding: 1rem 2rem;
  }
  
  .ultra-brand {
    gap: 0.8rem;
  }
  
  .modern-nav {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  
  .ultra-about {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .about-visual {
    order: -1;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }
  
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .ultra-socials {
    justify-content: center;
  }
  
  .ultra-pic {
    width: 250px;
    height: 250px;
  }
  
  .ultra-projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .ultra-skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .experience-timeline::before {
    left: 1rem;
  }
  
  .timeline-item::before {
    left: 1rem;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 2.5rem;
    margin-right: 0;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd) .tech-tags {
    justify-content: flex-start;
  }
  
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 0.8rem;
  }
  
  .ultra-modern-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0;
  }
  
  .nav-flex {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    flex-direction: column;
    align-items: center;
  }
  
  .ultra-brand {
    gap: 0.6rem;
  }
  
  .profile-pic {
    width: 40px;
    height: 40px;
  }
  
  .brand-text .name {
    font-size: 0.9rem;
  }
  
  .brand-text .title {
    font-size: 0.7rem;
  }
  
  .modern-nav {
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    min-height: 40px;
    border-radius: 20px;
  }
  
  .theme-btn {
    padding: 0.4rem;
    min-width: 40px;
    min-height: 40px;
  }
  
  .hero-section {
    margin-top: 120px;
    padding: 1.5rem 0;
    min-height: 85vh;
    text-align: center;
  }
  
  .ultra-section {
    margin: 1.5rem 0;
    padding: 2rem 0;
    border-radius: 12px;
  }
  
  .section-header {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .section-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    margin-bottom: 0.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
  }
  
  .section-desc {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0 0.5rem;
  }
  
  .ultra-title {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
  }
  
  .ultra-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .ultra-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    padding: 0 0.5rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-stats {
    flex-direction: row;
    justify-content: space-around;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
  }
  
  .stat-item {
    text-align: center;
    min-width: 80px;
  }
  
  .stat-number {
    font-size: 1.8rem;
    line-height: 1;
  }
  
  .stat-label {
    font-size: 0.7rem;
    margin-top: 0.2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }
  
  .cta-primary,
  .cta-secondary {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 12px;
    min-height: 48px;
  }
  
  .ultra-pic {
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem auto;
  }
  
  .floating-elements {
    display: none; /* Hide for better mobile performance */
  }
  
  .profile-showcase {
    padding: 4px;
  }
  
  .ultra-socials {
    justify-content: center;
    gap: 0.8rem;
  }
  
  .social-item {
    width: 40px;
    height: 40px;
  }
  
  .ultra-projects-grid {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .ultra-project-card {
    padding: 1.2rem;
    border-radius: 12px;
  }
  
  .project-header {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .project-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  
  .ultra-project-card h3 {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .ultra-project-card p {
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
  }
  
  .project-links {
    flex-direction: column;
    gap: 0.6rem;
  }
  
  .project-link {
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    border-radius: 8px;
    min-height: 44px;
  }
  
  .tech-tags {
    gap: 0.3rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .tech-tag {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
  
  .ultra-skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 0 0.5rem;
  }
  
  .ultra-skill-item {
    padding: 1rem 0.8rem;
    border-radius: 12px;
  }
  
  .skill-icon {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
  }
  
  .skill-name {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }
  
  .skill-level {
    font-size: 0.7rem;
  }
  
  .experience-timeline {
    padding: 0 0.5rem;
  }
  
  .timeline-content {
    padding: 1rem;
    border-radius: 12px;
  }
  
  .timeline-content h3 {
    font-size: 1rem;
  }
  
  .timeline-content h4 {
    font-size: 0.9rem;
  }
  
  .timeline-content p {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  .timeline-date {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.8rem;
  }
  
  .ultra-contact-form {
    padding: 1.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 12px;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group label {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
    border-radius: 8px;
    min-height: 44px;
  }
  
  .form-group textarea {
    min-height: 100px;
  }
  
  .ultra-submit-btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    min-height: 48px;
    border-radius: 8px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
    text-align: center;
  }
  
  .footer-brand h3 {
    font-size: 1.1rem;
  }
  
  .footer-brand p {
    font-size: 0.8rem;
  }
  
  .footer-links a {
    font-size: 0.85rem;
  }
  
  .footer-copyright {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
    padding: 1rem;
  }
  
  .footer-copyright p {
    font-size: 0.8rem;
  }
  
  .social-links {
    justify-content: center;
    gap: 0.8rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .tech-icons {
    justify-content: center;
    gap: 0.5rem;
  }
  
  .tech-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
  }
  
  /* Hide complex animations on mobile for better performance */
  .cursor-trail {
    display: none;
  }
  
  .floating-elements {
    display: none;
  }
  
  .particles {
    display: none;
  }
  
  .footer-particles {
    opacity: 0.3;
  }
  
  /* Better touch targets */
  a, button, input, textarea {
    -webkit-tap-highlight-color: rgba(163, 255, 18, 0.2);
  }
  
  /* Optimize scrolling */
  body {
    -webkit-overflow-scrolling: touch;
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 1s ease-out;
}
.section-badge {
  display: inline-block;
  background: rgba(163,255,18,0.1);
  color: var(--primary);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(163,255,18,0.2);
}
.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
}
.section-desc {
  font-size: 1.2rem;
  color: var(--text);
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Timeline Styles */
.experience-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.experience-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient);
  transform: translateX(-50%);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin: 3rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 60%;
  text-align: right;
}
.timeline-item:nth-child(even) .timeline-content {
  margin-left: 60%;
  text-align: left;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border: 4px solid var(--bg);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(163,255,18,0.3);
}
.timeline-date {
  display: inline-block;
  background: var(--card-bg);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}
.timeline-content {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.timeline-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}
.timeline-content p {
  line-height: 1.6;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.timeline-item:nth-child(odd) .tech-tags {
  justify-content: flex-end;
}
.tech-tag {
  background: rgba(163,255,18,0.1);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(163,255,18,0.2);
}

/* Enhanced Projects Grid */
.ultra-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.ultra-project-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.ultra-project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ultra-project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(163,255,18,0.05), transparent);
  transition: all 0.6s ease;
  pointer-events: none;
}

.ultra-project-card:hover::after {
  left: 100%;
}

.ultra-project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.ultra-project-card:hover::before {
  opacity: 1;
}

.ultra-project-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 
    var(--shadow-hover),
    0 0 30px rgba(163,255,18,0.1),
    inset 0 1px 0 rgba(163,255,18,0.1);
  border-color: rgba(163,255,18,0.3);
}
.project-image {
  width: 100%;
  height: 200px;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--border);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.ultra-project-card:hover .project-image img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.project-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.project-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}
.ultra-project-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.ultra-project-card p {
  color: var(--text);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.project-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.project-link {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.project-link.primary {
  background: var(--primary);
  color: white;
}
.project-link.secondary {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.project-link:hover {
  transform: translateY(-2px);
}

/* Enhanced Skills Grid */
.ultra-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.ultra-skill-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
}

.ultra-skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.ultra-skill-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(163,255,18,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.ultra-skill-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.ultra-skill-item:hover::before {
  transform: translateX(0);
}

.ultra-skill-item:hover::after {
  opacity: 1;
}

.ultra-skill-item:hover {
  transform: translateY(-8px) rotateY(10deg);
  box-shadow: 
    var(--shadow-hover),
    0 0 25px rgba(163,255,18,0.15);
  border-color: rgba(163,255,18,0.3);
}
.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.skill-name {
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.skill-level {
  color: var(--text);
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Enhanced Contact Form */
.ultra-contact-container {
  max-width: 700px;
  margin: 0 auto;
}
.ultra-contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.ultra-contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}
.form-group {
  margin-bottom: 2rem;
}
.form-group label {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(163,255,18,0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
}
.ultra-submit-btn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 8px 24px rgba(163,255,18,0.3);
}
.ultra-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(163,255,18,0.4);
}
