/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #1a1a1a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Navigation */
header {
  background-color: rgba(26, 26, 26, 0.9);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#navbar {
  padding: 20px 0;
}

#navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  padding: 8px;
  cursor: pointer;
  position: relative;
}

.logo .logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.cyber-logo {
    position: relative;
    font-family: 'Source Code Pro', monospace;
    font-size: 28px;
    font-weight: 700;
    perspective: 500px;
    transform-style: preserve-3d;
}

.cyber-logo span {
    position: absolute;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cyber-logo .front {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    animation: frontAnim 3s ease-in-out infinite;
    background: linear-gradient(45deg, #00ffff 0%, #ffffff 50%, #00ffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cyber-logo .back {
    color: rgba(0, 255, 255, 0.2);
    transform: rotateX(180deg) translateZ(-10px);
    animation: backAnim 3s ease-in-out infinite;
}

.cyber-logo .glow {
    width: 100%;
    height: 100%;
    position: absolute;
    animation: glowAnim 3s ease-in-out infinite;
    filter: blur(20px);
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.5), transparent 50%);
}

@keyframes frontAnim {
    0%, 100% {
        transform: rotateX(0deg) translateZ(10px);
    }
    50% {
        transform: rotateX(30deg) translateZ(20px);
    }
}

@keyframes backAnim {
    0%, 100% {
        transform: rotateX(180deg) translateZ(-10px);
    }
    50% {
        transform: rotateX(210deg) translateZ(-20px);
    }
}

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

.tech-logo {
  font-family: 'Source Code Pro', monospace;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5),
               0 0 20px rgba(0, 255, 255, 0.3);
  background: linear-gradient(120deg, #00ffff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  letter-spacing: 1px;
}

.tech-logo::before {
  content: attr(data-text);
  position: absolute;
  left: -2px;
  width: calc(100% + 4px);
  background: linear-gradient(120deg, #00ffff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
}

.logo-text {
  font-family: 'Source Code Pro', monospace;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 2px;
}

.logo-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.logo:hover .logo-text {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  letter-spacing: 4px;
}

.logo:hover .logo-text::after {
  transform: scaleX(1);
  transform-origin: left;
}

.dot-text {
  display: flex;
  position: relative;
}

.letter {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  margin: 0 1px;
  position: relative;
  opacity: 0;
  animation: appear 0.5s ease forwards;
}

.letter::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: dot-pulse 1.5s ease-in-out infinite;
}

.letter::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ffffff;
  top: 50%;
  left: 100%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  animation: line-connect 0.5s ease forwards;
}

.letter:last-child::after {
  display: none;
}

@keyframes appear {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes line-connect {
  0% {
    transform: translateY(-50%) scaleX(0);
  }
  100% {
    transform: translateY(-50%) scaleX(1);
  }
}

.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.1s; }
.letter:nth-child(3) { animation-delay: 0.2s; }
.letter:nth-child(4) { animation-delay: 0.3s; }
.letter:nth-child(5) { animation-delay: 0.4s; }
.letter:nth-child(6) { animation-delay: 0.5s; }
.letter:nth-child(7) { animation-delay: 0.6s; }

.letter:nth-child(1)::after { animation-delay: 0.1s; }
.letter:nth-child(2)::after { animation-delay: 0.2s; }
.letter:nth-child(3)::after { animation-delay: 0.3s; }
.letter:nth-child(4)::after { animation-delay: 0.4s; }
.letter:nth-child(5)::after { animation-delay: 0.5s; }
.letter:nth-child(6)::after { animation-delay: 0.6s; }

.logo:hover .letter::before {
  animation: dot-pulse 1s ease-in-out infinite;
}

.wave-text {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  position: relative;
  background: linear-gradient(
    45deg,
    #ffffff,
    #FF6B6B,  /* Coral */
    #4ECDC4,  /* Turquoise */
    #FFE66D,  /* Yellow */
    #FF69B4,  /* Hot Pink */
    #7B68EE,  /* Purple */
    #ffffff
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-wave 8s ease infinite;
  transition: all 0.3s ease;
}

.wave-text::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    #FF6B6B,
    #4ECDC4,
    #FFE66D,
    #FF69B4
  );
  transition: width 0.3s ease;
}

