/* ============================================================
   LET'S TALK FOUNDATION — Brand Design System
   Colors: Teal trust + Warm amber accent + Deep slate
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  /* Brand Palette */
  --teal:        #1A7B6A;
  --teal-light:  #2AA68E;
  --teal-dark:   #0F5247;
  --amber:       #E8973A;
  --amber-light: #F4B96A;
  --cream:       #FAF7F2;
  --slate:       #1E2D3A;
  --slate-mid:   #3A5068;
  --slate-light: #6B8299;
  --white:       #FFFFFF;
  --border:      #D9E8E4;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-gap: 100px;
  --radius:      14px;
  --radius-lg:   24px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(26,123,106,0.08);
  --shadow-md:  0 8px 32px rgba(26,123,106,0.12);
  --shadow-lg:  0 20px 60px rgba(26,123,106,0.16);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: var(--section-gap) 0; }
.section--bg { background: var(--cream); }

.badge {
  display: inline-block;
  background: rgba(26,123,106,0.1);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--slate);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-title span { color: var(--teal); font-style: italic; }

.section-sub {
  font-size: 1.05rem;
  color: var(--slate-light);
  max-width: 560px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,123,106,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-secondary:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-amber {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-amber:hover {
  background: #d4862f;
  border-color: #d4862f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,151,58,0.35);
}

.btn-white {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* ── Navigation ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(26,123,106,0.12);
  box-shadow: 0 2px 16px rgba(30,45,58,0.10);
  transition: box-shadow 0.3s var(--ease);
}

.navbar.scrolled {
  box-shadow: 0 4px 28px rgba(30,45,58,0.15);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: 80px;
}

.nav-logo-img {
  height: 60px !important;
  width: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  min-width: 0;
  display: block !important;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,123,106,0.3);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
}

.logo-text { line-height: 1; }
.logo-text .line1 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
}
.logo-text .line2 {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--slate-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.logo-text .logo-slogan {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-top: 3px;
  opacity: 0.85;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-mid);
  border-radius: 8px;
  transition: all 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  background: rgba(26,123,106,0.07);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a i.fa-chevron-down {
  font-size: 0.65rem;
  margin-left: 4px;
  transition: transform 0.25s;
}

.nav-dropdown:hover > a i.fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  font-size: 0.875rem;
  color: var(--slate-mid);
  border-radius: 0;
  transition: all 0.2s;
}
.dropdown-menu a i {
  width: 20px;
  color: var(--teal);
  font-size: 0.85rem;
}
.dropdown-menu a:hover {
  background: var(--cream);
  color: var(--teal);
  padding-left: 24px;
}

.nav-cta { margin-left: 12px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--teal);
  border-radius: 3px;
  transition: all 0.3s var(--ease);
}

/* Navbar is always white — no transparent/light-mode override needed */

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal) 45%, var(--teal-light) 100%);
  padding-top: 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(232,151,58,0.12) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.03) 0%, transparent 40%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: rgba(42,166,142,0.2);
  top: -200px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: rgba(232,151,58,0.15);
  bottom: -100px; left: -100px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-content {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge i { color: var(--amber-light); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero-title .italic-accent {
  font-style: italic;
  color: var(--amber-light);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item {}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--amber-light);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all 0.35s var(--ease);
}
.hero-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateX(6px);
}

.hero-card-icon {
  width: 52px; height: 52px;
  background: var(--amber);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 14px;
}

.hero-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 6px;
}

.hero-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ── Hero Poster Column — full poster, no cropping ───────── */
.hero-poster-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.hero-poster-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 32px 60px rgba(0,0,0,0.5));
  animation: heroFloat 6s ease-in-out infinite;
}

/* Poster shown at its natural aspect ratio — no height cap, no cropping */
.hero-poster-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 4px solid rgba(255,255,255,0.2);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

/* ── Hero Photo Frame (legacy, kept for back-compat) ─────── */
.hero-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.32);
  border: 4px solid rgba(255,255,255,0.2);
  position: relative;
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-photo-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-photo-badge i { color: var(--teal); font-size: 1.1rem; }
.hero-photo-badge span { font-size: 0.82rem; font-weight: 600; color: var(--slate); }

