/* ============================================================
   ZAHAN EARTH GROUP® — Main Stylesheet
   Fonts: Cormorant Garamond (headings) + DM Sans (body)
   Theme: Organic-luxury, teal accents, warm beige-grey
   ============================================================ */

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

/* ── VARIABLES ── */
:root {
  --bg:           #e8e2d8;
  --surface:      #f0ebe1;
  --card:         #f7f3ec;
  --card-alt:     #ede8de;
  --card-hover:   #faf7f2;

  --teal:         #2a9d8f;
  --teal-dark:    #1f7a6e;
  --teal-deep:    #155f56;
  --teal-light:   rgba(42,157,143,0.10);
  --teal-border:  rgba(42,157,143,0.22);

  --brown:        #8a6e52;
  --brown-light:  #b89878;
  --border:       rgba(138,110,82,0.18);
  --border-warm:  #ddd4c6;

  --text:         #2a2820;
  --text-muted:   #6b6155;
  --text-dim:     #9a9086;

  --nav-bg:       rgba(232,226,216,0.92);
  --shadow-sm:    0 2px 12px rgba(80,60,40,0.08);
  --shadow-md:    0 8px 32px rgba(80,60,40,0.12);
  --shadow-lg:    0 20px 60px rgba(80,60,40,0.16);
  --shadow-teal:  0 8px 32px rgba(42,157,143,0.18);

  --font-head:    'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    36px;

  --transition:   all 0.28s cubic-bezier(0.4,0,0.2,1);

  /* organic shape radius pairs */
  --organic-a:    40px 12px 40px 12px;
  --organic-b:    12px 40px 12px 40px;
  --organic-c:    32px 8px 32px 8px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 40% at 15% 10%, rgba(42,157,143,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 85% 80%, rgba(138,110,82,0.07) 0%, transparent 55%);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-style: italic; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-style: italic; }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); font-style: italic; }
h4 { font-size: clamp(1rem, 1.8vw, 1.5rem); font-style: italic; }

p { color: var(--text-muted); line-height: 1.75; margin-bottom: 0.5rem; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── LAYOUT ── */
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { width: 90%; max-width: 820px; margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0; }
main { margin-top: 72px; }

/* ── ACCENT TEXT ── */
.teal-text {
  color: var(--teal);
}

/* ── EYEBROW LABEL ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 5px 14px;
  border: 1px solid var(--teal-border);
  border-radius: 100px;
  background: var(--teal-light);
  margin-bottom: 1rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #fff;
  padding: 13px 30px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(42,157,143,0.3);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 12px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid var(--border-warm);
  cursor: pointer;
  transition: var(--transition);
}
.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}

/* ── CARD BASE ── */
.card-base {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card-base:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ── DARK MODE ── */
body.dark-mode {
  --bg:           #151a14;
  --surface:      #1a2018;
  --card:         #1f261d;
  --card-alt:     #232b21;
  --card-hover:   #263025;

  --teal:         #2fc4b2;
  --teal-dark:    #25a899;
  --teal-deep:    #1a8a7a;
  --teal-light:   rgba(47,196,178,0.10);
  --teal-border:  rgba(47,196,178,0.22);

  --brown:        #c8a882;
  --brown-light:  #d4b896;
  --border:       rgba(200,168,130,0.14);
  --border-warm:  #2e3529;

  --text:         #e8e4db;
  --text-muted:   #a8a090;
  --text-dim:     #6e6860;

  --nav-bg:       rgba(21,26,20,0.92);
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.3);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.5);
  --shadow-teal:  0 8px 32px rgba(47,196,178,0.18);
}

/* ── NAV / HEADER ── */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

/* Two-anchor layout: logo LEFT | nav-right RIGHT */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo — left anchor */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}
.nav-logo-text span {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 1px;
}

/* Right anchor — links + toggle + CTA + hamburger */
.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links li { list-style: none; }
.nav-links a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
  display: block;
}
.nav-links a:hover { color: var(--teal); background: var(--teal-light); }
.nav-links a.active { color: var(--teal); }

/* Hide mobile-only CTA in desktop nav */
.nav-links .nav-mobile-cta { display: none; }

.nav-cta { margin-left: 4px; white-space: nowrap; }

/* Dark mode toggle button */
.mode-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card-alt);
  border: 1px solid var(--border-warm);
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.mode-toggle:hover { background: var(--teal-light); color: var(--teal); border-color: var(--teal-border); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-left: 2px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO FLOATING LOGO ── */
.hero-logo-float {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.hero-logo-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  animation: heroFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(42,157,143,0.22));
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-12px); }
}

