@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=DM+Sans:wght@300;400&display=swap');

:root {
  --green: #1A3D2A;
  --pomegranate: #C1503A;
  --parchment: #F5EFE0;
  --gold: #B8952A;
  --purple: #7B4FA8;
  --purple-light: #B08FD4;
  --terracotta: #C4714F;
  --earth: #0E2318;
  --warm-brown: #5A4030;
  --muted-brown: #8A7060;
  --border: #D4C9A8;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--parchment);
  color: var(--warm-brown);
  font-weight: 300;
  line-height: 1.7;
}

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

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green);
  padding: 0.85rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; flex-direction: column; gap: 0; text-decoration: none; }
.nav-arabic { font-family: 'Amiri', serif; font-size: 20px; color: var(--purple-light); direction: rtl; line-height: 1; }
.nav-wordmark { font-family: 'Cormorant Garamond', serif; font-size: 11px; letter-spacing: 0.32em; color: var(--parchment); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 13px; font-weight: 300; color: rgba(245,239,224,0.8); letter-spacing: 0.04em; transition: color 0.2s; }
.nav-links a:hover { color: var(--parchment); }

.btn-nav-join {
  background: var(--pomegranate);
  color: var(--parchment) !important;
  padding: 7px 18px;
  border-radius: 4px;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  opacity: 1 !important;
}
.btn-nav-join:hover { background: #a8402e; color: var(--parchment) !important; }

/* HERO */
.hero {
  min-height: calc(100vh - 58px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  gap: 14px;
  background: var(--parchment);
}

.hero-arabic { font-family: 'Amiri', serif; font-size: 84px; color: var(--purple); direction: rtl; line-height: 1; margin-bottom: 2px; }
.hero-wordmark { font-family: 'Cormorant Garamond', serif; font-size: 40px; letter-spacing: 0.42em; color: var(--green); font-weight: 500; }
.hero-divider { width: 48px; height: 1px; background: var(--purple); margin: 10px 0; }
.hero-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; color: var(--warm-brown); }
.hero-subtitle { font-size: 13px; font-weight: 300; color: var(--muted-brown); letter-spacing: 0.09em; text-align: center; }
.hero-ctas { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }

/* BUTTONS */
.btn-primary { background: var(--pomegranate); color: var(--parchment); padding: 13px 30px; border-radius: 4px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0.07em; display: inline-block; transition: background 0.2s; }
.btn-primary:hover { background: #a8402e; color: var(--parchment); }

.btn-outline { border: 1px solid var(--green); color: var(--green); padding: 13px 30px; border-radius: 4px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0.07em; display: inline-block; transition: all 0.2s; }
.btn-outline:hover { background: var(--green); color: var(--parchment); }

.btn-light { border: 1px solid rgba(245,239,224,0.45); color: var(--parchment); padding: 13px 30px; border-radius: 4px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0.07em; display: inline-block; transition: all 0.2s; }
.btn-light:hover { background: rgba(245,239,224,0.12); color: var(--parchment); }

.btn-submit { background: var(--green); color: var(--parchment); padding: 14px 34px; border: none; border-radius: 4px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0.08em; cursor: pointer; transition: background 0.2s; }
.btn-submit:hover { background: #1e3d2a; }

/* SECTIONS */
.section { padding: 5.5rem 2.5rem; max-width: 1100px; margin: 0 auto; }
.section-sm { padding: 4rem 2.5rem; max-width: 1100px; margin: 0 auto; }

.section-label { font-size: 10px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-brown); margin-bottom: 14px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 38px; color: var(--green); font-weight: 500; margin-bottom: 18px; }
.section-title-italic { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 38px; color: var(--green); font-weight: 400; margin-bottom: 18px; }
.section-body { font-size: 15px; line-height: 1.85; color: var(--warm-brown); font-weight: 300; max-width: 640px; margin-bottom: 1.5rem; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin-top: 2.5rem; }
.card { background: white; border: 0.5px solid var(--border); border-radius: 12px; padding: 2.25rem 2rem; }
.card-icon { font-size: 22px; margin-bottom: 14px; }
.card-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--green); font-weight: 500; margin-bottom: 10px; }
.card-text { font-size: 14px; line-height: 1.8; color: var(--warm-brown); font-weight: 300; margin-bottom: 18px; }
.card-link { font-size: 12px; letter-spacing: 0.06em; color: var(--pomegranate); font-weight: 400; }
.card-link:hover { text-decoration: underline; color: var(--pomegranate); }

/* DARK SECTION */
.dark-section { background: var(--green); padding: 6rem 2.5rem; }
.dark-section-inner { max-width: 1100px; margin: 0 auto; }
.dark-section .section-label { color: rgba(245,239,224,0.5); }
.dark-section .section-title-italic { color: var(--parchment); }
.dark-section p { color: rgba(245,239,224,0.85); font-size: 16px; line-height: 1.85; font-weight: 300; max-width: 680px; margin-bottom: 1.5rem; }
.dark-section .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2rem; }

