/* ========================================
   StillHere Care — v5
   ======================================== */

:root {
  --green: #1B6B4A;
  --green-pale: #F0F7F3;
  --bg: #FAFAF8;
  --text: #111;
  --text-mid: #444;
  --text-muted: #888;
  --border: #E8E8E4;
  --white: #fff;
  --radius: 12px;
  --ease: 0.25s ease;
  --font-en: 'Inter', system-ui, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-en);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body[dir="rtl"] { font-family: var(--font-ar); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::selection { background: rgba(27, 107, 74, 0.12); }

.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Type ---- */

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.05rem; }

p { color: var(--text-mid); font-size: 0.92rem; line-height: 1.7; }

.label-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  display: block;
}

body[dir="rtl"] .label-tag,
body[dir="rtl"] .section-label { letter-spacing: 0; }

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  display: block;
}

/* ---- Nav ---- */

.nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.04); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links a {
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

body[dir="rtl"] .nav-links a::after {
  transform-origin: left;
}
body[dir="rtl"] .nav-links a:hover::after,
body[dir="rtl"] .nav-links a.active::after {
  transform-origin: right;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.lang-toggle {
  display: flex;
  gap: 0;
  margin-left: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

body[dir="rtl"] .lang-toggle { margin-left: 0; margin-right: 12px; }

.lang-toggle button {
  border: none;
  background: transparent;
  padding: 5px 11px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  font-family: inherit;
  transition: all var(--ease);
}

.lang-toggle button.active {
  background: var(--text);
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all var(--ease);
}

.mobile-menu-btn span:nth-child(1) { top: 13px; }
.mobile-menu-btn span:nth-child(2) { top: 17.5px; }
.mobile-menu-btn span:nth-child(3) { top: 22px; }

.mobile-menu-btn.open span:nth-child(1) { top: 17.5px; transform: translateX(-50%) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { top: 17.5px; transform: translateX(-50%) rotate(-45deg); }

/* ---- Hero ---- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero-bg {
  background: url('../assets/images/curtain.jpg') center/cover no-repeat;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 0;
}

.hero-bg .hero-content {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 1020px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge { display: none; }

.hero h1 {
  max-width: 560px;
  margin-bottom: 24px;
}

.hero h1 .ar-line {
  display: block;
  font-family: var(--font-ar);
  font-size: 0.6em;
  color: var(--green);
  margin-top: 12px;
  font-weight: 600;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 440px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 10px;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: #155A3E;
  box-shadow: 0 4px 12px rgba(27, 107, 74, 0.15);
}

.btn-soft {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-soft:hover {
  border-color: var(--text-muted);
}

.btn-accent {
  background: var(--text);
  color: var(--white);
}
.btn-accent:hover {
  background: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ---- Sections ---- */

.section { padding: 100px 0; }

.section-header {
  max-width: 480px;
  margin-bottom: 56px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header p { margin-top: 12px; }

/* ---- Cards ---- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  border-color: var(--green);
  border-top-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.card h3 {
  transition: color 0.3s ease;
  margin-bottom: 8px;
}
.card:hover h3 {
  color: var(--green);
}

.card p { font-size: 0.86rem; margin-bottom: 16px; flex: 1; }

.card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--ease);
}
.card:hover .card-link,
.card-link:hover { gap: 8px; }

/* ---- Mission ---- */

.mission-section { background: var(--white); }

.mission-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: start;
}

.mission-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mission-visual-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
}

.stat-row {
  display: flex;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 20px 8px;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--border);
}

body[dir="rtl"] .stat-item + .stat-item {
  border-left: none;
  border-right: 1px solid var(--border);
}

.stat-item .number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  display: block;
}

.stat-item .label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
  letter-spacing: 0.02em;
}

.mission-text p { margin-bottom: 14px; }

.values-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.value-item {
  display: flex;
  gap: 0;
}

.value-item .icon { display: none; }
.value-item p { font-size: 0.88rem; margin: 0; }
.value-item strong { color: var(--text); display: block; margin-bottom: 2px; }

/* ---- Programs ---- */

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.program-card {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
  background: none;
  border-radius: 0;
  transition: padding-left 0.3s ease;
}

.program-card:hover { background: none; padding-left: 8px; }