/* ── WhatsApp Float Button ───────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 84px;
  right: 28px;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  z-index: 800;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
  color: var(--white);
}

/* ── Partners Page ───────────────────────────────────────── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.35s var(--ease);
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.partner-logo-placeholder {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(26,123,106,0.1), rgba(42,166,142,0.15));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--teal);
  margin: 0 auto 20px;
}

.partner-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 8px;
}

.partner-card p {
  font-size: 0.82rem;
  color: var(--slate-light);
  line-height: 1.65;
}

.partner-card .partner-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(26,123,106,0.08);
  padding: 3px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 12px;
}

/* ── Author Section ──────────────────────────────────────── */
.author-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 2/3;
  max-width: 340px;
}

.author-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Counselling Session Photo (About) ───────────────────── */
.session-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.session-photo-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* ── Services ─────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(26,123,106,0.1), rgba(42,166,142,0.15));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: 22px;
  transition: all 0.3s var(--ease);
}

.service-card:hover .service-icon {
  background: var(--teal);
  color: var(--white);
  transform: scale(1.05);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--slate-light);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  background: rgba(26,123,106,0.08);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ── About ───────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-big-box {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-big-box::after {
  content: '\f4fc';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  font-size: 10rem;
  color: rgba(255,255,255,0.04);
  bottom: -20px; right: -10px;
  line-height: 1;
}

.about-big-box h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 14px;
  font-style: italic;
}
.about-big-box p { color: rgba(255,255,255,0.82); line-height: 1.8; }

.about-float-card {
  position: absolute;
  bottom: -28px; right: -28px;
  background: var(--amber);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-float-card .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}
.about-float-card .label {
  font-size: 0.78rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.about-content {}

.about-content .section-sub { margin-bottom: 32px; }

.values-list { margin: 32px 0; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.value-item:last-child { border-bottom: none; }

.value-icon {
  width: 42px; height: 42px;
  background: rgba(26,123,106,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-text h4 {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 4px;
}
.value-text p {
  font-size: 0.875rem;
  color: var(--slate-light);
  line-height: 1.65;
}

/* ── Team ─────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s var(--ease);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.team-avatar {
  height: 200px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-avatar-circle {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.35);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.team-avatar i {
  font-size: 5rem;
  color: rgba(255,255,255,0.6);
}

.team-avatar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(15,82,71,0.4));
}

.team-body { padding: 24px 20px; }
.team-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
}
.team-role {
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 14px;
}
.team-bio {
  font-size: 0.85rem;
  color: var(--slate-light);
  line-height: 1.65;
}
.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.team-social a {
  width: 34px; height: 34px;
  background: rgba(26,123,106,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 0.85rem;
  transition: all 0.25s;
}
.team-social a:hover {
  background: var(--teal);
  color: var(--white);
}

/* ── Gallery ──────────────────────────────────────────────── */
.gallery-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--slate-mid);
  transition: all 0.25s var(--ease);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  cursor: pointer;
}

.gallery-item-inner {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease);
}
.gallery-item:hover .gallery-item-inner { transform: scale(1.06); }

.gallery-item i { font-size: 3.5rem; color: rgba(255,255,255,0.25); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,82,71,0.85), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-size: 0.875rem; font-weight: 500; }

/* ── E-book ───────────────────────────────────────────────── */
.ebook-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 100px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.ebook-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(232,151,58,0.15) 0%, transparent 60%);
}

.ebook-hero-content { position: relative; z-index: 1; }

.ebooks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.ebook-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s var(--ease);
}

.ebook-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.ebook-cover {
  height: 280px;
  position: relative;
  overflow: hidden;
}

.ebook-cover::before {
  display: none; /* removed gradient overlay — real images used */
}

.ebook-cover-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
}

.ebook-cover-inner i { font-size: 3.5rem; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.ebook-cover-inner .cover-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  font-style: italic;
}

