/* Common Layout */
main .container {
  max-width: 1720px !important;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

/* Override Bootstrap 3 media queries for container */
@media (min-width: 768px) {
  main .container {
    max-width: 1720px !important;
  }
}

@media (min-width: 992px) {
  main .container {
    max-width: 1720px !important;
  }
}

@media (min-width: 1200px) {
  main .container {
    max-width: 1720px !important;
  }
}

/*
 * BANNER SECTION STYLES
 */

.main-banner {
  width: 100%;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg) no-repeat center center / cover;
  overflow: visible;
  position: relative;
}


.inner-banner {
  width: 40%;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.search-glass {
  width: 100%;
  padding: 24px;
  border-radius: 20px;
  background: rgba(245, 245, 250, 0.1);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  overflow: visible;
  position: relative;
  z-index: 1;
  /* Allow select dropdown to escape backdrop-filter stacking context */
  isolation: auto;
}

/* Form Controls */
.search-glass .form-control,
.search-glass .form-select {
  padding: 10px 18px;
  border: 1px solid var(--gray-color-300);
  font-size: 1.6rem;
  font-weight: 400;
}

.search-glass .form-control {
  color: var(--gray-color-500);
  background-color: white;
}

.search-glass .form-select {
  background-color: var(--gray-color-10);
  color: var(--gray-color-900) !important;
  font-size: 1.6rem !important;
  font-weight: 400 !important;
}

.search-glass .form-control:focus,
.search-glass .form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Remove double borders between controls */
.search-glass .form-control {
  border-right: 0;
  border-radius: 12px 0 0 12px;
}

.search-glass .form-select {
  width: 100%;
  border: 0;
  border-radius: 0 12px 12px 0;
  min-width: 0;
  box-sizing: border-box;
  overflow: visible;
  text-overflow: ellipsis;
}

/* Button */
.btn-search {
  font-weight: 500;
  font-size: 16px;
}

.search-row {
  border-radius: 12px;
  overflow: hidden;
}

/* Input */
.search-row .form-control {
  border-radius: 0;
}

/* Select */
.search-row .form-select {
  border-radius: 0 12px 12px 0;
}

/* Heading */
.inner-banner h1 {
  color: var(--gray-color-25);
  font-size: 7.2rem;
  font-weight: 400;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  line-height: normal;
}

/* Span */
.search-glass span {
  font-size: 1.6rem;
  font-weight: 600;
  color: white;
}

/* Responsive Styles */
@media (max-width: 767.98px) {
  .main-banner {
    overflow: visible;
    position: relative !important;
    z-index: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh;
    height: auto;
    padding: 20px 0;
  }
  
  .inner-banner {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    overflow: visible;
    position: relative !important;
    z-index: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
  }

  .inner-banner h1 {
    font-size: 2.8rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
  }

  .search-glass {
    padding: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    /* Remove backdrop-filter on mobile to fix native select dropdown positioning */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    /* Remove positioning that creates stacking context */
    position: static !important;
    z-index: auto !important;
    isolation: auto !important;
    box-sizing: border-box;
  }
  
  .search-glass span {
    display: block;
    text-align: left;
  }

  .search-glass .form-control, .search-glass .form-select {
    border-radius: 12px;
  }
  
  /* Ensure 3 blocks in search form have equal bottom spacing on mobile */
  .search-glass .row.gap-3 > .col-12 {
    /* margin-bottom: 1rem !important; */
    width: 100% !important;
  }
  
  .search-glass .row.gap-3 > .col-12:last-child {
    margin-bottom: 0 !important;
  }
  
  /* On mobile, make input and select stack vertically with equal spacing */
  .search-glass .row.gap-3 > .col-12:first-child .row {
    margin-bottom: 0;
    flex-direction: column;
  }
  
  .search-glass .row.gap-3 > .col-12:first-child .row > .col-8,
  .search-glass .row.gap-3 > .col-12:first-child .row > .col-4 {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem;
  }
  
  .search-glass .row.gap-3 > .col-12:first-child .row > .col-4:last-child {
    margin-bottom: 0;
  }
  
  /* Ensure form controls have proper border radius on mobile when stacked */
  .search-glass .row.gap-3 > .col-12:first-child .row > .col-8 .form-control {
    border-radius: 12px !important;
    border-right: 1px solid var(--gray-color-300) !important;
    width: 100% !important;
  }
  
  .search-glass .row.gap-3 > .col-12:first-child .row > .col-4 .form-select {
    border-radius: 12px !important;
    border: 1px solid var(--gray-color-300) !important;
    width: 100% !important;
  }
  
  /* Ensure button has same width as inputs on mobile */
  .search-glass .row.gap-3 > .col-12:last-child .btn-search {
    width: 100% !important;
  }
  
  /* Custom dropdown for mobile - hide native select, show custom */
  /* STEP 1.1: Commenting out the hide/show logic for refactoring */
  /*
  .search-glass .custom-select-wrapper {
    position: relative !important;
    width: 100%;
  }
  
  .search-glass .native-select {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  
  .search-glass .custom-select-mobile {
    position: relative !important;
    width: 100%;
    z-index: 1000;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  */
  
  .search-glass .custom-select-button {
    width: 100%;
    height: 100%;
    padding: 10px 18px;
    background-color: #f5f5fa !important;
    color: #1a1a1a !important;
    border: 1px solid #d1d5db !important;
    border-radius: 12px;
    font-size: 1.6rem !important;
    font-weight: 400;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
  }
  
  .search-glass .custom-select-button .custom-select-text {
    color: #1a1a1a !important;
    font-size: 1.6rem !important;
    font-weight: 400 !important;
    flex: 1;
  }
  
  .search-glass .custom-select-button i {
    color: #1a1a1a !important;
    margin-left: 8px;
  }
  
  .search-glass .custom-select-button:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
  }
  
  .search-glass .custom-select-text {
    flex: 1;
  }
  
  .search-glass .custom-select-button i {
    margin-left: 8px;
    transition: transform 0.2s;
  }
  
  .search-glass .custom-select-mobile.open .custom-select-button i {
    transform: rotate(180deg);
  }
  
  .search-glass .custom-select-menu {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    list-style: none !important;
    padding: 8px 0 !important;
    z-index: 1001 !important;
    display: none !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 4px !important;
  }
  
  .search-glass .custom-select-mobile.open .custom-select-menu {
    display: block !important;
  }
  
  .search-glass .custom-select-menu li,
  .search-glass .custom-select-option {
    padding: 12px 18px !important;
    cursor: pointer !important;
    font-size: 1.6rem !important;
    color: #1a1a1a !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    background: transparent !important;
    white-space: nowrap !important;
    margin: 0 !important;
    border: none !important;
    text-align: left !important;
    list-style: none !important;
    float: none !important;
  }
  
  .search-glass .custom-select-option:hover {
    background-color: #f5f5fa !important;
    color: #1a1a1a !important;
  }
  
  .search-glass .custom-select-option.active {
    background-color: #0a68ff !important;
    color: #ffffff !important;
  }
  
  .search-glass .custom-select-option.active::before {
    content: "✓";
    margin-right: 8px;
    font-weight: bold;
    color: #ffffff !important;
  }
  
  /* On desktop, hide custom dropdown and show native select */
  @media (min-width: 1025px) {
    .main-banner {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    
    .inner-banner {
      width: 40% !important;
      max-width: 40% !important;
      margin: 0 auto;
      display: block;
    }
    
    .search-glass {
      width: 100%;
      padding: 24px;
      backdrop-filter: blur(25px) !important;
      -webkit-backdrop-filter: blur(25px) !important;
      position: relative !important;
      z-index: 1 !important;
    }
    
    /* Completely hide all custom dropdown elements on desktop */
    .search-glass .custom-select-wrapper .custom-select-mobile,
    .search-glass .custom-select-wrapper .custom-select-mobile *,
    .search-glass .custom-select-wrapper .custom-select-mobile.open,
    .search-glass .custom-select-wrapper .custom-select-mobile.open *,
    .search-glass .custom-select-wrapper .custom-select-button,
    .search-glass .custom-select-wrapper .custom-select-menu,
    .search-glass .custom-select-wrapper .custom-select-menu *,
    .search-glass .custom-select-wrapper .custom-select-mobile.open .custom-select-menu,
    .search-glass .custom-select-wrapper .custom-select-mobile.open .custom-select-button,
    .search-glass .custom-select-wrapper .custom-select-option,
    .search-glass .custom-select-wrapper .custom-select-text,
    .search-glass .custom-select-mobile,
    .search-glass .custom-select-mobile *,
    .search-glass .custom-select-button,
    .search-glass .custom-select-menu,
    .search-glass .custom-select-option,
    .search-glass .custom-select-text {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      position: absolute !important;
      width: 0 !important;
      height: 0 !important;
      overflow: hidden !important;
      pointer-events: none !important;
      z-index: -1 !important;
      margin: 0 !important;
      padding: 0 !important;
      border: none !important;
      background: transparent !important;
      clip: rect(0, 0, 0, 0) !important;
    }
    
    /* On desktop, ONLY show native select, hide ALL custom dropdown elements */
    .search-glass .custom-select-wrapper .custom-select-mobile,
    .search-glass .custom-select-wrapper .custom-select-mobile * {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      position: absolute !important;
      width: 0 !important;
      height: 0 !important;
      overflow: hidden !important;
      pointer-events: none !important;
      z-index: -1 !important;
      clip: rect(0, 0, 0, 0) !important;
      margin: 0 !important;
      padding: 0 !important;
      border: none !important;
      background: transparent !important;
    }
    
    .search-glass .native-select {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      position: relative !important;
      width: 100% !important;
      height: auto !important;
      overflow: visible !important;
      pointer-events: auto !important;
      z-index: 1 !important;
    }
    
    /* Ensure form controls have proper border radius on desktop */
    .search-glass .form-control {
      border-right: 0;
      border-radius: 12px 0 0 12px !important;
    }
    
    .search-glass .form-select,
    .search-glass .native-select {
      border: 0;
      border-radius: 0 12px 12px 0 !important;
      width: 100% !important;
      min-width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      padding: 10px 18px !important;
      font-size: 1.6rem !important;
      color: var(--gray-color-900) !important;
      background-color: var(--gray-color-10) !important;
      overflow: visible !important;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    
    /* Ensure select wrapper doesn't interfere */
    .search-glass .custom-select-wrapper {
      position: relative;
      overflow: visible;
      width: 100% !important;
      max-width: 100% !important;
    }
    
    /* Remove any custom dropdown styling on desktop - ensure it's completely hidden */
    .search-glass .custom-select-wrapper > .custom-select-mobile,
    .search-glass .custom-select-wrapper > .custom-select-mobile *,
    .search-glass .custom-select-wrapper > .custom-select-mobile .custom-select-button,
    .search-glass .custom-select-wrapper > .custom-select-mobile .custom-select-menu,
    .search-glass .custom-select-wrapper > .custom-select-mobile .custom-select-option,
    .search-glass .custom-select-wrapper > .custom-select-mobile .custom-select-text,
    .search-glass .custom-select-wrapper > .custom-select-mobile .custom-select-menu li,
    .search-glass .custom-select-wrapper > .custom-select-mobile.open .custom-select-menu,
    .search-glass .custom-select-wrapper > .custom-select-mobile.open .custom-select-menu li {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      position: absolute !important;
      width: 0 !important;
      height: 0 !important;
      overflow: hidden !important;
      pointer-events: none !important;
      z-index: -1 !important;
      clip: rect(0, 0, 0, 0) !important;
      margin: 0 !important;
      padding: 0 !important;
      border: none !important;
      background: transparent !important;
      line-height: 0 !important;
      font-size: 0 !important;
    }
    
    /* Extra specificity to override any mobile/tablet rules */
    .search-glass .row.gap-3 .col-4.col-md-3.custom-select-wrapper .custom-select-mobile,
    .search-glass .row.gap-3 .col-4.col-md-3.custom-select-wrapper .custom-select-mobile *,
    .search-glass .row.gap-3 .col-4.col-md-3.custom-select-wrapper .custom-select-menu,
    .search-glass .row.gap-3 .col-4.col-md-3.custom-select-wrapper .custom-select-menu *,
    .search-glass .row.gap-3 .col-4.col-md-3.custom-select-wrapper .custom-select-menu li,
    .search-glass .row.gap-3 .col-4.col-md-3.custom-select-wrapper .custom-select-option {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      position: absolute !important;
      width: 0 !important;
      height: 0 !important;
      overflow: hidden !important;
      pointer-events: none !important;
      z-index: -1 !important;
      clip: rect(0, 0, 0, 0) !important;
      margin: 0 !important;
      padding: 0 !important;
      border: none !important;
      background: transparent !important;
      line-height: 0 !important;
      font-size: 0 !important;
      text-indent: -9999px !important;
    }
    
    /* Final override - highest specificity to ensure custom menu is hidden */
    .search-glass .custom-select-wrapper .custom-select-mobile .custom-select-menu,
    .search-glass .custom-select-wrapper .custom-select-mobile .custom-select-menu li,
    .search-glass .custom-select-wrapper .custom-select-mobile.open .custom-select-menu,
    .search-glass .custom-select-wrapper .custom-select-mobile.open .custom-select-menu li,
    .search-glass .custom-select-wrapper .custom-select-mobile .custom-select-menu .custom-select-option {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      position: absolute !important;
      width: 0 !important;
      height: 0 !important;
      max-width: 0 !important;
      max-height: 0 !important;
      overflow: hidden !important;
      pointer-events: none !important;
      z-index: -9999 !important;
      clip: rect(0, 0, 0, 0) !important;
      margin: 0 !important;
      padding: 0 !important;
      border: none !important;
      background: transparent !important;
      line-height: 0 !important;
      font-size: 0 !important;
      text-indent: -9999px !important;
      transform: scale(0) !important;
    }
    
    /* Ensure select container has enough width */
    .search-glass .row.gap-3 > .col-12:first-child .row > .col-4.col-md-3 {
      width: 100% !important;
      max-width: 100% !important;
      overflow: visible !important;
    }
    
    /* Ensure form row doesn't clip content */
    .search-glass .row.gap-3 > .col-12:first-child .row {
      overflow: visible !important;
    }
  }
  
  /* Custom select wrapper needs position relative for dropdown */
  .search-glass .row.gap-3 > .col-12:first-child .row > .col-4.custom-select-wrapper {
    position: relative !important;
    overflow: visible !important;
  }
  
  /* Make sure all form elements have same width on mobile */
  .search-glass .row.gap-3 > .col-12 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  
  .search-glass .row.gap-3 > .col-12 .form-control,
  .search-glass .row.gap-3 > .col-12 .form-select,
  .search-glass .row.gap-3 > .col-12 .btn-search {
    width: 100% !important;
    box-sizing: border-box;
  }
}

@media (min-width: 768px) and (max-width: 1024.98px) {
  .main-banner {
    overflow: visible;
    position: relative !important;
    z-index: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh;
    height: auto;
    padding: 20px 0;
  }
  
  .inner-banner {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    position: relative !important;
    z-index: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
  }
  
  .inner-banner h1 {
    text-align: center;
    width: 100%;
  }
  
  .search-glass {
    padding: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    /* Remove backdrop-filter on tablet to fix native select dropdown positioning */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    /* Remove positioning that creates stacking context */
    position: static !important;
    z-index: auto !important;
    isolation: auto !important;
    box-sizing: border-box;
  }
  
  .search-glass span {
    display: block;
    text-align: left;
  }
  
  /* Form controls border radius on tablet - same as mobile */
  .search-glass .form-control,
  .search-glass .form-select {
    border-radius: 12px !important;
  }
  
  .search-glass .form-control {
    border-right: 1px solid var(--gray-color-300) !important;
  }
  
  /* Use custom dropdown on tablet too */
  /* STEP 1.2: Commenting out the hide/show logic for refactoring */
  /*
  .search-glass .custom-select-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
  }
  
  .search-glass .native-select {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  
  .search-glass .custom-select-mobile {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 1000;
    margin: 0;
    padding: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-sizing: border-box !important;
  }
  */
  
  .search-glass .custom-select-button {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 10px 18px;
    display: flex !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    background-color: #f5f5fa !important;
    border: 1px solid #d1d5db !important;
    color: #1a1a1a !important;
    font-size: 1.6rem !important;
    font-weight: 400 !important;
  }
  
  .search-glass .custom-select-button .custom-select-text {
    color: #1a1a1a !important;
    font-size: 1.6rem !important;
    font-weight: 400 !important;
    flex: 1;
  }
  
  .search-glass .custom-select-button i {
    color: #1a1a1a !important;
    margin-left: 8px;
  }
  
  .search-glass .custom-select-button:hover {
    cursor: pointer !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
  }
  
  .search-glass .custom-select-button:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6) !important;
  }
  
  .search-glass .custom-select-menu {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    z-index: 1001 !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    list-style: none !important;
    padding: 8px 0 !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: none !important;
    min-width: 100% !important;
  }
  
  .search-glass .custom-select-mobile.open .custom-select-menu {
    display: block !important;
  }
  
  .search-glass .custom-select-option {
    padding: 12px 18px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    font-size: 1.6rem !important;
    color: #1a1a1a !important;
    display: flex !important;
    align-items: center;
    position: relative;
    background: transparent !important;
    white-space: nowrap;
    margin: 0 !important;
    border: none !important;
  }
  
  .search-glass .custom-select-option:hover {
    background-color: #f5f5fa !important;
  }
  
  .search-glass .custom-select-option.active {
    background-color: #0a68ff !important;
    color: #ffffff !important;
  }
  
  .search-glass .custom-select-option.active::before {
    content: "✓";
    margin-right: 8px;
    font-weight: bold;
    color: #ffffff !important;
  }
  
  /* Ensure form elements stack vertically on tablet like mobile */
  .search-glass .row.gap-3 {
    flex-direction: column !important;
  }
  
  .search-glass .row.gap-3 > .col-12 {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem !important;
  }
  
  .search-glass .row.gap-3 > .col-12:last-child {
    margin-bottom: 0 !important;
  }
  
  .search-glass .row.gap-3 > .col-12:first-child .row {
    flex-direction: column !important;
    margin: 0 !important;
  }
  
  .search-glass .row.gap-3 > .col-12:first-child .row > .col-8,
  .search-glass .row.gap-3 > .col-12:first-child .row > .col-4 {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem;
    flex: none !important;
    box-sizing: border-box !important;
  }
  
  .search-glass .row.gap-3 > .col-12:first-child .row > .col-4:last-child {
    margin-bottom: 0;
  }
  
  /* Ensure input and select have full width and border radius */
  .search-glass .row.gap-3 > .col-12:first-child .row > .col-8 .form-control {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px !important;
    border-right: 1px solid var(--gray-color-300) !important;
    box-sizing: border-box !important;
  }
  
  .search-glass .row.gap-3 > .col-12:first-child .row > .col-4 .custom-select-button {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }
  
  /* Fix dropdown positioning and prevent overlap */
  .search-glass .custom-select-wrapper {
    margin-bottom: 0 !important;
    position: relative !important;
  }
  
  .search-glass .custom-select-mobile {
    position: relative !important;
  }
  
  .search-glass .custom-select-menu {
    z-index: 1001 !important;
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    list-style: none !important;
    padding: 8px 0 !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    display: none !important;
  }
  
  .search-glass .custom-select-mobile.open .custom-select-menu {
    display: block !important;
  }
  
  .search-glass .custom-select-option {
    padding: 12px 18px !important;
    cursor: pointer !important;
    font-size: 1.6rem !important;
    color: #1a1a1a !important;
    display: flex !important;
    align-items: center;
    background: transparent !important;
    white-space: nowrap;
    margin: 0 !important;
    border: none !important;
  }
  
  .search-glass .custom-select-option:hover {
    background-color: #f5f5fa !important;
  }
  
  .search-glass .custom-select-option.active {
    background-color: #0a68ff !important;
    color: #ffffff !important;
  }
  
  .search-glass .custom-select-option.active::before {
    content: "✓";
    margin-right: 8px;
    font-weight: bold;
  }
}

