:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #ec4899;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark-secondary: #1e293b;
  --light: #f8fafc;
  --light-secondary: #e2e8f0;
  --text-dark: #334155;
  --text-light: #94a3b8;
  --gradient-1: linear-gradient(135deg, #6366f1, #ec4899);
  --gradient-2: linear-gradient(135deg, #06b6d4, #6366f1);
  --gradient-3: linear-gradient(135deg, #ec4899, #6366f1);
  --shadow-1: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-2: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-3: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body, main, section, header, footer, nav, article, aside, div, p, h1, h2, h3, h4, h5, h6, ul, ol, li, a, span {
  visibility: visible !important;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 3px;
  position: relative;
  background: linear-gradient(135deg, #fff 0%, #6366f1 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { 
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5));
  }
  50% { 
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8));
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--light-secondary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.4s var(--transition-smooth);
  transform-style: preserve-3d;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.4s var(--transition-smooth);
}

.nav-link:hover {
  color: var(--light);
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link.active {
  color: var(--primary) !important;
  font-weight: 600;
}

.nav-link.active::before {
  width: 100%;
  background: var(--gradient-1);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--dark-secondary);
  color: var(--light-secondary);
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.4s var(--transition-smooth);
  transform-style: preserve-3d;
}

.social-icon:hover {
  background: var(--gradient-1);
  color: var(--light);
  transform: translateZ(20px) rotateY(360deg);
  box-shadow: var(--shadow-2);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10001;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--light);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 50px;
  position: relative;
  transform-style: flat !important;
  visibility: visible !important;
  opacity: 1 !important;
}

main {
  display: block;
  visibility: visible;
  opacity: 1;
}

section {
  visibility: visible !important;
  opacity: 1 !important;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-text {
  transform-style: preserve-3d;
  transform: translateZ(30px);
}

.greeting {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--light) 0%, var(--primary) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  transform: translateZ(20px);
}

.title {
  font-size: 1.5rem;
  color: var(--light-secondary);
  margin-bottom: 0.5rem;
  min-height: 2rem;
  display: flex;
  align-items: center;
}

.typed-text {
  color: var(--primary);
  font-weight: 600;
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 1.5rem;
  background: var(--primary);
  margin-left: 2px;
  animation: blink 0.8s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.tagline {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  transform-style: preserve-3d;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.5s var(--transition-smooth);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-1);
  color: var(--light);
  border: none;
}

.btn-primary:hover {
  transform: translateZ(30px) scale(1.05);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--light);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  transform: translateZ(30px) scale(1.05);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
}

.profile-card {
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotateY(0deg) rotateX(0deg); }
  50% { transform: translateY(-20px) rotateY(10deg) rotateX(5deg); }
}

.profile-shape {
  width: 300px;
  height: 300px;
  position: relative;
  transform-style: preserve-3d;
}

.experience-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: var(--gradient-1);
  padding: 0.8rem 1.2rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
  transform: translateZ(30px);
  animation: badgeFloat 3s ease-in-out infinite;
  z-index: 10;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateZ(30px) translateY(0); }
  50% { transform: translateZ(30px) translateY(-8px); }
}

.exp-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light);
  font-family: 'Space Grotesk', sans-serif;
}

.exp-text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-inner {
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: morph 8s ease-in-out infinite;
  box-shadow: var(--shadow-3);
  transform: translateZ(30px);
}

@keyframes morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
  50% { border-radius: 30% 70% 30% 70% / 70% 30% 70% 30%; }
  75% { border-radius: 70% 30% 70% 30% / 30% 70% 30% 70%; }
}

.profile-avatar {
  width: 120px;
  height: 120px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(20px);
  overflow: hidden;
  border: 3px solid var(--primary);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--light-secondary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.5; transform: translateY(10px); }
}

/* Section Styles */
section {
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
  transform-style: preserve-3d;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  transform-style: preserve-3d;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transform: translateZ(20px);
}

