/**
 * SAFE IMPROVEMENTS - Elephant Travel
 * Only fixes specific issues without breaking existing layout
 */

/* ========== FIX SLIDER VISIBILITY ========== */
#slideHome {
  display: block !important;
  position: relative;
  min-height: 500px;
  overflow: visible !important;
  margin-bottom: 80px !important;
}

#slideHome .slide {
  display: block !important;
}

#slideHome .slide-item {
  position: relative;
  height: 600px;
  display: block !important;
}

#slideHome .slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block !important;
}

/* ========== FIX SEARCH FORM VISIBILITY ========== */
#formSearchTour {
  display: block !important;
  position: absolute;
  bottom: 0 !important;
  left: 0;
  right: 0;
  z-index: 10;
  transform: translateY(50%) !important;
}

.search-tours-wrap {
  display: block !important;
}

/* ========== FIX MOBILE MENU ON DESKTOP - DISABLED (Keeps original menu) ========== */
/*
@media (min-width: 993px) {
  .open-menu,
  .hamburger {
    display: none !important;
  }

  #mainMenu nav {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  #mainMenu nav ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }
}

@media (max-width: 992px) {
  .open-menu,
  .hamburger {
    display: block !important;
  }
}
*/

/* ========== IMPROVE SEARCH FORM STYLING ========== */

/* Better search form appearance */
#formSearchTour {
  z-index: 100 !important;
}

#formSearchTour .search-tours-wrap {
  background: linear-gradient(135deg, rgba(0, 136, 198, 0.95) 0%, rgba(0, 106, 161, 0.95) 100%);
  backdrop-filter: blur(10px);
  border-radius: 15px 15px 0 0;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
}

.search-tours-tabs {
  background: rgba(0, 0, 0, 0.2);
}

.search-tours-tabs .nav-tabs {
  border-bottom: none;
}

.tours-tab-btn {
  transition: all 0.3s ease;
  padding: 18px 25px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  position: relative;
}

.tours-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.tours-tab-btn.active {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-bottom: 3px solid #ffa500 !important;
}

.tours-tab-btn i {
  font-size: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Improve form inputs */
.domestics-box form,
.outbound-box form {
  padding: 30px 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 15px 15px;
}

.input-ct {
  position: relative;
  flex: 1;
  margin-right: 15px;
  margin-bottom: 10px;
}

.input-ct i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #0088c6;
  font-size: 18px;
  z-index: 2;
  pointer-events: none;
}

/* Bootstrap Select Styling */
.bootstrap-select {
  width: 100% !important;
}

.selectpicker,
.bootstrap-select .dropdown-toggle {
  width: 100% !important;
  height: 52px !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  background: #fff !important;
  border-radius: 10px !important;
  padding-left: 48px !important;
  padding-right: 35px !important;
  font-size: 15px !important;
  color: #333 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  text-align: left !important;
}

.bootstrap-select .dropdown-toggle:hover,
.bootstrap-select .dropdown-toggle:focus {
  border-color: #0088c6 !important;
  background: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 136, 198, 0.3) !important;
}

/* Dropdown Menu - COMPACT & VISIBLE */
.bootstrap-select .dropdown-menu {
  z-index: 9999 !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 3px 12px rgba(0, 136, 198, 0.15) !important;
  margin-top: 6px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  max-height: 280px !important;
  overflow-y: auto !important;
  padding: 6px 0 !important;
  animation: dropdown-fade-in 0.15s ease-out !important;
  min-width: 100% !important;
}

@keyframes dropdown-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bootstrap-select.show .dropdown-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Dropdown Items - COMPACT VERSION */
.bootstrap-select .dropdown-menu li {
  margin: 2px 6px !important;
}

