/* ============================================
   JAMIA TUL WAHAB — Trilingual Islamic Institute
   ============================================ */

:root {
  --bg: #f4efe4;
  --bg-alt: #ebe3d2;
  --ink: #1a2e25;
  --ink-soft: #3a4a42;
  --emerald: #0e3b2e;
  --emerald-light: #1a5443;
  --gold: #b8924a;
  --gold-light: #d4a85f;
  --cream: #f9f5ec;
  --line: rgba(26, 46, 37, 0.15);
  --shadow: 0 30px 60px -20px rgba(14, 59, 46, 0.15);

  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-arabic: 'Amiri', 'Reem Kufi', serif;
  --f-urdu: 'Noto Nastaliq Urdu', 'Amiri', serif;
  --f-kufi: 'Reem Kufi', serif;

  --container: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: direction 0.3s ease;
}

/* Language-specific body fonts */
body[data-lang="ur"] {
  font-family: var(--f-urdu);
  line-height: 1.9;
}

body[data-lang="ar"] {
  font-family: var(--f-arabic);
  line-height: 1.85;
}

/* RTL adjustments */
html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .scroll-line::after {
  animation-direction: reverse;
}

/* Decorative grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

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

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 239, 228, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  gap: 24px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--emerald);
  flex-shrink: 0;
}

.logo-mark {
  width: 58px;
  height: 58px;
  color: var(--emerald);
  flex-shrink: 0;
}

.logo-mark svg { width: 100%; height: 100%; }

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }

.logo-arabic {
  font-family: var(--f-arabic);
  font-size: 20px;
  color: var(--emerald);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.logo-en {
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 2px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

body[data-lang="ur"] .main-nav a {
  font-family: var(--f-urdu);
  font-size: 16px;
  letter-spacing: 0;
}

body[data-lang="ar"] .main-nav a {
  font-family: var(--f-arabic);
  font-size: 16px;
  letter-spacing: 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.main-nav a:hover,
.main-nav a.active { color: var(--emerald); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

/* ========== LANGUAGE SWITCHER ========== */
.lang-switch {
  position: relative;
  display: inline-block;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 9px 14px;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--emerald);
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  min-width: 92px;
  height: 40px;
  white-space: nowrap;
  line-height: 1;
}

.lang-toggle:hover {
  background: var(--emerald);
  color: var(--cream);
  border-color: var(--emerald);
}

.lang-toggle .lang-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.lang-toggle .chevron {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 0.3s ease;
}

html[dir="rtl"] .lang-toggle .chevron { margin-left: 0; margin-right: auto; }

.lang-switch.open .lang-toggle .chevron { transform: rotate(180deg); }

.lang-current-label {
  flex: 0 0 auto;
  font-weight: 600;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  z-index: 300;
  display: flex;
  flex-direction: column;
}

html[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

.lang-switch.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease;
  gap: 12px;
  white-space: nowrap;
}

html[dir="rtl"] .lang-btn { text-align: right; }

.lang-btn:last-child { border-bottom: none; }

.lang-btn:hover {
  background: var(--bg);
  color: var(--emerald);
}

.lang-btn.active {
  background: var(--emerald);
  color: var(--gold-light);
}

.lang-btn-name {
  font-weight: 500;
}

.lang-btn-native {
  font-size: 14px;
  color: var(--gold);
  opacity: 0.85;
}

