@font-face {
  font-family: 'King Sans';
  src: url('../font/KingSansRegular.woff2') format('woff2'),
      url('../font/KingSansRegular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   FULLSCREEN TRIP PLANNER - Cross-Browser Fix
   ======================================== */

/* Ensure consistent viewport sizing across browsers */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Fullscreen container for trip planner */
.trip-que {
  min-height: calc(100vh - 80px); /* Full viewport minus header */
  min-height: calc(100dvh - 80px); /* Dynamic viewport height for mobile browsers */
  width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  -webkit-transform: translateZ(0); /* Force GPU acceleration for smooth rendering */
  transform: translateZ(0);
}

/* Desktop: Fullscreen layout */
@media (min-width: 1024px) {
  .trip-que {
    min-height: calc(100vh - 80px);
  }

  .trip-wrapper-content {
    max-width: 900px !important; /* Wider content area */
    width: 90%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .trip-wrapper-header {
    flex-shrink: 0;
  }
}

/* Cross-browser zoom/scale normalization */
.trip-que,
.trip-que * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fix for Safari compression */
@supports (-webkit-touch-callout: none) {
  .trip-que {
    min-height: -webkit-fill-available;
  }
}

/* Fix for Chrome zoom issues - normalize scaling */
.trip-que {
  font-size: 16px; /* Base font size to prevent zoom scaling */
  line-height: 1.5;
}

/* Prevent theme from overriding sizes */
.trip-que .trip-wrapper-content,
.trip-que .trip-wrapper-content * {
  box-sizing: border-box;
}

/* ======================================== */

body {
  font-family: sans-serif;
}

.question-btn {
  display: flex;
  justify-content: space-between;

}
  .password-rules {
    font-size: 0.85rem;
    margin-top: 5px;
  }
  .password-rules li {
    color: red; /* Initially red */
    display: flex;
    align-items: center;
  }
  .password-rules li.valid {
    color: green;
  }
  .password-rules li::before {
    content: "•";
    margin-right: 6px;
  }

  

/* Default layout for larger screens: single column */
.password-rules li {
    padding: 5px 0;
}

/* Mobile view: two columns with two items each */
@media (max-width: 768px) {
    .password-rules {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        gap: 2px; /* Space between columns and rows */
    }
    .password-rules li {
        /* padding: 5px; */
            padding: 4px 0;
    font-size: 12px;
        box-sizing: border-box;
    }
    /* Ensure the items are ordered: 1 and 2 in first column, 3 and 4 in second column */
    .password-rules li:nth-child(1),
    .password-rules li:nth-child(2) {
        grid-column: 1;
    }
    .password-rules li:nth-child(3),
    .password-rules li:nth-child(4) {
        grid-column: 2;
    }
    .password-rules li:nth-child(1) {
        grid-row: 1;
    }
    .password-rules li:nth-child(2) {
        grid-row: 2;
    }
    .password-rules li:nth-child(3) {
        grid-row: 1;
    }
    .password-rules li:nth-child(4) {
        grid-row: 2;
    }
}
.question-btn .btn {
  max-width: 100px;
}
  .password-rules {
    font-size: 0.85rem;
    margin-top: 5px;
  }
  .password-rules li {
    color: gray;
    display: flex;
    align-items: center;
  }
  .password-rules li.valid {
    color: green;
  }
  .password-rules li::before {
    content: "•";
    margin-right: 6px;
  }
.trip-que .btn-group .btn.back-btn {
  border-style: solid;
  background: white;
  border-width: 2px;
  border-color: #e0e0e0;
  border-radius: 20px;
  padding: 12px 24px;
  min-width: 150px;
}
.trip-que .btn-group .btn.next-btn,
.trip-que .btn-group .btn.submit-btn {
  border-radius: 20px;
  padding: 12px 24px;
  min-width: 130px;
}
@media only screen and (max-width: 767px){
  .trip-que .btn-group .btn.back-btn {
  min-width: 100px;
}
.trip-que .btn-group .btn.next-btn{
  min-width: 100px;
}
.trip-que .btn-group .btn.submit-btn {
  min-width: 120px;
}
}

.trip-que .btn-group .btn.back-btn:focus {
  box-shadow: none;
}
.trip-que h2 {
  /* font-size: 50px; */
  font-weight: 700;
  font-family: "Inter";
  margin-bottom: 50px;

}@media only screen and (min-width: 787px) {
  #question-3-wrapper{
    /* justify-content: space-between; */
        justify-content: center;
  }
    #question-3-wrapper .option {
        min-height: 180px;
        min-width: 180px;
    }
    #question-3-wrapper .option svg {
        width: 48px;
        height: 48px;
    }
    #question-3-wrapper .option span {
        font-size: 18px;
        margin-top: 8px;
        display: block;
    }
}