body[dir="rtl"] .program-card:hover { padding-left: 0; padding-right: 8px; }

.program-num {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 32px;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.program-card:hover .program-num { color: var(--green); }

.program-card h3 { margin-bottom: 4px; }
.program-card p { font-size: 0.86rem; }

/* ---- Donate Page Hero ---- */

.donate-hero {
  position: relative;
  padding: 160px 24px 100px;
  background: url('../assets/images/nature.jpg') center/cover no-repeat;
  color: var(--white);
}

.donate-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 107, 74, 0.75);
  z-index: 0;
}

.donate-hero .container {
  position: relative;
  z-index: 1;
}

.donate-hero-content {
  max-width: 540px;
}

.donate-hero h1 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.donate-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 460px;
}

/* ---- Donate Page — PayPal Section ---- */

.donate-now-section {
  background: var(--bg);
}

.donate-now-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.donate-now-info {
  padding-top: 8px;
}

.donate-now-info h2 {
  margin-top: 12px;
  margin-bottom: 16px;
}

.donate-now-info p {
  color: var(--text-muted);
  line-height: 1.75;
}

.donate-trust {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.donate-now-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
}

.donate-now-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.donate-now-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.donate-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.donate-impact {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ---- Supported By ---- */

.supported-section {
  background: var(--white);
}

.supported-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.sup-logo-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.sup-logo-item:hover {
  border-color: var(--green);
  background: var(--green-pale);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.sup-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.sup-icon-img {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sup-logo-item:hover .sup-icon,
.sup-logo-item:hover .sup-icon-img {
  transform: scale(1.08);
}

.sup-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sup-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sup-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
  margin-top: 1px;
}

/* ---- Our Resources Preview ---- */

.resources-preview-section {
  background: var(--bg);
}

.resources-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.resource-preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.resource-preview-card:hover {
  border-color: var(--green);
  border-top-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.resource-preview-card:hover h3 {
  color: var(--green);
}

.rpc-icon {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--green-pale);
  border-radius: 12px;
  color: var(--green);
  transition: background 0.3s ease, transform 0.3s ease;
}

.resource-preview-card:hover .rpc-icon {
  background: var(--green);
  color: var(--white);
  transform: scale(1.05);
}

.resource-preview-card h3 {
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.resource-preview-card p {
  font-size: 0.84rem;
  margin-bottom: 16px;
  flex: 1;
}

.resource-preview-card .card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  transition: gap var(--ease);
}

/* ---- Donate ---- */

.donate-section {
  background: var(--green);
  color: var(--white);
  position: relative;
}

.donate-bg {
  background: url('../assets/images/mountains.jpg') center/cover no-repeat;
}

.donate-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 107, 74, 0.82);
  z-index: 0;
}

.donate-bg .container {
  position: relative;
  z-index: 1;
}

.donate-inner {
  max-width: 520px;
}

.donate-inner h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.donate-inner > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.donate-methods {
  display: flex;
  gap: 10px;
}

.donate-section .btn-primary {
  background: var(--white);
  color: var(--green);
}
.donate-section .btn-primary:hover {
  background: var(--green-pale);
}

.donate-section .btn-soft {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.donate-section .btn-soft:hover {
  border-color: var(--white);
}

/* ---- CTA ---- */

.cta-section { padding: 80px 0; }

.cta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 64px 48px;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 30px rgba(27, 107, 74, 0.06);
}

.cta-card h2 { margin-bottom: 10px; }
.cta-card p { max-width: 380px; margin: 0 auto 28px; }

/* ---- Footer ---- */

.footer {
  background: var(--text);
  color: rgba(255,255,255,0.5);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand p {
  color: rgba(255,255,255,0.3);
  font-size: 0.84rem;
  margin-top: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}

.footer-logo-img {
  height: 28px;
  width: auto;
  border-radius: 6px;
}

.footer h4 {
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 600;
}

body[dir="rtl"] .footer h4 { letter-spacing: 0; }

.footer ul li { margin-bottom: 8px; }
.footer ul li a {
  color: rgba(255,255,255,0.35);
  font-size: 0.84rem;
  transition: color var(--ease);
}
.footer ul li a:hover { color: rgba(255,255,255,0.7); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.2);
}