.ebook-body { padding: 24px; }
.ebook-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--slate);
  margin-bottom: 8px;
  line-height: 1.4;
}
.ebook-author {
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 12px;
}
.ebook-desc {
  font-size: 0.875rem;
  color: var(--slate-light);
  line-height: 1.65;
  margin-bottom: 20px;
}
.ebook-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.ebook-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
}
.ebook-price span { font-size: 0.8rem; font-weight: 400; color: var(--slate-light); }

/* Payment modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,45,58,0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  transform: scale(0.95);
  transition: transform 0.3s var(--ease);
}
.modal-overlay.open .modal { transform: scale(1); }

.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.modal-header h3 { font-family: var(--font-display); font-size: 1.4rem; }
.modal-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--slate-light); padding: 4px; }

.payment-steps { margin-bottom: 24px; }
.payment-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.step-num {
  width: 28px; height: 28px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.step-text h4 { font-size: 0.9rem; font-weight: 600; color: var(--slate); margin-bottom: 3px; }
.step-text p { font-size: 0.82rem; color: var(--slate-light); line-height: 1.5; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--slate); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--slate);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-info {}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--slate);
  margin-bottom: 16px;
}
.contact-info p { color: var(--slate-light); line-height: 1.8; margin-bottom: 36px; }

.contact-cards { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius);
  transition: all 0.25s;
}
.contact-card:hover {
  background: rgba(26,123,106,0.08);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 46px; height: 46px;
  background: var(--teal);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-card-text {}
.contact-card-text h4 { font-weight: 600; font-size: 0.9rem; color: var(--slate); margin-bottom: 4px; }
.contact-card-text p, .contact-card-text a {
  font-size: 0.875rem;
  color: var(--slate-light);
  line-height: 1.6;
}
.contact-card-text a:hover { color: var(--teal); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 28px;
}

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 140px 0 80px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(232,151,58,0.12) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
  font-style: italic;
}
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 560px; margin: 0 auto 24px; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}
.breadcrumb a { color: var(--amber-light); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 0.65rem; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.quote-icon {
  font-size: 3.5rem;
  color: rgba(26,123,106,0.12);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--slate-mid);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}
.author-info h4 { font-size: 0.9rem; font-weight: 600; color: var(--slate); }
.author-info p { font-size: 0.8rem; color: var(--teal); }

.stars { color: var(--amber); font-size: 0.85rem; margin-bottom: 6px; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(232,151,58,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
  font-style: italic;
}
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 36px; font-size: 1.05rem; }
.cta-banner-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--slate);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand .nav-logo .logo-text .line1 { color: var(--white); }
.footer-brand .nav-logo .logo-text .line2 { color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 0.875rem; line-height: 1.8; color: rgba(255,255,255,0.6); margin-bottom: 24px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.25s;
}
.footer-social a:hover { background: var(--teal); color: var(--white); }

.footer-col h4 {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: all 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a:hover { color: var(--teal-light); padding-left: 4px; }
.footer-col ul li a i { font-size: 0.75rem; color: var(--teal-light); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.footer-contact li i { color: var(--amber); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: var(--teal-light); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid  { grid-template-columns: 1fr; gap: 48px; }
  .about-float-card { position: static; margin-top: 20px; display: inline-block; }
  .hero-inner  { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-stats  { justify-content: center; }
  .hero-desc   { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --section-gap: 70px; }

  .nav-links, .nav-cta { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
    z-index: 999;
  }
  .nav-links.mobile-open .nav-cta { display: block; }
  .dropdown-menu { position: static; box-shadow: none; border: none; background: var(--cream); border-radius: 10px; visibility: visible; opacity: 1; transform: none; margin-top: 4px; }
  .nav-toggle { display: flex; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .hero-title { font-size: 2.2rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; justify-content: center; }
  .nav-logo-img { height: 50px; }
  .hero-photo-frame img { height: 320px; }
  .author-photo-frame { max-width: 100% !important; aspect-ratio: unset; }
  .author-photo-frame img { height: 300px; width: 100%; object-fit: cover; object-position: top; }
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeInUp 0.7s var(--ease) forwards;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }
.fade-up-5 { animation-delay: 0.5s; }

/* Alert messages */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(26,123,106,0.1); color: var(--teal-dark); border: 1px solid rgba(26,123,106,0.2); }
.alert-error   { background: rgba(220,38,38,0.08); color: #b91c1c; border: 1px solid rgba(220,38,38,0.2); }

/* ============================================================
   BLOG & NEWS
   ============================================================ */

/* ── Category filter bar (blog listing) ───────────────────── */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-mid);
  background: var(--cream);
  border: 2px solid transparent;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  text-decoration: none;
}