.form-group input:checked,
.form-group input:focus {
  outline: none;
}

.trip-que .radio-group label {
  padding-right: 20px;
}
.trip-que #trip-planner-form input {
  border-radius: 2rem;
  height: calc(1.5em + 0.75rem + 20px);
  padding-left: 24px;
}

.trip-que select {
  border-radius: 20px !important;
  padding: 10px 20px !important;
  height: calc(1.5em + 0.75rem + 20px) !important;
  min-width: 150px;
}
.hidden-radio {
  display: none;
}
.button-group {
  display: flex;
}
.button-group button {
  border-radius: 24px;
  border-style: solid;
  border-width: 2px;
  background: white;
  border-color: #e0e0e0;
  padding: 12px 24px;
  width: 150px;
  margin: 10px;
}
@media (max-width: 768px) {
    .button-group button {
        width: 100px;
    }
}

/* Small screens (mobile) */
@media (max-width: 480px) {
    .button-group button {
        width: 80px;
        border-radius: 24px;
        border-style: solid;
        border-width: 2px;
        background: white;
        border-color: #e0e0e0;
        padding: 12px 24px;
    }
}
.button-group button:first-child {
  margin-left: 0px;
}
.button-group button.active {
  border-color: black;
}
header,
footer {
  display: none;
}
.trip-que {
  max-width: 100% !important;
  margin: 0px !important;
  position: relative;
  /* Fullscreen layout handled by earlier rules */
}
.trip-wrapper-content {
    max-width: 900px; /* Wider for better desktop experience */
    width: 90%;
    margin: 0px auto;
    /* overflow-x: hidden; */
    margin-top: 0px;
}
@media (max-width: 1024px) {
    .trip-wrapper-content {
        max-width: 70%;
    }
}

/* Small screens (mobile) */
@media (max-width: 480px) {
    .trip-wrapper-content {
        max-width: 90%;
    }
}
.trip-wrapper-content  label{
    font-size: 1rem !important;
    /* white-space: inherit !important; */
    
}
.trip-logo {
  display: flex;
  justify-content: center;
  padding: 30px 0px;
  position: relative;
}
.trip-logo img {
  width: 300px;
}
.trip-step-progress {
  display: flex;
  height: 8px;
}
.trip-step-progress .status-bar {
  background: linear-gradient(90deg, blue, #dfd3ee);
  transition: width 0.2s cubic-bezier(0.46, 0.96, 0.82, 1) 0s;
}
.align-right {
  display: flex;
  justify-content: flex-end;
}
.close-trip {
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
}
.btn-group-wrapper {
  /* position: absolute; */
  width: 100%;
  padding-bottom: 40px;
  left: 10px;
}
#question-3-wrapper {
  display: flex;
  flex-wrap: wrap;
}
#question-3-wrapper .option {
  display: flex;
  text-align: center;
  flex-direction: column;
  /* width: 200px; */
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  margin: 10px;
}
#question-3-wrapper .option > div {
  width: 48px;
  margin: auto;
  height: 48px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#question-3-wrapper .option.selected {
  border-color: black;
}
#question-3-wrapper .option.selected > div {
  background-color: #dfd3ee;
}
#question-3-wrapper .option span {
  margin-top: 10px;
}
.check-group {
  /* display: flex; */
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0px;
}
.form-step label {
  color: black;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
  /* white-space: nowrap; */
}
.trip-que .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.trip-que .tags span {
  border: 1.5px solid #e0e0e0;
  color: black;
  min-width: 64px;
  padding: 12px;
  border-radius: 27px;
  font-weight: 700;
  font-size: 0.8rem;
  width: auto;
  text-align: center;
}
.sub-label {
  margin-bottom: 0.8rem;
}
.other-tags {
  margin-top: 30px;
}
.trip-que .tags span.selected {
  border-color: black;
}
.mb-0 {
  margin-bottom: 0px;
}

@media (max-width: 768px) {
  .has-global-padding {
    padding: 0 !important;
    /* Override any existing padding */
  }
}
.responsive-logo {
  max-width: 100%;
  /* Ensures the image scales down with its container */
  height: auto;
  /* Maintains the aspect ratio */
  display: block;
  /* Removes extra space below the image */
}

.logo-container {
  max-width: 300px;
  /* Optional: Set a maximum width for the logo container */
  margin: 0 auto;
  /* Centers the logo */
}

@media (max-width: 768px) {
  .logo-container {
    max-width: 200px;
    /* Smaller width for tablets */
  }
}

@media (max-width: 480px) {
  .logo-container {
    max-width: 160px;
    /* Smaller width for mobile devices */
  }
}

