/* ================================================================
   JAYAK TRAVEL — style.css
   Premium Travel Agency Website
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ---------------------------------------------------------------- */
:root {
  --primary:       #0C8FA3;
  --primary-dark:  #0a7a8c;
  --primary-light: #e0f4f7;
  --dark:          #0B2D3A;
  --dark-mid:      #1a4557;
  --accent:        #D9A441;
  --accent-dark:   #c4912d;
  --bg:            #F8FAFC;
  --white:         #ffffff;
  --gray-100:      #f1f5f9;
  --gray-200:      #e2e8f0;
  --gray-400:      #94a3b8;
  --gray-600:      #64748b;
  --gray-800:      #1e293b;
  --radius-sm:     10px;
  --radius:        18px;
  --radius-lg:     28px;
  --shadow-sm:     0 2px 12px rgba(11,45,58,.06);
  --shadow:        0 8px 32px rgba(11,45,58,.10);
  --shadow-lg:     0 20px 60px rgba(11,45,58,.15);
  --transition:    all .35s cubic-bezier(.4,0,.2,1);
  --font:          'Poppins', sans-serif;
  --font-ar:       'Tajawal', 'Arial', sans-serif;
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; object-fit: cover; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; outline: none; }

/* Bilingual language control and RTL foundation */
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-width: 126px;
  min-height: 44px;
  padding: 5px 8px 5px 6px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.17), rgba(255,255,255,.07));
  color: var(--white);
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 18px rgba(0,0,0,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.language-toggle:hover {
  background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(255,255,255,.12));
  border-color: rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 9px 24px rgba(0,0,0,.14);
  transform: translateY(-2px);
}
.language-toggle:focus-visible { outline: 3px solid rgba(217,164,65,.42); outline-offset: 3px; }
.language-toggle-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #16b8cb);
  box-shadow: 0 4px 12px rgba(12,143,163,.3);
}
.language-toggle-icon svg { width: 18px; height: 18px; }
.language-toggle-copy { display: flex; flex: 1; align-items: baseline; gap: 5px; white-space: nowrap; }
.language-toggle-copy strong { font-size: .78rem; font-weight: 700; }
.language-toggle-copy small { font-family: var(--font); font-size: .58rem; font-weight: 700; opacity: .58; letter-spacing: .05em; }
.language-toggle-switch { display: grid; place-items: center; width: 16px; opacity: .65; transition: transform .25s ease, opacity .25s ease; }
.language-toggle-switch svg { width: 15px; height: 15px; }
.language-toggle:hover .language-toggle-switch { opacity: 1; transform: rotate(180deg); }
#header.scrolled .language-toggle {
  color: var(--dark);
  border-color: rgba(12,143,163,.16);
  background: linear-gradient(135deg, #fff, #f3fafb);
  box-shadow: 0 6px 20px rgba(11,45,58,.09);
}
#header.scrolled .language-toggle:hover { color: var(--primary-dark); border-color: rgba(12,143,163,.38); box-shadow: 0 9px 25px rgba(11,45,58,.13); }
.language-toggle-mobile {
  width: 180px;
  min-height: 50px;
  margin-top: 16px;
  padding: 7px 10px 7px 8px;
  color: var(--white) !important;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
}
.language-toggle-mobile .language-toggle-icon { width: 36px; height: 36px; flex-basis: 36px; }
.language-toggle-mobile .language-toggle-copy strong { font-size: .92rem; }
html[dir="rtl"] .language-toggle { padding: 5px 6px 5px 8px; }
html[dir="rtl"] .language-toggle-mobile { padding: 7px 8px 7px 10px; }

