/* ====================================================
   AL Hadrami Tourism v5 — style.css
   ==================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-pale:   #FBF5E6;
  --dark:        #0E0D0B;
  --dark2:       #1A1915;
  --dark3:       #252420;
  --text:        #F5F0E8;
  --text-muted:  #A09880;
  --text-light:  #D4C9B0;
  --border:      rgba(201, 168, 76, 0.25);
  --wa:          #25D366;
  --radius:      4px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

/* ---------- Arabic RTL ---------- */
body.ar { font-family: 'Tajawal', sans-serif; direction: rtl; }
body.ar * { direction: rtl; text-align: right; }
body.ar .pkg-highlights li::before { margin-left: 0.5rem; margin-right: 0; }
body.ar .counter { flex-direction: row-reverse; }
body.ar .price-row { flex-direction: row-reverse; }
body.ar .summary-table tr td:last-child { text-align: left; }
body.ar .modal-header { flex-direction: row-reverse; }
body.ar .wa-float { right: auto; left: 1.5rem; }
body.ar .nav-menu-btn { margin-left: 0; margin-right: auto; }
body.ar .section-label,
body.ar .booking-title,
body.ar .pkg-country,
body.ar .pkg-badge,
body.ar .dest-tag,
body.ar .weather-city,
body.ar .modal-sec-label,
body.ar .modal-subtitle { letter-spacing: 0; }
body.ar .nav-center a,
body.ar .filter-btn,
body.ar .book-btn,
body.ar .btn-primary,
body.ar .btn-outline,
body.ar .confirm-btn,
body.ar .btn-wa { letter-spacing: 0; text-transform: none; }
body.ar .hero-stats { flex-direction: row-reverse; }
body.ar .footer-inner { flex-direction: row-reverse; }
body.ar .social-links { flex-direction: row-reverse; }
body.ar .nav-right { flex-direction: row-reverse; }
body.ar .field-error { text-align: right; }

