:root {
  --primary-dark-bg: #1a1a2e;
  --primary-light-bg: #ecf0f1;
  --secondary-purple: #420078;
  --text-dark: #34495e;
  --text-light: #e0e0e0;
  --card-bg-light: #ffffff;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background-color: var(--primary-light-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

h2 {
  margin-bottom: 3rem;
}

.hero {
  position: relative;
  background-color: var(--primary-dark-bg);
  color: var(--text-light);
  height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-content .hero-profile-pic {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-social-links {
  margin-top: 2rem;
}

.hero-social-links .social-link {
  font-size: 2rem;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.hero-social-links .social-link:hover {
  color: var(--secondary-purple);
}

.btn {
  display: inline-block;
  background-color: var(--secondary-purple);
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #7b2cbf;
}

#about .about-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

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

@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  background-color: var(--card-bg-light);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card img {
  max-width: 100%;
  border-radius: 5px;
}

footer {
  background-color: var(--card-bg-light);
  color: var(--text-dark);
  padding: 4rem 2rem;
  text-align: center;
}

footer .social-link {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.2rem;
}

footer .social-link:hover {
  color: var(--secondary-purple);
}

.social-link i {
  margin-right: 0.5rem;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.fade-in-delay {
  animation: fadeIn 1s ease-in-out 0.5s;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
