:root {
  --dark: #102f33;
  --muted: #5f7478;
  --bg: #f1fbfb;
  --card: #ffffff;
  --teal: #18a6b5;
  --teal-dark: #0f93a2;
  --orange: #ed6a5a;
  --yellow: #f7b32b;
  --border: rgba(16, 47, 51, .10);
  --shadow: 0 22px 65px rgba(16, 47, 51, .13);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background:
    radial-gradient(circle at top left, rgba(24, 166, 181, .18), transparent 34rem),
    radial-gradient(circle at top right, rgba(247, 179, 43, .15), transparent 34rem),
    var(--bg);
  overflow-x: hidden;
}

body.dark-mode {
  --bg: #081c1f;
  --card: #102f33;
  --dark: #f3ffff;
  --muted: #bdd2d5;
  --border: rgba(255, 255, 255, .13);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}

.section {
  padding: 72px 0;
}

.page-hero {
  padding: 86px 0 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 950;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: .94;
  letter-spacing: -.07em;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -.055em;
  line-height: 1;
}

h3 {
  color: var(--dark);
}

p {
  color: var(--muted);
  line-height: 1.6;
  font-weight: 750;
}

.hero-sub {
  max-width: 760px;
  font-size: clamp(17px, 2vw, 22px);
  margin-top: 18px;
}

.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 100;
  width: min(var(--max), calc(100% - 48px));
  margin: 16px auto 0;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(16, 47, 51, .12);
}

.dark-mode .nav {
  background: rgba(10, 31, 35, .88);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 950;
  flex-shrink: 0;
}

.brand img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
  border-radius: 14px !important;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(24, 166, 181, .13);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--dark);
  font-weight: 950;
  cursor: pointer;
}

.primary-action,
.primary-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(24, 166, 181, .26);
}

.orange-btn {
  background: var(--orange) !important;
  box-shadow: 0 16px 34px rgba(237, 106, 90, .24) !important;
}

.menu-btn {
  display: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: white;
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(37, 211, 102, .35);
}

.footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer p {
  max-width: 640px;
}

.loading-state {
  color: var(--muted);
  font-weight: 900;
}

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

  .nav {
    border-radius: 28px;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }
}

@media (max-width: 760px) {
  .container,
  .nav-wrap {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 52px 0;
  }
}

/* ===== Home Page ===== */

.hero {
  padding: 88px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-card {
  overflow: hidden;
  border-radius: 36px;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.trip-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.trip-img {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: #dff6f8;
}

.trip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--yellow);
  color: #102f33;
  font-size: 13px;
  font-weight: 950;
  text-transform: capitalize;
}

.trip-body {
  padding: 18px;
}

.trip-body h3 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 950;
}

.trip-body p {
  margin: 0 0 16px;
}

.price {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 27px;
  font-weight: 950;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f5fbfc;
  border: 1px solid #dbeaec;
  color: #102f33;
  font-size: 13px;
  font-weight: 950;
}

.trip-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trip-actions a {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}

