/* =====================================================
   CFMY YOUTH PHILIPPINES — REDESIGN
   ===================================================== */

:root {
  --purple: #7C3AED;
  --purple-dark: #5B21B6;
  --purple-light: #A78BFA;
  --purple-pale: #EDE9FE;
  --pink: #EC4899;
  --pink-light: #F9A8D4;
  --orange: #F97316;
  --yellow: #FCD34D;
  --cyan: #06B6D4;
  --green: #10B981;
  --dark: #0D0B1E;
  --dark2: #130E2E;
  --white: #ffffff;
  --text: #1E1B4B;
  --muted: #6B7280;
  --surface: #ffffff;
  --border: rgba(124, 58, 237, 0.12);
  --radius: 24px;
  --radius-sm: 14px;
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }

body {
  font-family: 'Inter', sans-serif;
  background: #faf5ff;
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ===================== KEYFRAME ANIMATIONS ===================== */
@keyframes float-a {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(6deg); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-16px) rotate(-4deg); }
  66% { transform: translateY(10px) rotate(3deg); }
}
@keyframes float-c {
  0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
  25% { transform: translate(10px, -14px) rotate(4deg); }
  75% { transform: translate(-8px, 9px) rotate(-3deg); }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0) translateX(-50%); opacity: 1; }
  50% { transform: translateY(8px) translateX(-50%); opacity: 0.6; }
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(124, 58, 237, 0); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(44px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes reveal-right {
  from { opacity: 0; transform: translateX(-44px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes reveal-left {
  from { opacity: 0; transform: translateX(44px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes blob-move {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 70%; }
  33% { border-radius: 40% 60% 30% 70% / 70% 40% 60% 50%; }
  66% { border-radius: 70% 30% 50% 50% / 40% 70% 30% 60%; }
}
@keyframes slide-in-fade {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ===================== FLOATING PARALLAX LAYER (inside hero) ===================== */
.parallax-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.fi {
  position: absolute;
  will-change: transform;
  opacity: 0.55;
}
.fi svg {
  width: 100%;
  height: 100%;
  display: block;
}
.fi.sparkle { opacity: 0.7; }

/* ===================== DROPDOWN NAV ===================== */
.nav-item { position: relative; }

.dropdown-trigger {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.dropdown-trigger:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}
.dropdown-chevron {
  font-size: 0.6rem;
  display: inline-block;
  transition: transform 0.25s ease;
  opacity: 0.7;
}
.dropdown-parent.open .dropdown-chevron { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 210px;
  background: rgba(12, 9, 28, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 0.5rem;
  padding-top: 0.85rem; /* gap replaces top offset so cursor never leaves parent */
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  z-index: 200;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(124, 58, 237, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0.2s;
}
.dropdown-parent:hover .dropdown-menu,
.dropdown-parent.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.dropdown-item:hover {
  background: rgba(124, 58, 237, 0.2);
  color: #c4b5fd;
}
.di-icon { font-size: 1.05rem; line-height: 1; }

/* Mobile: inline expand */
.mobile-dropdown-body {
  display: none;
  flex-direction: column;
  padding: 0.25rem 0 0.25rem 1rem;
  gap: 0;
  border-left: 2px solid rgba(124, 58, 237, 0.3);
  margin: 0.25rem 1.5rem;
}
.mobile-dropdown-body.open { display: flex; }
.mobile-dropdown-body .dropdown-item {
  padding: 0.7rem 0.75rem;
  font-size: 0.92rem;
  border-bottom: none;
}

/* ===================== NAVIGATION ===================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 11, 30, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.topbar.scrolled {
  background: rgba(13, 11, 30, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 0 14px rgba(167, 139, 250, 0.75)) brightness(1.15);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.brand-logo:hover {
  filter: drop-shadow(0 0 24px rgba(236, 72, 153, 0.9)) brightness(1.25);
  transform: scale(1.05);
}
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  line-height: 1.1;
}
.brand-full {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.brand-short { display: none; }
.brand-sub {
  font-size: 0.72rem;
  color: var(--purple-light);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.btn-join {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  animation: pulse-badge 3s ease-in-out infinite;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
}
.btn-primary:hover { opacity: 0.92; }

.btn-glow {
  box-shadow: 0 6px 30px rgba(124, 58, 237, 0.45);
}
.btn-glow:hover {
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.65);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.full-width { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================== HERO ===================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(-45deg, #0D0B1E, #1E1035, #0F1540, #1A0B2E, #0D1B3E);
  background-size: 400% 400%;
  animation: gradient-shift 12s ease infinite;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13, 11, 30, 0.2) 0%,
    rgba(13, 11, 30, 0.5) 60%,
    rgba(13, 11, 30, 0.85) 100%
  );
  z-index: 2;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(236, 72, 153, 0.2) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
}

/* parallax-layer z-index: 5 — above mesh, below content */

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 6rem 1rem 4rem;
  animation: hero-fade-in 1s ease 0.3s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #c4b5fd;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 0.9;
  color: white;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 30%, #c4b5fd 60%, #f9a8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(167, 139, 250, 0.4));
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-tags {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}
.hero-tag:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateY(-2px);
}

.carousel-controls {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.carousel-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.08);
}
.carousel-dots {
  display: flex;
  gap: 0.5rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background: white;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.scroll-indicator {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
}
.scroll-arrow {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}
.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: bounce-arrow 2s ease-in-out infinite;
}

/* ===================== HERO LOGO WATERMARK ===================== */
.hero-logo-mark {
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  width: min(480px, 48vw);
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  animation: logo-mark-in 1.4s ease 0.8s forwards;
}
.hero-logo-mark img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(6) saturate(0.3) opacity(0.22)
          drop-shadow(0 0 40px rgba(167, 139, 250, 0.3));
}
@keyframes logo-mark-in {
  from { opacity: 0; transform: translateY(-48%) scale(0.9); }
  to   { opacity: 1; transform: translateY(-50%) scale(1); }
}

/* ===================== PARTNER LOGO ===================== */
.partner-logo-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 2.5rem;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(167, 139, 250, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow:
    0 0 0 8px rgba(124, 58, 237, 0.08),
    0 0 80px rgba(124, 58, 237, 0.45),
    0 0 160px rgba(236, 72, 153, 0.25);
  animation: logo-pulse 4s ease-in-out infinite;
}
.partner-logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 30px rgba(167, 139, 250, 1)) brightness(1.3);
}
@keyframes logo-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(124,58,237,0.08), 0 0 60px rgba(124,58,237,0.35), 0 0 120px rgba(236,72,153,0.2); }
  50%       { box-shadow: 0 0 0 10px rgba(124,58,237,0.04), 0 0 90px rgba(124,58,237,0.5), 0 0 180px rgba(236,72,153,0.3); }
}

/* ===================== CONNECT FORM LOGO HEADER ===================== */
.form-logo-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.form-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.75)) brightness(1.1);
}
.form-logo-header h3 {
  margin: 0 !important;
}

