@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ─── CSS VARIABLES ─────────────────────────────────────── */
:root {
  --font-family: 'Tajawal', sans-serif;

  /* Theme-adaptive Colors (Light Theme Default) */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F5F2; /* matches original --offwhite */
  --bg-card: #FFFFFF;
  --text-main: #1e1e1e; /* matches original --text */
  --text-muted: #555555; /* matches original --text-lt */
  --border-color: #E8E8E8; /* matches original --gray */
  --shadow-color: rgba(0, 0, 0, 0.08);
  --input-bg: #FFFFFF;
  --input-border: #E8E8E8;
  --navy-text: var(--navy);

  /* Static Brand Colors */
  --navy:     #1A2A4A;
  --navy-dk:  #0f1c32;
  --gold:     #C9A96E;
  --gold-lt:  #dbbf8a;
  --gold-dk:  #a8883a;
  --white:    #FFFFFF;
  --offwhite: #F7F5F2;
  --gray:     #E8E8E8;
  --gray-md:  #999999;
  --text:     #1e1e1e;
  --text-lt:  #555555;
}

/* Dark Theme Variables */
html[data-theme="dark"] {
  --bg-primary: #0b132b; /* deep dark navy */
  --bg-secondary: #111a36; /* slightly lighter navy */
  --bg-card: #1c2541; /* dark card background */
  --text-main: #f7f9fc;
  --text-muted: #cbd5e1;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.35);
  --input-bg: #151e3d;
  --input-border: rgba(255, 255, 255, 0.15);
  --navy-text: #FFFFFF;
}

/* Logical direction fonts */
html[dir="ltr"] {
  --font-family: 'Montserrat', sans-serif;
}

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

/* ─── BASE ──────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  /* direction and theme are set dynamically via JS */
}

body, h1, h2, h3, h4, h5, h6, input, select, textarea, button {
  font-family: var(--font-family);
}

body {
  background: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

button {
  cursor: pointer;
  font-family: var(--font-family);
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: transparent;
  padding: 0 5vw;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(26, 42, 74, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-text {
  color: var(--white);
  line-height: 1.25;
  white-space: nowrap;
}

.nav-logo-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.nav-logo-text span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-lt);
  letter-spacing: 0.8px;
  font-family: 'Montserrat', sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.25s;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--gold-lt);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-dk) !important;
  padding: 9px 22px !important;
  border-radius: 4px !important;
  font-weight: 800 !important;
}

.nav-cta:hover {
  background: var(--gold-lt) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-dk);
  padding: 1.5rem 5vw 2rem;
  gap: 1rem;
  position: absolute;
  top: 76px;
  right: 0;
  left: 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu .m-cta {
  background: var(--gold);
  color: var(--navy-dk) !important;
  padding: 12px 20px;
  border-radius: 4px;
  text-align: center;
  font-weight: 800 !important;
  border-bottom: none;
  margin-top: 0.5rem;
}

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(150deg, var(--navy-dk) 0%, #1a3356 60%, #0d2040 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.06;
}

.hero-beam {
  position: absolute;
  top: -20%;
  left: 30%;
  width: 2px;
  height: 140%;
  background: linear-gradient(to bottom, transparent, var(--gold) 40%, transparent);
  opacity: 0.25;
  transform: rotate(15deg);
}

.hero-beam-2 {
  position: absolute;
  top: -20%;
  left: 55%;
  width: 1px;
  height: 140%;
  background: linear-gradient(to bottom, transparent, var(--gold) 50%, transparent);
  opacity: 0.12;
  transform: rotate(15deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 5vw 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 2.4rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* Hero visual panel */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 12px;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  backdrop-filter: blur(6px);
}

.hero-vc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.8rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-vc-icon {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-vc-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--navy-dk);
}

.hero-vc-title {
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
}

.hero-vc-sub {
  color: var(--gold-lt);
  font-weight: 500;
  font-size: 0.85rem;
  margin-top: 2px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-badge {
  position: absolute;
  bottom: -1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--navy-dk);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.9rem;
  line-height: 1.3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ─── GOLD DIVIDER ──────────────────────────────────────── */
.gold-divider {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--navy-dk),
    var(--gold) 40%,
    var(--gold-lt) 60%,
    var(--navy-dk)
  );
}

/* ─── SHARED SECTION STYLES ─────────────────────────────── */
.section {
  padding: 96px 5vw;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-dk);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--navy-text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title em {
  font-style: normal;
  color: var(--gold-dk);
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.75;
  max-width: 620px;
}

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn-primary, .btn-outline, .nav-cta, .lang-toggle, .theme-toggle {
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dk);
  padding: 14px 34px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  font-family: var(--font-family);
}

.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 14px 34px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.08);
  color: var(--gold-lt);
}