.responsive-heading {
  font-size: 50px;
  /* Default size for larger screens */
  text-align: center;
  /* Center the text */
  margin: 1rem 0;
  /* Add some spacing */
  line-height: 1.4;
  /* Adjust line spacing for readability */
}

/* Medium screens (tablets) */
@media (max-width: 768px) {
  .responsive-heading {
    font-size: 1.6rem;
    /* Slightly smaller font size */
  }
}

/* Small screens (mobile) */
@media (max-width: 480px) {
  .trip-wrapper-content label{
            font-size: 0.9rem !important;
  }
  .responsive-heading {
    padding-top: 20px;
        margin-bottom: 30px !important;

        /* letter-spacing: 2px !important; */
    font-size: 35px;
    /* Smaller font size for mobile */
  }
}
/* loading animation */
#loading-animation {
  display: none; /* Ensure it starts hidden */
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #3dc4ff; /* Dark purple */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  font-size: 18px;
  z-index: 9999;
}

.dots-container {
  display: flex; /* Arrange dots horizontally */
  gap: 5px; /* Add spacing between dots */
}

.dot {
  margin: 2px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  animation: bounce 1.5s infinite ease-in-out;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
}
/* star rating */
.stars-outer {
  position: relative;
  display: inline-block;
  font-size: 24px;
  color: #ccc; /* Color for empty stars */
}
.stars-inner {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  width: 0; /* This width will be set dynamically */
  color: #f5b301; /* Color for filled stars */
}

@media (max-width: 768px) {
  .div2 {
    width:40% !important; 
    display: flex;
    font-size: 0.7rem;
    flex-direction: column;
    align-items: center;
    padding: 0 5px;
  }

  #emailInput {
    /* max-width: 100px; */
    font-size: 0.7rem;
    width: 100% !important; /* Full width on mobile */
    /* max-width: none !important; */
    padding: 3px auto !important;
    height: 30px !important;
    margin-bottom: 10px;
  }

}
        /* Custom styles for fine-tuned responsiveness */
        .custom-btn {
          transition: all 0.3s ease; /* Smooth transitions for hover and size changes */
          font-size: clamp(14px, 2.5vw, 16px); /* Responsive font size */
          padding: clamp(10px, 2vw, 12px) clamp(20px, 4 vw, 24px); /* Responsive padding */
          min-height: 44px; /* Minimum touch target size for mobile */
      }

      /* Hover effect for non-touch devices */
      @media (hover: hover) {
          .custom-btn:hover {
              background-color: #4b5563; /* Darker gray on hover */
              color: #ffffff;
              border-color: #4b5563;
          }
      }

@media (min-width: 769px) {
  .div2 {
    /* max-width:100px !important;  */
    font-size: 0.9rem !important;
    /* display: flex; */
    /* flex-direction: row; */
    justify-content: right;
    gap: 10px;
  }

}
@media (max-width: 640px) {
    .button {
        font-size: 16px !important; /* Override inline font-size for mobile */
        padding: 6px 12px !important; /* Larger padding for touch targets */
        line-height: 1.2; /* Prevent text from being too cramped */
    }
    .card-img-top {
        height: 180px !important; /* Further reduce image height for very small screens */
    }
    .card-body {
        padding: 12px !important; /* Slightly reduce padding */
    }
}

@media (min-width: 641px) and (max-width: 767px) {
    .card-img-top {
        height: 200px !important; /* Slightly smaller than desktop */
    }
    .card-body {
        padding: 14px !important; /* Adjusted padding for tablets */
    }
}
.trip-planner-tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.trip-planner-tour-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.trip-planner-tour-card:hover {
    transform: translateY(-5px);
}

.tour-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tour-image-placeholder {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 16px;
}

.tour-title {
    font-size: 20px;
    margin: 15px;
    color: #333;
}

.tour-info {
    margin: 0 15px;
    font-size: 14px;
    color: #666;
}

.tour-description {
    margin: 15px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

.tour-book-now {
    display: inline-block;
    margin: 0 15px 15px;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s;
}

.tour-book-now:hover {
    background: #005177;
}

.tour-book-now.disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .trip-planner-tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .trip-planner-tours-grid {
        grid-template-columns: 1fr;
    }
}



#otp-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#otp-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    width: 300px;
    text-align: center;
}

#otp-modal h3 {
    margin-bottom: 15px;
}

#otp-modal input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#otp-modal button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#otp-modal button:hover {
    background-color: #0056b3;
}


@media (max-width: 767px) {
  .daterangepicker .drp-calendar.right {
    display: none !important;   /* hide 2nd calendar */
  }
  .daterangepicker .drp-calendar.left {
    margin: auto;               /* center the single calendar */
  }
}