.footer-social { display: flex; gap: 6px; }

.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  transition: all var(--ease);
}
.footer-social a:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

/* ---- Page Header ---- */

.page-header {
  padding: 130px 24px 56px;
  position: relative;
}

.page-header .container {
  max-width: 1020px;
  position: relative;
  z-index: 1;
}

.page-header h1 { margin-bottom: 10px; }
.page-header p { max-width: 420px; }

/* Contact page header with hands.jpg */
.contact-header {
  background: url('../assets/images/hands.jpg') center/cover no-repeat;
  padding: 150px 24px 72px;
}

.contact-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  z-index: 0;
}

/* ---- Resources ---- */

.crisis-banner {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin-bottom: 48px;
}

body[dir="rtl"] .crisis-banner {
  border-left: 1px solid var(--border);
  border-right: 3px solid var(--green);
  border-radius: var(--radius) 0 0 var(--radius);
}

.crisis-banner .icon { display: none; }
.crisis-banner h3 { margin-bottom: 4px; color: var(--text); }
.crisis-banner p { font-size: 0.86rem; }

.crisis-banner .phone {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
}

.resource-section { margin-bottom: 56px; }

.resource-section h2 {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.hotlines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.hotline-card {
  background: var(--white);
  padding: 22px;
  transition: background var(--ease);
}

.hotline-card:hover { background: var(--green-pale); }

.hotline-card .country {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

body[dir="rtl"] .hotline-card .country { letter-spacing: 0; }

.hotline-card .name { font-weight: 600; color: var(--text); margin-bottom: 2px; font-size: 0.92rem; }
.hotline-card .number { font-size: 1rem; font-weight: 700; color: var(--green); }
.hotline-card .number a { color: var(--green); }
.hotline-card .note { font-size: 0.76rem; color: var(--text-muted); margin-top: 3px; }

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.tip-card {
  background: var(--white);
  padding: 26px;
  transition: background var(--ease);
}

.tip-card:hover { background: var(--green-pale); }

.tip-card .tip-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.tip-card h3 { margin-bottom: 5px; font-size: 0.98rem; }
.tip-card p { font-size: 0.84rem; }

.guidelines-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.guideline-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  transition: background var(--ease);
}

.guideline-item:last-child { border-bottom: none; }
.guideline-item:hover { background: var(--green-pale); }

.guideline-item .g-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.guideline-item .do { background: var(--green-pale); color: var(--green); }
.guideline-item .dont { background: #FFF0EE; color: #C05050; }

.guideline-item h3 { font-size: 0.92rem; margin-bottom: 2px; }
.guideline-item p { font-size: 0.82rem; }

/* ---- Contact ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 12px; }
.contact-info > p { margin-bottom: 32px; }

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s ease;
}

.contact-method .cm-icon {
  display: none;
}
.contact-method:hover { transform: translateX(4px); }
body[dir="rtl"] .contact-method:hover { transform: translateX(-4px); }

.contact-method .cm-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-method .cm-value { font-weight: 600; color: var(--text); font-size: 0.9rem; }
.contact-method .cm-value a { transition: color 0.25s ease; }
.contact-method .cm-value a:hover { color: var(--green); }

body[dir="rtl"] .contact-method .cm-label { letter-spacing: 0; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form-card h3 { margin-bottom: 4px; }
.contact-form-card > p { font-size: 0.84rem; margin-bottom: 28px; color: var(--text-muted); }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.form-group .optional { font-weight: 400; color: var(--text-muted); font-size: 0.74rem; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 107, 74, 0.08);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.6;
}

.form-success {
  display: none;
  text-align: center;
  padding: 44px 20px;
}

.form-success .check-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--green);
}

.form-success h3 { margin-bottom: 6px; }

/* ---- About: Founder ---- */

.founder-section {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.founder-section h2 {
  color: var(--text);
  margin-top: 4px;
}

.founder-section p {
  margin-top: 12px;
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ---- About: Values (no icons) ---- */

.cards-grid.values-cards {
  grid-template-columns: repeat(3, 1fr);
}

/* ---- Volunteer: Roles (no emoji icons) ---- */

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.role-card {
  background: var(--white);
  padding: 32px 26px;
  text-align: left;
  transition: background 0.35s ease;
}

body[dir="rtl"] .role-card { text-align: right; }

.role-card:hover { background: var(--green-pale); }
.role-card h3 { transition: color 0.3s ease; }
.role-card:hover h3 { color: var(--green); }

.role-card .role-icon { display: none; }
.role-card h3 { margin-bottom: 8px; }
.role-card p { font-size: 0.84rem; margin-bottom: 16px; }

.role-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--green-pale);
  color: var(--green);
}

/* ---- FAQ ---- */

.faq-list {
  max-width: 660px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item.open { }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  gap: 16px;
  transition: color 0.3s ease;
}

.faq-question:hover { color: var(--green); }

body[dir="rtl"] .faq-question { text-align: right; }

.faq-question .arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform var(--ease);
  min-width: 16px;
}

.faq-item.open .faq-question { color: var(--green); }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); color: var(--green); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ---- Animations ---- */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up[data-delay="1"] { transition-delay: 0.08s; }
.fade-up[data-delay="2"] { transition-delay: 0.16s; }
.fade-up[data-delay="3"] { transition-delay: 0.24s; }
.fade-up[data-delay="4"] { transition-delay: 0.32s; }
.fade-up[data-delay="5"] { transition-delay: 0.4s; }
.fade-up[data-delay="6"] { transition-delay: 0.48s; }