.bootstrap-select .dropdown-menu li a {
  padding: 8px 12px !important;
  color: #555 !important;
  font-size: 13px !important;
  transition: all 0.15s ease !important;
  border-radius: 5px !important;
  display: block !important;
  background: transparent !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.bootstrap-select .dropdown-menu li a:hover {
  background: linear-gradient(135deg, #0088c6 0%, #00a0e3 100%) !important;
  color: #fff !important;
  transform: translateX(2px) !important;
  padding-left: 14px !important;
}

.bootstrap-select .dropdown-menu li.selected a {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%) !important;
  color: #fff !important;
  font-weight: 600 !important;
}

.bootstrap-select .dropdown-menu li.active a {
  background: rgba(0, 136, 198, 0.08) !important;
  color: #0088c6 !important;
  border-left: 2px solid #0088c6 !important;
  padding-left: 10px !important;
}

/* Dropdown Arrow */
.bootstrap-select .dropdown-toggle::after {
  border-top-color: #0088c6 !important;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* Improve submit button */
.submit-btn {
  height: 52px !important;
  min-width: 160px !important;
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4) !important;
  padding: 0 30px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.submit-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 25px rgba(255, 165, 0, 0.5) !important;
  background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%) !important;
}

.submit-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 10px rgba(255, 165, 0, 0.3) !important;
}

.submit-btn i {
  margin-right: 10px !important;
  font-size: 18px !important;
}

/* Placeholder styling */
.bootstrap-select .dropdown-toggle .filter-option {
  color: #666 !important;
}

.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
  color: #333 !important;
}

/* Scrollbar for dropdown - THINNER */
.bootstrap-select .dropdown-menu::-webkit-scrollbar {
  width: 5px;
}

.bootstrap-select .dropdown-menu::-webkit-scrollbar-track {
  background: rgba(0, 136, 198, 0.03);
  border-radius: 10px;
  margin: 6px 0;
}

.bootstrap-select .dropdown-menu::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0088c6 0%, #00a0e3 100%);
  border-radius: 10px;
  transition: background 0.2s ease;
}

.bootstrap-select .dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #006ba1 0%, #0088c6 100%);
}

/* NO dividers - keep it clean and compact */

/* Search box in dropdown */
.bootstrap-select .bs-searchbox {
  padding: 6px 10px !important;
  background: rgba(0, 136, 198, 0.03) !important;
  border-bottom: 1px solid rgba(0, 136, 198, 0.1) !important;
}

.bootstrap-select .bs-searchbox .form-control {
  height: 36px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  border: 1px solid rgba(0, 136, 198, 0.2) !important;
  border-radius: 6px !important;
  background: #fff !important;
}

.bootstrap-select .bs-searchbox .form-control:focus {
  border-color: #0088c6 !important;
  box-shadow: 0 0 0 2px rgba(0, 136, 198, 0.1) !important;
  outline: none !important;
}

/* No results text */
.bootstrap-select .no-results {
  padding: 12px 15px !important;
  color: #999 !important;
  font-size: 13px !important;
  text-align: center !important;
  font-style: italic !important;
}

/* Optimize dropdown performance */
.bootstrap-select .dropdown-menu.inner {
  position: static !important;
  float: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Form row alignment */
.domestics-box form .row,
.outbound-box form .row {
  align-items: flex-end !important;
}

/* Responsive search form */
@media (max-width: 992px) {
  #formSearchTour .search-tours-wrap {
    border-radius: 10px;
    margin: 0 10px;
  }

  .tours-tab-btn {
    padding: 15px 12px !important;
    font-size: 13px !important;
  }

  .tours-tab-btn i {
    font-size: 16px;
    margin-right: 5px;
  }

  .domestics-box form,
  .outbound-box form {
    padding: 20px 15px;
  }

  .input-ct {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .submit-btn {
    width: 100% !important;
    margin-top: 10px !important;
  }
}

@media (max-width: 768px) {
  #slideHome .slide-item {
    height: 450px;
  }

  #formSearchTour {
    position: relative !important;
    margin-top: -50px;
    z-index: 100;
  }

  .tours-tab-btn {
    padding: 12px 8px !important;
    font-size: 12px !important;
  }

  .bootstrap-select .dropdown-toggle {
    height: 48px !important;
    font-size: 14px !important;
  }
}

/* ========== IMPROVE CONTACT BUTTONS ========== */

