/* Main List Background */
.main-list {
  display: flex;
  flex-direction: column;
  background: url('/assets/images/home-filter-bg.webp') no-repeat;
  background-size: 100% 620px;
}
@media (max-width: 768px) {
  .main-list { background: linear-gradient(180deg, var(--info-bg) 893px, var(--white) 50%); }
  .main-list .welcome-section { order: 1; }
  .main-list .filter-section { order: 2; }
  .main-list .campaigns-section { order: 3; }
  .main-list .widget-section { order: 4; }
  .main-list .helal-homepage { order: 5; }
  .main-list .popular-section { order: 6; }
  .main-list .cities-section { order: 7; }
  .main-list .featured-section { order: 8; }
  .main-list .customers-section { order: 9; }
  .main-list .tags-section { order: 10; }
}

/* Filter Section */
.filter-section { min-height: 320px; }
.filter-box { margin: 20px 0px 74px 0; }
.nav-pills .filter-tab.nav-link {
  font-size: 14px; font-weight: 500; min-width: 162px;
  background: var(--white); color: var(--text-muted); border-radius: 8px;
  padding: 8px 18px; position: relative; border: none;
}
.nav-pills .filter-tab.nav-link.active { background: var(--secondary); color: var(--white); }
.nav-pills .filter-tab.nav-link.active::after {
  content: ""; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border-left: 6px solid transparent;
  border-right: 6px solid transparent; border-top: 8px solid var(--secondary);
}
.nav-pills .filter-tab.nav-link:hover:not(.active) { background: var(--secondary); color: var(--white); }
@media (max-width: 768px) {
  .filter-section { min-height: auto; padding-top:10px !important;  }
  .filter-box { margin: 0; margin-bottom: 35px; }
  .filter-box .nav-pills { justify-content: center; }
  .nav-pills .filter-tab.nav-link { min-width: 100px; padding: 10px 16px; }
}

/* Welcome Section */
.welcome-section { margin-bottom: 30px; }
.welcome-text { max-width: 611px; display: flex; flex-direction: column; gap: 12px; }
.welcome-title { font-size: 32px; font-weight: 400; color: var(--white); }
.welcome-desc { font-size: 14px; color: var(--white); line-height: 21px; }
@media (max-width: 768px) {
  .welcome-section { margin-top: 25px; margin-bottom: 12px; }
  .welcome-text { width: 90%; margin: 0 auto; text-align: center; }
  .welcome-title { color: var(--primary); font-size: 24px; }
  .welcome-desc { display: none; }
}

/* Widget Cards */
.widget-section { margin-bottom: 130px; }
.widget-card { border-radius: 12px; }
.widget-card .widget-image img { border-radius: 12px 12px 0 0; transition: transform 0.4s; }
.widget-card:hover .widget-image img { transform: scale(1.1); }
.widget-text { font-size: 14px; }
.widget-primary { background: var(--primary-light); }
.widget-primary .widget-text { color: var(--primary); }
.widget-secondary { background: var(--accent-purple-border); }
.widget-secondary .widget-text { color: var(--accent-purple); }
.widget-tertiary { background: var(--teal-light); }
.widget-tertiary .widget-text { color: var(--teal); }
.widget-orange { background: var(--warning-bg); }
.widget-orange .widget-text { color: var(--warning); }
@media (max-width: 768px) {
  .widget-section { margin-bottom: 46px; }
  .widget-text { white-space: normal; font-size: 12px; }
}

/* Helal Homepage */
.helal-homepage {
  background: url('/assets/images/helal-homepage-bg.svg') no-repeat left center;
  background-size: cover;
  min-height: 400px;
  margin-top:100px;
}
.helal-title { font-size: 54px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.helal-subtitle { font-size: 32px; font-weight: 700; line-height: 1.2; }
.helal-description { font-size: 24px; color: var(--secondary); font-weight: 500; max-width: 644px; line-height: 1.1; }
.helal-btn { border: 2px solid var(--secondary); color: var(--secondary); font-weight: 700; font-size:14px; }
.helal-btn:hover { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.helal-widget-img {
    width: 584px;
    height: 580px;
    position: absolute;
    top: -100px;
    right: 120px;
}
@media (max-width: 991px) {
  .helal-homepage { min-height: auto; padding: 40px 0; background-position: center; }
  .helal-title { font-size: 36px; }
  .helal-subtitle { font-size: 22px; }
}
@media (max-width: 768px) {
  .helal-homepage { margin-top: 40px; padding: 30px 0; text-align: center; }
  .helal-title { font-size: 32px; }
  .helal-subtitle { font-size: 20px; }
  .helal-description { font-size: 16px; max-width: 100%; margin: 0 auto 20px; }
  .helal-widget-img-mobile { width: 100%; max-width: 300px; height: auto; margin: 20px auto 0; display: block; }
}

/* Campaigns Section */
.campaigns-section { margin-top: 80px; margin-bottom: 60px; }
@media (max-width: 768px) {
  .campaigns-section { margin-top: 20px; margin-bottom: 50px; }
  .campaigns-section .campaigns-slider { padding-bottom: 40px; }
  .campaigns-section .campaigns-pagination { bottom: 0; }
}
.campaign-prev:hover, .campaign-next:hover { background: var(--secondary) !important; border-color: transparent !important; }
.campaign-prev:hover i, .campaign-next:hover i { color: var(--white) !important; }
.campaigns-pagination .swiper-pagination-bullet { background: var(--divider); opacity: 1; }
.campaigns-pagination .swiper-pagination-bullet-active { background: var(--primary); width: 20px; border-radius: 100px; }
.campaign-card { border-color: var(--btn-border-color) !important; }
.campaign-img { height: 140px; }
.campaign-img img { height: 100%; width: auto; border-radius: 8px 0 0 8px; object-fit: cover; }
.campaign-content { width: 218px; }
.campaign-title { font-size: 14px; color: var(--secondary); }
.campaign-desc { font-size: 14px; color: var(--text-muted); }

/* Popular Section */
.popular-section { margin-bottom: 130px; }
@media (max-width: 768px) {
  .popular-section { margin-bottom: 44px; }
  .popular-section .section-desc { font-size: 12px; }
}
.popular-card { transition: all 0.4s; border-radius: 8px; border-color: var(--btn-border-color) !important; }
.popular-card:hover { margin-top: -20px; }
@media (max-width: 768px) { .popular-card:hover { margin-top: 0; } }
.card-img-wrapper { border-radius: 8px 8px 0 0; }
.card-img-wrapper img { height: 200px; object-fit: cover; }
.card-title { font-size: 16px; color: var(--text-dark); line-height: 24px; }

/* Cities Section */
.cities-section { background: url('/assets/images/cities-bg.webp') no-repeat; background-size: 100% 537px; overflow: hidden; margin-bottom: 130px; }
@media (max-width: 768px) {
  .cities-section { margin-bottom: 44px; background-size: 300% 537px !important; background-position: top !important; }
  .cities-section .cities-heading { max-width: 100%; width: 343px; padding-top: 100px !important; padding-bottom: 10px !important;  }
  .cities-section .cities-title { font-size: 32px; }
  .cities-section .cities-desc { font-size: 14px; font-weight: 500; }
  .cities-section .cities-slider-mobile { margin-right: -20px; }
}
.cities-heading { max-width: 611px; }
.cities-title { font-size: 32px; font-weight: 400; }
.cities-desc { color: var(--bg-light); font-size: 14px; line-height: 21px; }
.cities-container { border-radius: 30px 30px 0 0; }
.city-card { border-color: var(--btn-border-color) !important; }
.city-card img { height: 200px; object-fit: cover; }
.city-card .city-img { transition: all 0.4s; }
.city-card:hover .city-img { transform: scale(1.1); }
.city-name { font-size: 14px; color: var(--primary); }
.city-hotels { font-size: 12px; color: var(--secondary); }
.city-img-mobile { height: 225px; }

/* Featured Section */
.featured-section { background: url('/assets/images/featured-bg.webp') no-repeat; background-size: 588px 517px; padding-top: 130px; padding-bottom: 80px; overflow: hidden; padding-left:100px; padding-right:200px; }
@media (max-width: 768px) {
  .featured-section { padding-top: 40px; padding-left: 15px; padding-right: 0; padding-bottom: 40px; background-size: cover; }
  .featured-section .featured-title { font-size: 32px;  padding-right: 15px;}
  .featured-section .featured-heading { max-width: 100%;  padding-right: 15px;}
  .featured-section .featured-desc { font-weight: 500;  padding-right: 15px;}
  .featured-section .featured-slider { padding-right: 0; }
}
.featured-heading { max-width: 270px; margin: 0 auto; }
.featured-title { font-size: 24px; line-height: 36px; }
.featured-desc { color: var(--bg-light); font-size: 14px; line-height: 21px; }
.featured-img { height: 173px; object-fit: cover; border-radius: 8px 8px 0 0; }
.featured-hotel-title { font-size: 14px; }
.featured-location { color: var(--text-muted); font-size: 12px; }
.featured-card { transition: all 0.4s; border-radius: 8px; }
.featured-card:hover { margin-top: -20px; }
@media (max-width: 768px) { .featured-card:hover { margin-top: 0; } }
.featured-prev:hover, .featured-next:hover { background: var(--secondary) !important; color: var(--white) !important; border-color: var(--secondary) !important; }

/* Customers Section */
.customers-wrapper { max-width: 760px; }
.customers-heading { background: url('/assets/images/customers-bg.svg') no-repeat center; min-height: 250px; display: flex; flex-direction: column; justify-content: center; }
.customers-heading::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; margin: 0 auto;
  width: 35px; height: 12px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzUiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAzNSAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggaWQ9IlN1YnRyYWN0IiBkPSJNMCAwQzEuNTU1NTQgMCAzLjA1MDkxIDAuNjAwNTQzIDQuMTczNjggMS42NzYxNEwxMy4xNDczIDEwLjI3MjhDMTUuNTUxMiAxMi41NzU3IDE5LjQ0ODggMTIuNTc1NyAyMS44NTI3IDEwLjI3MjhMMzAuODI2MyAxLjY3NjE0QzMxLjk0OTEgMC42MDA1NDMgMzMuNDQ0NSAwIDM1IDBIMFoiIGZpbGw9IiNBN0VERTciLz4KPC9zdmc+Cg==");
}
.customers-title { color: var(--teal-dark); font-size: 28px; line-height: 42px; }
.customers-desc { color: var(--text-gray); font-size: 14px; }
.customer-btn-left { left: -16px; }
.customer-btn-right { right: -16px; }
.customers-section .customer-prev:hover,
.customers-section .customer-next:hover { background: var(--secondary) !important; color: var(--white) !important; border-color: var(--secondary) !important; }
.customers-section .stars i { color: var(--primary); }
.testimonial-author { font-size: 16px; color: var(--text-dark); }
.testimonial-text { color: var(--text-dark); font-size: 14px; max-width: 580px; }
@media (max-width: 768px) {
  .customers-section { padding: 30px 0; }
  .customers-heading { min-height: 180px; padding: 20px !important; }
  .customers-title { font-size: 20px; line-height: 28px; }
  .customers-desc { font-size: 12px; }
  .testimonial-text { font-size: 13px; max-width: 100%; padding: 0 15px; }
}