/* ---------- Shared Layout ---------- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-label {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}
body.ar .section-label { letter-spacing: 0; }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
body.ar .section-title { font-family: 'Tajawal', sans-serif; font-weight: 300; }
.section-title em { font-style: italic; color: var(--gold-light); }
.section-sub { font-size: 0.82rem; color: var(--text-muted); max-width: 520px; line-height: 1.85; }

/* ====================================================
   NAVIGATION
   ==================================================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(14, 13, 11, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
  transition: padding 0.3s;
}
nav.scrolled { padding: 0.75rem 2.5rem; }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 300;
  letter-spacing: 0.1em; color: var(--gold); white-space: nowrap;
  cursor: pointer; text-decoration: none; display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo-img { height: 36px; width: auto; object-fit: contain; max-width: 140px; }
.nav-logo-text span { font-style: italic; color: var(--text-light); }
.nav-center { display: flex; gap: 1.8rem; list-style: none; }
.nav-center a {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; transition: color 0.2s;
  white-space: nowrap;
}
.nav-center a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 0.6rem; }
.lang-btn {
  font-size: 0.72rem; letter-spacing: 0.08em; padding: 0.4rem 0.9rem;
  border: 0.5px solid var(--border); background: transparent;
  color: var(--text-muted); cursor: pointer; font-family: inherit;
  transition: all 0.2s; white-space: nowrap; border-radius: var(--radius);
}
.lang-btn:hover, .lang-btn.active {
  border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08);
}
.nav-cta {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.45rem 1.2rem; border: 0.5px solid var(--gold);
  color: var(--gold); background: transparent; cursor: pointer;
  transition: all 0.25s; white-space: nowrap; font-family: inherit;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--gold); color: var(--dark); }

/* Mobile Hamburger */
.nav-menu-btn {
  display: none; background: none; border: 0.5px solid var(--border);
  color: var(--text-muted); cursor: pointer; padding: 0.4rem 0.6rem;
  border-radius: var(--radius); font-size: 1.2rem; transition: all 0.2s;
  flex-direction: column; gap: 4px; align-items: center; justify-content: center;
  width: 38px; height: 38px;
}
.nav-menu-btn:hover { border-color: var(--gold); color: var(--gold); }
.hamburger-line {
  width: 18px; height: 1.5px; background: currentColor;
  transition: all 0.3s; transform-origin: center;
}
.nav-menu-btn.open .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-menu-btn.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-menu-btn.open .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(14,13,11,0.98); z-index: 999; padding: 5rem 2rem 2rem;
  flex-direction: column; gap: 0.5rem;
  animation: slideDown 0.25s ease;
}
.mobile-nav.open { display: flex; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.mobile-nav a {
  font-size: 1.1rem; font-family: 'Cormorant Garamond', serif; font-weight: 300;
  color: var(--text-muted); text-decoration: none; padding: 0.9rem 0;
  border-bottom: 0.5px solid var(--border); transition: color 0.2s;
  letter-spacing: 0.05em;
}
body.ar .mobile-nav a { font-family: 'Tajawal', sans-serif; }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-footer {
  margin-top: auto; display: flex; gap: 0.5rem; flex-wrap: wrap; padding-top: 1rem;
}

/* ====================================================
   HERO
   ==================================================== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; text-align: center; padding: 6rem 1.5rem 3rem;
  background: linear-gradient(160deg, #0E0D0B 0%, #1A1712 50%, #0E100E 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='1' cy='1' r='0.5' fill='rgba(201,168,76,0.12)'/%3E%3C/svg%3E");
  opacity: 0.6;
}
.hero-badge {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); border: 0.5px solid var(--border);
  padding: 0.3rem 1.1rem; margin-bottom: 1.8rem;
  display: inline-block; position: relative; z-index: 1;
  animation: fadeUp 0.8s ease both;
}
body.ar .hero-badge { letter-spacing: 0; }
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 7vw, 6rem); font-weight: 300;
  line-height: 1.08; letter-spacing: 0.02em;
  margin-bottom: 1.2rem; position: relative; z-index: 1;
  animation: fadeUp 0.8s 0.1s ease both;
}
body.ar .hero h1 { font-family: 'Tajawal', sans-serif; font-weight: 300; letter-spacing: 0; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.04em;
  max-width: 460px; line-height: 1.9; margin-bottom: 2.5rem;
  position: relative; z-index: 1;
  animation: fadeUp 0.8s 0.2s ease both;
}
body.ar .hero-sub { letter-spacing: 0; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-bottom: 2.5rem;
  position: relative; z-index: 1; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; color: var(--gold);
}
.hero-stat-label {
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 0.2rem;
}
body.ar .hero-stat-label { letter-spacing: 0; }
.hero-btns { display: flex; gap: 1rem; position: relative; z-index: 1; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.8s 0.4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ====================================================
   BUTTONS
   ==================================================== */
.btn-primary {
  padding: 0.8rem 2.2rem; background: var(--gold); color: var(--dark);
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: none; cursor: pointer; font-family: inherit; font-weight: 500;
  transition: all 0.25s; border-radius: var(--radius);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  padding: 0.8rem 2.2rem; background: transparent; color: var(--text-light);
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 0.5px solid rgba(245, 240, 232, 0.25); cursor: pointer;
  font-family: inherit; transition: all 0.25s; border-radius: var(--radius);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }

/* ====================================================
   RECENT BOOKINGS POPUP
   ==================================================== */
.popup-booking {
  position: fixed; bottom: 5.5rem; left: 2rem; z-index: 500;
  background: var(--dark2); border: 0.5px solid var(--border);
  padding: 0.85rem 1.1rem; max-width: 260px;
  display: flex; gap: 0.7rem; align-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  animation: slideInLeft 0.4s ease, fadeOutBooking 0.4s 4.5s ease forwards;
  pointer-events: none;
}
body.ar .popup-booking { left: auto; right: 2rem; animation: slideInRight 0.4s ease, fadeOutBooking 0.4s 4.5s ease forwards; }
.popup-booking-icon { font-size: 1.4rem; flex-shrink: 0; }
.popup-booking-text { font-size: 0.7rem; color: var(--text-muted); line-height: 1.5; }
.popup-booking-text strong { color: var(--text-light); display: block; font-weight: 500; }
.popup-booking-time { font-size: 0.6rem; color: var(--gold); }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeOutBooking { from { opacity: 1; } to { opacity: 0; pointer-events: none; } }

/* ====================================================
   DESTINATIONS
   ==================================================== */
.destinations-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.dest-card { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; cursor: pointer; }
.dest-card-bg {
  position: absolute; inset: 0; transition: transform 0.5s ease;
}
.dest-card:hover .dest-card-bg { transform: scale(1.04); }
.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.dest-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem;
}
.dest-flag { font-size: 2rem; margin-bottom: 0.5rem; }
.dest-name { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; margin-bottom: 0.4rem; }
body.ar .dest-name { font-family: 'Tajawal', sans-serif; }
.dest-desc { font-size: 0.72rem; color: var(--text-light); line-height: 1.6; margin-bottom: 0.7rem; }
.dest-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.dest-tag {
  font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border: 0.5px solid rgba(201,168,76,0.4);
  color: var(--gold); background: rgba(201,168,76,0.06);
}
body.ar .dest-tag { letter-spacing: 0; }

/* ====================================================
   PACKAGES
   ==================================================== */
