/* ============================================================
   LBM AWARENESS FOUNDATION — Premium 2026 Styles
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

body { font-family: 'Inter', sans-serif; }
h1, h2, h3, h4, .hero-name, .section-title, .card-title, blockquote { font-family: 'Playfair Display', serif; }

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--navy));
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
  padding: 10px 24px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  color: #fff; letter-spacing: 0.04em;
  position: relative; z-index: 101;
}
.announcement-bar a { color: var(--gold); text-decoration: underline; margin-left: 8px; }
.announcement-bar .ann-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.6);
  font-size: 18px; cursor: pointer; line-height: 1;
}
.announcement-bar .ann-close:hover { color: #fff; }

/* ── CURSOR GLOW ── */
.cursor-glow {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(244,165,28,0.08) 0%, transparent 70%);
  border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

/* ── PROGRESS BAR ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9998;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold2), #fff);
  transition: width 0.1s linear;
}

/* ── PAGE TRANSITION ── */
.page-transition {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--dark);
  transform: translateY(100%);
  pointer-events: none;
}
.page-transition.entering { animation: pageIn 0.5s ease forwards; }
.page-transition.leaving  { animation: pageOut 0.4s ease forwards; }
@keyframes pageIn  { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes pageOut { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ── PARTICLE CANVAS ── */
#particle-canvas {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero { position: relative; }
.hero > *:not(#particle-canvas) { position: relative; z-index: 1; }

/* ── GLASSMORPHISM CARDS ── */
.glass-card {
  background: rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 20px !important;
}
.glass-card:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(244,165,28,0.4) !important;
  box-shadow: 0 16px 48px rgba(244,165,28,0.15) !important;
}

/* ── GRADIENT MESH HERO BG ── */
.mesh-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.mesh-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
  animation: blobFloat 8s ease-in-out infinite;
}
.mesh-blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #1a4aa1, transparent);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.mesh-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #f4a51c, transparent);
  top: 50%; right: -80px;
  animation-delay: 3s;
}
.mesh-blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #4b0082, transparent);
  bottom: -60px; left: 40%;
  animation-delay: 6s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.05); }
  66%  { transform: translate(-20px, 30px) scale(0.95); }
}

/* ── TYPEWRITER ── */
.typewriter { display: inline-block; }
.typewriter-cursor {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--gold);
  margin-left: 2px;
  animation: blink 0.7s step-end infinite;
  vertical-align: middle;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── SECTION NUMBERS ── */
.section-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 900; line-height: 1;
  color: rgba(26,74,161,0.06);
  position: absolute; top: 20px; right: 24px;
  pointer-events: none; user-select: none;
  letter-spacing: -0.05em;
}

/* ── MAGNETIC BUTTONS ── */
.btn { transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important; }

/* ── PARALLAX HERO ── */
.hero-parallax {
  will-change: transform;
  transition: transform 0.05s linear;
}