.testimonial-card,
.team-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stars {
  color: var(--yellow);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.team-card img {
  width: 86px !important;
  height: 86px !important;
  border-radius: 26px !important;
  object-fit: cover !important;
  margin-bottom: 14px;
}

.team-role {
  display: block;
  color: var(--muted);
  font-weight: 950;
  margin-bottom: 10px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-link {
  color: var(--teal);
  font-weight: 950;
}

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

  .hero-card img {
    height: 320px;
  }
}

@media (max-width: 760px) {
  .trip-actions {
    grid-template-columns: 1fr;
  }

  .hero-card img,
  .trip-img {
    height: 240px;
  }
}

/* ===== Trips + Trip Details Pages ===== */

.trips-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.trips-search {
  width: min(420px, 100%);
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--dark);
  outline: none;
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.detail-main,
.side-panel {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.detail-main > img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.detail-content,
.side-panel {
  padding: 26px;
}

.detail-content h2 {
  margin: 0 0 14px;
}

.detail-content h3 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.detail-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 16px;
  background: #f7fbfb;
  border: 1px solid #e2ecee;
  color: #102f33;
  font-weight: 950;
}

.side-panel h2 {
  color: var(--orange);
  font-size: 36px;
}

.side-panel .primary-action {
  width: 100%;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .trips-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .detail-main > img {
    height: 260px;
  }
}

/* ===== Feedbacks Page ===== */

.feedback-hero-note {
  max-width: 720px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feedback-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feedback-card .stars {
  color: var(--yellow);
  font-size: 21px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.feedback-card blockquote {
  margin: 0;
  color: var(--dark);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 800;
}

.feedback-card footer {
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-weight: 950;
}

.feedback-empty {
  grid-column: 1 / -1;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

/* ===== Team Page ===== */

.team-hero-note {
  max-width: 720px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-page-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.team-page-card img {
  width: 92px !important;
  height: 92px !important;
  border-radius: 28px !important;
  object-fit: cover !important;
  margin-bottom: 16px;
  background: #f5fbfc;
  border: 1px solid var(--border);
}

.team-page-card h3 {
  margin: 0 0 6px;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.team-page-role {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-weight: 950;
}

.team-page-card p {
  margin: 0;
}

.team-empty {
  grid-column: 1 / -1;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

/* ===== About + Contact Pages ===== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.info-card {
  min-height: 230px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.info-card strong {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(24, 166, 181, .12);
  color: var(--teal);
  font-size: 22px;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -.035em;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
}

.contact-panel {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: #f7fbfb;
  border: 1px solid #e2ecee;
  color: #102f33;
  font-weight: 950;
}

.contact-item span {
  color: #62797d;
  font-size: 14px;
}

.contact-box {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  box-shadow: var(--shadow);
}

.contact-box p,
.contact-box .eyebrow {
  color: rgba(255, 255, 255, .86);
}

.contact-box h2 {
  color: white;
}

.contact-box .primary-action {
  width: 100%;
  margin-top: 14px;
  background: white;
  color: #102f33;
}

@media (max-width: 980px) {
  .info-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== Custom Trip Page ===== */

.custom-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  align-items: start;
}

.custom-note {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  box-shadow: var(--shadow);
}

.custom-note p,
.custom-note .eyebrow {
  color: rgba(255, 255, 255, .86);
}

.custom-note h2 {
  color: white;
}

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

.form {
  display: grid;
  gap: 15px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 950;
  color: var(--dark);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: white;
  color: #102f33;
  outline: none;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

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

.form-message {
  min-height: 22px;
  margin: 0;
  font-weight: 900;
}

.form-message.success {
  color: #168a50;
}

.form-message.error {
  color: #c73c30;
}

@media (max-width: 980px) {
  .custom-layout,
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Reservation Ticket Page ===== */

.ticket-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at top left, rgba(24, 166, 181, .16), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(247, 179, 43, .16), transparent 30rem),
    #f4fbfb;
}

.ticket-card {
  width: min(980px, 100%);
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  overflow: hidden;
  border-radius: 34px;
  background: white;
  color: #102f33;
  box-shadow: 0 30px 90px rgba(16, 47, 51, .18);
}

.ticket-left {
  padding: 44px;
}

.ticket-label {
  margin: 0 0 12px;
  color: #62797d;
  font-weight: 950;
}

.ticket-left h1 {
  margin: 0 0 28px;
  color: #102f33;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.06em;
}

.ticket-data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ticket-data div {
  padding: 16px;
  border-radius: 20px;
  background: #f7fbfb;
  border: 1px solid #dfecee;
}

.ticket-data span {
  display: block;
  color: #62797d;
  font-size: 13px;
  font-weight: 900;
}

.ticket-data strong {
  display: block;
  margin-top: 5px;
  color: #102f33;
  font-size: 18px;
}

.ticket-print {
  margin-top: 24px;
}

.ticket-right {
  display: grid;
  place-items: center;
  padding: 34px;
  background: linear-gradient(135deg, var(--teal), #44c5ce);
  color: white;
  text-align: center;
}

.ticket-right img {
  width: 96px !important;
  height: 96px !important;
  margin: 0 auto 14px !important;
  object-fit: contain !important;
}

.ticket-right strong {
  display: block;
  font-size: 32px;
  letter-spacing: -.04em;
}

.ticket-right span {
  display: block;
  margin-top: 6px;
  font-weight: 950;
}

@media (max-width: 760px) {
  .ticket-page {
    padding: 18px;
  }

  .ticket-card {
    grid-template-columns: 1fr;
  }

  .ticket-left {
    padding: 28px;
  }

  .ticket-data {
    grid-template-columns: 1fr;
  }

  .ticket-right {
    padding: 30px;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  body {
    background: white !important;
  }

  .ticket-page {
    min-height: auto !important;
    display: block !important;
    padding: 12mm 10mm 0 !important;
    background: white !important;
  }

  .ticket-card {
    width: 190mm !important;
    height: 128mm !important;
    min-height: 128mm !important;
    margin: 0 auto !important;
    grid-template-columns: 1fr 58mm !important;
    border-radius: 14mm !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }

  .ticket-left {
    padding: 12mm !important;
  }

  .ticket-print,
  .form-message {
    display: none !important;
  }
}

/* ===== Enhancement 1: Header + General Polish ===== */

.nav {
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 70px rgba(16, 47, 51, .16);
}

.brand span {
  letter-spacing: -.04em;
}

.nav-links a,
.primary-action,
.primary-btn,
.icon-btn,
.trip-card,
.feedback-card,
.team-page-card,
.info-card,
.contact-panel,
.form-card,
.detail-main,
.side-panel {
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease,
    border-color .22s ease,
    color .22s ease;
}

.nav-links a:hover {
  color: var(--teal);
}

.primary-action:hover,
.primary-btn:hover {
  transform: translateY(-2px);
}

.icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(24, 166, 181, .35);
}

.trip-card:hover,
.feedback-card:hover,
.team-page-card:hover,
.info-card:hover,
.contact-panel:hover,
.form-card:hover,
.detail-main:hover,
.side-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(16, 47, 51, .18);
}

.whatsapp-float {
  transition: transform .22s ease, box-shadow .22s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 54px rgba(37, 211, 102, .42);
}

/* better focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(24, 166, 181, .30);
  outline-offset: 3px;
}

/* smoother images */
.trip-img img,
.hero-card img,
.detail-main > img {
  transition: transform .45s ease;
}

.trip-card:hover .trip-img img,
.hero-card:hover img,
.detail-main:hover > img {
  transform: scale(1.035);
}

/* ===== Enhancement 2: Home Hero Polish ===== */

.hero {
  position: relative;
  padding: 104px 0 68px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 40px auto auto 4%;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: rgba(24, 166, 181, .12);
  filter: blur(18px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 30px;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: rgba(237, 106, 90, .10);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(54px, 8.5vw, 104px);
  line-height: .88;
  letter-spacing: -.085em;
}

.hero-sub {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  margin-top: 30px;
}

.hero-actions .primary-action {
  min-height: 52px;
  padding-inline: 26px;
}

.hero-card {
  position: relative;
  border-radius: 42px;
  transform: rotate(1.2deg);
}

.hero-card::before {
  content: "Next escape";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--yellow);
  color: #102f33;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(16, 47, 51, .16);
}

.hero-card::after {
  content: "Tirhal handles the details";
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  max-width: 220px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  color: #102f33;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 18px 44px rgba(16, 47, 51, .18);
  backdrop-filter: blur(12px);
}

.hero-card img {
  height: 460px;
  filter: saturate(1.05) contrast(1.02);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stat {
  min-width: 130px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(16, 47, 51, .08);
}

.dark-mode .hero-stat {
  background: rgba(255, 255, 255, .06);
}

.hero-stat strong {
  display: block;
  color: var(--dark);
  font-size: 25px;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero {
    padding-top: 78px;
  }

  .hero-card {
    transform: none;
  }

  .hero-card img {
    height: 340px;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .hero-card::after {
    left: 16px;
    right: 16px;
    max-width: none;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ===== Enhancement 3: Trip Cards Polish ===== */

.trip-card {
  position: relative;
  isolation: isolate;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90)),
    var(--card);
}

.dark-mode .trip-card {
  background:
    linear-gradient(180deg, rgba(16,47,51,.96), rgba(16,47,51,.90)),
    var(--card);
}

.trip-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24,166,181,.35), transparent);
  opacity: .9;
}

.trip-img {
  height: 235px;
  border-radius: 0 0 28px 28px;
}

.trip-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,47,51,.08), transparent 42%),
    linear-gradient(0deg, rgba(16,47,51,.24), transparent 48%);
  pointer-events: none;
}

.badge {
  top: 16px;
  left: 16px;
  padding: 9px 14px;
  box-shadow: 0 12px 28px rgba(16,47,51,.18);
}

.trip-body {
  padding: 20px;
}

.trip-body h3 {
  font-size: 34px;
  margin-bottom: 10px;
}

.trip-body p {
  min-height: 68px;
  font-size: 15px;
  line-height: 1.52;
}

.meta {
  margin-bottom: 14px;
}

.meta span {
  position: relative;
}

.meta span + span::before {
  content: "•";
  margin-right: 8px;
  color: var(--orange);
}

.price {
  font-size: 30px;
  letter-spacing: -.04em;
}

.chips {
  margin-bottom: 20px;
}

.chip {
  background: rgba(245,251,252,.92);
  box-shadow: 0 8px 18px rgba(16,47,51,.05);
}

.trip-actions {
  gap: 11px;
}

.trip-actions .primary-action {
  box-shadow: none;
}

.trip-actions .orange-btn {
  background: linear-gradient(135deg, var(--orange), #f08255) !important;
}

@media (max-width: 760px) {
  .trip-img {
    height: 225px;
  }

  .trip-body h3 {
    font-size: 31px;
  }

  .trip-body p {
    min-height: auto;
  }
}

/* ===== Enhancement 4: Trip Details Polish ===== */

.detail-layout {
  align-items: start;
}

.detail-main {
  border-radius: 36px;
  overflow: hidden;
}

.detail-main > img {
  height: 470px;
  filter: saturate(1.05) contrast(1.02);
}

.detail-content {
  padding: 30px;
}

.detail-content .chips:first-child {
  margin-bottom: 22px;
}

.detail-content h2 {
  max-width: 720px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: .96;
  letter-spacing: -.07em;
}

.detail-content > p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
}

.detail-content h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-size: 26px;
  letter-spacing: -.035em;
}

.detail-content h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(237, 106, 90, .12);
}