/*
 * END BANNER SECTION STYLES
 */

/*
 * OUTSTANDING SECTION STYLES
 */
.outstanding-feature {
  padding: 64px 0;
}
.outstanding-item {
  background-color: var(--blue-light-50);
  border-radius: 24px;
  padding: 32px 48px;
}

.outstading-item__bg-img {
  background: linear-gradient(196deg, #a4c7ff 4.14%, #0a68ff 88.77%);
  border-radius: 50%;
}
.outstanding-item img {
  width: 80px;
  height: 80px;
  padding: 20px;
}

.outstanding-item span {
  color: var(--gray-color-900);
  font-size: 1.8rem;
  font-weight: 600;
}

.outstanding-item {
  box-sizing: border-box;
}

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

@media (max-width: 1024.98px) {
  .outstanding-item {
    width: calc(25% - 9px);
    padding: 12px 8px;
    border-radius: 14px;
    box-sizing: border-box;
  }

  .outstading-item__bg-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .outstanding-item img {
    width: 24px;
    height: 24px;
    padding: 0;
  }

  .outstanding-item span {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.2;
  }
}

/* =========================
   DESKTOP (>1024.98px)
   1 hàng – 8 items
   ========================= */
@media (min-width: 1025px) {
  .outstanding-wrap {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 16px;
  }
  .outstanding-item {
    width: auto; /* trả về auto */
    flex: 1 1 0;
    padding: 32px 48px;
    border-radius: 24px;
  }

  .outstading-item__bg-img {
    width: 80px;
    height: 80px;
  }

  .outstanding-item img {
    width: 80px;
    height: 80px;
    padding: 20px;
  }

  .outstanding-item span {
    font-size: 1.8rem;
    font-weight: 600;
  }
}

/* ===== HOVER EFFECT ===== */

.outstanding-item:hover .outstading-item__bg-img {
  scale: 1.1;
  transition: all 0.2s ease-in-out;
}
/*
 * END OUTSTANDING SECTION STYLES
 */

/*
 * PLACE FEATURE SECTION STYLES
 */
.list-cards_basic .card-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 450px;
  object-fit: cover;
  border-radius: 24px;
}

