/* Custom styles for HOTEL MATE */
/* Add your custom CSS here */

/* Header background gradient animation */
.headerbg {
  background: linear-gradient(270deg, #f7d3d3, #ffd7e3, #ffd7fc, #f3d6ff, #e0deff, #dee8ff, #daf6ff, #d4fff5, #d6ffe2, #e1ffdb, #eeffd4, #fffadd, #ffe8ce, #ffd1d1);
  background-size: 200% 200%;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.banner-img-area::before {
  content: none !important;
}

/* Fix banner section spacing for absolute header */
.tj-banner-section-2.headerbg {
  padding-top: 120px !important;
}

@media (max-width: 991px) {
  .tj-banner-section-2.headerbg {
    padding-top: 100px !important;
  }
}

@media (max-width: 767px) {
  .tj-banner-section-2.headerbg {
    padding-top: 80px !important;
  }
}

/* Ensure banner images display properly */
.banner-img-area .banner-img {
  width: 100%;
  height: auto;
}

.banner-img-area .swiper {
  width: 100%;
  height: auto;
}

.banner-img-area .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Custom gray background for service cards that allows hover effects to persist */
.bg-grey-card {
  background-color: var(--tj-color-grey-1);
}

/* Custom background for the number tag to swap colors with the card */
.service-number-bg {
  background-color: #E5E4E2 !important;
}

/* Hide Google Translate banner bar */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0 !important;
}

html {
  top: 0 !important;
}

.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-text-highlight {
  display: none !important;
}

body > .skiptranslate {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Inquiry Form Styles */
.inquiry-form-wrapper {
  background: #ffffff;
  border-radius: 24px;
  padding: 64px 48px;
  box-shadow: 0 18px 32px rgba(26, 26, 46, 0.12);
  border: 1px solid rgba(26, 26, 46, 0.08);
  min-height: 400px; /* Prevent layout shift */
  box-sizing: border-box;
}

.inquiry-header {
  text-align: center;
  margin-bottom: 48px;
}

.inquiry-kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #0066cc;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.inquiry-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
  line-height: 1.2;
}

.inquiry-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.inquiry-form {
  margin-top: 32px;
}

.inquiry-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.inquiry-form .form-group {
  margin-bottom: 24px;
}

.inquiry-form .form-row .form-group {
  margin-bottom: 0;
}

.inquiry-form .form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.inquiry-form .required {
  color: #dc3545;
}

.inquiry-form .form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
  color: #1a1a2e;
}

.inquiry-form .form-control:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.inquiry-form .form-control::placeholder {
  color: #999;
}

.inquiry-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.inquiry-form .alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}

.inquiry-form .alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.inquiry-form .alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.inquiry-form .form-actions {
  margin-top: 32px;
  text-align: center;
}

.inquiry-form .form-actions .tj-primary-btn {
  min-width: 200px;
}

.inquiry-form .form-actions .tj-primary-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 991px) {
  .inquiry-form-wrapper {
    padding: 48px 32px;
  }

  .inquiry-title {
    font-size: 28px;
  }

  .inquiry-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .inquiry-form .form-row .form-group {
    margin-bottom: 24px;
  }
}

@media (max-width: 575px) {
  .inquiry-form-wrapper {
    padding: 32px 24px;
  }

  .inquiry-title {
    font-size: 24px;
  }

  .inquiry-desc {
    font-size: 14px;
  }
}

/* Prevent layout shift from banner background images */
.tj-banner-section-2 .bg-shape-1,
.tj-banner-section-2 .bg-shape-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.tj-banner-section-2 .bg-shape-1 img,
.tj-banner-section-2 .bg-shape-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

/* Fix country dropdown styling in inquiry and partner forms */
.inquiry-form .tj-nice-select-box .nice-select,
.inquiry-form .tj-select select.form-control {
  height: 48px;
  line-height: 48px;
  padding: 0 16px;
}

