/* ===== OPTIMIZED DZ — SHARED STYLES ===== */

:root {
  --ink: #0a0f1a;
  --paper: #f0f2f5;
  --cream: #e6eaf0;
  --warm: #dce2ea;
  --rust: #c9a84c;
  --rust-dark: #a0803a;
  --rust-light: #e2c06a;
  --text: #0a0f1a;
  --text-mid: #4a5568;
  --text-light: #8a96a8;
  --serif: 'IBM Plex Serif', Georgia, serif;
  --display: 'IBM Plex Sans', sans-serif;
  --body: 'IBM Plex Sans', sans-serif;
  --arabic: 'IBM Plex Sans Arabic', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== ARABIC GLOBAL ===== */
[dir="rtl"] body,
[lang="ar"] body {
  font-family: var(--arabic);
  direction: rtl;
}

[dir="rtl"] nav,
[dir="rtl"] .nav-inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-text {
  text-align: right;
}

[dir="rtl"] .section-header {
  text-align: right;
}

[dir="rtl"] .pillar-grid {
  direction: rtl;
}

[dir="rtl"] .value-item {
  text-align: right;
}

[dir="rtl"] .service-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .book-layout {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .page-hero h1 {
  letter-spacing: 0;
}

[dir="rtl"] .mega-display {
  letter-spacing: 0;
  line-height: 1.1;
}

/* ===== TEXTURE ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* ===== CURSOR ===== */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--rust);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.15s var(--ease), opacity 0.2s;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rust);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9997;
  transition: transform 0.4s var(--ease), opacity 0.2s, width 0.3s, height 0.3s;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--rust);
  z-index: 200;
  width: 0%;
  transition: width 0.1s;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--rust);
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-btn {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0;
  text-decoration: none;
}

.lang-btn:hover {
  border-color: var(--rust);
  color: var(--rust);
}

.nav-cta {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--rust);
  color: #fff;
  border: none;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--rust-dark);
}

