/* --- Global --- */
    body { font-family: 'Poppins', sans-serif; background-color: #f9f9f9; color: #333; }

    /* 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;
      padding: 1.5rem 0;
    }
    .navbar-brand {
  position: relative;
}

.logo {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
 
}

.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 */
}

/* Logos stacked */
.logo {
  max-height: 80px;
  width: auto;
  transition: opacity 0.4s ease;
  pointer-events: none; /* Allow clicks to pass through */
}

/* 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); }


.logo {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
 
}

.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 */
}

/* Logos stacked */
.logo {
  max-height: 80px;
  width: auto;
  transition: opacity 0.4s ease;
  pointer-events: none; /* Allow clicks to pass through */
}

/* 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 --- */
    .hero {
      position: relative;
      height: 60vh;
      background: url('categories.jpg') center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-align: center;
    }
    .hero::after { content: ""; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.55); z-index:1; }
    .hero-content { position: relative; z-index:2; }
    .hero h1 { font-size: 3rem; font-weight: 700; }

    /* --- Membership Category Cards --- */
    .program-card {
      background: #fff;
      border-radius: 15px;
      padding: 25px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .program-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
    .program-card img {
      border-radius: 10px;
      margin-bottom: 15px;
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .program-card h5 { font-weight: 700; color: #002147; margin-bottom: 10px; }
    .program-card p { font-size: 0.95rem; color: #555; flex-grow: 1; text-align: justify; }
    .btn-join {
      background-color: #FFD700;
      border: none;
      border-radius: 30px;
      padding: 8px 20px;
      color: #000;
      transition: 0.3s;
      align-self: flex-start;
      margin-top: auto;
    }
    .btn-join:hover { background-color: #e6c200; }

    /* --- Package Cards --- */
    .package-card {
      border-radius: 15px;
      padding: 25px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
      height: 100%;
      display:flex;
      flex-direction:column;
      justify-content:space-between;
      text-align: center;
    }
    .package-card h3 { font-weight:700; margin-bottom:6px; }
    .package-card h4 { font-weight:600; margin-bottom:14px; }
    .package-card ul { list-style:none; padding:0; margin:0; text-align:left; }
    .package-card ul li { padding-left:20px; margin-bottom:10px; position:relative; color:#444; }
    .package-card ul li::before { content: "✔"; position:absolute; left:0; color:#FFD700; }

    /* --- Color Accents --- */
    .package-silver {
      border-top: 6px solid #C0C0C0;
      background: linear-gradient(to bottom right, #f8f8f8, #ffffff);
    }
    .package-gold {
      border-top: 6px solid #FFD700;
      background: linear-gradient(to bottom right, #fff6cc, #ffffff);
    }
    .package-platinum {
      border-top: 6px solid #E5E4E2;
      background: linear-gradient(to bottom right, #f4f4f4, #ffffff);
    }
    .package-partner {
      border-top: 6px solid #44B64A 
;
      background: linear-gradient(to bottom right, #eef3ff, #ffffff);
    }
.form-step { display: none; }
.form-step.active { display: block; }

    footer { background: #44B64A; color: white; text-align: center; padding: 20px; margin-top: 60px; }

    /* dropdown animations */
    .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); }
    .partner-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}
.partner-card:hover {
  background:  #2EC2DF 
;
  color: #fff;
  transform: translateY(-5px);
}
.partner-card i {
  transition: color 0.3s ease;
}
.partner-card:hover i {
  color: #ffc107;
}
@media print {
  body * { visibility: hidden; }
  #summaryBox, #summaryBox * { visibility: visible; }
  #summaryBox { position: absolute; top: 10px; left: 10px; }
}
