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

:root {
  --primary: #000000;
  --secondary: #f5f5f7;
  --accent: #0071e3;
  --accent-light: #06c;
  --text-dark: #1d1d1f;
  --text-light: #6e6e73;
  --bg-light: #fbfbfd;
}


body {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    sans-serif;
  background: var(--primary);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animated Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.content-wrapper {
  position: relative;
  z-index: 1;
}

/* 3D Character Container */
#character-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--primary);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader-content {
  position: relative;
  text-align: center;
}

.loader-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, var(--accent), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.code-window {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.code-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f56;
}
.dot-yellow {
  background: #ffbd2e;
}
.dot-green {
  background: #27c93f;
}

.code-lines {
  font-family: "Courier New", monospace;
  font-size: 1rem;
  color: var(--accent);
  text-align: left;
}

.code-line {
  opacity: 0;
  margin: 0.5rem 0;
}

.comment {
  color: #666;
}
.keyword {
  color: #c792ea;
}
.string {
  color: #c3e88d;
}
.function {
  color: #82aaff;
}

.loader-progress {
  width: 400px;
  height: 4px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin: 2rem auto;
}

.loader-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #8b5cf6);
  width: 0%;
  transition: width 0.3s;
}

.loader-text {
  font-size: 1rem;
  color: #888;
  margin-top: 1rem;
  letter-spacing: 2px;
}

.loader-percentage {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  margin-top: 0.5rem;
}

.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(15, 15, 15, 0.5);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--accent);
}

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

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

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

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(15, 15, 15, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-left: 1px solid var(--border);
  padding: 6rem 2rem 2rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s;
  display: block;
  padding-left: 1rem;
  border-left: 2px solid transparent;
}

.mobile-menu a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
  padding-left: 1.5rem;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  max-width: 1400px;
  width: 90%;
  z-index: 2;
}

.hero-text {
  flex: 1;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 1rem;
  letter-spacing: -3px;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: #888;
  margin-bottom: 1rem;
  font-weight: 300;
  height: 3rem;
  display: flex;
  align-items: center;
}

.rotating-text {
  color: var(--accent);
  font-weight: 600;
  margin-left: 1rem;
}

.hero-description {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-image-wrapper {
  flex: 0 0 400px;
  position: relative;
  height: 400px;
}

.developer-image {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(99, 102, 241, 0.4);
}

.developer-image::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(5, 100, 243, 0.3),
    transparent 30%
  );
  animation: rotate 4s linear infinite;
}

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

.developer-image img {
  width: 400px;
  height: 400px;
}

.image-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  animation: orbit-rotate 20s linear infinite;
}

.orbit-1 {
  width: 500px;
  height: 500px;
  margin-left: -250px;
  margin-top: -250px;
}

.orbit-2 {
  width: 580px;
  height: 580px;
  margin-left: -290px;
  margin-top: -290px;
  animation-duration: 25s;
  animation-direction: reverse;
}

.orbit-3 {
  width: 660px;
  height: 660px;
  margin-left: -330px;
  margin-top: -330px;
  animation-duration: 30s;
}

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

.planet {
  position: absolute;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.4),
    inset -5px -5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
  cursor: pointer;
  z-index: 1;
}

.planet:hover {
  transform: scale(1.3);
  z-index: 10;
}