.lang-btn[data-lang="ur"] .lang-btn-native {
  font-family: var(--f-urdu);
  font-size: 16px;
}
.lang-btn[data-lang="ar"] .lang-btn-native {
  font-family: var(--f-arabic);
  font-size: 16px;
}
.lang-btn.active .lang-btn-native { color: var(--gold-light); opacity: 1; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--emerald);
  transition: all 0.3s ease;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top left, rgba(184, 146, 74, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(14, 59, 46, 0.06), transparent 60%),
    var(--bg);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    url("data:image/svg+xml,%3Csvg width='90' height='90' viewBox='0 0 90 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230e3b2e' stroke-width='0.6'%3E%3Cpolygon points='45,8 67,20 67,45 45,57 23,45 23,20'/%3E%3Cpolygon points='45,20 57,27 57,40 45,47 33,40 33,27'/%3E%3Ccircle cx='45' cy='33' r='6'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-bismillah {
  font-family: var(--f-arabic);
  font-size: 32px;
  color: var(--emerald);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-title-small {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}

body[data-lang="ur"] .hero-title-small {
  font-family: var(--f-urdu);
  font-style: normal;
  font-size: 22px;
}
body[data-lang="ar"] .hero-title-small {
  font-family: var(--f-arabic);
  font-style: normal;
  font-size: 24px;
}

.hero-title-main {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1;
  color: var(--emerald);
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

body[data-lang="ur"] .hero-title-main {
  font-family: var(--f-urdu);
  line-height: 1.4;
  letter-spacing: 0;
}
body[data-lang="ar"] .hero-title-main {
  font-family: var(--f-arabic);
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-title-sub {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-top: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

body[data-lang="ur"] .hero-title-sub {
  font-family: var(--f-urdu);
  font-style: normal;
}
body[data-lang="ar"] .hero-title-sub {
  font-family: var(--f-arabic);
  font-style: normal;
}

.hero-lead {
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto 44px;
  opacity: 0;
  animation: fadeUp 1s ease 1s forwards;
}

body[data-lang="ur"] .hero-lead {
  font-family: var(--f-urdu);
  font-size: 19px;
  line-height: 1.9;
}
body[data-lang="ar"] .hero-lead {
  font-family: var(--f-arabic);
  font-size: 21px;
  line-height: 1.85;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}

.hero-verse {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-top: 32px;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}

.verse-ar {
  font-family: var(--f-arabic);
  font-size: 26px;
  color: var(--emerald);
  margin-bottom: 10px;
}

.verse-trans {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
}

body[data-lang="ur"] .verse-trans {
  font-family: var(--f-urdu);
  font-style: normal;
}
body[data-lang="ar"] .verse-trans {
  font-family: var(--f-arabic);
  font-style: normal;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--ink-soft);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollDown 2.5s ease infinite;
}

@keyframes scrollDown {
  0% { top: -40px; }
  100% { top: 40px; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  border: 1px solid;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

body[data-lang="ur"] .btn { font-family: var(--f-urdu); font-size: 15px; letter-spacing: 0; text-transform: none; }
body[data-lang="ar"] .btn { font-family: var(--f-arabic); font-size: 15px; letter-spacing: 0; text-transform: none; }

.btn-primary {
  background: var(--emerald);
  color: var(--cream);
  border-color: var(--emerald);
}
.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald);
}
.btn-outline:hover {
  background: var(--emerald);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ========== SECTIONS ========== */
.section { padding: 120px 0; position: relative; }

.section-head {
  margin-bottom: 70px;
  max-width: 720px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-bottom: 20px;
}

body[data-lang="ur"] .eyebrow { font-family: var(--f-urdu); font-size: 14px; letter-spacing: 0; text-transform: none; }
body[data-lang="ar"] .eyebrow { font-family: var(--f-arabic); font-size: 14px; letter-spacing: 0; text-transform: none; }

.section-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  color: var(--emerald);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

body[data-lang="ur"] .section-title { font-family: var(--f-urdu); line-height: 1.4; letter-spacing: 0; }
body[data-lang="ar"] .section-title { font-family: var(--f-arabic); line-height: 1.3; letter-spacing: 0; }

.section-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

body[data-lang="ur"] .section-title em,
body[data-lang="ar"] .section-title em {
  font-style: normal;
}

.section-subtitle {
  font-family: var(--f-display);
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.6;
}

body[data-lang="ur"] .section-subtitle { font-family: var(--f-urdu); font-size: 17px; line-height: 1.9; }
body[data-lang="ar"] .section-subtitle { font-family: var(--f-arabic); line-height: 1.85; }

.section-cta { margin-top: 60px; }
.section-cta.center { text-align: center; }

/* ========== WELCOME ========== */
.section-welcome { background: var(--bg); }

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.welcome-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

body[data-lang="ur"] .welcome-text p { font-family: var(--f-urdu); font-size: 16px; line-height: 1.95; }
body[data-lang="ar"] .welcome-text p { font-family: var(--f-arabic); line-height: 1.9; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 600;
  border-bottom: 1px solid var(--emerald);
  padding-bottom: 6px;
  transition: all 0.3s ease;
}

body[data-lang="ur"] .link-arrow,
body[data-lang="ar"] .link-arrow {
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.link-arrow .arrow { transition: transform 0.3s ease; }
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }
.link-arrow:hover .arrow { transform: translateX(6px); }
html[dir="rtl"] .link-arrow .arrow { transform: scaleX(-1); }
html[dir="rtl"] .link-arrow:hover .arrow { transform: scaleX(-1) translateX(6px); }

.welcome-visual { position: relative; }

.ornament-frame {
  position: relative;
  aspect-ratio: 1;
  background: var(--cream);
  color: var(--emerald);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 40px;
}

.ornament-frame svg { width: 100%; height: 100%; }

.stat-cards {
  position: absolute;
  bottom: -40px;
  right: -40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

html[dir="rtl"] .stat-cards { right: auto; left: -40px; }

.stat-card {
  background: var(--emerald);
  color: var(--cream);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
  min-width: 180px;
}

.stat-num {
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-light);
}

.stat-label {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

body[data-lang="ur"] .stat-label,
body[data-lang="ar"] .stat-label { font-family: inherit; font-size: 13px; letter-spacing: 0; text-transform: none; }

/* ========== PROGRAMS ========== */
.section-programs {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--cream);
  padding: 44px 36px;
  border: 1px solid var(--line);
  position: relative;
  transition: all 0.5s ease;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

html[dir="rtl"] .program-card::before { transform-origin: right; }

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.program-card:hover::before { transform: scaleX(1); }

.program-icon {
  width: 56px;
  height: 56px;
  color: var(--emerald);
  margin-bottom: 24px;
  transition: color 0.3s ease;
}

.program-card:hover .program-icon { color: var(--gold); }
.program-icon svg { width: 100%; height: 100%; }

.program-card h3 {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--emerald);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

body[data-lang="ur"] .program-card h3 { font-family: var(--f-urdu); }
body[data-lang="ar"] .program-card h3 { font-family: var(--f-arabic); }

.program-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

body[data-lang="ur"] .program-card p { font-family: var(--f-urdu); line-height: 1.9; }
body[data-lang="ar"] .program-card p { font-family: var(--f-arabic); line-height: 1.85; }

/* ========== FEATURES ========== */
.section-features {
  background: var(--emerald);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.section-features::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='50,5 95,30 95,70 50,95 5,70 5,30' fill='none' stroke='%23d4a85f' stroke-width='0.8'/%3E%3Cpolygon points='50,20 80,35 80,65 50,80 20,65 20,35' fill='none' stroke='%23d4a85f' stroke-width='0.5'/%3E%3C/svg%3E");
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.feature {
  padding-left: 24px;
  border-left: 1px solid rgba(212, 168, 95, 0.3);
}

html[dir="rtl"] .feature {
  padding-left: 0;
  padding-right: 24px;
  border-left: none;
  border-right: 1px solid rgba(212, 168, 95, 0.3);
}

.feature-num {
  font-family: var(--f-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--gold-light);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.feature h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 12px;
}

body[data-lang="ur"] .feature h3 { font-family: var(--f-urdu); }
body[data-lang="ar"] .feature h3 { font-family: var(--f-arabic); }

.feature p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(249, 245, 236, 0.75);
}

body[data-lang="ur"] .feature p { font-family: var(--f-urdu); line-height: 1.95; }
body[data-lang="ar"] .feature p { font-family: var(--f-arabic); line-height: 1.85; }

/* ========== QUOTE ========== */
.section-quote {
  background: var(--bg);
  padding: 100px 0;
}

.quote-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.quote-ornament {
  width: 100px;
  height: 30px;
  margin: 0 auto 32px;
  color: var(--gold);
}

.quote-ar {
  font-family: var(--f-arabic);
  font-size: 40px;
  line-height: 1.6;
  color: var(--emerald);
  margin-bottom: 24px;
}

.quote-trans {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 16px;
}

body[data-lang="ur"] .quote-trans { font-family: var(--f-urdu); font-style: normal; font-size: 20px; line-height: 1.8; }
body[data-lang="ar"] .quote-trans { font-family: var(--f-arabic); font-style: normal; }

.quote-source {
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

body[data-lang="ur"] .quote-source,
body[data-lang="ar"] .quote-source { font-family: inherit; letter-spacing: 0; text-transform: none; font-size: 15px; }

/* ========== CTA FINAL ========== */
.section-cta-final {
  background: var(--bg-alt);
  padding: 100px 0;
}

.cta-final {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--cream);
  padding: 80px;
  border: 1px solid var(--line);
  position: relative;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--gold);
}

html[dir="rtl"] .cta-final::before { left: auto; right: 0; }

.cta-final p {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--ink-soft);
  margin-top: 16px;
}

body[data-lang="ur"] .cta-final p { font-family: var(--f-urdu); font-size: 17px; line-height: 1.9; }
body[data-lang="ar"] .cta-final p { font-family: var(--f-arabic); line-height: 1.85; }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--emerald);
  color: rgba(249, 245, 236, 0.85);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo-text { margin-bottom: 20px; }
.footer-brand .logo-arabic { color: var(--gold-light); font-size: 26px; }
.footer-brand .logo-en { color: var(--cream); font-size: 13px; }
.footer-brand p { font-size: 14px; line-height: 1.7; opacity: 0.7; max-width: 380px; }

body[data-lang="ur"] .footer-brand p { font-family: var(--f-urdu); line-height: 1.9; }
body[data-lang="ar"] .footer-brand p { font-family: var(--f-arabic); }

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 12px;
  font-style: italic;
}

body[data-lang="ur"] .footer-links h4,
body[data-lang="ur"] .footer-contact h4 { font-family: var(--f-urdu); font-style: normal; }
body[data-lang="ar"] .footer-links h4,
body[data-lang="ar"] .footer-contact h4 { font-family: var(--f-arabic); font-style: normal; }

.footer-links a, .footer-contact a {
  font-size: 14px;
  color: rgba(249, 245, 236, 0.75);
  transition: color 0.3s ease;
}

.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }

.footer-contact p { font-size: 14px; line-height: 1.7; opacity: 0.75; }

body[data-lang="ur"] .footer-contact p { font-family: var(--f-urdu); line-height: 1.9; }
body[data-lang="ar"] .footer-contact p { font-family: var(--f-arabic); }

.footer-bottom {
  border-top: 1px solid rgba(212, 168, 95, 0.2);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.footer-dua {
  font-family: var(--f-arabic);
  font-size: 18px;
  color: var(--gold-light);
  opacity: 0.9;
}

/* ============================================
   INTERIOR PAGES
   ============================================ */

.page-hero {
  padding: 100px 0 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    url("data:image/svg+xml,%3Csvg width='70' height='70' viewBox='0 0 70 70' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230e3b2e' stroke-width='0.6'%3E%3Cpolygon points='35,6 52,16 52,35 35,45 18,35 18,16'/%3E%3Ccircle cx='35' cy='25' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-arabic {
  font-family: var(--f-arabic);
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 20px;
}

.page-hero h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.05;
  color: var(--emerald);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

body[data-lang="ur"] .page-hero h1 { font-family: var(--f-urdu); line-height: 1.4; letter-spacing: 0; }
body[data-lang="ar"] .page-hero h1 { font-family: var(--f-arabic); line-height: 1.3; letter-spacing: 0; }

.page-hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
body[data-lang="ur"] .page-hero h1 em,
body[data-lang="ar"] .page-hero h1 em { font-style: normal; }

.page-hero-lead {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--ink-soft);
  line-height: 1.6;
}

body[data-lang="ur"] .page-hero-lead { font-family: var(--f-urdu); font-size: 18px; line-height: 1.9; }
body[data-lang="ar"] .page-hero-lead { font-family: var(--f-arabic); line-height: 1.85; }

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.about-content h2 {
  font-family: var(--f-display);
  font-size: 36px;
  color: var(--emerald);
  margin-bottom: 20px;
  font-weight: 500;
}

body[data-lang="ur"] .about-content h2 { font-family: var(--f-urdu); }
body[data-lang="ar"] .about-content h2 { font-family: var(--f-arabic); }

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

body[data-lang="ur"] .about-content p { font-family: var(--f-urdu); line-height: 1.95; }
body[data-lang="ar"] .about-content p { font-family: var(--f-arabic); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 70px;
}

.value-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 40px 32px;
  position: relative;
}