.title-decoration {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.title-decoration span {
  width: 60px;
  height: 4px;
  border-radius: 2px;
}

.title-decoration span:nth-child(1) {
  background: var(--primary);
}

.title-decoration span:nth-child(2) {
  background: var(--secondary);
  width: 40px;
}

.title-decoration span:nth-child(3) {
  background: var(--accent);
  width: 20px;
}

/* About Section */
.about-section {
  background: var(--dark-secondary);
  border-radius: 30px;
  margin: 2rem 5%;
  max-width: 1300px;
}

.about-card {
  transform-style: preserve-3d;
}

.about-text {
  transform: translateZ(20px);
}

.lead {
  font-size: 1.4rem;
  color: var(--light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-text > p:not(.lead) {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-details {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--light-secondary);
}

.detail-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

.education-card {
  background: var(--dark);
  padding: 1.5rem;
  border-radius: 16px;
  transform-style: preserve-3d;
  transition: all 0.4s var(--transition-smooth);
}

.education-card:hover {
  transform: translateZ(30px) scale(1.02);
  box-shadow: var(--shadow-2);
}

.education-card h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.education-item h4 {
  color: var(--light);
  margin-bottom: 0.3rem;
}

.education-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.cgpa {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.3rem 0.8rem;
  background: var(--gradient-1);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Skills Section */
.skills-section {
  transform-style: preserve-3d;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.radar-section { margin-top: 4rem; padding: 3rem 2rem; background: var(--dark-secondary); border-radius: 24px; }
.radar-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; color: var(--light); text-align: center; margin-bottom: 2rem; }
.radar-container { display: flex; align-items: center; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.radar-chart { width: 400px; height: 400px; }
.radar-chart svg { width: 100%; height: 100%; }
.radar-circle { fill: none; stroke: rgba(99, 102, 241, 0.2); stroke-width: 1; }
.radar-axis { stroke: rgba(99, 102, 241, 0.2); stroke-width: 1; }
.radar-polygon { fill: rgba(99, 102, 241, 0.3); stroke: var(--primary); stroke-width: 2; }
.radar-point { fill: var(--primary); cursor: pointer; transition: all 0.3s; }
.radar-label { fill: var(--light); font-size: 14px; font-weight: 600; text-anchor: middle; }
.radar-legend { display: flex; flex-direction: column; gap: 1rem; }
.legend-row { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 1.2rem; background: var(--dark); border-radius: 12px; min-width: 200px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; }
.legend-name { flex: 1; color: var(--light); font-weight: 500; }
.legend-value { color: var(--primary); font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
@media (max-width: 900px) { .radar-container { flex-direction: column; } .radar-chart { width: 300px; height: 300px; } }

.skill-box {
  background: var(--dark-secondary);
  border-radius: 20px;
  padding: 1.5rem;
  transform-style: preserve-3d;
  transition: all 0.4s var(--transition-smooth);
}

.skill-box:hover {
  transform: translateZ(20px);
  box-shadow: var(--shadow-3);
}

.skill-box-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--primary);
}

.skills-showcase {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-bar-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--dark-secondary);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  transition: all 0.4s var(--transition-smooth);
  transform-style: preserve-3d;
}

.skill-bar-card:hover {
  transform: translateX(10px) translateZ(15px);
  box-shadow: var(--shadow-2);
  background: linear-gradient(135deg, var(--dark-secondary), rgba(99, 102, 241, 0.1));
}

.skill-bar-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border-radius: 12px;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.skill-bar-info {
  flex: 1;
  min-width: 0;
}

.skill-bar-name {
  display: block;
  color: var(--light);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.skill-bar-track {
  height: 10px;
  background: var(--dark);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.skill-bar-fill {
  height: 100%;
  width: 0;
  background: var(--gradient-1);
  border-radius: 5px;
  position: relative;
  transition: width 1.5s ease-out;
}

.skill-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skill-percentage {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 50px;
  text-align: right;
  font-family: 'Space Grotesk', sans-serif;
}

/* Experience Section */
  color: var(--primary);
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.skill-item {
  transform-style: preserve-3d;
  transition: all 0.4s var(--transition-smooth);
}

.skill-item:hover {
  transform: translateX(10px) translateZ(15px);
}

.skill-item span {
  display: block;
  margin: 0.5rem 0;
  color: var(--light);
  font-weight: 500;
}

.skill-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.skill-bar {
  height: 8px;
  background: var(--dark);
  border-radius: 4px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.5s var(--transition-smooth);
}

.skill-item:hover .skill-bar {
  height: 12px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.skill-progress {
  height: 100%;
  background: var(--gradient-2);
  border-radius: 4px;
  width: var(--progress);
  transform: translateZ(10px);
  transition: width 1s var(--transition-smooth);
}

/* Experience Section */
.experience-section {
  transform-style: preserve-3d;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.experience-card {
  background: var(--dark-secondary);
  border-radius: 24px;
  padding: 2rem;
  transform-style: preserve-3d;
  transition: all 0.5s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
}

.experience-card.current::before {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  height: 5px;
}

.experience-card:hover {
  transform: translateZ(30px) translateY(-10px);
  box-shadow: var(--shadow-3);
}

.exp-card-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.exp-company-logo {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--light);
  flex-shrink: 0;
}

.exp-header-info {
  flex: 1;
}

.exp-badge {
  display: inline-block;
  background: var(--gradient-1);
  color: var(--light);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.exp-header-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--light);
  margin-bottom: 0.3rem;
}

.exp-company {
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
}

.exp-duration {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.exp-duration i {
  color: var(--accent);
}

.exp-description {
  margin-bottom: 1.5rem;
}

.exp-description p {
  color: var(--light-secondary);
  line-height: 1.6;
}

.exp-highlights {
  margin-bottom: 1.5rem;
}

.exp-highlights h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--light);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.exp-highlights h4 i {
  color: var(--secondary);
}

.exp-highlights ul {
  list-style: none;
}

.exp-highlights li {
  color: var(--light-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
}

.highlight-dot {
  display: none;
}

.exp-highlights li span {
  display: inline;
}

.exp-highlights strong {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.3rem;
}

.exp-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-tag {
  background: var(--dark);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all 0.3s;
}

.tech-tag:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
  
  .exp-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
  left: 50%;
}

.timeline-item:hover .timeline-card {
  transform: translateZ(40px) scale(1.03);
  box-shadow: var(--shadow-3);
}

.timeline-dot {
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--gradient-1);
  border-radius: 50%;
  border: 4px solid var(--dark);
  transition: all 0.4s var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.5) translateZ(20px);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.timeline-item[data-position="left"] .timeline-dot {
  right: -10px;
}

.timeline-item[data-position="right"] .timeline-dot {
  left: -10px;
}

.timeline-card {
  background: var(--dark-secondary);
  padding: 1.5rem;
  border-radius: 16px;
  transition: all 0.5s var(--transition-smooth);
  transform-style: preserve-3d;
}

.timeline-header h3 {
  color: var(--light);
  font-size: 1.3rem;
}

.company {
  color: var(--primary);
  font-weight: 600;
}

.timeline-date {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
}

.timeline-content {
  text-align: left;
  list-style: none;
}

.timeline-content li {
  color: var(--light-secondary);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline-content li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Projects Section */
.projects-section {
  transform-style: preserve-3d;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.project-card-3d {
  background: var(--dark-secondary);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.5s var(--transition-smooth);
}

.project-card-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
}

.project-card-3d:hover {
  transform: translateZ(40px) translateY(-10px);
  box-shadow: 0 30px 60px rgba(99, 102, 241, 0.3);
}

.project-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.project-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.project-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(99, 102, 241, 0.2);
  line-height: 1;
}

.project-title-group {
  flex: 1;
}

.project-title-group h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--light);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.project-subtitle {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
}

.project-icon-box {
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--light);
}

.project-description {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.project-description p {
  color: var(--light-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.project-features-list {
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.feature-item i {
  color: var(--accent);
  font-size: 0.9rem;
  width: 20px;
}

.feature-item span {
  color: var(--light-secondary);
  font-size: 0.9rem;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-badge {
  background: var(--dark);
  color: var(--primary);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all 0.3s;
}

.tech-badge:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-2px);
}

.project-footer {
  position: relative;
  z-index: 1;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gradient-1);
  color: var(--light);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s var(--transition-smooth);
}

.project-btn:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.project-btn i {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
  
  .project-header {
    flex-wrap: wrap;
  }
}
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--dark-secondary);
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.6s var(--transition-smooth);
}

.project-card:hover {
  transform: translateZ(40px) rotateX(5deg) rotateY(-5deg);
  box-shadow: var(--shadow-3);
}

.project-visual {
  height: 180px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--primary), transparent, var(--secondary), transparent);
  animation: rotate 8s linear infinite;
  opacity: 0.3;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

.project-icon {
  font-size: 4rem;
  color: var(--light);
  z-index: 1;
  transform: translateZ(20px);
}

.project-info {
  padding: 1.5rem;
  transform: translateZ(20px);
}

.project-info h3 {
  color: var(--light);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.tech-stack {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.project-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.project-features li {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

.project-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s var(--transition-smooth);
}

.project-link:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

/* Contact Section */
.contact-section {
  transform-style: preserve-3d;
  text-align: center;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-left-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  color: var(--light);
  text-align: left;
}

.contact-left-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  text-align: left;
  line-height: 1.6;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-right {
  display: flex;
  justify-content: center;
}

.contact-form-wrapper {
  background: var(--dark-secondary);
  padding: 2.5rem;
  border-radius: 24px;
  width: 100%;
  max-width: 100%;
  transform-style: preserve-3d;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
}

.contact-form-wrapper:hover {
  transform: translateZ(20px);
  box-shadow: var(--shadow-3);
}

.form-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--light);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 2px solid transparent;
  background: var(--dark);
  color: var(--light);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: all 0.3s var(--transition-smooth);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
}

.form-group select option {
  background: var(--dark);
  color: var(--light);
}

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

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  background: var(--gradient-1);
  color: var(--light);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateZ(10px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--dark-secondary);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  transform-style: preserve-3d;
  transition: all 0.4s var(--transition-smooth);
}

