/* AZAN Investment - Landing Page Styles */
:root {
  --primary: #2E7D32; /* green */
  --primary-dark: #1B5E20;
  --accent: #C8E6C9;
  --bg: #0f1a14;
  --text: #111;
  --muted: #6b7280;
  --surface: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Tajawal', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #f8faf9;
}

header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eef2ef;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.nav-left { display: flex; align-items: center; gap: 18px; }
.nav-right { display: flex; align-items: center; gap: 12px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 38px; }
.logo span { font-weight: 700; color: var(--primary-dark); font-size: 18px; }

.nav a { color: #374151; text-decoration: none; margin: 0 10px; font-weight: 600; }
.nav a:hover { color: var(--primary); }

.btn { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--primary); color: var(--primary); background: #fff; cursor: pointer; font-weight: 700; }
.btn.primary { background: var(--primary); color: #fff; }
.btn:hover { filter: brightness(0.95); }

.lang-toggle { display: flex; gap: 6px; align-items: center; }
.lang-toggle button { padding: 8px 12px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; cursor: pointer; font-weight: 600; }
.lang-toggle button.active { border-color: var(--primary); color: var(--primary); }

/* Hero */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1fr; align-items: center;
  background: url('../assets/img/hero-bg.svg') center/cover no-repeat; 
  min-height: 60vh; color: #fff;
}
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.4)); }
.hero-content { position: relative; z-index: 1; padding: 60px 0; }
.hero h1 { font-size: 42px; margin: 0 0 12px; }
.hero p { font-size: 18px; max-width: 720px; }
.hero .actions { display: flex; gap: 12px; margin-top: 16px; }

/* Sections */
section { padding: 48px 0; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.section-title h2 { font-size: 28px; margin: 0; color: var(--primary-dark); }
.section-sub { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid #eef2ef; border-radius: 16px; box-shadow: var(--shadow); padding: 20px; }
.card h3 { margin: 6px 0 10px; color: var(--primary-dark); }
.card p { color: #374151; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; }

/* Vision */
.vision { background: #f0f5f2; border-top: 1px solid #e8eee9; border-bottom: 1px solid #e8eee9; }
.infographs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 18px; text-align: center; }
.info h3 { margin: 5px 0; color: var(--primary); }
.info p { color: #374151; }

/* Partners marquee */
.partners-strip { overflow: hidden; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; }
.strip { display: flex; gap: 28px; padding: 12px; animation: scroll 22s linear infinite; }
.strip img { height: 36px; filter: grayscale(0.1); opacity: 0.9; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.accordion { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; }
.accordion details { border-bottom: 1px solid #eef2ef; }
.accordion summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--primary-dark); }
.accordion p { padding: 0 16px 16px; color: #374151; }

/* Footer */
footer { background: #0f1a14; color: #cfe7d0; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
footer a { color: #cfe7d0; text-decoration: none; }
footer .bottom { border-top: 1px solid #1c3326; margin-top: 16px; padding-top: 16px; font-size: 14px; color: #9fbfa3; }

/* RTL/LTR helpers */
:root[dir='rtl'] .navbar { flex-direction: row-reverse; }
:root[dir='rtl'] .nav a { margin: 0 0 0 10px; }

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .infographs { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}
