/* =============================================
   IBOGAINE ISRAEL FOUNDATION — STYLESHEET
   ============================================= */

:root {
  --green-dark:   #0D2B52;
  --green-mid:    #1B4F8F;
  --green-light:  #3A78C9;
  --green-accent: #2E7D32;
  --gold:         #F5A623;
  --gold-light:   #FBCA6B;
  --cream:        #FAFAF5;
  --off-white:    #F0F4F8;
  --text-dark:    #1a1a1a;
  --text-mid:     #444444;
  --text-light:   #777777;
  --white:        #ffffff;
  --shadow:       0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.15);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: 'Segoe UI', 'Arial Hebrew', 'David', system-ui, sans-serif;
}

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

/* ---- Typography ---- */
h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--green-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
p  { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 1rem; }

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

/* ---- Layout Helpers ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; overflow-x: hidden; }
.section    { padding: 6rem 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--green-dark); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark p { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.btn-primary {
  background: var(--gold);
  color: #0D2B52;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.4);
}
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-mid);
}
.btn-green {
  background: var(--green-mid);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* ---- NAV ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 43, 82, 0.97);
  backdrop-filter: blur(8px);
  padding: 0.9rem 0;
  transition: var(--transition);
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}
.nav-logo-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  flex-shrink: 0;
}
.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-logo-text { font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.nav-logo-text small { font-weight: 700; font-size: 1.1rem; opacity: 0.85; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }

.lang-btn {
  background: var(--gold);
  color: #0D2B52;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.lang-btn:hover { background: var(--gold-light); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(13,43,82,0.82) 0%, rgba(27,79,143,0.72) 100%),
    url('../images/ibogain_main.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-content { max-width: 700px; }
.hero-content .section-label { font-size: 0.9rem; }
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content p   { color: rgba(255,255,255,0.85); font-size: 1.2rem; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge {
  position: absolute;
  bottom: 8rem;
  right: 6rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  color: var(--white);
  max-width: 280px;
  display: none;
}
@media(min-width: 900px) { .hero-badge { display: block; } }
.hero-badge .big-num { font-size: 2.5rem; font-weight: 800; color: var(--gold); display: block; }
.hero-badge p { font-size: 0.9rem; margin: 0; color: rgba(255,255,255,0.85); }

/* ---- STATS STRIP ---- */
.stats-strip {
  background: var(--green-mid);
  padding: 2.5rem 0;
}
.stats-strip .grid-4 { text-align: center; }
@media (max-width: 600px) {
  .stats-strip .grid-4 { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
@media (max-width: 400px) {
  .stats-strip .grid-4 { grid-template-columns: 1fr; }
}
.stat-item .stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}
.stat-item .stat-label {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---- ABOUT ---- */
.about-visual {
  position: relative;
}
.about-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--green-mid);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plant-icon {
  font-size: 8rem;
  opacity: 0.4;
}
.about-leaf {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  max-width: 180px;
}
.about-leaf strong { font-size: 1.4rem; color: #0D2B52; display: block; }
.about-leaf span   { font-size: 0.85rem; color: var(--text-mid); }

/* ---- IBOGAINE INFO CARDS ---- */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--green-accent);
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.info-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.info-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.info-card p  { font-size: 0.95rem; margin: 0; }

/* ---- RESEARCH / HIGHLIGHT ---- */
.research-highlight {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-light) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.research-highlight h3 { color: var(--gold); margin-bottom: 1rem; }
.research-highlight p  { color: rgba(255,255,255,0.88); }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.stat-box {
  text-align: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
}
.stat-box .big { font-size: 2.2rem; font-weight: 800; color: var(--gold); display: block; }
.stat-box small { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* ---- HISTORY TIMELINE ---- */
.timeline { position: relative; padding: 0 0 0 2.5rem; margin-top: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: var(--green-accent);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.05rem; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
}
.timeline-item h4 { color: var(--green-dark); margin-bottom: 0.25rem; }
.timeline-item .year {
  display: inline-block;
  background: var(--green-accent);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* ---- ISRAEL CRISIS ---- */
.crisis-grid-with-image { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.crisis-grid-image { order: -1; }
[dir="rtl"] .crisis-grid-image { order: 1; }
.crisis-content { display: flex; flex-direction: column; gap: 2rem; }
.crisis-content .text-left { margin-bottom: 0.5rem; }
.crisis-content .text-left p { margin-bottom: 0; }
.crisis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.crisis-card {
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 5px solid var(--gold);
  background: rgba(255,255,255,0.07);
}
.crisis-card .crisis-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}
@media (max-width: 1200px) {
  .crisis-grid-with-image { grid-template-columns: 1fr; }
  .crisis-grid-image { order: 0 !important; }
  .crisis-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .crisis-grid { grid-template-columns: 1fr; }
}

/* ---- LEGAL STRATEGY ---- */
.legal-grid-with-image { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; align-items: start; }
.legal-grid-image { order: 2; grid-column: 3; }
[dir="rtl"] .legal-grid-image { order: 2; grid-column: 1; }
@media (max-width: 1400px) {
  .legal-grid-with-image { grid-template-columns: 1fr 1fr; }
  .legal-grid-image { order: 0 !important; grid-column: 1 / -1; margin-top: 2rem; }
}
@media (max-width: 900px) {
  .legal-grid-with-image { grid-template-columns: 1fr; }
  .legal-grid-image { grid-column: 1; display: none; }
}

/* ---- PATH FORWARD ---- */
.path-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.path-card {
  background: var(--white);
  border: 1px solid rgba(27,79,143,0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  padding-top: 3rem;
  box-shadow: var(--shadow);
}
.path-card-wide {
  grid-column: 1 / -1;
}
.path-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--green-mid);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.path-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--green-dark); }
.path-card p  { font-size: 0.95rem; margin: 0; color: var(--text-mid); }
.path-closing {
  font-size: 1rem;
  color: var(--text-mid);
  font-style: italic;
  border-left: 4px solid var(--green-mid);
  padding: 0.75rem 1.25rem;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 900px;
}
[dir="rtl"] .path-closing { border-left: none; border-right: 4px solid var(--green-mid); border-radius: var(--radius) 0 0 var(--radius); }
@media (max-width: 700px) {
  .path-cards { grid-template-columns: 1fr; }
  .path-card-wide { grid-column: 1; }
}

/* ---- THE SOLUTION ---- */
.solution-grid-with-image { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.solution-grid-image { order: 1; }
[dir="rtl"] .solution-grid-image { order: -1; }
.solution-grid-with-image .info-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 0; }
@media (max-width: 1200px) {
  .solution-grid-with-image { grid-template-columns: 1fr; }
  .solution-grid-image { order: 0 !important; }
}
/* ---- RESEARCH ---- */
.research-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.research-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.research-image {
  position: sticky;
  top: 100px;
  border-radius: 12px;
  overflow: hidden;
  max-height: 600px;
}
.research-image img { display: block; }
[dir="rtl"] .research-layout { grid-template-columns: 1fr 2fr; }
[dir="rtl"] .research-image { order: -1; }
[dir="rtl"] .research-cards .info-card { border-left: none !important; border-right: 4px solid var(--green-mid); }
@media (max-width: 900px) {
  .research-layout { grid-template-columns: 1fr; }
  [dir="rtl"] .research-image { order: 0; }
}

.founders-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.founder-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.founder-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.founder-photo {
  height: 260px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 3px solid rgba(245,166,35,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.founder-body { padding: 2rem; }
.founder-body h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.founder-role {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.founder-body p { font-size: 0.92rem; }
.founder-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.founder-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-mid);
  border: 1px solid var(--green-mid);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  transition: var(--transition);
}
.founder-link:hover {
  background: var(--green-mid);
  color: var(--white);
}

/* ---- PROJECTS ---- */
.projects-cards-with-images .card-image-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.projects-cards-with-images .card-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-thumb {
  height: 190px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.blog-body { padding: 1.5rem; }
.blog-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.blog-tag {
  background: var(--off-white);
  color: var(--green-accent);
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.blog-body h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.blog-body p  { font-size: 0.9rem; margin-bottom: 1rem; }
.read-more {
  color: var(--green-accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}
.read-more:hover { color: var(--green-dark); gap: 0.6rem; }

/* ---- IMPACT / VOICES OF RECOVERY ---- */
.impact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1rem;
}
.impact-image {
  position: sticky;
  top: 100px;
  border-radius: 12px;
  overflow: hidden;
  max-height: 600px;
}
.impact-image img { display: block; }
.impact-quotes { display: flex; flex-direction: column; gap: 1.5rem; }
[dir="rtl"] .impact-layout { grid-template-columns: 2fr 1fr; }
[dir="rtl"] .impact-image { order: 1; }
[dir="rtl"] .impact-quotes .quote-block { border-left: none; border-right: 4px solid var(--green-mid); border-radius: var(--radius) 0 0 var(--radius); }
@media (max-width: 900px) {
  .impact-layout { grid-template-columns: 1fr; }
}

/* ---- VIDEOS ---- */
.videos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.video-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
}
.video-embed iframe {
  width: 100%; height: 100%;
  border: none;
}
.video-label {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-mid);
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--green-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--white);
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--off-white);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--transition);
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-light);
  background: var(--white);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-success {
  display: none;
  background: #e3eaf5;
  color: var(--green-dark);
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

/* ---- FOOTER ---- */
footer {
  background: #071829;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { max-width: 320px; }
.footer-brand p { font-size: 0.9rem; margin-top: 1rem; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}
.footer-logo-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  flex-shrink: 0;
}
.footer-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-col h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  max-width: 600px;
  margin-top: 0.5rem;
}

