/* General Reset */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #282c34, #20232a); /* Updated theme */
  color: #ffffff;
  height: 100%;
  overflow: hidden; /* Disables scrolling */
}

/* Particles.js Background */
#particles-js, .background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Keep particles behind content */
  pointer-events: none; /* Non-interactive particles */
}

/* Main Container */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 2rem;
  position: relative; /* Ensures content sits above particles */
  z-index: 2;
}

/* Header Styles */
header {
  width: 100%;
  max-width: 750px;
  padding: 2.5rem;
  box-sizing: border-box;
  background: rgba(28, 37, 47, 0.95); /* Semi-transparent dark block */
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border for elegance */
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(50px);
  animation: slideIn 0.8s ease-out forwards;
}

/* Intro Text Styling */
.intro h1 {
  font-size: 1.8rem;
  color: #ffcc5c; /* Warm gold for main heading */
  margin-bottom: 0.8rem;
  font-weight: 600;
  opacity: 0;
  animation: fadeIn 1.5s ease-out forwards;
}

.intro h2 {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #ffffff; /* Pure white for clarity */
  text-transform: none;
  opacity: 0;
  animation: fadeIn 1.5s ease-out 0.5s forwards;
}

.intro p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: #b0b0b0; /* Muted gray for readability */
  opacity: 0;
  animation: fadeIn 1.5s ease-out 1s forwards;
}

/* Highlights */
.highlight {
  color: #58a6ff; /* Teal for accents */
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.highlight:hover {
  color: #ff6f61;
  text-shadow: 0px 0px 5px #ff6f61;
}

/* Action Links */
.action-link {
  display: inline-block;
  margin: 1rem 0.5rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #ff6f61, #f9a825); /* Vibrant gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.action-link:hover {
  background: linear-gradient(135deg, #f9a825, #ff6f61); /* Reversed gradient for hover */
  transform: scale(1.05); /* Slight zoom effect */
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  header {
    padding: 1.5rem;
    max-width: 100%;
  }

  .intro h1 {
    font-size: 1.5rem;
  }

  .intro h2 {
    font-size: 2.3rem;
  }

  .intro p {
    font-size: 1rem;
  }

  .highlight {
    font-size: 1rem;
  }

  .action-link {
    font-size: 1rem;
  }
/* CV Section Text */
.cv-text {
  font-size: 1.2rem;
  color: #c9c9c9; /* Softer gray for text */
  margin-top: 1.5rem;
}

/* Inline Highlight for "here" */
.cv-text .highlight {
  color: #6dcff6; /* Bright blue highlight */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.cv-text .highlight:hover {
  color: #ff6f61;
  text-shadow: 0px 0px 5px #ff6f61; /* Glowing effect */
}

/* CV Button */
.action-link {
  display: inline-block;
  margin: 1rem 0.5rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #ff6f61, #f9a825); /* Vibrant gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px; /* Rounded button */
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Drop shadow for depth */
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-link:hover {
  background: linear-gradient(135deg, #f9a825, #ff6f61); /* Reverse gradient */
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4); /* Stronger shadow */
  transform: translateY(-3px); /* Lift effect */
}

/* Ripple Effect for Button */
.action-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
}

.action-link:hover::before {
  width: 300%;
  height: 300%;
  opacity: 0; /* Ripple fades out as it expands */
}

}