.filter-tag:hover {
  color: var(--teal);
  background: rgba(26,123,106,0.07);
  border-color: rgba(26,123,106,0.2);
}

.filter-tag.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* ── Blog grid ─────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Blog card ─────────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Card thumbnail */
.blog-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}

.blog-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: rgba(255,255,255,0.35);
}

.blog-cat-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--amber);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  pointer-events: none;
}

/* Card body */
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--slate-light);
  margin-bottom: 12px;
}

.blog-card-meta i { color: var(--teal); margin-right: 4px; }

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-card-title a { color: var(--slate); transition: color 0.2s; }
.blog-card-title a:hover { color: var(--teal); }

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--slate-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.2s;
}

.blog-read-more:hover { gap: 12px; }

/* ── Empty state ───────────────────────────────────────────── */
.blog-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--slate-light);
}

.blog-empty i {
  font-size: 3.5rem;
  color: var(--teal);
  opacity: 0.25;
  margin-bottom: 20px;
  display: block;
}

.blog-empty h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--slate);
}

/* ── Share CTA (blog listing bottom) ──────────────────────── */
.blog-share-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.blog-share-cta-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.share-icon-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

.share-fb { background: #1877F2; }
.share-wa { background: #25D366; }
.share-x  { background: #000000; }
.share-ig { background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737); }

/* ── Individual post layout ────────────────────────────────── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* Meta bar */
.post-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
}

.post-meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--slate-light);
}

.post-meta-left i { color: var(--teal); margin-right: 4px; }

.post-cat-badge {
  background: rgba(26,123,106,0.1);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
}

.post-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-light);
  transition: color 0.2s;
}
.post-back-link:hover { color: var(--teal); }

/* Featured image */
.post-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  aspect-ratio: 16/7;
}

.post-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Post body — rich text styles */
.post-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--slate);
}

.post-body h2,
.post-body h3 {
  font-family: var(--font-display);
  color: var(--slate);
  margin: 36px 0 14px;
  line-height: 1.3;
}

.post-body h2 { font-size: 1.55rem; }
.post-body h3 { font-size: 1.2rem; color: var(--teal-dark); }

.post-body p  { margin-bottom: 18px; }

.post-body ul,
.post-body ol {
  margin: 0 0 20px 24px;
}

.post-body li { margin-bottom: 8px; }

.post-body ul li { list-style: disc; }
.post-body ol li { list-style: decimal; }

.post-body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 36px 0;
}

.post-body strong { font-weight: 700; color: var(--slate); }
.post-body em     { font-style: italic; }

.post-body blockquote {
  border-left: 4px solid var(--teal);
  padding: 16px 20px;
  margin: 28px 0;
  background: rgba(26,123,106,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--slate-mid);
}