.packages-section { padding: 5rem 0; background: var(--dark2); }
.packages-filter {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; margin-top: 1.5rem;
}
.filter-btn {
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 1rem; border: 0.5px solid var(--border);
  background: transparent; color: var(--text-muted); cursor: pointer;
  font-family: inherit; transition: all 0.2s; border-radius: var(--radius);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08);
}
.packages-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
}
.pkg-card {
  background: var(--dark); border: 0.5px solid var(--border);
  display: flex; flex-direction: column; position: relative;
  transition: border-color 0.3s, transform 0.3s;
  border-radius: var(--radius); overflow: hidden;
}
.pkg-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.pkg-card.featured { border-color: rgba(201,168,76,0.5); }
.pkg-badge {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--gold); color: var(--dark); padding: 0.25rem 0.7rem;
  border-radius: 2px;
}
body.ar .pkg-badge { right: auto; left: 1rem; }
.pkg-header { padding: 1.3rem 1.3rem 0.8rem; }
.pkg-country {
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.4rem;
}
body.ar .pkg-country { letter-spacing: 0; }
.pkg-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 300;
  line-height: 1.25; margin-bottom: 0.5rem;
}
body.ar .pkg-name { font-family: 'Tajawal', sans-serif; }
.pkg-duration {
  font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 0.3rem;
}
.pkg-highlights {
  list-style: none; padding: 0 1.3rem; margin-bottom: 1rem; flex: 1;
}
.pkg-highlights li {
  font-size: 0.72rem; color: var(--text-muted); padding: 0.28rem 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.04);
  display: flex; align-items: baseline; gap: 0.4rem;
}
.pkg-highlights li::before { content: '–'; color: var(--gold); flex-shrink: 0; }
.pkg-footer {
  padding: 1rem 1.3rem;
  border-top: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.7rem;
}
.price-row { display: flex; flex-direction: column; }
.price-original { font-size: 0.65rem; color: var(--text-muted); text-decoration: line-through; }
.price-main { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300; color: var(--gold); }
.price-main small { font-size: 0.62rem; color: var(--text-muted); font-family: 'DM Sans', sans-serif; }
.price-badge { font-size: 0.6rem; background: rgba(34,197,94,0.12); color: #22c55e; padding: 0.15rem 0.5rem; border-radius: 2px; }
.book-btn {
  padding: 0.65rem 1.4rem; background: transparent; border: 0.5px solid var(--gold);
  color: var(--gold); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; font-family: inherit; transition: all 0.2s; white-space: nowrap;
  border-radius: var(--radius);
}
.book-btn:hover { background: var(--gold); color: var(--dark); }

/* ====================================================
   SERVICES PAGE (صفحة الخدمات)
   ==================================================== */
.services-section { padding: 5rem 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.service-card {
  background: var(--dark2); border: 0.5px solid var(--border);
  padding: 2rem 1.5rem; border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s; text-align: center;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.service-icon { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.service-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 300;
  color: var(--gold-light); margin-bottom: 0.5rem;
}
body.ar .service-name { font-family: 'Tajawal', sans-serif; }
.service-desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.7; }

/* ====================================================
   WEATHER
   ==================================================== */
.weather-section { padding: 5rem 0; background: var(--dark2); }
.weather-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin-top: 2rem;
}
.weather-card {
  background: var(--dark); border: 0.5px solid var(--border);
  padding: 1.4rem; text-align: center; border-radius: var(--radius);
  transition: border-color 0.25s;
}
.weather-card:hover { border-color: var(--gold); }
.weather-emoji { font-size: 2rem; margin-bottom: 0.5rem; }
.weather-city {
  font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.4rem;
}
body.ar .weather-city { letter-spacing: 0; }
.weather-temp { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; }
.weather-desc { font-size: 0.68rem; color: var(--text-muted); margin-top: 0.3rem; }
.weather-best { font-size: 0.6rem; color: var(--text-muted); margin-top: 0.5rem; border-top: 0.5px solid var(--border); padding-top: 0.5rem; }

/* ====================================================
   TRAVEL TIPS
   ==================================================== */
.tips-section { padding: 5rem 0; }
.tips-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem; margin-top: 2rem;
}
.tip-card {
  background: var(--dark2); border: 0.5px solid var(--border);
  padding: 1.5rem; border-radius: var(--radius); transition: border-color 0.3s;
}
.tip-card:hover { border-color: var(--gold); }
.tip-icon { font-size: 1.5rem; margin-bottom: 0.7rem; }
.tip-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 400;
  color: var(--text-light); margin-bottom: 0.4rem;
}
body.ar .tip-title { font-family: 'Tajawal', sans-serif; }
.tip-body { font-size: 0.72rem; color: var(--text-muted); line-height: 1.75; }

/* ====================================================
   TESTIMONIALS
   ==================================================== */
.testimonials { padding: 5rem 0; background: var(--dark2); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem; margin-top: 2.5rem;
}

