/* Page-level styles extracted from the blogs-what-services-should-you-expect-from-the-best-tours-and-travel-agency-in-india page (head <style> blocks + Webflow embeds), original order. */

.loader {
	display: none; /* Hide by default */
}

/* Only show loader if html has 'show-loader' class */
html.show-loader .loader {
	display: flex;
}

/* Keep loader hidden inside Webflow Editor too */
html.w-editor .loader {
	display: none;
}

/* IntlTelInput container */
.iti {
  width: 100%;
}

/* Flag container */
.iti__flag-container {
  right: auto;
  left: 0;
}

/* Input field */
.iti--allow-dropdown input,
.iti--allow-dropdown input[type=tel],
.iti--allow-dropdown input[type=text],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type=tel],
.iti--separate-dial-code input[type=text] {
  padding-right: 6px;
  padding-left: 52px; /* Reduced padding to match the design */
  margin-left: 0;
  background-color: #ffffff; /* Light background */
  color: #606368; /* Light text */
}

/* Country list */
.iti__country-list {
  max-width: 400px;
}

/* Flag sprite */
.iti__flag {
  background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags@2x.png");
  }
}

/* Additional flag adjustments if needed */
.iti__flag {
  box-shadow: 0 0 1px 0 #888;
}

/* Custom dropdown icon */
.iti__arrow {
  border: none;
  width: 20px;
  height: 21px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='21' viewBox='0 0 20 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L10 13L15 8' stroke='%23667085' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transform: none;
}

.iti__arrow--up {
  transform: rotate(180deg);
}

/* Adjust the position of the new icon */
.iti__flag-container {
  right: auto;
  left: 0;
}

.iti__selected-flag {
  padding-right: 8px; /* Reduced padding */
  margin-right: 0; /* Removed margin */
}

.iti--separate-dial-code .iti__selected-dial-code {
  margin-right: 0; /* Removed margin to match the design */
  color: #606368; /* Light text for the dial code */
}

/* Remove spinner for number input */
.phone-input::-webkit-outer-spin-button,
.phone-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.phone-input[type=number] {
  -moz-appearance: textfield;
}

/* Remove blue highlight on tap for touch devices */
* {
  -webkit-tap-highlight-color: transparent; /* Chrome, Safari */
  -webkit-touch-callout: none; /* Prevent default touch callout behavior on iOS */
}

/* Optionally, disable focus outline globally */
*:focus {
  outline: none;
}

.error-msg {
    color: red;
    font-size: 12px;
    font-family: 'Instrument Sans', sans-serif;
    margin-top: 4px;
    display: none;
  }

  #lf-submit-btn:disabled {
    opacity: 0.5;
    pointer-events: none;
  }

  #form-wrap {
    transition: width 0.3s ease;
  }

  #form-img,
  #form-header {
    transition: opacity 0.3s ease;
  }

#toc a {
    text-decoration: none !important;
    border: none;
    background: transparent;
    padding: 5px 10px;
    display: block;
    line-height: 1.2;
    border-radius: 4px;
    transition: all 300ms;
    color: #333;
}

#toc {
    font-size: 1rem;
}

#toc li {
    padding: 2px 0;
}

#toc ul {
    list-style: none;
    margin: 0 !important;
    padding: 0;
}

#toc a.active,
#toc a:hover {
    background: #00b4a9;
    color: white;
}

/* ===== IMPORTANT FIX ===== */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Offset for fixed navbar */
#single-article h2,
#single-article h3 {
  scroll-margin-top: 120px; /* adjust to navbar height */
}

#obfuscated-email a,
  #obfuscated-email a:visited {
    color: white !important;
    opacity: 80%;
    text-decoration: none;
  }

#obfuscated-email a,
  #obfuscated-email a:visited {
    color: white !important;
    opacity: 80%;
    text-decoration: none;
  }

#obfuscated-support-email a,
  #obfuscated-support-email a:visited {
    color: white !important;
    opacity: 80%;
    text-decoration: none;
  }

.wa-float {
  position: fixed;
  bottom: 12%;
  right: 8px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  z-index: 9999;
  text-decoration: none;
}