.value-card-num {
  font-family: var(--f-display);
  font-size: 56px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.value-card h3 {
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--emerald);
  margin-bottom: 12px;
  font-weight: 500;
}

body[data-lang="ur"] .value-card h3 { font-family: var(--f-urdu); }
body[data-lang="ar"] .value-card h3 { font-family: var(--f-arabic); }

.value-card p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
body[data-lang="ur"] .value-card p { font-family: var(--f-urdu); line-height: 1.9; }
body[data-lang="ar"] .value-card p { font-family: var(--f-arabic); }

/* Programs detail */
.programs-list { display: flex; flex-direction: column; }

.program-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr 100px;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

.program-row:hover {
  background: var(--cream);
  padding-left: 20px;
  padding-right: 20px;
}

.program-row-num {
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--gold);
  font-weight: 400;
  font-style: italic;
}

.program-row h3 {
  font-family: var(--f-display);
  font-size: 26px;
  color: var(--emerald);
  font-weight: 500;
}

body[data-lang="ur"] .program-row h3 { font-family: var(--f-urdu); }
body[data-lang="ar"] .program-row h3 { font-family: var(--f-arabic); }

.program-row p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

body[data-lang="ur"] .program-row p { font-family: var(--f-urdu); line-height: 1.9; }
body[data-lang="ar"] .program-row p { font-family: var(--f-arabic); }