.detail-list li {
  min-height: 54px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(245,251,252,.92));
}

.detail-list li strong {
  color: var(--orange);
  white-space: nowrap;
}

.side-panel {
  position: sticky;
  top: 110px;
  border-radius: 34px;
  padding: 28px;
}

.side-panel::before {
  content: "";
  display: block;
  width: 52px;
  height: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
}

.side-panel h2 {
  margin-bottom: 12px;
  font-size: 42px;
  letter-spacing: -.055em;
}

.side-panel p {
  margin: 0 0 14px;
}

.side-panel .primary-action {
  min-height: 52px;
}

.trip-detail-note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(24, 166, 181, .10);
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

@media (max-width: 980px) {
  .side-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .detail-content {
    padding: 22px;
  }

  .detail-main > img {
    height: 280px;
  }

  .detail-content h2 {
    font-size: 38px;
  }

  .detail-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Enhancement 5: Feedbacks + Team Polish ===== */

.feedback-card,
.testimonial-card,
.team-page-card,
.team-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.feedback-card::before,
.testimonial-card::before,
.team-page-card::before,
.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top right, rgba(24, 166, 181, .12), transparent 45%),
    radial-gradient(circle at bottom left, rgba(247, 179, 43, .10), transparent 45%);
  opacity: .9;
}

.feedback-card::after,
.testimonial-card::after {
  content: "“";
  position: absolute;
  right: 20px;
  bottom: -32px;
  color: rgba(24, 166, 181, .12);
  font-size: 150px;
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
}

.feedback-card blockquote,
.testimonial-card p {
  position: relative;
  z-index: 2;
}

.feedback-card .stars,
.testimonial-card .stars {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(247, 179, 43, .13);
  color: var(--yellow);
  font-size: 18px;
  letter-spacing: 1px;
}

.feedback-card footer,
.testimonial-card strong {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 166, 181, .10);
  color: var(--dark);
  font-size: 14px;
  font-weight: 950;
}

.team-page-card,
.team-card {
  text-align: left;
}

.team-page-card img,
.team-card img {
  box-shadow: 0 16px 36px rgba(16, 47, 51, .16);
}

.team-page-card h3,
.team-card h3 {
  margin-top: 4px;
}

.team-page-role,
.team-role,
.team-card strong {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(237, 106, 90, .10);
  color: var(--orange);
  font-size: 14px;
  font-weight: 950;
}

.team-page-card p,
.team-card p {
  margin-top: 14px;
}

.team-grid .team-page-card:nth-child(3n+2),
#homeTeam .team-card:nth-child(3n+2) {
  transform: translateY(18px);
}

.team-grid .team-page-card:nth-child(3n+2):hover,
#homeTeam .team-card:nth-child(3n+2):hover {
  transform: translateY(12px);
}

@media (max-width: 980px) {
  .team-grid .team-page-card:nth-child(3n+2),
  #homeTeam .team-card:nth-child(3n+2) {
    transform: none;
  }

  .team-grid .team-page-card:nth-child(3n+2):hover,
  #homeTeam .team-card:nth-child(3n+2):hover {
    transform: translateY(-4px);
  }
}

/* ===== Enhancement 6: Mobile + Final Consistency ===== */

/* safer page width */
body {
  min-width: 320px;
}

/* keep nav always clean */
.nav-wrap {
  max-width: var(--max);
}

.nav {
  position: relative;
}

.nav-links.open {
  z-index: 200;
}

/* prevent long text breaking layout */
h1,
h2,
h3,
p,
.trip-body,
.detail-content,
.side-panel,
.feedback-card,
.team-page-card {
  overflow-wrap: anywhere;
}

/* consistent section separation */
.section + .section {
  padding-top: 34px;
}

/* consistent button feel */
.primary-action,
.primary-btn,
.orange-btn {
  text-align: center;
  line-height: 1.15;
}

/* make cards equal and clean */
.grid > .trip-card,
.grid > .feedback-card,
.grid > .testimonial-card,
.grid > .team-page-card,
.grid > .team-card,
.grid > .info-card {
  height: 100%;
}

/* better dark-mode chips/list readability */
.dark-mode .chip,
.dark-mode .detail-list li,
.dark-mode .contact-item {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
  color: #f3ffff;
}

