:root {
  --primary: #6c63ff;
  --secondary: #4d44db;
  --dark: #2f2e41;
  --light: #f8f9fa;
  --accent: #ff6584;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light);
  color: var(--dark);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
}

.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color:black;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

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

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50%;
  height: 3px;
  background-color: var(--primary);
}

.skill-card {
  transition: transform 1s ease, box-shadow 1s ease;
  border-radius: 10px;
  overflow: hidden;
}

.skill-card:hover {
  transform: translateY(10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-card {
  transition: transform 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-image {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.contact-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.contact-icon:hover {
  background-color: var(--secondary);
  transform: translateY(-5px);
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.1;
  border-radius: 50%;
  background: var(--primary);
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: var(--primary);
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

@media (max-width: 768px) {
  .hero-content {
    text-align: center;
  }

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

  .section-title::after {
    left: 25%;
  }
}
