/* ===== CSS VARIABLES & RESET ===== */
:root {
  --primary: #6b2c6f;
  --primary-dark: #4a1e4d;
  --primary-light: #8e4a92;
  --primary-soft: #a564ab;
  --primary-glow: rgba(107, 44, 111, 0.15);
  --gold: #aeb5c0;
  --gold-light: #e1e5ea;
  --text-dark: #2e2e2e;
  --text-mid: #6b6b6b;
  --text-light: #9b9b9b;
  --white: #ffffff;
  --bg-gray: #f8f9fb;
  --bg-alt: #f3f4f6;
  --border: #ededed;
  --shadow-sm: 0 8px 24px rgba(24, 20, 31, 0.05);
  --shadow-md: 0 14px 34px rgba(24, 20, 31, 0.09);
  --shadow-lg: 0 18px 48px rgba(74, 30, 77, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

svg {
  width: 1em;
  height: 1em;
  fill: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(107, 44, 111, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(107, 44, 111, 0.34);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 17px;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.24);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.34);
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 90px 0;
}

.section-gray {
  background: var(--bg-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.section-heading.light {
  color: var(--white);
}

.section-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: linear-gradient(145deg, rgba(107, 44, 111, 0.06), rgba(174, 181, 192, 0.12));
  border: 1px solid rgba(107, 44, 111, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(40, 18, 44, 0.06);
}

.section-icon svg {
  font-size: 24px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0;
}

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

.section-icon.light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.section-sub.light {
  color: rgba(255, 255, 255, 0.82);
}

.title-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  margin: 18px auto 0;
  border-radius: 2px;
}

.title-line.light {
  background: rgba(255, 255, 255, 0.5);
}

.section-sub {
  font-size: 17px;
  color: var(--text-mid);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  transition: var(--transition);
  margin-left: auto;
}

.logo-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(42, 14, 48, 0.18)) drop-shadow(0 0 10px rgba(212, 212, 212, 0.34));
}

.logo-text {
  letter-spacing: 0.2px;
}

/* Brand title + subtitle next to logo */
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: right;
}
.brand-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.2px;
}
.brand-sub {
  font-size: 12px;
  font-weight: 600;
  color: #C0C0C0; /* silver */
  margin-top: 2px;
  opacity: 0.95;
}

.brand-mobile {
  display: none;
}

/* Support LTR pages */
html[dir="ltr"] .brand {
  text-align: left;
}

/* Ensure subtitle remains silver even when navbar changes color */
.navbar.scrolled .brand-sub {
  color: #C0C0C0;
}

/* When navbar turns white on scroll, make the brand title purple to stand out */
.navbar.scrolled .brand-title {
  color: var(--primary);
}

/* ===== Mobile header layout (RTL / LTR specific) ===== */
@media (max-width: 768px) {
  .navbar,
  .navbar.scrolled {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 30px rgba(24, 20, 31, 0.08);
    padding: 8px 0;
  }

  .nav-inner {
    position: relative;
    min-height: 86px;
  }

  .nav-links {
    display: none;
  }

  .mobile-lang-slot {
    display: none;
    list-style: none;
  }

  /* show a separate brand text for easier positioning on mobile */
  .brand-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.2px;
  }

  .brand-mobile .brand-title {
    font-size: 20px;
    color: var(--primary);
    font-weight: 900;
    line-height: 1.05;
  }

  .brand-mobile .brand-sub {
    font-size: 11px;
    margin-top: 3px;
    line-height: 1.05;
    color: #C0C0C0;
    font-weight: 800;
  }

  /* shrink/hide desktop brand that sits next to logo to avoid duplication */
  .logo .brand {
    display: none;
  }

  /* enlarge centered logo on mobile */
  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 8px;
    color: var(--primary);
    margin: 0;
  }

  .logo-mark {
    width: 82px;
    height: 82px;
  }

  /* place hamburger absolutely on mobile */
  .hamburger {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1200;
  }

  .nav-actions {
    display: none;
  }

  /* RTL: Arabic mobile layout
     - brand on visual left, centered big logo, switcher then hamburger on the right */
  html[dir="rtl"] .brand-mobile {
    left: 18px;
    text-align: left;
  }

  html[dir="rtl"] .hamburger {
    right: 16px;
  }

  /* LTR: English mobile layout - mirror positions */
  html[dir="ltr"] .brand-mobile {
    right: 18px;
    text-align: right;
    align-items: flex-end;
  }

  html[dir="ltr"] .hamburger {
    left: 16px;
  }

  .hamburger span {
    background: var(--primary);
  }

  .navbar .hamburger span,
  .navbar.scrolled .hamburger span {
    background: var(--primary);
  }

  .nav-links.open .mobile-lang-slot {
    display: block;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(107, 44, 111, 0.08);
  }

  .mobile-lang-slot .lang-switcher {
    display: block;
    width: 100%;
  }

  .mobile-lang-slot .lang-trigger {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    border-color: rgba(107, 44, 111, 0.12);
    background: rgba(107, 44, 111, 0.06);
    color: var(--primary);
    backdrop-filter: none;
    box-shadow: none;
  }

  .mobile-lang-slot .lang-trigger::after {
    display: none;
  }

  .mobile-lang-slot .lang-current-label {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
  }

  .mobile-lang-slot .lang-current-code {
    display: none;
  }

  .mobile-lang-slot .lang-current-flag {
    width: 16px;
    height: 16px;
  }

  .mobile-lang-slot .lang-menu {
    display: none !important;
  }

  .lang-menu {
    border-radius: 14px;
    box-shadow: 0 18px 34px rgba(42, 14, 48, 0.16);
  }
}

