/* ============================================================
   WELGROW SELF HELP GROUP - Main Stylesheet
   Theme: Community | Trust | Transparency
   ============================================================ */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --primary:    #0B5ED7;
  --primary-dark: #0a4db8;
  --secondary:  #198754;
  --accent:     #FFC107;
  --accent-dark:#e0a800;
  --bg:         #F8F9FA;
  --text:       #212529;
  --text-light: #6c757d;
  --white:      #ffffff;
  --dark:       #1a1a2e;
  --card-shadow: 0 8px 32px rgba(11,94,215,0.10);
  --radius:     12px;
  --transition: all 0.35s cubic-bezier(.4,0,.2,1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loading-screen {
  position: fixed; inset: 0;
  background: #000000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; }
.loader-logo { width: 90px; margin-bottom: 24px; animation: pulse 1.2s ease-in-out infinite; }
.loader-bar {
  width: 200px; height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px; overflow: hidden;
}
.loader-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 2px;
  animation: loading 1.8s ease forwards;
}
@keyframes loading { to { width: 100%; } }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.06);opacity:.85} }

/* ============================================================
   TOP CONTACT BAR
   ============================================================ */
.top-bar {
  background: var(--dark);
  color: #cdd6f4;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 2px solid var(--primary);
}
.top-bar a { color: #cdd6f4; }
.top-bar a:hover { color: var(--accent); }
.top-bar .btn-sm {
  font-size: 0.78rem;
  padding: 3px 14px;
  border-radius: 20px;
  font-weight: 600;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: var(--white) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 6px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.navbar-brand img { height: 52px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-text .name {
  font-size: 1.1rem; font-weight: 800;
  color: var(--primary); letter-spacing: 0.5px;
}
.brand-text .tagline {
  font-size: 0.62rem; color: var(--text-light);
  font-style: italic; font-weight: 400;
}
.navbar-nav .nav-link {
  font-weight: 500; font-size: 0.9rem;
  color: var(--text) !important;
  padding: 8px 14px !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: ''; position: absolute;
  bottom: 2px; left: 14px; right: 14px; height: 2px;
  background: var(--primary);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.3s ease;
  border-radius: 2px;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary) !important; }
.navbar-toggler { border: none; outline: none; }
.navbar-toggler:focus { box-shadow: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); border: none;
  padding: 11px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
  position: relative; overflow: hidden;
  transition: var(--transition);
  display: inline-block;
}
.btn-primary-custom::after {
  content: ''; position: absolute;
  inset: 0; background: rgba(255,255,255,0);
  transition: background 0.3s;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,94,215,0.35);
  color: var(--white);
}
.btn-secondary-custom {
  background: linear-gradient(135deg, var(--secondary), #14704a);
  color: var(--white); border: none;
  padding: 11px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
}
.btn-secondary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(25,135,84,0.35);
  color: var(--white);
}
.btn-accent-custom {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--dark); border: none;
  padding: 13px 36px; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  transition: var(--transition);
  display: inline-block;
}
.btn-accent-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255,193,7,0.45);
  color: var(--dark);
}
.btn-outline-custom {
  background: transparent;
  color: var(--white); border: 2px solid var(--white);
  padding: 11px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
}
.btn-outline-custom:hover {
  background: var(--white); color: var(--primary);
  transform: translateY(-2px);
}

