/* Minimal custom styles for Tailwind-powered layout */
:root {
  --primary-color: #0a2540;
  --secondary-color: #14b8a6;
  --accent-color: #f59e0b;
}

/* Global typography improvements */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: #f5f5f5;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Ensure heading/body font consistency across pages */
.font-body, body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-kerning: normal;
  font-feature-settings: 'kern','liga','calt';
}
.font-heading, h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Headings sizing tweaks for better rhythm */
h1 { line-height: 1.2; }
h2 { line-height: 1.25; }
h3, h4 { line-height: 1.3; }

/* Prose content (terms, cookies) */
.prose { color: #1f2937; }
.prose h1, .prose h2, .prose h3 { font-family: 'Poppins','Inter',sans-serif; font-weight: 700; }
.prose p, .prose li { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
.prose a { color: var(--primary-color); text-underline-offset: 3px; }
.prose a:hover { color: var(--secondary-color); }

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: #fff;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Table wrapper for submissions */
.table-container {
  overflow-x: auto;
}

/* Basic layout helpers for pages that don't use Tailwind */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.main-header {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo img {
  max-height: 50px;
  height: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--secondary-color);
}

@media (max-width: 640px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  .main-nav li {
    width: 100%;
  }
  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.5rem;
  }
}

.hero {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
  background-size: cover;
  background-position: center;
}

.donate-hero,
.donations-hero {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.about-hero {
  background-image: url('../images/team_pic_1.jpg');
}

@media (max-width: 640px) {
  .hero {
    padding: 2rem 1rem;
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.intro-section {
  margin: 2rem 0;
}

.initiatives-grid {
  display: grid;
  gap: 1.5rem;
}

.initiative-card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.initiative-card h3 {
  margin-top: 0;
  color: var(--primary-color);
}

@media (min-width: 768px) {
  .initiatives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.main-footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 1.5rem 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.social-links a {
  color: inherit;
  text-decoration: none;
}

.social-links a:hover {
  color: #fff;
}

.language-switcher .lang-btn {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.language-switcher .lang-btn:hover,
.language-switcher .lang-btn.active {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border-color: var(--accent-color);
}

/* Back to Top button (non-Tailwind pages) */
#backToTopBtn {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: none;
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#backToTopBtn.show {
  display: inline-flex;
}

/* Donation and video sections */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .payment-methods {
    flex-direction: row;
  }
}

.donation-method {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex: 1;
  border-top: 4px solid var(--secondary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-method:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.payment-logo {
  max-width: 150px;
  height: auto;
}

.video-grid {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
}

.video-card {
  flex: 0 0 80%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

.video-card iframe {
  width: 100%;
  height: 315px;
  border: 0;
}

.logo-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .video-card {
    flex: 0 0 calc(25% - 1rem);
  }
}

@media (max-width: 640px) {
  .video-card iframe {
    height: 200px;
  }
}

#submissionsSection {
  max-height: 300px;
  overflow-y: auto;
}

.btn-primary {
  display: inline-block;
  background: var(--secondary-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #0f766e;
}

.donation-nav {
  text-align: center;
  margin-top: 2rem;
}

.donation-nav h2 {
  color: var(--primary-color);
  font-weight: 700;
}

.donation-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  margin: 1.5rem 0 0;
}

.donation-nav a {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.donation-nav a:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.donation-nav a i {
  margin-right: 0.5rem;
}

/* (Removed) Impact-based donation tiles */

/* Copy buttons */
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  padding: 0.2rem 0.4rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: var(--primary-color);
  cursor: pointer;
}
.copy-btn:hover { background: #f3f4f6; }

/* Before / After slider */
.ba-section { margin-top: 2rem; }
.ba-slider { position: relative; width: 100%; max-width: 960px; margin: 1rem auto; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.ba-slider .ba-img { display:block; width:100%; height:auto; }
.ba-slider .ba-after { position:absolute; top:0; left:0; height:100%; width:50%; overflow:hidden; }
.ba-slider .ba-label {
  position:absolute; top:8px; left:8px; background: rgba(0,0,0,.55); color:#fff;
  padding:.25rem .5rem; border-radius:6px; font-size:.85rem;
}
.ba-slider .ba-label.after { left:auto; right:8px; }
.ba-slider .ba-handle { position:absolute; top:0; left:50%; transform: translateX(-50%); height:100%; width:2px; background:#fff; box-shadow:0 0 0 1px rgba(0,0,0,.2); }
.ba-slider input[type=range] { position:absolute; bottom:8px; left:50%; transform: translateX(-50%); width: 60%; }

/* --- Global visual polish additions --- */
/* Headings + subtle tracking */
h1, h2, h3 { letter-spacing: 0.2px; font-family: 'Poppins', 'Inter', sans-serif; }
h2 { font-weight: 700; color: var(--primary-color); }

/* Sleeker default heading sizes for non‑Tailwind pages */
h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem); line-height: 1.35; }

/* Use Poppins for nav and primary buttons on non‑Tailwind pages */
.main-nav a { font-family: 'Poppins', 'Inter', sans-serif; letter-spacing: 0.2px; }
.btn-primary { font-family: 'Poppins', 'Inter', sans-serif; letter-spacing: 0.2px; }

/* Parallax backgrounds */
.parallax { background-attachment: fixed; }

/* Navigation hover underline + transitions */
.main-nav a { transition: color .2s ease; position: relative; }
.main-nav a:hover::after,
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
}

/* Card lift on hover */
.initiative-card { transition: transform .25s ease, box-shadow .25s ease; }
.initiative-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.video-card { transition: transform .25s ease, box-shadow .25s ease; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }

/* Project gallery cards */
.project-item { background:#fff; border-radius:12px; padding:1rem; border:1px solid #e5e7eb; box-shadow:0 1px 3px rgba(0,0,0,.06); transition: transform .25s ease, box-shadow .25s ease; }
.project-item img { display:block; width:100%; border-radius:10px; }
.project-item:hover { transform: translateY(-4px); box-shadow:0 8px 20px rgba(0,0,0,.12); }
.lightbox-trigger { border-radius:10px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* Buttons */
.btn-primary { transition: background .3s ease, transform .15s ease, box-shadow .15s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.btn-primary:focus-visible { outline: 2px solid #0f766e; outline-offset: 2px; }

/* Accessible focus for links */
a:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 2px; }

/* French subtitle helper for non‑Tailwind pages */
.fr-sub { display: block; margin-top: 0.25rem; color: #4b5563; font-size: 0.95rem; }

/* Hide horizontal scrollbar for mobile header nav overflow */
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* Mobile navigation fixes */
@media (max-width: 768px) {
  /* Header improvements */
  .header-content {
    padding: 0.5rem 1rem;
  }

  .logo img {
    max-height: 40px;
  }

  nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: -0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 1rem;
  }
  nav ul::-webkit-scrollbar { display: none; }

  /* Nav link improvements */
  nav li {
    flex-shrink: 0;
  }
  nav a {
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  /* Ensure nav doesn't cover main content */
  header {
    margin-bottom: 0;
  }

  main {
    margin-top: 0;
    padding-top: 0.5rem;
  }

  /* Hero section mobile fixes */
  .hero {
    min-height: 60vh;
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem !important;
    line-height: 1.5;
  }

  /* Button improvements */
  .btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    min-width: 120px;
  }

  /* Grid improvements */
  .grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  /* Card spacing */
  .card {
    margin-bottom: 1rem;
  }

  /* Impact counters */
  .count {
    font-size: 2rem !important;
  }

  /* Video aspect ratio fix */
  .aspect-video {
    aspect-ratio: 16/9;
    width: 100%;
  }

  /* Footer social links */
  .social-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
}

/* WhatsApp floating icon */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: white;
  font-size: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
  text-decoration: none;
}

.whatsapp-float:focus {
  outline: 2px solid #25D366;
  outline-offset: 2px;
}

/* Ensure WhatsApp icon is properly positioned above back-to-top */
#backToTopBtn {
  z-index: 998 !important;
}

/* Additional mobile improvements for very small screens */
@media (max-width: 480px) {
  /* Smaller padding for very small screens */
  .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Hero text even smaller on tiny screens */
  .hero h1 {
    font-size: 1.75rem !important;
  }

  /* Navigation even more compact */
  nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  /* Tighter button spacing */
  .btn-primary, .btn-secondary {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  /* Single column for all grids */
  .md\\:grid-cols-2,
  .md\\:grid-cols-3,
  .lg\\:grid-cols-3 {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    right: 1rem;
    bottom: 4.5rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 22px;
    right: 0.75rem;
    bottom: 4rem;
  }
}

/* Improved touch targets for mobile */
@media (max-width: 768px) {
  /* Larger touch targets */
  nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Better button sizing */
  .btn-primary,
  .btn-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Improved form elements */
  input[type="email"],
  button[type="submit"] {
    min-height: 48px;
    padding: 0.75rem 1rem;
  }

  /* Better spacing for sections */
  section {
    padding: 2rem 1rem;
  }

  /* Improved text readability */
  p {
    line-height: 1.6;
    font-size: 1rem;
  }

  /* Footer improvements */
  footer {
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }
}

/* --- Testimonials quotes styling --- */
.quotes-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 768px) { .quotes-grid { grid-template-columns: 1fr 1fr; } }
.quote-card { position: relative; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1.25rem 1.25rem 1rem; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.quote-card::before { content: '"'; position: absolute; top: -8px; left: 10px; font-size: 4rem; color: var(--accent-color); opacity: .2; line-height: 1; }
.quote-text { font-style: italic; font-size: 1.05rem; line-height: 1.7; color: #1f2937; }
.quote-footer { margin-top: .75rem; font-weight: 600; color: var(--primary-color); font-family: 'Poppins','Inter',sans-serif; }
.more-note { margin-top: 1rem; background: #fff; border: 1px dashed #e5e7eb; border-radius: 12px; padding: 1rem 1.25rem; color: #374151; }

/* Footer Services block */
footer .services-footer, footer .legal-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
footer .services-title, footer .legal-title {
  font-family: 'Poppins','Inter',sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.2px;
  margin: 0 0 0.5rem 0;
}
footer .services-list, footer .legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
footer .services-list a, footer .legal-list a {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
footer .services-list a:hover, footer .legal-list a:hover {
  text-decoration: underline;
}
/* Hide emoji fallback when FA is available */
footer .services-list i + .emoji-fallback, footer .legal-list i + .emoji-fallback { display: none; }
/* Remove any remaining emoji fallbacks globally */
.emoji-fallback { display: none !important; }

/* Legal pages layout & UX */
.legal-container { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .legal-container { grid-template-columns: 280px 1fr; } }
.legal-mobile { display: block; margin-bottom: 0.75rem; }
@media (min-width: 1024px) { .legal-mobile { display: none; } }
.legal-select { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.legal-toc { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; box-shadow: 0 1px 4px rgba(0,0,0,.06); position: sticky; top: 6rem; }
.legal-toc h3 { margin: 0 0 0.5rem 0; font-family: 'Poppins','Inter',sans-serif; font-weight: 700; font-size: 1rem; color: var(--primary-color); }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.legal-toc a { display: block; padding: 0.4rem 0.5rem; border-radius: 8px; color: #374151; text-decoration: none; }
.legal-toc a:hover { background: #f9fafb; color: var(--primary-color); }
.legal-toc a.active { background: #eef2ff; color: #1d4ed8; }
.legal-section { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1.25rem; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.legal-content h2 { scroll-margin-top: 96px; }
/* Reduce legal sub-heading sizes for better readability */
.legal-content h2 { font-size: 1.25rem !important; line-height: 1.35 !important; }
.legal-content h3 { font-size: 1.0625rem !important; line-height: 1.4 !important; }
.legal-content i { display: none !important; }
/* Force single-column legal layout and hide TOC/select */
.legal-container { grid-template-columns: 1fr !important; }
.legal-toc { display: none !important; }
.legal-mobile { display: none !important; }

/* Cookie consent banner & modal */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; background: #0a2540; color: #fff; }
.cookie-inner { max-width: 72rem; margin: 0 auto; padding: 0.75rem 1rem; display: flex; gap: 0.75rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-text { font-size: 0.9rem; opacity: 0.95; }
.cookie-actions { display: flex; gap: 0.5rem; }
.cookie-btn { background: #14b8a6; color: #fff; border: 0; padding: 0.5rem 0.75rem; border-radius: 8px; cursor: pointer; font-weight: 600; }
.cookie-btn.secondary { background: #ffffff; color: #0a2540; border: 1px solid #e5e7eb; }

.cookie-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1200; display: none; align-items: center; justify-content: center; }
.cookie-modal { background: #fff; color: #111827; width: min(640px, 92vw); border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.2); overflow: hidden; }
.cookie-modal header { padding: 0.75rem 1rem; border-bottom: 1px solid #e5e7eb; font-weight: 700; color: #0a2540; }
.cookie-modal .body { padding: 1rem; display: grid; gap: 0.75rem; }
.cookie-modal .row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-modal .row small { color: #4b5563; }
.cookie-modal footer { padding: 0.75rem 1rem; border-top: 1px solid #e5e7eb; display: flex; justify-content: flex-end; gap: 0.5rem; }

/* Single-slate layout for legal content */
.legal-content .legal-paper {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.legal-content .legal-paper section {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 1rem 0 !important;
}
.legal-content .legal-paper section + section { border-top: 1px solid #e5e7eb; }

/* Make icons slightly smaller to keep lists compact */
footer .services-list i, footer .legal-list i,
footer .services-list .emoji-fallback, footer .legal-list .emoji-fallback {
  font-size: 0.9rem;
  line-height: 1;
}

/* Mobile menu toggle */
.mobile-nav-toggle { display: none; cursor: pointer; }
.mobile-nav-toggle i { font-size: 1rem; }

@media (max-width: 768px) {
  /* Show the toggle button on mobile */
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    color: var(--primary-color);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
  }

  /* Collapse nav lists by default on mobile */
  header nav ul, .main-nav ul {
    display: none !important;
  }

  /* Expand when parent container is marked open */
  .nav-open nav ul, .nav-open .main-nav ul {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    background: #fff;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
  }

  .nav-open nav li, .nav-open .main-nav li { width: 100%; }
  .nav-open nav a, .nav-open .main-nav a { display: block; padding: 0.5rem 0.25rem; }
}

/* (Services dropdown styles removed per request) */

/* Horizontal nav: left-to-right, mobile-friendly */
header .bg-white > .max-w-7xl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Keep nav lists horizontal; allow horizontal scrolling on small screens */
header nav ul, .main-nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: visible;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
@media (min-width: 769px) {
  header nav ul, .main-nav ul { overflow: visible; }
}
header nav ul::-webkit-scrollbar, .main-nav ul::-webkit-scrollbar { display: none; }

header nav li, .main-nav li { flex-shrink: 0; }
header nav a, .main-nav a { white-space: nowrap; }

/* Girl Child Event - Enhanced Visibility */
.featured-event-shimmer {
  position: relative;
  overflow: hidden;
}

.featured-event-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Pulse animation for attention */
@keyframes gentle-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.event-cta-pulse {
  animation: gentle-pulse 2s ease-in-out infinite;
}

/* Glowing border effect */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(219, 39, 119, 0.5), 0 0 40px rgba(147, 51, 234, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(219, 39, 119, 0.8), 0 0 60px rgba(147, 51, 234, 0.5);
  }
}

.event-glow {
  animation: glow 2s ease-in-out infinite;
}