/* ─── ABOUT SECTION ─────────────────────────────────────── */
.section-about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text .section-lead {
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.1rem;
  transition: background-color 0.3s, border-color 0.3s;
}

html[dir="rtl"] .value-card {
  border-right: 3px solid var(--gold);
}
html[dir="ltr"] .value-card {
  border-left: 3px solid var(--gold);
}

.value-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-text);
  margin-bottom: 0.35rem;
}

.value-card p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-card-main {
  background: var(--navy);
  border-radius: 12px;
  padding: 2.5rem;
  color: var(--white);
}

.ac-eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about-card-main h3 {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.about-card-main p {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.mission-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 1.5rem 0;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.info-item .lbl {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.info-item .val {
  color: var(--gold-lt);
  font-weight: 700;
}

/* ─── SERVICES SECTION ───────────────────────────────────── */
.section-services {
  background: var(--bg-primary);
}

.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem 1.6rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s, background-color 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s;
}

.service-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 40px var(--shadow-color);
  transform: translateY(-6px);
}

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

.sc-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(
    135deg,
    rgba(201, 169, 110, 0.15),
    rgba(201, 169, 110, 0.05)
  );
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.sc-icon svg {
  width: 24px;
  height: 24px;
}

.sc-num {
  font-family: var(--font-family);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1.5px;
  margin-bottom: 0.6rem;
}

.sc-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-text);
  margin-bottom: 0.7rem;
  line-height: 1.3;
}

.sc-desc {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── WHY US SECTION ─────────────────────────────────────── */
.section-why {
  background: linear-gradient(135deg, var(--navy-dk) 0%, #1a3356 100%);
  position: relative;
  overflow: hidden;
}

.section-why::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 169, 110, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: center;
}

.why-text .section-title {
  color: var(--white);
}

.why-text .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

.why-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.pillar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 10px;
  padding: 1.6rem;
  transition: background 0.3s;
}

.pillar:hover {
  background: rgba(255, 255, 255, 0.07);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  background: rgba(201, 169, 110, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pillar-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.pillar h4 {
  color: var(--gold-lt);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.pillar p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.55;
}

/* ─── CONTACT SECTION ────────────────────────────────────── */
.section-contact {
  background: var(--bg-secondary);
}

.contact-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contact-header .section-eyebrow {
  justify-content: center;
}

.contact-header .section-lead {
  margin: 1rem auto 0;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ci-icon {
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.ci-label {
  font-size: 0.82rem;
  color: var(--gray-md);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.ci-value {
  font-size: 1rem;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.45;
  transition: color 0.3s ease;
}

/* Hover effect for clickable links like phone */
a.ci-value:hover {
  color: var(--gold);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  transition: background-color 0.3s, border-color 0.3s;
}

.form-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy-text);
  margin-bottom: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid var(--input-border);
  border-radius: 6px;
  padding: 11px 14px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  background: var(--input-bg);
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.3s, color 0.3s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  background: var(--gold-dk);
  transform: translateY(-1px);
}

/* ─── TOAST ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(150px); /* Increased translate to hide completely */
  opacity: 0; /* Fully transparent initially */
  visibility: hidden; /* Hide completely */
  background: #1c5c2a;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 9999;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: none;
  white-space: nowrap; /* Prevent text wrapping on small screens */
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--navy-dk);
  color: rgba(255, 255, 255, 0.65);
  padding: 3rem 5vw;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.footer-logo span {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
}

.footer-reg {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
}

/* ─── BACK TO TOP ────────────────────────────────────────── */
.btt {
  position: fixed;
  bottom: 1.8rem;
  left: 1.8rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.btt.show {
  opacity: 1;
  pointer-events: all;
}

.btt svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy-dk);
  fill: none;
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── ADDED PHOTO LAYOUT STYLES ─────────────────────────── */
/* Hero Visual Image */
.hero-img-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 380px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(201, 169, 110, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* About Visual Column */
.about-visual-col {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.about-img-container {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.25);
  box-shadow: 0 12px 35px var(--shadow-color);
}

.about-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Services Thumbnail Cards */
.sc-img-container {
  width: 100%;
  height: 154px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.4rem;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.sc-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.service-card:hover .sc-img-container img {
  transform: scale(1.08);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  /* Disable scroll reveal on mobile/tablet to avoid IntersectionObserver bugs */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Hide desktop menu and show hamburger earlier to prevent overlaps on tablets */
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .nav-logo-text strong {
    font-size: 0.95rem;
  }
  .nav-logo-text span {
    font-size: 0.7rem;
  }

  .about-grid,
  .why-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Center Hero on tablets/mobile, but keep the visual card visible underneath */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding-top: 100px;
  }
  .hero-eyebrow {
    justify-content: center;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    letter-spacing: 1px;
    margin-bottom: 1rem;
  }
  .hero-eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--gold);
  }
  .hero-sub {
    margin-right: auto;
    margin-left: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
    position: relative;
    width: 100%;
    max-width: 480px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 5vw;
  }
  .services-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .services-grid {
    grid-template-columns: 1fr; /* Stack service cards on mobile for readability */
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .why-pillars {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }
  .hero-eyebrow {
    font-size: clamp(0.75rem, 2.8vw, 0.82rem);
    letter-spacing: 0.5px;
    line-height: 1.4;
    border-bottom: 1.5px solid var(--gold);
    padding-bottom: 4px;
    margin-bottom: 1rem;
  }
  .hero-eyebrow::before,
  .hero-eyebrow::after {
    display: none !important;
  }

  /* Prevent logo & controls from wrapping or overlapping on small screens */
  .nav-logo {
    gap: 8px;
  }
  .nav-logo img {
    height: 38px;
  }
  .nav-logo-text strong {
    font-size: 0.88rem;
    line-height: 1.2;
  }
  .nav-logo-text span {
    display: none;
  }
  .nav-controls .theme-toggle {
    display: inline-flex;
    height: 34px;
    width: 34px;
  }
  .lang-toggle {
    height: 34px;
    font-size: 0.78rem;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .nav-logo-text strong {
    font-size: 0.78rem;
  }
  .lang-toggle {
    padding: 0 6px !important;
    font-size: 0.72rem !important;
  }
  .nav-controls .theme-toggle {
    height: 32px;
    width: 32px;
  }
  .nav-controls .theme-toggle svg {
    width: 15px;
    height: 15px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ─── PREMIUM UPGRADES: TOGGLES, MODALS, HOURS, AREAS ──────── */

/* Theme and Language Toggles in Navbar */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle,
.lang-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-radius: 50px;
  height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.theme-toggle {
  width: 38px;
  padding: 0;
  border-radius: 50%;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.5s ease;
}

.theme-toggle:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dk);
  transform: translateY(-2px);
}

.theme-toggle:hover svg {
  transform: rotate(45deg);
}

.lang-toggle:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dk);
  transform: translateY(-2px);
}

/* Scrolled Navbar Adjustments */
.navbar.scrolled .theme-toggle,
.navbar.scrolled .lang-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .theme-toggle:hover,
.navbar.scrolled .lang-toggle:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dk);
}