/* Desktop: Side buttons */
@media (min-width: 769px) {
  .mobile-fixed-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  .contact-button-mobile {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    right: -5px;
  }

  .contact-button-mobile:hover {
    right: 0;
    width: auto;
    padding: 0 15px;
  }

  .contact-button-mobile span {
    display: none;
    margin-left: 10px;
    font-size: 14px;
    white-space: nowrap;
  }

  .contact-button-mobile:hover span {
    display: inline-block;
  }

  .contact-button-mobile svg,
  .contact-button-mobile .contact-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }
}

/* Mobile: Bottom bar */
@media (max-width: 768px) {
  .mobile-fixed-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 5px;
  }

  .contact-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
  }

  .contact-button-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 5px;
    border-radius: 8px;
    min-height: 60px;
  }

  .contact-button-mobile svg,
  .contact-button-mobile .contact-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 4px;
  }

  .contact-button-mobile span {
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
  }

  /* Prevent body scroll jump */
  body {
    padding-bottom: 90px;
  }
}

/* ========== SCROLL TO TOP BUTTON ========== */

.scroll-to-top-btn {
  position: fixed;
  bottom: 110px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0088c6 0%, #00a8e8 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 998;
  box-shadow: 0 4px 12px rgba(0, 136, 198, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.scroll-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 136, 198, 0.4);
}

@media (max-width: 768px) {
  .scroll-to-top-btn {
    bottom: 100px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
}

/* ========== IMPROVE TOUR CARDS ========== */

.tour-item {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.tour-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
  border-color: #0088c6;
}

.tour-item .tour-image {
  overflow: hidden;
}

.tour-item:hover .tour-image img {
  transform: scale(1.1);
}

.tour-item .tour-image img {
  transition: transform 0.5s ease;
}

/* ========== IMPROVE CATEGORY TAGS ========== */

.category a {
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 136, 198, 0.2);
}

/* ========== SMOOTH ANIMATIONS ========== */

* {
  scroll-behavior: smooth;
}

a, button {
  transition: all 0.3s ease;
}

img {
  transition: opacity 0.3s ease;
}

/* ========== RESPONSIVE IMPROVEMENTS ========== */

@media (max-width: 768px) {
  #slideHome .slide-item {
    height: 400px;
  }

  .title-slide {
    width: 90% !important;
    bottom: 140px !important;
  }

  .title-slide .line-1,
  .title-slide .line-3 {
    font-size: 20px !important;
  }

  .title-slide .line-2 {
    font-size: 40px !important;
  }

  #formSearchTour {
    position: static;
    margin-top: -50px;
  }

  .domestics-box form {
    flex-direction: column;
  }

  .input-ct {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* ========== FIX COMMON ISSUES ========== */

/* Ensure all important elements are visible */
body, #Main, .container {
  display: block !important;
}

/* Fix any potential overflow */
body {
  overflow-x: hidden;
}

/* Better font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== FIX TOUR GALLERY IMAGES ========== */

/* Tour gallery visibility */
#tourGallery {
  display: block !important;
  position: relative !important;
  margin-bottom: 30px !important;
}

/* Gallery items */
#tourGallery .product,
#tourGallery .tour-gallery-item {
  display: block !important;
  position: relative !important;
  margin-bottom: 15px !important;
}

/* Gallery images - CRITICAL FIX */
#tourGallery img,
.tour-gallery-item img,
.product-images img,
.product img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: cover !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Watermark wrapper */
.watermarked {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 8px !important;
}

.watermarked img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* Gradient Fade Effect - DISABLED (Removed white line across images) */
/*
.watermarked::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 30% !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}
*/

/* Watermark overlay */
.watermarked .overlay {
  position: absolute !important;
  bottom: 10px !important;
  right: 10px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  padding: 5px 12px !important;
  border-radius: 5px !important;
  display: block !important;
  z-index: 2 !important;
}

.watermarked .overlay .text {
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* Owl carousel in tour gallery */
#tourGallery .owl-carousel {
  display: block !important;
}

#tourGallery .owl-carousel .item {
  display: block !important;
  position: relative !important;
}

#tourGallery .owl-carousel .item img {
  display: block !important;
  width: 100% !important;
  height: 400px !important;
  object-fit: cover !important;
}

/* Fancybox gallery grid */
.tour-gallery-item {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
}