/* ===================== FOOTER LOGO ===================== */
.footer-logo {
  width: 70px;
  height: 70px;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 0 18px rgba(167, 139, 250, 0.8)) brightness(1.2);
}

/* ===================== COMMON SECTION STYLES ===================== */
.section { padding: 6rem 0; position: relative; }

.section-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-pale);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-tag.light {
  color: #e9d5ff;
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.white-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
}
.white-sub { color: rgba(255, 255, 255, 0.7); font-size: 1.05rem; }

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal-right {
  transform: translateX(-44px);
}
.reveal.in-view {
  opacity: 1;
  transform: translate(0);
}
.reveal[data-delay="150"] { transition-delay: 0.15s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }

/* ===================== GLOW CARD ===================== */
.glow-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.1),
    0 20px 60px rgba(124, 58, 237, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(236, 72, 153, 0.04));
  border-radius: inherit;
}
.glow-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
  position: relative;
}
.glow-card p {
  color: var(--muted);
  line-height: 1.65;
  position: relative;
  margin-bottom: 1.5rem;
}

/* ===================== TILT CARD INTERACTION ===================== */
.tilt-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  transform-style: preserve-3d;
}

/* ===================== ABOUT SECTION ===================== */
.about-section {
  background: #faf5ff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  margin-top: 0.75rem;
}
.about-text p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 500;
}
.check-icon {
  color: var(--purple);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  position: relative;
}
.mini-card {
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.mini-card .mini-icon { font-size: 1.5rem; margin-bottom: 0.2rem; }
.mini-card strong {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.mini-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; margin: 0; }

.mc-purple { background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(167, 139, 250, 0.06)); border: 1px solid rgba(124, 58, 237, 0.12); }
.mc-orange { background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(252, 211, 77, 0.06)); border: 1px solid rgba(249, 115, 22, 0.12); }
.mc-cyan { background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(103, 232, 249, 0.06)); border: 1px solid rgba(6, 182, 212, 0.12); }
.mc-green { background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(110, 231, 183, 0.06)); border: 1px solid rgba(16, 185, 129, 0.12); }

