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

:root {
  --primary: #1a3c5e;
  --primary-light: #2a5a8a;
  --accent: #c8a45a;
  --accent-light: #e0c477;
  --dark: #0d1b2a;
  --text: #333;
  --text-light: #6b7280;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Arabic font override */
html[lang="ar"] body {
  font-family: 'Tajawal', sans-serif;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

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

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

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

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

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

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 164, 90, 0.4);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

.navbar.scrolled .logo-img {
  filter: none;
}

.logo i {
  color: var(--accent);
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all var(--transition);
}

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

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('images/background.png') center/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.75) 0%, rgba(26,60,94,0.6) 50%, rgba(13,27,42,0.8) 100%);
}

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

.hero-subtitle {
  font-size: 1.1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--accent-light);
  font-weight: 500;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero-tagline {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-weight: 300;
}

.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  font-size: 0.95rem;
}

.hero-rating .stars {
  color: var(--accent);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll a {
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
  transition: color var(--transition);
}

.hero-scroll a:hover {
  color: var(--accent);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== ABOUT ===== */
.about {
  background: var(--white);
}

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

.about-image {
  position: relative;
}

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

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-number::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

/* ===== SERVICES ===== */
.services {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

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

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== DESTINATIONS ===== */
.destinations {
  background: var(--white);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}

.dest-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.dest-card.dest-large {
  grid-column: span 2;
  grid-row: span 2;
}

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

.dest-card:hover img {
  transform: scale(1.08);
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: all var(--transition);
}

.dest-card:hover .dest-overlay {
  background: linear-gradient(to top, rgba(13,27,42,0.9) 0%, rgba(13,27,42,0.3) 60%);
}

.dest-overlay h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.dest-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transform: translateY(8px);
  opacity: 0;
  transition: all var(--transition);
}

.dest-card:hover .dest-overlay p {
  transform: translateY(0);
  opacity: 1;
}

/* ===== PROGRAMS ===== */
.programs {
  background: var(--off-white);
}

.programs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.program-category-title {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.program-category-title i {
  color: var(--accent);
}

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

.program-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border-left: 4px solid transparent;
}

.program-card:hover {
  border-left-color: var(--accent);
  transform: translateX(4px);
}

.program-card i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.program-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.program-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== BOOKING ===== */
.booking {
  background: var(--white);
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.booking-info .section-title {
  text-align: left;
}

.booking-info > p {
  color: var(--text-light);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.booking-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.booking-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.booking-feature i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 2px;
  min-width: 32px;
}

.booking-feature h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
}

.booking-feature p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Booking Form */
.booking-form {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  position: relative;
}

.booking-form h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 28px;
  text-align: center;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.required {
  color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,164,90,0.15);
}

.form-group input.error,
.form-group select.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}

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

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--gray-300);
  transition: all var(--transition);
  user-select: none;
}

.checkbox-label:hover {
  border-color: var(--accent);
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  accent-color: var(--accent);
}

.checkbox-label:has(input:checked) {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  font-weight: 500;
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 12px;
}

.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--off-white);
  border-radius: var(--radius);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.form-success.visible {
  display: flex;
}

.form-success i {
  font-size: 4rem;
  color: #22c55e;
  margin-bottom: 16px;
}

.form-success h4 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-light);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--primary);
  color: var(--white);
}

.contact .section-label {
  color: var(--accent-light);
}

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

.contact .section-desc {
  color: rgba(255,255,255,0.7);
}

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

