@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #00E676;
  --primary-hover: #00C853;
  --text-dark: #0A0A0A;
  --text-light: #666666;
  --bg-white: #FFFFFF;
  --bg-light: #F4F7F6;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-3d: 0 20px 50px rgba(0, 230, 118, 0.15), 0 10px 20px rgba(0,0,0,0.05);
  --radius: 20px;
  --radius-lg: 32px;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Bilingual Toggle System */
body.lang-en .ar-text { display: none !important; }
body.lang-ar .en-text { display: none !important; }
body.lang-ar { direction: rtl; text-align: right; }
body.lang-ar .hero-content { align-items: flex-end; text-align: right; }
body.lang-ar .nav-links { flex-direction: row-reverse; }
body.lang-ar .card-grid { direction: ltr; }
body.lang-ar .top-bar-right { flex-direction: row-reverse; }

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  display: block;
  width: 100%;
  direction: ltr;
  background: linear-gradient(90deg, var(--text-dark), #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), #00BFA5);
  border-radius: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 650px;
  margin: 1.5rem auto 4rem;
  font-size: 1.2rem;
  font-weight: 300;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sections */
section {
  padding: 7rem 0;
  background-color: var(--bg-white);
}

section.bg-light {
  background-color: var(--bg-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: rgba(255,255,255,0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #00C853);
  color: var(--text-dark);
  box-shadow: 0 8px 20px rgba(0, 230, 118, 0.3);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 230, 118, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--text-dark);
  color: var(--bg-white);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.top-bar {
  background-color: var(--text-dark);
  color: white;
  font-size: 0.88rem;
  padding: 11px 0;
  font-weight: 400;
  letter-spacing: 0.3px;
  border-bottom: 2px solid var(--primary);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-right {
  display: flex;
  gap: 25px;
  align-items: center;
}

.top-bar-right span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.lang-toggle.active, .lang-toggle:hover {
  background: var(--primary);
  color: var(--text-dark);
  border-color: var(--primary);
}

.main-nav {
  padding: 18px 0;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 5px 0;
  white-space: nowrap;
}

.header-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Slider */
.hero {
  height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  background-color: var(--text-dark);
}

.hero-slider-container {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  overflow: hidden;
  background-color: var(--text-dark);
}

.hero-slide {
  position: absolute;
  top: -5%; left: -5%; right: -5%; bottom: -5%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: flex;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-part {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide.active .slide-part {
  animation: kenBurns 15s infinite alternate ease-in-out;
}

/* Split Image Layouts */
.hero-slide.split-diagonal {
  display: block;
}
.hero-slide.split-diagonal .slide-part:nth-child(1) {
  position: absolute;
  top: 0; left: 0; width: 65%; height: 100%;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  z-index: 2;
}
.hero-slide.split-diagonal .slide-part:nth-child(2) {
  position: absolute;
  top: 0; right: 0; width: 100%; height: 100%;
  z-index: 1;
}

.hero-slide.split-vertical {
  display: flex;
}

.hero-slide.split-vertical .slide-part {
  border-right: 2px solid rgba(255,255,255,0.1);
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1%, -1%); }
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
}

/* Adventure Animations */
.adventure-animation {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1; /* Below text, above background */
  overflow: hidden;
}

.cloud {
  position: absolute;
  opacity: 0.15;
}

.cloud svg {
  width: 120px;
  height: 120px;
}

.cloud-1 {
  top: 10%;
  animation: floatCloud 45s infinite linear;
}

.cloud-2 {
  top: 30%;
  animation: floatCloud 60s infinite linear reverse;
  opacity: 0.1;
  transform: scale(1.5);
}

.airplane {
  position: absolute;
  top: 15%;
  opacity: 0.6;
  animation: flyAcross 25s infinite linear;
}

.airplane svg {
  width: 40px;
  height: 40px;
}

@keyframes floatCloud {
  0% { transform: translateX(-150px); }
  100% { transform: translateX(110vw); }
}

@keyframes flyAcross {
  0% { transform: translateX(-100px) translateY(50px) rotate(45deg); }
  100% { transform: translateX(110vw) translateY(-100px) rotate(45deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: opacity 0.5s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 4px 15px rgba(0,0,0,0.7), 0 0 60px rgba(0,0,0,0.5);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 4px 15px rgba(0,0,0,0.6);
  letter-spacing: 0.02em;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Glassmorphism Search Bar */
.search-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 25px 40px;
  border-radius: 60px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255,255,255,0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: -60px auto 0;
  position: relative;
  z-index: 10;
  gap: 30px;
  direction: ltr;
}

.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-field label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-field select {
  border: none;
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 600;
  outline: none;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  font-family: inherit;
}

.search-divider {
  width: 1px;
  height: 50px;
  background: rgba(0,0,0,0.1);
}

/* 3D Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  perspective: 1000px; /* Enable 3D space */
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.03);
  transform-style: preserve-3d;
  direction: ltr;
}

.card:hover {
  transform: translateY(-15px) rotateX(2deg) rotateY(-1deg);
  box-shadow: var(--shadow-3d);
}

.card-img {
  height: 250px;
  overflow: hidden;
  position: relative;
  direction: ltr;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-img img {
  transform: scale(1.1);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--text-dark);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 2;
}

.card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.card-text {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 25px;
  flex: 1;
}

/* Accordion */
.accordion {
  max-width: 850px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
  transition: var(--transition);
}

.accordion-item:hover {
  box-shadow: var(--shadow-soft);
}

.accordion-header {
  padding: 25px 30px;
  background: var(--bg-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.accordion-content {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: var(--bg-light);
  color: var(--text-light);
  font-size: 1.05rem;
}

.accordion-item.active .accordion-content {
  padding: 25px 30px;
  max-height: 400px;
}

/* Footer Ultra Modern */
footer {
  background: var(--primary);
  color: white;
  padding: 120px 0 40px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: 'YALLA';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18vw;
  font-weight: 800;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  margin-bottom: 25px;
  font-size: 1.3rem;
  color: white;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; width: 30px; height: 3px;
  background: white;
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(10px);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* 3D Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(60px) rotateX(-10deg);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-origin: top center;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-100px) rotateY(-20deg);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
}

.reveal-right {
  opacity: 0;
  transform: translateX(100px) rotateY(20deg);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  z-index: 1000;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

/* Floating Language Toggle Button */
.floating-lang-btn {
  position: fixed;
  bottom: 120px;
  right: 40px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--text-dark), #333);
  color: white;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.floating-lang-btn:hover {
  transform: scale(1.15);
  background: linear-gradient(135deg, var(--primary), #00C853);
  color: var(--text-dark);
  box-shadow: 0 15px 35px rgba(0, 230, 118, 0.4);
  border-color: var(--primary);
}

/* Page Header */
.page-header {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--bg-light), #E8F5E9);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0,230,118,0.05) 0%, rgba(255,255,255,0) 70%);
  animation: pulse 10s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

/* Forms */
.form-group {
  margin-bottom: 25px;
}

.form-control {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1.05rem;
  transition: var(--transition);
  background: var(--bg-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.15);
}

/* Responsive */

/* === TABLET LANDSCAPE (max-width: 1200px) === */
@media (max-width: 1200px) {
  .container { max-width: 960px; }
  .hero h1 { font-size: 3.8rem; }
  .section-title { font-size: 2.6rem; }
  .footer-grid { gap: 30px; }
  .card-grid { gap: 30px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

/* === TABLET PORTRAIT (max-width: 1024px) === */
@media (max-width: 1024px) {
  .search-bar {
    flex-wrap: wrap;
    border-radius: var(--radius);
    padding: 25px;
    margin: -40px 20px 0;
    gap: 15px;
  }
  .search-divider { display: none; }
  .search-field { min-width: 45%; }

  .hero { height: 75vh; }
  .hero h1 { font-size: 3.2rem; }
  .hero p { font-size: 1.25rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  section { padding: 5rem 0; }
  .section-title { font-size: 2.4rem; }
  .section-subtitle { font-size: 1.05rem; margin: 1.2rem auto 3rem; }

  .hero-slide.split-vertical { flex-direction: column; }
  .hero-slide.split-vertical .slide-part {
    border-right: none;
    border-bottom: 2px solid rgba(255,255,255,0.1);
  }
  .hero-slide.split-diagonal .slide-part:nth-child(1) {
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 80%);
    width: 100%; height: 60%;
  }

  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }

  .page-header { padding: 90px 0; }
  .page-header h1 { font-size: 2.8rem; }

  .nav-links { gap: 15px; }
  .nav-links a { font-size: 0.9rem; }
}

/* === MOBILE (max-width: 768px) === */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* Hide desktop nav, show hamburger */
  .nav-links, .header-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .top-bar-right { display: none; }

  /* Top bar - simplified */
  .top-bar { padding: 8px 0; font-size: 0.75rem; }
  .top-bar .container { justify-content: center; text-align: center; }

  /* Main Nav */
  .main-nav { padding: 12px 0; }
  .logo { font-size: 1.3rem; }
  .logo img { max-height: 35px; }

  /* Hero */
  .hero { height: 65vh; min-height: 400px; }
  .hero h1 { font-size: 2.2rem; margin-bottom: 1rem; }
  .hero p { font-size: 1.1rem; margin-bottom: 1.5rem; }
  .hero-content { padding: 0 16px; }
  .hero-buttons { flex-direction: column; gap: 12px; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; padding: 12px 24px; font-size: 0.95rem; }

  /* Hero split - stack */
  .hero-slide.split-diagonal .slide-part:nth-child(1) {
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 60%);
    height: 60%;
  }

  /* Search bar */
  .search-bar {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    margin: -30px 16px 0;
    border-radius: 16px;
  }
  .search-field { width: 100%; min-width: unset; }
  .search-field select { font-size: 1rem; }
  .search-bar .btn { width: 100%; }

  /* Sections */
  section { padding: 3.5rem 0; }
  .section-title { font-size: 1.9rem; margin-bottom: 0.8rem; }
  .section-title::after { width: 50px; height: 4px; bottom: -10px; }
  .section-subtitle { font-size: 0.95rem; margin: 1rem auto 2.5rem; max-width: 90%; }

  /* Cards */
  .card-grid { grid-template-columns: 1fr; gap: 20px; }
  .card-img { height: 200px; }
  .card-content { padding: 20px; }
  .card-title { font-size: 1.2rem; }
  .card-text { font-size: 0.95rem; margin-bottom: 15px; }
  .card:hover { transform: translateY(-8px); }

  /* Accordion */
  .accordion-header { padding: 18px 20px; font-size: 1rem; }
  .accordion-item.active .accordion-content { padding: 18px 20px; }

  /* Footer */
  footer { padding: 60px 0 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px; }
  .footer-col { text-align: center; }
  .footer-col h4::after { left: 50%; transform: translateX(-50%); }
  .footer-links a:hover { transform: none; }
  .footer-bottom { font-size: 0.85rem; padding-top: 25px; }
  footer::before { font-size: 30vw; }

  /* Page headers */
  .page-header { padding: 60px 0; }
  .page-header h1 { font-size: 2rem; }
  .page-header p { font-size: 0.95rem; }

  /* Forms */
  .form-control { padding: 14px 16px; font-size: 1rem; }

  /* Floating buttons */
  .floating-whatsapp { width: 55px; height: 55px; bottom: 20px; right: 20px; font-size: 26px; }
  .floating-lang-btn { width: 45px; height: 45px; bottom: 85px; right: 20px; font-size: 0.75rem; }

  /* Marquee gallery */
  .marquee-container { padding: 25px 0; gap: 20px; }
  .marquee-item { width: 250px; height: 180px; margin: 0 10px; }

  /* Buttons */
  .btn { padding: 12px 24px; font-size: 0.95rem; }

  /* About section text */
  .about-content p,
  .promise-section p { font-size: 0.95rem; line-height: 1.7; }
}

/* === SMALL MOBILE (max-width: 480px) === */
@media (max-width: 480px) {
  .container { padding: 0 12px; }

  .hero { height: 60vh; min-height: 350px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }

  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.85rem; }

  .card-grid { gap: 16px; }
  .card-img { height: 180px; }
  .card-content { padding: 16px; }
  .card-title { font-size: 1.1rem; }
  .card-badge { top: 12px; right: 12px; padding: 4px 12px; font-size: 0.75rem; }

  .search-bar { margin: -20px 12px 0; padding: 16px; border-radius: 14px; }

  .page-header { padding: 50px 0; }
  .page-header h1 { font-size: 1.7rem; }

  .accordion-header { padding: 15px 16px; font-size: 0.9rem; }

  footer { padding: 50px 0 20px; }
  .footer-col h4 { font-size: 1.1rem; }

  .mobile-nav-links a { font-size: 1.4rem; }

  .marquee-item { width: 200px; height: 140px; margin: 0 8px; }
  .marquee-container { padding: 20px 0; gap: 15px; }

  .floating-whatsapp { width: 48px; height: 48px; bottom: 16px; right: 16px; font-size: 22px; }
  .floating-lang-btn { width: 40px; height: 40px; bottom: 72px; right: 16px; font-size: 0.7rem; }

  .btn { padding: 10px 20px; font-size: 0.9rem; }
  .hero-buttons .btn { max-width: 250px; }
}

/* Custom Scrollbar for Itineraries */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.02);
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

/* Itinerary Details Styling */
.itinerary-days h4 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--text-dark);
  border-left: 3px solid var(--primary);
  padding-left: 10px;
}
.itinerary-days h4:first-child {
  margin-top: 0;
}
.itinerary-days ul {
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-light);
}
.itinerary-days li {
  margin-bottom: 5px;
}
.itinerary-days p {
  margin-bottom: 10px;
}

/* --- Mobile Navigation --- */
.mobile-menu-btn {
  display: none;
  cursor: pointer;
  color: var(--text-dark);
  z-index: 2000;
  background: none;
  border: none;
  font-size: 1.8rem;
  padding: 8px;
  line-height: 1;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(-20px);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-nav-content {
  text-align: center;
  width: 100%;
  padding: 20px;
}

.mobile-menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  font-size: 3rem;
  color: var(--text-dark);
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-nav-links a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
  color: var(--primary);
}

/* --- Marquee Gallery Animations --- */
.marquee-container {
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: var(--bg-light);
  direction: ltr !important;
}

.marquee-row {
  display: flex;
  width: max-content;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  direction: ltr !important;
}

.marquee-row.left {
  animation-name: scrollLeft;
  animation-duration: 40s;
}

.marquee-row.right {
  animation-name: scrollRight;
  animation-duration: 45s;
}

.marquee-row:hover {
  animation-play-state: paused;
}

.marquee-item {
  width: 350px;
  height: 250px;
  margin: 0 15px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
  direction: ltr !important;
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.marquee-item:hover img {
  transform: scale(1.1);
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-vertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Smooth touch scrolling */
@media (hover: none) and (pointer: coarse) {
  .card:hover { transform: none; }
  .card:active { transform: translateY(-5px); }
  .marquee-row:hover { animation-play-state: running; }
}