.list-cards_basic .card-item h3 {
  color: var(--neutral-color);
  font-size: 2.8rem;
  font-weight: 500;
}

/* Ảnh: để nó fit cột */
.list-cards_basic .card-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}

.list-cards_basic .card-item:hover h3 {
  color: var(--primary-color);
}

.list-cards_basic .card-item:hover img {
  scale: 1.05;
  transition: all 0.3s ease-in-out;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) and (max-width: 1024.98px) {
  .list-cards_basic {
    overflow: visible;
  }
  .list-cards_basic .card-item h3 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .list-cards_basic {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 8px;
  }

  .list-cards_basic.row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .list-cards_basic.row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }

  .list-cards_basic .card-item {
    flex: 0 0 80%;
    max-width: 80%;
    padding: 0;
  }

  .list-cards_basic {
    scroll-snap-type: x mandatory;
  }
  .list-cards_basic .card-item {
    scroll-snap-align: start;
  }

  .list-cards_basic .card-item img{
    height: 320px;
  }
}

/* Che scroll ngang */
.list-cards_basic {
  margin-top: 45px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Chrome, Safari, Edge */
.list-cards_basic::-webkit-scrollbar {
  display: none;
}

/* Firefox */
.list-cards_basic {
  scrollbar-width: none;
}

/* IE / Edge cũ */
.list-cards_basic {
  -ms-overflow-style: none;
}

/* Mobile: Horizontal scroll with peek effect */
@media (max-width: 767.98px) {
  .list-cards_basic .card-item h3{
    font-size: 1.6rem;
  }

  .list-cards_basic {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto !important;
    gap: 8px;
    padding: 0 16px 8px 16px;
  }
  
  .list-cards_basic.row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .list-cards_basic.row > [class*="col-"] {
    padding-right: 0 !important;
  }
  
  .list-cards_basic .card-item {
    min-width: 90%;
    flex-shrink: 0;
  }
}

/* Tablet và Desktop: hiển thị grid, bỏ scroll ngang */
@media (min-width: 768px) {
  .list-cards_basic {
    overflow-x: visible !important;
    display: flex !important;
    flex-wrap: wrap !important;
  }
  
  .list-cards_basic .card-item {
    min-width: auto;
    flex-shrink: 1;
  }
}

/*
 * END PLACE FEATURE SECTION STYLES
 */

/*
  * HOTEL FEATURE SECTION STYLES
  */
/* CARD nền theo spec */
.hlight-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(
      180deg,
      rgba(26, 148, 255, 0) 25.48%,
      #1a94ff 100%
    ),
    var(--bg) lightgray 50% / cover no-repeat;
  text-decoration: none;
  transition: transform 0.2s ease;
  display: block;
  height: 100%;
}