/* ---- IMPERATIVE CLOSING ---- */
.imp-closing {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(27,79,143,0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.imp-closing span {
  font-size: 1.15rem;
  color: var(--text-mid);
  font-style: italic;
}
.imp-closing-names {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.02em;
}

/* ---- Decorative ---- */
.divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1rem 0 1.75rem;
}
.divider-center { margin: 1rem auto 1.75rem; }

.quote-block {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-mid);
}

.badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.badge {
  background: var(--off-white);
  color: var(--green-dark);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(27,79,143,0.2);
}

/* ---- Disclaimer Banner ---- */
.disclaimer-banner {
  background: #fff3cd;
  border-bottom: 2px solid #ffc107;
  padding: 0.6rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: #664d03;
}

/* ---- Mobile image banners (all image+content sections) ---- */
@media (max-width: 900px) {
  .crisis-grid-image,
  .solution-grid-image,
  .impact-image,
  .research-image {
    position: static;
    max-height: 220px;
    height: 220px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    order: -1 !important;
  }
  .crisis-grid-image img,
  .solution-grid-image img,
  .impact-image img,
  .research-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center top;
  }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .hero-btns .btn { width: 100%; text-align: center; }

  /* Navbar: hamburger takes over at 900px */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 43, 82, 0.98);
    padding: 0.5rem 0;
    gap: 0;
    list-style: none;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }
  .nav-links li:last-child {
    padding: 0.85rem 1.5rem;
  }
  .nav-links .lang-btn {
    width: 100%;
    text-align: center;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
  }
  .nav-hamburger { display: flex; }

  /* RTL mobile nav */
  [dir="rtl"] .nav-links { left: 0; right: 0; text-align: right; }
  [dir="rtl"] .nav-links a { text-align: right; }
  [dir="rtl"] .nav-links li:last-child { text-align: center; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
}

