.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-name {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #d1d5db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .hero-name {
    font-size: 4.5rem;
  }
}

.hero-tagline {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 1.5rem;
  }
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.social-link {
  color: #d1d5db;
  transition: color 0.2s;
}

.social-link:hover {
  color: #fff;
}

.social-icon {
  width: 2rem;
  height: 2rem;
}

.projects-heading,
.experience-heading,
.certifications-heading {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  text-align: center;
}

.projects-description,
.certifications-description {
  color: #9ca3af;
  text-align: center;
  margin-bottom: 3rem;
}

#projects-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  justify-items: center;
}

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

@media (min-width: 1024px) {
  #projects-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.loading-message,
.error-message {
  grid-column: 1 / -1;
  text-align: center;
  color: #9ca3af;
}

.error-hint {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.project-card {
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s;
  width: 100%;
  max-width: 24rem;
}

.project-card:hover {
  border-color: #3b82f6;
  transform: scale(1.05);
}

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.project-name {
  font-size: 1.25rem;
  font-weight: bold;
}

.project-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fbbf24;
}

.star-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.star-count {
  font-size: 0.875rem;
  font-weight: 600;
}

.project-description {
  color: #9ca3af;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-language {
  font-size: 0.875rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #3b82f6;
}

.project-link {
  color: #60a5fa;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}

.project-link:hover {
  color: #93c5fd;
}

.external-icon {
  width: 1rem;
  height: 1rem;
}

.experience-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.experience-item {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid #3b82f6;
}

.experience-dot {
  position: absolute;
  width: 1rem;
  height: 1rem;
  background-color: #3b82f6;
  border-radius: 50%;
  left: -0.5625rem;
  top: 0;
}

.experience-period {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

.experience-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.experience-company {
  color: #60a5fa;
  margin-bottom: 0.75rem;
}

.experience-description {
  color: #9ca3af;
}

.certifications-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(to right, #2563eb, #1d4ed8);
  border-radius: 0.5rem;
  transition: all 0.2s;
  font-size: 1.125rem;
  font-weight: 600;
}

.certifications-button:hover {
  background: linear-gradient(to right, #1d4ed8, #1e40af);
  transform: scale(1.02);
}

.certifications-button svg {
  width: 1.5rem;
  height: 1.5rem;
}

.certifications-button .external-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-text {
  color: #9ca3af;
}