.hlight-card:hover {
  transform: translateY(-2px);
}

.hlight-card--big {
  min-height: 600px;
}

.hlight-card--sm {
  min-height: 180px;
}

.hlight-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.hlight-title {
  font-size: 2.8rem;
  color: white;
}

.hlight-arrow {
  width: 44px;
  height: 44px;
  color: var(--neutral-color-icon);
  background-color: white;
  border: 1px solid var(--gray-color-200);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hlight-people,
.hlight-price {
  font-size: 1.6rem;
  font-weight: 400;
}

.hlight-price .hlight-price_detail,
.hlight-price_detail {
  font-size: 2rem;
  font-weight: 700;
  opacity: 1;
}

.hlight-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
}

/* Item lớn chiếm 2 hàng, 2 cột bên trái (= 1/2 width) */
.hlight-item--big {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

/* 4 items nhỏ xếp 2x2 ở 2 cột bên phải (= 1/2 width còn lại) */
.hlight-item--sm:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}
.hlight-item--sm:nth-child(3) {
  grid-column: 4;
  grid-row: 1;
}
.hlight-item--sm:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}
.hlight-item--sm:nth-child(5) {
  grid-column: 4;
  grid-row: 2;
}

/* DESKTOP & TABLET: Grid layout */
@media (min-width: 768px) and (max-width: 1024.98px) {
  .hlight-arrow {
    width: 40px;
    height: 40px;
  }

  .hlight-title {
    font-size: 2rem;
  }

  .hlight-people,
  .hlight-price {
    font-size: 1.4rem;
    font-weight: 400;
  }

  .hlight-price .hlight-price_detail,
  .hlight-price_detail {
    font-size: 1.6rem;
    font-weight: 700;
    opacity: 1;
  }
}