.contact-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}

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

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-icon i {
  font-size: 1.3rem;
  color: var(--dark);
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.contact-card a {
  color: var(--accent-light);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.contact-card a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--accent);
  width: 16px;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Directional variants */
.slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-left.visible,
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-up {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Section headers */
.section-header .section-label,
.section-header .section-title,
.section-header .section-desc {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-header.animate-in .section-label {
  opacity: 1; transform: translateY(0);
}
.section-header.animate-in .section-title {
  opacity: 1; transform: translateY(0); transition-delay: 0.12s;
}
.section-header.animate-in .section-desc {
  opacity: 1; transform: translateY(0); transition-delay: 0.24s;
}

/* Hero text stagger */
.hero-content .hero-subtitle,
.hero-content .hero-title,
.hero-content .hero-tagline,
.hero-content .hero-rating,
.hero-content .hero-cta {
  opacity: 0;
  transform: translateY(30px);
}

.hero-loaded .hero-subtitle {
  animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
.hero-loaded .hero-title {
  animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}
.hero-loaded .hero-tagline {
  animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}
.hero-loaded .hero-rating {
  animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}
.hero-loaded .hero-cta {
  animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Parallax hint on hero background */
.hero {
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero { background-attachment: scroll; }
}

/* Navbar entrance */
.navbar {
  transform: translateY(-100%);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar.nav-visible {
  transform: translateY(0);
}

/* Destination card tilt on hover */
.dest-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.dest-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Service card float */
.service-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Program card hover glow */
.program-card {
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.program-card:hover {
  box-shadow: 0 8px 30px rgba(200,164,90,0.15);
}

/* Stats counter pop */
.stat-number {
  transition: transform 0.3s ease;
}

.stat.counted .stat-number {
  animation: counterPop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes counterPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Contact card entrance */
.contact-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Booking section */
.booking-form {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-icon {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-icon i {
  font-size: 3rem;
  color: var(--accent);
  animation: planeFloat 2s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(200,164,90,0.4));
}

@keyframes planeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(-2deg); }
  75% { transform: translateY(4px) rotate(1deg); }
}

.preloader-trail {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  animation: trailPulse 1.2s ease-in-out infinite;
}

@keyframes trailPulse {
  0%, 100% { opacity: 0.3; width: 30px; }
  50% { opacity: 0.8; width: 50px; }
}

.preloader-text {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  gap: 2px;
}

.preloader-text span {
  display: inline-block;
  animation: letterWave 1.5s ease-in-out infinite;
  opacity: 0.4;
}

.preloader-text span:nth-child(1) { animation-delay: 0s; }
.preloader-text span:nth-child(2) { animation-delay: 0.06s; }
.preloader-text span:nth-child(3) { animation-delay: 0.12s; }
.preloader-text span:nth-child(4) { animation-delay: 0.18s; }
.preloader-text span:nth-child(5) { animation-delay: 0.24s; }
.preloader-text span:nth-child(6) { animation-delay: 0.30s; }
.preloader-text span:nth-child(7) { animation-delay: 0.36s; }
.preloader-text span:nth-child(8) { animation-delay: 0.42s; }
.preloader-text span:nth-child(9) { animation-delay: 0.48s; }
.preloader-text span:nth-child(10) { animation-delay: 0.54s; }
.preloader-text span:nth-child(11) { animation-delay: 0.60s; }

@keyframes letterWave {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-6px); }
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Body no-scroll while loading */
body.loading {
  overflow: hidden;
}

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

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .dest-card.dest-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .booking-wrapper {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    padding: 80px 32px 40px;
    gap: 4px;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }

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

  .nav-links a {
    font-size: 1.05rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-toggle {
    display: flex;
  }

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

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

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

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

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .about-image img {
    height: 320px;
  }

  .about-image-accent {
    display: none;
  }

  .stats-row {
    justify-content: center;
  }

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

  .destinations-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .dest-card.dest-large {
    grid-column: span 1;
  }

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

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

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

  .booking-form {
    padding: 28px 20px;
  }
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  position: relative;
  margin-left: 12px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}

.navbar.scrolled .lang-btn {
  color: var(--primary);
  border-color: var(--gray-300);
}

.navbar.scrolled .lang-btn:hover {
  border-color: var(--accent);
}

.lang-arrow {
  font-size: 0.6rem;
  transition: transform var(--transition);
}

.lang-switcher.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  overflow: hidden;
  z-index: 1000;
}

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

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--transition);
}

.lang-option:hover {
  background: var(--gray-100);
}

.lang-option.active {
  background: var(--gray-100);
  color: var(--primary);
  font-weight: 600;
}

.lang-flag {
  font-size: 1.15rem;
}

/* ===== RTL SUPPORT (Arabic) ===== */
html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .nav-container {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

html[dir="rtl"] .logo {
  flex-direction: row-reverse;
}

html[dir="rtl"] .lang-switcher {
  margin-left: 0;
  margin-right: 12px;
}

html[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

html[dir="rtl"] .hero-content {
  text-align: center;
}

html[dir="rtl"] .about-grid {
  direction: rtl;
}

html[dir="rtl"] .about-image-accent {
  left: auto;
  right: -20px;
}

html[dir="rtl"] .section-header {
  text-align: center;
}

html[dir="rtl"] .booking-info {
  text-align: right;
}

html[dir="rtl"] .feature-item {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir="rtl"] .feature-item i {
  margin-right: 0;
  margin-left: 12px;
}

html[dir="rtl"] .contact-card {
  text-align: center;
}

html[dir="rtl"] .footer-grid {
  direction: rtl;
}

html[dir="rtl"] .footer-brand {
  text-align: right;
}

html[dir="rtl"] .footer-links ul,
html[dir="rtl"] .footer-contact {
  text-align: right;
}

html[dir="rtl"] .checkbox-group {
  direction: rtl;
}

html[dir="rtl"] .form-group label {
  text-align: right;
}

html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 30px;
}

@media (max-width: 768px) {
  html[dir="rtl"] .nav-links {
    text-align: right;
  }

  html[dir="rtl"] .lang-switcher {
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

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

  .stats-row {
    flex-direction: column;
    gap: 24px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .checkbox-group {
    gap: 6px;
  }

  .checkbox-label {
    font-size: 0.82rem;
    padding: 5px 10px;
  }
}