/* ===================== VALUES SECTION ===================== */
.values-section {
  background: linear-gradient(145deg, #1E1035 0%, #2D1A5E 40%, #1A1235 70%, #0D0B1E 100%);
  overflow: hidden;
}
.values-bg-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.values-blob {
  position: absolute;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 70%;
  animation: blob-move 10s ease-in-out infinite;
  filter: blur(60px);
}
.blob-1 {
  width: 500px; height: 500px;
  background: rgba(124, 58, 237, 0.25);
  top: -20%; left: -15%;
  animation-duration: 12s;
}
.blob-2 {
  width: 400px; height: 400px;
  background: rgba(236, 72, 153, 0.2);
  bottom: -15%; right: -10%;
  animation-duration: 9s;
  animation-direction: reverse;
}
.blob-3 {
  width: 300px; height: 300px;
  background: rgba(6, 182, 212, 0.15);
  top: 40%; left: 40%;
  animation-duration: 15s;
}

.values-section .section-header { position: relative; z-index: 1; }
.values-section .section-header h2 { color: white; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.value-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem 2.4rem;
  color: white;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.value-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
}

.featured-vc {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(249, 115, 22, 0.2);
}
.featured-vc:hover { transform: translateY(-14px); }

.vc-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  filter: blur(50px);
  top: -50px; right: -50px;
  pointer-events: none;
}
.vc-glow-purple { background: rgba(167, 139, 250, 0.3); }
.vc-glow-orange { background: rgba(249, 115, 22, 0.3); }
.vc-glow-cyan { background: rgba(6, 182, 212, 0.3); }

.value-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.vi-religion { background: rgba(192, 38, 211, 0.15); border: 1px solid rgba(240, 171, 252, 0.2); }
.vi-family { background: rgba(249, 115, 22, 0.15); border: 1px solid rgba(253, 186, 116, 0.2); }
.vi-service { background: rgba(5, 150, 105, 0.15); border: 1px solid rgba(110, 231, 183, 0.2); }