/* MOBILE: Horizontal scroll */
@media (max-width: 767.98px) {
  .hlight-layout {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin: 0;
    margin-right: -15px;
    padding: 0 0 6px 12px;
  }

  /* Tắt gutter Bootstrap */
  .hlight-layout.row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .hlight-layout.row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }

  /* Mỗi card là 1 slide */
  .hlight-item {
    flex: 0 0 86%;
    max-width: 86%;
    scroll-snap-align: start;
  }

  .hlight-card {
    min-height: 200px;
  }

  .hlight-card--big,
  .hlight-card--sm {
    min-height: 200px;
  }

  /* Responsive font size cho mobile */
  .hlight-title {
    font-size: 1.6rem;
  }

  .hlight-people,
  .hlight-price {
    font-size: 1.4rem;
    font-weight: 400;
  }

  .hlight-price .hlight-price_detail,
  .hlight-price_detail {
    font-size: 1.6rem;
    font-weight: 700;
    opacity: 1;
  }

  /* Hide scrollbar */
  .hlight-layout::-webkit-scrollbar {
    display: none;
  }

  .hlight-layout {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
}
/*
 * END HOTEL SECTION STYLES
 */

/* HERO SLIDEER SECTION STYLES */

/* Owl Carousel Navigation */
.hero-slider {
  width: 100%;
  overflow: hidden; /* quan trọng để không bị tràn ngang */
}