.logo:hover .wave-text::before {
  width: 100%;
}

.logo:hover .wave-text {
  transform: translateY(-2px);
  text-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

@keyframes gradient-wave {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.glitch {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  position: relative;
  text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
              -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
              0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  animation: glitch 500ms infinite;
}

.glitch span {
  position: absolute;
  top: 0;
  left: 0;
}

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

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #87ceeb;
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 #ff00ff;
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
                0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  14% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
                0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  15% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  49% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  50% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                0.05em 0 0 rgba(0, 255, 0, 0.75),
                0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  99% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                0.05em 0 0 rgba(0, 255, 0, 0.75),
                0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  100% {
    text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75),
                -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
                -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
}

@keyframes glitch-anim {
  0% {
    clip: rect(14px, 9999px, 67px, 0);
  }
  5% {
    clip: rect(89px, 9999px, 6px, 0);
  }
  10% {
    clip: rect(12px, 9999px, 48px, 0);
  }
  15% {
    clip: rect(54px, 9999px, 73px, 0);
  }
  20% {
    clip: rect(89px, 9999px, 38px, 0);
  }
  25% {
    clip: rect(16px, 9999px, 86px, 0);
  }
  30% {
    clip: rect(4px, 9999px, 15px, 0);
  }
  35% {
    clip: rect(67px, 9999px, 78px, 0);
  }
  40% {
    clip: rect(89px, 9999px, 38px, 0);
  }
  45% {
    clip: rect(28px, 9999px, 16px, 0);
  }
  50% {
    clip: rect(23px, 9999px, 86px, 0);
  }
  55% {
    clip: rect(89px, 9999px, 38px, 0);
  }
  60% {
    clip: rect(67px, 9999px, 78px, 0);
  }
  65% {
    clip: rect(14px, 9999px, 67px, 0);
  }
  70% {
    clip: rect(89px, 9999px, 6px, 0);
  }
  75% {
    clip: rect(12px, 9999px, 48px, 0);
  }
  80% {
    clip: rect(54px, 9999px, 73px, 0);
  }
  85% {
    clip: rect(89px, 9999px, 38px, 0);
  }
  90% {
    clip: rect(16px, 9999px, 86px, 0);
  }
  95% {
    clip: rect(4px, 9999px, 15px, 0);
  }
  100% {
    clip: rect(67px, 9999px, 78px, 0);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(67px, 9999px, 78px, 0);
  }
  5% {
    clip: rect(89px, 9999px, 38px, 0);
  }
  10% {
    clip: rect(28px, 9999px, 16px, 0);
  }
  15% {
    clip: rect(23px, 9999px, 86px, 0);
  }
  20% {
    clip: rect(89px, 9999px, 38px, 0);
  }
  25% {
    clip: rect(67px, 9999px, 78px, 0);
  }
  30% {
    clip: rect(14px, 9999px, 67px, 0);
  }
  35% {
    clip: rect(89px, 9999px, 6px, 0);
  }
  40% {
    clip: rect(12px, 9999px, 48px, 0);
  }
  45% {
    clip: rect(54px, 9999px, 73px, 0);
  }
  50% {
    clip: rect(89px, 9999px, 38px, 0);
  }
  55% {
    clip: rect(16px, 9999px, 86px, 0);
  }
  60% {
    clip: rect(4px, 9999px, 15px, 0);
  }
  65% {
    clip: rect(67px, 9999px, 78px, 0);
  }
  70% {
    clip: rect(89px, 9999px, 38px, 0);
  }
  75% {
    clip: rect(28px, 9999px, 16px, 0);
  }
  80% {
    clip: rect(23px, 9999px, 86px, 0);
  }
  85% {
    clip: rect(89px, 9999px, 38px, 0);
  }
  90% {
    clip: rect(67px, 9999px, 78px, 0);
  }
  95% {
    clip: rect(14px, 9999px, 67px, 0);
  }
  100% {
    clip: rect(89px, 9999px, 6px, 0);
  }
}

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

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #87ceeb;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(135, 206, 235, 0.05) 0%,
    rgba(135, 206, 235, 0.02) 30%,
    transparent 70%
  );
  animation: pulse 8s ease-in-out infinite;
}

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

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 0 0 350px;
  position: relative;
}