/* ── HORIZONTAL PARTNER SCROLL ── */
.partner-scroll-section { background: var(--dark); padding: 80px 0; overflow: hidden; }
.partner-scroll-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px,4vw,48px); font-weight: 700;
  color: #fff; text-align: center; margin-bottom: 48px; padding: 0 24px;
}
.partner-scroll-track {
  display: flex; gap: 32px;
  overflow-x: auto; padding: 8px 48px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--card);
}
.partner-scroll-track::-webkit-scrollbar { height: 4px; }
.partner-scroll-track::-webkit-scrollbar-track { background: var(--card); }
.partner-scroll-track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.partner-scroll-card {
  min-width: 340px; scroll-snap-align: start;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.partner-scroll-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(244,165,28,0.25);
  border-color: var(--gold);
}
.partner-scroll-card img { width: 100%; height: 220px; object-fit: contain; background: #1a1040; }
.partner-scroll-card-body { padding: 20px; }
.partner-scroll-card-body h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.partner-scroll-card-body p  { font-size: 14px; color: var(--text-muted); }

/* ── PHOTO MODAL ── */
.photo-modal {
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  cursor: pointer;
}
.photo-modal.open { opacity: 1; pointer-events: all; }
.photo-modal img {
  max-width: 90vw; max-height: 90vh;
  border-radius: 16px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 80px rgba(244,165,28,0.3);
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.3s;
}
.photo-modal.open img { transform: scale(1); }
.photo-modal-close {
  position: absolute; top: 24px; right: 24px;
  background: rgba(255,255,255,0.1); border: none;
  color: #fff; font-size: 28px; width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background 0.2s;
}
.photo-modal-close:hover { background: rgba(255,255,255,0.2); }

/* ── TESTIMONIAL SLIDER ── */
.testimonial-section {
  background: var(--cream2); padding: 80px 24px; text-align: center; overflow: hidden;
}
.testimonial-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px,4vw,42px); font-weight: 700;
  color: var(--navy); margin-bottom: 48px;
}
.testimonial-track { position: relative; max-width: 800px; margin: 0 auto; min-height: 200px; }
.testimonial-slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(60px);
  transition: all 0.6s cubic-bezier(0.23,1,0.32,1);
  pointer-events: none;
}
.testimonial-slide.active {
  opacity: 1; transform: translateX(0);
  pointer-events: all; position: relative;
}
.testimonial-slide blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px,2.5vw,26px); font-style: italic;
  color: var(--blue); line-height: 1.6; margin-bottom: 24px;
}
.testimonial-slide .t-author { font-size: 16px; font-weight: 700; color: var(--gold); }
.testimonial-slide .t-role   { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.testimonial-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #d1d5db; border: none; cursor: pointer;
  transition: all 0.3s; padding: 0;
}
.testimonial-dot.active { background: var(--gold); transform: scale(1.4); }
.testimonial-arrows { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }
.t-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark); border: 1px solid var(--border);
  color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.t-arrow:hover { background: var(--gold); color: #111; border-color: var(--gold); }

/* ── INSTAGRAM FEED PLACEHOLDER ── */
.instagram-section { background: var(--cream); padding: 80px 24px; }
.instagram-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px,4vw,42px); font-weight: 700;
  color: var(--navy); text-align: center; margin-bottom: 8px;
}
.instagram-section .ig-handle {
  text-align: center; font-size: 16px; color: var(--blue);
  margin-bottom: 40px;
}
.instagram-section .ig-handle a { color: var(--gold); font-weight: 700; }
.ig-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 12px;
}
.ig-placeholder {
  aspect-ratio: 1;
  background: var(--dark); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  color: var(--text-muted); font-size: 13px; text-align: center; padding: 16px;
  transition: all 0.3s; cursor: pointer;
}
.ig-placeholder:hover { border-color: var(--gold); transform: scale(1.02); }
.ig-placeholder svg { width: 32px; height: 32px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.ig-connect-btn {
  display: block; text-align: center; margin: 32px auto 0;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff; font-weight: 700; font-size: 16px;
  padding: 14px 32px; border-radius: 8px;
  width: fit-content; transition: opacity 0.2s, transform 0.2s;
}
.ig-connect-btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* ── SIDE PROGRESS ── */
.side-progress {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.side-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer; transition: all 0.3s;
}
.side-dot.active { background: var(--gold); transform: scale(1.5); border-color: var(--gold); }
.side-dot:hover  { background: rgba(255,255,255,0.6); }

@media(max-width:900px) {
  .ig-grid { grid-template-columns: repeat(2,1fr); }
  .side-progress { display: none; }
  .cursor-glow { display: none; }
}
@media(max-width:640px) {
  .ig-grid { grid-template-columns: repeat(2,1fr); }
}

/* ── FIX: Glass cards only on dark backgrounds ── */
.section-cream .dark-card,
.section-cream2 .dark-card {
  background: #1a2537 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid #2a3a55 !important;
}
.section-cream .dark-card:hover,
.section-cream2 .dark-card:hover {
  background: #1e2d45 !important;
  border-color: var(--gold) !important;
  box-shadow: 0 12px 32px rgba(244,165,28,0.2) !important;
}
/* Make card text fully visible */
.section-cream .card-title,
.section-cream2 .card-title { color: #fff !important; }
.section-cream .card-desc,
.section-cream2 .card-desc  { color: #d1d5db !important; }
