/* =====================================================================
   LYOMOKI DEVELOPMENT ORGANISATION (LYDO) — Unified Design System
   v2 — Lighter, brighter, more professional. Dark reserved for hero + footer.
   ===================================================================== */

:root {
  /* Brand palette */
  --lydo-green:       #0ea653;   /* primary green (refined, professional) */
  --lydo-green-dark:  #047857;
  --lydo-green-light: #d1fae5;
  --lydo-green-tint:  #ecfdf5;
  --lydo-gold:        #d97706;   /* warm amber */
  --lydo-gold-dark:   #b45309;
  --lydo-gold-light:  #fef3c7;
  --lydo-red:         #c62828;   /* logo red */

  /* Surfaces (mostly LIGHT now) */
  --surface-white:    #ffffff;
  --surface-soft:     #f8fafc;   /* very light grey */
  --surface-tint:     #f1f5f9;   /* slightly darker for alternation */
  --surface-cream:    #fdf6ec;   /* very subtle warm tint */
  --surface-dark:     #0f172a;   /* slate-900 — hero / footer ONLY */
  --surface-darker:   #020617;
  --surface-warm:     #1f2a1a;   /* deep forest — for dark green cards */

  /* Text */
  --text-primary:     #0f172a;   /* near-black for headings */
  --text-body:        #334155;   /* body copy */
  --text-muted:       #64748b;   /* muted copy */
  --text-faint:       #94a3b8;   /* very faint */
  --text-on-dark:     #ffffff;
  --text-on-dark-muted: #cbd5e1;
  --text-on-dark-faint: #94a3b8;

  /* Borders */
  --border-soft:      #e2e8f0;
  --border-medium:    #cbd5e1;
  --border-dark:      rgba(255, 255, 255, 0.10);
  --border-dark-2:    rgba(255, 255, 255, 0.18);

  /* Type */
  --font-sans: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12);
  --transition: 0.25s ease;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--surface-white);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lydo-green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--lydo-green-dark); }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; color: var(--text-primary); margin: 0 0 0.6em; }
p { margin: 0 0 1em; }