/* Container chính giữ nav buttons */
.hero-slider__container {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

.hero-slider__wrap {
  position: relative;
}

/* ===== OWL CAROUSEL ===== */
.hero-owl {
  margin: 0;
  height: auto !important;
}

.hero-owl .owl-stage-outer {
  overflow: visible!important; /* Cho phép peek */
}

/* Slide item */
.hero-owl .item {
  height: 420px;
  border-radius: 40px;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.2) 78.13%
    ),
    var(--bg) lightgray 50% / cover no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-owl .item.no-overlay {
  height: 420px;
  border-radius: 40px;
  background: var(--bg) center / cover no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay gradient */
.hero-owl .item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.15));
  z-index: 1;
}

.hero-owl .item.no-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

/* Slide content */
.hero-owl .slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.hero-owl .slide-content p {
  color: white;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  font-size: 4.8rem;
  font-weight: 500;
  margin-bottom: 0;
  line-height: normal;
}

/* ===== NAVIGATION BUTTONS ===== */
.hero-owl .owl-nav {
  position: absolute;
  margin-top: 0!important;
  top: 45%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.hero-owl .owl-nav .owl-prev,
.hero-owl .owl-nav .owl-next {
  pointer-events: auto !important;
  position: absolute !important;
  top: 0 !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  border: 1px solid var(--gray-color-200) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.hero-owl .owl-nav .owl-prev {
  left: -30px;
}

.hero-owl .owl-nav .owl-next {
  right: -30px;
}

.hero-owl .owl-nav i {
  font-size: 22px;
  color: var(--gray-color-500);
  line-height: 1;
}

.hero-owl .owl-nav .owl-prev:hover,
.hero-owl .owl-nav .owl-next:hover 
{
  border: 1px solid var(--gray-color-200)!important;
  background: rgba(255, 255, 255, 0.3)!important;
  backdrop-filter: blur(4px)!important;
  transform: scale(1.05)!important;
}

.hero-owl .owl-nav .owl-prev:hover i,
.hero-owl .owl-nav .owl-next:hover i {
  color: #fff!important;
}

.hero-owl .owl-nav .owl-prev.disabled,
.hero-owl .owl-nav .owl-next.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ===== CENTER EFFECT - REMOVED ===== */
/* Tất cả slides đều bình thường, không bị mờ hay nhỏ */
.hero-owl .owl-item {
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
}

/* ===== RESPONSIVE ===== */
/* Mobile: chỉ hiện 1 slide, không peek */
@media (max-width: 767px) {
  .hero-slider {
    padding: 0;
  }

  .hero-slider__container {
    padding: 0;
  }

  .hero-owl {
    margin: 0 !important;
  }

  /* Force không peek trên mobile */
  .hero-owl .owl-stage-outer {
    overflow: hidden !important;
  }

  .hero-owl .owl-stage {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-owl .item,
  .hero-owl .item.no-overlay {
    height: 200px;
    border-radius: 0px;
  }

  .hero-owl .slide-content {
    padding: 55px;
  }
  .hero-owl .slide-content p {
    font-size: 1.4rem;
  }
  .hero-owl .owl-nav {
    top: 45%;
  }
  .hero-owl .owl-nav .owl-prev {
    left: 10px;
    width: 36px;
    height: 36px;
  }

  .hero-owl .owl-nav .owl-next {
    right: 10px;
    width: 36px;
    height: 36px;
  }

  .hero-owl .owl-nav button {
    width: 40px;
    height: 40px;
  }

  .hero-owl .owl-nav button i {
    font-size: 18px;
  }
  .owl-carousel {
    height: auto;
  }
}

/* Tablet & Desktop: có peek */
@media (min-width: 768px) and (max-width: 1024.98px) {
  .hero-owl .item {
    height: 400px;
  }
  .hero-owl .slide-content {
    padding: 40px;
  }
  .hero-owl .slide-content p {
    font-size: 2.4rem;
  }
  .hero-owl .owl-nav {
    top: 45%;
  }

  .hero-owl .owl-nav .owl-prev {
    left: 0px;
  }

  .hero-owl .owl-nav .owl-next {
    right: 0px;
  }
}

@media (min-width: 992px) {
  .hero-owl .item {
    height: 450px;
  }
}

@media (min-width: 1200px) {
  .hero-slider__container {
    max-width: 1320px;
  }

  .hero-owl .item {
    height: 480px;
  }
}

@media (min-width: 1400px) {
  .hero-slider__container {
    max-width: 1720px;
  }
}
/* END HERO SLIDEER SECTION STYLES
 */

/* TRI-CAROUSEL SECTION STYLES */
.tri-section {
  overflow: hidden;
}

/* Container */
.tri-carousel__container {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

.tri-carousel__wrap {
  position: relative;
}

/* ===== OWL CAROUSEL ===== */
.tri-owl {
  margin: 0 -15px;
  height: 100%;
}

.tri-owl .owl-stage-outer {
  overflow: visible;
  padding: 20px 0;
}

/* tri Card */
.tri-card {
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.tri-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tri-card__image {
  position: relative;
  width: 100%;
  height: 410px;
  border-radius: 24px;
  overflow: hidden;
}

.tri-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover!important;
  transition: transform 0.4s ease;
}

.tri-card:hover .tri-card__image img {
  transform: scale(1.08);
}

.tri-card__content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  color: white;
}

.tri-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.tri-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tri-card__price-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2px;
}

.tri-card__price-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* ===== NAVIGATION BUTTONS ===== */
.tri-owl .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.tri-owl .owl-nav .owl-prev,
.tri-owl .owl-nav .owl-next {
  pointer-events: auto!important;
  position: absolute!important;
  top: 0!important;
  width: 56px!important;
  height: 56px!important;
  border-radius: 50%!important;
  border: 1px solid var(--gray-color-200)!important;
  background: rgba(255, 255, 255, 0.9)!important;
  backdrop-filter: blur(12px)!important;
  -webkit-backdrop-filter: blur(12px)!important;
  display: flex!important;
  align-items: center!important;
  justify-content: center!important;
  transition: all 0.2s ease!important;
  cursor: pointer!important;
}

.tri-owl .owl-nav .owl-prev {
  left: -25px;
}

.tri-owl .owl-nav .owl-next {
  right: -25px;
}

.tri-owl .owl-nav .owl-next i,
.tri-owl .owl-nav .owl-prev i {
  font-size: 22px;
  color: var(--gray-color-500);
  line-height: 1;
}

.tri-owl .owl-nav .owl-next:hover,
.tri-owl .owl-nav .owl-prev:hover {
  border: 1px solid var(--gray-color-200)!important;
  background: rgba(255, 255, 255, 0.3)!important;
  backdrop-filter: blur(4px)!important;
  transform: scale(1.05)!important;
}

.tri-owl .owl-nav .owl-prev:hover i,
.tri-owl .owl-nav .owl-next:hover i {
  color: #fff;
}

.tri-owl .owl-nav .disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ===== ALL ITEMS SAME SIZE ===== */
.tri-owl .owl-item {
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .tri-carousel__container {
    padding: 0 10px;
  }

  .tri-owl {
    margin: 0 -10px;
  }

  .tri-card__image {
    height: 200px;
  }

  .tri-card__content {
    padding: 12px;
  }

  /* MOBILE: ẨN NAV BUTTONS */
  .tri-owl .owl-nav {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1024.98px) {
  .tri-card__image {
    height: 280px;
  }

  .tri-owl .owl-nav {
    top: 35%;
  }

  .tri-owl .owl-nav .owl-prev{
    left: 5px;
  }
}
/* END TRI-CAROUSEL SECTION STYLES */

/* TOUR FEATURE SECTION STYLES */
.tour-feature .highlight-block .subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.tour-feature .primary-btn {
  background-color: white;
  color: var(--gray-color-700);
}

/* END TOUR FEATURE SECTION STYLES */

/* EVENT FEATURE SECTION STYLES */
.event-feature .hlight-title {
  color: var(--neutral-color);
}
/* END EVENT FEATURE SECTION STYLES */

/*TOUR TYPE BLOCK SECTION STYLES*/
.tp-hero {
  position: relative;
  height: 570px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tp-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  transition: opacity 0.5s ease;
}

.tp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 148, 255, 0) 24.19%,
    #1a94ff 84.81%
  );
}

