:root {
  --navy: #062a4d;
  --navy-2: #041a30;
  --blue: #0b5aa8;
  --blue-light: #1e7bc7;
  --orange: #f4901e;
  --orange-dark: #d9740a;
  --gold: #c9a24b;
  --cream: #fbf7ef;
  --cream-2: #f3ecdd;
  --ink: #122436;
  --ink-soft: #5a6b7a;
  --white: #ffffff;
  --shadow: 0 20px 45px -22px rgba(6, 42, 77, 0.35);
  --green: #1e9e5b;

  /* semantic aliases used throughout this file */
  --line-on-dark: rgba(251, 247, 239, 0.18);
  --line-on-light: rgba(18, 36, 54, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

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

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

h1,
h2,
h3 {
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.35;
}

/* ---------- top bar ---------- */
.topbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  padding: 22px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-brand img {
  width: 38px;
  height: auto;
}

.topbar-brand span {
  color: var(--cream);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.topbar-call {
  color: var(--cream);
  border: 1px solid var(--line-on-dark);
  padding: 8px 18px;
  border-radius: 2px;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.topbar-call:hover {
  border-color: var(--orange);
  background: rgba(244, 144, 30, 0.12);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  background-image: linear-gradient(
      to top,
      var(--navy-2) 0%,
      rgba(40, 48, 4, 0.65) 45%,
      rgba(4, 26, 48, 0.3) 75%
    ),
    url("/assets/tower.jpg");
  background-size: cover;
  background-position: center 120%;
  color: var(--cream);
}

.hero-inner {
  padding-bottom: 50px;
  max-width: 720px;
}

.hero-kicker {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 18px;
  opacity: 0;
  animation: rise 0.8s ease-out 0.1s forwards;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--cream);
  opacity: 0;
  animation: rise 0.8s ease-out 0.3s forwards;
}

.hero p {
  margin-top: 20px;
  font-size: 1.1rem;
  color: rgba(251, 247, 239, 0.85);
  max-width: 520px;
  opacity: 0;
  animation: rise 0.8s ease-out 0.5s forwards;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.8s ease-out 0.7s forwards;
}

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

.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 1rem;
  border-radius: 2px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--navy-2);
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-outline {
  border-color: var(--line-on-dark);
  color: var(--cream);
}

.btn-outline:hover {
  border-color: var(--gold);
}

/* ---------- page hero ---------- */
.page-hero {
  min-height: 78vh;
}

/* ---------- section head ---------- */
.section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.section-head .eyebrow {
  color: var(--orange-dark);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--ink-soft);
}

/* ---------- program rows (stacked, fully expanded) ---------- */
.programs-stack {
  display: flex;
  flex-direction: column;
}

.program-row {
  padding: 48px 0;
  border-top: 1px solid var(--line-on-light);
}

.program-row:first-child {
  border-top: none;
  padding-top: 0;
}

.program-row.alt {
  background: var(--cream-2);
  margin: 0 -24px;
  padding: 48px 24px;
  border-radius: 6px;
}

.program-header {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: stretch;
}

.program-media {
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  position: relative;
  box-shadow: var(--shadow);
  min-height: 260px;
}

.pkg-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: var(--orange);
  color: var(--navy-2);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

.program-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.program-intro h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  color: var(--navy);
  line-height: 1.5;
}

.pkg-route {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.feat-list li {
  padding-right: 20px;
  position: relative;
  color: var(--ink);
  font-size: 0.95rem;
}

.feat-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
}

.pkg-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line-on-light);
}

.pkg-price-row .from {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.pkg-price-row .amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange-dark);
}