/* Ripple effect */
.btn-primary-custom, .btn-secondary-custom, .btn-accent-custom, .btn-outline-custom {
  cursor: pointer;
}
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0); animation: ripple-anim 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 5px 18px; border-radius: 50px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--dark);
  line-height: 1.25;
}
.section-title span { color: var(--primary); }
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 14px auto 0; border-radius: 2px;
}
.section-subtitle {
  font-size: 0.95rem; color: var(--text-light);
  margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider { margin-top: 0; position: relative; }
.carousel-item { height: 100vh; min-height: 560px; max-height: 800px; }
.carousel-item img {
  width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.45);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,94,215,0.55) 0%, rgba(26,26,46,0.75) 100%);
}
.carousel-caption {
  position: absolute; inset: 0;
  display: flex !important; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 20px;
}
.carousel-caption .eyebrow {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 5px 18px; border-radius: 50px;
  margin-bottom: 18px; opacity: 0;
  animation: fadeInDown 0.7s 0.2s forwards;
}
.carousel-caption h1, .carousel-caption h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900; color: var(--white);
  line-height: 1.15; margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  opacity: 0; animation: fadeInUp 0.7s 0.4s forwards;
}
.carousel-caption p {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  max-width: 600px; margin: 0 auto 28px;
  opacity: 0; animation: fadeInUp 0.7s 0.6s forwards;
}
.carousel-caption .hero-btns {
  opacity: 0; animation: fadeInUp 0.7s 0.8s forwards;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.carousel-control-prev, .carousel-control-next {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%; top: 50%; transform: translateY(-50%);
  border: 2px solid rgba(255,255,255,0.3);
  margin: 0 16px;
  transition: var(--transition);
}
.carousel-control-prev:hover, .carousel-control-next:hover {
  background: var(--accent); border-color: var(--accent);
}
.carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5); border: none; margin: 0 4px;
  transition: var(--transition);
}
.carousel-indicators .active {
  background: var(--accent); width: 28px; border-radius: 5px;
}

@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: 90px 0; background: var(--white); }
.about-img-wrap {
  position: relative; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--card-shadow);
}
.about-img-wrap img { width: 100%; height: 430px; object-fit: cover; }
.about-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--primary);
  color: var(--white); border-radius: var(--radius);
  padding: 14px 20px; text-align: center;
  box-shadow: 0 8px 24px rgba(11,94,215,0.3);
}
.about-badge .num { font-size: 2rem; font-weight: 900; line-height: 1; }
.about-badge .label { font-size: 0.75rem; font-weight: 500; opacity: 0.9; }
.about-content { padding-left: 20px; }
.about-content p { color: var(--text-light); margin-bottom: 14px; }
.about-feature {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px; background: var(--bg);
  border-radius: var(--radius); margin-bottom: 12px;
  border-left: 4px solid var(--primary);
}
.about-feature .icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { padding: 90px 0; background: linear-gradient(135deg, #f0f4ff 0%, #e8f5e9 100%); }
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px; text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%; position: relative; overflow: hidden;
}
.step-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0; transition: var(--transition);
}
.step-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(11,94,215,0.18); }
.step-card:hover::before { opacity: 1; }
.step-card:hover .step-icon,
.step-card:hover h5,
.step-card:hover p { color: var(--white) !important; }
.step-card:hover .step-icon { background: rgba(255,255,255,0.2); color: var(--white); }
.step-num {
  position: absolute; top: 14px; right: 18px;
  font-size: 3.5rem; font-weight: 900;
  color: rgba(11,94,215,0.06);
  line-height: 1;
  transition: var(--transition);
}
.step-card:hover .step-num { color: rgba(255,255,255,0.15); }
.step-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(11,94,215,0.1), rgba(25,135,84,0.1));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--primary);
  margin: 0 auto 20px; transition: var(--transition);
  position: relative; z-index: 1;
}
.step-card h5 { font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; transition: var(--transition); }
.step-card p { font-size: 0.88rem; color: var(--text-light); position: relative; z-index: 1; transition: var(--transition); }

/* ============================================================
   DEATH BENEFIT SECTION
   ============================================================ */