/* Hero staggered entrance */
.hero h1 {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.15s forwards;
}

.hero-sub {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.35s forwards;
}

.hero-actions {
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.5s forwards;
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Donate hero entrance */
.donate-hero h1 {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.15s forwards;
}

.donate-hero p {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.35s forwards;
}

.donate-hero .section-label {
  opacity: 0;
  transform: translateY(12px);
  animation: heroIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.05s forwards;
}

/* Page header entrance */
.page-header h1 {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.1s forwards;
}

.page-header p {
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.25s forwards;
}

/* Stat number scale-in */
.stat-item .number {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.fade-up.visible .stat-item .number {
  animation: statPop 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
}
@keyframes statPop {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* Form success check animation */
.form-success .check-icon {
  animation: checkPop 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes checkPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.lang-crossfade { animation: crossfade 0.25s ease; }
@keyframes crossfade { 0% { opacity: 0.4; transform: translateY(3px); } 100% { opacity: 1; transform: translateY(0); } }

/* Smooth section border reveal */
.mission-visual-card {
  transition: border-color 0.3s ease;
}
.mission-visual-card:hover {
  border-color: var(--green);
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .cards-grid,
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .supported-logos { grid-template-columns: repeat(2, 1fr); }
  .resources-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px;
    gap: 2px;
    transform: translateY(-120%);
    transition: transform var(--ease);
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; text-align: center; padding: 10px; }
  .nav-links a::after { display: none; }
  .lang-toggle { margin: 6px auto 0; }
  .mobile-menu-btn { display: block; }

  .hero { min-height: auto; padding: 110px 18px 60px; }
  .donate-hero { padding: 120px 18px 64px; }

  .cards-grid,
  .hotlines-grid,
  .tips-grid,
  .programs-grid,
  .roles-grid,
  .resources-preview-grid {
    grid-template-columns: 1fr;
  }

  .supported-logos { grid-template-columns: 1fr 1fr; gap: 10px; }

  .donate-now-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .donate-now-card {
    padding: 28px 22px;
  }

  .mission-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .mission-image {
    aspect-ratio: 16 / 9;
  }

  .stat-row { flex-direction: column; gap: 0; }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--border); }
  body[dir="rtl"] .stat-item + .stat-item { border-right: none; }

  .crisis-banner { border-left-width: 2px; }
  body[dir="rtl"] .crisis-banner { border-right-width: 2px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-card { padding: 44px 22px; }
  .section { padding: 64px 0; }

  .donate-methods { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .contact-form-card { padding: 24px 18px; }
  .supported-logos { grid-template-columns: 1fr; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .hero h1, .hero-sub, .hero-actions,
  .page-header h1, .page-header p,
  .donate-hero h1, .donate-hero p, .donate-hero .section-label { opacity: 1; transform: none; animation: none; }
}