.tour-gallery-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-3px) !important;
}

/* Product images - REMOVED force display to fix thumbnail gallery overflow */
/* The thumbnails should be hidden and only shown in fancybox lightbox */
/*
.product-images {
  display: block !important;
  position: relative !important;
}

.product-images img {
  display: block !important;
  width: 100% !important;
}
*/

/* Zoom button */
.zoom,
.view-product {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background: rgba(0, 0, 0, 0.6) !important;
  color: #fff !important;
  padding: 8px 15px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 10 !important;
  font-size: 14px !important;
}

.zoom:hover,
.view-product:hover {
  background: rgba(0, 136, 198, 0.9) !important;
  transform: scale(1.05) !important;
}

/* Fix lazy loading issues */
img[data-src] {
  min-height: 200px !important;
  background: #f0f0f0 !important;
}

img.loaded,
img[src]:not([src=""]) {
  background: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #tourGallery .owl-carousel .item img {
    height: 250px !important;
  }

  .tour-gallery-item {
    margin-bottom: 10px !important;
  }
}

/* ========== GRADIENT FADE FOR TOUR ITEMS ========== */

/* Tour items gradient fade */
.tour-item .tour-image,
.tour-item-grid .thumbnail,
.tour-item-list .tour-image,
.features-media,
.thumbnail {
  position: relative !important;
  overflow: hidden !important;
}

/* Gradient overlay for all tour thumbnails - DISABLED to avoid double gradient */
/* Using inline CSS in header.php instead for better control */
/*
.tour-item .tour-image::after,
.tour-item-grid .thumbnail::after,
.features-media::after,
.thumbnail.watermarked::before {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 60% !important;
  background: linear-gradient(to top,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.7) 25%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  transition: opacity 0.3s ease !important;
}
*/

/* Reduce fade on hover for better visibility - DISABLED */
/*
.tour-item:hover .tour-image::after,
.tour-item-grid:hover .thumbnail::after,
.features-media:hover::after {
  opacity: 0.7 !important;
}
*/

/* Ensure content above gradient */
.tour-item .inner,
.tour-item .price,
.tour-item .title-tour,
.thumbnail .overlay {
  position: relative !important;
  z-index: 2 !important;
}

/* Product/tour main image gradient - DISABLED to avoid double gradient */
/* Using inline CSS in header.php instead for better control */
/*
.product-images,
#tourGallery .product,
.col-md-6 .product,
.product {
  position: relative !important;
}

.product-images::after,
.col-md-6 .product::after,
.product::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 50% !important;
  background: linear-gradient(to top,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.7) 30%,
    rgba(255, 255, 255, 0.4) 60%,
    transparent 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.single-tour .product::after,
.single-post .product::after {
  height: 55% !important;
}
*/

/* ========== MEGA MENU IMPROVEMENTS - DISABLED (User prefers original design) ========== */
/*
.mega-menu > ul {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 20px !important;
  left: 0 !important;
  right: 0 !important;
  padding: 25px 30px !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border-top: 3px solid #006c9d !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}

.mega-menu > ul > li {
  padding: 0 !important;
  margin: 0 0 20px 0 !important;
  break-inside: avoid !important;
}

.mega-menu > ul > li > a {
  text-decoration: none !important;
  text-transform: uppercase !important;
  text-align: left !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #fff !important;
  padding: 8px 14px !important;
  display: block !important;
  background: linear-gradient(135deg, #006c9d 0%, #004a6b 100%) !important;
  margin-bottom: 8px !important;
  border-radius: 3px !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 5px rgba(0, 108, 157, 0.2) !important;
}

.mega-menu > ul > li > a:hover {
  background: linear-gradient(135deg, #004a6b 0%, #003147 100%) !important;
  transform: translateX(2px) !important;
  box-shadow: 0 3px 8px rgba(0, 108, 157, 0.3) !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul {
  padding: 0 !important;
  margin: 0 !important;
  max-height: 300px !important;
  overflow-y: auto !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul::-webkit-scrollbar {
  width: 4px !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
  border-radius: 2px !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul::-webkit-scrollbar-thumb {
  background: #006c9d !important;
  border-radius: 2px !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul > li {
  margin: 0 0 1px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul > li > a {
  padding: 6px 14px !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  color: #444 !important;
  display: block !important;
  border-radius: 2px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  line-height: 1.5 !important;
  border-left: 2px solid transparent !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul > li > a:hover {
  background: #f5f9fc !important;
  color: #006c9d !important;
  border-left-color: #006c9d !important;
  padding-left: 18px !important;
}

#menu-menu-chinh .mega-menu > ul > li + li {
  border-left: none !important;
}

#mainMenu .menu-item-has-children.mega-menu ul li.menu-item:before {
  display: none !important;
}

#mainMenu .menu-menu-chinh-container ul li > ul {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
  border-radius: 0 0 8px 8px !important;
}

@media (max-width: 1200px) {
  .mega-menu > ul {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 15px !important;
    padding: 20px 25px !important;
  }
}

@media (max-width: 991px) {
  .mega-menu > ul {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 15px !important;
    padding: 15px 20px !important;
  }

  #menu-menu-chinh .mega-menu > ul > li > ul {
    max-height: 200px !important;
  }
}

@media (max-width: 767px) {
  .mega-menu > ul {
    grid-template-columns: 1fr !important;
    padding: 10px 15px !important;
  }

  .mega-menu > ul > li {
    margin: 0 0 15px 0 !important;
  }
}
*/

/* ========== MAIN MENU DROPDOWN IMPROVEMENTS - DISABLED ========== */
/*
#mainMenu .menu-menu-chinh-container ul li > ul {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
  border-radius: 0 0 8px 8px !important;
  padding: 15px 10px !important;
  min-width: 220px !important;
}

#mainMenu .menu-menu-chinh-container ul li > ul > li {
  margin: 0 !important;
  padding: 0 !important;
}

#mainMenu .menu-menu-chinh-container ul li > ul > li > a {
  padding: 10px 15px !important;
  color: #333 !important;
  font-size: 14px !important;
  display: block !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

#mainMenu .menu-menu-chinh-container ul li > ul > li > a:hover {
  background: #f0f8ff !important;
  color: #006c9d !important;
  padding-left: 18px !important;
}

#mainMenu .menu-menu-chinh-container ul li > ul > li:before {
  display: none !important;
}
*/

/* ========== MAIN NAVIGATION ITEMS - DISABLED ========== */
/*
#mainMenu .menu-menu-chinh-container > ul > li.menu-item > a {
  padding: 20px 15px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #333 !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

#mainMenu .menu-menu-chinh-container > ul > li.menu-item > a:hover,
#mainMenu .menu-menu-chinh-container > ul > li.menu-item.current-menu-item > a {
  color: #006c9d !important;
}

#mainMenu .menu-menu-chinh-container > ul > li.menu-item > a:after {
  content: '' !important;
  position: absolute !important;
  bottom: 15px !important;
  left: 15px !important;
  right: 15px !important;
  height: 2px !important;
  background: #006c9d !important;
  transform: scaleX(0) !important;
  transition: transform 0.3s ease !important;
}

#mainMenu .menu-menu-chinh-container > ul > li.menu-item > a:hover:after,
#mainMenu .menu-menu-chinh-container > ul > li.menu-item.current-menu-item > a:after {
  transform: scaleX(1) !important;
}

#mainMenu .menu-menu-chinh-container > ul > li.menu-item-has-children > a:before {
  content: '\f107' !important;
  font-family: 'Font Awesome 5 Free' !important;
  font-weight: 900 !important;
  margin-left: 5px !important;
  font-size: 12px !important;
  transition: transform 0.3s ease !important;
}

#mainMenu .menu-menu-chinh-container > ul > li.menu-item-has-children:hover > a:before {
  transform: rotate(180deg) !important;
}
*/

/* ========== FORCE RESET MEGA MENU TO ORIGINAL DESIGN - DISABLED ========== */
/*
.mega-menu > ul {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  left: 0 !important;
  right: 0 !important;
  padding: 10px 5px !important;
  background-color: rgb(255, 255, 255) !important;
  box-shadow: none !important;
  border-top: none !important;
  border-bottom: 2px solid #006c9d !important;
  max-width: none !important;
  width: auto !important;
  margin: 0px !important;
}

.mega-menu > ul > li {
  flex: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  break-inside: auto !important;
  border-right: none !important;
  border-left: none !important;
}

.mega-menu > ul > li > a {
  text-decoration: underline !important;
  text-transform: uppercase !important;
  text-align: center !important;
  font-size: inherit !important;
  font-weight: normal !important;
  color: inherit !important;
  padding: inherit !important;
  display: block !important;
  background: none !important;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
  transition: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

.mega-menu > ul > li > a:hover {
  background: none !important;
  transform: none !important;
  box-shadow: none !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul {
  padding: inherit !important;
  margin: inherit !important;
  max-height: none !important;
  overflow-y: visible !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul::-webkit-scrollbar {
  width: auto !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul::-webkit-scrollbar-track {
  background: transparent !important;
  border-radius: 0 !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul::-webkit-scrollbar-thumb {
  background: transparent !important;
  border-radius: 0 !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul > li {
  margin: inherit !important;
  padding: inherit !important;
  list-style: none !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul > li > a {
  padding: 1px 1.3rem !important;
  font-weight: normal !important;
  font-size: inherit !important;
  color: inherit !important;
  display: block !important;
  border-radius: 0 !important;
  transition: none !important;
  text-decoration: none !important;
  line-height: inherit !important;
  border-left: none !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

#menu-menu-chinh .mega-menu > ul > li > ul > li > a:hover {
  background: inherit !important;
  color: inherit !important;
  border-left-color: transparent !important;
  padding-left: 1.3rem !important;
}

#menu-menu-chinh .mega-menu > ul > li + li {
  border-left: 1px dashed #5a5a5a !important;
}

#mainMenu .menu-item-has-children.mega-menu ul li.menu-item:before {
  display: inline !important;
  font-size: 8px !important;
}
*/

/* ========== NEW SEARCH FORM DESIGN ========== */

/* New search form wrapper */
.search-tours-wrap-new {
  background: #fff !important;
  padding: 30px !important;
  border-radius: 8px !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
  margin-top: 20px !important;
}

.search-tours-wrap-new .row {
  margin: 0 -10px !important;
}

.search-tours-wrap-new .form-group-new {
  padding: 0 10px !important;
  margin-bottom: 20px !important;
}

.search-tours-wrap-new label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin-bottom: 8px !important;
  text-transform: capitalize !important;
}

.search-tours-wrap-new .form-control,
.search-tours-wrap-new .selectpicker {
  width: 100% !important;
  height: 48px !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 6px !important;
  padding: 10px 15px !important;
  font-size: 14px !important;
  color: #333 !important;
  background: #fff !important;
  transition: all 0.3s ease !important;
}

.search-tours-wrap-new .form-control:focus,
.search-tours-wrap-new .selectpicker:focus,
.search-tours-wrap-new .bootstrap-select.open .dropdown-toggle {
  border-color: #4CAF50 !important;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1) !important;
  outline: none !important;
}

.search-tours-wrap-new .btn-search-new {
  width: 100% !important;
  max-width: 300px !important;
  height: 50px !important;
  background: #4CAF50 !important;
  border: none !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  letter-spacing: 1px !important;
  margin: 10px auto 0 !important;
  display: block !important;
  box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3) !important;
}

.search-tours-wrap-new .btn-search-new:hover {
  background: #45a049 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4) !important;
}

.search-tours-wrap-new .btn-search-new i {
  margin-right: 8px !important;
}

/* Dynamic column width based on visible fields */
.search-tours-wrap-new .row .col-md-3 {
  flex: 1 !important;
  max-width: 100% !important;
}

/* Force dropdown to open upward (dropup) */
.search-tours-wrap-new .bootstrap-select {
  position: relative !important;
}

.search-tours-wrap-new .bootstrap-select .dropdown-menu {
  position: absolute !important;
  bottom: 100% !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  transform: translateY(-2px) !important;
  border-radius: 6px 6px 0 0 !important;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.15) !important;
  max-height: 300px !important;
  overflow-y: auto !important;
}

.search-tours-wrap-new .bootstrap-select.show .dropdown-toggle::after {
  transform: rotate(180deg) !important;
}

/* Dropdown items styling */
.search-tours-wrap-new .bootstrap-select .dropdown-menu li a {
  padding: 10px 15px !important;
  font-size: 14px !important;
  color: #333 !important;
  transition: all 0.2s ease !important;
}

.search-tours-wrap-new .bootstrap-select .dropdown-menu li a:hover,
.search-tours-wrap-new .bootstrap-select .dropdown-menu li.selected a {
  background-color: #f0f9f0 !important;
  color: #4CAF50 !important;
}

.search-tours-wrap-new .bootstrap-select .dropdown-menu li.active a {
  background-color: #4CAF50 !important;
  color: #fff !important;
}

/* Search box in dropdown */
.search-tours-wrap-new .bootstrap-select .bs-searchbox input {
  border: 2px solid #e0e0e0 !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  margin: 10px !important;
  width: calc(100% - 20px) !important;
}

.search-tours-wrap-new .bootstrap-select .bs-searchbox input:focus {
  border-color: #4CAF50 !important;
  outline: none !important;
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 80px 0 !important;
  background: #f8f9fa !important;
  text-align: center !important;
}

.why-choose-section .section-title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #333 !important;
  margin-bottom: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.why-choose-section .section-subtitle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 15px !important;
  margin-bottom: 60px !important;
}

.why-choose-section .section-subtitle::before,
.why-choose-section .section-subtitle::after {
  content: '' !important;
  width: 80px !important;
  height: 2px !important;
  background: #FFA726 !important;
}

.why-choose-section .star-rating {
  color: #FFA726 !important;
  font-size: 20px !important;
}

.why-choose-section .features-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 40px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

.why-choose-section .feature-item {
  text-align: center !important;
  position: relative !important;
}

.why-choose-section .feature-icon {
  width: 140px !important;
  height: 140px !important;
  margin: 0 auto 25px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 60px !important;
  transition: all 0.4s ease !important;
  position: relative !important;
  z-index: 1 !important;
}

.why-choose-section .feature-icon::before {
  content: '' !important;
  position: absolute !important;
  top: -10px !important;
  left: -10px !important;
  right: -10px !important;
  bottom: -10px !important;
  border-radius: 50% !important;
  background: inherit !important;
  opacity: 0.2 !important;
  z-index: -1 !important;
}

.why-choose-section .feature-icon.icon-green {
  background: #4CAF50 !important;
  color: #fff !important;
}

.why-choose-section .feature-icon.icon-blue {
  background: #2196F3 !important;
  color: #fff !important;
}

.why-choose-section .feature-icon.icon-red {
  background: #F44336 !important;
  color: #fff !important;
}

.why-choose-section .feature-item:hover .feature-icon {
  transform: translateY(-10px) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

.why-choose-section .feature-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #333 !important;
  margin-bottom: 10px !important;
  text-transform: uppercase !important;
}

.why-choose-section .feature-item p {
  font-size: 14px !important;
  color: #666 !important;
  line-height: 1.6 !important;
}

.why-choose-section .connecting-line {
  position: absolute !important;
  top: 70px !important;
  left: 50% !important;
  width: calc(100% - 140px) !important;
  height: 2px !important;
  background: linear-gradient(to right, transparent, #ddd, transparent) !important;
  z-index: 0 !important;
}

/* Responsive */
@media (max-width: 991px) {
  .why-choose-section .features-grid {
    grid-template-columns: 1fr !important;
    gap: 60px !important;
  }

  .why-choose-section .connecting-line {
    display: none !important;
  }

  .search-tours-wrap-new {
    padding: 20px !important;
  }

  .search-tours-wrap-new .form-group-new {
    margin-bottom: 15px !important;
  }
}

@media (max-width: 767px) {
  .why-choose-section {
    padding: 60px 0 !important;
  }

  .why-choose-section .section-title {
    font-size: 22px !important;
  }

  .search-tours-wrap-new .btn-search-new {
    max-width: 100% !important;
  }
}