html[dir="rtl"] body, html[dir="rtl"] button, html[dir="rtl"] input,
html[dir="rtl"] textarea, html[dir="rtl"] select { font-family: var(--font-ar); }
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .nav-inner,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .nav-dropdown > a,
html[dir="rtl"] .nav-cta,
html[dir="rtl"] .btn-primary,
html[dir="rtl"] .btn-outline,
html[dir="rtl"] .btn-accent,
html[dir="rtl"] .footer-bottom { direction: rtl; }
html[dir="rtl"] .dropdown-menu { text-align: right; }
html[dir="rtl"] .dropdown-menu svg,
html[dir="rtl"] .btn-primary svg,
html[dir="rtl"] .btn-outline svg { transform: scaleX(-1); }
html[dir="rtl"] .section-sub { margin-left: auto; margin-right: 0; }
html[dir="rtl"] .footer-links a:hover { padding-left: 0; padding-right: 4px; }
html[dir="rtl"] .about-page-text .section-title { text-align: right; }
html[dir="rtl"] input, html[dir="rtl"] textarea, html[dir="rtl"] select { text-align: right; }
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="tel"] { direction: rtl; }
html[dir="rtl"] .back-to-top { right: auto; left: 32px; }
html[dir="rtl"] #prefooter { direction: ltr; }
html[dir="rtl"] #prefooter .prefooter-text-col { direction: rtl; }
html[dir="rtl"] .section-label,
html[dir="rtl"] .prefooter-label { letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .prefooter-img-col::after {
  background: linear-gradient(to left, transparent 60%, rgba(11,45,58,.6) 100%);
}
html[dir="rtl"] .prefooter-content { margin-left: auto; margin-right: 0; }
html[dir="rtl"] .prefooter-stats { justify-content: flex-start; }
html[dir="rtl"] .mobile-nav-close { right: auto; left: 24px; }
html[dir="rtl"] .service-card:hover .service-card-arrow { transform: translateX(-4px); }
html[dir="rtl"] .offer-item:hover { transform: translateX(-4px); }
html[dir="rtl"] .service-card-page-tag { left: auto; right: 16px; letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .service-card-arrow svg,
html[dir="rtl"] .service-card-page-link svg,
html[dir="rtl"] .dest-card-arrow-btn svg,
html[dir="rtl"] #prefooter-cta svg { transform: scaleX(-1); }
html[dir="rtl"] .newsletter-input {
  border-right: 1px solid rgba(255,255,255,.12);
  border-left: none;
  border-radius: 0 10px 10px 0;
}
html[dir="rtl"] .newsletter-btn { border-radius: 10px 0 0 10px; }
html[dir="rtl"] .contact-main-grid { direction: ltr; }
html[dir="rtl"] .contact-main-grid > * { direction: rtl; }
html[dir="rtl"] .destinations-header,
html[dir="rtl"] .destinations-header .section-title,
html[dir="rtl"] .destinations-header .section-label,
html[dir="rtl"] .destinations-header .section-sub {
  text-align: center;
}
html[dir="rtl"] .destinations-header .section-sub {
  margin-left: auto;
  margin-right: auto;
}
.services-title-line {
  display: inline-block;
  width: 50px;
  height: 4px;
  margin-inline-start: 12px;
  border-radius: 4px;
  vertical-align: middle;
  background: var(--accent);
}

/* ----------------------------------------------------------------
   3. UTILITY CLASSES
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 96px 0; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-title span { color: var(--primary); }

.section-sub {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.75;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(12,143,163,.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0;
  transition: opacity .3s;
}

.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 10px 30px rgba(12,143,163,.4); transform: translateY(-2px); }
.btn-primary:hover::before { opacity: 1; }

/* Outline Button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* Accent Button */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(217,164,65,.35);
}

.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(217,164,65,.45); }

/* ----------------------------------------------------------------
   4. ANIMATIONS
   ---------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-10px) rotate(5deg); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: .5; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Intersection-observer trigger classes */
.anim-hidden {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.anim-hidden.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------------
   5. HEADER / NAVIGATION
   ---------------------------------------------------------------- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

/* Transparent header — white text/icons over dark hero */
#header:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,.88);
}
#header:not(.scrolled) .nav-links a:hover,
#header:not(.scrolled) .nav-links a.active { color: var(--white); }
#header:not(.scrolled) .nav-links a::after { background: var(--white); }
#header:not(.scrolled) .social-icon { color: rgba(255,255,255,.85); }
#header:not(.scrolled) .social-icon:hover { background: rgba(255,255,255,.15); color: var(--white); }
#header:not(.scrolled) .hamburger span { background: var(--white); }
#header:not(.scrolled) .nav-dropdown > a { color: rgba(255,255,255,.88); }

#header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(11,45,58,.08);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(12,143,163,.35);
}

.nav-logo-icon svg { color: var(--white); }

.nav-logo-text { line-height: 1.1; }
.nav-logo-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: .01em;
}
.nav-logo-text span {
  display: block;
  font-size: .65rem;
  color: var(--gray-600);
  letter-spacing: .08em;
  font-weight: 500;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  position: relative;
  padding: 8px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width .3s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: calc(100% - 32px); }

/* Services dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) scaleY(0.9);
  transform-origin: top center;
  width: 220px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* Hover bridge to prevent closing when moving cursor across the gap */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
  background: transparent;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) scaleY(1);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .85rem;
  color: var(--gray-800) !important;
  transition: var(--transition);
}