.tp-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  color: #fff;
  padding: 40px;
}

.tp-hero__title {
  font-size: 3.2rem;
  font-weight: 600;
  color: white;
}

.tp-hero__description {
  font-size: 2rem;
  max-width: 700px;
  font-weight: 400;
}

/* ===== NAV BUTTONS ===== */
.tp-nav-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gray-color-200);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s ease;
  cursor: pointer;
}

.tp-nav-btn.prev {
  left: -15px;
}

.tp-nav-btn.next {
  right: -15px;
}

.tp-nav-btn i {
  font-size: 22px;
  color: var(--gray-color-500);
}

.tp-nav-btn:hover {
  border: 1px solid var(--gray-color-200);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  transform: translateY(-50%) scale(1.05);
}

.tp-nav-btn:hover i {
  color: #fff;
}

.tp-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

/* ===== TABS ===== */
.tp-tab {
  flex: 1;
  height: 135px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  border: 1.5px solid transparent;
  min-width: 0;
}

.tp-tab__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tp-tab__overlay {
  position: absolute;
  inset: 0;
  background: rgba(120, 120, 120, 0.32);
  backdrop-filter: grayscale(1);
  transition: background 0.3s ease;
}

.tp-tab.active {
  border-color: var(--primary-color);
}

.tp-tab.active .tp-tab__image {
  transform: scale(1.05);
}