.death-benefit {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--dark) 0%, #0d2447 100%);
  position: relative; overflow: hidden;
}
.death-benefit::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.benefit-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 36px;
  color: var(--white); position: relative; z-index: 1;
}
.benefit-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 16px; }
.benefit-card p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.benefit-icon-wrap {
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.benefit-icon-wrap img { width: 100%; max-width: 380px; opacity: 0.92; }
.benefit-highlight {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,193,7,0.1); border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 14px 18px; margin-top: 20px;
}
.benefit-highlight i { color: var(--accent); font-size: 1.4rem; flex-shrink: 0; }
.benefit-highlight p { margin: 0; color: rgba(255,255,255,0.9); font-size: 0.88rem; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-choose { padding: 90px 0; background: var(--white); }
.feature-box {
  background: var(--bg); border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
  border: 2px solid transparent;
  transition: var(--transition); height: 100%;
}
.feature-box:hover {
  border-color: var(--primary);
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
}
.feature-box .icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(11,94,215,0.12), rgba(25,135,84,0.12));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--primary);
  margin: 0 auto 16px; transition: var(--transition);
}
.feature-box:hover .icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
}
.feature-box h6 { font-weight: 700; margin-bottom: 8px; font-size: 0.95rem; }
.feature-box p { font-size: 0.83rem; color: var(--text-light); margin: 0; }

/* ============================================================
   VISION & MISSION
   ============================================================ */
.vision-mission { padding: 90px 0; background: linear-gradient(135deg, #f0f4ff 0%, #e8f5e9 100%); }
.vm-card {
  border-radius: var(--radius); padding: 40px 32px;
  height: 100%; color: var(--white);
  position: relative; overflow: hidden;
}
.vm-card.vision { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.vm-card.mission { background: linear-gradient(135deg, var(--secondary), #14704a); }
.vm-card::before {
  content: ''; position: absolute; bottom: -30px; right: -30px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,0.08); border-radius: 50%;
}
.vm-card .vm-icon { font-size: 3rem; margin-bottom: 20px; }
.vm-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; }
.vm-card p { opacity: 0.9; font-size: 0.92rem; }
.vm-card ul { padding-left: 0; }
.vm-card ul li { padding: 6px 0; font-size: 0.88rem; opacity: 0.9; display: flex; align-items: flex-start; gap: 8px; }
.vm-card ul li i { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* ============================================================
   STATS COUNTER
   ============================================================ */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpolygon points='50 0 60 40 100 40 70 60 80 100 50 75 20 100 30 60 0 40 40 40'/%3E%3C/g%3E%3C/svg%3E");
}
.stat-item { text-align: center; position: relative; z-index: 1; }
.stat-num {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900; color: var(--accent);
  line-height: 1; font-family: 'Poppins', sans-serif;
}
.stat-label {
  font-size: 0.9rem; color: rgba(255,255,255,0.85);
  font-weight: 500; margin-top: 8px;
}
.stat-divider {
  width: 1px; height: 80px;
  background: rgba(255,255,255,0.15);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 90px 0; background: var(--white); }
.testimonial-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 32px; margin: 10px;
  box-shadow: var(--card-shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"'; font-size: 5rem; font-weight: 900;
  color: var(--primary); opacity: 0.12;
  position: absolute; top: 8px; left: 20px; line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-text { font-size: 0.92rem; color: var(--text); font-style: italic; margin-bottom: 20px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--primary);
}
.author-name { font-weight: 700; font-size: 0.9rem; margin: 0; }
.author-location { font-size: 0.78rem; color: var(--text-light); }
.stars { color: var(--accent); font-size: 0.8rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #14704a 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.07) 0%, transparent 60%);
}
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: var(--white); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 32px; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(11,94,215,0.05), rgba(25,135,84,0.05));
  border-top: 1px solid rgba(11,94,215,0.1);
  border-bottom: 1px solid rgba(11,94,215,0.1);
}
.newsletter-form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 12px 20px; border-radius: 50px;
  border: 2px solid rgba(11,94,215,0.2);
  font-family: 'Poppins', sans-serif; font-size: 0.9rem;
  outline: none; transition: var(--transition);
}
.newsletter-form input:focus { border-color: var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding-top: 70px;
}
.footer-brand img { height: 56px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; opacity: 0.75; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08); border-radius: 50%;
  color: var(--white); font-size: 0.95rem;
  transition: var(--transition); margin-right: 8px;
}
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); }
footer h6 {
  color: var(--white); font-weight: 700; font-size: 0.88rem;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 2px solid var(--primary);
  display: inline-block;
}
footer ul li { margin-bottom: 10px; }
footer ul li a {
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
  display: flex; align-items: center; gap: 8px;
}
footer ul li a:hover { color: var(--accent); padding-left: 4px; }
footer ul li a i { font-size: 0.7rem; color: var(--primary); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.85rem; }
.footer-contact-item i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  padding: 18px 0; margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem; text-align: center;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   PAGE BANNER
   ============================================================ */
