/* =====================================================
   HASAD SAMI MARINE TRANSPORT - MAIN STYLESHEET
   Colors from Logo: Navy #1B3A6B | Gold #C9A043 | Dark #111827
   ===================================================== */

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

/* =====================================================
   CSS VARIABLES - LIGHT & DARK MODE
   ===================================================== */
:root {
  /* Brand Colors (from logo) */
  --navy: #1B3A6B;
  --navy-dark: #0D2147;
  --navy-light: #254d8f;
  --gold: #C9A043;
  --gold-dark: #a07a2c;
  --gold-light: #e8c06a;

  /* Light Mode */
  --bg-primary: #ffffff;
  --bg-secondary: #f4f7fb;
  --bg-card: #ffffff;
  --bg-nav: rgba(255, 255, 255, 0.95);
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --border: #e5e9f0;
  --shadow: 0 4px 24px rgba(27, 58, 107, 0.08);
  --shadow-hover: 0 12px 40px rgba(27, 58, 107, 0.18);
  --hero-overlay: rgba(11, 20, 45, 0.65);
  --nav-text: #1B3A6B;
  --input-bg: #f8fafc;
  --timeline-line: #d1dae8;
  --footer-bg: #0D2147;
  --footer-text: #9BB5D8;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* Spacing */
  --section-pad: 100px 0;
  --container: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
}

[data-theme="dark"] {
  --bg-primary: #0f1420;
  --bg-secondary: #161d2e;
  --bg-card: #1a2236;
  --bg-nav: rgba(15, 20, 32, 0.97);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: #263354;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.6);
  --hero-overlay: rgba(5, 10, 25, 0.72);
  --nav-text: #F1F5F9;
  --input-bg: #161d2e;
  --timeline-line: #263354;
  --footer-bg: #080d19;
  --footer-text: #64748B;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Tajawal', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

/* RTL Arabic Support */
[lang="ar"] body,
body.rtl {
  font-family: 'Tajawal', 'Inter', sans-serif;
  direction: rtl;
  text-align: right;
}

[lang="ar"] .nav-links,
body.rtl .nav-links {
  flex-direction: row-reverse;
}

[lang="ar"] .hero-content,
body.rtl .hero-content {
  text-align: right;
}

[lang="ar"] .service-card,
body.rtl .service-card {
  direction: rtl;
}

[lang="ar"] .step-item,
body.rtl .step-item {
  flex-direction: row-reverse;
}

[lang="ar"] .contact-inner,
body.rtl .contact-inner {
  direction: rtl;
}

[lang="ar"] .footer-grid,
body.rtl .footer-grid {
  direction: rtl;
}

[lang="ar"] .section-tag,
body.rtl .section-tag {
  font-family: 'Tajawal', sans-serif;
}

[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] p,
body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl p {
  font-family: 'Tajawal', 'Inter', sans-serif;
}

[lang="fr"] body {
  font-family: 'Inter', sans-serif;
}

/* LTR Support for specific elements in RTL mode */
.ltr-text,
[type="tel"],
[type="email"],
.phone-number {
  direction: ltr !important;
  unicode-bidi: embed;
  display: inline-block;
}

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

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 700;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  font-family: 'Playfair Display', 'Tajawal', serif;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.75;
}

.section-header {
  margin-bottom: 60px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(201, 160, 67, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 160, 67, 0.55);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(27, 58, 107, 0.4);
}

.btn-navy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(27, 58, 107, 0.55);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

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

/* =====================================================
   FLOATING WHATSAPP BUTTON
   ===================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: all var(--transition);
  animation: pulse-whatsapp 2.5s ease infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.7);
  animation: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes pulse-whatsapp {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 6px 40px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

body.rtl .whatsapp-float {
  right: auto;
  left: 30px;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
  box-shadow: 0 2px 20px rgba(27, 58, 107, 0.08);
}

.navbar.scrolled {
  background: var(--bg-nav);
  box-shadow: 0 4px 30px rgba(27, 58, 107, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  display: none;
}

/* shown only if no img */

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nav-text);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201, 160, 67, 0.08);
}

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 50px;
  box-shadow: 0 3px 14px rgba(201, 160, 67, 0.35);
}

.nav-links .nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-1px);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 50px;
  background: transparent;
  color: var(--text-secondary);
  transition: all var(--transition);
  letter-spacing: 0.04em;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--navy);
  color: #fff;
}

