:root {
  /* Brand Colors */
  --jd-green: #039d55;
  --jd-red-tag: #8F2FCB ;

  /* Primary & Secondary Colors */
  --primary-color: #039d55;
  --primary-dark: #028347;
  --primary-light: #e6f2ef;
  --secondary-color: #a67c52;

  /* Text Colors */
  --text-dark: #212529;
  --text-color: #2d3748;
  --text-light: #718096;

  /* Background & Border Colors */
  --white-color: #fff;
  --light-bg: #dafad3;
  --background-light: #f8fafc;
  --border-color: #e2e8f0;

  /* Status Colors */
  --success-color: #0d9c6d;
  --warning-color: #e53e3e;

  /* Misc */
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.07);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--white-color);

}

h1,
h2,
h3,
h4,
h5,
.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* --- Navbar Styles --- */
.navbar-brand {
  font-weight: 600;
  font-size: 1.8rem;
}

.logo-just {
  color: #006400;
  font-weight: 700;
}

.logo-dial {
  color: var(--primary-dark);
  font-weight: 700;
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--jd-green) !important;
}

.nav-link i {
  margin-right: 6px;
}

.business-tag-wrapper {
  position: relative;
  padding-top: 10px;
  margin-top: -10px;
}

.business-tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--jd-red-tag);
  color: white;
  padding: 1px 6px;
  font-size: 0.6rem;
  font-weight: bold;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.btn-login {
  background-color: var(--jd-green) !important;
  border-color: var(--jd-green) !important;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

 

.offcanvas-custom-width {
  width: 70% !important;
}

.offcanvas-header {
  border-bottom: 1px solid #dee2e6;
}

.tab_btn {
  color: white !important;
}

.offcanvas-body .nav-link,
.offcanvas-body .btn {
  font-size: 1rem;
  padding: 0.8rem 1rem;
  text-align: left;
  width: 100%;
  margin-bottom: 0.5rem;
  justify-content: flex-start;
}

/* --- Hero Section --- */
.hero-section {
  background-color: var(--light-bg);
  border-radius: 16px;
  padding: 10px 50px;
}

.hero-section h1 {
  font-weight: 700;
  color: var(--text-dark);
}

.hero-section h1 span {
  color: var(--primary-color);
}

.hero-section h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 0.5rem;
}

.hero-section p {
  color: var(--text-light);
  margin: 1rem 0 2rem;
}

.mockup img {
  max-width: 100%;
  height: 400px;
}

/* --- Search Box Styles --- */
.search-container {
  max-width: 550px;
}

.search-container .input-group {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease-in-out;
}

.search-container .form-control,
.search-container .input-group-text {
  border: none;
  box-shadow: none;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.95rem;
}

.search-container .form-control:focus {
  box-shadow: none;
  z-index: 5;
}

.search-container .input-group:focus-within {
  box-shadow: 0 0 0 2px var(--primary-color);
}

.search-container .location-input {
  flex: 0 0 150px;
  border-right: 1px solid #dee2e6 !important;
}

.search-container .btn {
  background-color: var(--primary-color);
  color: white;
}

.search-container .btn:hover {
  background-color: var(--primary-dark);
}

/* --- Dropdown Styles (Shared) --- */
.custom-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin-top: 5px;
  display: none;
}

.custom-dropdown.show {
  display: block;
}

/* Location Dropdown */
.location-dropdown .detect-location {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
}

.location-dropdown .detect-location a {
  text-decoration: none;
  color: #0d6efd;
  font-weight: 500;
  text-align: start;
}

.location-dropdown .trending-areas-title {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  text-align: start;
}

.location-dropdown .location-list {
  list-style: none;
  padding: 0 0 0.5rem 0;
  margin: 0;
  text-align: start;
}

.location-dropdown .location-list-item a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--text-dark);
}

.location-dropdown .location-list-item a:hover {
  background-color: #f8f9fa;
}

/* Trending Searches Dropdown */
.trending-searches-title {
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
  border-bottom: 1px solid #eee;
}

.trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
}

.trending-list-item a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #555;
  transition: background-color 0.2s ease;
}

.trending-list-item a:hover {
  background-color: #f8f9fa;
}

.trending-icon {
  color: var(--primary-color);
  margin-right: 1rem;
  font-size: 1.1rem;
}

.trending-text .title {
  font-weight: 500;
}


/* --- Category Section --- */
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #495057;
}

.icon-wrapper {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

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

.category-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(8, 1fr);


}

.category-name {
  font-weight: 500;
  font-size: 0.8rem;
  text-align: center;
}

/* --- Advertisement Banner --- */
.addbanner {
  height: 150px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* --- Trending Card Section --- */
.trending-card-link {
  text-decoration: none;
}

.trending-card {
  background-color: var(--white-color);
  border: 1px solid rgb(216, 216, 216);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card-img-container {
  height: 160px;
  overflow: hidden;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trending-card:hover .card-img-container img {
  transform: scale(1.05);
}

.card-content {
  padding: 10px 10px;
}

.card-content h5 {
  font-weight: 600;
}

.explore-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

/* --- Solution Section --- */
.solution-section {
  background-color: #e0f1ec;
  border-radius: 5px;
}

.solutionimg {
  height: 300px;
}

.solution-section p {
  color: #5a6872;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.solution-section .app-buttons {
  display: flex;
  gap: 1rem;
}

.solution-section .app-btn {
  display: inline-flex;
  align-items: center;
  background-color: #42474c;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
}

.solution-section .app-btn:hover {
  background-color: var(--text-dark);
  color: white;
  transform: translateY(-2px);
}

.solution-section .app-btn i {
  font-size: 2.2rem;
  margin-right: 1rem;
}

.solution-section .app-btn .btn-text {
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: left;
}

.solution-section .app-btn .btn-text strong {
  font-size: 1rem;
  font-weight: 500;
  display: block;
}

/* --- Discount Section --- */
.carousel-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* --- On-Demand Section --- */
.section-title {
  font-weight: 700;
  color: #000000;
}

.category-block {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 10px 10px;
  height: 100%;
}

.category-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0d6efd;
  display: inline-block;
}

.service-item a {
  text-decoration: none;
  color: #495057;
  display: block;
  text-align: center;
}

.image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #f0f0f0;
}

.image-wrapper img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.service-item a:hover img {
  transform: scale(1.08);
}

.service-label {
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.service-item a:hover .service-label {
  color: #0d6efd;
}


/* --- Be a Partner Section --- */
.promo-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  border: 1px solid #e9ecef;
}

.promo-card .card-img-wrapper {
  flex-shrink: 0;
}

.promo-card .card-img-wrapper img {
  max-width: 200px;
  height: auto;
}

.promo-card .card-content h3 {
  font-weight: 600;
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.25rem;
}

.promo-card .card-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.promo-card .btn-register {
  background-color: #198754;
  color: #fff;
  border: none;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.promo-card .btn-register:hover {
  background-color: #146c43;
}

/* --- Blog Section --- */
.blog-section {
  padding: 10px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.section-header .section-title {
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-controls .btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #dee2e6;
  color: #495057;
  transition: all 0.3s ease;
}

.carousel-control-prev,
.carousel-control-next {
  display: none;
}

.carousel-inner {
  padding: 1rem 0;
}

.blog-card {
  background-color: #fff;
  border: 1px solid rgb(216, 216, 216);
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .card-body {
  padding: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.card-meta span {
  display: inline-flex;
  align-items: center;
}

.card-meta i {
  margin-right: 6px;
  color: var(--jd-red-tag);
}

.card-title {
  margin-bottom: 5px;
}

.card-title-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.card-title-link:hover {
  color: var(--jd-red-tag);
}

.card-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 5px;
  flex-grow: 1;
}

.read-details-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--jd-red-tag);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.read-details-link .arrow-icon {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-details-link:hover {
  color: #c82333;
}

.read-details-link:hover .arrow-icon {
  transform: translateX(4px);
}

/* --- Testimonials Section --- */
.testimonials-section {
  padding: 20px 0;
}

.testimonials-section .section-header p {
  color: var(--text-light);
  margin-top: 5px;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 2px;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  position: relative;
  border: 1px solid #e9ecef;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  color: #e9ecef;
  z-index: 0;
}

.star-rating {
  color: #ffc107;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.author-info {
  display: flex;
  align-items: center;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.author-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  margin: 4px;
  background-color:  var(--jd-red-tag);;
  /* green color */
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

.author-details .name {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
  margin: 0;
}

.author-details .title {
  font-size: 0.85rem;
  color: #777;
  margin: 0;
}

/* --- Footer Styles --- */
.footer-section {
  background-color: var(--text-dark);
  color: #adb5bd;
  padding: 10px;
}

.footer-section .footer-logo .logo-icon {
  background-color: var(--jd-red-tag);
}

.footer-section h5 {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section .footer-links a,
.footer-section .list-unstyled span {
  font-size: 0.9rem;
}

.footer-section .footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.footer-section .footer-links a:hover {
  color: #fff;
}

.footer-social a {
  color: #adb5bd;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #495057;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.footer-social a:hover {
  background-color: var(--jd-red-tag);
  border-color: var(--jd-red-tag);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #495057;
  padding: 1.5rem 0;
  margin-top: 2rem;
  font-size: 0.85rem;
}

/* ================================================= */
/* =============== LISTING/DETAILS PAGE STYLES ============== */
/* ================================================= */

/* --- Filter Section --- */
.filter-section {
  padding: 1rem 0;
}

.filter-scroll-container {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-scroll-container::-webkit-scrollbar {
  display: none;
}

.filter-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.btn-filter {
  background-color: #fff;
  border: 1px solid #ced4da;
  color: var(--text-dark);
  flex-shrink: 0;
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
}



.btn-filter.active {
  background-color: var(--jd-red-tag) !important;
  border-color: var(--jd-red-tag);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* --- Hotel Card Styles --- */
.hotel-card-section {
  padding: 0.5rem 0;
}

.recent_card{
   background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  
  height: 100%;
  border: 1px solid #e2e2e2;
}

.hotel-card {
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 100%;
  border: 1px solid #e2e2e2;
}

/* Mobile */
@media (max-width: 768px) {
  .hotel-card {
    display: block;
  }
}

.listing_card_img {
  object-fit: cover;
  padding: 3px;
  height: 180px;
  width: 220px;
}

.hotel-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.hotel-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}

.hotel-name .fa-thumbs-up {
  color: var(--jd-red-tag);
  font-size: 0.9rem;
}

.hotel-category {
  color: var(--text-light);
  font-size: 0.75rem;
}

.hotel-price {
  color: var(--jd-red-tag);
  font-size: 1.1rem;
  font-weight: 700;
}

.per-night {
  color: #555;
  font-size: 0.8rem;
  font-weight: 400;
}

.hotel-location {
  color: #555;
  font-size: 0.85rem;
}

/* Rating & Tags */
.rating-group {
  gap: 0.75rem;
}

.rating-badge {
  background-color: var(--jd-green);
  color: white;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.8rem;
}

.rating-badge .fa-star {
  font-size: 0.7rem;
}

.rating-text {
  font-size: 0.8rem;
  color: #555;
}

.info-tag {
  font-size: 0.8rem;
  color: #555;
}

.info-tag .fa-check-circle {
  color: #039d55;
}

.amenity-tag {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #555;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
}

/* Action Buttons */
.action-btn {
  width: 100%;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 10px;
  border: none;
  color: white !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}

.action-btn i {
  margin-right: 0.4rem;
  font-size: 1.1rem;
}

.action-btn .button-text {
  margin-left: 0.5rem;
}

.btn-number {
  background-color: #0d6efd;
}

.btn-whatsapp-custom {
  background-color: #25D366;
}

.btn-whatsapp-custom:hover {
  background-color: #1DA851 !important;
}

.btn-get-deal {
  background-color: #0f655e;
}

.btn-get-deal:hover {
  background-color: #c82333 !important;
}

.btn-info {
  background-color: #0687a0;
  border-color: #0dcaf0;
}

.btn-info:hover {
  background-color: #0c778d;
  border-color: #0baccc;
}

/* --- CTA Section --- */
.cta-section {
  padding-bottom: 3rem;
}

.cta-container {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.info-section {
  background-color: #fff9fa;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.info-section h2 {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.info-section h2 span {
  color: var(--jd-red-tag);
}

.info-section p {
  color: #495057;
  font-size: 0.95rem;
}

.form-section {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.form-label {
  font-weight: 500;
  font-size: 0.9rem;
  color: #343a40;
  margin-bottom: 0.75rem;
}

.btn-group .btn-outline-primary {
  border-color: #ced4da;
  color: #495057;
  padding: 0.5rem;
  font-weight: 500;
  font-size: 0.85rem;
}

.btn-group .btn-check:checked+.btn-outline-primary {
  background-color: var(--jd-red-tag);
  border-color: var(--jd-red-tag);
  color: #fff;
}

.form-control:focus {
  border-color: #f7acb4;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}


/* --- Details Page Specifics --- */
/* --- GALLERY --- */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 150px);
  gap: 12px;
  margin-bottom: 1em;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}


.gallery-item:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  font-weight: 500;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

/* --- HEADER INFO --- */
.hotel-header .hotel-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.hotel-header .rating-box {
  background-color: var(--jd-red-tag);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
}

.hotel-header .tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.tag-verified {
  background-color: var(--primary-light);
  color: var(--success-color);
  border-color: var(--primary-color);
}

.tag-closed {
  background-color: #fce4e4;
  color: var(--jd-red-tag);
  border-color: #f9c1c1;
}

.hotel-header .location {
  font-size: 0.8rem;
  color: var(--text-light);
}

.header-actions .btn {
  border-radius: 8px;
  font-size: 0.8rem;
}



.action-buttons .btn-call {
  background-color: var(--primary-color);
  color: white;
  font-size: 0.8rem;
}

.action-buttons .btn-outline-success {
  border-color: #25d366;
  color: #25d366;
  font-size: 0.8rem;

}


.action-buttons .btn-outline-success:hover {
  border-color: #25d366;
  color: #fff;
  font-size: 0.8rem;

}

.action-buttons .btn-outline-danger {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  font-size: 0.8rem;

}

.action-buttons .btn-outline-danger:hover {
  border-color: var(--secondary-color);
  color: #fff;
  font-size: 0.8rem;

}



/* --- NEW TABS SECTION --- */
.hotel-info-tabs {
  background-color: var(--white-color);
  border-radius: 8px;
}

.hotel-info-tabs .nav-pills .nav-link {
  color: var(--text-light);
  font-weight: 500;
  border-radius: 8px;
  font-size: 0.8rem;
}

.hotel-info-tabs .nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: white !important;
}




.pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.amenity-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background-color: var(--primary-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-dark);
  font-weight: 500;
}




.amenity-pill i {
  margin-right: 8px;
  color: var(--primary-color);
}

/* --- SECTION STYLES --- */
.section-box {
  margin-top: 1rem;
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 3px;
}

.btn-link-view-all {
  text-decoration: none;
  font-weight: 500;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}



/* --- PHOTO GALLERY SCROLL --- */
.photo-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.photo-scroll-container::-webkit-scrollbar {
  display: none;
}

.photo-card {
  flex: 0 0 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  background-color: var(--white-color);
}



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

.photo-card .photo-info {
  padding: 0.5rem;
}

.photo-card .photo-info .title {
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 0.1rem;
  color: var(--text-dark);
}

.photo-card .photo-info .count {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- REVIEW CARD --- */
.review-card {
  border: 1px solid #f2f2f2;
  border-radius: 12px;
  padding: 0.7rem;
  margin-bottom: 1.5rem;
  background-color: var(--white-color);
  transition: all 0.3s ease;
}



.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.review-avatar {
   width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #212529;   /* Black background */
  color: #fff;              /* White text */
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.review-author {
  font-weight: 600;
  font-size: 1rem;
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.review-rating {
  color: #ffc107;
}

.review-content h6 {
  font-weight: 600;
}

.review-images .review-image {
  width: 75px;
  height: 75px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
}

.review-helpful button {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 20px;
}

.review-helpful button.active {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: var(--primary-light);
}

/* --- SIMILAR HOTELS --- */
.similar-hotel-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  background-color: var(--white-color);
}



.similar-hotel-image {
  height: 160px;
}

.similar-hotel-title {
  font-size: 1.1rem;
}

.similar-hotel-price {
  color: var(--primary-color);
}

.similar-hotel-score {
  background-color: var(--primary-color);
  color: white;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 4px;
}

/* --- SIDEBAR & FORMS --- */
.sidebar .card {
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.sidebar .card-header {
  font-weight: 600;
  background-color: var(--white-color);
  border-bottom: 1px solid var(--border-color);
  font-size: 1.1rem;
}

.form-control {
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(3, 157, 85, 0.2);
}

.sidebar .btn-primary,
.mobile-enquiry .btn {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
  padding: 0.7rem;
}



.mobile-enquiry.card {
  background-color: var(--white-color);
}

.mobile-enquiry .card-header {
  background-color: var(--primary-color);
  color: white;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 991.98px) {
  .container {
    max-width: 991.98px
  }

  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }


  .gallery-item:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    height: 300px;
  }
}

@media (max-width: 767.98px) {
  .container {
    max-width: 767.98px;
  }

  .hotel-header .hotel-name {
    font-size: 1.2rem;
  }

  .hotel-info-tabs .nav-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  /* === EDITED FOR MOBILE GALLERY === */
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns */
    grid-template-rows: repeat(2, 140px);
    /* 2 rows, creating a 2x2 grid */
  }

  .gallery-item:first-child {
    grid-column: 1 / 2;
    /* Make first item span only the first column */
    grid-row: 1 / 3;
    /* Make first item span both rows */
    height: auto;
    /* Reset the height from tablet view */
  }

  /* === END OF EDIT === */
}

/* ================================================= */
/* =============== CATEGORIES PAGE STYLES ================ */
/* ================================================= */

.category-card {
  text-align: center;
  padding: 0px;
  border-radius: 15px;
  transition: transform 0.2s;
}

.category-card:hover {
  transform: scale(1.05);
  background-color: #f9f9f9;
}

.category-card img {
  width: 45px;
  height: 45px;
  margin-bottom: 10px;
}

.category-card p {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
}

.highlighted {
  border: 2px solid #f50057;
  padding: 18px;
  border-radius: 15px;
  background-color: #fff0f6;
}

.highlighted p {
  color: #d50032;
  font-weight: bold;
}

/* ================================================= */
/* ================= REGISTER FORM ================= */
/* ================================================= */

.header-container {
  background-color: var(--light-bg);
  color: rgb(0, 0, 0);

}

.header-container h2 {
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.form-card {
  border: none;
  border-radius: 15px;
  margin-bottom: 25px;
}

.form-card h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.form-label {
  font-weight: 500;
  color: #555;
  font-size: 0.9rem;
}

.form-control,
.form-select {
  border-radius: 8px;
  border-color: #e0e0e0;
  padding: 0.75rem;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.2);
  border-color: #28a745;
}

.lang-tabs .nav-link {
  color: var(--text-light);
  border: none;
  border-bottom: 2px solid transparent;
}

.lang-tabs .nav-link.active {
  color: #28a745;
  font-weight: bold;
  border-bottom: 2px solid #28a745;
}

.upload-box {
  border: 2px dashed #dce2e7;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}

.upload-box:hover {
  background-color: #f8f9fa;
  border-color: #28a745;
}

.upload-box .upload-icon {
  font-size: 2rem;
  color: #adb5bd;
}

.upload-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.upload-box input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-preview {
  margin-top: 10px;
  max-width: 100%;
  max-height: 80px;
  display: none;
}

.input-group-text {
  background-color: #fff;
  border-right: 0;
}

.form-control-icon {
  border-left: 0;
}

.password-toggle-icon {
  cursor: pointer;
}

.btn-reset {
  background-color: #f0f0f0;
  border: 1px solid #dcdcdc;
}

.congrats-modal .modal-content {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.congrats-modal .modal-body {
  padding: 3rem;
}

.congrats-modal .icon-box {
  font-size: 5rem;
  color: #28a745;
}

.congrats-modal .btn-success {
  background-color: #28a745;
  border-color: #28a745;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

/* ================================================= */
/* ================ RESPONSIVE STYLES ============== */
/* ================================================= */

@media (max-width: 1200px) {
  .container {
    max-width: 1200px;
  }

  .gallery-container {
    grid-template-rows: repeat(2, 180px);
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 992px;
  }

  .hero-section {
    text-align: center;
    padding: 1rem 0.5rem;
  }

  .search-container,
  .mockup {
    margin-left: auto;
    margin-right: auto;
  }

  .mockup {
    margin-top: 3rem;
  }

  .hero-section {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 10px 20px;
    text-align: start;
  }

  .hero-section h1 {
    font-weight: 700;
    color: var(--text-dark);
    text-align: start;
  }

  .hero-section h2 {
    display: none;
  }

  .hero-section p {
    color: black;
    margin: 0.3rem 0;
    text-align: start;
  }

  .mockup img {
    max-width: 100%;
    height: 200px;
  }

  .search-container {
    max-width: 450px;
  }

  .category-grid {
    grid-template-columns: repeat(8, 1fr);
  }

  .solution-section {
    padding: 1rem 1rem;
    text-align: center;
  }

  .solution-section h1 {
    text-align: start;
    font-size: 28px;
  }

  .solution-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 600px;
    text-align: start;
  }

  .solution-section .app-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
  }

  .solution-section .app-btn .btn-text strong {
    font-size: 0.6rem;
  }

  .gallery-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 150px);
  }

  .gallery-item:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .header-info h1 {
    font-size: 1.8rem;
  }

  .sticky-booking {
    position: static;
  }

  .info-section {
    border-right: 1px solid #e9ecef;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 768px;
  }

  .hero-content h1.display-4 {
    font-size: 1.5rem;
  }

  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .header-info h1 {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1rem;
  }

  .review-summary {
    align-items: center;
  }

  .rating-bars {
    padding-left: 0;
    margin-top: 1rem;
  }

  .section-nav .nav-link {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .highlight-item .icon-box {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .highlight-item .highlight-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 576px;
  }

  .action-btn .button-text {
    display: none;
  }



  .action-btn i {
    font-size: 1.4rem;
    margin: 0;
  }

  .action-btn {
    padding: 0.25rem;
  }

  .listing_card_img {
    height: 180px;
    width: 100%;
    object-fit: cover;
  }

  .hero-section {
    text-align: center;
    padding: 1rem 0.5rem;
  }

  .mockup,
  .mockup img,
  .hero-section h1,
  .hero-section h2,
  .hero-section p {
    display: none;
  }

  .addbanner,
  .trending-card {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
  }

  .promo-card {
    text-align: center;
    gap: 1rem;
  }

  .promo-card .card-img-wrapper img {
    max-width: 100px;
  }

  .promo-card .card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .promo-card .card-content p {
    display: none;
  }

  .promo-card .btn-register {
    padding: 0.5rem 1rem;
  }

  .gallery-item:first-child {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .header-info h1 {
    font-size: 1.4rem;
  }

  .rating-box,
  .tag {
    font-size: 0.8rem;
  }

  .section-nav {
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
  }

  .section-nav .nav-link {
    display: inline-block;
  }

  .highlight-item {
    padding: 0.5rem 0.25rem;
  }

  .photo-card {
    flex: 0 0 140px;
  }

  .photo-card img {
    height: 90px;
  }

  .btn-reset,
  .btn-success {
    width: 50%;
    margin-bottom: 10px;
  }


}

.popular-categories .row {
  display: grid;

  grid-template-columns: repeat(8, 1fr);
}

@media (max-width: 992px) {
  .popular-categories .row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 576px) {

  
  .popular-categories .row {
    grid-template-columns: repeat(3, 1fr);
  }

  .icon-wrapper {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
  }

  .category-name {
    font-weight: 500;
    font-size: 0.7rem;
    text-align: center;
  }
}


/* ================================================= */
/* ============= DEAL FORM (IMAGE MATCH) =========== */
/* ================================================= */

.deal-form-card {
  background: linear-gradient(to bottom, var(--primary-light), #ffffff);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.deal-form-card .card-body {
  padding: 1.5rem;
}

/* Header Styling */
.deal-form-header .form-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.deal-form-header .form-title span {
  color: #0d6efd;
  /* Blue color for the highlighted text */
}

.deal-form-header .form-subtitle {
  font-size: 0.9rem;
  color: #495057 !important;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Input Group Styling */
.deal-form-card .input-group-text {
  background-color: #fff;
  border: 1px solid #ced4da;
  border-right: none;
  color: #6c757d;
  /* Gray color for icons */
}

.deal-form-card .form-control {
  border: 1px solid #ced4da;
  padding: 0.75rem 1rem;
}

.deal-form-card .form-control:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Button Styling */
.deal-form-card .btn-submit-deal {
  background-color: #0d6efd;
  /* Matching blue background */
  color: white;
  font-weight: 600;
  padding: 0.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.deal-form-card .btn-submit-deal:hover {
  background-color: #0b5ed7;
  /* Darker blue for hover */
}

.aspect-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Use 'contain' if you want full image without cropping */
  display: block;
  /* border-radius: 12px; */
  /* optional rounded corners */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
  /* optional shadow */
}

  .box {
    width: 100%;
    height: 200px;
  }

  .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fills div and crops extra parts */
  }

  .amenities-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.amenity-badge {
  background: #f1f3f5;
  color: #333;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.banner_image{
  width: 100%;
  height: 200px;
  object-fit: cover;
}
@media (max-width: 767px) {
  .responsive-img {
    height: 100px !important;
  }
}