.page-banner {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='4'/%3E%3C/g%3E%3C/svg%3E");
}
.page-banner h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: var(--white); position: relative; z-index: 1; }
.page-banner .breadcrumb { background: transparent; justify-content: center; position: relative; z-index: 1; }
.page-banner .breadcrumb-item { color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.page-banner .breadcrumb-item a { color: var(--accent); }
.page-banner .breadcrumb-item.active { color: rgba(255,255,255,0.85); }
.page-banner .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.history-section, .objectives-section, .values-section { padding: 80px 0; }
.history-section { background: var(--white); }
.objectives-section { background: var(--bg); }
.values-section { background: var(--white); }
.core-value-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 26px 20px; text-align: center;
  border-top: 4px solid var(--primary);
  transition: var(--transition); height: 100%;
}
.core-value-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow); background: var(--white); }
.core-value-card i { font-size: 2.2rem; color: var(--primary); margin-bottom: 14px; display: block; }
.core-value-card h6 { font-weight: 700; margin-bottom: 8px; }
.core-value-card p { font-size: 0.83rem; color: var(--text-light); margin: 0; }

/* Timeline */
.timeline { position: relative; padding: 80px 0; background: linear-gradient(135deg, #f0f4ff, #e8f5e9); }
.timeline::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
}
.timeline-item { position: relative; margin-bottom: 48px; }
.timeline-content {
  background: var(--white); border-radius: var(--radius);
  padding: 24px 28px; box-shadow: var(--card-shadow);
  position: relative; width: 45%;
}
.timeline-item:nth-child(odd) .timeline-content { margin-left: auto; }
.timeline-item:nth-child(even) .timeline-content { margin-right: auto; }
.timeline-dot {
  width: 20px; height: 20px;
  background: var(--accent); border: 4px solid var(--primary);
  border-radius: 50%; position: absolute;
  left: 50%; top: 28px; transform: translateX(-50%);
}
.timeline-year {
  display: inline-block;
  background: var(--primary); color: var(--white);
  font-size: 0.78rem; font-weight: 700;
  padding: 3px 12px; border-radius: 20px; margin-bottom: 8px;
}
.timeline-content h6 { font-weight: 700; margin-bottom: 6px; }
.timeline-content p { font-size: 0.85rem; color: var(--text-light); margin: 0; }

/* Team */
.team-section { padding: 80px 0; background: var(--white); }
.team-card {
  background: var(--bg); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition); text-align: center;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow); }
.team-card img { width: 100%; height: 240px; object-fit: cover; }
.team-card-body { padding: 20px 16px; }
.team-card h6 { font-weight: 700; margin-bottom: 4px; }
.team-card p { font-size: 0.82rem; color: var(--primary); font-weight: 500; margin-bottom: 12px; }
.team-social a { color: var(--text-light); margin: 0 4px; font-size: 0.9rem; }
.team-social a:hover { color: var(--primary); }

/* ============================================================
   MEMBERSHIP PAGE
   ============================================================ */
.eligibility-section, .registration-section, .rules-section { padding: 80px 0; }
.eligibility-section { background: var(--white); }
.registration-section { background: var(--bg); }
.rules-section { background: var(--white); }
.eligibility-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 22px; display: flex; align-items: flex-start; gap: 16px;
  transition: var(--transition); border-left: 4px solid var(--primary);
  margin-bottom: 14px;
}
.eligibility-card:hover { background: var(--white); box-shadow: var(--card-shadow); transform: translateX(4px); }
.eligibility-card .icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem; flex-shrink: 0;
}
.step-process {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 20px; background: var(--white);
  border-radius: var(--radius); margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.step-circle {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; flex-shrink: 0;
}
.doc-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid rgba(11,94,215,0.15);
  border-radius: 8px; padding: 10px 16px;
  font-size: 0.85rem; margin: 5px; color: var(--text);
}
.doc-badge i { color: var(--primary); }

