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

:root {
  --bg-dark: #0a0a0a;
  --bg-card: #111111;
  --accent-primary: #a855f7;
  --accent-secondary: #e879f9;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}

.bg-animation::before,
.bg-animation::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  animation: float 20s infinite ease-in-out;
}

.bg-animation::before {
  background: var(--accent-primary);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.bg-animation::after {
  background: var(--accent-secondary);
  bottom: -200px;
  right: -200px;
  animation-delay: 10s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(100px, -100px) scale(1.1);
  }

  66% {
    transform: translate(-100px, 100px) scale(0.9);
  }
}

nav {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.5px;
}

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

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg,
      var(--accent-primary),
      var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.primary {
  background: var(--accent-primary);
  color: var(--bg-dark);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0, 255, 136, 0.5);
}

.secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.secondary:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 255, 136, 0.1);
}

section {
  padding: 8rem 10%;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-block;
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

section h2 {
  font-size: 3.5rem;
  margin-bottom: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  text-align: center;
}

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

.project-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
}

.project-image {
  height: 250px;
  background: linear-gradient(135deg,
      rgba(0, 255, 136, 0.2),
      rgba(0, 212, 255, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.project-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      var(--accent-primary),
      var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-image::before {
  opacity: 0.3;
}

.project-info {
  padding: 2rem;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.project-tag {
  padding: 0.3rem 1rem;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent-primary);
}

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

.project-info p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.project-image {
  font-family: "Capricus Straight Condensed";
}

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

.skill-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-card:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 255, 136, 0.05);
  transform: translateY(-5px);
}

.skill-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

#contact {
  text-align: center;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-content p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-primary);
  display: block;
}

.contact-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
  background: rgba(0, 255, 136, 0.05);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

svg {
  height: 64px;
}

footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 10%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

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

  .hero p {
    font-size: 1.2rem;
  }

  section h2 {
    font-size: 2.5rem;
  }

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

  nav ul {
    gap: 1.5rem;
  }

  section {
    padding: 5rem 5%;
  }

  .footer-content {
    justify-content: center;
    text-align: center;
  }
}

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

.journey-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.journey-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.15);
}

.journey-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.journey-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
}

.journey-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Skills Learning Soon Badge */
.skill-card.learning {
  opacity: 0.7;
  position: relative;
}

.skill-card.learning:hover {
  opacity: 1;
}

.coming-soon {
  display: block;
  font-size: 0.7rem;
  color: var(--accent-secondary);
  margin-top: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}



.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}