.dropdown-menu a:hover { background: var(--primary-light) !important; color: var(--primary) !important; }
.dropdown-menu a::after { display: none; }

.dropdown-menu a svg { width: 16px; height: 16px; color: var(--primary) !important; flex-shrink: 0; }

/* Social icons */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 4px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: var(--transition);
}

.social-icon:hover { background: var(--primary-light); color: var(--primary); }

/* CTA button */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(12,143,163,.3);
  white-space: nowrap;
}

.nav-cta:hover { background: var(--dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(11,45,58,.25); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
  border-radius: 8px;
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 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); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: rgba(11,45,58,.98);
  backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  padding: 12px 32px;
  border-radius: 12px;
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--primary); background: rgba(255,255,255,.08); }

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.mobile-nav-close:hover { background: rgba(255,255,255,.2); }

/* ----------------------------------------------------------------
   6. HERO SECTION
   ---------------------------------------------------------------- */
#hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}

/* Full-screen background image with overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_airplane.png');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(.35);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11,45,58,.82) 0%,
    rgba(12,143,163,.25) 55%,
    rgba(11,45,58,.45) 100%
  );
  z-index: 1;
}

/* Decorative circles */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(12,143,163,.18) 0%, transparent 70%);
  top: -150px; right: -100px;
}

.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(217,164,65,.12) 0%, transparent 70%);
  bottom: -100px; left: 10%;
}

.hero-deco-ring {
  position: absolute;
  width: 500px; height: 500px;
  border: 2px dashed rgba(255,255,255,.1);
  border-radius: 50%;
  top: 50%; right: 8%;
  transform: translateY(-50%);
  animation: spin-slow 40s linear infinite;
  z-index: 2;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 3;
}

/* Hero left — all text is WHITE on the dark image */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #a8e6ef;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeIn .8s ease both;
  backdrop-filter: blur(6px);
}

.hero-label svg { animation: float 3s ease-in-out infinite; }

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeUp .9s .1s ease both;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 4px;
  opacity: .5;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 36px;
  animation: fadeUp .9s .2s ease both;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp .9s .3s ease both;
}

/* Outline button adapted for dark hero */
#hero .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}

#hero .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.18);
  color: var(--white);
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  animation: fadeUp .9s .4s ease both;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
}

.hero-badge-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

/* Hero right */
.hero-right {
  position: relative;
  animation: fadeIn 1s .3s ease both;
}

.hero-main-img {
  width: 100%;
  max-width: 560px;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-left: auto;
  position: relative;
}

.hero-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Destination thumbnails grid */
.hero-thumbnails {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-thumb {
  width: 90px;
  height: 80px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--white);
  transition: var(--transition);
  animation: float 5s ease-in-out infinite;
}

.hero-thumb:nth-child(2) { animation-delay: .5s; }
.hero-thumb:nth-child(3) { animation-delay: 1s; }
.hero-thumb:nth-child(4) { animation-delay: 1.5s; }

.hero-thumb:hover { transform: scale(1.08); box-shadow: var(--shadow-lg); }

.hero-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Floating card */
.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  animation: float 4s 1s ease-in-out infinite;
}

.hero-float-card-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-float-card-text strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
}

.hero-float-card-text span {
  font-size: .75rem;
  color: var(--gray-600);
}

/* Scroll indicator — white on dark hero */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  animation: fadeIn 1.2s 1s ease both;
  z-index: 3;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse span {
  display: block;
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,.5);
  border-radius: 3px;
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ----------------------------------------------------------------
   7. SERVICES SECTION
   ---------------------------------------------------------------- */
#services { background: var(--white); }

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Service Card */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-card:hover .service-card-img img { transform: scale(1.07); }

.service-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }

.service-card-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 14px;
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(5deg) scale(1.1);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.service-card p {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

.service-card-arrow {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
  align-self: flex-start;
}

.service-card:hover .service-card-arrow {
  background: var(--primary);
  color: var(--white);
  transform: translateX(4px);
}

/* ----------------------------------------------------------------
   8. ABOUT SECTION
   ---------------------------------------------------------------- */
#about {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(12,143,163,.06) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* About image collage */
.about-img-wrap {
  position: relative;
}

.about-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.about-main-img img { width: 100%; height: 100%; object-fit: cover; }

/* Floating plane icon */
.about-plane {
  position: absolute;
  top: -20px; right: -24px;
  width: 64px; height: 64px;
  background: var(--primary);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow);
  animation: floatSlow 5s ease-in-out infinite;
}