.profile-photo {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid rgba(135, 206, 235, 0.3);
  box-shadow: 
    0 0 20px rgba(135, 206, 235, 0.2),
    0 0 40px rgba(135, 206, 235, 0.1);
  transition: all 0.3s ease;
}

.profile-photo:hover {
  transform: translateY(-5px);
  border-color: rgba(135, 206, 235, 0.6);
  box-shadow: 
    0 0 30px rgba(135, 206, 235, 0.3),
    0 0 60px rgba(135, 206, 235, 0.2);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.btn {
  position: relative;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn i {
  font-size: 16px;
}

.btn-primary {
  background-color: #238636;
  color: #ffffff;
  border: 1px solid rgba(240, 246, 252, 0.1);
}

.btn-primary:hover {
  background-color: #2ea043;
  transform: translateY(-1px);
}

.btn-primary:active {
  background-color: #238636;
  transform: translateY(0);
}

.btn-secondary {
  background-color: #21262d;
  color: #ffffff;
  border: 1px solid rgba(240, 246, 252, 0.1);
}

.btn-secondary:hover {
  background-color: #30363d;
  border-color: #8b949e;
  transform: translateY(-1px);
}

.btn-secondary:active {
  background-color: #282e33;
  transform: translateY(0);
}

.project-card .btn {
  width: 100%;
  margin-top: auto;
  background-color: #21262d;
  color: #ffffff;
  border: 1px solid rgba(240, 246, 252, 0.1);
}

.project-card .btn:hover {
  background-color: #30363d;
  border-color: #8b949e;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  color: #8b949e;
  font-size: 20px;
  transition: all 0.2s ease;
}

.social-links a:hover {
  color: #58a6ff;
  transform: translateY(-2px);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #87ceeb;
  position: relative;
  display: inline-block;
}

.hero h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(135, 206, 235, 0.8),
    transparent
  );
}

.hero h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ffffff;
  opacity: 0.9;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 30px;
  position: relative;
  padding-left: 20px;
}

.hero p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(135, 206, 235, 0.5),
    transparent
  );
}

.download-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  background: rgba(135, 206, 235, 0.1);
  border: 1px solid rgba(135, 206, 235, 0.3);
  border-radius: 8px;
  color: #87ceeb;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(135, 206, 235, 0.2),
    transparent
  );
  transition: 0.5s;
}

.download-btn:hover {
  background: rgba(135, 206, 235, 0.2);
  border-color: rgba(135, 206, 235, 0.5);
  box-shadow: 0 0 20px rgba(135, 206, 235, 0.2);
  transform: translateY(-2px);
}

.download-btn:hover::before {
  left: 100%;
}

/* Education & Experience Sections */
.education, .experience {
  padding: 80px 0;
  background-color: #111111;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  perspective: 1000px;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(135, 206, 235, 0.3),
    rgba(135, 206, 235, 0.5),
    rgba(135, 206, 235, 0.3),
    transparent
  );
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

.timeline-item {
  margin-bottom: 60px;
  width: 50%;
  position: relative;
  padding-right: 40px;
  transform-style: preserve-3d;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: #87ceeb;
  border-radius: 50%;
  right: -8px;
  top: 20px;
  box-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
  transition: all 0.3s ease;
}

.timeline-item.right {
  margin-left: 50%;
  padding-right: 0;
  padding-left: 40px;
}

.timeline-item.right::before {
  right: auto;
  left: -8px;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: #87ceeb;
  text-shadow: 0 0 15px rgba(135, 206, 235, 0.3);
}

.timeline-content {
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(135, 206, 235, 0.2);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateZ(0);
  transition: all 0.3s ease;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(135, 206, 235, 0.3),
    transparent
  );
}

.timeline-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(135, 206, 235, 0.3),
    transparent
  );
}

.timeline-item:hover .timeline-content {
  transform: translateZ(20px);
  border-color: rgba(135, 206, 235, 0.4);
  box-shadow: 0 8px 25px rgba(135, 206, 235, 0.15);
}