.dark-mode .field input,
.dark-mode .field textarea,
.dark-mode .field select,
.dark-mode .trips-search {
  background: rgba(255, 255, 255, .92);
  color: #102f33;
}

/* mobile nav fixes */
@media (max-width: 980px) {
  .nav-wrap {
    top: 10px;
    margin-top: 10px;
  }

  .nav {
    min-height: 68px;
    padding: 10px;
    gap: 10px;
  }

  .brand span {
    font-size: 20px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .primary-btn {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .icon-btn {
    width: 44px;
    height: 44px;
  }

  .nav-links {
    top: 76px;
  }

  .nav-links a {
    padding: 14px 16px;
  }
}

/* tablet/card fixes */
@media (max-width: 860px) {
  h1 {
    font-size: clamp(44px, 12vw, 72px);
  }

  h2 {
    font-size: clamp(32px, 9vw, 48px);
  }

  .page-hero {
    padding-top: 64px;
  }

  .section-head {
    display: block;
  }

  .section-link {
    display: inline-flex;
    margin-top: 12px;
  }

  .trip-body h3 {
    font-size: 32px;
  }

  .trip-body p {
    min-height: auto;
  }

  .meta span + span::before {
    display: none;
  }
}

/* phone fixes */
@media (max-width: 560px) {
  .container,
  .nav-wrap {
    width: calc(100% - 24px);
  }

  .nav {
    border-radius: 24px;
  }

  .brand img {
    width: 38px !important;
    height: 38px !important;
  }

  .brand span {
    font-size: 18px;
  }

  .primary-btn {
    display: none;
  }

  .page-hero {
    padding: 54px 0 28px;
  }

  .hero {
    padding: 58px 0 38px;
  }

  .hero h1 {
    letter-spacing: -.075em;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .primary-action {
    width: 100%;
  }

  .hero-card {
    border-radius: 28px;
  }

  .hero-card::before {
    top: 12px;
    left: 12px;
  }

  .hero-card::after {
    right: 12px;
    bottom: 12px;
    left: 12px;
    font-size: 13px;
  }

  .trip-card {
    border-radius: 26px;
  }

  .trip-img {
    height: 220px;
  }

  .trip-body {
    padding: 17px;
  }

  .trip-actions {
    grid-template-columns: 1fr;
  }

  .trip-actions a {
    min-height: 46px;
  }

  .chips {
    gap: 6px;
  }

  .chip {
    font-size: 12.5px;
  }

  .detail-main,
  .side-panel,
  .feedback-card,
  .team-page-card,
  .info-card,
  .contact-panel,
  .form-card {
    border-radius: 24px;
  }

  .detail-main > img {
    height: 240px;
  }

  .detail-content,
  .side-panel,
  .form-card,
  .contact-panel,
  .info-card,
  .feedback-card,
  .team-page-card {
    padding: 20px;
  }

  .detail-content h2 {
    font-size: 36px;
  }

  .detail-list li {
    padding: 12px;
  }

  .contact-item {
    align-items: flex-start;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}

/* very small phones */
@media (max-width: 380px) {
  .icon-btn {
    width: 40px;
    height: 40px;
  }

  .nav-actions {
    gap: 6px;
  }

  .brand span {
    display: none;
  }
}

/* ticket print final safety */
@media print {
  html,
  body {
    width: 210mm !important;
    min-width: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .ticket-page {
    width: 210mm !important;
  }
}

/* ===== Enhancement 7: Glassy Sticky Header + Scroll Progress ===== */

.nav-wrap {
  position: fixed !important;
  top: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 999 !important;
  width: min(var(--max), calc(100% - 48px)) !important;
  margin: 0 !important;
}

.nav {
  position: relative !important;
  overflow: hidden !important;
  min-height: 74px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.52)) !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  box-shadow:
    0 24px 70px rgba(16,47,51,.16),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
  backdrop-filter: blur(22px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.35) !important;
}

.dark-mode .nav {
  background:
    linear-gradient(135deg, rgba(8,28,31,.72), rgba(16,47,51,.58)) !important;
  border-color: rgba(255,255,255,.14) !important;
  box-shadow:
    0 24px 70px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.45), transparent 32%),
    radial-gradient(circle at 88% 100%, rgba(24,166,181,.18), transparent 38%);
  opacity: .9;
}

.nav > * {
  position: relative;
  z-index: 2;
}

/* page scroll progress line inside navbar */
.nav-progress {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  z-index: 3;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16,47,51,.08);
}

.dark-mode .nav-progress {
  background: rgba(255,255,255,.12);
}

.nav-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--yellow), var(--orange));
  box-shadow: 0 0 18px rgba(24,166,181,.35);
  transition: width .08s linear;
}

/* when user scrolls */
body.has-scrolled .nav {
  min-height: 66px !important;
  box-shadow:
    0 18px 55px rgba(16,47,51,.18),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
}

body.has-scrolled .brand img {
  width: 38px !important;
  height: 38px !important;
}

body.has-scrolled .icon-btn {
  width: 42px;
  height: 42px;
}

body.has-scrolled .primary-btn {
  min-height: 44px;
}

/* add space because navbar is fixed */
body {
  padding-top: 104px;
}

/* prevent ticket page from getting navbar spacing */
body:has(.ticket-page) {
  padding-top: 0;
}

/* mobile */
@media (max-width: 980px) {
  .nav-wrap {
    top: 10px !important;
    width: calc(100% - 24px) !important;
  }

  body {
    padding-top: 96px;
  }

  .nav-links {
    top: 78px !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.78)) !important;
    backdrop-filter: blur(22px) saturate(1.25) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.25) !important;
  }

  .dark-mode .nav-links {
    background:
      linear-gradient(135deg, rgba(8,28,31,.94), rgba(16,47,51,.84)) !important;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    width: calc(100% - 20px) !important;
  }

  .nav {
    min-height: 68px !important;
  }

  .nav-progress {
    left: 12px;
    right: 12px;
    bottom: 6px;
  }
}

/* ===== Footer Enhancement: Pages + Backend Social Links ===== */

.footer {
  margin-top: 70px;
  padding: 54px 0 28px;
  background:
    radial-gradient(circle at top left, rgba(24,166,181,.16), transparent 32rem),
    linear-gradient(135deg, #102f33, #164950);
  color: white;
}

.footer a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px;
  object-fit: contain;
  background: white;
  padding: 5px;
}