/* Stats row */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--primary-light); }

.stat-card-icon {
  width: 40px; height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 10px;
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
}

.stat-card span {
  display: block;
  font-size: .72rem;
  color: var(--gray-600);
  font-weight: 500;
  margin-top: 4px;
  line-height: 1.3;
}

/* About text side */
.about-text .section-sub { max-width: 480px; }

.about-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.about-feature:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }

.about-feature-icon {
  width: 40px; height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.about-feature h4 { font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.about-feature p  { font-size: .8rem; color: var(--gray-600); line-height: 1.55; }

/* ----------------------------------------------------------------
   9. WHY CHOOSE US
   ---------------------------------------------------------------- */
#why {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.why-inner { text-align: center; }

.why-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.why-card {
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transition: transform .35s ease;
  transform-origin: left;
}

.why-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-8px); background: var(--white); }
.why-card:hover::before { transform: scaleX(1); }

.why-card-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(12,143,163,.05) 100%);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 22px;
  transition: var(--transition);
  font-size: 1.8rem;
}

.why-card:hover .why-card-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}

.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.why-card p  { font-size: .85rem; color: var(--gray-600); line-height: 1.7; }

/* ----------------------------------------------------------------
   10. CALL TO ACTION SECTION (Contact)
   ---------------------------------------------------------------- */
#cta,
#contact {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/cta_banner.png');
  background-size: cover;
  background-position: center;
  filter: brightness(.4);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,45,58,.85) 0%, rgba(12,143,163,.6) 100%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 72px 0;
  flex-wrap: wrap;
}

.cta-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  animation: pulse 3s ease-in-out infinite;
}

.cta-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-text p { font-size: .95rem; color: rgba(255,255,255,.75); }

/* ----------------------------------------------------------------
   11. FOOTER
   ---------------------------------------------------------------- */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Footer logo */
.footer-brand { }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.footer-logo-text span {
  display: block;
  font-size: .6rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .08em;
}

.footer-desc {
  font-size: .85rem;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  margin-bottom: 22px;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}

.footer-social:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

/* Footer columns */
.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-links a:hover { color: var(--primary); padding-left: 4px; }

/* Contact details */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Newsletter */
.footer-newsletter p {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-right: none;
  border-radius: 10px 0 0 10px;
  color: var(--white);
  font-family: var(--font);
  font-size: .85rem;
  transition: border-color .3s;
}

.newsletter-input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-input:focus { outline: none; border-color: var(--primary); }

.newsletter-btn {
  padding: 12px 16px;
  background: var(--primary);
  border-radius: 0 10px 10px 0;
  color: var(--white);
  font-size: .85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-btn:hover { background: var(--primary-dark); }

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
}

.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.35); transition: color .3s; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ----------------------------------------------------------------
   12. BACK TO TOP
   ---------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(12,143,163,.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 900;
}

.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--dark); transform: translateY(-3px); }

/* ----------------------------------------------------------------
   13. GLASSMORPHISM CARD
   ---------------------------------------------------------------- */
.glass {
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.7);
}

/* ----------------------------------------------------------------
   14. RESPONSIVE — TABLET (≤ 1024px)
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .hero-thumbnails { display: none; }
  .hero-main-img { max-width: 100%; height: 360px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-inner { gap: 48px; }
}

/* ----------------------------------------------------------------
   15. RESPONSIVE — MOBILE (≤ 768px)
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }

  /* Header */
  .nav-links, .nav-socials, .nav-cta { display: none; }
  .language-toggle-desktop { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-desc { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-right { display: none; }
  .hero-deco-ring { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; }

  /* About */
  .about-inner { grid-template-columns: 1fr; }
  .about-img-wrap { order: 1; }
  .about-text { order: 2; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }

  /* Why */
  .why-cards { grid-template-columns: repeat(2, 1fr); }

  /* CTA */
  .cta-inner { flex-direction: column; text-align: center; padding: 56px 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
}

/* ----------------------------------------------------------------
   16. RESPONSIVE — SMALL MOBILE (≤ 480px)
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
  .why-cards { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }
}

/* ----------------------------------------------------------------
   17. KAZAKHSTAN DESTINATIONS SECTION
   ---------------------------------------------------------------- */
#destinations {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.destinations-header { text-align: center; margin-bottom: 56px; }
.destinations-header .section-sub { margin: 0 auto; }

.destinations-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

/* Right side: 2x2 grid wrapper */
.destinations-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.dest-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  height: 261px; /* two of these + 18px gap = 540px, matching large card */
}

/* Large card: fills full height of the 2-row right grid */
.dest-card--large {
  height: 540px; /* 261 + 18 + 261 */
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.dest-card:hover img { transform: scale(1.06); }

.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11,45,58,.85) 0%,
    rgba(11,45,58,.2) 50%,
    transparent 100%
  );
  transition: var(--transition);
}