.timeline-content h3 {
  color: #87ceeb;
  font-size: 1.3rem;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.timeline-content:hover h3 {
  text-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
}

.timeline-date {
  color: #87ceeb;
  font-size: 0.9rem;
  opacity: 0.8;
  position: relative;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(135, 206, 235, 0.1);
  margin-top: 8px;
}

.timeline-item:hover .timeline-date {
  background: rgba(135, 206, 235, 0.2);
  box-shadow: 0 0 10px rgba(135, 206, 235, 0.2);
}

.timeline-content p {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }

  .timeline-item::before {
    left: 22px;
    right: auto;
  }

  .timeline-item.right {
    margin-left: 0;
    padding-left: 70px;
  }

  .timeline-item.right::before {
    left: 22px;
  }

  .timeline-content {
    padding: 20px;
  }
}

/* Skills Section */
.skills {
  padding: 80px 0;
  background-color: #111111;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(135, 206, 235, 0.2);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: rgba(135, 206, 235, 0.4);
  box-shadow: 0 10px 30px rgba(135, 206, 235, 0.15);
}

.skill-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  transform: translateZ(20px);
}

.skill-header i {
  font-size: 24px;
  margin-right: 10px;
  color: #87ceeb;
}

.skill-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.skill-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
}

.skill-item {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 10px;
  transition: all 0.3s ease;
  transform: translateZ(10px);
}

.skill-item:hover {
  background: rgba(135, 206, 235, 0.1);
  transform: translateZ(15px);
}

.skill-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.skill-item:hover img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(135, 206, 235, 0.6));
}

.skill-item span {
  font-size: 0.9rem;
  color: #ffffff;
  text-align: center;
  transition: all 0.3s ease;
}

.skill-item:hover span {
  color: #87ceeb;
  text-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
}

@media screen and (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .skill-list {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}

/* Projects Section */
.projects {
  padding: 80px 0;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d1117 100%);
  position: relative;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.3), transparent);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: rgba(22, 27, 34, 0.8);
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #238636, #58a6ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.project-card:hover {
  transform: translateY(-5px);
  border-color: #58a6ff;
  box-shadow: 0 8px 24px rgba(88, 166, 255, 0.15);
}

.project-card h3 {
  color: #87ceeb;
  margin-bottom: 15px;
}

.project-card p {
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-card .btn {
  width: 100%;
  margin-top: auto;
  background-color: #21262d;
  color: #ffffff;
  border: 1px solid rgba(240, 246, 252, 0.1);
}

.project-card .btn:hover {
  background-color: #30363d;
  border-color: #8b949e;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #0d1117;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.3), transparent);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(22, 27, 34, 0.8);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #30363d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(45deg, #238636, #58a6ff);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #c9d1d9;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 6px;
  color: #c9d1d9;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #58a6ff;
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2);
  outline: none;
}

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

/* Footer */
footer {
  background: #0d1117;
  padding: 30px 0;
  text-align: center;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.3), transparent);
}

footer .social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

footer .social-links a {
  color: #8b949e;
  font-size: 24px;
  transition: all 0.3s ease;
  padding: 10px;
}

footer .social-links a:hover {
  color: #58a6ff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(88, 166, 255, 0.2);
}

footer p {
  color: #8b949e;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
    margin-top: 30px;
  }

  .nav-links {
    display: none;
  }

  .skills-container {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  
  .skill-category {
    padding: 20px;
  }

  .skill-item {
    padding: 10px 12px;
  }

  .skill-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
  }

  .skill-logo {
    width: 24px;
    height: 24px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero,
.education,
.skills,
.projects,
.contact {
  animation: fadeIn 1s ease-in-out;
}

/* Particles, Scroll Progress, and Enhanced Timeline and Skill Cards */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, #87ceeb, #4fc3f7);
  z-index: 1001;
  transition: width 0.2s ease;
}
.skills,
.projects,
.contact {
  animation: fadeIn 1s ease-in-out;
}

/* Particles, Scroll Progress, and Enhanced Timeline and Skill Cards */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, #87ceeb, #4fc3f7);
  z-index: 1001;
  transition: width 0.2s ease;
}