/* ---------- Layout helpers ---------- */
.container-lydo {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; background: var(--surface-white); color: var(--text-body); }
.section-tight { padding: 56px 0; }
.section-soft { background: var(--surface-soft); }
.section-tint { background: var(--surface-tint); }
.section-cream { background: var(--surface-cream); }
.section-dark { background: var(--surface-dark); color: var(--text-on-dark-muted); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5 { color: var(--text-on-dark); }
.section-darker { background: var(--surface-darker); color: var(--text-on-dark-muted); }
.section-darker h1, .section-darker h2, .section-darker h3, .section-darker h4, .section-darker h5 { color: var(--text-on-dark); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lydo-green-dark);
  background: var(--lydo-green-tint);
  border: 1px solid var(--lydo-green-light);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow.on-dark {
  color: var(--lydo-gold);
  background: rgba(240, 165, 0, 0.10);
  border-color: rgba(240, 165, 0, 0.30);
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section-title.on-dark { color: var(--text-on-dark); }
.section-title-green { color: var(--lydo-green-dark); }
.section-title-gold  { color: var(--lydo-gold-dark); }
.section-lead {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.05rem;
}
.section-lead.on-dark { color: var(--text-on-dark-muted); }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.lydo-nav {
  background: #ffffff;
  padding: 0;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.lydo-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--text-primary) !important;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.lydo-nav .navbar-brand img {
  height: 44px;
  width: auto;
  background: #ffffff;
  border-radius: 50%;
  padding: 2px;
  border: 1px solid var(--border-soft);
}
.lydo-nav .nav-link {
  color: #475569 !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 22px 14px !important;
  position: relative;
  transition: color var(--transition);
}
.lydo-nav .nav-link:hover { color: var(--lydo-green-dark) !important; }
.lydo-nav .nav-link.active { color: var(--lydo-green-dark) !important; font-weight: 600; }
.lydo-nav .nav-link.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  height: 2px;
  background: var(--lydo-green);
  border-radius: 2px;
}
.lydo-nav .navbar-toggler {
  border-color: var(--border-soft);
  padding: 6px 10px;
}
.lydo-nav .navbar-toggler-icon {
  filter: invert(0.4);
}
@media (max-width: 991px) {
  .lydo-nav .nav-link { padding: 12px 14px !important; }
  .lydo-nav .nav-link.active::after { display: none; }
}

/* =====================================================================
   PAGE HERO (re-usable inner-page banner)
   ===================================================================== */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-on-dark);
  background:
    linear-gradient(135deg, #0a4d2e 0%, #0a3a5c 60%, #0f172a 100%);
  padding: 130px 24px 70px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(14, 166, 83, 0.30), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(217, 119, 6, 0.18), transparent 55%);
  pointer-events: none;
}
.page-hero h1 {
  position: relative;
  color: var(--text-on-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 12px 0 8px;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.page-hero h1 span { color: #6ee7b7; }
.page-hero p.tagline {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto;
  font-style: italic;
}
.page-hero .breadcrumb-trail {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lydo-gold);
  font-weight: 600;
}
.page-hero .breadcrumb-trail a { color: var(--lydo-gold); }
.page-hero .breadcrumb-trail a:hover { color: #fde68a; }

/* =====================================================================
   HOME HERO (with slideshow) — homepage only
   ===================================================================== */
.home-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-on-dark);
  overflow: hidden;
  background: linear-gradient(135deg, #0a4d2e 0%, #0f172a 65%, #1e293b 100%);
}
.home-hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.home-hero-slideshow img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: homeHeroFade 18s infinite;
}
.home-hero-slideshow img:nth-child(1) { animation-delay: 0s; }
.home-hero-slideshow img:nth-child(2) { animation-delay: 6s; }
.home-hero-slideshow img:nth-child(3) { animation-delay: 12s; }
@keyframes homeHeroFade {
  0%, 5%   { opacity: 0; }
  10%, 30% { opacity: 1; }
  35%, 100%{ opacity: 0; }
}
.home-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,30,20,0.55), rgba(15,23,42,0.85));
  z-index: 1;
}
.home-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 980px;
}
.home-hero-content img.brand-mark {
  width: 120px; height: 120px;
  background: #ffffff;
  border-radius: 50%;
  margin: 0 auto 20px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.home-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin: 0 0 6px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.01em;
}
.home-hero-content h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: #6ee7b7;
  font-weight: 500;
  margin: 0 0 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.05em;
}
.home-hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 28px;
}
.home-hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn-lydo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}
.btn-lydo-primary {
  background: var(--lydo-green);
  color: #ffffff !important;
  border-color: var(--lydo-green);
}
.btn-lydo-primary:hover {
  background: var(--lydo-green-dark);
  border-color: var(--lydo-green-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 166, 83, 0.30);
}
.btn-lydo-gold {
  background: var(--lydo-gold);
  color: #ffffff !important;
  border-color: var(--lydo-gold);
}
.btn-lydo-gold:hover {
  background: var(--lydo-gold-dark);
  border-color: var(--lydo-gold-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
}
.btn-lydo-outline {
  background: transparent;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-lydo-outline:hover {
  background: #ffffff;
  color: var(--lydo-green-dark) !important;
  border-color: #ffffff;
}
.btn-lydo-outline-dark {
  background: transparent;
  color: var(--lydo-green-dark) !important;
  border-color: var(--lydo-green);
}
.btn-lydo-outline-dark:hover {
  background: var(--lydo-green);
  color: #ffffff !important;
}
.btn-lydo-ghost {
  background: var(--surface-soft);
  color: var(--text-primary) !important;
  border-color: var(--border-soft);
}
.btn-lydo-ghost:hover {
  background: var(--surface-tint);
  border-color: var(--border-medium);
  color: var(--text-primary) !important;
}

/* =====================================================================
   CARDS / SURFACES (light by default)
   ===================================================================== */
.lydo-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.lydo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--lydo-green-light);
}
.lydo-card.on-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark-muted);
}
.lydo-card.on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--lydo-green);
}
.lydo-card.on-dark .card-title { color: var(--text-on-dark); }
.lydo-card.on-dark .card-text  { color: var(--text-on-dark-muted); }
.lydo-card.on-dark .card-icon  { background: rgba(14, 166, 83, 0.18); color: #6ee7b7; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--lydo-green-tint);
  color: var(--lydo-green-dark);
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card-icon-gold { background: var(--lydo-gold-light); color: var(--lydo-gold-dark); }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.card-text  { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; margin: 0; }

/* cause card (used on causes.html / donate.html) */
.cause-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cause-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--lydo-green-light);
}
.cause-card .cause-thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--lydo-green) 0%, var(--lydo-green-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  position: relative;
}
.cause-card .cause-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 60%);
}
.cause-card .cause-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.cause-card h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin: 0 0 10px;
}
.cause-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex-grow: 1;
  margin: 0 0 18px;
}
.cause-card .cause-cta { align-self: flex-start; }

/* partner card */
.partner-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--lydo-green-light);
}
.partner-card .partner-logo {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--surface-soft);
  border-radius: 8px;
  padding: 10px;
}
.partner-card .partner-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.partner-card h5 {
  color: var(--text-primary);
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
}

/* =====================================================================
   ORG INFO TABLE (light theme)
   ===================================================================== */
.org-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.org-info-table tr + tr td { border-top: 1px solid var(--border-soft); }
.org-info-table td {
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--text-body);
  vertical-align: top;
}
.org-info-table td:first-child {
  color: var(--lydo-green-dark);
  font-weight: 600;
  width: 40%;
  background: #ffffff;
  border-right: 1px solid var(--border-soft);
}

/* =====================================================================
   STATS / COUNTERS
   ===================================================================== */