/* ===== PAGES ===== */
.page {
  display: none;
  padding-top: 60px;
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* ===== HOME HERO ===== */
.home-hero {
  min-height: calc(100vh - 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  background: var(--ink);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: 'O';
  font-family: var(--display);
  font-size: 600px;
  color: rgba(201, 168, 76, 0.06);
  position: absolute;
  right: -80px;
  bottom: -120px;
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
}

.hero-eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rust-light);
  margin-bottom: 48px;
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(52px, 5.5vw, 84px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 40px;
}

[dir="rtl"] .hero-headline {
  font-family: var(--arabic);
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.hero-sub {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 48px;
}

[dir="rtl"] .hero-sub {
  font-family: var(--arabic);
  font-style: normal;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-white {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  border: none;
  padding: 14px 30px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-white:hover {
  background: var(--rust);
  color: var(--ink);
}

.btn-outline-white {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none;
  color: var(--paper);
  border: 1px solid rgba(244, 240, 232, 0.3);
  padding: 14px 30px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-white:hover {
  border-color: var(--paper);
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
}

.hero-stat {
  text-align: left;
}

[dir="rtl"] .hero-stat {
  text-align: right;
}

.hero-stat-num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  color: var(--rust-light);
  letter-spacing: -0.01em;
  display: block;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.4);
}

.hero-divider-v {
  width: 1px;
  height: 40px;
  background: rgba(244, 240, 232, 0.15);
}

.hero-right {
  background: #f7f9fc;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-body-text {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
  max-width: 520px;
}

[dir="rtl"] .hero-body-text {
  font-family: var(--arabic);
  font-size: 17px;
  font-style: normal;
}

.hero-body-text p {
  margin-bottom: 24px;
}

.hero-body-text p:last-child {
  margin-bottom: 0;
}

.hero-body-text strong {
  font-weight: 700;
  color: var(--rust);
}

.hero-body-text .welcome {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 32px;
  display: block;
}

[dir="rtl"] .hero-body-text .welcome {
  font-family: var(--arabic);
  font-size: 24px;
  font-weight: 700;
}

.hero-rule {
  height: 3px;
  width: 48px;
  background: var(--rust);
  margin-bottom: 40px;
}

[dir="rtl"] .hero-rule {
  margin-right: 0;
  margin-left: auto;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 100px 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.section-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 16px;
}

.section-h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}

[dir="rtl"] .section-h2 {
  font-family: var(--arabic);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.section-intro {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 64px;
}

[dir="rtl"] .section-intro {
  font-family: var(--arabic);
  font-style: normal;
}

/* ===== PILLARS ===== */
.pillars-section {
  background: var(--paper);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 64px;
}

.pillar {
  padding: 52px 44px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.pillar:last-child {
  border-right: none;
}

.pillar:hover {
  background: var(--cream);
}

.pillar-number {
  font-family: var(--display);
  font-size: 80px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 20px;
  right: 24px;
  letter-spacing: 0;
  line-height: 1;
  transition: color 0.4s;
}

[dir="rtl"] .pillar-number {
  right: auto;
  left: 24px;
}

.pillar:hover .pillar-number {
  color: rgba(201, 168, 76, 0.12);
}

.pillar-tag {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 20px;
  display: block;
}

.pillar-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.1;
}

[dir="rtl"] .pillar-title {
  font-family: var(--arabic);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.pillar-text {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-mid);
}

/* ===== VALUES ===== */
.values-section {
  background: var(--ink);
}

.values-section .section-label {
  color: var(--rust-light);
}

.values-section .section-h2 {
  color: var(--paper);
}

.values-section .section-intro {
  color: rgba(244, 240, 232, 0.55);
  font-style: italic;
}

[dir="rtl"] .values-section .section-intro {
  font-style: normal;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 64px;
}

.value-item {
  background: var(--ink);
  padding: 52px 48px;
  border-right: none;
  position: relative;
  transition: background 0.3s;
}

.value-item:hover {
  background: #151210;
}

.value-rule {
  width: 32px;
  height: 2px;
  background: var(--rust);
  margin-bottom: 28px;
}

.value-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 20px;
  line-height: 1.2;
}

[dir="rtl"] .value-title {
  font-family: var(--arabic);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.value-text {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.85;
  color: rgba(244, 240, 232, 0.55);
}

/* ===== SERVICES OVERVIEW ===== */
.services-section {
  background: #f7f9fc;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 64px;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: padding 0.3s var(--ease);
  gap: 20px;
}

.service-row:hover {
  padding-left: 20px;
}

[dir="rtl"] .service-row:hover {
  padding-right: 20px;
  padding-left: 0;
}

.service-row-num {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--rust);
  width: 36px;
  flex-shrink: 0;
}

.service-row-name {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: 1;
}

[dir="rtl"] .service-row-name {
  font-family: var(--arabic);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.service-row-arrow {
  font-size: 22px;
  color: var(--text-light);
  transition: transform 0.3s var(--ease), color 0.2s;
}

.service-row:hover .service-row-arrow {
  transform: translateX(8px);
  color: var(--rust);
}

[dir="rtl"] .service-row:hover .service-row-arrow {
  transform: translateX(-8px);
}

/* ===== BOOKS PREVIEW ===== */
.books-section {
  background: var(--ink);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.book-card {
  background: #141e2e;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
  overflow: hidden;
  position: relative;
}

.book-card:hover {
  transform: translateY(-6px);
}

.book-spine {
  height: 6px;
  background: var(--rust);
}

.book-content {
  padding: 40px 36px 36px;
}

.book-cover-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.book-price-tag {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust-light);
  margin-bottom: 20px;
  display: block;
}

.book-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
  line-height: 1.15;
  margin-bottom: 16px;
}

[dir="rtl"] .book-title {
  font-family: var(--arabic);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.book-desc {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.75;
  color: rgba(244, 240, 232, 0.5);
  margin-bottom: 28px;
}

.book-link {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rust-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: gap 0.2s;
}

.book-link:hover {
  gap: 14px;
}

[dir="rtl"] .book-link {
  flex-direction: row-reverse;
}

/* ===== NEWSLETTERS PREVIEW ===== */
.newsletters-section {
  background: var(--cream);
  background-image: linear-gradient(rgba(230, 234, 240, 0.85), rgba(230, 234, 240, 0.85)), url("../images/newsletter background image 1.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.nl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 64px;
}

.nl-card {
  padding: 44px 40px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.3s;
}

.nl-card:last-child {
  border-right: none;
}

.nl-card:hover {
  background: var(--paper);
}

.nl-badge {
  display: inline-block;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--rust);
  color: var(--rust);
  margin-bottom: 24px;
}

.nl-title {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

[dir="rtl"] .nl-title {
  font-family: var(--arabic);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

.nl-desc {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 28px;
}

/* ===== COMMUNITY ===== */
.community-section {
  background: #0f1e38;
}

.community-section .section-label {
  color: var(--rust-light);
}

.community-section .section-h2 {
  color: #fff;
}

.community-section .section-intro {
  color: rgba(255, 255, 255, 0.75);
}

.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 64px;
}

.community-features {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.com-feature {
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.com-feature:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.com-feature-tag {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  display: block;
}

.com-feature-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 8px;
}

[dir="rtl"] .com-feature-title {
  font-family: var(--arabic);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.com-feature-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.community-quote-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.community-quote-text {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

[dir="rtl"] .community-quote-text {
  font-family: var(--arabic);
  font-style: normal;
  font-size: 18px;
  line-height: 1.7;
}

/* ===== MEDIA SECTION ===== */
.media-section {
  background: #060d18;
}

.media-section .section-label {
  color: var(--rust-light);
}

.media-section .section-h2 {
  color: var(--paper);
}

.media-section .section-intro {
  color: rgba(244, 240, 232, 0.55);
}

.media-stats-row {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 64px;
  margin-bottom: 48px;
}

.media-stat {
  flex: 1;
  padding: 44px 40px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.media-stat:last-child {
  border-right: none;
}

.media-stat-num {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 600;
  color: var(--rust-light);
  display: block;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.media-stat-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.35);
}

.media-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.media-tag {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(244, 240, 232, 0.5);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--paper);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 64px;
}

.contact-body {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 32px;
}

[dir="rtl"] .contact-body {
  font-family: var(--arabic);
  font-style: normal;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-input,
.form-textarea {
  background: var(--cream);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  width: 100%;
  border-radius: 0;
}

[dir="rtl"] .form-input,
[dir="rtl"] .form-textarea {
  font-family: var(--arabic);
  text-align: right;
}

.form-input:focus,
.form-textarea:focus {
  border-bottom-color: var(--rust);
}

.form-textarea {
  min-height: 120px;
}

.btn-rust {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--rust);
  color: #fff;
  border: none;
  padding: 16px 36px;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}

.btn-rust:hover {
  background: var(--rust-dark);
}

/* ===== FOOTER ===== */
footer {
  background: #060d18;
  border-top: 3px solid var(--rust);
  padding: 72px 40px 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 60px;
}

.footer-brand-col {
  flex-shrink: 0;
}

.footer-logo {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-tagline {
  font-family: var(--body);
  font-size: 13px;
  color: rgba(244, 240, 232, 0.35);
  max-width: 240px;
  line-height: 1.7;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  flex: 1;
}

.footer-col-title {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.3);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a,
.footer-links li span {
  font-family: var(--body);
  font-size: 13px;
  color: rgba(244, 240, 232, 0.5);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-links li a:hover,
.footer-links li span:hover {
  color: var(--paper);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--body);
  font-size: 12px;
  color: rgba(244, 240, 232, 0.25);
  letter-spacing: 0.05em;
}

/* ===== INNER PAGES ===== */
.page-hero {
  background: var(--ink);
  padding: 80px 40px 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--rust);
}

.page-hero::before {
  content: attr(data-letter);
  font-family: var(--display);
  font-size: 400px;
  color: rgba(255, 255, 255, 0.025);
  position: absolute;
  right: -20px;
  bottom: -60px;
  letter-spacing: -0.05em;
  line-height: 1;
  pointer-events: none;
}

[dir="rtl"] .page-hero::before {
  right: auto;
  left: -20px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rust-light);
  cursor: pointer;
  margin-bottom: 40px;
  transition: gap 0.2s;
  border: none;
  background: none;
}

.back-btn:hover {
  gap: 14px;
}

[dir="rtl"] .back-btn {
  flex-direction: row-reverse;
}

[dir="rtl"] .back-btn:hover {
  gap: 14px;
}

.page-hero-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rust-light);
  margin-bottom: 20px;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  max-width: 900px;
  margin-bottom: 32px;
}

[dir="rtl"] .page-hero h1 {
  font-family: var(--arabic);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.page-hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(244, 240, 232, 0.55);
  max-width: 560px;
  line-height: 1.75;
}

[dir="rtl"] .page-hero-sub {
  font-family: var(--arabic);
  font-style: normal;
}

/* ===== SERVICE DETAIL PAGE ===== */
.service-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
}

.service-main {
  padding: 80px 60px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

[dir="rtl"] .service-main {
  border-right: none;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.service-aside {
  padding: 80px 40px;
  background: #f0f4f8;
  position: sticky;
  top: 60px;
  align-self: start;
}

.service-body {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.9;
  color: var(--text);
}

[dir="rtl"] .service-body {
  font-family: var(--arabic);
  font-style: normal;
}

.service-body p {
  margin-bottom: 28px;
}

.service-body p:last-child {
  margin-bottom: 0;
}

.service-body strong {
  color: var(--rust);
  font-weight: 700;
}

.aside-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
}

[dir="rtl"] .aside-title {
  font-family: var(--arabic);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.aside-text {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 32px;
}

.other-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.other-services-list li span {
  font-family: var(--body);
  font-size: 13px;
  color: var(--text-mid);
  cursor: pointer;
  transition: color 0.2s;
  display: block;
  padding: 4px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.other-services-list li span:hover {
  color: var(--rust);
}

/* ===== BOOK DETAIL ===== */
.book-detail-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
}

.book-cover-col {
  background: var(--ink);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 600px;
}

.book-cover-title {
  font-family: var(--display);
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 20px;
}

[dir="rtl"] .book-cover-title {
  font-family: var(--arabic);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.book-cover-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(244, 240, 232, 0.45);
  line-height: 1.7;
  margin-bottom: 40px;
}

[dir="rtl"] .book-cover-subtitle {
  font-family: var(--arabic);
  font-style: normal;
}

.book-price-large {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 600;
  color: var(--rust-light);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.book-detail-main {
  padding: 80px 60px;
}

.book-body {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.9;
  color: var(--text);
}

[dir="rtl"] .book-body {
  font-family: var(--arabic);
  font-style: normal;
}

.book-body p {
  margin-bottom: 28px;
}

.book-body strong {
  color: var(--rust);
}

.book-body .book-bullets {
  margin: 20px 0 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

[dir="rtl"] .book-body .book-bullets {
  margin: 20px 20px 28px 0;
}

.book-body .book-bullets li {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
}

[dir="rtl"] .book-body .book-bullets li {
  padding-left: 0;
  padding-right: 16px;
}

.book-body .book-bullets li::before {
  content: '—';
  position: absolute;
  left: -4px;
  color: var(--rust);
}

[dir="rtl"] .book-body .book-bullets li::before {
  left: auto;
  right: -4px;
}

/* ===== COURSE DETAIL ===== */
.course-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0;
}

.course-main {
  padding: 80px 60px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

[dir="rtl"] .course-main {
  border-right: none;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.course-aside {
  padding: 80px 44px;
  background: var(--ink);
}

.course-body {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.9;
  color: var(--text);
}

[dir="rtl"] .course-body {
  font-family: var(--arabic);
  font-style: normal;
}

.course-body p {
  margin-bottom: 28px;
}

.course-body strong {
  color: var(--rust);
}

.course-takeaways {
  margin-top: 48px;
  border-top: 2px solid var(--rust);
  padding-top: 40px;
}

.takeaways-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 28px;
}

[dir="rtl"] .takeaways-title {
  font-family: var(--arabic);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}

.takeaway-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[dir="rtl"] .takeaway-item {
  flex-direction: row-reverse;
}

.takeaway-num {
  font-family: var(--display);
  font-size: 24px;
  color: var(--rust);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.takeaway-text {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
}

.course-aside-price {
  font-family: var(--display);
  font-size: 72px;
  font-weight: 600;
  color: var(--rust-light);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 8px;
}

.course-aside-note {
  font-family: var(--body);
  font-size: 13px;
  color: rgba(244, 240, 232, 0.4);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ===== NEWSLETTER DETAIL ===== */
.nl-detail-hero {
  background: #0f1e38;
}

.nl-detail-hero .page-hero-label {
  color: rgba(255, 255, 255, 0.7);
}

.nl-detail-hero h1 {
  color: #fff;
}

.nl-detail-hero .page-hero-sub {
  color: rgba(255, 255, 255, 0.7);
}

.nl-detail-hero::before {
  color: rgba(255, 255, 255, 0.04);
}

.nl-body {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.9;
  color: var(--text);
  padding: 80px 60px;
}

[dir="rtl"] .nl-body {
  font-family: var(--arabic);
  font-style: normal;
}

.nl-body p {
  margin-bottom: 28px;
}

.nl-body strong {
  color: var(--rust);
}

.nl-body .nl-list {
  margin: 20px 0 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

[dir="rtl"] .nl-body .nl-list {
  margin: 20px 20px 28px 0;
}

.nl-body .nl-list li {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mid);
}

/* ===== COMMUNITY FULL PAGE ===== */
.community-full .section {
  background: var(--paper);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 48px;
}

.who-item {
  padding: 44px 40px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.who-item:nth-child(2n) {
  border-right: none;
}

.who-label {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 12px;
  display: block;
}

.who-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

[dir="rtl"] .who-title {
  font-family: var(--arabic);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.who-text {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
}

/* ===== ABOUT/VALUES FULL ===== */
.about-section {
  background: #f7f9fc;
  padding: 80px 40px;
}

.about-body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
  max-width: 800px;
}

[dir="rtl"] .about-body {
  font-family: var(--arabic);
  font-style: normal;
}

.about-body p {
  margin-bottom: 28px;
}

.about-body strong {
  color: var(--rust);
}

.values-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 64px;
}

.value-full-item {
  padding: 52px 48px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--paper);
  transition: background 0.3s;
}

.value-full-item:nth-child(2n) {
  border-right: none;
}

.value-full-item:hover {
  background: var(--cream);
}

.value-full-rule {
  width: 32px;
  height: 2px;
  background: var(--rust);
  margin-bottom: 24px;
}

.value-full-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
}

[dir="rtl"] .value-full-title {
  font-family: var(--arabic);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.value-full-text {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-mid);
}

/* ===== MEDIA PAGE ===== */
.media-full-body {
  padding: 80px 40px;
  background: var(--paper);
}

.media-full-text {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.9;
  color: var(--text);
  max-width: 760px;
  margin-bottom: 48px;
}

[dir="rtl"] .media-full-text {
  font-family: var(--arabic);
  font-style: normal;
}

.media-full-text p {
  margin-bottom: 24px;
}

.media-full-text strong {
  color: var(--rust);
}

.media-offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 48px;
}

.media-offer-item {
  padding: 40px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
}

.media-offer-item:nth-child(2n) {
  border-right: none;
}

.media-offer-item:hover {
  background: var(--cream);
}

.media-offer-num {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  color: var(--rust);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 12px;
}

.media-offer-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}

[dir="rtl"] .media-offer-title {
  font-family: var(--arabic);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.media-offer-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ===== OFFERS HUB ===== */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 64px;
}

.offer-item {
  padding: 44px 40px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.3s;
}

.offer-item:nth-child(3n) {
  border-right: none;
}

.offer-item:hover {
  background: var(--cream);
}

.offer-cat {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 12px;
  display: block;
}

.offer-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}

[dir="rtl"] .offer-title {
  font-family: var(--arabic);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.offer-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ===== CHAT HINT ===== */
.chat-hint {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: var(--rust);
  color: #fff;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9990;
  animation: chatHintIn 0.5s var(--ease) forwards, chatHintOut 0.5s var(--ease) 7.5s forwards;
  pointer-events: none;
}

[dir="rtl"] .chat-hint {
  right: auto;
  left: 24px;
}

@keyframes chatHintIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chatHintOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* ===== N8N CHAT WIDGET OVERRIDE ===== */
#n8n-chat {
  z-index: 2147483640; /* Push the whole widget up */
}

/* Push the chat window up so it doesn't cover our custom toggle button */
#n8n-chat .chat-window {
  bottom: 110px !important; /* Clears our 62px button + 28px bottom margin = ~90px. Add a bit extra breathing room. */
  height: calc(100% - 130px) !important; /* Ensure it still fits on small screens by constraining height */
  max-height: 700px !important;
}

/* Hide the n8n widget's own toggle/launcher — it's a DIV not a BUTTON */
/* Our custom .floating-chat-btn replaces it */
#n8n-chat .chat-window-toggle {
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  position: fixed !important;
  bottom: 0 !important;
  right: 0 !important;
}

/* ===== FLOATING CHAT BUTTON ===== */
.floating-chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: var(--rust);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  animation: chatBtnPulse 2.5s ease-in-out infinite;
}