/* Dark mode — slightly brighter glow */
body.dark-mode .hero-logo-img {
  filter: drop-shadow(0 8px 28px rgba(47,196,178,0.32));
}
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(42,157,143,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 90%, rgba(138,110,82,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-arabic {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--teal);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  opacity: 0.8;
  direction: rtl;
}

.hero h1 {
  color: var(--text);
  margin: 0.5rem 0;
  font-weight: 700;
}
.hero h1 .brand-reg {
  font-size: 0.5em;
  vertical-align: super;
  font-weight: 400;
}

.hero-tagline {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--brown);
  margin: 0.75rem 0 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll-hint i { font-size: 0.9rem; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── STORY SECTION ── */
.story-section {
  background: var(--surface);
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.story-card {
  background: var(--card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.story-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--brown-light));
}

.story-lead {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--teal-dark);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.story-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.story-body p:last-child { margin-bottom: 0; }
.story-body em { color: var(--teal-dark); font-style: italic; font-weight: 500; }

/* ── MISSION / VISION ── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.mv-card {
  background: var(--card);
  border: 1px solid var(--border-warm);
  border-radius: var(--organic-a);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.mv-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal-light);
  transition: var(--transition);
}
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-border);
}
.mv-card:hover::after {
  background: var(--teal);
}

.mv-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.mv-card h3 {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.mv-card p {
  font-size: 0.96rem;
  line-height: 1.8;
}

/* ── STEWARDS ── */
.stewards-section { background: var(--surface); border-top: 1px solid var(--border-warm); border-bottom: 1px solid var(--border-warm); }

.stewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.steward-card {
  background: var(--card);
  border: 1px solid var(--border-warm);
  border-radius: var(--organic-b);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  transition: var(--transition);
}
.steward-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  background: var(--card-hover);
}

.steward-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(42,157,143,0.15), rgba(42,157,143,0.08));
  border: 2px solid var(--teal-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
  position: relative;
}
.steward-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
/* Shown when image missing */
.steward-avatar .avatar-fallback {
  font-size: 2rem;
}

.steward-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.steward-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.steward-bio {
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ── VENTURES / BUSINESSES ── */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

/* ── VENTURE CARD BUTTONS ── */
.venture-card {
  display: flex;
  flex-direction: column;
}
.venture-card p { flex: 1; }

.venture-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 1.2rem;
  padding: 9px 18px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--teal);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(42,157,143,0.25);
  width: 100%;
}
.venture-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42,157,143,0.35);
  color: #fff;
}
.venture-btn i { font-size: 0.75rem; }

.venture-btn-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 1.2rem;
  padding: 9px 18px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  background: transparent;
  color: var(--text-dim);
  border: 1.5px dashed var(--border-warm);
  cursor: default;
  width: 100%;
}
.venture-btn-soon i { font-size: 0.75rem; }

.venture-card {
  background: var(--card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.venture-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: var(--transition);
}
.venture-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  background: var(--card-hover);
}
.venture-card:hover::before {
  background: linear-gradient(90deg, var(--teal), transparent);
}
.venture-card.emerging {
  background: var(--card-alt);
  border-style: dashed;
}

.venture-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.venture-logo-wrap img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.venture-logo-wrap .logo-fallback {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--teal);
}
/* Show image by default, hide fallback by default — show fallback only on img error */
.venture-logo-wrap img { display: block; }
.venture-logo-wrap .logo-fallback { display: none; }
.venture-logo-wrap img.img-error { display: none; }
.venture-logo-wrap img.img-error + .logo-fallback { display: flex; }

.venture-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

/* ── LIVE INDICATOR DOT ── */
.venture-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.venture-live-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(42,157,143,0.5);
  animation: livePulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
body.dark-mode .venture-live-badge::before {
  background: #2fc4b2;
  box-shadow: 0 0 0 0 rgba(47,196,178,0.5);
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(42,157,143,0.55); }
  60%  { box-shadow: 0 0 0 6px rgba(42,157,143,0); }
  100% { box-shadow: 0 0 0 0 rgba(42,157,143,0); }
}
.venture-category {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 0.9rem;
}
.venture-card p {
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* Ventures join CTA */
.ventures-join {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--card);
  border: 1.5px dashed var(--teal-border);
  border-radius: var(--radius-xl);
}
.ventures-join p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

/* ── CONTACT ── */
.contact-section {
  background: var(--surface);
  border-top: 1px solid var(--border-warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.contact-item {
  background: var(--card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.contact-item:hover {
  border-color: var(--teal-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--teal);
  margin: 0 auto 1rem;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.contact-item p {
  font-size: 0.88rem;
  margin: 0;
}
.contact-item a {
  color: var(--teal);
  word-break: break-word;
}
.contact-item a:hover { color: var(--teal-dark); }

.contact-cta {
  text-align: center;
  margin-top: 1rem;
}
.contact-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-style: italic;
  color: var(--text-dim);
  margin-top: 1.25rem;
}

/* ── VALUES ROW ── */
.values-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 0 1rem;
}

.value-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--teal-dark);
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  border-radius: 100px;
  padding: 7px 18px;
}
.value-tag i { font-size: 0.75rem; }

/* ── FOOTER ── */
footer {
  background: var(--card);
  border-top: 1px solid var(--border-warm);
  padding: 2.5rem 0 2rem;
  text-align: center;
}

.footer-logo-row {
  margin-bottom: 1.25rem;
}
.footer-brand {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--teal-dark);
}
.footer-tagline {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-dim);
  margin-top: 2px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 1.25rem 0;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--card-alt);
  border: 1px solid var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--teal-light);
  color: var(--teal);
  border-color: var(--teal-border);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