/* QUOTE BAND */
.quote-band { background: var(--earth); padding: 4rem 2.5rem; text-align: center; }
.quote-band blockquote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; color: rgba(245,239,224,0.75); max-width: 680px; margin: 0 auto; line-height: 1.7; }
.quote-band cite { display: block; font-family: 'DM Sans', sans-serif; font-style: normal; font-size: 11px; letter-spacing: 0.15em; color: rgba(245,239,224,0.35); margin-top: 16px; text-transform: uppercase; }

/* PAGE HERO */
.page-hero { padding: 5rem 2.5rem 3.5rem; background: var(--parchment); border-bottom: 0.5px solid var(--border); }
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.page-hero-arabic { font-family: 'Amiri', serif; font-size: 48px; color: var(--purple); direction: rtl; line-height: 1; margin-bottom: 10px; }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: 48px; color: var(--green); font-weight: 500; margin-bottom: 16px; }
.page-hero p { font-size: 16px; font-weight: 300; color: var(--warm-brown); max-width: 560px; line-height: 1.8; }

/* FORM */
.form-wrap { max-width: 640px; }
.form-group { margin-bottom: 1.5rem; }
label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-brown); margin-bottom: 8px; font-weight: 400; }
input[type="text"], input[type="email"], textarea, select { width: 100%; padding: 12px 16px; border: 0.5px solid var(--border); border-radius: 4px; background: white; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 300; color: var(--warm-brown); outline: none; transition: border-color 0.2s; appearance: none; }
input:focus, textarea:focus, select:focus { border-color: var(--green); }
textarea { min-height: 150px; resize: vertical; }

/* PHASES */
.phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 2.5rem; }
.phase { border-left: 2px solid var(--pomegranate); padding: 0 0 0 1.5rem; }
.phase-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-brown); margin-bottom: 6px; }
.phase-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--green); font-weight: 500; margin-bottom: 10px; }
.phase-text { font-size: 14px; line-height: 1.75; color: var(--warm-brown); font-weight: 300; }

/* DONATE BOX */
.donate-box { background: var(--green); border-radius: 12px; padding: 3rem 2.5rem; margin-top: 3rem; }
.donate-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--parchment); font-weight: 500; margin-bottom: 12px; }
.donate-box p { font-size: 15px; color: rgba(245,239,224,0.8); font-weight: 300; line-height: 1.8; max-width: 520px; margin-bottom: 1.75rem; }

/* CONNECT TYPES */
.connect-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 3.5rem; }
.connect-type { background: white; border: 0.5px solid var(--border); border-radius: 10px; padding: 1.5rem; }
.connect-type-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--green); font-weight: 500; margin-bottom: 6px; }
.connect-type p { font-size: 13px; color: var(--muted-brown); font-weight: 300; line-height: 1.7; }

/* FOOTER */
footer { background: var(--earth); padding: 3.5rem 2.5rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2.5rem; }
.footer-logo .f-arabic { font-family: 'Amiri', serif; font-size: 30px; color: var(--purple-light); direction: rtl; line-height: 1; margin-bottom: 4px; }
.footer-logo .f-wordmark { font-family: 'Cormorant Garamond', serif; font-size: 12px; letter-spacing: 0.32em; color: var(--parchment); }
.footer-logo .f-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 13px; color: rgba(245,239,224,0.45); margin-top: 8px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 13px; color: rgba(245,239,224,0.65); font-weight: 300; letter-spacing: 0.03em; transition: color 0.2s; }
.footer-nav a:hover { color: var(--parchment); }
.footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-social a { font-size: 13px; color: rgba(245,239,224,0.65); font-weight: 300; transition: color 0.2s; }
.footer-social a:hover { color: var(--parchment); }
.footer-bottom { max-width: 1100px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 0.5px solid rgba(245,239,224,0.1); font-size: 11px; color: rgba(245,239,224,0.3); letter-spacing: 0.05em; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* THANK YOU */
.thankyou-wrap { min-height: calc(100vh - 58px); display: flex; align-items: center; justify-content: center; padding: 4rem 2rem; text-align: center; }
.thankyou-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* DIVIDER */
hr.section-divider { border: none; border-top: 0.5px solid var(--border); margin: 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-arabic { font-size: 60px; }
  .hero-wordmark { font-size: 28px; }
  .hero-tagline { font-size: 19px; }
  nav { padding: 0.85rem 1.25rem; }
  .nav-links { gap: 1.25rem; }
  .dark-section { padding: 4rem 1.25rem; }
  .section { padding: 4rem 1.25rem; }
  .section-sm { padding: 3rem 1.25rem; }
  .section-title, .section-title-italic { font-size: 30px; }
  .page-hero { padding: 3.5rem 1.25rem 2.5rem; }
  .page-hero h1 { font-size: 36px; }
  footer { padding: 3rem 1.25rem 1.5rem; }
  .donate-box { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .nav-wordmark { display: none; }
  .hero-ctas, .dark-section .ctas { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; gap: 2rem; }
}