.program-row-tag {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: right;
}

html[dir="rtl"] .program-row-tag { text-align: left; }
body[data-lang="ur"] .program-row-tag,
body[data-lang="ar"] .program-row-tag { font-family: inherit; letter-spacing: 0; text-transform: none; font-size: 13px; }

.short-courses { background: var(--bg-alt); }

.short-courses .courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.short-course-card {
  background: var(--cream);
  padding: 32px 28px;
  border: 1px solid var(--line);
  text-align: center;
  transition: all 0.4s ease;
}

.short-course-card:hover {
  background: var(--emerald);
  color: var(--cream);
  transform: translateY(-4px);
}

.short-course-card:hover h4 { color: var(--gold-light); }
.short-course-card:hover p { color: rgba(249, 245, 236, 0.8); }

.short-course-card h4 {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--emerald);
  margin-bottom: 10px;
  font-weight: 500;
}

body[data-lang="ur"] .short-course-card h4 { font-family: var(--f-urdu); }
body[data-lang="ar"] .short-course-card h4 { font-family: var(--f-arabic); }

.short-course-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

body[data-lang="ur"] .short-course-card p { font-family: var(--f-urdu); line-height: 1.9; }
body[data-lang="ar"] .short-course-card p { font-family: var(--f-arabic); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info-block { margin-bottom: 36px; }
.contact-info-block .eyebrow { margin-bottom: 12px; }

.contact-info-block h3 {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--emerald);
  margin-bottom: 10px;
  font-weight: 500;
}

body[data-lang="ur"] .contact-info-block h3 { font-family: var(--f-urdu); }
body[data-lang="ar"] .contact-info-block h3 { font-family: var(--f-arabic); }

.contact-info-block p, .contact-info-block a {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  display: block;
  transition: color 0.3s ease;
}

body[data-lang="ur"] .contact-info-block p { font-family: var(--f-urdu); line-height: 1.9; }
body[data-lang="ar"] .contact-info-block p { font-family: var(--f-arabic); }

.contact-info-block a:hover { color: var(--gold); }

.contact-form {
  background: var(--cream);
  padding: 48px;
  border: 1px solid var(--line);
}

.contact-form h2 {
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--emerald);
  margin-bottom: 28px;
  font-weight: 500;
}

body[data-lang="ur"] .contact-form h2 { font-family: var(--f-urdu); }
body[data-lang="ar"] .contact-form h2 { font-family: var(--f-arabic); }

.form-row { margin-bottom: 22px; }

.form-row label {
  display: block;
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

body[data-lang="ur"] .form-row label { font-family: var(--f-urdu); font-size: 14px; letter-spacing: 0; text-transform: none; }
body[data-lang="ar"] .form-row label { font-family: var(--f-arabic); font-size: 14px; letter-spacing: 0; text-transform: none; }

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
  transition: border-color 0.3s ease;
}