/* ── SECTION TITLE ── */
.section-title { text-align: center; margin-bottom: 0.5rem; }
.section-title h2 { margin-bottom: 0.75rem; }
.section-title > p { max-width: 580px; margin: 0 auto; font-size: 0.96rem; }

/* ── DIVIDER ── */
.section-divider {
  width: 48px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  margin: 1.25rem auto 0;
  opacity: 0.5;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.65s cubic-bezier(0.4,0,0.2,1) forwards;
}
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.12s; }
.fade-up-3 { animation-delay: 0.2s; }
.fade-up-4 { animation-delay: 0.28s; }

/* ── JOIN PAGE ── */

/* Join hero */
.join-hero {
  text-align: center;
  padding: 100px 0 48px;
}
.join-hero h1 { margin-bottom: 0.4rem; }
.join-hero .arabic { font-style: italic; font-family: var(--font-head); color: var(--teal); font-size: 1.2rem; margin-bottom: 0.75rem; direction: rtl; }
.join-hero .tagline { font-family: var(--font-head); font-style: italic; color: var(--brown); font-size: 1.1rem; margin-bottom: 1.5rem; }
.join-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal);
  padding: 6px 14px;
  border: 1px solid var(--teal-border);
  border-radius: 100px;
  background: var(--teal-light);
  transition: var(--transition);
}
.join-back:hover { background: var(--teal); color: #fff; }

/* Invitation card */
.invitation-card {
  background: var(--card);
  border: 1px solid var(--teal-border);
  border-radius: var(--organic-a);
  padding: 3rem 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.invitation-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(42,157,143,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.invitation-icons { font-size: 2.5rem; margin-bottom: 0.75rem; line-height: 1; }
.invitation-card h2 { color: var(--teal-dark); margin-bottom: 0.75rem; }
.invitation-card p { max-width: 560px; margin: 0 auto; font-size: 1rem; }

/* Form */
.form-card {
  background: var(--card);
  border: 1px solid var(--border-warm);
  border-radius: var(--organic-b);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

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

.form-label {
  display: block;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-label i { color: var(--teal); margin-right: 6px; font-size: 0.9rem; }

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--border-warm);
  border-radius: 60px 8px 60px 8px;
  background: var(--surface);
  color: var(--text);
  transition: var(--transition);
  appearance: none;
}
textarea {
  border-radius: 20px 8px 20px 8px;
  resize: vertical;
  min-height: 130px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(42,157,143,0.1);
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.radio-option { display: flex; align-items: center; gap: 0.5rem; }
.radio-option input[type="radio"] {
  width: auto;
  border-radius: 50%;
  padding: 0;
  accent-color: var(--teal);
}
.radio-option label {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0;
  cursor: pointer;
}

.form-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-dim);
  margin-top: 0.4rem;
}
.form-hint i { color: var(--teal); font-size: 0.75rem; }

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 60px 12px 60px 12px;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(42,157,143,0.28);
  margin-top: 0.5rem;
}
.submit-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-teal);
}
.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.submit-btn i { font-size: 1.1rem; }

.moon-note {
  text-align: center;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-privacy {
  text-align: center;
  font-size: 0.83rem;
  color: var(--text-dim);
  margin-top: 1.75rem;
  font-style: italic;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.form-success.visible { display: block; }
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.form-success h3 { font-size: 2rem; color: var(--teal-dark); margin-bottom: 0.75rem; }
.form-success p { max-width: 460px; margin: 0 auto; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .mv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Hide desktop links and CTA, show hamburger */
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  /* Mobile open drawer */
  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100dvh - 72px);
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 24px 20px;
    gap: 4px;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.nav-open li { width: 100%; }
  .nav-links.nav-open a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-md);
    display: block;
  }
  /* Show mobile CTA inside open drawer */
  .nav-links.nav-open .nav-mobile-cta {
    display: block;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  section { padding: 64px 0; }
  .story-card { padding: 2rem 1.5rem; }
  .form-card { padding: 2rem 1.5rem; }
  .invitation-card { padding: 2rem 1.5rem; }
  .ventures-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 0 60px; min-height: auto; }
}

@media (max-width: 500px) {
  .ventures-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .radio-group { flex-direction: column; gap: 0.5rem; }
}
