/* ==========================================================================
   Canadian Women's Empowerment Association (CWEA)
   Official Modern Responsive Stylesheet
   Supports English (LTR), Français (LTR), دری (RTL), and پښتو (RTL)
   ========================================================================== */

:root {
  --primary-color: #c41e3a;       /* Canadian Crimson */
  --primary-dark: #961227;
  --primary-light: #fbebee;
  --secondary-color: #1e5e3a;     /* Afghan Emerald */
  --secondary-dark: #144229;
  --secondary-light: #eef7f2;
  --accent-gold: #c99700;         /* Warm Gold Accent */
  --accent-gold-light: #fef9e7;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  
  --border-color: #e2e8f0;
  --border-focus: #c41e3a;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1320px;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-rtl: 'Vazirmatn', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* RTL Typography & Direction overrides */
[dir="rtl"] {
  font-family: var(--font-rtl);
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .font-serif,
[dir="rtl"] h1, 
[dir="rtl"] h2, 
[dir="rtl"] h3 {
  font-family: var(--font-rtl);
  font-weight: 700;
  letter-spacing: normal;
}

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

a:hover {
  color: var(--primary-dark);
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

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

.section-dark {
  background-color: var(--bg-dark);
  color: #f8fafc;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-color);
  background-color: var(--primary-light);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-badge.badge-green {
  color: var(--secondary-color);
  background-color: var(--secondary-light);
}

.section-badge.badge-gold {
  color: #946c00;
  background-color: var(--accent-gold-light);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: #ffffff;
}

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

.section-dark .section-subtitle {
  color: #e2e8f0;
}

/* --------------------------------------------------------------------------
   Top Utility Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--bg-dark);
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1010;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.top-bar-item a {
  color: #f1f5f9;
  text-decoration: none;
  transition: var(--transition);
}

.top-bar-item a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-selector-top {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-full);
}

.lang-btn {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.2;
}

.lang-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
  color: #ffffff;
  background-color: var(--primary-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   Site Header: Brand Bar + Desktop Navigation Bar
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Tier 1: Brand & Actions Bar */
.brand-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  transition: var(--transition);
}

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

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 56px;
  width: auto;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.brand-wrapper:hover .brand-logo {
  transform: scale(1.04);
}

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

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.brand-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.25;
  margin-top: 0.15rem;
}

.brand-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-lang-pills {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--bg-alt);
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.brand-lang-pills .lang-btn {
  color: var(--text-muted);
}

.brand-lang-pills .lang-btn:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.05);
}

.brand-lang-pills .lang-btn.active {
  color: #ffffff;
  background: var(--primary-color);
}

.btn-join-header {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(196, 30, 58, 0.25);
  white-space: nowrap;
}

.btn-join-header:hover {
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.35);
  transform: translateY(-1px);
}

/* Mobile Hamburger Toggle */
.mobile-toggle-btn {
  display: none;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-size: 1.25rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  align-items: center;
  justify-content: center;
}

.mobile-toggle-btn:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  border-color: rgba(196, 30, 58, 0.3);
}

/* Tier 2: Desktop Navigation Bar (Sticky) */
.nav-bar-desktop {
  position: sticky;
  top: 0;
  z-index: 990;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.site-header.scrolled .nav-bar-desktop,
.nav-bar-desktop.is-sticky {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.1rem;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.8rem 0.42rem;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.nav-link .nav-icon {
  font-size: 0.76rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: var(--primary-light);
}

.nav-link:hover .nav-icon {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 700;
  background-color: rgba(196, 30, 58, 0.05);
}

.nav-link.active .nav-icon {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.42rem;
  right: 0.42rem;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   Mobile Off-Canvas Navigation Drawer
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #ffffff;
  z-index: 2600;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.mobile-drawer.open {
  right: 0;
}

[dir="rtl"] .mobile-drawer {
  right: auto;
  left: -340px;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.15);
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .mobile-drawer.open {
  left: 0;
}

.mobile-drawer-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-alt);
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 2px;
  border: 1px solid var(--border-color);
}

.drawer-brand-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
}