/* ── بطاقة التقييم الجديدة ── */
.testimonial-card {
  background: var(--dark2);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.testimonial-card.is-real {
  border-color: rgba(34,197,94,0.2);
}

/* شريط علوي */
.tc-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem 0.6rem;
}
.tc-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.05em; }
.tc-badge-real {
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.06em;
  background: rgba(34,197,94,0.12); color: #22c55e;
  border: 0.5px solid rgba(34,197,94,0.3);
  padding: 0.15rem 0.55rem; border-radius: 99px;
}
.tc-badge-pkg {
  font-size: 0.58rem; font-weight: 500;
  background: rgba(201,168,76,0.08); color: var(--gold);
  border: 0.5px solid var(--border);
  padding: 0.15rem 0.55rem; border-radius: 99px;
  max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* نص التقييم */
.tc-quote {
  font-size: 2.8rem; line-height: 1; color: var(--gold); opacity: 0.15;
  font-family: 'Cormorant Garamond', serif;
  padding: 0 1.2rem; margin-bottom: -0.4rem;
}
.tc-text {
  font-size: 0.8rem; color: var(--text-muted); line-height: 1.75;
  padding: 0 1.2rem 1.2rem;
  flex: 1;
}

/* الفوتر */
.tc-footer {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.85rem 1.2rem;
  border-top: 0.5px solid rgba(201,168,76,0.08);
  background: rgba(0,0,0,0.15);
}
.tc-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
  border: 1.5px solid var(--border);
}
.tc-info { flex: 1; min-width: 0; }
.tc-name {
  font-size: 0.82rem; font-weight: 500; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tc-meta {
  font-size: 0.65rem; color: var(--text-muted); margin-top: 0.15rem;
  display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap;
}
.tc-flag { font-size: 0.9rem; }
.tc-country { color: var(--text-muted); }
.tc-dot { color: var(--border); }
.tc-pkg-inline {
  color: var(--gold); font-size: 0.62rem;
  max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ====================================================
   FAQ
   ==================================================== */
.faq-section { padding: 5rem 0; }
.faq-list { margin-top: 2rem; max-width: 700px; }
.faq-item {
  border-bottom: 0.5px solid var(--border); overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: inherit; font-size: 0.85rem; font-weight: 400;
  padding: 1.1rem 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; text-align: left; transition: color 0.2s;
}
body.ar .faq-question { text-align: right; flex-direction: row-reverse; }
.faq-question:hover { color: var(--gold); }
.faq-chevron { font-size: 0.7rem; color: var(--gold); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.8;
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.1rem; }

/* ====================================================
   CTA BAND
   ==================================================== */
.cta-band {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #1a1610 0%, #2a1f0a 100%);
  text-align: center;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.cta-band h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; margin-bottom: 0.8rem; }
body.ar .cta-band h2 { font-family: 'Tajawal', sans-serif; font-weight: 300; }
.cta-band p  { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2rem; }
.cta-btns    { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-wa {
  padding: 0.82rem 2rem; background: var(--wa); color: #fff;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: none; cursor: pointer; font-family: inherit; font-weight: 500;
  transition: all 0.2s; display: flex; align-items: center; gap: 0.5rem;
  border-radius: var(--radius);
}
.btn-wa:hover { background: #1fbd5a; transform: translateY(-1px); }

/* ====================================================
   FOOTER
   ==================================================== */
footer { padding: 3rem 1.5rem 2rem; background: var(--dark2); border-top: 0.5px solid var(--border); }
.footer-inner {
  max-width: 1080px; margin: 0 auto;
}
.footer-top {
  display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; margin-bottom: 2rem;
}
.footer-brand {}
.footer-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 300;
  letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.footer-logo-img { height: 62px; width: auto; max-width: 68px; object-fit: contain; border-radius: 8px; }
.footer-tagline { font-size: 0.7rem; color: var(--text-muted); max-width: 220px; line-height: 1.6; }
.footer-col-title {
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
body.ar .footer-col-title { letter-spacing: 0; }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-links-list a {
  font-size: 0.72rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s;
}
.footer-links-list a:hover { color: var(--gold); }
.social-links { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.5rem; }
.social-link {
  width: 34px; height: 34px; border: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
  transition: all 0.2s; border-radius: var(--radius);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.06); }
.social-link svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  border-top: 0.5px solid var(--border); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 0.62rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-legal a {
  font-size: 0.62rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold); }

/* ====================================================
   FAQ
   ==================================================== */
.faq-section { padding: 5rem 0; }
.faq-list {
  margin-top: 2rem;
  max-width: 700px;
  /* مركز دائماً */
  margin-left: auto;
  margin-right: auto;
}
body.ar .faq-list { text-align: right; }
.faq-item {
  border-bottom: 0.5px solid var(--border); overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: inherit; font-size: 0.85rem; font-weight: 400;
  padding: 1.1rem 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; text-align: right; transition: color 0.2s;
}
body.ar .faq-question { flex-direction: row-reverse; }
.faq-question:hover { color: var(--gold); }
.faq-chevron { font-size: 0.7rem; color: var(--gold); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.8;
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.1rem; }

/* ====================================================
   SOCIAL FLOAT CLUSTER — ظاهر دائماً (بدون hover)
   ==================================================== */
.social-float-cluster {
  position: fixed; bottom: 2rem; right: 1.5rem; z-index: 200;
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
}
body.ar .social-float-cluster { right: auto; left: 1.5rem; }

.wa-float {
  width: 54px; height: 54px; border-radius: 50%; background: var(--wa);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.25s; animation: waPulse 3s infinite;
  flex-shrink: 0;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5); }
.wa-float svg   { width: 26px; height: 26px; fill: #fff; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
  50%       { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* الأزرار ظاهرة دائماً — لا تختفي */
.social-float-btns {
  display: flex; flex-direction: column; gap: 0.5rem; align-items: center;
}

.sf-btn {
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0; position: relative;
  text-decoration: none;
}
.sf-btn:hover { transform: scale(1.15); box-shadow: 0 5px 18px rgba(0,0,0,0.4); }
.sf-btn svg { width: 20px; height: 20px; fill: #fff; }
.sf-btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sf-btn-snapchat  { background: #FFFC00; }
.sf-btn-snapchat svg { fill: #000; }
.sf-btn-tiktok    { background: #000; }
.sf-btn-youtube   { background: #FF0000; }
.sf-btn-facebook  { background: #1877F2; }
.sf-btn-x         { background: #000; }
.sf-btn-twitter   { background: #1DA1F2; }

/* Tooltip */
.sf-btn::before {
  content: attr(data-label);
  position: absolute; right: calc(100% + 10px);
  background: rgba(14,13,11,0.92); color: var(--text);
  font-size: 0.65rem; white-space: nowrap;
  padding: 0.25rem 0.6rem; border-radius: 4px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
  border: 0.5px solid var(--border);
  font-family: 'Tajawal', 'DM Sans', sans-serif;
}
body.ar .sf-btn::before { right: auto; left: calc(100% + 10px); }
.sf-btn:hover::before { opacity: 1; }

@media (max-width: 768px) {
  .social-float-cluster { bottom: 1.5rem; right: 1.2rem; }
  body.ar .social-float-cluster { right: auto; left: 1.2rem; }
  .wa-float { width: 48px; height: 48px; }
  .sf-btn   { width: 38px; height: 38px; }
  .sf-btn svg { width: 17px; height: 17px; }
}

/* ====================================================
   MODAL (BOOKING)
   ==================================================== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.87); z-index: 2000;
  align-items: center; justify-content: center; padding: 1rem;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--dark2); border: 0.5px solid var(--border);
  width: 100%; max-width: 490px; border-radius: var(--radius);
  animation: modalIn 0.25s ease;
  margin: auto;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.modal-header {
  padding: 1.3rem 1.3rem 1rem;
  border-bottom: 0.5px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  position: sticky; top: 0; background: var(--dark2); z-index: 1;
}
.modal-subtitle { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
body.ar .modal-subtitle { letter-spacing: 0; }
.modal-title    { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 300; }
body.ar .modal-title { font-family: 'Tajawal', sans-serif; font-size: 1.3rem; }
.modal-close    { background: none; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer; padding: 0.1rem; flex-shrink: 0; line-height: 1; }
.modal-close:hover { color: var(--text); }
.modal-body     { padding: 1.3rem; max-height: calc(85vh - 140px); overflow-y: auto; }
.modal-sec      { margin-bottom: 1.3rem; }
.modal-sec-label{
  font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.75rem; padding-bottom: 0.35rem; border-bottom: 0.5px solid var(--border);
}
body.ar .modal-sec-label { letter-spacing: 0; }
.guests-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.bf             { display: flex; flex-direction: column; gap: 0.3rem; }
.bf label       { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
body.ar .bf label { letter-spacing: 0; }
.counter        { display: flex; align-items: center; border: 0.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.counter-btn    {
  width: 32px; height: 32px; background: var(--dark3); border: none;
  color: var(--text-light); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; flex-shrink: 0;
}
.counter-btn:hover { background: var(--gold); color: var(--dark); }
.counter-val    { flex: 1; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 500; background: var(--dark); min-width: 30px; }
.date-input     {
  width: 100%; height: 34px; background: var(--dark3);
  border: 0.5px solid var(--border); color: var(--text);
  padding: 0 0.7rem; font-size: 0.78rem; font-family: inherit; outline: none;
  border-radius: var(--radius); transition: border-color 0.2s;
}
.date-input:focus { border-color: var(--gold); }
.date-input.input-error { border-color: #ef4444; }
.field-error { font-size: 0.65rem; color: #ef4444; margin-top: 0.25rem; display: none; }
.field-error.show { display: block; }
.child-note     { font-size: 0.65rem; color: var(--text-muted); margin-top: 0.35rem; line-height: 1.5; }

/* Nationality select */
.nationality-select {
  width: 100%; height: 34px; background: var(--dark3);
  border: 0.5px solid var(--border); color: var(--text);
  padding: 0 0.7rem; font-size: 0.78rem; font-family: inherit; outline: none;
  border-radius: var(--radius); transition: border-color 0.2s; cursor: pointer;
  appearance: none;
}
.nationality-select:focus { border-color: var(--gold); }

/* Coupon */
.coupon-row{display:flex;gap:0.5rem;margin-top:0.5rem}
.coupon-input{flex:1;padding:0 0.9rem;height:34px;background:var(--dark3);border:0.5px solid var(--border);color:var(--text);font-family:inherit;font-size:0.82rem;outline:none;border-radius:var(--radius);text-transform:uppercase;letter-spacing:0.05em;transition:border-color 0.2s}
.coupon-input:focus{border-color:var(--gold)}
.coupon-btn{padding:0 1.1rem;height:34px;background:var(--gold);color:var(--dark);border:none;cursor:pointer;font-family:inherit;font-size:0.78rem;font-weight:600;border-radius:var(--radius);white-space:nowrap;transition:all 0.2s}
.coupon-btn:hover{background:var(--gold-light)}
.coupon-msg{font-size:0.72rem;margin-top:0.4rem;padding:0.4rem 0.7rem;border-radius:var(--radius)}
.coupon-msg.success{background:rgba(34,197,94,0.1);color:#22c55e;border:0.5px solid rgba(34,197,94,0.3)}
.coupon-msg.error{background:rgba(239,68,68,0.1);color:#ef4444;border:0.5px solid rgba(239,68,68,0.3)}
.coupon-msg.hidden{display:none}

/* Summary */
.summary-table  { width: 100%; font-size: 0.75rem; border-collapse: collapse; }
.summary-table tr td { padding: 0.35rem 0; color: var(--text-muted); }
.summary-table tr td:last-child { text-align: right; color: var(--text-light); }
body.ar .summary-table tr td:last-child { text-align: left; }
.summary-table .total-row td { color: var(--text); font-weight: 500; padding-top: 0.7rem; border-top: 0.5px solid var(--border); }

/* Modal footer */
.modal-footer   { padding: 1.2rem 1.3rem; border-top: 0.5px solid var(--border); }
.confirm-btn    {
  width: 100%; padding: 0.9rem; background: var(--gold); color: var(--dark);
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  border: none; cursor: pointer; font-family: inherit; font-weight: 600; transition: all 0.2s;
  border-radius: var(--radius);
}
.confirm-btn:hover { background: var(--gold-light); }
.confirm-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.modal-note     { font-size: 0.62rem; color: var(--text-muted); text-align: center; margin-top: 0.5rem; }

/* Success */
.success-msg    { display: none; text-align: center; padding: 2.5rem 1.5rem; }
.success-msg.show { display: block; }
.success-icon   { font-size: 2.5rem; margin-bottom: 0.8rem; }
.success-title  { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 300; color: var(--gold); margin-bottom: 0.5rem; }
body.ar .success-title { font-family: 'Tajawal', sans-serif; }
.success-sub    { font-size: 0.78rem; color: var(--text-muted); line-height: 1.7; }

/* Loading bar */
@keyframes loadBar{0%{transform:translateX(-100%)}50%{transform:translateX(0%)}100%{transform:translateX(100%)}}

/* ====================================================
   LOADERS
   ==================================================== */
.loader-dots{display:flex;gap:6px;justify-content:center;padding:2rem;align-items:center}
.loader-dots span{width:8px;height:8px;border-radius:50%;background:var(--gold);animation:dotPulse 1.2s ease-in-out infinite}
.loader-dots span:nth-child(2){animation-delay:0.2s}
.loader-dots span:nth-child(3){animation-delay:0.4s}
@keyframes dotPulse{0%,80%,100%{opacity:0.2;transform:scale(0.8)}40%{opacity:1;transform:scale(1)}}

.dest-skeleton{aspect-ratio:4/3;background:linear-gradient(90deg,var(--dark2) 25%,var(--dark3) 50%,var(--dark2) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius)}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* ====================================================
   RESPONSIVE — MOBILE FIRST
   ==================================================== */
@media (max-width: 768px) {
  nav { padding: 0.9rem 1.2rem; }
  nav.scrolled { padding: 0.7rem 1.2rem; }
  .nav-center { display: none; }
  .nav-cta { display: none; }
  .nav-menu-btn { display: flex; }

  .hero { padding: 5.5rem 1.2rem 2.5rem; min-height: 100dvh; }
  .hero-stats { gap: 1.2rem; }
  .hero-stat-num { font-size: 1.6rem; }
  .hero-btns { flex-direction: column; align-items: center; width: 100%; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { width: 100%; max-width: 280px; }

  .section { padding: 3.5rem 0; }
  .container { padding: 0 1.2rem; }

  .packages-section { padding: 3.5rem 0; }
  .weather-section { padding: 3.5rem 0; }
  .tips-section { padding: 3.5rem 0; }
  .testimonials { padding: 3.5rem 0; }
  .faq-section { padding: 3.5rem 0; }
  .cta-band { padding: 3.5rem 1.2rem; }
  .services-section { padding: 3.5rem 0; }

  .destinations-grid { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .weather-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  body.ar .footer-bottom { align-items: flex-end; }

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

  .popup-booking { left: 1rem; max-width: calc(100vw - 2rem); }
  body.ar .popup-booking { right: 1rem; left: auto; }

  .wa-float { bottom: 1.5rem; right: 1.2rem; width: 50px; height: 50px; }
  body.ar .wa-float { right: auto; left: 1.2rem; }
}

@media (max-width: 480px) {
  .weather-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns button { justify-content: center; }
  .modal { border-radius: 0; }
  .modal-overlay { padding: 0; align-items: flex-end; }
}

/* ====================================================
   PACKAGE DETAIL TABS
   ==================================================== */
.pd-tab {
  padding: 0.75rem 1.1rem; background: none; border: none;
  color: var(--text-muted); cursor: pointer; font-family: inherit;
  font-size: 0.78rem; font-weight: 500; white-space: nowrap;
  border-bottom: 2px solid transparent; transition: all 0.2s;
}
.pd-tab:hover { color: var(--gold); }
.pd-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Itinerary day card */
.itinerary-day {
  border: 0.5px solid var(--border); border-radius: 6px;
  overflow: hidden; margin-bottom: 0.75rem;
}
.itinerary-day-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.8rem 1rem; background: rgba(201,168,76,0.06);
  border-bottom: 0.5px solid var(--border);
}
.itinerary-day-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.itinerary-day-title { font-size: 0.88rem; font-weight: 500; color: var(--text-light); }
.itinerary-day-body { padding: 0.8rem 1rem; font-size: 0.78rem; color: var(--text-muted); line-height: 1.7; }
.itinerary-day-acts { list-style: none; margin-top: 0.5rem; }
.itinerary-day-acts li { padding: 0.2rem 0; display: flex; gap: 0.4rem; align-items: baseline; }
.itinerary-day-acts li::before { content: '▸'; color: var(--gold); flex-shrink: 0; font-size: 0.65rem; }
.itinerary-day-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  padding: 0.6rem 1rem; border-top: 0.5px solid var(--border);
  font-size: 0.68rem; color: var(--text-muted);
  background: rgba(0,0,0,0.15);
}
.itinerary-no-data {
  text-align: center; padding: 2rem; color: var(--text-muted); font-size: 0.82rem;
}

/* Gallery thumbs */
.gallery-thumb {
  width: 60px; height: 45px; object-fit: cover; cursor: pointer;
  border: 1.5px solid transparent; border-radius: 3px; flex-shrink: 0;
  transition: border-color 0.2s, transform 0.2s;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--gold); transform: scale(1.05); }

/* Tracker result card */
.tracker-card {
  background: var(--dark3); border: 0.5px solid var(--border);
  border-radius: 6px; padding: 1.1rem; margin-bottom: 0.8rem;
}
.tracker-card-pkg { font-size: 0.9rem; font-weight: 600; color: var(--text-light); margin-bottom: 0.4rem; }
.tracker-card-row { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); padding: 0.2rem 0; }
.tracker-card-row span:last-child { color: var(--text-light); }
.tracker-status-confirmed { color: var(--green) !important; font-weight: 600; }
.tracker-status-pending   { color: var(--gold)  !important; }
.tracker-status-cancelled { color: #ef4444       !important; }
.tracker-no-result { text-align:center; padding:2rem; color:var(--text-muted); font-size:0.85rem; }

/* Group Quote CTA Button on pkg card */
.group-btn {
  padding: 0.45rem 0.9rem; background: transparent;
  border: 0.5px solid rgba(201,168,76,0.3);
  color: var(--text-muted); font-size: 0.65rem; letter-spacing: 0.06em;
  cursor: pointer; font-family: inherit; transition: all 0.2s;
  border-radius: var(--radius); white-space: nowrap;
}
.group-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Tracker & Group Quote float button */
.tracker-float-btn {
  position: fixed; bottom: 2rem; left: 1.5rem; z-index: 200;
  display: flex; flex-direction: column; gap: 0.5rem;
}
body.ar .tracker-float-btn { left: auto; right: 7rem; }
.tfl-btn {
  padding: 0.55rem 1rem; background: var(--dark2);
  border: 0.5px solid var(--border); color: var(--text-muted);
  font-family: inherit; font-size: 0.72rem; cursor: pointer;
  border-radius: 20px; transition: all 0.25s; white-space: nowrap;
  display: flex; align-items: center; gap: 0.4rem;
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}
.tfl-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(14,13,11,0.97); }
@media (max-width: 768px) {
  .tracker-float-btn { bottom: 1.2rem; left: 1rem; }
  body.ar .tracker-float-btn { left: auto; right: 5rem; }
  .tfl-btn { font-size: 0.65rem; padding: 0.45rem 0.75rem; }
}

/* ═══════════════════════════════════════════════════════════
   AL HADRAMI v8 — NEW FEATURES CSS
═══════════════════════════════════════════════════════════ */

/* ─── TRUST BADGES ─── */
.trust-section {
  background: var(--dark2);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 0;
}
.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 1rem;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.4rem;
  transition: background 0.2s;
}
.trust-badge-item:hover { background: rgba(201,168,76,0.04); }
.trust-icon { font-size: 1.4rem; line-height: 1; }
.trust-label {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.trust-value {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
}
.trust-sep {
  width: 0.5px;
  height: 2.5rem;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .trust-inner { gap: 0; }
  .trust-badge-item { padding: 0.8rem 0.9rem; }
  .trust-sep { height: 1.8rem; }
  .trust-value { font-size: 0.72rem; }
}
@media (max-width: 500px) {
  .trust-inner { flex-wrap: wrap; justify-content: flex-start; }
  .trust-sep:nth-child(4),.trust-sep:nth-child(6),.trust-sep:nth-child(8) { display: none; }
  .trust-badge-item { width: 50%; padding: 0.75rem 0.9rem; }
}

/* ─── COMPARE BAR (شريط المقارنة السفلي) ─── */
.compare-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark2);
  border-top: 1px solid var(--gold);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 999;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}
.compare-bar span { font-size: 0.8rem; color: var(--gold); font-weight: 500; white-space: nowrap; }
.compare-pill {
  background: rgba(201,168,76,0.12);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.compare-pill button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0;
  line-height: 1;
}

/* ─── COMPARE TABLE ─── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.compare-table th {
  background: var(--dark3);
  padding: 0.9rem 0.8rem;
  text-align: center;
  color: var(--gold);
  font-weight: 500;
  border-bottom: 0.5px solid var(--border);
  white-space: nowrap;
}
.compare-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 0.5px solid rgba(201,168,76,0.08);
  color: var(--text-muted);
  text-align: center;
  vertical-align: top;
}
.compare-table tr:hover td { background: rgba(201,168,76,0.03); }
.compare-table .row-label {
  text-align: right;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  background: var(--dark3);
  padding: 0.7rem 1rem;
}
body.ar .compare-table .row-label { text-align: left; }
.compare-check { color: #22c55e; font-size: 1rem; }
.compare-cross  { color: var(--text-muted); font-size: 0.8rem; }
.compare-price  { color: var(--gold); font-weight: 600; font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; }

/* ─── PACKAGE CARD — checkbox للمقارنة ─── */
.pkg-compare-check {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 5;
}
body.ar .pkg-compare-check { left: auto; right: 0.6rem; }
.pkg-compare-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}
.pkg-card { position: relative; }

/* ─── STUDENTS SECTION ─── */
.students-section { background: var(--dark2); }
.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.student-feature-card {
  background: var(--dark3);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.student-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.sf-icon { font-size: 2.2rem; margin-bottom: 0.8rem; }
.sf-title { font-size: 0.95rem; font-weight: 500; color: var(--gold); margin-bottom: 0.5rem; }
.sf-desc  { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }

/* ─── BLOG SECTION ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.blog-card {
  background: var(--dark2);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.blog-card-cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--dark3);
}
.blog-card-cover-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--dark3), var(--dark2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.blog-card-body { padding: 1.2rem; }
.blog-card-tag {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.blog-card-excerpt {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.2rem;
  border-top: 0.5px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-muted);
}
.blog-read-more {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ─── BLOG POST MODAL ─── */
#bpBody h1,#bpBody h2,#bpBody h3 { color: var(--text); margin: 1.2rem 0 0.6rem; }
#bpBody p  { margin-bottom: 0.8rem; }
#bpBody ul,#bpBody ol { padding-right: 1.2rem; margin-bottom: 0.8rem; }
body:not(.ar) #bpBody ul,body:not(.ar) #bpBody ol { padding-right: 0; padding-left: 1.2rem; }
#bpBody strong { color: var(--text); }
#bpBody hr { border: none; border-top: 0.5px solid var(--border); margin: 1.2rem 0; }

/* ─── REFERRAL SECTION ─── */
.referral-section { background: var(--dark3); }
.referral-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 700px) {
  .referral-inner { grid-template-columns: 1fr; gap: 2rem; }
}
.referral-steps { display: flex; flex-direction: column; gap: 0.7rem; }
.ref-step {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.ref-step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 0.5px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.referral-card {
  background: var(--dark2);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 2rem 1.8rem;
  text-align: center;
  min-width: 200px;
  box-shadow: 0 0 30px rgba(201,168,76,0.08);
}
.ref-card-icon  { font-size: 2.5rem; margin-bottom: 0.8rem; }
.ref-card-title { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.4rem; }
.ref-card-discount { font-size: 2.5rem; font-weight: 600; color: var(--gold); font-family: 'Cormorant Garamond', serif; line-height: 1; }
.ref-card-sub   { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.4rem; margin-bottom: 0.8rem; }
.ref-card-note  { font-size: 0.65rem; color: var(--text-muted); border-top: 0.5px solid var(--border); padding-top: 0.7rem; }

/* ─── REFERRAL CODE DISPLAY ─── */
.referral-code-display {
  background: var(--dark3);
  border: 1.5px dashed var(--gold);
  border-radius: 8px;
  padding: 0.8rem 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.15em;
  font-family: 'Cormorant Garamond', serif;
  margin: 1rem auto;
  max-width: 220px;
  text-align: center;
}

/* ─── STAR RATING ─── */
.star-rating-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.star-pick {
  font-size: 2.2rem;
  color: var(--border);
  cursor: pointer;
  transition: color 0.15s, transform 0.1s;
  line-height: 1;
}
.star-pick.active, .star-pick:hover { color: var(--gold); transform: scale(1.15); }

/* ─── PACKAGE FAQ (في modal التفاصيل) ─── */
.pd-faqs-list { padding: 0.5rem 0; }
.pd-faq-item {
  border-bottom: 0.5px solid rgba(201,168,76,0.1);
  padding: 0;
}
.pd-faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.82rem;
  text-align: right;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
body:not(.ar) .pd-faq-question { text-align: left; }
.pd-faq-question:hover { color: var(--gold); }
.pd-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 1.2rem;
}
.pd-faq-item.open .pd-faq-answer {
  max-height: 500px;
  padding: 0 1.2rem 1rem;
}
.pd-faq-chevron { transition: transform 0.3s; color: var(--gold); flex-shrink: 0; }
.pd-faq-item.open .pd-faq-chevron { transform: rotate(180deg); }

/* ─── WHATSAPP NOTIFICATION BUTTON (في لوحة التحكم) ─── */
.wa-notify-btn {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
  font-size: 0.68rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: opacity 0.2s;
}
.wa-notify-btn:hover { opacity: 0.85; }
.wa-notify-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ─── COMPARE MODAL ─── */
.compare-modal { max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; }
.compare-modal .modal-body { flex: 1; overflow: auto; }


/* ── Student Discount Badge ── */
.sf-disc {
  display: inline-block;
  margin-top: 0.6rem;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border: 0.5px solid var(--gold);
  border-radius: 4px;
  padding: 0.15rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── Finance Grid ── */
.finance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}
.finance-card {
  background: var(--dark3);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  text-align: center;
}
.finance-card.green { border-color: rgba(34,197,94,0.3); }
.finance-card.red   { border-color: rgba(239,68,68,0.3); }
.finance-card.gold  { border-color: var(--gold); }
.finance-icon  { font-size: 1.6rem; margin-bottom: 0.4rem; }
.finance-value { font-size: 1.4rem; font-weight: 700; font-family: 'Cormorant Garamond',serif; margin-bottom: 0.2rem; }
.finance-label { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.finance-card.green .finance-value { color: #22c55e; }
.finance-card.red   .finance-value { color: #ef4444; }
.finance-card.gold  .finance-value { color: var(--gold); }

/* ── FAQ Multi-select ── */
.pkg-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.4rem;
  max-height: 180px;
  overflow-y: auto;
  background: var(--dark3);
  border: 0.5px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem;
}
.pkg-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.2rem 0.3rem;
  border-radius: 4px;
  transition: background 0.15s;
}
.pkg-checkbox-item:hover { background: rgba(201,168,76,0.08); }
.pkg-checkbox-item input { accent-color: var(--gold); cursor: pointer; }

/* ── Logo v8 ── */
.nav-logo { display:flex; align-items:center; gap:0.85rem; text-decoration:none; }
.nav-logo-img { height:62px; width:auto; object-fit:contain; max-width:68px; border-radius:8px; }
.nav-logo-name { display:flex; flex-direction:column; line-height:1.3; }
.nav-logo-name-en, .nav-logo-name-ar { font-size:1.15rem; font-weight:700; color:var(--text); letter-spacing:0.01em; }
.nav-logo-name-en em, .nav-logo-name-ar em { font-style:italic; color:var(--gold); font-weight:400; }