.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card .stat-num {
  color: var(--lydo-green-dark);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-card .stat-num.gold { color: var(--lydo-gold-dark); }
.stat-card .stat-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* =====================================================================
   TEAM CARD
   ===================================================================== */
.team-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: var(--surface-tint);
}
.team-card .team-body {
  padding: 20px 18px 24px;
}
.team-card h5 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin: 0 0 4px;
}
.team-card p {
  color: var(--lydo-green-dark);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}

/* =====================================================================
   FORMS
   ===================================================================== */
.lydo-form .form-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.lydo-form .form-control,
.lydo-form .form-select {
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.lydo-form .form-control:focus,
.lydo-form .form-select:focus {
  border-color: var(--lydo-green);
  box-shadow: 0 0 0 3px rgba(14, 166, 83, 0.15);
  outline: none;
}
.lydo-form textarea.form-control { min-height: 140px; resize: vertical; }
.lydo-form .form-card {
  background: #ffffff;
  border: 2px solid var(--lydo-green-light);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

/* =====================================================================
   FOOTER (the only big dark surface)
   ===================================================================== */
.lydo-footer {
  background: var(--surface-dark);
  color: var(--text-on-dark-muted);
  font-family: var(--font-sans);
  padding: 64px 0 0;
  position: relative;
}
.lydo-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--lydo-green) 0%, var(--lydo-gold) 100%);
}
.lydo-footer h5 {
  color: var(--lydo-gold);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lydo-footer .footer-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
}
.lydo-footer .footer-line i {
  color: var(--lydo-gold);
  margin-top: 4px;
  min-width: 14px;
}
.lydo-footer ul.footer-links { list-style: none; padding: 0; margin: 0; }
.lydo-footer ul.footer-links li { margin-bottom: 10px; }
.lydo-footer ul.footer-links a {
  color: var(--text-on-dark-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  transition: color var(--transition), padding var(--transition);
}
.lydo-footer ul.footer-links a:hover { color: var(--lydo-gold); padding-left: 4px; }
.lydo-footer ul.footer-links i { color: var(--lydo-gold); font-size: 0.7rem; }
.lydo-footer .social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.lydo-footer .social-row a {
  width: 40px; height: 40px;
  border: 1px solid var(--lydo-gold);
  color: var(--text-on-dark-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition);
  border-radius: 8px;
}
.lydo-footer .social-row a:hover {
  background: var(--lydo-gold);
  color: #0f172a;
}
.lydo-footer .newsletter-input {
  display: flex;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}
.lydo-footer .newsletter-input input {
  flex: 1;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #fff;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
}
.lydo-footer .newsletter-input input:focus { outline: 2px solid var(--lydo-green); outline-offset: 1px; }
.lydo-footer .newsletter-input button {
  background: var(--lydo-gold);
  color: #0f172a;
  border: none;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.lydo-footer .newsletter-input button:hover { background: var(--lydo-gold-dark); color: #fff; }
.lydo-footer .footer-bottom {
  background: var(--surface-darker);
  margin-top: 56px;
  padding: 18px 0;
  text-align: center;
  color: var(--text-on-dark-faint);
  font-size: 0.88rem;
}
.lydo-footer .footer-bottom strong { color: var(--lydo-green); letter-spacing: 0.04em; }

/* =====================================================================
   BACK TO TOP
   ===================================================================== */
#backToTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  background: var(--lydo-green);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  z-index: 999;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(14, 166, 83, 0.40);
  transition: background var(--transition), transform var(--transition);
}
#backToTop:hover { background: var(--lydo-green-dark); transform: translateY(-3px); color: #fff; }

/* =====================================================================
   GALLERY (light theme)
   ===================================================================== */
.gallery-section { background: var(--surface-soft); padding: 64px 0; }
.gallery-filter { text-align: center; margin-bottom: 36px; }
.gallery-filter .filter-btn {
  background: #ffffff;
  border: 2px solid var(--lydo-green);
  color: var(--lydo-green-dark);
  padding: 9px 22px;
  margin: 4px;
  border-radius: 24px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.gallery-filter .filter-btn:hover,
.gallery-filter .filter-btn.active {
  background: var(--lydo-green);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(14, 166, 83, 0.30);
}
.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-tint);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: transform 0.25s ease;
  cursor: pointer;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-card .gallery-overlay h5 {
  color: #6ee7b7;
  font-size: 0.98rem;
  margin: 0 0 4px;
  font-weight: 600;
}
.gallery-card .gallery-overlay p { color: #fff; margin: 0; font-size: 0.85rem; }
.modal-content { background: #ffffff; border: 1px solid var(--border-soft); border-radius: var(--radius); }
.modal-header { border-bottom: 1px solid var(--border-soft); }
.modal-title { color: var(--text-primary); }
.modal-body img { border-radius: 8px; }

/* =====================================================================
   MISC
   ===================================================================== */
.section-divider {
  height: 1px;
  background: var(--border-soft);
  border: none;
  margin: 36px 0;
}

/* small responsive tweaks */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .page-hero { min-height: 240px; padding: 110px 20px 50px; }
  .stat-card { padding: 20px 14px; }
  .team-card img { height: 260px; }
}