.drawer-brand-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--secondary-color);
  font-weight: 600;
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-drawer-close:hover {
  color: var(--primary-color);
  background: rgba(196, 30, 58, 0.1);
}

.mobile-drawer-lang {
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.drawer-section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.drawer-lang-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}

.drawer-lang-buttons .lang-btn {
  text-align: center;
  padding: 0.4rem 0.2rem;
  font-size: 0.8rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
}

.drawer-lang-buttons .lang-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.mobile-drawer-nav {
  padding: 1rem 0;
  overflow-y: auto;
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: var(--transition);
}

[dir="rtl"] .mobile-nav-link {
  border-left: none;
  border-right: 3px solid transparent;
}

.mobile-nav-link i {
  font-size: 1rem;
  width: 22px;
  color: var(--text-muted);
  text-align: center;
  transition: var(--transition);
}

.mobile-nav-link:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

.mobile-nav-link:hover i {
  color: var(--primary-color);
}

.mobile-nav-link.active {
  background: var(--primary-light);
  color: var(--primary-color);
  font-weight: 700;
  border-left-color: var(--primary-color);
}

[dir="rtl"] .mobile-nav-link.active {
  border-left-color: transparent;
  border-right-color: var(--primary-color);
}

.mobile-nav-link.active i {
  color: var(--primary-color);
}

.mobile-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-alt);
}

