/* ===== CSS Variables ===== */
:root {
  --purple-dark: #3d1a4f;
  --purple-mid: #6b3a7d;
  --purple-light: #e8d5f0;
  --purple-pale: #f5eefa;
  --green-light: #d4e8d5;
  --green-mid: #a8c9a9;
  --cream: #faf8f5;
  --white: #ffffff;
  --text-dark: #2c1a3a;
  --text-mid: #5a4a6a;
  --text-light: #8a7a9a;
  --accent: #8b3fa8;
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Jost', 'Helvetica Neue', sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text-dark); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Top Bar ===== */
.top-bar {
  background: var(--purple-dark);
  color: #ccc;
  font-size: 12px;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: #ccc; }
.top-bar .top-right { display: flex; gap: 16px; align-items: center; }

/* ===== Nav ===== */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #eee;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--purple-dark); line-height: 1.1; letter-spacing: 2px; text-transform: uppercase; }
.logo-text span { display: block; font-size: 13px; letter-spacing: 4px; font-weight: 400; color: var(--purple-mid); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--text-mid);
  border-radius: 4px; transition: color 0.2s;
  display: flex; align-items: center; gap: 4px;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links .dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: white; border: 1px solid #eee; border-radius: 8px;
  min-width: 180px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 200;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 16px; font-size: 13px; color: var(--text-mid); }
.dropdown-menu a:hover { background: var(--purple-pale); color: var(--accent); }
.btn-subscribe {
  background: var(--purple-dark); color: white !important;
  padding: 10px 22px !important; border-radius: 6px; font-weight: 600 !important;
  font-size: 13px !important; transition: background 0.2s !important;
}
.btn-subscribe:hover { background: var(--accent) !important; color: white !important; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px; cursor: pointer;
  transition: all 0.2s; border: none;
}
.btn-dark { background: var(--purple-dark); color: white; }
.btn-dark:hover { background: var(--accent); }
.btn-outline { background: transparent; border: 2px solid var(--purple-dark); color: var(--purple-dark); }
.btn-outline:hover { background: var(--purple-dark); color: white; }
.btn-sm { padding: 8px 20px; font-size: 12px; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--purple-pale) 0%, var(--green-light) 100%);
  padding: 80px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  min-height: 500px;
}
.hero-text h1 { font-family: var(--font-serif); font-size: 42px; line-height: 1.2; color: var(--purple-dark); margin-bottom: 20px; }
.hero-text p { color: var(--text-mid); font-size: 15px; margin-bottom: 28px; line-height: 1.7; }
.hero-image { border-radius: 16px; overflow: hidden; }
.hero-image img { width: 100%; height: 400px; object-fit: cover; }

/* ===== Page Hero ===== */
.page-hero {
  position: relative; height: 260px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(61,26,79,0.7), rgba(61,26,79,0.5));
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--font-serif); font-size: 52px; color: white; font-weight: 600; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 700px; margin: 12px auto 0; }

/* ===== Sections ===== */
section { padding: 80px 40px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title { font-family: var(--font-serif); font-size: 36px; color: var(--purple-dark); text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-mid); font-size: 15px; max-width: 600px; margin: 0 auto 50px; line-height: 1.7; }