.footer-logo strong {
  display: block;
  font-size: 28px;
  letter-spacing: -.045em;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

.footer-col h3 {
  margin: 0 0 16px;
  color: white;
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-link {
  width: fit-content;
  font-weight: 850;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: white !important;
  font-weight: 950;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.footer-social:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  font-weight: 800;
}

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

  .footer-bottom {
    display: grid;
  }
}

/* ===== Footer Social Icons Vertical ===== */

.footer-socials {
  display: grid !important;
  gap: 12px !important;
}

.footer-social {
  width: 100% !important;
  min-height: 52px !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 0 16px !important;
  border-radius: 18px !important;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.footer-social span {
  font-size: 15px;
  font-weight: 950;
}

.footer-social.whatsapp:hover {
  background: rgba(37, 211, 102, .18) !important;
}

.footer-social.instagram:hover {
  background: rgba(225, 48, 108, .18) !important;
}

.footer-social.facebook:hover {
  background: rgba(24, 119, 242, .18) !important;
}

/* ===== Footer Contact Links Final Clean Style ===== */

.footer .footer-socials {
  display: grid !important;
  gap: 13px !important;
  align-items: start !important;
}

.footer .footer-social {
  width: fit-content !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 11px !important;
  color: rgba(255,255,255,.82) !important;
}

.footer .footer-social:hover {
  transform: translateX(4px) !important;
  color: white !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.footer .footer-social svg {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
}

.footer .footer-social span {
  font-size: 15px !important;
  font-weight: 950 !important;
}

/* ===== Home: Tirhal Album ===== */

.album-section {
  position: relative;
}

.album-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr 1fr;
  grid-auto-rows: 190px;
  gap: 14px;
}

.album-item {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.album-item:nth-child(1) {
  grid-row: span 2;
}

.album-item:nth-child(4) {
  grid-column: span 2;
}

.album-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.album-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.03);
}

.album-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,47,51,.04), transparent 40%),
    linear-gradient(0deg, rgba(16,47,51,.24), transparent 45%);
  pointer-events: none;
}

.album-empty {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 900;
}

@media (max-width: 900px) {
  .album-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .album-item:nth-child(1),
  .album-item:nth-child(4) {
    grid-row: span 1;
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .album-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }
}

/* ===== Home Album Carousel + Lightbox ===== */

.album-section {
  overflow: hidden;
}

.album-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
}

.album-track {
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: transform .65s cubic-bezier(.22, .8, .2, 1);
}

.album-slide {
  flex: 0 0 360px;
  height: 260px;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.album-slide:nth-child(2n) {
  height: 315px;
}

.album-slide:nth-child(3n) {
  height: 230px;
}

.album-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease, filter .45s ease;
}

.album-slide:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.03);
}

.album-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.album-control {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--dark);
  cursor: pointer;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(16,47,51,.08);
}

.album-control:hover {
  transform: translateY(-2px);
}

.album-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 20, 22, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.album-lightbox.open {
  display: flex;
}

.album-lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 26px;
  box-shadow: 0 28px 90px rgba(0,0,0,.45);
}

.album-lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.album-lightbox-close:hover {
  background: rgba(255,255,255,.24);
}

@media (max-width: 760px) {
  .album-slide {
    flex-basis: 78vw;
    height: 240px;
  }

  .album-slide:nth-child(2n),
  .album-slide:nth-child(3n) {
    height: 240px;
  }
}

/* ===== Home Carousels Final Polish ===== */

.home-carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 8px 0 18px;
}

.home-carousel-track {
  display: flex !important;
  gap: 18px;
  align-items: stretch;
  will-change: transform;
  transition: transform .75s cubic-bezier(.22, .8, .2, 1);
}

.home-carousel-track > * {
  flex: 0 0 360px;
  max-width: 360px;
}

#homeFeedbacks.home-carousel-track > *,
#homeTeam.home-carousel-track > * {
  flex-basis: 340px;
  max-width: 340px;
}

.home-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.home-carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--dark);
  cursor: pointer;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(16,47,51,.08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.home-carousel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(16,47,51,.14);
}

/* album image polish */
.album-carousel {
  padding: 8px 0 18px;
}

.album-track {
  align-items: center;
}

.album-slide {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.4);
}

.album-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16,47,51,.05), transparent 42%),
    linear-gradient(0deg, rgba(16,47,51,.30), transparent 52%);
}

.album-slide::after {
  content: "Open";
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #102f33;
  font-size: 13px;
  font-weight: 950;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}

.album-slide:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.album-slide img {
  filter: saturate(1.08) contrast(1.03);
}

.album-slide:nth-child(odd) {
  transform: rotate(-1deg);
}

.album-slide:nth-child(even) {
  transform: rotate(1deg);
}

.album-slide:hover {
  z-index: 4;
}

.album-lightbox img {
  background: white;
}

/* mobile */
@media (max-width: 760px) {
  .home-carousel-track > *,
  #homeFeedbacks.home-carousel-track > *,
  #homeTeam.home-carousel-track > * {
    flex-basis: 82vw;
    max-width: 82vw;
  }

  .home-carousel-wrap {
    overflow: hidden;
  }

  .album-slide:nth-child(odd),
  .album-slide:nth-child(even) {
    transform: none;
  }
}

/* ===== Auto Carousels: Remove Buttons ===== */

.home-carousel-controls,
.album-controls {
  display: none !important;
}

.home-carousel-wrap,
.album-carousel {
  padding-bottom: 8px !important;
}

/* ===== Home Sections: Smooth Right Scrolling ===== */

@keyframes tirhalScrollRight {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.home-carousel-wrap,
.album-carousel {
  overflow: hidden !important;
}

.home-carousel-track.tirhal-marquee,
.album-track.tirhal-marquee {
  width: max-content !important;
  display: flex !important;
  gap: 18px !important;
  align-items: stretch !important;
  transition: none !important;
  will-change: transform;
  animation: tirhalScrollRight 34s linear infinite !important;
}

.album-track.tirhal-marquee {
  gap: 16px !important;
  align-items: center !important;
  animation-duration: 28s !important;
}

#homeFeedbacks.tirhal-marquee {
  animation-duration: 32s !important;
}

#homeTeam.tirhal-marquee {
  animation-duration: 36s !important;
}