.contact-item:hover {
  transform: translateZ(30px) scale(1.05);
  box-shadow: var(--shadow-2);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-1);
  border-radius: 12px;
  font-size: 1.3rem;
  color: var(--light);
}

.contact-details h4 {
  color: var(--light-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.contact-details a, .contact-details span {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.contact-details a:hover {
  color: var(--primary);
}

.social-profiles {
  display: flex;
  gap: 1.5rem;
}

.social-profile {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: var(--dark-secondary);
  border-radius: 12px;
  color: var(--light);
  text-decoration: none;
  font-weight: 600;
  transform-style: preserve-3d;
  transition: all 0.4s var(--transition-smooth);
}

.social-profile:hover {
  background: var(--gradient-1);
  transform: translateZ(30px) rotateY(360deg);
}

.social-profile i {
  font-size: 1.5rem;
}

.footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-secondary);
}

.footer p {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .greeting {
    text-align: center;
  }

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

  .title {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .cursor {
    text-align: center;
  }

  .tagline {
    text-align: center;
  }

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

  .hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }

  .name {
    font-size: 3rem;
  }

  .about-details {
    justify-content: center;
  }

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

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    text-align: left;
  }

  .timeline-item[data-position="left"],
  .timeline-item[data-position="right"] {
    left: 0;
  }

  .timeline-item[data-position="left"] .timeline-dot,
  .timeline-item[data-position="right"] .timeline-dot {
    left: 10px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark-secondary);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-200%);
    transition: transform 0.4s var(--transition-smooth);
  }

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

  .hamburger {
    display: flex;
  }

  .name {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-left {
    align-items: center;
    text-align: center;
  }

  .contact-left-title,
  .contact-left-subtitle {
    text-align: center;
  }

  .contact-info {
    flex-direction: column;
    width: 100%;
  }

  .contact-item {
    width: 100%;
    justify-content: center;
  }
}

/* 3D Section Reveal Animation */
section {
  opacity: 0;
  transform: translateZ(-100px) rotateX(10deg);
  transition: all 0.8s var(--transition-smooth);
}

section.visible {
  opacity: 1;
  transform: translateZ(0) rotateX(0);
}

/* Smooth Scroll Indicator */
.scroll-progress {
  position: fixed;
  top: 70px;
  left: 0;
  height: 3px;
  background: var(--gradient-1);
  z-index: 999;
  transform-origin: left;
  transform: scaleX(0);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

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