/* ===== GLOBAL RESET & VARIABLES ===== */
:root {
  --primary: #1a3a5c;
  --primary-light: #2a5a8c;
  --gold: #c5a44e;
  --gold-light: #d4b96a;
  --bg-cream: #faf8f4;
  --bg-white: #ffffff;
  --text-dark: #2c2c2c;
  --text-muted: #6b6b6b;
  --text-light: #ffffff;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Heebo', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.7;
}

body.rtl {
  direction: rtl;
  text-align: right;
}

body.ltr {
  direction: ltr;
  text-align: left;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--bg-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--primary);
  color: var(--text-light);
  padding: 6px 0;
  font-size: 0.85rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top a {
  color: var(--gold-light);
}

.header-top a:hover {
  color: var(--gold);
}

.lang-switch {
  background: rgba(255,255,255,0.15);
  padding: 3px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: var(--transition);
}

.lang-switch:hover {
  background: rgba(255,255,255,0.25);
}

nav {
  padding: 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 55px;
  width: auto;
}

.logo-text h1 {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary);
  color: var(--text-light);
}

.nav-links .donate-btn {
  background: var(--gold);
  color: var(--text-light);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 25px;
}

.nav-links .donate-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  padding: 8px;
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(197,164,78,0.08)" stroke-width="0.5"/></svg>') repeat;
  background-size: 200px;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 35px;
  max-width: 540px;
  line-height: 1.8;
}

.hero-image {
  flex: 1;
  max-width: 480px;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: var(--text-light);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(197,164,78,0.4);
}

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

.btn-outline:hover {
  border-color: var(--text-light);
  background: rgba(255,255,255,0.1);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 50px;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 100%;
  }
}

/* ===== SECTIONS ===== */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header .divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 16px;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-white);
  padding: 40px 0;
  box-shadow: var(--shadow);
  margin-top: -40px;
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 800;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== FEATURES / CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.feature-card h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ABOUT PREVIEW ===== */
.about-preview {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== DONATE PAGE ===== */
.donate-hero {
  background: linear-gradient(135deg, var(--gold) 0%, #b8943f 100%);
  color: var(--text-light);
  text-align: center;
  padding: 80px 0 60px;
}

.donate-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.donate-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.donate-options {
  background: var(--bg-white);
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.donate-card {
  border: 2px solid #e8e4dc;
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.donate-card.featured {
  border-color: var(--gold);
  transform: scale(1.03);
}

.donate-card.featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: white;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.donate-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.donate-card h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.donate-amount {
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 800;
  margin: 16px 0;
}

.donate-amount span {
  font-size: 1rem;
  color: var(--text-muted);
}

.donate-card ul {
  list-style: none;
  margin: 20px 0;
  text-align: start;
}

.donate-card ul li {
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.donate-card ul li::before {
  content: '✓';
  color: var(--gold);
  font-weight: bold;
  margin-inline-end: 8px;
}

@media (max-width: 768px) {
  .donate-grid {
    grid-template-columns: 1fr;
  }

  .donate-card.featured {
    transform: none;
  }
}

/* Custom amount */
.custom-donate {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background: var(--bg-cream);
  border-radius: var(--radius);
}

.custom-donate h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.amount-input-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.amount-input-group input {
  padding: 14px 20px;
  border: 2px solid #e0dcd4;
  border-radius: 30px;
  font-size: 1.1rem;
  width: 200px;
  text-align: center;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.amount-input-group input:focus {
  border-color: var(--gold);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8e4dc;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  background: var(--bg-cream);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: var(--bg-white);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-card .icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.map-container {
  background: var(--bg-white);
  padding: 8px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 20px;
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: var(--text-light);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-about p {
  opacity: 0.8;
  margin-top: 12px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold-light);
}

.footer-contact p {
  opacity: 0.8;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ===== ABOUT PAGE SPECIFIC ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  text-align: center;
  padding: 80px 0 60px;
}

.page-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
}

body.rtl .timeline::before {
  right: 0;
}

body.ltr .timeline::before {
  left: 0;
}

.timeline-item {
  padding: 0 0 40px;
  position: relative;
}

body.rtl .timeline-item {
  padding-right: 40px;
}

body.ltr .timeline-item {
  padding-left: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--bg-cream);
}

body.rtl .timeline-item::before {
  right: -6px;
}

body.ltr .timeline-item::before {
  left: -6px;
}

.timeline-item h4 {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.timeline-item h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== VALUES SECTION ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.value-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

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

.value-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.value-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

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

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== VIDEO SECTION ===== */
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background: #000;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  gap: 16px;
}

.video-placeholder .play-icon {
  width: 70px;
  height: 70px;
  border: 3px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }
