/* ===========================
   HAJJ SECTION LAYOUT
   =========================== */

.hajj-bg {
  background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
  padding: 100px 60px;
}

/* ---- Section Intro ---- */
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 40px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-tag.gold {
  background: #fef3c7;
  color: #b45309;
}

.section-intro h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
}

.bn-sub {
  display: block;
  font-size: 18px;
  color: #6b7280;
  font-weight: 500;
  margin-top: 6px;
}

.section-intro p {
  margin-top: 16px;
  color: #6b7280;
  font-size: 15px;
  max-width: 500px;
}

/* View all button */
.view-all-btn.gold {
  background: #c9a227;
  color: white;
  padding: 12px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.view-all-btn.gold:hover {
  background: #a8871a;
  transform: translateY(-2px);
}

/* ---- Grid Layout ---- */
.hajj-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* ---- Featured Card ---- */
.hajj-featured {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.hajj-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hajj-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: white;
}

.hajj-featured-overlay h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.hajj-featured-overlay p {
  font-size: 15px;
  opacity: 0.9;
}

.tagline {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.85;
}

/* ---- Right Column Cards ---- */
.hajj-cards-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Horizontal card */
.pkg-card.horizontal {
  display: flex;
  width: 100%;
  min-width: auto;
}

.pkg-img-wrap.small {
  width: 180px;
  height: auto;
}

.pkg-img-wrap.small img {
  height: 100%;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  .hajj-grid {
    grid-template-columns: 1fr;
  }

  .hajj-featured {
    min-height: 400px;
  }
}

@media (max-width: 768px) {

  .section-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .pkg-card.horizontal {
    flex-direction: column;
  }

  .pkg-img-wrap.small {
    width: 100%;
  }

  .hajj-bg {
    padding: 70px 20px;
  }
}/* ===========================
   cards.css
   Package Cards & Slider
   =========================== */

/* ---- CARDS SLIDER WRAPPER ---- */
.cards-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.cards-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
}

.cards-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 4px 20px;
}

/* Arrow Buttons for cards slider */
.cards-prev,
.cards-next {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  background: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 2;
  color: #374151;
  margin: 0 8px;
}

.cards-prev:hover,
.cards-next:hover {
  background: #1a56db;
  border-color: #1a56db;
  color: white;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(26,86,219,0.25);
}

/* ---- PACKAGE CARD ---- */
.pkg-card {
  min-width: 300px;
  width: 300px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  flex-shrink: 0;
}

.pkg-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.14);
}

/* Image wrapper */
.pkg-img-wrap {
  position: relative;
  overflow: hidden;
}

.pkg-img-wrap img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pkg-card:hover .pkg-img-wrap img {
  transform: scale(1.06);
}

/* Badges */
.pkg-price {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #1a56db;
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pkg-price.green { background: #0d9f6e; }
.pkg-price.gold  { background: #c9a227; }

.pkg-duration {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
}

/* Card body */
.pkg-body {
  padding: 20px;
}

.pkg-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.pkg-top h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0d1117;
  line-height: 1.3;
}

.pkg-top h4 {
  font-size: 13px;
  color: #6b7280;
  font-weight: 400;
  margin-top: 2px;
}

.rating {
  font-size: 13px;
  font-weight: 700;
  color: #f59e0b;
  white-space: nowrap;
  padding: 4px 10px;
  background: #fef9ee;
  border-radius: 20px;
  margin-left: 8px;
}

.pkg-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 4px;
}

.pkg-desc.bn {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 16px;
}

/* View Button */
.view-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: #1a56db;
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  letter-spacing: 0.3px;
  margin-top: 4px;
}

.view-btn:hover {
  background: #1140a6;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(26,86,219,0.3);
}

.view-btn.green {
  background: #0d9f6e;
}

.view-btn.green:hover {
  background: #077a53;
  box-shadow: 0 6px 16px rgba(13,159,110,0.3);
}

/* Work card special background tint */
.pkg-card.work-card {
  border-top: 3px solid #0d9f6e;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .pkg-card { min-width: 260px; width: 260px; }
  .cards-prev, .cards-next { width: 38px; height: 38px; font-size: 15px; margin: 0 4px; }
}
#navbar.scrolled .logo span {
  color: var(--text);
}

/* ---- GRID MODE (standalone pages: travel / hajj / work) ---- */
.cards-track.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  flex-wrap: unset;
  transform: none !important;  /* disable slider transform */
  gap: 28px;
  padding: 10px 4px 30px;
}

.cards-track.cards-grid .pkg-card {
  min-width: unset;
  width: 100%;
}

/* Location badge inside card */
.pkg-location {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}

/* Hajj badge on card image */
.hajj-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #c9a227;
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

/* Empty state */
.no-packages {
  grid-column: 1 / -1;
  text-align: center;
  color: #6b7280;
  font-size: 15px;
  padding: 60px 20px;
}

/* ---- RESPONSIVE grid ---- */
@media (max-width: 900px) {
  .cards-track.cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-track.cards-grid {
    grid-template-columns: 1fr;
  }
}