/* Social share bar (below article) */
.post-share-bar {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.post-share-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.post-share-label i { color: var(--teal); }

.post-share-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.post-share-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

.post-share-fb   { background: #1877F2; }
.post-share-tw   { background: #000000; }
.post-share-wa   { background: #25D366; }
.post-share-li   { background: #0A66C2; }
.post-share-copy { background: var(--slate-mid); }

/* Author card */
.post-author-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.post-author-avatar {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.9);
}

.post-author-info { flex: 1; }
.post-author-written { font-size: 0.75rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 2px; }
.post-author-info strong { font-size: 1rem; color: var(--slate); display: block; margin-bottom: 6px; }
.post-author-info p { font-size: 0.85rem; color: var(--slate-light); margin: 0; line-height: 1.6; }

/* ── Sidebar ───────────────────────────────────────────────── */
.post-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

/* CTA widget */
.sidebar-cta {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-color: transparent;
  text-align: center;
  color: var(--white);
}

.sidebar-cta-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 14px;
}

.sidebar-cta h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.sidebar-cta p {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 0;
}

.sidebar-cta .btn-primary {
  background: var(--white);
  color: var(--teal-dark);
  border-color: var(--white);
}

.sidebar-cta .btn-primary:hover {
  background: var(--cream);
  border-color: var(--cream);
}

.sidebar-cta .btn-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.sidebar-cta .btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

/* Category list */
.sidebar-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--slate-mid);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  gap: 8px;
}

.sidebar-cat-list li:last-child a { border-bottom: none; }
.sidebar-cat-list li a:hover { color: var(--teal); }
.sidebar-cat-list li.active a { color: var(--teal); font-weight: 700; }

.sidebar-cat-list li a i { font-size: 0.7rem; color: var(--teal); flex-shrink: 0; }

.sidebar-cat-list li a span {
  margin-left: auto;
  background: var(--cream);
  color: var(--slate-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 50px;
  flex-shrink: 0;
}

/* Recent posts list */
.sidebar-recent-list li a {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 3px;
  transition: opacity 0.2s;
}

.sidebar-recent-list li:last-child a { border-bottom: none; }
.sidebar-recent-list li a:hover { opacity: 0.75; }

.sidebar-recent-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar-recent-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.4;
}

.sidebar-recent-date {
  font-size: 0.75rem;
  color: var(--slate-light);
}

/* ── Blog responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-grid          { grid-template-columns: repeat(2, 1fr); }
  .blog-grid--3       { grid-template-columns: repeat(2, 1fr); }
  .post-layout        { grid-template-columns: 1fr; }
  .post-sidebar       { position: static; }
  .blog-share-cta     { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .blog-grid    { grid-template-columns: 1fr; }
  .blog-grid--3 { grid-template-columns: 1fr; }
  .post-share-bar   { flex-direction: column; align-items: flex-start; }
  .post-author-card { flex-direction: column; }
  .blog-share-cta-icons { flex-direction: column; }
  .share-icon-btn { justify-content: center; }
}

/* ============================================================
   HOMEPAGE BLOG CAROUSEL
   ============================================================ */

/* Section header row: title left, CTA button right */
.blog-home-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* Carousel wrapper — positions nav buttons outside the track */
.blog-carousel-wrapper {
  position: relative;
}

/* Scrollable track */
.blog-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;        /* Firefox */
  padding-bottom: 8px;
  cursor: grab;
}

.blog-carousel-track:active { cursor: grabbing; }
.blog-carousel-track::-webkit-scrollbar { display: none; }

/* ── Individual carousel card ─────────────────────────────── */
.blog-carousel-card {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.blog-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Thumbnail */
.bcc-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  flex-shrink: 0;
}

.bcc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.blog-carousel-card:hover .bcc-thumb img { transform: scale(1.05); }

.bcc-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.35);
}

.bcc-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--amber);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 50px;
  pointer-events: none;
}

/* Card body */
.bcc-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bcc-meta {
  font-size: 0.76rem;
  color: var(--slate-light);
  margin-bottom: 8px;
}

.bcc-meta i { color: var(--teal); margin-right: 4px; }

.bcc-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.bcc-title a { color: var(--slate); transition: color 0.2s; }
.bcc-title a:hover { color: var(--teal); }

.bcc-excerpt {
  font-size: 0.85rem;
  color: var(--slate-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bcc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.2s;
}

.bcc-link:hover { gap: 10px; }

/* ── Prev / Next navigation buttons ──────────────────────── */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--teal);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
  z-index: 10;
}

.carousel-nav:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.carousel-prev { left: -23px; }
.carousel-next { right: -23px; }

/* ── Dot indicators ───────────────────────────────────────── */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease);
}

.carousel-dot.active {
  background: var(--teal);
  width: 24px;
  border-radius: 4px;
}