.inquiry-form .tj-nice-select-box .nice-select .list {
  width: 100% !important;
  max-height: 300px;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.inquiry-form .tj-nice-select-box .nice-select .list .option {
  padding: 10px 16px;
  line-height: 1.5;
}

/* Search input in dropdown */
.inquiry-form .nice-select .nice-select-search {
  padding: 8px 12px;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
  pointer-events: auto;
}

.inquiry-form .nice-select .nice-select-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  pointer-events: auto;
  cursor: text;
}

.inquiry-form .nice-select .nice-select-search input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Ensure list doesn't close when clicking search */
.inquiry-form .nice-select .list {
  pointer-events: auto;
}

/* TEMPORARY: Keep "For" dropdown open for inspection - Remove after debugging */
/* To use: Uncomment the CSS below, save, and refresh the page */
/* The dropdown will stay open so you can inspect it in DevTools */
/*
.mainmenu ul > li:has(a:contains("For")) .mega-menu,
.mainmenu ul > li:nth-of-type(2) .mega-menu {
  transform: scaleY(1) translateX(-50%) !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  pointer-events: auto !important;
  position: absolute !important;
  z-index: 9999 !important;
}
*/

/* Inquiry Form Styles */
.inquiry-form-wrapper {
  background: #ffffff;
  border-radius: 24px;
  padding: 64px 48px;
  box-shadow: 0 18px 32px rgba(26, 26, 46, 0.12);
  border: 1px solid rgba(26, 26, 46, 0.08);
  min-height: 400px; /* Prevent layout shift */
  box-sizing: border-box;
}

.inquiry-header {
  text-align: center;
  margin-bottom: 48px;
}

.inquiry-kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #0066cc;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.inquiry-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
  line-height: 1.2;
}

.inquiry-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.inquiry-form {
  margin-top: 32px;
}

.inquiry-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.inquiry-form .form-group {
  margin-bottom: 24px;
}

.inquiry-form .form-row .form-group {
  margin-bottom: 0;
}

.inquiry-form .form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.inquiry-form .required {
  color: #dc3545;
}

.inquiry-form .form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
  color: #1a1a2e;
}

.inquiry-form .form-control:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.inquiry-form .form-control::placeholder {
  color: #999;
}

.inquiry-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.inquiry-form .alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}

.inquiry-form .alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.inquiry-form .alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.inquiry-form .form-actions {
  margin-top: 32px;
  text-align: center;
}

.inquiry-form .form-actions .tj-primary-btn {
  min-width: 200px;
}

.inquiry-form .form-actions .tj-primary-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 991px) {
  .inquiry-form-wrapper {
    padding: 48px 32px;
  }

  .inquiry-title {
    font-size: 28px;
  }

  .inquiry-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .inquiry-form .form-row .form-group {
    margin-bottom: 24px;
  }
}

@media (max-width: 575px) {
  .inquiry-form-wrapper {
    padding: 32px 24px;
  }

  .inquiry-title {
    font-size: 24px;
  }

  .inquiry-desc {
    font-size: 14px;
  }
}

/* Prevent layout shift from banner background images */
.tj-banner-section-2 .bg-shape-1,
.tj-banner-section-2 .bg-shape-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.tj-banner-section-2 .bg-shape-1 img,
.tj-banner-section-2 .bg-shape-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

/* Fix country dropdown styling in inquiry and partner forms */
.inquiry-form .tj-nice-select-box .nice-select,
.inquiry-form .tj-select select.form-control {
  height: 48px;
  line-height: 48px;
  padding: 0 16px;
}

.inquiry-form .tj-nice-select-box .nice-select .list {
  width: 100% !important;
  max-height: 300px;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.inquiry-form .tj-nice-select-box .nice-select .list .option {
  padding: 10px 16px;
  line-height: 1.5;
}

/* Search input in dropdown */
.inquiry-form .nice-select .nice-select-search {
  padding: 8px 12px;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
  pointer-events: auto;
}

.inquiry-form .nice-select .nice-select-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  pointer-events: auto;
  cursor: text;
}

.inquiry-form .nice-select .nice-select-search input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Ensure list doesn't close when clicking search */
.inquiry-form .nice-select .list {
  pointer-events: auto;
}