.navbar.scrolled .logo {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 8px;
  margin-right: auto;
  margin-left: auto;
  justify-content: center;
  flex: 1 1 auto;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition);
}

@media (min-width: 769px) {
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .logo {
    justify-self: start;
    margin-left: 0;
    margin-right: 0;
  }

  .nav-links {
    justify-self: center;
    max-width: fit-content;
    margin-left: 0;
    margin-right: 0;
    flex: initial;
  }

  .nav-actions {
    justify-self: end;
  }
}

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.navbar.scrolled .nav-links a:hover {
  background: var(--primary-glow);
  color: var(--primary);
}

.nav-cta {
  flex-shrink: 0;
  min-width: 132px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  border-radius: 12px;
}

.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-trigger {
  min-width: 128px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.lang-trigger::after {
  content: '▾';
  font-size: 11px;
  opacity: 0.8;
  margin-inline-start: auto;
}

.lang-trigger:hover {
  background: rgba(255, 255, 255, 0.16);
}

.navbar.scrolled .lang-trigger {
  background: rgba(107, 44, 111, 0.06);
  color: var(--text-dark);
  border-color: rgba(107, 44, 111, 0.12);
}

.lang-current-flag {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.lang-current-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.lang-current-code {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1;
}

.navbar.scrolled .lang-current-code {
  color: var(--text-mid);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: 200px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(107, 44, 111, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(20, 14, 30, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 1200;
}

.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: inherit;
  background: transparent;
  border: 0;
  border-radius: 12px;
  padding: 10px 11px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-option:hover,
.lang-option.active {
  background: rgba(107, 44, 111, 0.08);
}

.lang-option-flag {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.lang-option-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.lang-option-text strong {
  font-size: 13px;
  color: var(--text-dark);
}

.lang-option-text small {
  font-size: 11px;
  color: var(--text-mid);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--primary);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background:
    url('https://images.unsplash.com/photo-1488085061387-422e29b40080?w=1600&q=80') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(74, 30, 77, 0.82) 0%,
    rgba(107, 44, 111, 0.7) 50%,
    rgba(30, 10, 40, 0.85) 100%
  );
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 140px 24px 80px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-title {
  font-size: 58px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 24px;
}

.gold {
  color: var(--gold-light);
  position: relative;
}

.hero-sub {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.95;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-btns .btn {
  min-width: 170px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 24px 48px;
  flex-wrap: wrap;
  box-shadow: 0 18px 40px rgba(18, 8, 22, 0.16);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold-light);
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-arrow {
  width: 28px;
  height: 28px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-card-visual {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-brand-mark {
  position: relative;
  z-index: 2;
  width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(74, 30, 77, 0.22));
}

.about-mini-icon {
  position: absolute;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(107, 44, 111, 0.1);
  color: var(--primary);
  box-shadow: var(--shadow-md);
  animation: floatItem 4s ease-in-out infinite;
}

.about-mini-icon svg {
  font-size: 30px;
}

.mini-one {
  top: 14px;
  right: 22px;
  animation-delay: 0s;
}

.mini-two {
  bottom: 38px;
  left: 24px;
  animation-delay: 1.5s;
}

.mini-three {
  top: 130px;
  left: 8px;
  color: var(--gold);
  animation-delay: 0.8s;
}

@keyframes floatItem {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.av-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.c1 {
  width: 200px;
  height: 200px;
  background: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.c2 {
  width: 280px;
  height: 280px;
  border: 2px solid var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.18;
  animation: pulse 3s ease-in-out infinite;
}

.c3 {
  width: 140px;
  height: 140px;
  background: var(--gold);
  top: 30%;
  left: 20%;
  opacity: 0.08;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.18; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.1; }
}

.about-para {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.95;
}

.highlight {
  color: var(--primary);
  font-weight: 700;
}

.philosophy-box {
  display: flex;
  gap: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 251, 0.98));
  border: 1px solid rgba(107, 44, 111, 0.1);
  border-right: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}

.phil-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  background: rgba(174, 181, 192, 0.14);
  border-radius: 16px;
}

.phil-icon svg {
  font-size: 28px;
}

.phil-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.phil-content p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.85;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.services-grid .service-card {
  grid-column: span 2;
}

.services-grid .service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.services-grid .service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.service-card {
  background: linear-gradient(180deg, var(--white), #fcfbfd);
  border: 1px solid rgba(107, 44, 111, 0.08);
  border-radius: 18px;
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: default;
  text-align: center;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(142, 74, 146, 0.28);
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(145deg, rgba(107, 44, 111, 0.14), rgba(174, 181, 192, 0.18));
}

.service-icon {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  background: linear-gradient(145deg, rgba(107, 44, 111, 0.08), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(107, 44, 111, 0.1);
  border-radius: 22px;
  transition: var(--transition);
}

.service-icon svg {
  font-size: 34px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  min-height: 32px;
}

.service-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ===== WHY US ===== */
.why-section {
  position: relative;
  overflow: hidden;
}

.why-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  z-index: 0;
}

.why-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.why-section .container {
  position: relative;
  z-index: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 14px 34px rgba(34, 11, 38, 0.14);
  grid-column: span 2;
  height: 100%;
}

.why-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.why-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.why-icon {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  margin-bottom: 16px;
}

.why-icon svg {
  font-size: 32px;
}

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(107, 44, 111, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: right;
  transition: var(--transition);
}

.faq-q:hover {
  color: var(--primary);
}

.faq-q[aria-expanded="true"] {
  color: var(--primary);
}

.faq-arrow {
  font-size: 24px;
  font-weight: 300;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-q[aria-expanded="true"] .faq-arrow {
  transform: rotate(90deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-a.open {
  max-height: 220px;
}

.faq-a p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ===== LICENSES ===== */
.licenses-section {
  background: var(--bg-gray);
}

.licenses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 740px;
  margin: 0 auto;
}

.license-card {
  background: linear-gradient(180deg, var(--white), #fcfbfd);
  border: 1px solid rgba(107, 44, 111, 0.08);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}

.license-card:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.license-emblem {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  padding: 16px;
}

.license-emblem img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.license-emblem.tourism {
  background: linear-gradient(135deg, #ffffff, #f6faf7);
  border: 1px solid rgba(76, 175, 80, 0.18);
  box-shadow: 0 10px 24px rgba(76, 175, 80, 0.12);
}

.license-emblem.commerce {
  background: linear-gradient(135deg, #ffffff, #f6f9fe);
  border: 1px solid rgba(33, 150, 243, 0.18);
  box-shadow: 0 10px 24px rgba(33, 150, 243, 0.12);
}

.license-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.license-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  margin-bottom: 16px;
}

.badge-label {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 400;
}

.badge-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.license-verify {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #4caf50;
  font-weight: 500;
}

.verify-dot {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: verifyPulse 2s infinite;
}

@keyframes verifyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
}

/* ===== TERMS ===== */
.terms-section {
  padding: 40px 0;
}

.terms-toggle {
  max-width: 780px;
  margin: 0 auto;
}

.terms-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--white);
  border: 1px solid rgba(107, 44, 111, 0.08);
  border-radius: var(--radius-md);
  font-family: 'Tajawal', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.terms-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.terms-btn.open {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-bottom: none;
}

.terms-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.terms-label svg {
  font-size: 22px;
  color: var(--primary);
}

.terms-arrow {
  font-size: 22px;
  transition: transform var(--transition);
}

.terms-btn.open .terms-arrow {
  transform: rotate(90deg);
}

.terms-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--white);
  border: 1px solid rgba(107, 44, 111, 0.08);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.terms-content.open {
  max-height: 300px;
}

.terms-list {
  padding: 20px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.terms-list li {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  padding-right: 20px;
  position: relative;
}

.terms-list li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--primary);
  font-size: 18px;
}

.terms-list li::before {
  content: '•';
}

/* ===== CONTACT ===== */
.contact-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-gray) 100%);
}

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

.contact-card {
  background: linear-gradient(180deg, var(--white), #fcfbfd);
  border: 1px solid rgba(107, 44, 111, 0.08);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(142, 74, 146, 0.24);
}

.contact-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  background: linear-gradient(145deg, rgba(107, 44, 111, 0.08), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(107, 44, 111, 0.1);
  border-radius: 22px;
}

.contact-icon svg {
  font-size: 32px;
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}

.contact-detail {
  margin-top: 6px;
  font-size: 14px !important;
  line-height: 1.9 !important;
}

.contact-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.contact-link:hover {
  color: var(--primary-dark);
}

.contact-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.map-card {
  background: linear-gradient(180deg, var(--white), #fcfbfd);
  border: 1px solid rgba(107, 44, 111, 0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.map-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.map-card-head h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.map-card-head p {
  font-size: 15px;
  color: var(--text-mid);
}

.map-card-head strong {
  color: var(--primary);
  font-weight: 800;
}

.map-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.map-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(107, 44, 111, 0.08);
  box-shadow: 0 10px 28px rgba(24, 20, 31, 0.08);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

.map-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.wa-icon {
  display: inline-flex;
  align-items: center;
}

.btn-icon,
.wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg,
.wa-icon svg {
  font-size: 20px;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2a0e30 100%);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 72px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28)) drop-shadow(0 0 12px rgba(212, 212, 212, 0.32));
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-brand-text strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
}

.footer-brand-text span {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-contact-info .footer-social {
  margin-top: 14px;
  margin-bottom: 18px;
}

.social-link {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(142, 74, 146, 0.24), rgba(107, 44, 111, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  transition: var(--transition);
  box-shadow: 0 12px 26px rgba(74, 30, 77, 0.34);
}

.social-link svg {
  font-size: 18px;
}

.social-link-snapchat svg {
  font-size: 21px;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 34px rgba(107, 44, 111, 0.42);
}

.footer-links h4,
.footer-contact-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
  line-height: 1.8;
}

.footer-links ul a:hover {
  color: var(--gold-light);
  padding-right: 4px;
}

.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}

.footer-contact-info .footer-address {
  align-items: flex-start;
}

.footer-contact-info .footer-address a {
  font-size: 12.5px;
  line-height: 1.9;
}

.footer-contact-info .footer-address a span:first-child {
  margin-inline-end: 6px;
}

.footer-contact-info p svg {
  font-size: 16px;
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-info a {
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top svg {
  font-size: 20px;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(107, 44, 111, 0.4);
}

html[dir="ltr"] body {
  direction: ltr;
}

html[dir="ltr"] .logo {
  margin-left: 0;
  margin-right: auto;
}

html[dir="ltr"] .nav-links {
  margin-right: auto;
  margin-left: auto;
}

html[dir="ltr"] .faq-q,
html[dir="ltr"] .about-text,
html[dir="ltr"] .contact-card,
html[dir="ltr"] .map-card-head,
html[dir="ltr"] .footer-contact-info,
html[dir="ltr"] .terms-list li {
  text-align: left;
}

html[dir="ltr"] .terms-list li {
  padding-right: 0;
  padding-left: 20px;
}

html[dir="ltr"] .terms-list li::before {
  right: auto;
  left: 0;
}

html[dir="ltr"] .philosophy-box {
  border-right: 1px solid rgba(107, 44, 111, 0.1);
  border-left: 4px solid var(--primary);
}

html[dir="ltr"] .footer-links ul a:hover {
  padding-right: 0;
  padding-left: 4px;
}

html[dir="ltr"] .footer-contact-info p {
  justify-content: flex-start;
}

html[dir="ltr"] .footer-contact-info .footer-address a {
  text-align: left;
}

html[dir="ltr"] .lang-menu {
  inset-inline-end: auto;
  inset-inline-start: 0;
}

html[dir="ltr"] .back-to-top {
  left: auto;
  right: 32px;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal:nth-child(1) { transition-delay: 0ms; }
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }
.reveal:nth-child(5) { transition-delay: 320ms; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .services-grid .service-card {
    grid-column: span 2;
  }

  .services-grid .service-card:nth-child(4) {
    grid-column: 1 / span 2;
  }

  .services-grid .service-card:nth-child(5) {
    grid-column: 3 / span 2;
  }

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

  .why-card {
    grid-column: span 2;
  }

  .why-card:nth-child(4) {
    grid-column: 1 / span 2;
  }

  .why-card:nth-child(5) {
    grid-column: 3 / span 2;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .section-icon {
    width: 48px;
    height: 48px;
  }

  .section-heading {
    gap: 10px;
  }

  .section-icon svg {
    font-size: 22px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-sub {
    font-size: 18px;
  }

  .hero-desc {
    font-size: 16px;
    line-height: 1.9;
  }

  .hero-stats {
    gap: 20px;
    padding: 16px 24px;
  }

  .stat-num {
    font-size: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-visual {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }

  .services-grid .service-card,
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) {
    grid-column: auto;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-card,
  .why-card:nth-child(4),
  .why-card:nth-child(5) {
    grid-column: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .map-card-head {
    align-items: flex-start;
  }

  .map-frame iframe {
    height: 300px;
  }

  .licenses-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer {
    padding-top: 56px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-actions {
    display: flex;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow-md);
    z-index: 999;
    gap: 4px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .nav-links.open a {
    color: var(--text-dark);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
  }

  .nav-links.open a:hover {
    background: var(--primary-glow);
    color: var(--primary);
  }

  .lang-trigger {
    min-width: 0;
    padding: 4px 7px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .logo-mark {
    width: 70px;
    height: 70px;
  }

  .logo-text {
    font-size: 19px;
  }

  .nav-inner {
    gap: 16px;
    min-height: 76px;
  }

  .brand-mobile .brand-title {
    font-size: 16px;
  }

  .brand-mobile .brand-sub {
    font-size: 9px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-content {
    padding: 120px 18px 70px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .section-heading {
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
  }

  .section-title {
    font-size: 26px;
  }

  .section-sub {
    font-size: 15px;
  }

  .footer-brand-text strong {
    font-size: 22px;
  }

  .footer-brand-text span {
    font-size: 14px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    margin-bottom: 44px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 30px 22px;
  }

  .service-icon,
  .contact-icon {
    width: 66px;
    height: 66px;
  }

  .service-icon svg,
  .contact-icon svg {
    font-size: 28px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .stat-divider {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .contact-cta {
    flex-direction: column;
    align-items: center;
  }

  .contact-cta .btn,
  .hero-btns .btn {
    width: 100%;
  }

  .map-card-head h3 {
    font-size: 20px;
  }

  .footer-logo {
    gap: 10px;
  }

  .footer-tagline {
    max-width: 100%;
    font-size: 14px;
  }

  .map-card {
    padding: 20px;
  }

  .map-card-head {
    flex-direction: row;
    text-align: right;
    align-items: center;
  }

  .map-actions .btn {
    width: 100%;
  }

  .map-frame iframe {
    height: 260px;
  }

  .why-card,
  .why-card:nth-child(4),
  .why-card:nth-child(5) {
    grid-column: auto;
  }

  .lang-trigger {
    min-width: 0;
    gap: 4px;
    padding: 3px 6px;
  }

  .lang-current-label {
    font-size: 9px;
  }

  html[dir="ltr"] .back-to-top,
  .back-to-top {
    left: auto;
    right: 18px;
    bottom: 18px;
  }
}
