/* ==========================================================================
   Collective Progress CIC - Official Website Stylesheet
   Modern, Clean, Responsive Design
   ========================================================================== */

:root {
  /* Brand Palette (Derived from Collective Progress CIC Brand) */
  --primary-navy: #0d1b2a;
  --primary-navy-dark: #081018;
  --navy-surface: #132238;
  --navy-card: #1b2d47;
  
  --brand-pink: #f72585;
  --brand-pink-hover: #d90466;
  --brand-pink-light: #fde8f2;
  
  --brand-teal: #06d6a0;
  --brand-cyan: #00b4d8;
  --brand-teal-light: #e6fcf5;
  
  --brand-gold: #ffb703;
  --brand-gold-hover: #fb8500;
  --brand-gold-light: #fff8e6;

  /* Neutral tones */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #00b4d8;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 0;
  transition: var(--transition);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: none;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-tag {
  font-size: 0.7rem;
  color: var(--brand-teal);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Nav Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
  margin-right: 1.75rem;
  flex-wrap: nowrap;
}

.nav-link {
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.35rem 0.2rem;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-teal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-pink);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-pink) 0%, #e01a4f 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(247, 37, 133, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 37, 133, 0.55);
}

.btn-secondary {
  background: var(--brand-teal);
  color: var(--primary-navy);
  box-shadow: 0 4px 14px rgba(6, 214, 160, 0.35);
}

.btn-secondary:hover {
  background: #05be8e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 214, 160, 0.5);
}

.btn-gold {
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-hover) 100%);
  color: var(--primary-navy);
  box-shadow: 0 4px 14px rgba(255, 183, 3, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.55);
}

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

.btn-outline:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  background: rgba(6, 214, 160, 0.08);
}

.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
}

