/* ==========================================================================
   Tour Tech India — additions for inner pages, lead capture & assistant.
   Uses the variables defined in style.css so every page shares the
   original homepage's visual language. style.css itself is unchanged.
   ========================================================================== */

/* ---------- Accessibility & utilities ---------- */
.skip-link { position: absolute; left: 12px; top: 12px; z-index: 2000; background: var(--orange); color: #fff; padding: 8px 16px; border-radius: 50px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
a:focus-visible, button:focus-visible, .form-control:focus-visible { outline: 3px solid rgba(247,148,29,.55); outline-offset: 2px; }
.border-top-soft { border-top: 1px solid #e6edf6; }
.text-reset:hover { color: var(--orange) !important; }

/* Nav fits on one line on small laptops (992–1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-nav .nav-link { padding: 10px 7px !important; font-size: .84rem; white-space: nowrap; }
  .navbar-nav .nav-link::after { left: 7px; right: 7px; }
  .btn-enquiry { padding: 8px 16px; font-size: .84rem; }
  .navbar-brand img { height: 44px; }
  .main-header .navbar { flex-wrap: nowrap; }
}
/* Mobile menu: comfortable tap targets */
@media (max-width: 991.98px) {
  #mainNav .navbar-nav { padding: 10px 0 14px; }
  #mainNav .nav-link { padding: 12px 6px !important; border-bottom: 1px solid #f0f3f8; }
  #mainNav .nav-link::after { display: none; }
  #mainNav .btn-enquiry { display: inline-block; margin-top: 8px; }
}

/* ---------- Links & buttons ---------- */
.link-more { color: var(--navy); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.link-more:hover { color: var(--orange); }
.link-more i { transition: transform .25s ease; }
.link-more:hover i { transform: translateX(4px); }
.btn-brand-primary, .btn-brand-outline, .btn-brand-wa { display: inline-block; }
.btn-brand-wa { background: #25D366; border: 2px solid #25D366; color: #fff; font-weight: 600; padding: 12px 26px; border-radius: 50px; transition: var(--transition); }
.btn-brand-wa:hover { background: #1ebe5b; border-color: #1ebe5b; color: #fff; transform: translateY(-3px); }
.chip-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 50px; background: var(--light); border: 1px solid #dfe8f4; color: var(--navy); font-size: .85rem; font-weight: 500; transition: var(--transition); }
.chip-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.chip-link i { color: var(--sky); }
.chip-link:hover i { color: #fff; }

/* Mini cards as links (visa types / IT services) */
.mini-card-link { display: block; color: inherit; height: 100%; }
.mini-card-link:hover { color: inherit; }
.mini-card-link .link-more { margin-top: 10px; }

/* Package card title link */
.package-body h5 a { color: inherit; }
.package-body h5 a:hover { color: var(--orange); }
a.dest-tile { color: inherit; }

/* ---------- Inner-page hero (same overlay as homepage hero) ---------- */
.page-hero { position: relative; background-size: cover; background-position: center; padding: 110px 0 90px; display: flex; align-items: center; min-height: 380px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,27,75,0.9) 0%, rgba(11,27,75,0.62) 55%, rgba(11,27,75,0.4) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .hero-content { max-width: 760px; }
.page-hero .hero-heading { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.page-crumbs { margin-bottom: 18px; font-size: .85rem; }
.page-crumbs .breadcrumb-item, .page-crumbs .breadcrumb-item a { color: rgba(255,255,255,.75); }
.page-crumbs .breadcrumb-item a:hover { color: var(--orange); }
.page-crumbs .breadcrumb-item.active { color: #fff; }
.page-crumbs .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.45); }
.page-hero-actions { background: #fff; box-shadow: 0 8px 24px rgba(11,27,75,.06); padding: 18px 0; position: relative; z-index: 3; }
.hero-price { font-size: .95rem; color: var(--text-muted); margin-right: auto; }
.hero-price strong { font-size: 1.5rem; color: var(--orange); }
@media (max-width: 767px) {
  .page-hero { padding: 70px 0 60px; min-height: 300px; }
  .page-hero-actions .container > a { flex: 1 1 auto; text-align: center; }
  .hero-price { width: 100%; }
}

/* ---------- CMS rich content ---------- */
.cms-content { color: var(--text-muted); line-height: 1.8; font-size: .98rem; }
.cms-content h2 { font-size: 1.45rem; margin: 2rem 0 .9rem; }
.cms-content h3 { font-size: 1.2rem; margin: 1.6rem 0 .7rem; }
.cms-content ul, .cms-content ol { padding-left: 1.2rem; margin-bottom: 1.2rem; }
.cms-content li { margin-bottom: .45rem; }
.cms-content strong { color: var(--navy); }
.cms-content a { color: var(--orange); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.cms-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.cms-content blockquote { border-left: 4px solid var(--orange); padding: 10px 18px; background: var(--light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.cms-content table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.cms-content th, .cms-content td { border: 1px solid #e2e8f0; padding: 8px 12px; }
.cms-content iframe { max-width: 100%; border: 0; border-radius: var(--radius-sm); }

/* ---------- Sidebar lead card ---------- */
.sidebar-enquiry { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; scroll-margin-top: 120px; }
.sidebar-enquiry-head { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; padding: 22px 24px; }
.sidebar-enquiry-head h2 { color: #fff; }
.sidebar-enquiry-head p { color: rgba(255,255,255,.75); }
.sidebar-enquiry .form-control, .sidebar-enquiry .form-select { padding: 10px 14px; }
.sidebar-quick { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #eef2f7; padding-top: 16px; }
.sidebar-quick a { color: var(--navy); font-weight: 600; font-size: .9rem; }
.sidebar-quick a i { color: var(--orange); margin-right: 6px; }
.sidebar-quick a:hover { color: var(--orange); }
.side-links { background: var(--light); border-radius: var(--radius); padding: 22px 24px; }
.side-links li { border-bottom: 1px solid #e3ebf5; }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: block; padding: 10px 0; color: var(--navy); font-size: .9rem; font-weight: 500; }
.side-links a i { color: var(--sky); margin-right: 8px; }
.side-links a:hover { color: var(--orange); }

/* ---------- Forms: feedback ---------- */
.form-msg:empty { display: none; }
.form-msg { border-radius: var(--radius-sm); padding: 10px 14px; font-size: .9rem; }
.form-msg.is-success { background: #e8f8ef; color: #12693a; }
.form-msg.is-error { background: #fdecec; color: #a12020; }
.form-msg-light.is-success, .form-msg-light.is-error { background: rgba(255,255,255,.12); color: #fff; }
.site-footer .form-msg.is-success, .site-footer .form-msg.is-error { background: rgba(255,255,255,.08); color: #fff; }
.form-consent { font-size: .78rem; color: var(--text-muted); margin-bottom: 14px; }
.form-consent a { color: var(--sky); }
.was-validated .form-control:invalid, .was-validated .form-select:invalid { border-color: #e35d5d; }
button[disabled].btn-brand-primary { opacity: .75; transform: none; }

.contact-info-card .info-item p a { color: inherit; }
.contact-info-card .info-item p a:hover { color: var(--orange); }

/* ---------- Footer additions ---------- */
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { color: rgba(255,255,255,.6); font-size: .85rem; display: flex; gap: 8px; }
.footer-contact i { color: var(--orange); }
.footer-legal a { color: rgba(255,255,255,.6) !important; }
.footer-legal a:hover { color: var(--orange) !important; }

/* ---------- Packages listing & detail ---------- */
.filter-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tabs a { padding: 9px 20px; border-radius: 50px; border: 1.5px solid #dfe6f2; color: var(--navy); font-weight: 500; font-size: .9rem; transition: var(--transition); }
.filter-tabs a.active, .filter-tabs a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.custom-trip { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--light); border-radius: var(--radius); padding: 30px 34px; border: 1px dashed #c9d9ee; }
.pkg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.pkg-facts > div { background: var(--light); border-radius: var(--radius-sm); padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.pkg-facts i { grid-row: span 2; font-size: 1.4rem; color: var(--orange); }
.pkg-facts span { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.pkg-facts strong { font-size: .95rem; color: var(--navy); }
.itinerary { position: relative; }
.itinerary::before { content: ""; position: absolute; left: 34px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(to bottom, var(--sky) 0 6px, transparent 6px 12px); }
.itinerary-day { display: flex; gap: 18px; margin-bottom: 22px; position: relative; }
.itinerary-num { flex: 0 0 70px; height: 34px; border-radius: 50px; background: var(--orange); color: #fff; font-size: .78rem; font-weight: 600; display: flex; align-items: center; justify-content: center; z-index: 1; }
.itinerary-day h3 { color: var(--navy); }
.itinerary-day p { font-size: .92rem; }
.inc-box { border-radius: var(--radius); padding: 22px 24px; height: 100%; }
.inc-box ul { padding-left: 1.1rem; margin: 0; color: var(--text-muted); font-size: .92rem; }
.inc-box li { margin-bottom: 6px; }
.inc-yes { background: #eefaf3; } .inc-yes h3 i { color: #1fa25a; }
.inc-no { background: #fdf2f2; } .inc-no h3 i { color: #d14a4a; }

/* ---------- Brands ---------- */
.brand-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 36px 30px; text-align: center; height: 100%; transition: var(--transition); }
.brand-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.brand-logo { height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.brand-logo img { max-height: 80px; max-width: 200px; }
.brand-logo i { font-size: 2.2rem; width: 76px; height: 76px; border-radius: 20px; background: rgba(247,148,29,.12); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.brand-tagline { color: var(--sky); font-size: .82rem; font-weight: 600; margin-bottom: 12px; }

/* ---------- Thank you / share ---------- */
.thank-icon { width: 96px; height: 96px; border-radius: 50%; background: #e8f8ef; color: #1fa25a; font-size: 3rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid #eef2f7; padding-top: 22px; }
.share-row a { width: 38px; height: 38px; border-radius: 50%; background: var(--light); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; transition: var(--transition); }
.share-row a:hover { background: var(--orange); color: #fff; }

/* ---------- Enquiry modal ---------- */
.enquiry-modal { border: 0; border-radius: var(--radius); }
.enquiry-modal .modal-header { padding: 26px 30px 0; }
.enquiry-modal .modal-body { padding: 20px 30px 30px; }

/* ---------- Mobile quick-action bar ---------- */
.mobile-cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; display: flex; background: #fff; box-shadow: 0 -6px 20px rgba(11,27,75,.12); padding-bottom: env(safe-area-inset-bottom); }
.mobile-cta-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 8px; color: var(--navy); font-size: .72rem; font-weight: 600; }
.mobile-cta-bar a i { font-size: 1.15rem; color: var(--orange); }
.mobile-cta-bar a:nth-child(2) i { color: #25D366; }
.mobile-cta-bar a.is-primary { background: var(--orange); color: #fff; }
.mobile-cta-bar a.is-primary i { color: #fff; }
@media (max-width: 767.98px) {
  body { padding-bottom: 62px; }
  .whatsapp-float { display: none; }           /* WhatsApp is in the bar on phones */
  .back-to-top { bottom: 76px; right: 16px; }
  .chat-launcher { bottom: 76px !important; left: 16px; right: auto !important; }
  .chat-panel { left: 8px !important; right: 8px !important; bottom: 70px !important; width: auto !important; }
}

/* ---------- AI chat assistant ---------- */
.chat-launcher { position: fixed; right: 26px; bottom: 86px; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 1.35rem; box-shadow: var(--shadow-hover); z-index: 1000; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.chat-launcher:hover { background: var(--orange); transform: translateY(-3px); }
.chat-launcher-dot { position: absolute; top: 9px; right: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); border: 2px solid var(--navy); }
.chat-launcher.is-open .chat-launcher-dot { display: none; }
.chat-panel { position: fixed; right: 26px; bottom: 152px; width: 370px; max-height: min(620px, calc(100vh - 180px)); background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(11,27,75,.25); z-index: 1001; display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.chat-head strong { display: block; font-size: .92rem; }
.chat-head small { color: rgba(255,255,255,.7); font-size: .75rem; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.chat-close { background: transparent; border: 0; color: #fff; font-size: 1rem; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--light); display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .88rem; line-height: 1.5; white-space: pre-line; word-wrap: break-word; }
.chat-msg.bot { background: #fff; color: var(--navy); border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(11,27,75,.06); align-self: flex-start; }
.chat-msg.user { background: var(--orange); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg a { color: var(--orange); font-weight: 600; }
.chat-msg.user a { color: #fff; }
.chat-msg .chat-cta { display: inline-block; margin-top: 8px; padding: 6px 12px; background: var(--navy); color: #fff !important; border-radius: 50px; font-size: .78rem; margin-right: 6px; }
.chat-typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--sky); animation: chatdot 1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; } .chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.chat-quick { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 4px; background: #fff; scrollbar-width: none; }
.chat-quick button { flex: 0 0 auto; border: 1px solid #dfe6f2; background: #fff; border-radius: 50px; padding: 5px 12px; font-size: .78rem; color: var(--navy); }
.chat-quick button:hover { border-color: var(--orange); color: var(--orange); }
.chat-input { display: flex; gap: 8px; padding: 10px 12px 12px; background: #fff; border-top: 1px solid #eef2f7; }
.chat-input input { flex: 1; border: 1.5px solid #e2e8f0; border-radius: 50px; padding: 9px 16px; font-size: .88rem; outline: none; }
.chat-input input:focus { border-color: var(--sky); }
.chat-input button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; }
.chat-lead { background: #fff; border-radius: 12px; padding: 12px; display: grid; gap: 8px; align-self: stretch; box-shadow: 0 2px 8px rgba(11,27,75,.06); }
.chat-lead input { border: 1.5px solid #e2e8f0; border-radius: 8px; padding: 8px 12px; font-size: .85rem; }
.chat-lead button { border: 0; border-radius: 8px; background: var(--navy); color: #fff; padding: 8px; font-weight: 600; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
.chat-head, .chat-quick, .chat-input { flex-shrink: 0; }
.chat-quick { padding-bottom: 8px; }
.btn-brand-outline-dark { display: inline-block; border: 2px solid var(--navy); color: var(--navy); font-weight: 600; padding: 12px 26px; border-radius: 50px; transition: var(--transition); }
.btn-brand-outline-dark:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
.chat-lang { display: flex; border: 1px solid rgba(255,255,255,.3); border-radius: 50px; overflow: hidden; }
.chat-lang button { background: transparent; border: 0; color: rgba(255,255,255,.75); font-size: .72rem; padding: 3px 9px; }
.chat-lang button.active { background: var(--orange); color: #fff; }
.chat-panel { z-index: 1045; }
.chat-head > .flex-grow-1 { min-width: 0; }
.chat-head strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .86rem; }