/* Mobile Menu Controls */
.mobile-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-controls .lang-toggle,
.mobile-controls .theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  height: 40px;
}
.mobile-controls .theme-toggle {
  width: 40px;
}

/* Working Hours Section */
.section-hours {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 96px 5vw;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.hour-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.hour-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}

.hour-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-lt);
  box-shadow: 0 15px 35px var(--shadow-color);
}

.hour-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.hour-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-text);
  margin-bottom: 1rem;
}

.hour-time {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-dk);
  margin-bottom: 0.5rem;
}

.hour-status {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hour-status.closed {
  color: #ef4444;
}

/* Coverage Areas Section */
.section-coverage {
  background: var(--bg-secondary);
  padding: 96px 5vw;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.coverage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.75rem 1rem;
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.coverage-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.coverage-icon {
  width: 40px;
  height: 40px;
  background: rgba(201, 169, 110, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.coverage-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.coverage-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-text);
  margin-bottom: 0.3rem;
}

.coverage-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.coverage-out {
  text-align: center;
  margin-top: 2.5rem;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.coverage-out a {
  color: var(--gold-dk);
  text-decoration: underline;
  margin-inline-start: 5px;
}

.coverage-out a:hover {
  color: var(--gold);
}

/* Modals for Privacy & Terms */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 19, 43, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-window {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 50px var(--shadow-color);
  animation: modalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dk);
  transform: rotate(90deg);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy-text);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-main);
}

.modal-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-text);
  margin: 1.5rem 0 0.5rem;
}

.modal-body p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.modal-body ul {
  margin-bottom: 1rem;
  padding-inline-start: 1.5rem;
  color: var(--text-muted);
}

.modal-body li {
  margin-bottom: 0.4rem;
}

/* Footer Barcode / QR Code */
.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.footer-qr img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  background: #FFFFFF;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-qr span {
  font-size: 0.75rem;
  color: var(--gold-lt);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Responsive grid overrides for working hours and coverage */
@media (max-width: 1200px) {
  .coverage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hours-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-window {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .coverage-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── LANGUAGE VISIBILITY RULES ─────────────────────────── */
html[lang="ar"] .lang-en,
html[lang="ar"] .lang-flag-en {
  display: none !important;
}
html[lang="en"] .lang-ar,
html[lang="en"] .lang-flag-ar {
  display: none !important;
}