/* ===== Cards Grid ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: white; border-radius: 12px;
  overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { font-family: var(--font-serif); font-size: 20px; color: var(--purple-dark); margin-bottom: 10px; }
.card-body p { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin-bottom: 18px; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.team-card h3 { font-family: var(--font-serif); font-size: 18px; color: var(--purple-dark); margin-bottom: 4px; }
.team-card p { font-size: 13px; color: var(--text-mid); margin-bottom: 12px; line-height: 1.5; }

/* ===== Testimonials ===== */
.testimonial-box {
  background: var(--purple-pale); border-radius: 12px; padding: 36px;
  max-width: 700px; margin: 0 auto; text-align: center;
}
.testimonial-box p { font-family: var(--font-serif); font-size: 22px; color: var(--purple-dark); line-height: 1.5; font-style: italic; margin-bottom: 16px; }
.testimonial-box .author { font-size: 13px; color: var(--text-mid); font-weight: 600; }
.stars { color: #f5a623; font-size: 18px; margin-bottom: 12px; }

/* ===== Values ===== */
.values-bg { background: var(--purple-dark); }
.values-bg .section-title { color: white; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value-item { text-align: center; color: white; }
.value-icon { font-size: 32px; margin-bottom: 12px; }
.value-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.value-item p { font-size: 13px; opacity: 0.8; line-height: 1.5; }

/* ===== CTA Strip ===== */
.cta-strip { background: var(--purple-pale); text-align: center; padding: 80px 40px; }
.cta-strip h2 { font-family: var(--font-serif); font-size: 36px; color: var(--purple-dark); margin-bottom: 12px; }
.cta-strip p { color: var(--text-mid); font-size: 15px; max-width: 560px; margin: 0 auto 28px; }
.input-group { display: flex; flex-direction: column; gap: 12px; max-width: 380px; margin: 0 auto 20px; }
.input-group input {
  padding: 13px 18px; border: 1px solid #ddd; border-radius: 8px;
  font-size: 14px; font-family: var(--font-sans); outline: none;
}
.input-group input:focus { border-color: var(--accent); }

/* ===== Issues icons ===== */
.issues-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.issue-item .icon { font-size: 36px; margin-bottom: 12px; }
.issue-item h4 { font-size: 14px; font-weight: 600; color: var(--purple-dark); }

/* ===== Split section ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse { }
.split-img { border-radius: 16px; overflow: hidden; }
.split-img img { width: 100%; height: 380px; object-fit: cover; }
.split-text h2 { font-family: var(--font-serif); font-size: 34px; color: var(--purple-dark); margin-bottom: 18px; }
.split-text p { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.split-text blockquote { font-family: var(--font-serif); font-size: 20px; color: var(--accent); font-style: italic; border-left: 3px solid var(--accent); padding-left: 18px; margin: 20px 0; }

/* ===== Green strip ===== */
.green-strip { background: var(--green-light); }
.purple-strip { background: var(--purple-pale); }
.dark-strip { background: var(--purple-dark); }

/* ===== Who we help ===== */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.who-card { background: white; border-radius: 12px; padding: 32px; }
.who-card h3 { font-family: var(--font-serif); font-size: 20px; color: var(--purple-dark); margin-bottom: 12px; }
.who-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ===== Accreditation ===== */
.accred-strip { display: flex; gap: 32px; align-items: center; justify-content: center; flex-wrap: wrap; }
.accred-strip img { height: 50px; filter: grayscale(30%); opacity: 0.8; }
.accred-text { text-align: center; font-family: var(--font-serif); font-size: 24px; color: var(--purple-dark); margin-bottom: 32px; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid #eee; padding: 20px 0; cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; color: var(--purple-dark); }
.faq-a { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-top: 12px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { font-size: 20px; color: var(--accent); transition: transform 0.2s; }

/* ===== Blog cards ===== */
.blog-meta { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.blog-card .card-body h3 { font-size: 17px; }

/* ===== Press logos ===== */
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.press-card { border: 1px solid #eee; border-radius: 12px; padding: 28px; }
.press-card .press-logo { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--purple-dark); margin-bottom: 12px; }
.press-card p { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; }

/* ===== Podcast ===== */
.podcast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.podcast-card { text-align: center; }
.podcast-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.podcast-card h4 { font-size: 14px; font-weight: 600; color: var(--purple-dark); margin-bottom: 6px; }
.podcast-card p { font-size: 12px; color: var(--text-mid); line-height: 1.5; margin-bottom: 10px; }

/* ===== Footer ===== */
footer {
  background: var(--purple-dark); color: rgba(255,255,255,0.85);
  padding: 60px 40px 30px;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer-col h4 { color: white; font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.footer-col p { font-size: 13px; line-height: 1.8; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.7); display: inline-block; margin: 2px 12px 2px 0; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; font-size: 12px; color: rgba(255,255,255,0.5); display: flex; justify-content: space-between; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  width: 32px; height: 32px; background: rgba(255,255,255,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: background 0.2s;
}
.social-links a:hover { background: var(--accent); }
.footer-logo { font-family: var(--font-serif); font-size: 24px; font-weight: 700; letter-spacing: 2px; color: white; text-transform: uppercase; margin-bottom: 4px; }
.footer-logo span { font-size: 11px; letter-spacing: 4px; font-weight: 400; color: rgba(255,255,255,0.6); display: block; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.pale-bg { background: var(--purple-pale); }
.green-bg { background: var(--green-light); }

/* ===== Mobile Nav Toggle ===== */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 24px; color: var(--purple-dark); padding: 4px 8px;
}

/* ===== Responsive (basic) ===== */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  nav { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 70px; left: 0; right: 0;
    background: white; flex-direction: column; padding: 16px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 300;
  }
  .nav-links.nav-open { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 16px; }
}
