/* ====== NAVIGATION ====== */
nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.2rem;
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(10, 59, 46, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
}

nav a {
  text-decoration: none;
  color: #FAFAF7;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  display: block;
  height: 2px;
  background: #8A9A5B;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

nav a:hover::after {
  transform: scaleX(1);
}

nav a.active {
  color: #8A9A5B;
  font-weight: 600;
}

/* Intro Section - Matches existing dark gradient site theme */
.intro {
  padding-top: 7rem; /* added to push content below navbar */
}

.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 0 8%;
  background: linear-gradient(135deg, #111827 0%, #1f2d2b 60%, #243c3b 100%);
  color: #F8F7F4;
  gap: 3rem;
  overflow: hidden;
}

.intro-text {
  flex: 1;
  max-width: 50%;
  animation: fadeInLeft 1.2s ease forwards;
}

.intro-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: #E4E9E3;
  font-family: 'Poppins', sans-serif;
}

.wave {
  animation: wave-animation 2s infinite;
  display: inline-block;
  transform-origin: 70% 70%;
}

@keyframes wave-animation {
  0%, 60%, 100% { transform: rotate(0deg); }
  30% { transform: rotate(14deg); }
}

.subtitle {
  font-size: 1.15rem;
  font-family: 'Lora', serif;
  line-height: 1.75;
  color: #CFCFCF;
  margin-bottom: 1.8rem;
  max-width: 95%;
}

.cta-btn {
  background: #00f7b6;
  color: #111827;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
  background: #17ffc4;
  transform: translateY(-3px);
}

/* Profile Image Styling */
.intro-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1.2s ease forwards;
}

.intro-image img {
  width: 360px;
  height: 360px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.08);
  border: 3px solid rgba(99, 255, 205, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.intro-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 70px rgba(99, 255, 205, 0.4);
}

/* Responsive Layout */
@media (max-width: 900px) {
  .intro {
    flex-direction: column-reverse;
    text-align: center;
    padding: 4rem 2rem;
  }

  .intro-text {
    max-width: 100%;
  }

  .intro-image img {
    width: 280px;
    height: 280px;
    margin-bottom: 2rem;
  }
}

/* Fade Animations */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}