.dest-card:hover .dest-card-overlay {
  background: linear-gradient(
    to top,
    rgba(12,143,163,.75) 0%,
    rgba(11,45,58,.3) 55%,
    transparent 100%
  );
}

.dest-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px;
  color: var(--white);
}

.dest-card-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.dest-card-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.dest-card--large .dest-card-info h3 { font-size: 1.5rem; }

.dest-card-info p {
  font-size: .8rem;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}

.dest-card-arrow-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap .25s ease;
}

.dest-card:hover .dest-card-arrow-btn { gap: 10px; }

/* ----------------------------------------------------------------
   18. PRE-FOOTER PORTRAIT BANNER
   ---------------------------------------------------------------- */
#prefooter {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: stretch;
}

.prefooter-img-col {
  width: 42%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.prefooter-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.prefooter-img-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 60%,
    rgba(11,45,58,.6) 100%
  );
}

.prefooter-text-col {
  flex: 1;
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: 72px 64px;
  position: relative;
  overflow: hidden;
}

/* Decorative blob inside text col */
.prefooter-text-col::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(12,143,163,.18) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.prefooter-text-col::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(217,164,65,.1) 0%, transparent 70%);
  bottom: -80px; left: -60px;
  border-radius: 50%;
  pointer-events: none;
}

.prefooter-content { position: relative; z-index: 2; max-width: 480px; }

.prefooter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #a8e6ef;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.prefooter-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.prefooter-title span { color: var(--primary); }

.prefooter-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.68);
  line-height: 1.8;
  margin-bottom: 36px;
}

.prefooter-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.prefooter-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.prefooter-stat span {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

/* Responsive: pre-footer */
@media (max-width: 768px) {
  #prefooter { flex-direction: column; }
  .prefooter-img-col { width: 100%; height: 300px; }
  .prefooter-img-col::after { background: linear-gradient(to bottom, transparent 60%, rgba(11,45,58,.6) 100%); }
  .prefooter-text-col { padding: 48px 24px; }
  .destinations-grid { grid-template-columns: 1fr; }
  .dest-card--large { height: 300px; }
  .destinations-right { grid-template-columns: 1fr 1fr; }
  .dest-card { height: 200px; }
}

@media (max-width: 480px) {
  .destinations-right { grid-template-columns: 1fr; }
  .dest-card { height: 200px; }
  .prefooter-stats { gap: 20px; }
}

/* ----------------------------------------------------------------
   19. NAV LOGO IMAGE SIZING
   ---------------------------------------------------------------- */
.nav-logo-img {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

/* Slightly smaller when header scrolled */
#header.scrolled .nav-logo-img {
  height: 48px;
}

/* Footer logo image */
.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* ================================================================
   20. INNER PAGE — SHARED COMPONENTS
   ================================================================ */

/* ----------------------------------------------------------------
   Page Hero Banner (for about/contact/services pages)
   ---------------------------------------------------------------- */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 80px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.35);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,45,58,.9) 0%, rgba(12,143,163,.55) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 0;
  max-width: 700px;
}

.page-hero-content .section-label {
  color: var(--accent);
  margin-bottom: 14px;
}

.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}

.page-hero-title span { color: var(--primary); }

.page-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 28px;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
}

.breadcrumb a {
  color: rgba(255,255,255,.75);
  transition: color .25s;
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb span:last-child { color: var(--accent); font-weight: 600; }

/* ----------------------------------------------------------------
   21. ABOUT PAGE
   ---------------------------------------------------------------- */

.about-page-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-page-text .section-title { text-align: left; }

.about-page-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-page-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-page-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,45,58,.4) 0%, transparent 60%);
}