body[data-lang="ur"] .form-row input,
body[data-lang="ur"] .form-row textarea,
body[data-lang="ur"] .form-row select { font-family: var(--f-urdu); }
body[data-lang="ar"] .form-row input,
body[data-lang="ar"] .form-row textarea,
body[data-lang="ar"] .form-row select { font-family: var(--f-arabic); }

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--emerald);
}

.form-row textarea { min-height: 140px; resize: vertical; }

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 1px solid var(--gold);
}

html[dir="rtl"] .timeline {
  padding-left: 0;
  padding-right: 40px;
  border-left: none;
  border-right: 1px solid var(--gold);
}

.timeline-item { padding: 0 0 50px 30px; position: relative; }
html[dir="rtl"] .timeline-item { padding: 0 30px 50px 0; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  transform: rotate(45deg);
}

html[dir="rtl"] .timeline-item::before { left: auto; right: -36px; }

.timeline-item h3 {
  font-family: var(--f-display);
  font-size: 26px;
  color: var(--emerald);
  margin-bottom: 10px;
  font-weight: 500;
}

body[data-lang="ur"] .timeline-item h3 { font-family: var(--f-urdu); }
body[data-lang="ar"] .timeline-item h3 { font-family: var(--f-arabic); }

.timeline-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

body[data-lang="ur"] .timeline-item p { font-family: var(--f-urdu); line-height: 1.9; }
body[data-lang="ar"] .timeline-item p { font-family: var(--f-arabic); }

.timeline-step {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

body[data-lang="ur"] .timeline-step,
body[data-lang="ar"] .timeline-step { font-family: inherit; letter-spacing: 0; text-transform: none; font-size: 13px; }

/* Map block */
.map-block {
  margin-top: 60px;
  background: var(--emerald);
  color: var(--cream);
  padding: 60px;
  text-align: center;
  border: 1px solid var(--line);
}

.map-block svg {
  width: 60px;
  height: 60px;
  color: var(--gold-light);
  margin: 0 auto 20px;
}

.map-block h3 {
  font-family: var(--f-display);
  font-size: 28px;
  color: var(--cream);
  margin-bottom: 12px;
  font-weight: 500;
}

body[data-lang="ur"] .map-block h3 { font-family: var(--f-urdu); }
body[data-lang="ar"] .map-block h3 { font-family: var(--f-arabic); }

.map-block p { font-size: 15px; line-height: 1.7; opacity: 0.85; max-width: 500px; margin: 0 auto; }

body[data-lang="ur"] .map-block p { font-family: var(--f-urdu); line-height: 1.9; }
body[data-lang="ar"] .map-block p { font-family: var(--f-arabic); }

/* ============================================
   PRINCIPAL SECTION
   ============================================ */
.section-principal {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  position: relative;
  overflow: hidden;
}

.section-principal::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    url("data:image/svg+xml,%3Csvg width='70' height='70' viewBox='0 0 70 70' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230e3b2e' stroke-width='0.6'%3E%3Cpolygon points='35,6 52,16 52,35 35,45 18,35 18,16'/%3E%3Ccircle cx='35' cy='25' r='5'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.principal-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.principal-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
}

.principal-photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: var(--shadow);
}

.principal-photo-frame::before,
.principal-photo-frame::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold);
}

.principal-photo-frame::before {
  top: -10px;
  left: -10px;
  border-right: none;
  border-bottom: none;
}

.principal-photo-frame::after {
  bottom: -10px;
  right: -10px;
  border-left: none;
  border-top: none;
}

html[dir="rtl"] .principal-photo-frame::before {
  left: auto;
  right: -10px;
  border-right: 2px solid var(--gold);
  border-left: none;
}

html[dir="rtl"] .principal-photo-frame::after {
  right: auto;
  left: -10px;
  border-left: 2px solid var(--gold);
  border-right: none;
}

.principal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
}

.principal-badge {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald);
  color: var(--gold-light);
  padding: 14px 28px;
  font-family: var(--f-arabic);
  font-size: 18px;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.principal-text {
  padding: 20px 0;
}

.principal-text .eyebrow {
  margin-bottom: 16px;
}