.tp-tab:hover .tp-tab__overlay,
.tp-tab.active .tp-tab__overlay {
  background: linear-gradient(
    180deg,
    rgba(26, 148, 255, 0) 24.19%,
    #1a94ff 84.81%
  );
  backdrop-filter: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767.98px) {
  .tp-hero {
    height: auto;
    min-height: 400px;
    border-radius: 0;
  }

  .tp-hero__content {
    padding: 20px;
  }

  .tp-hero__title {
    font-size: 2.4rem;
  }

  .tp-hero__description {
    font-size: 1.6rem;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767.98px) {
  .tp-hero {
    height: 240px;
    border-radius: 16px;
  }

  .tp-tab {
    height: 100px;
  }

  .tp-mobile-slide {
    background-color: #fff;
    overflow: hidden;
    position: relative;
  }

  .tp-mobile-slide__image-wrapper {
    /* New wrapper for image and overlay */
    position: relative;
    overflow: hidden;
    border-radius: 16px; /* Apply border-radius to the wrapper */
  }

  .tp-mobile-slide__image {
    width: 100%!important;
    height: 115px!important; /* Adjusted height for better image display */
    object-fit: cover!important;
    display: block!important; /* Remove any extra space below image */
  }

  .tp-mobile-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(26, 148, 255, 0) 24.19%,
      #1a94ff 84.81%
    );
  }

  .tp-mobile-slide__content {
    text-align: left;
    color: var(--neutral-color); /* Restore original text color */
    margin-top: 0;
    padding-top: 10px;
  }

  .tp-mobile-slide__title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--neutral-color); /* Restore original text color */
    margin-bottom: 8px;
  }

  .tp-mobile-slide__description {
    font-size: 1.4rem;
    color: var(--gray-color-600); /* Restore original text color */
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .tp-mobile-owl .owl-dots {
    text-align: center;
    margin-top: 16px;
  }

  .tp-mobile-owl .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 5px 5px;
    background: var(--gray-color-300);
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity 0.2s ease;
    border-radius: 30px;
  }

  .tp-mobile-owl .owl-dot.active span {
    width: 24px;
    background: var(--primary-color);
  }
}

@media (min-width: 768px) and (max-width: 1024.98px) {
  .tp-hero {
    height: 280px;
  }

  .tp-tab {
    height: 100px;
  }

  .tp-nav-btn {
    width: 48px;
    height: 48px;
  }

  .tp-nav-btn i {
    font-size: 20px;
  }

  .tp-nav-btn.prev,
  .tp-nav-btn.next {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .tp-tab {
    height: 110px;
  }
}

/* END TOUR TYPE BLOCK SECTION STYLES */

/* APP DOWNLOAD BLOCK SECTION STYLES */
.app-download {
  background: var(--bg-desktop) center / cover no-repeat;
  border-radius: 22px;
  aspect-ratio: 1720 / 560;
}

.qr-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border-radius: 8px;
}

.store-badge {
  height: 64px;
}

@media (min-width: 768px) and (max-width: 1024.98px) {
  .app-download {
    border-radius: 0;
  }

  .qr-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    border-radius: 8px;
  }

  .store-badge {
    height: 45px;
  }
}

@media (max-width: 767.98px) {
  .app-download {
    background: var(--bg-mobile, var(--bg-desktop)) center / cover no-repeat;
    aspect-ratio: 375 / 620;
    border-radius: 0;
  }
}

/* END APP DOWNLOAD BLOCK SECTION STYLES */
/*
  Initial state for all animated elements
  - They are invisible and slightly moved down.
  - A transition is set for smooth animation.
*/
.hidden-anim {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

/*
  Final state for animated elements
  - They become fully visible and return to their original position.
*/
.show-anim {
  opacity: 1;
  transform: translateY(0);
}

/*
  Staggered animation delays
  You can apply these classes to children of an animated container
  to make them appear one after another.
*/
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