.planet-html {
  background: radial-gradient(circle at 30% 30%, #3b9cff, #264de4);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.planet-css {
  background: radial-gradient(circle at 30% 30%, #3b9cff, #264de4);
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.planet-js {
  background: radial-gradient(circle at 30% 30%, #3b9cff, #264de4);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.planet-react {
  background: radial-gradient(circle at 30% 30%, #3b9cff, #264de4);
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.planet-vue {
  background: radial-gradient(circle at 30% 30%, #3b9cff, #264de4);
  top: 15%;
  right: 15%;
}

.planet-python {
  background: radial-gradient(circle at 30% 30%, #8cc84b, #68a063);
  bottom: 15%;
  right: 15%;
}

.planet-node {
  background: radial-gradient(circle at 30% 30%, #8cc84b, #68a063);
  bottom: 15%;
  left: 15%;
}

.planet-ts {
  background: radial-gradient(circle at 30% 30%, #8cc84b, #68a063);
  top: 15%;
  left: 15%;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid;
  border-radius: 50%;
  opacity: 0.3;
}

.ring-1 {
  width: 420px;
  height: 420px;
  border-color: var(--accent);
  animation: pulse-ring 3s ease-in-out infinite;
}

.ring-2 {
  width: 460px;
  height: 460px;
  border-color: #8b5cf6;
  animation: pulse-ring 3s ease-in-out infinite 0.5s;
}

.ring-3 {
  width: 500px;
  height: 500px;
  border-color: #ec4899;
  animation: pulse-ring 3s ease-in-out infinite 1s;
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.1;
  }
}

.glitch-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--accent);
  left: 0;
  opacity: 0;
  animation: glitch 5s linear infinite;
}

@keyframes glitch {
  0%,
  90%,
  100% {
    opacity: 0;
  }
  91%,
  95% {
    opacity: 1;
    transform: translateX(-5px);
  }
  93%,
  97% {
    opacity: 1;
    transform: translateX(5px);
  }
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

/* About Section */
.about {
  min-height: 100vh;
  padding: 10rem 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(233, 134, 4, 0.05));
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.about-placeholder {
  width: 100%;
  height: 600px;
  background: transparent;
  border-radius: 20px;
  position: relative;
}
.about-placeholder video {
  width: 90%;
  height: 580px;
}
.about-content {
  position: relative;
  z-index: 2;
}

.about-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.about-content h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-light), transparent);
}

.about-content p {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.skill-tag {
  padding: 0.8rem 1.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 25px;
  font-size: 0.9rem;
  color: var(--accent-light);
}

.skill-tag:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
}

/* New Subsections */
.subsection {
  padding: 8rem 5%;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.subsection:nth-child(even) {
  background: var(--primary);
}

.subsection::before {
  content: "";
  position: absolute;
  top: -0%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #0071e3, transparent);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-50px, 50px) rotate(180deg);
  }
}

.subsection::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0071e3, transparent);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite reverse;
}

.subsection-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
}

.subsection-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subsection-title::before {
  content: "//";
  position: absolute;
  left: -3rem;
  color: var(--accent);
  opacity: 0.5;
  font-family: "Courier New", monospace;
  -webkit-text-fill-color: var(--accent);
}

.subsection-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.subsection-subtitle {
  font-size: 1.2rem;
  color: var(--bg-light);
  margin-top: 1rem;
  margin-bottom: 2rem;
}

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

.card {
  padding: 3rem;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05),
    rgba(139, 92, 246, 0.02)
  );
  border-radius: 25px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(99, 102, 241, 0.1),
    transparent
  );
  transform: rotate(0deg);
  transition: transform 0.8s;
}

.card:hover::before {
  transform: rotate(180deg);
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(99, 102, 241, 0.15),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--accent);
  box-shadow:
    0 30px 80px rgba(99, 102, 241, 0.3),
    0 0 0 1px rgba(99, 102, 241, 0.1) inset;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(139, 92, 246, 0.05)
  );
}

.card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
  transition: all 0.5s;
  position: relative;
  z-index: 2;
}

.card:hover .card-icon  {
  transform: rotateY(360deg) scale(1.1);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.6);
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}



.card p {
  color: #888;
  line-height: 1.8;
}

/* Process Section */
.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
}

.process-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  margin: 0 auto 1.5rem;
  color: wheat;
}

.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.process-step p {
  color: #888;
}

/* Projects Section */
.projects {
  padding: 10rem 5%;
  background: #0a0a0a;
  position: relative;
}

.projects::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #0071e3, transparent);
  border-radius: 50%;
}