/* Dark Mode Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  font-size: 1.1rem;
}

.theme-toggle:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
  border-radius: 8px;
  transition: all var(--transition);
}

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

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

@keyframes heroZoom {
  0% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-gradient {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 160, 67, 0.2);
  border: 1px solid rgba(201, 160, 67, 0.4);
  color: var(--gold-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: blink 1.5s ease infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  color: #fff;
  font-family: 'Playfair Display', 'Tajawal', serif;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =====================================================
   STATS COUNTER SECTION
   ===================================================== */
.stats-counter {
  padding: 60px 0;
  background: var(--bg-primary);
  position: relative;
  z-index: 5;
  margin-top: -40px;
  /* Overlap slightly with hero */
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.stat-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
}

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

.stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(201, 160, 67, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

.stat-number-wrapper {
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.stat-prefix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
}

.stat-text {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 5px;
  font-weight: 500;
}

[data-theme="dark"] .stat-prefix,
[data-theme="dark"] .stat-value {
  color: var(--gold-light);
}

[data-theme="dark"] .stat-card {
  background: var(--bg-secondary);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

.scroll-indicator::after {
  content: '';
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  border-radius: 2px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
  padding: var(--section-pad);
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201, 160, 67, 0.2);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
  flex-shrink: 0;
  transition: all var(--transition);
  color: #ffffff;
  /* Explicitly white icons */
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transform: scale(1.05);
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-it-works {
  padding: var(--section-pad);
  background: var(--bg-primary);
}

.steps-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--navy), var(--gold), var(--navy));
}

body.rtl .steps-timeline::before {
  left: auto;
  right: 39px;
}

.step-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
  align-items: flex-start;
  animation-fill-mode: both;
}

body.rtl .step-item {
  flex-direction: row;
  /* Flex in RTL naturally puts first child at right */
  justify-content: flex-start;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 4px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(27, 58, 107, 0.3);
  color: #ffffff;
  /* White numbers */
}

.step-number span {
  font-size: 1.5rem;
}

.step-item:hover .step-number {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transform: scale(1.08);
}

.step-content {
  flex: 1;
  padding-top: 18px;
}

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =====================================================
   DESTINATIONS
   ===================================================== */
.destinations {
  padding: var(--section-pad);
  background: var(--navy-dark);
}

.destinations .section-title,
.destinations .section-tag {
  color: #fff;
}

.destinations .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.dest-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: default;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.dest-card:hover {
  background: rgba(201, 160, 67, 0.15);
  border-color: rgba(201, 160, 67, 0.4);
  transform: translateY(-4px);
}