/* ---- RTL overrides ---- */
[dir="rtl"] .timeline { padding: 0 2.5rem 0 0; }
[dir="rtl"] .timeline::before { left: auto; right: 10px; }
[dir="rtl"] .timeline-item::before { left: auto; right: -2.05rem; }
[dir="rtl"] .quote-block { border-left: none; border-right: 4px solid var(--gold); border-radius: var(--radius) 0 0 var(--radius); }
[dir="rtl"] .crisis-card { border-left: none; border-right: 5px solid var(--gold); }
[dir="rtl"] .about-leaf { right: auto; left: -1rem; }

/* ---- Umbrella Diagram ---- */
.umbrella-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  height: 450px;
}

.umbrella-diagram {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
}

.umb-circle {
  position: absolute;
  border-radius: 50%;
  bottom: 0px; 
  left: 50%;
  transform: translateX(-50%);
}

.umb-circle-1 {
  width: 380px;
  height: 380px;
  background-color: #699885;
  z-index: 1;
}

.umb-circle-2 {
  width: 270px;
  height: 270px;
  background-color: #416a5b;
  z-index: 2;
}

.umb-circle-3 {
  width: 170px;
  height: 170px;
  background-color: #244033;
  z-index: 3;
}

/* Base Label Styling */
.umb-label {
  position: absolute;
  width: 220px;
  z-index: 10;
}
.umb-label h3 {
  font-size: 1.1rem;
  color: var(--blue-dark);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.umb-label p {
  font-size: 0.9rem;
  color: var(--gray-medium);
  line-height: 1.35;
  margin: 0;
}

/* Connecting Lines */
.umb-line {
  position: absolute;
  background-color: #c1ccc7;
  height: 1.5px;
  z-index: 4;
}
.umb-line::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: inherit;
  border-radius: 50%;
  top: -2.5px;
}