.btn-outline-dark:hover {
  background: var(--primary-navy);
  color: var(--text-white);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 60%, #152942 100%);
  color: var(--text-white);
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(247, 37, 133, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 214, 160, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-se {
  background: rgba(6, 214, 160, 0.15);
  color: var(--brand-teal);
  border: 1px solid rgba(6, 214, 160, 0.4);
}

.badge-barclays {
  background: rgba(0, 180, 216, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(0, 180, 216, 0.4);
}

.badge-cic {
  background: rgba(247, 37, 133, 0.15);
  color: #ff6b9d;
  border: 1px solid rgba(247, 37, 133, 0.4);
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero-title .highlight-pink {
  color: var(--brand-pink);
}

.hero-title .highlight-teal {
  color: var(--brand-teal);
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-gold);
  line-height: 1;
  margin-bottom: 0.25rem;
  font-family: 'Outfit', sans-serif;
}

.stat-label {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.hero-card-featured {
  background: rgba(27, 45, 71, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(12px);
  position: relative;
}

.hero-logo-center {
  width: 130px;
  height: 130px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-teal), var(--brand-gold));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-center img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.hero-card-title {
  text-align: center;
  font-size: 1.4rem;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.hero-card-sub {
  text-align: center;
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.hero-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.feature-icon-bullet {
  background: rgba(6, 214, 160, 0.2);
  color: var(--brand-teal);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-pill-alert {
  background: rgba(247, 37, 133, 0.15);
  border: 1px solid rgba(247, 37, 133, 0.3);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: #fbcfe8;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ==========================================================================
   Partners & Funders Bar
   ========================================================================== */
.funders-bar {
  background: #ffffff;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-color);
}

.funders-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.funders-header p {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

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

.funder-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #f8fafc;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-navy);
  transition: var(--transition);
}

.funder-item:hover {
  transform: translateY(-2px);
  border-color: var(--brand-pink);
  box-shadow: var(--shadow-sm);
}

.funder-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-pink);
  background: var(--brand-pink-light);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%);
  color: var(--text-white);
}

.section-dark h2, .section-dark h3 {
  color: var(--text-white);
}

.section-dark p {
  color: #cbd5e1;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-pink);
  background: var(--brand-pink-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-dark .section-tag {
  background: rgba(247, 37, 133, 0.2);
  color: #ff75a0;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Programmes Cards & Highlights
   ========================================================================== */
.programmes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
}

.programme-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.programme-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(6, 214, 160, 0.4);
}

.programme-header-banner {
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1c314e 100%);
  color: var(--text-white);
  position: relative;
}

.programme-header-banner.pink-theme {
  background: linear-gradient(135deg, #1b1227 0%, #36173d 100%);
  border-bottom: 3px solid var(--brand-pink);
}

.programme-header-banner.teal-theme {
  background: linear-gradient(135deg, #0b2228 0%, #123e42 100%);
  border-bottom: 3px solid var(--brand-teal);
}

.card-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.funder-badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.funder-badge-pill.se {
  background: var(--brand-teal);
  color: var(--primary-navy);
}

.funder-badge-pill.barclays {
  background: var(--brand-pink);
  color: var(--text-white);
}

.programme-status-pill {
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  color: var(--brand-gold);
}

.programme-title {
  font-size: 1.6rem;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.programme-subtitle {
  font-size: 0.95rem;
  color: #cbd5e1;
}

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

.programme-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.programme-details-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.programme-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-main);
}

.detail-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.detail-label {
  font-weight: 700;
  color: var(--primary-navy);
  min-width: 80px;
}

/* Poster Preview Area inside card */
.poster-preview-box {
  background: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px dashed #cbd5e1;
  cursor: pointer;
  transition: var(--transition);
}

.poster-preview-box:hover {
  background: #e2e8f0;
  border-color: var(--brand-cyan);
}

.poster-thumbnail {
  width: 80px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.poster-preview-info {
  display: flex;
  flex-direction: column;
}

.poster-preview-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.poster-preview-hint {
  font-size: 0.8rem;
  color: var(--brand-pink);
  font-weight: 600;
}

.programme-footer-cta {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
}

/* ==========================================================================
   Third Initiative Banner: The Progress Place
   ========================================================================== */
.third-programme-box {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, #101f33 0%, #182e4b 100%);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.third-prog-content h3 {
  font-size: 1.6rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.third-prog-content p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.third-pill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.third-pill-tags span {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--brand-teal);
  font-weight: 600;
}

/* ==========================================================================
   About & Impact Pillars
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.value-item {
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.value-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.value-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* About Visual / Director Quote Card */
.quote-card {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1b2f48 100%);
  color: var(--text-white);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--brand-pink);
  font-family: Georgia, serif;
  opacity: 0.6;
  margin-bottom: -1rem;
}

.quote-body {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: #f1f5f9;
  margin-bottom: 1.5rem;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.82rem;
  color: var(--brand-teal);
  margin-bottom: 0;
}

/* ==========================================================================
   Impact Stats & Community Evidence
   ========================================================================== */
.impact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.impact-card {
  background: var(--bg-card);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-pink);
}

.impact-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.impact-icon-circle.pink {
  background: var(--brand-pink-light);
  color: var(--brand-pink);
}

.impact-icon-circle.teal {
  background: var(--brand-teal-light);
  color: #059669;
}

.impact-icon-circle.gold {
  background: var(--brand-gold-light);
  color: #d97706;
}

.impact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.impact-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Interactive Registration / Contact Section
   ========================================================================== */
.registration-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.tab-nav {
  display: flex;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  flex: 1;
  padding: 1.15rem 1rem;
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.tab-btn:hover {
  color: var(--primary-navy);
  background: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
  color: var(--brand-pink);
  background: #ffffff;
  border-bottom-color: var(--brand-pink);
}

.tab-content {
  display: none;
  padding: 2.25rem;
}

.tab-content.active {
  display: block;
}

.form-intro {
  margin-bottom: 1.75rem;
}

.form-intro h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.form-intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.form-label span.req {
  color: var(--brand-pink);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-main);
  background: #ffffff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.form-checkbox-row input {
  margin-top: 4px;
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.form-feedback-msg {
  display: none;
  padding: 1rem;
  margin-top: 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
}

.form-feedback-msg.success {
  display: block;
  background: var(--brand-teal-light);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* ==========================================================================
   EasyFundraising & Community Support Section
   ========================================================================== */
.support-box {
  background: linear-gradient(135deg, #0b1a2b 0%, #15263d 100%);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: center;
}

.support-content h3 {
  font-size: 1.8rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.support-content p {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.support-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.support-step-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: var(--primary-navy);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.support-qr-box {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  color: var(--primary-navy);
}

.qr-image {
  width: 190px;
  height: 190px;
  margin: 0 auto 0.75rem;
  display: block;
}

.qr-caption {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.qr-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
}

.faq-toggle-icon {
  font-size: 1.2rem;
  color: var(--brand-pink);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Governance & CIC Assurance Banner
   ========================================================================== */
.governance-strip {
  background: #f1f5f9;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.25rem 0;
}

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

.gov-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.gov-icon {
  font-size: 1.5rem;
  color: var(--brand-teal);
  flex-shrink: 0;
}

.gov-content h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--primary-navy);
}

.gov-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--primary-navy-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: var(--text-white);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.social-pill:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.4);
}

/* Instagram Specific Components */
.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.35);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(220, 39, 67, 0.55);
  color: #ffffff;
}

.social-header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fbcfe8;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(247, 37, 133, 0.15);
  border: 1px solid rgba(247, 37, 133, 0.35);
  transition: var(--transition);
}

.social-header-link:hover {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-1px);
}

.instagram-banner-card {
  background: linear-gradient(135deg, #121c2d 0%, #2a142e 100%);
  border: 1px solid rgba(247, 37, 133, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.instagram-banner-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.instagram-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

.instagram-banner-text h4 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.instagram-banner-text p {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin-bottom: 0;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--brand-pink);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a:hover {
  color: var(--brand-teal);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #cbd5e1;
}

.footer-contact-item a {
  color: #cbd5e1;
}

.footer-contact-item a:hover {
  color: var(--brand-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

/* ==========================================================================
   Poster Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  object-fit: contain;
}

.lightbox-caption {
  color: var(--text-white);
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--text-white);
  font-size: 1.75rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  background: var(--brand-pink);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .programmes-grid {
    grid-template-columns: 1fr;
  }
  .third-programme-box {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .support-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .support-steps {
    align-items: flex-start;
    text-align: left;
  }
  .support-qr-box {
    max-width: 280px;
    margin: 0 auto;
  }
  .impact-cards-grid {
    grid-template-columns: 1fr;
  }
  .governance-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding: 0.75rem 0;
  }
  .mobile-menu-btn {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    box-shadow: var(--shadow-lg);
    margin: 0;
  }
  .main-nav.active {
    display: flex;
  }
  .header-actions .social-header-link {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-actions .btn-sm {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .governance-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .tab-nav {
    flex-direction: column;
  }
  .tab-btn {
    text-align: left;
    border-bottom: 1px solid var(--border-color);
  }
  .tab-btn.active {
    border-left: 4px solid var(--brand-pink);
    border-bottom: 1px solid var(--border-color);
  }
}