/* What We Offer list */
.offer-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.offer-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.offer-item-icon {
  width: 36px; height: 36px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.offer-item-text h4 { font-size: .88rem; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.offer-item-text p  { font-size: .8rem; color: var(--gray-600); line-height: 1.55; }

/* Mission block */
.mission-block {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-block::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(12,143,163,.18) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.mission-block .section-label { color: var(--accent); }

.mission-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.mission-block p {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  line-height: 1.85;
  max-width: 680px;
  margin: 0 auto;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transition: transform .35s ease;
  transform-origin: left;
}

.value-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.value-card:hover::before { transform: scaleX(1); }

.value-card-icon {
  width: 72px; height: 72px;
  background: var(--primary-light);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 22px;
  transition: var(--transition);
}

.value-card:hover .value-card-icon { background: var(--primary); color: var(--white); transform: scale(1.1) rotate(-5deg); }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.value-card p  { font-size: .83rem; color: var(--gray-600); line-height: 1.7; }

/* ----------------------------------------------------------------
   22. SERVICES PAGE
   ---------------------------------------------------------------- */
.services-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.service-card-page {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card-page:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card-page-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-page-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.service-card-page:hover .service-card-page-img img { transform: scale(1.07); }

.service-card-page-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,45,58,.7) 0%, transparent 60%);
}

.service-card-page-tag {
  position: absolute;
  bottom: 14px; left: 16px;
  background: var(--accent);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

.service-card-page-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-page-icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 14px;
  transition: var(--transition);
  flex-shrink: 0;
}

.service-card-page:hover .service-card-page-icon { background: var(--primary); color: var(--white); }

.service-card-page-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.service-card-page-body p {
  font-size: .84rem;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}

.service-card-page-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap .2s;
}

.service-card-page:hover .service-card-page-link { gap: 10px; }

/* ----------------------------------------------------------------
   23. CONTACT PAGE
   ---------------------------------------------------------------- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
}

.contact-info-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-6px); }

.contact-info-card-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(12,143,163,.05) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 18px;
  font-size: 1.6rem;
}

.contact-info-card h3 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.contact-info-card p  { font-size: .85rem; color: var(--gray-600); line-height: 1.65; }
.contact-info-card a  { color: var(--primary); }
.contact-info-card a:hover { text-decoration: underline; }

/* Map + Form layout */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
}

/* Contact Form */
.contact-form-section h2 { font-size: 1.6rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.contact-form-section > p { font-size: .9rem; color: var(--gray-600); margin-bottom: 28px; line-height: 1.7; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .88rem;
  color: var(--gray-800);
  background: var(--bg);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(12,143,163,.12);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.contact-form .btn-primary { align-self: flex-start; }

/* WA direct link below form */
.contact-wa-alt {
  margin-top: 20px;
  padding: 18px 24px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .88rem;
  color: #166534;
}

.contact-wa-alt a {
  color: #15803d;
  font-weight: 700;
  text-decoration: underline;
}

/* ----------------------------------------------------------------
   24. RESPONSIVE — INNER PAGES
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-page-intro { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-main-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-page { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .page-hero-content { padding: 56px 0; }
  .page-hero-title { font-size: 2rem; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .services-grid-page { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mission-block { padding: 40px 24px; }
}


/* ================================================================
   OUR PARTNERS SLIDER
   ================================================================ */

@keyframes partnersScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partners-track {
  animation: partnersScroll 18s linear infinite;
  will-change: transform;
}

.partners-track-wrapper {
  direction: ltr; /* Force LTR so the infinite scroll works in both EN and AR modes */
}

.partners-track-wrapper:hover .partners-track {
  animation-play-state: paused;
}

/* margin-right instead of gap — mathematically required for seamless loop.
   With gap, translateX(-50%) overshoots by half a gap unit causing a jump.
   With margin-right every card carries its own spacing so -50% is exact. */
.partner-logo-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1.5px solid rgba(12, 143, 163, 0.1);
  border-radius: 16px;
  padding: 20px 32px;
  height: 100px;
  min-width: 160px;
  max-width: 220px;
  margin-right: 40px;
  box-shadow: 0 4px 20px rgba(11, 45, 58, 0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.partner-logo-card:hover {
  box-shadow: 0 8px 32px rgba(12, 143, 163, 0.18);
  transform: translateY(-4px);
  border-color: rgba(12, 143, 163, 0.35);
}

.partner-logo-card img {
  max-height: 60px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Partners slider — mobile responsive */
@media (max-width: 768px) {
  #our-partners {
    padding: 48px 0 40px;
  }
  .partner-logo-card {
    height: 80px;
    min-width: 120px;
    max-width: 160px;
    padding: 14px 20px;
    margin-right: 24px;
  }
  .partner-logo-card img {
    max-height: 46px;
    max-width: 120px;
  }
  .partners-track {
    animation-duration: 14s !important;
  }
}