/* ============================================================
   BENEFITS PAGE
   ============================================================ */
.benefits-hero { padding: 80px 0; background: var(--white); }
.benefit-big-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius); padding: 40px 32px;
  color: var(--white); height: 100%;
}
.benefit-list-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 28px; height: 100%; border-top: 4px solid var(--accent);
}
.benefit-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.benefit-item i { color: var(--secondary); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.disclaimer-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #fff3cd, #ffeeba);
  border-top: 4px solid var(--accent);
}
.disclaimer-box {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border-left: 6px solid var(--accent);
}
.disclaimer-box h4 { color: #856404; font-weight: 800; }
.disclaimer-box p { color: #664d03; }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-section { padding: 80px 0; }
.accordion-item {
  border: none; border-radius: var(--radius) !important;
  margin-bottom: 12px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.accordion-button {
  font-weight: 600; font-size: 0.95rem;
  color: var(--text); background: var(--white);
  padding: 18px 24px;
}
.accordion-button:not(.collapsed) {
  color: var(--primary); background: rgba(11,94,215,0.05);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(11,94,215,0.15); }
.accordion-button::after { filter: none; }
.accordion-button:not(.collapsed)::after { filter: invert(27%) sepia(97%) saturate(710%) hue-rotate(191deg); }
.accordion-body { font-size: 0.9rem; color: var(--text-light); padding: 16px 24px 22px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 80px 0; }
.contact-form-wrap {
  background: var(--white); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--card-shadow);
}
.form-group { margin-bottom: 20px; }
.form-label { font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--text); }
.form-control {
  padding: 12px 18px; border-radius: 10px;
  border: 2px solid #e0e7ef; font-family: 'Poppins', sans-serif;
  font-size: 0.9rem; transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11,94,215,0.1);
}
.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  border-radius: var(--radius); padding: 36px; color: var(--white); height: 100%;
}
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-info-item .icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--accent); flex-shrink: 0;
}
.contact-info-item h6 { font-weight: 700; margin-bottom: 4px; font-size: 0.85rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }
.contact-info-item p { margin: 0; font-size: 0.9rem; }
.map-placeholder {
  background: linear-gradient(135deg, #e0e7ef, #f0f4ff);
  border-radius: var(--radius); height: 300px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 2px dashed rgba(11,94,215,0.2);
  margin-top: 24px;
}
.map-placeholder i { font-size: 3rem; color: var(--primary); margin-bottom: 12px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#backToTop {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 6px 20px rgba(11,94,215,0.35);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
}
#backToTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(11,94,215,0.5); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* Delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   PAGE TRANSITION
   ============================================================ */
.page-transition {
  position: fixed; inset: 0; z-index: 9998;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.8,0,.2,1);
}
.page-transition.entering { transform: translateX(0); }
.page-transition.leaving { transform: translateX(100%); }

/* ============================================================
   UTILITY
   ============================================================ */
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.bg-gradient-secondary { background: linear-gradient(135deg, var(--secondary), #14704a); }
.text-primary-custom { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.section-pad { padding: 90px 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .top-bar .d-flex { flex-wrap: wrap; gap: 6px; }
  .about-content { padding-left: 0; margin-top: 28px; }
  .timeline::before { left: 20px; }
  .timeline-content { width: 80%; margin-left: 50px !important; }
  .timeline-dot { left: 20px; transform: translateX(-50%); }
  .stat-divider { display: none; }
}
@media (max-width: 767px) {
  .carousel-item { height: 70vh; min-height: 420px; }
  .carousel-control-prev, .carousel-control-next { display: none; }
  .newsletter-form { flex-direction: column; }
  .hero-btns { flex-direction: column; }
  .section-pad { padding: 60px 0; }
}
@media (max-width: 575px) {
  .top-bar { display: none; }
  .page-banner { padding: 80px 0 40px; }
}
