:root {
  --bg: #f7f2ea;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-strong: #ffffff;
  --text: #1b1a18;
  --muted: #5f5a52;
  --line: rgba(27, 26, 24, 0.1);
  --brand: #0d6b66;
  --brand-dark: #084540;
  --accent: #d97745;
  --shadow: 0 24px 80px rgba(25, 27, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DINPro", "DIN Pro", "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 119, 69, 0.22), transparent 28%),
    radial-gradient(circle at right, rgba(13, 107, 102, 0.18), transparent 26%),
    linear-gradient(180deg, #f8f2e8 0%, #f4f0ea 100%);
}

body.lang-ar {
  font-family: "Cairo", sans-serif;
  direction: rtl;
}

h1,
h2,
h3,
h4,
.hero-kicker,
.eyebrow,
.section-tag,
.contact-label,
.lang-btn,
.primary-btn,
.secondary-btn,
.hero-highlights li,
.stat-number,
.stat-label {
  font-family: "DINPro", "DIN Pro", "Manrope", sans-serif;
}

body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar h4,
body.lang-ar .hero-kicker,
body.lang-ar .eyebrow,
body.lang-ar .section-tag,
body.lang-ar .contact-label,
body.lang-ar .lang-btn,
body.lang-ar .primary-btn,
body.lang-ar .secondary-btn,
body.lang-ar .hero-highlights li,
body.lang-ar .stat-number,
body.lang-ar .stat-label,
body.lang-ar .feature strong,
body.lang-ar .values-grid h4 {
  font-family: "Bahij Koufiya", "Bahij TheSansArabic", "Cairo", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 24px clamp(20px, 4vw, 56px) 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.34)),
    url("https://images.pexels.com/photos/3184465/pexels-photo-3184465.jpeg?auto=compress&cs=tinysrgb&w=1600") center/cover;
  filter: saturate(0.95);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 69, 64, 0.82), rgba(8, 69, 64, 0.2) 58%, rgba(217, 119, 69, 0.28));
  z-index: -1;
}

.topbar,
.hero-content,
.section,
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.brand-logo {
  width: 108px;
  height: 108px;
  object-fit: contain;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px;
  box-shadow: var(--shadow);
}

.brand-copy {
  color: #fff8f0;
}

.brand-copy h1 {
  margin: 6px 0 4px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.1;
}

.eyebrow,
.registration,
.hero-kicker,
.section-tag,
.contact-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.registration,
.hero-description,
.feature p,
.intro-panel p,
.statement-card p,
.impact-copy p,
.contact-card p,
.site-footer p {
  color: rgba(255, 248, 240, 0.92);
}

.lang-switcher {
  display: inline-flex;
  padding: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.lang-btn.active {
  background: #fff;
  color: var(--brand-dark);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: end;
  padding-top: 72px;
}

.hero-text h2 {
  margin: 12px 0 16px;
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.95;
  color: #fffdf9;
}

.hero-description {
  max-width: 64ch;
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 28px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.primary-btn {
  background: var(--accent);
  color: #fff;
}

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-highlights li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-card {
  display: grid;
  gap: 16px;
}

.stat-card,
.intro-panel,
.feature-strip,
.statement-card,
.values-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
}

.stat-number {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.stat-label {
  color: var(--muted);
}

.image-card {
  padding: 0;
  overflow: hidden;
  min-height: 240px;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main {
  padding: 24px clamp(20px, 4vw, 56px) 64px;
}

.section {
  margin-top: 28px;
}

.intro-grid,
.impact-section,
.contact-grid {
  display: grid;
  gap: 20px;
}

.intro-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.intro-panel,
.feature-strip,
.statement-card,
.contact-card,
.domain-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.intro-panel,
.statement-card,
.contact-card,
.domain-card {
  padding: 28px;
}

.intro-panel h3,
.section-heading h3,
.impact-copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.intro-panel p,
.feature p,
.statement-card p,
.impact-copy p,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px;
  gap: 14px;
}

.feature {
  padding: 18px;
  border-radius: 20px;
  background: rgba(247, 242, 234, 0.86);
}

.feature strong,
.values-grid h4 {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: 20px;
  align-items: start;
}

.section-heading {
  padding-top: 8px;
}

.statement-card p {
  margin: 0;
  font-size: 1.05rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.values-grid article {
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 245, 237, 0.96));
}

.impact-section {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.impact-copy {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #0d6b66, #084540);
  box-shadow: var(--shadow);
}

.impact-copy .section-tag,
.impact-copy h3,
.impact-copy p {
  color: #fff8f0;
}

.impact-visuals {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.impact-visuals img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.domain-card {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.domain-card p {
  color: var(--muted);
  line-height: 1.75;
  margin: 10px 0 0;
}

.domain-card a {
  color: var(--brand-dark);
  font-weight: 800;
}

.contact-label {
  color: var(--brand);
  font-weight: 800;
}

.contact-card a {
  color: var(--brand-dark);
  font-weight: 700;
}

.site-footer {
  padding: 0 20px 40px;
}

.site-footer p {
  margin: 0 auto;
  padding: 18px 22px;
  max-width: 1180px;
  border-radius: 22px;
  background: #1d2a2a;
  color: rgba(255, 248, 240, 0.9);
  text-align: center;
}

body.lang-ar .topbar,
body.lang-ar .hero-content,
body.lang-ar .intro-grid,
body.lang-ar .split-section,
body.lang-ar .impact-section,
body.lang-ar .contact-grid {
  direction: rtl;
}

body.lang-ar .lang-switcher,
body.lang-ar .hero-highlights {
  direction: ltr;
}

body.lang-ar .hero-text,
body.lang-ar .brand-copy,
body.lang-ar .intro-panel,
body.lang-ar .section-heading,
body.lang-ar .statement-card,
body.lang-ar .impact-copy,
body.lang-ar .contact-card,
body.lang-ar .feature {
  text-align: right;
}

@media (max-width: 1080px) {
  .hero-content,
  .intro-grid,
  .split-section,
  .impact-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-visuals {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 36px;
  }

  .hero-text h2 {
    max-width: 100%;
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .feature-strip,
  .values-grid,
  .contact-grid,
  .impact-visuals {
    grid-template-columns: 1fr;
  }

  .hero-highlights {
    flex-direction: column;
    align-items: flex-start;
  }
}
