/*
Theme Name: Smile for Hope Nepal
Theme URI: https://smile4hope.org
Author: Smile for Hope Nepal
Author URI: https://smile4hope.org
Description: Modern, professional WordPress theme for Smile for Hope Nepal – a non-profit dedicated to educating children, empowering women, and building lasting change in Nepal. Designed to match the Figma website design with purple/blue gradients, impact stats, programmes, stories and donation CTAs.
Version: 1.5.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smile-for-hope-nepal
Tags: nonprofit, charity, ngo, education, custom-menu, featured-images, full-width-template, theme-options
*/

/* ========== CSS Variables ========== */
:root {
  --primary: #5b2c8a;
  --primary-dark: #3d1a66;
  --primary-light: #7b4cb0;
  --accent: #2b7de9;
  --accent-light: #4a9af5;
  --purple-gradient: linear-gradient(135deg, #4a1c7a 0%, #2b1a5e 50%, #1a0f3d 100%);
  --hero-gradient: linear-gradient(135deg, rgba(74, 28, 122, 0.92) 0%, rgba(43, 26, 94, 0.88) 100%);
  --text-dark: #1a1a2e;
  --text-muted: #5a5a7a;
  --text-light: #ffffff;
  --bg-light: #f8f7fc;
  --bg-white: #ffffff;
  --card-bg: #ffffff;
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --shadow: 0 10px 40px rgba(74, 28, 122, 0.12);
  --shadow-lg: 0 20px 60px rgba(74, 28, 122, 0.18);
  --font-heading: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --transition: all 0.3s ease;
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, .btn {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ========== Container ========== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #5b2c8a, #2b7de9);
  color: white;
  box-shadow: 0 4px 20px rgba(91, 44, 138, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(91, 44, 138, 0.45);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.btn-white {
  background: white;
  color: var(--primary);
}

.btn-white:hover {
  background: #f0eef8;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--primary);
  border: 1px solid #e0d8f0;
}

.btn-secondary:hover {
  background: #eee8f8;
}

/* ========== Header / Navigation ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.site-logo .logo-text {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  line-height: 1.2;
}

.site-logo .logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  padding: 0.5rem 0.9rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav a.current-menu-item,
.main-nav .current_page_item a {
  color: var(--primary);
  background: rgba(91, 44, 138, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-donate {
  background: linear-gradient(135deg, #5b2c8a, #2b7de9);
  color: white;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(91, 44, 138, 0.3);
}

.btn-donate:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(91, 44, 138, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--purple-gradient);
  color: white;
  padding: 7rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="70" r="1.2" fill="rgba(255,255,255,0.04)"/></svg>');
  opacity: 0.6;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  color: white;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero h1 .highlight {
  color: #7dd3fc;
  display: block;
}

.hero-text {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

.stat-card .stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.stat-card .stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  display: block;
  line-height: 1.2;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.25rem;
}

/* Trust bar */
.trust-bar {
  background: linear-gradient(90deg, #2b7de9, #5b2c8a);
  padding: 0.9rem 0;
  color: white;
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ========== Sections common ========== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
}

/* ========== Who We Are ========== */
.who-we-are {
  background: var(--bg-light);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.who-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.who-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.who-badge {
  position: absolute;
  background: var(--primary);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.who-badge.top {
  top: 1.25rem;
  right: 1.25rem;
}

.who-badge.bottom {
  bottom: 1.25rem;
  left: 1.25rem;
  background: linear-gradient(135deg, #5b2c8a, #2b7de9);
}

.who-content h2 {
  margin-bottom: 1.25rem;
}

.who-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* ========== Impact Numbers ========== */
.impact-section {
  background: var(--purple-gradient);
  color: white;
  text-align: center;
}

.impact-section h2 {
  color: white;
  margin-bottom: 0.75rem;
}

.impact-section .section-label {
  color: rgba(255,255,255,0.7);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.impact-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  transition: var(--transition);
}

.impact-card:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-4px);
}

.impact-card .number {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.35rem;
  color: white;
}

.impact-card .label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.impact-link {
  display: inline-block;
  margin-top: 2.5rem;
  color: white;
  font-weight: 600;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
}

.impact-link:hover {
  border-color: white;
}

/* ========== Programmes ========== */
.programmes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.programme-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid #eee8f5;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.programme-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.programme-card:nth-child(1) .programme-icon { background: #ede7f6; }
.programme-card:nth-child(2) .programme-icon { background: #e3f2fd; }
.programme-card:nth-child(3) .programme-icon { background: #f3e5f5; }
.programme-card:nth-child(4) .programme-icon { background: #e8f5e9; }

.programme-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.programme-card p {
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.programme-card .learn-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.programme-card .learn-more:hover {
  color: var(--accent);
}

/* ========== Photo strip ========== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  overflow: hidden;
}

.photo-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.photo-strip img:hover {
  transform: scale(1.05);
}

/* ========== Stories ========== */
.stories-section {
  background: var(--bg-light);
}

.story-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  position: relative;
}

.story-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.story-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.3rem;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.story-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.story-author .name {
  font-weight: 700;
  color: var(--text-dark);
}

.story-author .role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.story-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.story-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0c8e0;
}

.story-dots span.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* ========== CTA / Make a Difference ========== */
.cta-section {
  padding: 0 1.5rem 5rem;
}

.cta-box {
  background: var(--purple-gradient);
  border-radius: 24px;
  padding: 4rem 3rem;
  color: white;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.cta-box::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 50%;
  height: 140%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content .section-label {
  color: rgba(255,255,255,0.7);
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.75rem;
  max-width: 480px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========== Partners ========== */
.partners-section {
  padding: 3rem 0;
  background: white;
  text-align: center;
}

.partners-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
  opacity: 0.7;
}

.partners-logos span {
  font-weight: 700;
  font-size: 1.1rem;
  color: #666;
  letter-spacing: 0.02em;
}

/* ========== Final CTA bar ========== */
.final-cta {
  background: linear-gradient(90deg, #3d1a66, #5b2c8a);
  padding: 2.5rem 0;
  color: white;
}

.final-cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.final-cta h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.final-cta p {
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ========== Footer ========== */
.site-footer {
  background: #1a0f2e;
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .site-logo {
  margin-bottom: 1rem;
}

.footer-brand .site-logo .logo-text {
  color: white;
}

.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--primary-light);
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  margin-left: 1.25rem;
}

.footer-bottom a:hover {
  color: white;
}

/* ========== Page templates (inner pages) ========== */
.page-hero {
  background: var(--purple-gradient);
  color: white;
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-hero h1 {
  color: white;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.page-content {
  padding: 4rem 0;
}

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

.content-box h2 {
  margin: 2rem 0 1rem;
}

.content-box p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #e0d8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 44, 138, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Donate page */
.donate-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.donate-card {
  background: white;
  border: 2px solid #eee8f5;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.donate-card:hover,
.donate-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.donate-card.featured {
  transform: scale(1.03);
  border-width: 2px;
}

.donate-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.75rem 0;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    max-width: 400px;
  }
  .who-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }
  .programmes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .photo-strip img:nth-child(n+4) {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .donate-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .main-nav.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .header-actions .btn-donate {
    display: none;
  }
  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .programmes-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .final-cta .container {
    flex-direction: column;
    text-align: center;
  }
  .photo-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Hero Slider ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  padding: 0;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
}

.hero-slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 5;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: white;
  border-color: white;
  width: 28px;
  border-radius: 5px;
}

.hero-inner {
  position: relative;
  z-index: 4;
  padding: 7rem 1.5rem 5rem;
  width: 100%;
}

.hero-slide-caption {
  position: absolute;
  bottom: 4rem;
  left: 2rem;
  background: rgba(0,0,0,0.4);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  z-index: 3;
}

/* Programme icons – premium SVG style */
.programme-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.programme-icon svg {
  color: var(--primary);
}

.icon-education { background: #ede7f6; }
.icon-women { background: #e3f2fd; }
.icon-health { background: #fce4ec; }
.icon-livelihood { background: #e8f5e9; }

.icon-education svg { color: #5b2c8a; }
.icon-women svg { color: #1565c0; }
.icon-health svg { color: #c2185b; }
.icon-livelihood svg { color: #2e7d32; }

/* Journey / Stories timeline */
.journey-timeline {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 3px;
}

.journey-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.75rem;
}

.journey-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(91, 44, 138, 0.15);
}

.journey-year {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(91, 44, 138, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.journey-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.journey-content p {
  margin: 0;
  font-size: 1rem;
}

/* CTA with image */
.cta-box-with-image {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.cta-box-with-image .cta-content {
  padding: 3.5rem 3rem;
}

.cta-box-with-image .cta-image {
  position: relative;
  min-height: 320px;
}

.cta-box-with-image .cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

@media (max-width: 900px) {
  .cta-box-with-image {
    grid-template-columns: 1fr;
  }
  .cta-box-with-image .cta-image {
    min-height: 240px;
    order: -1;
  }
  .journey-timeline {
    padding-left: 1.5rem;
  }
}

/* Programme cards with photos */
.programmes-with-photos .programme-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.programme-photo {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.programme-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.programme-card:hover .programme-photo img {
  transform: scale(1.06);
}

.programme-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.programme-body .programme-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.9rem;
}

.programme-body h3 {
  margin-bottom: 0.5rem;
}

.programme-body p {
  flex-grow: 1;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

/* About page – Values icons */
.icon-dignity { background: #ede7f6; }
.icon-transparency { background: #e3f2fd; }
.icon-sustainability { background: #e8f5e9; }
.icon-accountability { background: #fff3e0; }

.icon-dignity svg { color: #5b2c8a; }
.icon-transparency svg { color: #1565c0; }
.icon-sustainability svg { color: #2e7d32; }
.icon-accountability svg { color: #ef6c00; }

/* Values icons on About page */
.icon-dignity { background: #fce4ec; }
.icon-dignity svg { color: #c2185b; }
.icon-transparency { background: #e3f2fd; }
.icon-transparency svg { color: #1565c0; }
.icon-sustainability { background: #e8f5e9; }
.icon-sustainability svg { color: #2e7d32; }
.icon-accountability { background: #ede7f6; }
.icon-accountability svg { color: #5b2c8a; }

/* ========== Team Gallery ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 1rem;
}

.team-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #eee8f5;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.team-photo {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #f0eef8;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.04);
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0a0c8;
  background: linear-gradient(135deg, #f0eef8, #e8e0f5);
}

.team-info {
  padding: 1.35rem 1.4rem 1.6rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team-name {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.team-role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: rgba(91, 44, 138, 0.1);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.team-bio p:last-child {
  margin-bottom: 0;
}

.team-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-photo {
    height: 220px;
  }
}

/* ========== Funds pie chart ========== */
.funds-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.funds-chart-wrap {
  display: flex;
  justify-content: center;
}

.funds-pie {
  position: relative;
  width: 280px;
  height: 280px;
}

.funds-pie-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pie-segment {
  stroke-width: 3.8;
  transition: stroke-width 0.3s ease;
}

.pie-education { stroke: #5b2c8a; }
.pie-women { stroke: #2b7de9; }
.pie-health { stroke: #e91e63; }
.pie-admin { stroke: #90a4ae; }

.funds-pie:hover .pie-segment {
  stroke-width: 4.2;
}

.funds-pie-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.funds-pie-big {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.funds-pie-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.2rem;
}

.funds-legend-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.funds-legend-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #ebe6f3;
}

.funds-legend-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.legend-education { background: #5b2c8a; }
.legend-women { background: #2b7de9; }
.legend-health { background: #e91e63; }
.legend-admin { background: #90a4ae; }

.funds-legend-list strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.funds-legend-list span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.funds-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .funds-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .funds-pie {
    width: 240px;
    height: 240px;
  }
  .funds-pie-big {
    font-size: 2rem;
  }
}

/* ========== Manifesto ========== */
.manifesto-section {
  background: white;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.manifesto-item {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 1.35rem 1.4rem;
  background: var(--bg-light);
  border-radius: 14px;
  border: 1px solid #eee8f5;
  transition: var(--transition);
}

.manifesto-item:hover {
  border-color: #d4c8e8;
  box-shadow: 0 8px 28px rgba(74, 28, 122, 0.08);
  transform: translateY(-2px);
}

.manifesto-num {
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  min-width: 2rem;
}

.manifesto-item p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-dark);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Blog ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #eee8f5;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-card-image {
  display: block;
  height: 200px;
  overflow: hidden;
  background: #f0eef8;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0a0c8;
  background: linear-gradient(135deg, #f0eef8, #e8e0f5);
}

.blog-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.blog-cat {
  color: var(--primary);
  font-weight: 600;
}

.blog-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1rem;
}

.blog-pagination {
  margin-top: 3rem;
  text-align: center;
}

.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid #e0d8f0;
  color: var(--text-dark);
}

.blog-pagination a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.blog-pagination .current {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.blog-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  color: var(--text-muted);
}

/* Single post */
.page-hero-post h1 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.post-hero-meta {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.75rem;
}

.single-post-featured {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.single-post-featured img {
  width: 100%;
  height: auto;
  display: block;
}

.single-post-content {
  font-size: 1.08rem;
  line-height: 1.75;
}

.single-post-content h2,
.single-post-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.single-post-content p {
  margin-bottom: 1.25rem;
}

.single-post-content img {
  border-radius: 12px;
  margin: 1.5rem 0;
}

.single-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee8f5;
}

.post-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--bg-light);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

.post-tag:hover {
  background: rgba(91, 44, 138, 0.12);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee8f5;
  font-weight: 600;
  font-size: 0.95rem;
}

.post-navigation a {
  color: var(--primary);
}

.post-navigation a:hover {
  text-decoration: underline;
}