.home-carousel-track.tirhal-marquee:hover,
.album-track.tirhal-marquee:hover {
  animation-play-state: running !important;
}

.home-carousel-controls,
.album-controls {
  display: none !important;
}

.tirhal-marquee > * {
  flex-shrink: 0 !important;
}

/* smoother album image movement */
.album-slide {
  cursor: pointer;
}

.album-slide img {
  transform: translateZ(0);
}

/* ===== Scroll Sections: Fade Edges + Remove Album Open Badge ===== */

/* remove Open badge from album images */
.album-slide::after {
  display: none !important;
  content: none !important;
}

/* fading edge container */
.home-carousel-wrap,
.album-carousel {
  position: relative !important;
  overflow: hidden !important;
}

/* left/right fade for trips, feedbacks, team, album */
.home-carousel-wrap::before,
.home-carousel-wrap::after,
.album-carousel::before,
.album-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 20;
  width: 90px;
  pointer-events: none;
}

.home-carousel-wrap::before,
.album-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(255,255,255,0));
}

.home-carousel-wrap::after,
.album-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(255,255,255,0));
}

/* dark mode fade */
.dark-mode .home-carousel-wrap::before,
.dark-mode .album-carousel::before {
  background: linear-gradient(90deg, var(--bg), rgba(16,47,51,0));
}

.dark-mode .home-carousel-wrap::after,
.dark-mode .album-carousel::after {
  background: linear-gradient(270deg, var(--bg), rgba(16,47,51,0));
}

/* stronger fade on large sections */
.album-carousel::before,
.album-carousel::after {
  width: 120px;
}

/* mobile fade smaller */
@media (max-width: 760px) {
  .home-carousel-wrap::before,
  .home-carousel-wrap::after,
  .album-carousel::before,
  .album-carousel::after {
    width: 48px;
  }
}

/* ===== Trip Details Booking Wizard ===== */

.booking-wizard-section {
  margin-top: 34px;
}

.booking-wizard {
  border-radius: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.booking-wizard-head {
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(24,166,181,.16), transparent 28rem),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(245,251,252,.92));
  border-bottom: 1px solid var(--border);
}

.booking-wizard-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -.065em;
}

.booking-wizard-head p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.booking-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 26px 0;
}

.booking-step-pill {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(24,166,181,.10);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}

.booking-step-pill.active {
  background: var(--teal);
  color: white;
}

.booking-panel {
  padding: 26px;
  display: grid;
  gap: 22px;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.booking-field {
  display: grid;
  gap: 8px;
}

.booking-field label {
  font-weight: 950;
  color: var(--dark);
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: white;
  color: #102f33;
  font-weight: 800;
  outline: none;
}

.booking-field textarea {
  min-height: 110px;
  resize: vertical;
}

.booking-seat-map {
  padding: 20px;
  border-radius: 28px;
  background: #f6fbfb;
  border: 1px solid var(--border);
}

.booking-bus-front {
  width: fit-content;
  margin: 0 auto 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #102f33;
  color: white;
  font-size: 13px;
  font-weight: 950;
}

.booking-seats {
  max-width: 360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 58px);
  gap: 10px;
  justify-content: center;
}

.booking-seat {
  width: 58px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
  color: var(--dark);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(16,47,51,.08);
}

.booking-seat:hover {
  transform: translateY(-2px);
}

.booking-seat.selected {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.booking-seat-gap {
  width: 58px;
  height: 48px;
}

.booking-summary {
  padding: 18px;
  border-radius: 24px;
  background: rgba(247,179,43,.13);
  border: 1px solid rgba(247,179,43,.28);
  color: var(--dark);
  font-weight: 900;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.booking-message {
  margin: 0;
  min-height: 24px;
  font-weight: 950;
}

.booking-message.success {
  color: #168a50;
}

.booking-message.error {
  color: #c73c30;
}

.book-now-side {
  margin-top: 12px;
}

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

  .booking-seats {
    grid-template-columns: repeat(4, 52px);
  }

  .booking-seat,
  .booking-seat-gap {
    width: 52px;
  }
}

/* ===== Booking Wizard Popup Modal ===== */

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(5, 20, 22, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.booking-modal.open {
  display: flex;
}

.booking-modal-card {
  width: min(1040px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 34px;
  background: var(--card);
  box-shadow: 0 34px 110px rgba(0,0,0,.34);
  position: relative;
}

.booking-modal-close {
  position: sticky;
  top: 16px;
  margin-left: auto;
  margin-right: 16px;
  margin-bottom: -58px;
  z-index: 20;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(16,47,51,.12);
  color: var(--dark);
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.booking-modal-close:hover {
  background: var(--orange);
  color: white;
}

.booking-modal .booking-wizard-section {
  margin: 0 !important;
}

.booking-modal .booking-wizard {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 34px !important;
}

.booking-modal .booking-wizard-head {
  padding-right: 76px;
}

body.booking-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .booking-modal {
    padding: 10px;
    align-items: flex-start;
  }

  .booking-modal-card {
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 26px;
  }

  .booking-modal .booking-wizard,
  .booking-modal .booking-wizard-section {
    border-radius: 26px !important;
  }

  .booking-modal-close {
    top: 10px;
    margin-right: 10px;
  }

  .booking-modal .booking-wizard-head {
    padding-right: 64px;
  }
}

/* ===== Booking Wizard Multi Step ===== */

.booking-step-view {
  display: none;
}

.booking-step-view.active {
  display: grid;
  gap: 22px;
}

.booking-step-title {
  margin: 0;
  font-size: 30px;
  letter-spacing: -.04em;
}

.booking-step-subtitle {
  margin: -12px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.booking-step-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
}

.booking-step-nav .primary-action {
  min-width: 130px;
}

.booking-step-nav .secondary-action {
  min-width: 130px;
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--dark);
  font-weight: 950;
  cursor: pointer;
}

.booking-step-nav .secondary-action:hover {
  transform: translateY(-2px);
}

.booking-review {
  display: grid;
  gap: 10px;
}

.booking-review-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.booking-review-row span {
  color: var(--muted);
  font-weight: 850;
}

.booking-review-row strong {
  text-align: right;
  color: var(--dark);
}

.booking-steps {
  padding-bottom: 18px;
}

.booking-step-pill {
  opacity: .55;
}

.booking-step-pill.active {
  opacity: 1;
}

.booking-step-pill.done {
  opacity: 1;
  background: rgba(22, 138, 80, .12);
  color: #168a50;
}

@media (max-width: 560px) {
  .booking-step-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .booking-step-nav .primary-action,
  .booking-step-nav .secondary-action {
    width: 100%;
  }

  .booking-review-row {
    display: grid;
  }

  .booking-review-row strong {
    text-align: left;
  }
}

/* ===== Booking Wizard Date Cards ===== */

.booking-card-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.booking-option-card {
  min-height: 112px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: white;
  color: #102f33;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 12px 30px rgba(16,47,51,.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.booking-option-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(16,47,51,.14);
}

.booking-option-card.selected {
  border-color: var(--teal);
  background: linear-gradient(135deg, rgba(24,166,181,.13), rgba(247,179,43,.12));
}

.booking-option-card strong {
  display: block;
  font-size: 21px;
  margin-bottom: 7px;
}

.booking-option-card span {
  display: block;
  color: var(--muted);
  font-weight: 850;
}

.booking-option-card small {
  display: inline-flex;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(24,166,181,.10);
  color: var(--teal-dark);
  font-weight: 950;
}

.dark-mode .booking-option-card {
  background: rgba(255,255,255,.92);
  color: #102f33;
}

/* ===== Booking Wizard Final: Activities + Total ===== */

.booking-total-box {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(24,166,181,.12), rgba(247,179,43,.14));
  border: 1px solid rgba(24,166,181,.20);
}

.booking-total-box strong {
  display: block;
  font-size: 30px;
  color: var(--dark);
  letter-spacing: -.04em;
}

.booking-total-box span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 950;
  text-transform: capitalize;
}