/* Line 1 (Top Right to Circle 1) */
.umb-line-1 {
  width: 120px;
  top: 80px;
  right: -50px;
}
.umb-line-1::after { right: -3px; background-color: #699885; }

.umb-label-1 {
  top: 50px;
  left: calc(100% + 80px);
}

/* Line 2 (Middle Left to Circle 2) */
.umb-line-2 {
  width: 100px;
  top: 230px;
  left: -20px; 
}
.umb-line-2::after { left: -3px; background-color: #416a5b; }

.umb-label-2 {
  top: 195px;
  right: calc(100% + 30px);
  text-align: right;
}

/* Line 3 (Bottom Right to Circle 3) */
.umb-line-3 {
  width: 110px;
  bottom: 80px;
  right: -40px;
}
.umb-line-3::after { right: -3px; background-color: #244033; }

.umb-label-3 {
  bottom: 50px;
  left: calc(100% + 80px);
}

/* RTL overrides for umbrella */
[dir="rtl"] .umb-label-1 { left: auto; right: calc(100% + 80px); text-align: left; }
[dir="rtl"] .umb-line-1 { right: auto; left: -50px; }
[dir="rtl"] .umb-line-1::after { right: auto; left: -3px; }
[dir="rtl"] .umb-label-2 { right: auto; left: calc(100% + 30px); text-align: left; }
[dir="rtl"] .umb-line-2 { left: auto; right: -20px; }
[dir="rtl"] .umb-line-2::after { left: auto; right: -3px; }
[dir="rtl"] .umb-label-3 { left: auto; right: calc(100% + 80px); text-align: left; }
[dir="rtl"] .umb-line-3 { right: auto; left: -40px; }
[dir="rtl"] .umb-line-3::after { right: auto; left: -3px; }

/* Responsive */
@media (max-width: 900px) {
  .umbrella-diagram {
    position: relative;
    transform: none;
    top: auto; left: auto;
    margin: 0 auto;
    height: auto;
    display: flex; flex-direction: column; gap: 1.5rem; width: 100%;
  }
  .umbrella-wrapper { height: auto; margin-top: 2rem; margin-bottom: 2rem; }
  .umb-circle, .umb-line { display: none; }
  .umb-label { 
    position: static; width: 100%; text-align: center !important; 
    background: #fdfdfd; padding: 1.5rem; border-radius: 8px; 
    border-top: 4px solid var(--green-mid); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  }
  .umb-label-1 { border-color: #699885; }
  .umb-label-2 { border-color: #416a5b; }
  .umb-label-3 { border-color: #244033; }
}
