/* SCROLL ANIMATION + BASE STYLES */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease forwards;
}

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

/* Optional delay for staggered effects */
section:nth-of-type(2) { animation-delay: 0.3s; }
section:nth-of-type(3) { animation-delay: 0.6s; }
section:nth-of-type(4) { animation-delay: 0.9s; }
section:nth-of-type(5) { animation-delay: 1.2s; }

/* Includes all previous dark mode and gradient theming */

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #121212;
  color: #f0f0f0;
  line-height: 1.6;
  padding: 20px;
}

h1, h2, h3 {
  font-weight: 700;
  color: #ffb8ec;
  margin-bottom: 12px;
}

a {
  color: #a2d2ff;
  text-decoration: none;
}

a:hover {
  color: #ffb8ec;
}

header.hero {
  text-align: center;
  padding: 60px 20px 40px;
  background: linear-gradient(145deg, #1e1e1e, #161616);
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 0 40px rgba(255, 184, 236, 0.2);
}

header.hero h1 {
  font-size: 3rem;
}

.tagline {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 20px auto;
  color: #ccc;
}

.cta-buttons {
  margin-top: 25px;
}

.cta-buttons a {
  background: linear-gradient(to right, #a2d2ff, #ffb8ec);
  color: #121212;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  margin: 0 10px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.cta-buttons a:hover {
  transform: scale(1.05);
}

section {
  margin: 60px 0;
  padding: 0 10px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

section h2 {
  font-size: 2rem;
  background: linear-gradient(to right, #a2d2ff, #ffb8ec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

section ul {
  list-style-type: square;
  padding-left: 20px;
  color: #ccc;
}

section p {
  margin-bottom: 16px;
  color: #ccc;
}

blockquote {
  border-left: 4px solid #ffb8ec;
  padding-left: 15px;
  color: #aaa;
  font-style: italic;
  margin-top: 20px;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.badge-grid span {
  background-color: #1f1f1f;
  padding: 8px 10px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #333;
}

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

.project-card {
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 0 10px rgba(255, 184, 236, 0.05);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 184, 236, 0.15);
}

.project-card h3 {
  color: #ffb8ec;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.project-card p {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.stack {
  display: inline-block;
  background: #333;
  color: #aaa;
  font-size: 0.8rem;
  padding: 5px 8px;
  border-radius: 5px;
}

.contact ul {
  list-style: none;
  padding-left: 0;
}

.contact li {
  margin-bottom: 8px;
  font-size: 1rem;
}

footer {
  text-align: center;
  padding: 30px 10px;
  margin-top: 60px;
  font-size: 0.95rem;
  color: #888;
  border-top: 1px solid #2c2c2c;
}

@media screen and (max-width: 600px) {
  header.hero h1 {
    font-size: 2.2rem;
  }

  .cta-buttons a {
    display: block;
    margin: 10px auto;
    width: 80%;
  }
}