.drawer-contact-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(196, 30, 58, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

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

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

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

.btn-gold {
  background-color: var(--accent-gold);
  color: #ffffff;
}

.btn-gold:hover {
  background-color: #b08400;
  color: #ffffff;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #fefefe 0%, #f7f9fa 50%, #f3f6f9 100%);
  padding: 5rem 0 6rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(rgba(196, 30, 58, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

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

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(196, 30, 58, 0.2);
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

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

.hero-title {
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
}

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

.stat-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Media Showcase */
.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 8px solid #ffffff;
  background: #ffffff;
}

.hero-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-card-stack:hover .hero-img-main {
  transform: scale(1.02);
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary-color);
}

[dir="rtl"] .hero-floating-badge {
  border-left: none;
  border-right: 4px solid var(--primary-color);
}

.floating-badge-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.floating-badge-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

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

.legal-box {
  background-color: #f1f5f9;
  border-left: 4px solid var(--secondary-color);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
}

[dir="rtl"] .legal-box {
  border-left: none;
  border-right: 4px solid var(--secondary-color);
}

.legal-box p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.about-cards-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.about-mission-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  transition: var(--transition);
}

.about-mission-card.vision-card {
  border-top-color: var(--secondary-color);
}

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

.mission-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.vision-card .mission-icon {
  background-color: var(--secondary-light);
  color: var(--secondary-color);
}

.about-mission-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.about-mission-card p {
  color: var(--text-muted);
  line-height: 1.65;
}

/* Core Values & Goals */
.values-container {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.value-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.value-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Strategic Goals List */
.goals-wrapper {
  margin-top: 3rem;
  background: #ffffff;
  padding: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.goals-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.goals-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.goal-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.goal-item i {
  color: var(--secondary-color);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Founder & President Section
   -------------------------------------------------------------------------- */
.founder-section {
  background: linear-gradient(to bottom, #ffffff, #f9fafb);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.founder-images-wrapper {
  position: relative;
}

.founder-img-primary {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 6px solid #ffffff;
  object-fit: cover;
  max-height: 520px;
}

.founder-quote-card {
  position: absolute;
  bottom: -2rem;
  right: -1.5rem;
  max-width: 380px;
  background: #ffffff;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--accent-gold);
}

[dir="rtl"] .founder-quote-card {
  right: auto;
  left: -1.5rem;
  border-left: none;
  border-right: 4px solid var(--accent-gold);
}

.founder-quote-card i {
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.founder-quote-card p {
  font-size: 0.925rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.5;
}

.founder-bio-content {
  padding-right: 1.5rem;
}

[dir="rtl"] .founder-bio-content {
  padding-right: 0;
  padding-left: 1.5rem;
}

.founder-name {
  font-size: 2.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.founder-title-badge {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.founder-bio-content p {
  font-size: 1.025rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.founder-tag {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   Programs Section
   -------------------------------------------------------------------------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.program-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.program-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.program-card:hover .program-icon-box {
  background-color: var(--primary-color);
  color: #ffffff;
}

.program-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.program-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}

.program-disclaimer {
  text-align: center;
  margin-top: 3rem;
  padding: 1.25rem;
  background-color: var(--bg-alt);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 1px dashed var(--border-color);
}

/* --------------------------------------------------------------------------
   Events & Activities Section
   -------------------------------------------------------------------------- */
.events-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 20px;
  width: 2px;
  background-color: var(--border-color);
}

[dir="rtl"] .timeline::before {
  left: auto;
  right: 20px;
}

.timeline-item {
  position: relative;
  padding-left: 55px;
  margin-bottom: 2.25rem;
  transition: var(--transition);
}

[dir="rtl"] .timeline-item {
  padding-left: 0;
  padding-right: 55px;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  left: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 4px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

[dir="rtl"] .timeline-dot {
  left: auto;
  right: 11px;
}

.timeline-item[data-type="guest"] .timeline-dot {
  border-color: var(--secondary-color);
}

.timeline-item[data-type="civic"] .timeline-dot {
  border-color: var(--accent-gold);
}

.timeline-item[data-type="media"] .timeline-dot {
  border-color: #6366f1;
}

.timeline-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 30, 58, 0.3);
}

.timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.event-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-cwea {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.badge-guest {
  background-color: var(--secondary-light);
  color: var(--secondary-color);
}

.badge-civic {
  background-color: var(--accent-gold-light);
  color: #946c00;
}

.badge-media {
  background-color: #ede9fe;
  color: #6d28d9;
}

.badge-archive {
  background-color: #f1f5f9;
  color: #475569;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.timeline-location {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Photo Gallery Section
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-thumb-box {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.gallery-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-thumb-box img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.gallery-info {
  padding: 1.15rem 1.25rem;
}

.gallery-event-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.gallery-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.lightbox-img-wrapper {
  background-color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 65vh;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
}

.lightbox-caption {
  padding: 1.25rem 1.75rem;
  background: #ffffff;
}

.lightbox-caption h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.lightbox-caption p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

[dir="rtl"] .lightbox-close {
  right: auto;
  left: 1.5rem;
}

.lightbox-close:hover {
  background: var(--primary-color);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.lightbox-nav-btn:hover {
  background: #ffffff;
  color: var(--primary-color);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

/* --------------------------------------------------------------------------
   Videos & Media Section
   -------------------------------------------------------------------------- */
.media-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.media-highlight-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.media-highlight-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.media-highlight-card h3 i {
  color: var(--primary-color);
}

.media-highlight-card p {
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

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

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

.video-thumb-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  background-color: #0f172a;
}

.video-thumb-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background-color: rgba(196, 30, 58, 0.9);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.video-card:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #ff0000;
}

.video-details {
  padding: 1.25rem;
}

.video-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.video-meta {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.media-disclaimer {
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 850px;
  margin: 3rem auto 0 auto;
  text-align: center;
  padding: 1.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   Annual Reports & Governance Section
   -------------------------------------------------------------------------- */
.report-hero-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  box-shadow: var(--shadow-xl);
  margin-bottom: 3.5rem;
}

.report-hero-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.report-meta-tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
}

.report-hero-text p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.report-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.report-visual-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.report-icon-large {
  font-size: 4rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.report-pages-badge {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.report-lang-availability {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Governance & Legal Disclosure Card */
.gov-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.gov-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.gov-card h4 i {
  color: var(--secondary-color);
}

.gov-card p {
  color: var(--text-muted);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Membership Section
   -------------------------------------------------------------------------- */
.membership-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.draft-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #fff7ed;
  border: 1px solid #ffedd5;
  color: #c2410c;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.membership-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.tier-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
}

.tier-card.featured {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.tier-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.tier-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  background: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.tier-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.tier-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.tier-price-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tier-body {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.tier-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Guidelines and 2027 Priorities */
.rules-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.rules-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.rules-title i {
  color: var(--secondary-color);
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.975rem;
  color: var(--text-muted);
}

.rule-item i {
  color: var(--primary-color);
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.priorities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.priority-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 3px solid var(--secondary-color);
}

/* --------------------------------------------------------------------------
   Contact Us Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.contact-card p,
.contact-card a {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

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

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15);
}

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

.form-privacy-note {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .brand-title {
  color: #ffffff;
}

.footer-brand .brand-subtitle {
  color: #cbd5e1;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #f59e0b;
  padding-left: 4px;
}

[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 4px;
}

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

.footer-bottom p {
  color: #cbd5e1;
}

/* Back to Top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  transition: var(--transition);
}

[dir="rtl"] .back-to-top {
  right: auto;
  left: 2rem;
}

.back-to-top.visible {
  display: flex;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Modal Reader for 2026 Report */
.report-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.report-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
}

.report-modal-header {
  padding: 1.25rem 1.75rem;
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.report-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.report-modal-body {
  padding: 2rem;
  overflow-y: auto;
  line-height: 1.75;
  color: var(--text-main);
}

.report-modal-body h4 {
  color: var(--primary-color);
  margin: 1.5rem 0 0.5rem 0;
}

.report-modal-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

[dir="rtl"] .report-modal-body ul {
  padding-left: 0;
  padding-right: 1.5rem;
}

/* Toast notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  z-index: 3000;
  opacity: 0;
  transition: all 0.35s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Scroll Offsets for Sticky Navigation
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

section,
.section,
#home,
#about,
#founder,
#programs,
#events,
#gallery,
#media,
#reports,
#membership,
#contact {
  scroll-margin-top: 80px;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1360px) {
  .nav-link {
    font-size: 0.77rem;
    padding: 0.8rem 0.32rem;
    gap: 0.24rem;
  }

  .nav-link .nav-icon {
    font-size: 0.72rem;
  }

  .nav-link::after {
    left: 0.32rem;
    right: 0.32rem;
  }
}

@media (max-width: 1240px) {
  .nav-link {
    font-size: 0.81rem;
    padding: 0.8rem 0.45rem;
  }

  .nav-link .nav-icon {
    display: none;
  }

  .nav-link::after {
    left: 0.45rem;
    right: 0.45rem;
  }
}

@media (max-width: 1120px) {
  .nav-bar-desktop {
    display: none;
  }
  
  .brand-lang-pills {
    display: none;
  }
  
  .mobile-toggle-btn {
    display: flex;
  }
  
  .brand-title {
    font-size: 1.15rem;
  }
  
  .brand-subtitle {
    font-size: 0.8rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .founder-grid,
  .report-hero-box,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .programs-grid,
  .gallery-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .priorities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .founder-quote-card {
    position: static;
    margin-top: 1.5rem;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .top-bar-item:nth-child(2),
  .top-bar-item:nth-child(3) {
    display: none;
  }
  
  .brand-wrapper {
    gap: 0.65rem;
  }
  
  .brand-logo {
    height: 48px;
  }
  
  .brand-title {
    font-size: 1rem;
    line-height: 1.15;
  }
  
  .brand-subtitle {
    font-size: 0.72rem;
  }
  
  .btn-join-header {
    display: none;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .programs-grid,
  .gallery-grid,
  .video-grid,
  .values-grid,
  .membership-tiers,
  .media-highlight-grid,
  .goals-list {
    grid-template-columns: 1fr;
  }
  
  .priorities-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 1.95rem;
  }
  
  .hero-title {
    font-size: 2.15rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   Video Modal & Tab Enhancements
   -------------------------------------------------------------------------- */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.video-modal-dialog {
  background: #000000;
  width: 100%;
  max-width: 860px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.video-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #111827;
  color: #ffffff;
}

.video-modal-header h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.video-modal-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.video-modal-close:hover {
  color: #ffffff;
}

.video-responsive-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-responsive-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.report-tab-btn {
  background: none;
  border: none;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.report-tab-btn:hover {
  color: var(--primary-color);
  background-color: var(--primary-light);
}

.report-tab-btn.active {
  color: #ffffff;
  background-color: var(--primary-color);
}