[dir="rtl"] .floating-chat-btn {
  right: auto;
  left: 28px;
}

.floating-chat-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 36px rgba(201, 168, 76, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  background: var(--rust-dark);
  animation: none;
}

.floating-chat-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  pointer-events: none;
}

.floating-chat-btn .chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: #e74c3c;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: badgePulse 2s ease-in-out infinite;
}

/* When chat is open, morph the button into a top-center "Close Chat" pill */
.floating-chat-btn.chat-is-open {
  bottom: auto;
  top: 24px;
  right: 50%;
  transform: translateX(50%);
  width: auto;
  height: 48px;
  padding: 0 24px;
  background: #0a0f1a;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  animation: none;
  border-radius: 24px;
}

.floating-chat-btn.chat-is-open:hover {
  background: #151d2e;
  transform: translateX(50%) scale(1.05); /* maintain centering while scaling */
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.2);
}

.floating-chat-btn.chat-is-open svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

html[lang="ar"] .floating-chat-btn.chat-is-open svg {
  margin-right: 0;
  margin-left: 8px;
}

.chat-close-text {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

@keyframes chatBtnPulse {

  0%,
  100% {
    box-shadow: 0 6px 28px rgba(201, 168, 76, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow: 0 6px 36px rgba(201, 168, 76, 0.55), 0 2px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
  }
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .hero-left {
    padding: 60px 24px;
    min-height: 80vh;
  }

  .hero-right {
    padding: 60px 24px;
  }

  .section {
    padding: 70px 20px;
  }

  .pillars-grid,
  .books-grid,
  .nl-grid {
    grid-template-columns: 1fr;
  }

  .pillar {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nl-card {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .values-grid,
  .community-inner,
  .contact-inner,
  .service-detail-layout,
  .book-detail-layout,
  .course-layout {
    grid-template-columns: 1fr;
  }

  .service-aside,
  .book-cover-col,
  .course-aside {
    position: static;
  }

  .book-detail-layout {
    grid-template-columns: 1fr;
  }

  .media-stats-row {
    flex-direction: column;
  }

  .media-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
  }

  .who-grid,
  .values-full,
  .media-offers-grid,
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .who-item,
  .value-full-item,
  .media-offer-item,
  .offer-item {
    border-right: none;
  }

  .service-main,
  .course-main,
  .book-detail-main,
  .nl-body {
    padding: 60px 20px;
  }

  .book-cover-col {
    padding: 60px 24px;
  }

  .course-aside {
    padding: 60px 24px;
  }

  .service-aside {
    padding: 40px 20px;
  }

  .page-hero {
    padding: 60px 20px;
  }
}