.value-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.85rem;
}
.vt-religion { background: rgba(192, 38, 211, 0.2); color: #f0abfc; }
.vt-family { background: rgba(249, 115, 22, 0.2); color: #fdba74; }
.vt-service { background: rgba(5, 150, 105, 0.2); color: #6ee7b7; }

.value-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
}
.value-card p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.value-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ===================== MISSION SECTION ===================== */
.mission-section { background: #faf5ff; }
.mission-section .section-header h2 { color: var(--text); }
.mission-section .section-header p { color: var(--muted); }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mission-card {
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mission-card:hover { transform: translateY(-6px); }

.mc-faith {
  background: linear-gradient(145deg, #1E1035, #2D1A5E);
  color: white;
  border: 1px solid rgba(167, 139, 250, 0.2);
}
.mc-family {
  background: linear-gradient(145deg, #1A0E00, #3D1A00);
  color: white;
  border: 1px solid rgba(249, 115, 22, 0.2);
}
.mc-future {
  background: linear-gradient(145deg, #001A1E, #00303D);
  color: white;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.mc-number {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.35;
  margin-bottom: 1rem;
}
.mc-emoji {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
}
.mission-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.mission-card p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  font-size: 0.95rem;
}

.mc-glow {
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  filter: blur(55px);
  bottom: -60px; right: -40px;
  pointer-events: none;
}
.mcg-faith { background: rgba(124, 58, 237, 0.5); }
.mcg-family { background: rgba(249, 115, 22, 0.5); }
.mcg-future { background: rgba(6, 182, 212, 0.5); }

/* ===================== EVENTS SECTION ===================== */
.events-section { background: white; }
.events-section .section-header h2 { color: var(--text); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.event-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
}

.event-header {
  padding: 1.8rem 1.8rem 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.eh-purple { background: linear-gradient(135deg, #4F1D96, #7C3AED); }
.eh-orange { background: linear-gradient(135deg, #92400E, #F97316); }
.eh-cyan { background: linear-gradient(135deg, #164E63, #06B6D4); }

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  backdrop-filter: blur(8px);
}
.ev-month {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
}
.ev-day {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  color: white;
}
.ev-type-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  align-self: flex-start;
}

.event-body {
  padding: 1.5rem 1.8rem 1.8rem;
}
.event-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.event-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.1rem;
}
.event-link {
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.ev-purple { color: var(--purple); }
.ev-orange { color: var(--orange); }
.ev-cyan { color: var(--cyan); }
.event-link:hover { opacity: 0.75; }

/* ===================== PARTNER SECTION ===================== */
.partner-section {
  background: linear-gradient(135deg, #0D0B1E 0%, #1E1035 50%, #0F1540 100%);
  overflow: hidden;
}
.partner-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.partner-bg-blob {
  position: absolute;
  width: 600px; height: 400px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.15));
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 70%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  animation: blob-move 15s ease-in-out infinite;
}

.partner-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.partner-icon-wrap {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}
.partner-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}
.partner-content p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ===================== CONNECT SECTION ===================== */
.connect-section { background: #faf5ff; }
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.connect-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  margin-top: 0.75rem;
}
.connect-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--purple-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-list strong {
  display: block;
  font-weight: 700;
  color: var(--text);
  font-size: 0.85rem;
}
.contact-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.social-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.sb-facebook {
  background: #1877f2;
  color: white;
}
.sb-instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}
.social-btn:hover { transform: translateY(-2px); opacity: 0.9; }

.connect-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.connect-form label span {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}
.connect-form input,
.connect-form textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(124, 58, 237, 0.15);
  background: #f5f0ff;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.connect-form input:focus,
.connect-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
  background: white;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.footer-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(124, 58, 237, 0.12), transparent 50%),
    radial-gradient(ellipse at 90% 50%, rgba(6, 182, 212, 0.08), transparent 50%);
  pointer-events: none;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.footer-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: white;
  font-size: 0.95rem;
}
.footer-brand small { color: rgba(255, 255, 255, 0.45); font-size: 0.78rem; }
.footer-copy { color: rgba(255, 255, 255, 0.4); font-size: 0.82rem; }
.footer-links { display: flex; gap: 1.2rem; }
.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--purple-light); }

/* ===== EXTENDED FOOTER (inner pages) ===== */
.footer-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}
.footer-loc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.25rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 110px;
}
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.2rem 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .values-grid, .mission-grid, .events-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .featured-vc { transform: translateY(0); }

  /* Brand name: collapse to abbreviation when nav gets crowded */
  .brand-full { display: none; }
  .brand-short { display: block; }

  /* Value cards: center icon, tag, text, pills when in single column */
  .value-card { text-align: center; }
  .value-icon-wrap { margin-left: auto; margin-right: auto; }
  .value-pills { justify-content: center; }

  /* Mission cards: center number, emoji, heading, text */
  .mission-card { text-align: center; }
}

@media (max-width: 900px) {
  .about-grid, .connect-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .fi { display: none; }

  /* About section: center heading, tag, paragraph when stacked */
  .about-text { text-align: center; }
  .feature-list { align-items: center; }

  /* Connect section: center heading and tag when stacked */
  .connect-text { text-align: center; }
  .contact-list { align-items: center; }
  .social-row { justify-content: center; }
}

/* ===================== MOBILE NAV — slide-down panel ===================== */
@media (max-width: 768px) {

  /* Compact topbar */
  .topbar-inner { padding: 0.65rem 0; }
  .brand-logo { width: 46px; height: 46px; }

  /* Hamburger always visible */
  .hamburger { display: flex; }
  .btn-join   { display: none; }

  /* Nav panel: always in DOM, hidden above the topbar via transform */
  .nav-links {
    position: fixed;
    /* top is set dynamically by JS to topbar.offsetHeight */
    top: 72px;
    left: 0;
    right: 0;
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: rgba(10, 8, 25, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    z-index: 99;
    /* hidden state */
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      opacity   0.3s ease,
      visibility 0s linear 0.3s;
  }

  /* Open state */
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition:
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      opacity   0.3s ease,
      visibility 0s linear 0s;
  }

  /* Each nav link row */
  .nav-link {
    display: block !important;
    width: 100%;
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    border-radius: 0 !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    text-align: center !important;
    transition: background 0.15s ease, color 0.15s ease !important;
  }
  .nav-link:last-child { border-bottom: none !important; }
  .nav-link:hover, .nav-link:active {
    background: rgba(124, 58, 237, 0.12) !important;
    color: #c4b5fd !important;
  }

  /* Hero */
  .hero-content { padding-top: 7rem; padding-bottom: 3rem; }
  .hero-title { font-size: clamp(2.8rem, 14vw, 5rem); }
  .hero-logo-mark { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .button { width: 100%; max-width: 300px; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .values-grid, .mission-grid, .events-grid { max-width: 100%; }
  .mini-cards { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-brand { flex-direction: column; align-items: center; text-align: center; }
  .hero-badge { font-size: 0.7rem; padding: 0.4rem 0.9rem; }
  .hero-tags { gap: 0.5rem; }
  .hero-tag { font-size: 0.75rem; }

  /* Mobile dropdown in nav panel */
  .dropdown-parent .dropdown-menu { display: none !important; } /* hide hover menu */
  .dropdown-trigger { width: 100%; text-align: center; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 1rem 1.5rem; }
  .dropdown-trigger:hover { background: rgba(124,58,237,0.12); }
}

/* =====================================================================
   INNER PAGES — shared page styles (about-cfmy, national-officers)
   ===================================================================== */

/* Page hero banner */
.page-hero {
  position: relative;
  padding: 9rem 0 5rem;
  background: linear-gradient(-45deg, #0D0B1E, #1E1035, #0F1540, #1A0B2E);
  background-size: 400% 400%;
  animation: gradient-shift 12s ease infinite;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.3) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(236,72,153,0.2) 0%, transparent 45%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-tag { margin-bottom: 1rem; }
.page-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: white;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 40%, #c4b5fd 70%, #f9a8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  color: rgba(255,255,255,0.68);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-hero-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 24px rgba(167,139,250,0.7)) brightness(1.2);
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: #c4b5fd; }
.breadcrumb span { opacity: 0.4; }

/* Photo placeholder */
.photo-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.photo-placeholder::after {
  content: '📷  Photo coming soon';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}
.ph-purple  { background: linear-gradient(135deg,#2D1A5E,#4F1D96); }
.ph-pink    { background: linear-gradient(135deg,#831843,#BE185D); }
.ph-orange  { background: linear-gradient(135deg,#7C2D12,#C2410C); }
.ph-cyan    { background: linear-gradient(135deg,#164E63,#0E7490); }
.ph-green   { background: linear-gradient(135deg,#064E3B,#047857); }
.ph-indigo  { background: linear-gradient(135deg,#1E1B4B,#3730A3); }

/* Gallery Coming Soon component */
.gallery-coming-soon {
  text-align: center;
  padding: 2rem 0 3rem;
}
.gcs-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 3rem;
  opacity: 0.3;
  pointer-events: none;
}
@media (max-width: 600px) { .gcs-strip { grid-template-columns: repeat(2, 1fr); } }
.gcs-body { max-width: 480px; margin: 0 auto; }
.gcs-icon {
  font-size: 4rem;
  margin-bottom: 1.25rem;
  animation: gcs-pulse 2.8s ease-in-out infinite;
}
@keyframes gcs-pulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.1); }
}
.gcs-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #1F2937;
  margin-bottom: 0.75rem;
}
.gcs-desc {
  color: #6B7280;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Avatar placeholder (round, for officers) */
.avatar-placeholder {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1.25rem;
  border: 3px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar-placeholder::after {
  content: '👤';
  position: absolute;
  bottom: -4px;
  font-size: 4rem;
  line-height: 1;
  opacity: 0.55;
}

/* -------- ABOUT CFMY PAGE -------- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-intro-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.1rem;
  margin-top: 0.5rem;
}
.about-intro-text p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.02rem;
  margin-bottom: 1rem;
}
.about-photo-stack {
  position: relative;
}
.about-photo-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-photo-accent {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 55%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 4px solid #faf5ff;
  overflow: hidden;
}

/* Story / history */
.story-section { background: white; }
.story-section .section-header { max-width: 720px; }

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.story-content-row {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}
.story-content-img {
  flex: 0 0 48%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  object-fit: cover;
  width: 48%;
  display: block;
}

.story-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.timeline-card {
  background: #faf5ff;
  border: 1px solid rgba(124,58,237,0.1);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(124,58,237,0.12); }
.timeline-year {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}
.timeline-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.timeline-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin: 0; }

/* Vision/Mission cards */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.vm-card {
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.vm-vision {
  background: linear-gradient(145deg, #1E1035, #2D1A5E);
  color: white;
  border: 1px solid rgba(167,139,250,0.2);
}
.vm-mission {
  background: linear-gradient(145deg, #0D1B3E, #1A2B5E);
  color: white;
  border: 1px solid rgba(96,165,250,0.2);
}
.vm-card .vm-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.vm-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}
.vm-card p { color: rgba(255,255,255,0.7); line-height: 1.75; font-size: 0.98rem; margin: 0; }
.vm-glow-1 {
  position: absolute; width: 180px; height: 180px;
  border-radius: 50%; filter: blur(55px);
  bottom: -60px; right: -40px;
  background: rgba(124,58,237,0.45); pointer-events: none;
}
.vm-glow-2 {
  position: absolute; width: 180px; height: 180px;
  border-radius: 50%; filter: blur(55px);
  bottom: -60px; right: -40px;
  background: rgba(59,130,246,0.45); pointer-events: none;
}

/* Gallery */
.gallery-section { background: white; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; }
.gallery-item.tall { aspect-ratio: 3/4; }
.gallery-item.wide { aspect-ratio: 4/3; }
.gallery-item.square { aspect-ratio: 1; }

/* About CTA */
.about-cta {
  background: linear-gradient(135deg, #1E1035 0%, #0F1540 50%, #0D0B1E 100%);
  text-align: center;
  overflow: hidden;
}
.about-cta .container { position: relative; z-index: 1; }
.about-cta h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem,4vw,2.8rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}
.about-cta p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; font-size: 1.05rem; }
.about-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* -------- NATIONAL OFFICERS PAGE -------- */
.officers-section { background: #faf5ff; }
.officers-section + .officers-section { background: white; }
.officers-section:nth-child(even) { background: white; }

.officers-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.officers-label-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.25), transparent);
}
.officers-label-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  white-space: nowrap;
}

/* Main officers grid: 5 cards (1 centered on top, 4 below or flexible) */
.officers-grid-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  justify-items: center;
}
.officers-grid-main .officer-card:first-child {
  grid-column: 1 / -1;
  max-width: 340px;
}

.officers-grid-sub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.officers-grid-coord {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.officers-grid-avp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.officer-card {
  background: white;
  border: 1px solid rgba(124,58,237,0.1);
  border-radius: var(--radius);
  padding: 2.2rem 1.5rem 2rem;
  text-align: center;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.officer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  border-radius: 4px 4px 0 0;
}
.officer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.25);
}

.officer-card.featured-officer {
  background: linear-gradient(145deg, #1E1035, #2D1A5E);
  border-color: rgba(167,139,250,0.3);
}
.officer-card.featured-officer::before {
  background: linear-gradient(90deg, #f0abfc, #c026d3, #7c3aed);
}
.officer-card.featured-officer .officer-name { color: white; }
.officer-card.featured-officer .officer-title { color: #c4b5fd; }
.officer-card.featured-officer .officer-desc { color: rgba(255,255,255,0.55); }
.officer-card.featured-officer .avatar-placeholder {
  border-color: rgba(167,139,250,0.3);
}

.officer-card.coord-card { background: #fff8f0; border-color: rgba(249,115,22,0.15); }
.officer-card.coord-card::before { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.officer-card.coord-card:hover { box-shadow: 0 20px 60px rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.3); }

.officer-card.avp-card { background: #f0fdf4; border-color: rgba(16,185,129,0.15); }
.officer-card.avp-card::before { background: linear-gradient(90deg, var(--green), var(--cyan)); }
.officer-card.avp-card:hover { box-shadow: 0 20px 60px rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.3); }

.officer-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.officer-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
  margin-bottom: 0.75rem;
}
.officer-card.coord-card .officer-title { color: var(--orange); }
.officer-card.avp-card .officer-title { color: var(--green); }
.officer-card.featured-officer .officer-title { color: #c4b5fd; }
.officer-desc {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive: inner pages */
@media (max-width: 900px) {
  .about-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo-accent { display: none; }
  .vm-grid { grid-template-columns: 1fr; }
  .story-timeline { grid-template-columns: 1fr; }
  .story-content-row { flex-direction: column; gap: 2rem; }
  .story-content-img { flex: none; width: 100%; }
  .core-values-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .officers-grid-main { grid-template-columns: 1fr 1fr; }
  .officers-grid-main .officer-card:first-child { grid-column: 1 / -1; }
  .officers-grid-sub { grid-template-columns: 1fr 1fr; }
  .officers-grid-avp { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .core-values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .officers-grid-main { grid-template-columns: 1fr; }
  .officers-grid-main .officer-card:first-child { max-width: 100%; }
  .officers-grid-sub { grid-template-columns: 1fr; }
  .officers-grid-coord { grid-template-columns: 1fr; }
  .officers-grid-avp { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
}