.pkg-price-row .cur {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- program body: itinerary + pricing, always visible ---------- */
.program-body {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.stays-block h4,
.pricing-block h4 {
  font-family: "Aref Ruqaa", serif;
  font-size: 1.05rem;
  color: var(--navy);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.stay-line {
  padding: 12px 0;
  border-top: 1px solid var(--line-on-light);
}

.stay-line:first-of-type {
  border-top: none;
}

.stay-line-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
}

.stay-line-head span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 400;
  white-space: nowrap;
}

.stay-line-sub {
  color: var(--ink-soft);
  font-size: 0.87rem;
  margin-top: 3px;
}

.stay-line-note {
  color: var(--orange-dark);
  font-size: 0.84rem;
  margin-top: 3px;
}

.pricing-block {
  background: var(--white);
  border-radius: 4px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.program-row.alt .pricing-block {
  background: var(--cream);
}

.room-table {
  width: 100%;
  border-collapse: collapse;
}

.room-table td {
  padding: 10px 0;
  border-top: 1px solid var(--line-on-light);
  font-size: 0.95rem;
}

.room-table tr:first-child td {
  border-top: none;
}

.room-table td:last-child {
  text-align: left;
  font-weight: 700;
  color: var(--orange-dark);
}

.pkg-notes {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding-top: 10px;
  border-top: 1px dashed var(--line-on-light);
}

/* ---------- buttons (cont'd) ---------- */
.btn-block {
  display: block;
  text-align: center;
  width: 100%;
}

@media (max-width: 860px) {
  .program-header,
  .program-body {
    grid-template-columns: 1fr;
  }
  .program-media {
    min-height: 220px;
  }
}

/* ---------- footer ---------- */
footer {
  background: var(--navy-2);
  color: rgba(251, 247, 239, 0.6);
  padding: 34px 0;
  text-align: center;
  font-size: 0.85rem;
}

.wa-float {
  position: fixed;
  bottom: 22px;
  left: 22px;
  width: 54px;
  height: 54px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  box-shadow: var(--shadow);
}

.wa-float svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

@media (max-width: 860px) {
  .split-grid {
    grid-template-columns: 1fr;
  }
  .stay-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
/* ===== أضف هذا الجزء في نهاية ramadan.css فقط (بعد نسخه من topviphajj.css) ===== */

/* صور البرامج كـ <img> لدعم lazy loading بدل background-image */
.program-media { position: relative; overflow: hidden; }
.program-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

/* ملاحظات البرنامج: كل ملاحظة في سطر */
.pkg-notes span { display: block; }

/* Breadcrumb */
.breadcrumb { font-size: 0.875rem; opacity: 0.9; margin-bottom: 12px; }
.breadcrumb a { color: inherit; text-decoration: underline; }

/* مقدمة SEO */
.seo-intro .section-head p { max-width: 860px; margin-inline: auto; line-height: 2; }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px; padding: 16px 18px; background: #fff;
}
.faq-item h3 { font-size: 1.05rem; margin: 0 0 8px; }
.faq-item p { margin: 0; line-height: 1.9; }

/* تحسين CLS: تأخير رسم الأقسام السفلية */
.faq-section { content-visibility: auto; contain-intrinsic-size: 1px 600px; }
/* Floating buttons (WhatsApp / Call) */
.floating-buttons {
  position: fixed;
  left: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 9999;
  display: flex;
  gap: 12px;
}

.floating-buttons .call-float,
.floating-buttons .wa-float {
  /* تصفير أي position:fixed قادم من .wa-float القديم المنسوخ من صفحة الحج */
  position: static;
  inset: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2.4s infinite;
}

.floating-buttons .call-float {
  --pulse: 13, 110, 253;
  background: #0d6efd;
  box-shadow: 0 12px 28px -6px rgba(13, 110, 253, 0.5);
}

.floating-buttons .wa-float {
  --pulse: 37, 211, 102;
  background: #25d366;
  box-shadow: 0 12px 28px -6px rgba(37, 211, 102, 0.6);
}

.floating-buttons .call-float svg,
.floating-buttons .wa-float svg {
  width: 27px;
  height: 27px;
  fill: #fff;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--pulse), 0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(var(--pulse), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--pulse), 0); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-buttons .call-float,
  .floating-buttons .wa-float { animation: none; }
}
.ramadan-hero .hero-inner{ padding-top: 0; }
.ramadan-hero .hero-kicker{ margin-top: 0; }




.ramadan-hero .hero-inner{
  padding-top: 0;
  margin-top: 0;
}
.ramadan-hero .hero-kicker{
  margin-top: 0;
  margin-bottom: 10px;
}
.ramadan-hero h1{
  margin-top: 0;
}/* رفع محتوى الـhero لأعلى (صفحة رمضان فقط) */
.page-hero {
  align-items: center;     /* بدل center: يرفع المحتوى لأعلى */
  padding-top: 20px;           /* قلّله أو زِده حسب رغبتك */
  padding-bottom: 48px;
}

.page-hero .hero-inner {
  padding-top: 0;
  margin-top: 0;
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: 16px;
    padding-bottom: 32px;
  }
}