.principal-name {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 500;
  color: var(--emerald);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

body[data-lang="ur"] .principal-name {
  font-family: var(--f-urdu);
  line-height: 1.4;
  letter-spacing: 0;
}

body[data-lang="ar"] .principal-name {
  font-family: var(--f-arabic);
  line-height: 1.3;
  letter-spacing: 0;
}

.principal-title {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 400;
}

body[data-lang="ur"] .principal-title {
  font-family: var(--f-urdu);
  font-style: normal;
  font-size: 20px;
}

body[data-lang="ar"] .principal-title {
  font-family: var(--f-arabic);
  font-style: normal;
}

.principal-credentials {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
  padding: 28px 32px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}

html[dir="rtl"] .principal-credentials {
  border-left: none;
  border-right: 3px solid var(--gold);
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.credential-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-top: 2px;
}

.credential-icon svg {
  width: 100%;
  height: 100%;
}

.credential-text {
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}

body[data-lang="ur"] .credential-text {
  font-family: var(--f-urdu);
  font-size: 17px;
  line-height: 1.8;
}

body[data-lang="ar"] .credential-text {
  font-family: var(--f-arabic);
  font-size: 18px;
  line-height: 1.7;
}

.credential-text strong {
  color: var(--emerald);
  font-weight: 600;
}

.principal-message {
  font-family: var(--f-display);
  font-size: 17px;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

html[dir="rtl"] .principal-message {
  padding-left: 0;
  padding-right: 24px;
  border-left: none;
  border-right: 1px solid var(--line);
}

body[data-lang="ur"] .principal-message {
  font-family: var(--f-urdu);
  font-style: normal;
  font-size: 16px;
  line-height: 1.9;
}

body[data-lang="ar"] .principal-message {
  font-family: var(--f-arabic);
  font-style: normal;
  line-height: 1.85;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .welcome-grid, .about-content, .contact-grid, .cta-final {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .principal-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .principal-photo-wrap {
    max-width: 360px;
    margin: 0 auto;
  }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stat-cards { position: static; flex-direction: row; margin-top: 24px; }
  .cta-final { padding: 60px 40px; }
  .short-courses .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .program-row { grid-template-columns: 60px 1fr; }
  .program-row p, .program-row-tag { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .header-inner { padding: 12px 16px; gap: 8px; }
  .nav-wrap { gap: 8px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .logo { gap: 10px; }
  .logo-arabic { font-size: 16px; }
  .logo-en { font-size: 9px; letter-spacing: 0.06em; }
  .logo-mark { width: 40px; height: 40px; }
  .lang-toggle { padding: 7px 10px; font-size: 12px; min-width: auto; height: 36px; gap: 6px; }
  .lang-toggle .lang-icon { width: 13px; height: 13px; }
  .lang-toggle .chevron { width: 8px; height: 5px; }
  .lang-dropdown { min-width: 160px; }
  .lang-btn { padding: 11px 14px; font-size: 13px; }
  .hero { padding: 60px 0; min-height: auto; }
  .hero-bismillah { font-size: 24px; }
  .hero-lead { font-size: 17px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .btn { padding: 14px 24px; font-size: 12px; }
  .programs-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .quote-ar { font-size: 30px; }
  .quote-trans { font-size: 18px; }
  .cta-final { padding: 40px 24px; }
  .contact-form { padding: 32px 24px; }
  .short-courses .courses-grid { grid-template-columns: 1fr; }
  .stat-cards { flex-direction: column; }
  .timeline { padding-left: 24px; }
  html[dir="rtl"] .timeline { padding-right: 24px; }
  .map-block { padding: 40px 24px; }
  .principal-credentials { padding: 22px 24px; }
  .credential-text { font-size: 16px; }
  .principal-badge { font-size: 15px; padding: 12px 22px; }
}

@media (max-width: 420px) {
  .header-inner { padding: 10px 14px; gap: 6px; }
  .logo-arabic { font-size: 15px; }
  .logo-en { display: none; }
  .logo-mark { width: 36px; height: 36px; }
  .lang-toggle { padding: 6px 8px; font-size: 11px; height: 34px; gap: 4px; min-width: 0; }
  .lang-toggle .lang-icon { width: 12px; height: 12px; }
  .lang-current-label { font-size: 11px; }
  .lang-dropdown { right: -14px; }
  html[dir="rtl"] .lang-dropdown { right: auto; left: -14px; }
  .hero-bismillah { font-size: 20px; }
  .hero-title-main { font-size: 40px !important; }
  .hero-title-sub { font-size: 22px !important; }
}