/* ── Hero responsive — poster column ─────────────────────── */
@media (max-width: 1024px) {
  .hero-poster-wrap { max-width: 340px; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-poster-col { order: -1; padding: 0; }
  .hero-poster-wrap { max-width: 280px; margin: 0 auto; }

  /* Carousel: 1 card visible on mobile */
  .blog-carousel-card { flex: 0 0 calc(100% - 0px); }
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }
  .blog-home-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  /* 2 cards on tablet */
  .blog-carousel-card { flex: 0 0 calc(50% - 12px); }
}

/* ════════════════════════════════════════════════════════════
   DONATE PAGE
   ════════════════════════════════════════════════════════════ */

/* ── Nav donate button ───────────────────────────────────── */
.nav-donate-btn { margin-right: 6px; }

/* ── Two-column donate layout ────────────────────────────── */
.donate-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

/* ── Amount preset grid ──────────────────────────────────── */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.amount-btn {
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--slate);
  padding: 12px 8px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
  text-align: center;
}

.amount-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(26,123,106,0.06);
}

.amount-btn.active {
  border-color: var(--teal);
  background: rgba(26,123,106,0.10);
  color: var(--teal);
}

/* ── Sidebar info cards ──────────────────────────────────── */
.donate-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.donate-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.donate-info-card h3 i { color: var(--teal); }

.donate-impact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.donate-impact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 10px;
}

.impact-amount {
  font-weight: 700;
  color: var(--teal);
  font-size: 0.82rem;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
  min-width: 90px;
}

.impact-desc {
  font-size: 0.85rem;
  color: var(--slate-light);
  line-height: 1.5;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .donate-layout {
    grid-template-columns: 1fr;
  }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════════════
   PAYMENT CALLBACK PAGE
   ════════════════════════════════════════════════════════════ */

/* Success / failure pages inherit section/container styles — no extra CSS needed */

/* ════════════════════════════════════════════════════════════
   MOBILE OPTIMISATION
   ════════════════════════════════════════════════════════════ */

/* ── Event teaser banner (homepage) ─────────────────────── */
.event-teaser-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.event-teaser-grid > * { min-width: 0; }
.event-teaser-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
}

/* ── 768 px ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Teaser banner stacks */
  .event-teaser-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .event-teaser-cta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  /* Shrink hero orbs so they don't create horizontal scroll */
  .hero-orb-1 { width: 300px; height: 300px; right: -60px; }
  .hero-orb-2 { width: 220px; height: 220px; left: -60px;  }

  /* Page hero padding */
  .page-hero { padding: 120px 0 60px; }
}

/* ── 480 px ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  :root { --section-gap: 56px; }

  /* Tighter side gutters */
  .container { padding: 0 16px; }

  /* Hero */
  .hero-title  { font-size: 2rem; }
  .hero-badge  { font-size: 0.75rem; padding: 6px 14px; }
  .hero-desc   { font-size: 1rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats  { gap: 18px; flex-wrap: wrap; }
  .stat-num    { font-size: 1.65rem; }
  .hero-poster-wrap { max-width: 220px; }

  /* Typography */
  .section-title { font-size: 1.65rem; }
  .section-sub   { font-size: 0.95rem; }

  /* Buttons */
  .btn { padding: 12px 22px; font-size: 0.88rem; }

  /* Page heros */
  .page-hero h1 { font-size: 1.75rem; }
  .page-hero p  { font-size: 0.95rem; }

  /* Modals */
  .modal-box {
    width: calc(100% - 32px) !important;
    margin: 16px !important;
    padding: 24px 20px !important;
    border-radius: 16px !important;
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Donate amount grid — always 2 columns on small screens */
  .amount-grid { grid-template-columns: repeat(2, 1fr); }

  /* Gallery / team / partner grids */
  .team-grid    { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  .partner-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }

  /* Footer */
  .footer-grid { gap: 24px; }

  /* Blog */
  .blog-grid    { grid-template-columns: 1fr; }
  .blog-grid--3 { grid-template-columns: 1fr; }
}