.section-title {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 5rem;
  text-align: center;
  font-weight: 800;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: radial-gradient(circle, #0071e3, transparent);
}

.project-grid {
  display: grid;
  gap: 8rem;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.project-card:nth-child(even) {
  direction: rtl;
}

.project-card:nth-child(even) > * {
  direction: ltr;
}

.project-image {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.project-image::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.5s;
}

.project-card:hover .project-image::before {
  left: 100%;
}

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

.project-info h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  transition: color 0.3s;
}

.project-card:hover .project-info h3 {
  color: var(--accent);
}

.project-info p {
  color: #999;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.tag {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  font-size: 0.85rem;
  color: #888;
}

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

.project-link:hover {
  gap: 1rem;
}

/* Experience Section */
.experience {
  padding: 10rem 5%;
  background: var(--primary);
}

.timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.timeline-progress {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  box-shadow: 0 0 20px var(--accent);
  transition: height 0.3s;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  border: 4px solid var(--primary);
  z-index: 2;
}

.timeline-content {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

.timeline-content:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.timeline-item:nth-child(even) .timeline-content:first-child {
  grid-column: 2;
}

.timeline-date {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  color: #888;
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  min-height: 100vh;
  padding: 10rem 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent);
  border-radius: 50%;
  animation: pulse-contact 4s ease-in-out infinite;
}

@keyframes pulse-contact {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.15;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.05;
  }
}

.contact-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.contact h2 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 1rem;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact p {
  font-size: 1.3rem;
  color: #888;
  margin-bottom: 4rem;
  text-align: center;
}
.robo {
  width: 60vw;
  height: 60vh;
}

.contact-form {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05),
    rgba(139, 92, 246, 0.02)
  );
  padding: 3rem;
  border-radius: 25px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  background: rgba(15, 15, 15, 0.8);
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  color: var(--secondary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(15, 15, 15, 0.95);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.submit-button {
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.submit-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  transition: transform 0.5s;
}

.submit-button:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.submit-button:active {
  transform: translateY(0);
}

.social-links {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

.social-links a {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}

.social-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.4s;
  z-index: -1;
}

.social-links a:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.social-links a:hover {
  color: white;
  border-color: var(--accent);
  transform: translateY(-10px) rotate(360deg);
}

footer {
  padding: 4rem 5%;
  background: #000;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--accent);
}

.footer-brand p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  padding: 0.3rem 0.8rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 15px;
  font-size: 0.75rem;
  color: var(--accent);
  transition: all 0.3s;
}

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

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #555;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

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

  .hamburger {
    display: flex;
  }

  .hero-content {
    flex-direction: column;
    gap: 3rem;
  }

  .hero-image-wrapper {
    flex: 0 0 300px;
  }

  .developer-image {
    width: 300px;
    height: 300px;
  }

  .ring-1 {
    width: 320px;
    height: 320px;
  }
  .ring-2 {
    width: 350px;
    height: 350px;
  }
  .ring-3 {
    width: 380px;
    height: 380px;
  }

  .about,
  .project-card {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .project-card:nth-child(even) {
    direction: ltr;
  }

  .timeline::before,
  .timeline-progress {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 60px;
  }

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

  .timeline-item:nth-child(even) .timeline-content:first-child {
    grid-column: 1;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .process-steps {
    flex-direction: column;
  }

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

  .subsection-title::before {
    position: relative;
    left: 0;
    display: block;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-image-wrapper {
    flex: 0 0 250px;
  }

  .developer-image {
    width: 250px;
    height: 250px;
  }

  .ring-1 {
    width: 270px;
    height: 270px;
  }
  .ring-2 {
    width: 300px;
    height: 300px;
  }
  .ring-3 {
    width: 330px;
    height: 330px;
  }

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

  .card {
    padding: 2rem;
  }
}

/* Cursor hover effects */
.hover-effect {
  transition: all 0.3s ease;
}

.hover-effect:hover {
  transform: translateY(-5px);
}

/* Magnetic effect for interactive elements */
.magnetic {
  transition: transform 0.2s ease-out;
}

/* Parallax sections */
.parallax-section {
  position: relative;
}

.parallax-element {
  transition: transform 0.1s ease-out;
}