.dest-flag img {
  width: 48px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.dest-name {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.dest-routes {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.dest-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dest-stat .stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.dest-stat .stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

[data-theme="light"] .dest-stat .stat-value,
[data-theme="light"] .dest-stat .stat-label {
  color: #C9A043;
}

/* =====================================================
   GALLERY
   ===================================================== */
.gallery {
  padding: var(--section-pad);
  background: var(--bg-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 33, 71, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-icon {
  color: #fff;
  font-size: 1.8rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 2rem;
  background: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
}

/* =====================================================
   FAQ
   ===================================================== */
.faq {
  padding: var(--section-pad);
  background: var(--bg-primary);
}

.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  transition: all var(--transition);
}

body.rtl .faq-question {
  text-align: right;
}

.faq-item.open .faq-question {
  color: var(--navy);
}

[data-theme="dark"] .faq-item.open .faq-question {
  color: var(--gold);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-secondary);
}

.faq-item.open .faq-icon {
  background: var(--gold);
  color: #fff;
  transform: rotate(45deg);
}

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

.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* =====================================================
   BOOK A CALL (Section)
   ===================================================== */
.book-call {
  padding: var(--section-pad);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.book-call .section-title {
  color: #fff;
}

.book-call .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.book-call .section-header {
  text-align: center;
}

.book-form {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(16px);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(201, 160, 67, 0.15);
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* Contact Section Forms */
.contact {
  padding: var(--section-pad);
  background: var(--bg-secondary);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.contact-info>p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: #fff;
}

.contact-detail-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-detail-text a,
.contact-detail-text span {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition);
}

.contact-detail-text a:hover {
  color: var(--gold);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form .form-group label {
  color: var(--text-secondary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 13px 18px;
  border-radius: 10px;
  border: 1.5px solid #000000;
  background: var(--input-bg);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition);
  outline: none;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.1);
}

.contact-form select option {
  background: var(--bg-primary);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
  padding: var(--section-pad);
  background: var(--bg-primary);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrap img,
.about-video {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 32px rgba(201, 160, 67, 0.4);
}

.about-badge .big {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge .small {
  font-size: 0.78rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.rtl .about-badge {
  right: auto;
  left: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.about-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.about-feature-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 0 0;
}

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

.footer-brand img {
  height: 52px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

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

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--footer-text);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--gold);
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--footer-text);
}

.footer-contact-item i {
  color: var(--gold);
  width: 16px;
  text-align: center;
}

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

[lang="ar"] .footer-contact-item i {
  margin-left: 0;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  font-size: 1rem;
  transition: all var(--transition);
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--footer-text);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

.fade-up:nth-child(5) {
  transition-delay: 0.4s;
}

/* =====================================================
   MODAL
   ===================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition);
  position: relative;
}

.modal-backdrop.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-secondary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.modal-close:hover {
  background: #e74c3c;
  color: #fff;
}

.modal-box h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.modal-box>p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.modal-box .form-group label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
}

.modal-box input,
.modal-box select {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--input-bg);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all var(--transition);
  width: 100%;
}

.modal-box input:focus,
.modal-box select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.1);
}

/* =====================================================
   SUCCESS TOAST
   ===================================================== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  z-index: 99999;
  transition: transform 0.4s ease;
}

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

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-image-wrap img {
    height: 360px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 70px 0;
  }

  /* Side Drawer Overlay Backdrop */
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Side Drawer Layout */
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: -280px;
    /* Hidden off-screen to the right by default */
    bottom: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 30px;
    gap: 16px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow-y: auto;
  }

  /* RTL Support - Side menu on left for Arabic */
  [lang="ar"] .nav-links,
  body.rtl .nav-links {
    flex-direction: column;
    /* Overrides global row-reverse */
    right: auto;
    left: -280px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.active {
    right: 0;
  }

  [lang="ar"] .nav-links.active,
  body.rtl .nav-links.active {
    left: 0;
  }

  .nav-controls {
    margin-right: 20px;
    margin-left: auto;
  }

  body.rtl .nav-controls {
    margin-right: auto;
    margin-left: 20px;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
  }

  /* SPA VIEW SYSTEM */
  .spa-view {
    display: none;
    animation: fadeIn 0.5s ease;
  }

  .spa-view.active {
    display: block;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ADMIN TABS STYLING */
  .admin-tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
  }

  .admin-tab-btn:hover {
    color: var(--gold);
  }

  .admin-tab-btn.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
  }

  .admin-content-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
  }

  .admin-content-item:hover {
    background: rgba(0, 0, 0, 0.02);
  }

  .admin-content-item:last-child {
    border-bottom: none;
  }

  [lang="ar"] .nav-links a,
  body.rtl .nav-links a {
    transform: translateX(-30px);
  }

  .nav-links.active a {
    opacity: 1;
    transform: translateX(0);
  }

  [lang="ar"] .nav-links.active a,
  body.rtl .nav-links.active a {
    transform: translateX(0);
  }

  /* Staggered animation delays */
  .nav-links.active a:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-links.active a:nth-child(2) {
    transition-delay: 0.15s;
  }

  .nav-links.active a:nth-child(3) {
    transition-delay: 0.2s;
  }

  .nav-links.active a:nth-child(4) {
    transition-delay: 0.25s;
  }

  .nav-links.active a:nth-child(5) {
    transition-delay: 0.3s;
  }

  .nav-links.active a:nth-child(6) {
    transition-delay: 0.35s;
  }

  .nav-links.active a:nth-child(7) {
    transition-delay: 0.4s;
  }

  .nav-links.active a:nth-child(8) {
    transition-delay: 0.45s;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
  }

  .hero-stats {
    display: none;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item:first-child {
    grid-row: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom-links {
    justify-content: center;
  }

  .book-form {
    padding: 28px 24px;
  }

  .contact-form {
    padding: 28px 24px;
  }

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

  .about-features {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    font-size: 0.7rem;
  }

  .stat-item {
    padding: 16px 24px;
  }

  .steps-timeline::before {
    left: 30px;
  }

  body.rtl .steps-timeline::before {
    left: auto;
    right: 30px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.1rem;
  }

  .modal-box {
    padding: 32px 24px;
  }
}

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

  .destinations-grid {
    grid-template-columns: 1fr;
    /* Better for 360px wide screens */
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .nav-inner {
    padding: 0 12px;
  }

  .nav-logo img {
    height: 34px;
  }

  .nav-controls {
    gap: 6px;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 0.75rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}