.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.9);
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.light-theme .nav-links.active {
  background: rgba(255, 255, 255, 0.9);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 1000;
}

.light-theme .dropdown-menu {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
}

.light-theme .dropdown-item {
  color: #0a0a0a;
}

.dropdown-item:hover {
  background: rgba(0, 255, 204, 0.1);
  color: #00ffcc;
}

.light-theme .dropdown-item:hover {
  background: rgba(0, 204, 153, 0.1);
  color: #00cc99;
}

#theme-toggle {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

.light-theme #theme-toggle {
  color: #0a0a0a;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.why-item {
  background: rgba(26, 26, 26, 0.8);
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.light-theme .why-item {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 255, 204, 0.2);
}

.why-item i {
  font-size: 2rem;
  color: #00ffcc;
  margin-bottom: 0.75rem;
}

.light-theme .why-item i {
  color: #00cc99;
}

.why-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.why-item p {
  font-size: 1rem;
  color: #d1d5db;
  margin: 0;
}

.light-theme .why-item p {
  color: #555555;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.skill-item {
  background: rgba(26, 26, 26, 0.8);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.light-theme .skill-item {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skill-item:hover {
  transform: scale(1.05);
}

.skill-item i {
  font-size: 2rem;
  color: #00ffcc;
  margin-bottom: 0.5rem;
}

.light-theme .skill-item i {
  color: #00cc99;
}

.skill-item p {
  font-size: 0.9rem;
  margin: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.project-card {
  background: rgba(26, 26, 26, 0.8);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.light-theme .project-card {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 255, 204, 0.2);
}

.card-content {
  display: flex;
  flex-direction: column;
}

.card-content img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-info {
  padding: 1.5rem;
}

.card-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.card-info p {
  font-size: 1rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.light-theme .card-info p {
  color: #555555;
}

.card-info a {
  background: linear-gradient(45deg, #00ffcc, #ff00cc);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.3s ease;
}

.light-theme .card-info a {
  background: linear-gradient(45deg, #00cc99, #cc0099);
  color: #ffffff;
}

.card-info a:hover {
  transform: scale(1.05);
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem 0;
}

.tech-tag {
  background: rgba(0, 255, 204, 0.1);
  color: #00ffcc;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.light-theme .tech-tag {
  background: rgba(0, 204, 153, 0.2);
  color: #009973;
}

.tech-tag:hover {
  transform: scale(1.05);
}

.cta-button {
  background: linear-gradient(45deg, #00ffcc, #ff00cc);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  color: #0a0a0a;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0.5rem;
}

.light-theme .cta-button {
  background: linear-gradient(45deg, #00cc99, #cc0099);
  color: #ffffff;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
}

.cta-button.disabled {
  background: #666666;
  cursor: not-allowed;
  pointer-events: none;
}

.light-theme .cta-button.disabled {
  background: #cccccc;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem 0;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.light-theme .contact-links a {
  color: #0a0a0a;
}

.contact-links a:hover {
  color: #00ffcc;
}

.light-theme .contact-links a:hover {
  color: #00cc99;
}

.contact-links i {
  font-size: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.feature-card {
  background: rgba(26, 26, 26, 0.8);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.light-theme .feature-card {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 255, 204, 0.2);
}

.feature-card i {
  font-size: 2rem;
  color: #00ffcc;
  margin-bottom: 0.75rem;
}

.light-theme .feature-card i {
  color: #00cc99;
}

.feature-card p {
  font-size: 1rem;
  color: #d1d5db;
  margin: 0;
}

.light-theme .feature-card p {
  color: #555555;
}

.feature-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 2rem auto;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.light-theme .feature-list li {
  color: #555555;
}

.feature-list i {
  font-size: 1.5rem;
  color: #00ffcc;
}

.light-theme .feature-list i {
  color: #00cc99;
}

.neon-text {
  animation: neonPulse 2s infinite;
}

.fade-in-text {
  animation: fadeInText 1s ease-out;
  animation-delay: calc(var(--char-index) * 0.05s);
}

.screenshot-container {
  position: relative;
  display: flex;
  justify-content: center;
  max-width: 800px;
  margin: 2rem auto;
}

.coming-soon-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(45deg, #ff00cc, #00ffcc);
  color: #0a0a0a;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
  transform: rotate(45deg);
  transform-origin: top right;
}

.light-theme .coming-soon-tag {
  background: linear-gradient(45deg, #cc0099, #00cc99);
  color: #ffffff;
}

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

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .why-grid,
  .skills-grid,
  .project-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .profile-img {
    width: 10rem;
    height: 10rem;
  }

  .coming-soon-tag {
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
  }
}
