 body {
      font-family: 'Poppins', sans-serif;
      background: #f9f9f9;
    }
        /* Navbar */
    .navbar {
      transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
      background: transparent !important;
      position: absolute;
      width: 100%;
      z-index: 10;
   margin-top: 0.8px;
      padding: 1.5rem 0;

    }
    .navbar-brand {
  position: relative;
}

.logo {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
 padding-top: 10px;
}

.logo-top {
  opacity: 1;
}

.logo-scroll {
  opacity: 0;
}

.navbar.scrolled .logo-top {
  opacity: 0;
}

.navbar.scrolled .logo-scroll {
  opacity: 1;
}
/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 1000; /* High z-index so toggler is clickable */
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
   
}

/* Logo container */
.navbar-brand {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 10; /* Make sure logos are above navbar background but below toggler */
}
.form-step {
  display: none;
  opacity: 0;
  transition: opacity .4s ease-in-out;
}
.form-step.active {
  display: block;
  opacity: 1;
}

input:invalid, select:invalid, textarea:invalid {
  border: 2px solid #dc3545 !important;
}

.progress-bar {
  background: #e6c200 !important;
}

/* Logos stacked */
.logo {
  max-height: 80px;
  width: auto;
  transition: opacity 0.4s ease;
  pointer-events: none; /* Allow clicks to pass through */
 
}
/* Dropdown menu styling */
    .dropdown-menu a { color: black; 
   
    }
    .dropdown-menu a:hover { background-color: #f8f9fa; }
       /* Dropdown hover animation */
    .dropdown-menu {
      display: none;
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.3s ease;
      border-radius: 10px;
    }
    .nav-item:hover .dropdown-menu {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }

/* Opacity swap on scroll */
.logo-top { opacity: 1; }
.logo-scroll { opacity: 0; }

.navbar.scrolled .logo-top { opacity: 0; }
.navbar.scrolled .logo-scroll { opacity: 1; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo { max-height: 50px; }
}

    .navbar.scrolled {
      position: fixed;
      background: #fff !important;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
    .navbar .nav-link { color: white; transition: color 0.3s; }
    .navbar.scrolled .nav-link { color: black !important; }
    .navbar-brand img { height: 80px; }
    .navbar-toggler-icon { filter: invert(1); }
    .navbar.scrolled .navbar-toggler-icon { filter: invert(0); }

    /* Hero Section */
    .hero {
      position: relative;
      height: 60vh;
      background: url(membership\ -\ Copy.jpg) center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
    }
    .hero::after {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
    }
    .hero-content {
      position: relative;
      z-index: 2;
    }
    .hero h1 {
      font-size: 3rem;
      font-weight: 700;
    }
    
    /* Form Section */
    .form-section {
      padding: 60px 20px;
    }
    /* === Yellow NEDC Animation Styles === */

/* Animated yellow glow around the form card */
.form-card {
  position: relative;
  animation: formGlow 4s ease-in-out infinite alternate;
}

/* Smooth pulsing glow animation */
@keyframes formGlow {
  0% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2),
                0 0 20px rgba(255, 215, 0, 0.1);
  }
  100% {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6),
                0 0 50px rgba(255, 215, 0, 0.3);
  }
}

/* Input focus animation with yellow border */
.form-control:focus, .form-select:focus {
  border-color: #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  transition: all 0.3s ease-in-out;
}

/* Animated yellow underline for section titles */
h5 span {
  position: relative;
}
h5 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 3px;
  width: 0;
  background: #FFD700;
  animation: underlineExpand 2s ease-in-out forwards;
}

@keyframes underlineExpand {
  from { width: 0; opacity: 0; }
  to { width: 100%; opacity: 1; }
}

/* Submit button glowing effect */
.btn-submit {
  background: linear-gradient(90deg, #FFD700, #ffea70);
  color: #000;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  transition: all 0.3s ease-in-out;
}
.btn-submit:hover {
  background: #e6c200;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  transform: scale(1.05);
}

/* Smooth fade-in animation for entire form */
.form-card {
  animation: fadeIn 1s ease-in-out, formGlow 4s ease-in-out infinite alternate;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

    .form-card {
      background: #fff;
      border-radius: 15px;
      padding: 40px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }
    .form-card h2 {
      margin-bottom: 20px;
      font-weight: bold;
      text-align: center;
    }
    .form-label {
      font-weight: 500;
    }
    .btn-submit {
      background: #FFD700;
      border: none;
      padding: 12px 30px;
      font-weight: 600;
      border-radius: 30px;
      color: #000;
      transition: 0.3s;
    }
    .btn-submit:hover {
      background: #e6c200;
    }

    /* Footer */
    footer {
      background: #000000;
      color: white;
      text-align: center;
      padding: 20px;
    }
    .yellow{
      background-color: #e6c200;
    }