.booking-option-card small.selected-label {
  background: var(--teal);
  color: white;
}

.booking-field-full {
  grid-column: 1 / -1;
}

/* ===== Booking unavailable seats ===== */

.booking-seat.unavailable,
.booking-seat:disabled {
  background: rgba(220, 38, 38, .14) !important;
  color: #b91c1c !important;
  border-color: rgba(220, 38, 38, .35) !important;
  opacity: .45 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

.booking-seat.unavailable::after {
  content: "×";
  display: block;
  font-size: 11px;
  line-height: 1;
  margin-top: 2px;
}

/* ===== Booking payment choice ===== */

#bookingPaymentOptions {
  margin-bottom: 18px;
}

#bookingPaymentOptions .booking-option-card strong {
  font-size: 20px;
}

#bookingPaymentOptions .booking-option-card.selected {
  border-color: var(--teal);
  box-shadow: 0 20px 55px rgba(24,166,181,.20);
}

/* ===== Booking Wizard Professional Progress Bar ===== */

.booking-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 18px 0 24px;
  margin: 4px 0 12px;
}

.booking-steps::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 35px;
  height: 4px;
  border-radius: 999px;
  background: rgba(24,166,181,.12);
  z-index: 0;
}

.booking-steps::after {
  content: "";
  position: absolute;
  left: 7%;
  top: 35px;
  width: var(--booking-progress, 0%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  z-index: 1;
  transition: width .35s ease;
}

.booking-step-pill {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0;
  background: transparent !important;
  color: var(--muted);
  font-size: 0;
  opacity: 1;
}

.booking-step-pill::before {
  content: attr(data-step);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef8f9;
  color: #76bec7;
  border: 4px solid #fff;
  box-shadow: 0 8px 22px rgba(16,47,51,.08);
  font-size: 15px;
  font-weight: 950;
  transition: .25s ease;
}

.booking-step-pill::after {
  content: attr(data-label);
  font-size: 13px;
  font-weight: 950;
  color: var(--muted);
  white-space: nowrap;
}

.booking-step-pill.active::before {
  background: var(--teal);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(24,166,181,.28);
}

.booking-step-pill.done::before {
  content: "✓";
  background: #168a50;
  color: white;
}

.booking-step-pill.active::after,
.booking-step-pill.done::after {
  color: var(--dark);
}

@media (max-width: 760px) {
  .booking-steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 18px;
  }

  .booking-steps::before,
  .booking-steps::after {
    display: none;
  }

  .booking-step-pill::after {
    font-size: 12px;
  }
}


/* ===== Trip Details Professional Sections ===== */

.trip-details-card,
.trip-detail-card,
.details-card,
.side-panel,
.trip-info-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 50px rgba(16,47,51,.08);
}

.trip-details-section-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 42px rgba(16,47,51,.07);
}

.trip-details-section-card + .trip-details-section-card {
  margin-top: 18px;
}

.trip-details-section-title {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--dark);
  letter-spacing: -.03em;
}

.trip-details-section-text {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.75;
}

.trip-details-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.trip-details-mini-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: white;
  box-shadow: 0 12px 26px rgba(16,47,51,.06);
}

.trip-details-mini-card span {
  display: block;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 6px;
}

.trip-details-mini-card strong {
  display: block;
  color: var(--dark);
  font-size: 18px;
}

.dark-mode .trip-details-section-card,
.dark-mode .trip-details-mini-card {
  background: rgba(255,255,255,.92);
  color: #102f33;
}

/* ===== Remove large auto trip data sections ===== */
#tripDetailsRoot .trip-details-section-card {
  display: none !important;
}

/* ===== Center Navbar Tabs ===== */

.site-header .nav-inner,
.public-header .nav-inner,
.nav-inner {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
}

.site-header .nav-links,
.public-header .nav-links,
.nav-links {
  justify-self: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
}

.site-header .nav-actions,
.public-header .nav-actions,
.nav-actions {
  justify-self: end !important;
}

.site-header .brand,
.public-header .brand,
.brand {
  justify-self: start !important;
}

@media (max-width: 900px) {
  .site-header .nav-inner,
  .public-header .nav-inner,
  .nav-inner {
    display: flex !important;
  }

  .site-header .nav-links,
  .public-header .nav-links,
  .nav-links {
    justify-self: unset !important;
  }
}

/* ===== Final Navbar Center Fix - Actual Structure ===== */

