/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* About Me */

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.about-me {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin: 20px 100px 80px 100px;
  padding: 100px;
  background: #181818;
  border: 1px solid #333;
  border-radius: 10px;
}

.about-image img {
  max-width: 260px;
  border-radius: 12px;
  border: 2px solid #444;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease-in-out;
}

.about-image img:hover {
  border-color: var(--accent);
  box-shadow: var(--neon-glow);
  animation: pulseGlow 3s infinite ease-in-out;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #ddd;
}

/* Profile Card */
.profile-card {
  background: #1f1f1f;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  align-items: center;
  max-width: 280px;
  border: 1px solid #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #444;
  transition: all 0.3s ease;
}

.profile-img:hover {
  border-color: var(--accent);
  box-shadow: var(--neon-glow);
}

.profile-card h3 {
  margin: 10px 0;
  color: var(--accent);
}

.profile-card p {
  margin: 8px 0;
  color: #ccc;
  font-size: 0.95rem;
  text-align: left;
}

.profile-card i {
  margin-right: 6px;
  color: var(--accent);
}

/* Social Links */
.social-links {
  margin-top: 12px;
}

.social-links a {
  color: #ccc;
  font-size: 1.3rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-links h4 {
  color: var(--accent);
}

/* Skills */
.skills {
  margin: 10px 100px 80px 100px;
  padding: 60px 8%;
  background: #1c1c1c;
  text-align: center;
  border: 1px solid #333;
  border-radius: 10px;
}

.skills h2 {
  color: var(--accent);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.skill {
  background: #222;
  border: 1px solid #444;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.skill:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--neon-glow);
  border-color: var(--accent);
  animation: pulseGlow 2s infinite ease-in-out;
}

.skill img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.skill p {
  font-weight: bold;
  color: #e0e0e0;
}