.nav {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.nav .brand {
  margin-right: auto !important;
  z-index: 10 !important;
}

.nav .nav-links {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: max-content !important;
  max-width: 55vw !important;
  z-index: 5 !important;
}

.nav .nav-actions {
  margin-left: auto !important;
  z-index: 10 !important;
}

@media (max-width: 900px) {
  .nav .nav-links {
    position: fixed !important;
    left: 18px !important;
    right: 18px !important;
    top: 74px !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }
}

/* ===== Full Arabic / English Support ===== */

html[dir="rtl"] body {
  font-family: "Cairo", "Tajawal", "Noto Kufi Arabic", system-ui, sans-serif;
  text-align: right;
}

html[dir="rtl"] .nav,
html[dir="rtl"] .nav-actions,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .brand,
html[dir="rtl"] .booking-step-nav,
html[dir="rtl"] .booking-grid,
html[dir="rtl"] .booking-review-row {
  direction: rtl;
}

html[dir="rtl"] .nav .brand {
  margin-left: auto !important;
  margin-right: 0 !important;
}

html[dir="rtl"] .nav .nav-actions {
  margin-right: auto !important;
  margin-left: 0 !important;
}

html[dir="rtl"] .booking-option-card,
html[dir="rtl"] .booking-field,
html[dir="rtl"] .booking-review-row strong,
html[dir="rtl"] .booking-review-row span {
  text-align: right;
}

html[dir="rtl"] .booking-review-row strong {
  text-align: left;
}

html[dir="rtl"] .primary-action,
html[dir="rtl"] .secondary-action,
html[dir="rtl"] .primary-btn,
html[dir="rtl"] .nav-links a {
  letter-spacing: 0;
}

html[dir="rtl"] .booking-step-pill::after {
  direction: rtl;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .booking-seat-map,
html[dir="rtl"] .booking-seats {
  direction: ltr;
}

html[dir="rtl"] .booking-modal-close {
  left: 16px;
  right: auto;
}

/* ===== RTL Cards Alignment Fix ===== */

html[dir="rtl"] .section-head,
html[dir="rtl"] .home-section-head,
html[dir="rtl"] .page-hero .container {
  text-align: right !important;
}

html[dir="rtl"] .section-head .eyebrow,
html[dir="rtl"] .home-section-head .eyebrow {
  margin-right: 0 !important;
  margin-left: auto !important;
  text-align: right !important;
}

html[dir="rtl"] .home-carousel-wrap,
html[dir="rtl"] .home-carousel-track,
html[dir="rtl"] .team-grid,
html[dir="rtl"] .feedback-grid,
html[dir="rtl"] .cards-grid {
  direction: rtl !important;
}

html[dir="rtl"] .feedback-card,
html[dir="rtl"] .team-card,
html[dir="rtl"] .trip-card,
html[dir="rtl"] .story-card {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="rtl"] .feedback-card *,
html[dir="rtl"] .team-card *,
html[dir="rtl"] .trip-card *,
html[dir="rtl"] .story-card * {
  text-align: right;
}

html[dir="rtl"] .feedback-card .stars,
html[dir="rtl"] .rating-stars {
  direction: ltr !important;
  text-align: center !important;
  justify-content: center !important;
}

html[dir="rtl"] .feedback-card .quote,
html[dir="rtl"] .feedback-card blockquote {
  margin-right: auto !important;
  margin-left: 0 !important;
}

html[dir="rtl"] .team-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

html[dir="rtl"] .team-card img,
html[dir="rtl"] .team-card .team-avatar,
html[dir="rtl"] .team-card .member-photo {
  align-self: flex-end !important;
}

html[dir="rtl"] .team-card .role,
html[dir="rtl"] .team-card .badge,
html[dir="rtl"] .team-role,
html[dir="rtl"] .member-role {
  align-self: flex-start !important;
  text-align: right !important;
}

html[dir="rtl"] .home-carousel-track.tirhal-marquee,
html[dir="rtl"] .album-track.tirhal-marquee {
  direction: ltr !important;
}

html[dir="rtl"] .home-carousel-track.tirhal-marquee > *,
html[dir="rtl"] .album-track.tirhal-marquee > * {
  direction: rtl !important;
}

html[dir="rtl"] .container {
  direction: rtl;
}

html[dir="rtl"] .section-head h2,
html[dir="rtl"] .home-section-head h2 {
  max-width: 900px;
  margin-right: 0 !important;
  margin-left: auto !important;
}

@media (max-width: 760px) {
  html[dir="rtl"] .section-head,
  html[dir="rtl"] .home-section-head {
    text-align: right !important;
  }
}

/* ===== RTL Home Cards Final Alignment Fix ===== */

html[dir="rtl"] #homeFeedbacks,
html[dir="rtl"] #homeTeam {
  direction: ltr !important;
}

html[dir="rtl"] #homeFeedbacks > *,
html[dir="rtl"] #homeTeam > * {
  direction: rtl !important;
}

html[dir="rtl"] #homeFeedbacks .feedback-card,
html[dir="rtl"] #homeTeam .team-card {
  text-align: right !important;
  align-items: flex-start !important;
}

html[dir="rtl"] .feedback-card blockquote,
html[dir="rtl"] .feedback-card footer,
html[dir="rtl"] .team-card h3,
html[dir="rtl"] .team-card p,
html[dir="rtl"] .team-card strong,
html[dir="rtl"] .team-role {
  width: 100% !important;
  text-align: right !important;
}

html[dir="rtl"] .team-card img {
  align-self: center !important;
  margin-inline: auto !important;
}

html[dir="rtl"] .team-role {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  justify-content: flex-start !important;
  align-self: flex-start !important;
}

html[dir="rtl"] .feedback-card .stars {
  direction: ltr !important;
  width: fit-content !important;
  margin-inline-start: auto !important;
  margin-inline-end: auto !important;
}

html[dir="rtl"] .feedback-card::after {
  left: 28px !important;
  right: auto !important;
}

html[dir="rtl"] .home-section-head,
html[dir="rtl"] .section-head {
  display: grid !important;
  justify-items: end !important;
  text-align: right !important;
}

html[dir="rtl"] .home-section-head .eyebrow,
html[dir="rtl"] .section-head .eyebrow {
  justify-self: end !important;
  text-align: right !important;
}

html[dir="rtl"] .home-section-head h2,
html[dir="rtl"] .section-head h2 {
  justify-self: end !important;
  text-align: right !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ===== Terms Page ===== */

.terms-layout {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.terms-card {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 48px rgba(16,47,51,.08);
}

.terms-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -.03em;
  color: var(--dark);
}

.terms-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.8;
}

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