main {
  margin-top: 40px; /* adjust value as needed */
}


@media (max-width: 767px) {
  .collapse {
    transition: height 0.35s ease, opacity 0.25s ease;
    overflow: hidden;
  }

  .mobile-slot {
    margin-top: 12px;
  }
}
/*Contact part*/

.company-contact{
    /*padding: 30px 0;*/
    text-align: center;

}


.field {
position: relative;
}
.more-details-wrap {
  display: flex;
  justify-content: center;   /* 👈 CENTER */
  margin-top: 14px;
}

.more-details-btn {
  padding: 12px 28px;
  background: #ffffff;
  color: #242f67;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #242f67;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.more-details-btn:hover {
  background: #242f67;
  color: #fff;
}

/* ================= HEADER ================= */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5rem;
    position: sticky;
    top: 0;
    z-index: 2000;
    background-color: #242f67;
    color: #fff;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    width: 70px;
    height: auto;
}

header h1 a {
    text-decoration: none;
    color: #fff;
}


/* Language Drop down*/
.flag-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
    display: inline-block;
}


/* button */
.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}


/* dropdown */
.lang-dropdown {
    position: relative;
    margin-right: 12px;
}

.lang-menu {
    display: none;
    position: absolute;
    right: 0;
    background: #e7e7e7;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.lang-menu.show {
    display: block;
}

.lang-menu li {
    list-style: none;
    margin: 6px 0;
}


/* 📱 Mobile tweak*/
@media (max-width: 767px) {
  header h5 a {
    text-decoration: none;
    color: #fff;
}
  .lang-menu {
    right: 0;
    left: auto;
    min-width: 120px;
  }

    .lang-menu {
        padding: 6px;
        border-radius: 8px;
        min-width: auto; /* prevent wide box */
    }

    .lang-menu li {
        margin: 4px 0;
    }

    .flag-circle {
        width: 26px;
        height: 26px;
    }
    .lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: -15px;
    }


}

/* Scroll To Top Btn */

#scroll-to-top {
  position: fixed;
  right: 30px;
  bottom: 40px; /* higher than chat box */
  z-index: 10000; /* above everything */
}


#scroll-to-top img {
  width: 40px;   /* make smaller */
  height: auto;
  cursor: pointer;
  opacity: 1;
}

#scroll-to-top img:hover {
  opacity: 1;
}


/* Chat Button */
#chat-btn img {
    width: 40px;
    height: 40px;
}

#chat-btn {
  position: fixed;
  bottom: 100px;
  justify-content: right;  
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #ff5757;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

/* Header */
.chat-header {
  background: #1f2f63;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-title img {
  width: 28px;
  height: 28px;
}

.close-btn {
  position: absolute;
  top: 8px;
  left: 140px;
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Status */
.chat-status {
  padding: 6px 12px;
  font-size: 12px;
  color: green;
  border-bottom: 1px solid #eee;
}

/* Body */
.chat-body {
  height: 260px;
  padding: 10px;
  overflow-y: auto;
  background: #f8f9fa;
}

/* Messages */
.message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 80%;
  font-size: 14px;
  width: fit-content;        /* 👈 key line */
}

.message.support {
  background: #e9ecef;
  align-self: flex-start;
}

.message.user {
  background: #1f2f63;
  color: white;
  margin-left: auto;
}

/* Footer */
.chat-footer {
  display: flex;
  padding: 10px;
  gap: 8px;
  border-top: 1px solid #eee;
   flex-direction: column;
}

/* 3 buttons row */
.quick-contact {
  display: flex;
  gap: 6px;
}

.quick-contact button {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  color: white;
}

/* Colors */
.quick-contact button:nth-child(1) { background: #06C755; }
.quick-contact button:nth-child(2) { background: #25D366; }
.quick-contact button:nth-child(3) { background: #0068FF; }

/* Input + send row */
.chat-input-row {
  display: flex;
  gap: 8px;
}

.chat-input-row input {
  flex: 1;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid #ccc;
}

.chat-input-row .send-btn {
  margin-top: 0; /* remove old margin */
}

.chat-footer input {
  flex: 1;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid #ccc;
  outline: none;
}

.send-btn {
  background: #1f2f63;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 9px;   /* move down */
}


/* ===== CHAT CONTACT BUTTONS ===== */
.contact-links {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.contact-links a {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  color: white;
  font-weight: 600;
}

.contact-line { background: #06C755; }
.contact-whatsapp { background: #25D366; }
.contact-zalo { background: #0068FF; }

/*chat */

.quick-contact {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.quick-contact button {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  color: white;
}

.quick-contact button:nth-child(1) { background: #06C755; }
.quick-contact button:nth-child(2) { background: #25D366; }
.quick-contact button:nth-child(3) { background: #0068FF; }

.chat-contact-img {
  width: 120px;
  margin-top: 6px;
  border-radius: 10px;
  cursor: pointer;
}

.chat-footer {
  display: flex;
  flex-direction: column;   /* 👈 THIS is the key */
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #eee;
}

/* 3 buttons row */
.quick-contact {
  display: flex;
  gap: 6px;
}

/* input row */
.chat-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* remove old margin */
.send-btn {
  margin-top: 0 !important;
}
/* Contact card title */
.contact-card span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;          /* 👈 stronger bold */
  color: #222;               /* 👈 clearer contrast */
  letter-spacing: 0.5px;     /* 👈 more readable */
  text-transform: uppercase;/* 👈 cleaner look */
}


/*chat end*/

.flag-circle-list {
    display: flex;
    gap: 13px;
    align-items: center;
}

.flag-circle {
    width: 30px;          /* size */
    height: 30px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    display: inline-block;
}

/* UL alignment */
.consul-column {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

/* normal links */
.consul-column li a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
}

/* button list item */
.btn-li {
  margin-top: 12px;
}

/* hover */
.small-btn:hover {
  background: #ffffff;
}

.navy-box {
  background: #1f275c;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  width: fit-content;
  font-weight: 600;
}

.service-card {
  transition: all 0.3s ease;
  background-color: #fff;
}

.service-card:hover {
  background-color: #1f275c;
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(230, 69, 85, 0.35);
}

.carousel-inner{
    align-items: center;
}
/* text + icon turn white */
.service-card:hover h4,
.service-card:hover p,
.service-card:hover i {
  color: #fff !important;
}


/* consultancy*/

.ie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.ie-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pink-btn {
  background: #d94c5c;
  color: white;
  text-decoration: none;
  padding: 10px 26px;
  border-radius: 25px;
  width: fit-content;
  font-weight: 600;
  margin-top: 10px;
 margin-left: 15px;}

.pink-btn:hover {
  opacity: 0.9;
}

ul {
  text-align: left;   /* ✅ left align text */
  line-height: 2;
  margin-left: 0;     /* optional: reset margin */
  padding-left: 20px; /* keeps bullets nicely aligned */
}
/* ===== CONSULTANCY MOBILE & TABLET ===== */
@media (max-width: 1024px) {

  .company-contact {
    padding: 20px 12px;
    text-align: center;
  }

  .company-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  /* grid layout */
  .ie-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* tablet = 2 columns */
  @media (min-width: 768px) {
    .ie-grid {
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }
  }

  ul {
    font-size: 14px;
    line-height: 1.7;
  }

  .pink-btn {
    margin: 10px auto 0;
    display: inline-block;
  }
}

/* ===== OUR SERVICES HOVER DROPDOWN ===== */
.services-dropdown {
  position: relative;
  display: inline-block;
}

.services-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
}

.services-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 14px;
}

.services-menu {
  position: absolute;
  top: 100%;              /* 👈 key fix */
  left: 0;
  background: #f9fafc;
  min-width: 220px;
  padding: 12px 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  display: none;
  z-index: 3000;
}

.services-dropdown:hover .services-menu {
  display: block;
}

.services-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  color: #242f67;           /* normal text */
  text-decoration: none;
  transition: all 0.2s ease;
}

.services-menu a:hover {
  background-color: #242f67; /* 👈 dark blue hover */
  color: #ffffff;           /* 👈 readable white text */
}

.services-dropdown.active .services-menu {
  display: block;
}


/* ================= SEARCH CARD ================= */
.search-wrapper {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.search-card {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 2fr 1fr auto;
  gap: 14px;
  align-items: end;
}

/* ================= MOBILE RESPONSIVENESS ================= */
@media (max-width: 992px) {
    header {
        padding: 1rem 2rem; /* Reduce padding on tablets */
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 1rem; /* Tight padding for mobile */
    }
    
    .logo {
        font-size: 18px; /* Smaller text for mobile */
    }

    .search-card {
        grid-template-columns: 1fr; /* Stack inputs vertically */
    }

    .search-btn {
        width: 100%;
    }

    nav {
        display: none; /* Usually hidden on mobile behind hamburger */
    }
    
    
}

/* ================= OTHER STYLES ================= */
.tabs-wrapper { display:flex; justify-content:center; margin:40px 0 20px; }
.service-tabs { display:inline-flex; gap:8px; background:#dde5ff; padding:6px; border-radius:999px; }
.tab { border:none; background:transparent; padding:10px 20px; border-radius:999px; font-weight:500; cursor:pointer; color:#374151; }
.tab.active { background:#2563eb; color:#fff; }
.field label { font-size:13px; color:#6b7280; margin-bottom:6px; display: block; }
.field select { width:100%; padding:12px; border-radius:12px; border:1px solid #ddd; }


/* =====================================================
   FIX VERTICAL MISALIGNMENT (LABEL HEIGHT ISSUE)
   ===================================================== */

/* Force equal label height */
#fromAirport .field label,
#toAirport .field label {
  height: 18px;              /* 🔑 SAME LABEL HEIGHT */
  line-height: 18px;
  white-space: nowrap;       /* prevent wrapping */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ensure fields align perfectly */
#fromAirport .search-card,
#toAirport .search-card {
  align-items: flex-start;   /* 🔑 not flex-end */
}

/* =====================================================
   AIRPORT TRANSFER – EQUAL LABEL → FIELD SPACING
   ===================================================== */

/* Make field a strict vertical stack */
#fromAirport .field,
#toAirport .field {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Lock label spacing */
#fromAirport .field label,
#toAirport .field label {
  height: 18px;              /* 🔑 fixed height */
  line-height: 18px;
  margin-bottom: 6px;        /* 🔑 identical gap */
  font-size: 13px;
  color: #6b7280;
}

/* Normalize ALL field boxes */
#fromAirport input,
#toAirport input,
#fromAirport .airport-date-box,
#toAirport .airport-date-box,
#fromAirport .passenger-display,
#toAirport .passenger-display {
  height: 48px;
  padding: 0 14px;
  margin: 0;                 /* 🔑 removes browser variance */
  display: flex;
  align-items: center;
  box-sizing: border-box;
  font-size: 14px;
}

/* Remove hidden line-height differences */
#fromAirport input,
#toAirport input {
  line-height: normal;
}

/* Date + passenger inner text */
#fromAirport .airport-date-box span,
#toAirport .airport-date-box span {
  line-height: 1;
}

/* Safety reset */
#fromAirport * ,
#toAirport * {
  vertical-align: middle;
}

/* =====================================================
   AIRPORT TRANSFER – SEARCH BUTTON ALIGNMENT FIX
   ===================================================== */

/* Wrap search button like a field */
#fromAirport .search-text-btn,
#toAirport .search-text-btn {
  height: 48px;                 /* same as inputs */
  min-height: 48px;
  padding: 0 36px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
}

/* Create invisible label space above button */
#fromAirport .search-text-btn,
#toAirport .search-text-btn {
  margin-top: 24px;             /* 🔑 matches label+gap */
}

/* Align button bottom with fields */
#fromAirport .search-card,
#toAirport .search-card {
  align-items: flex-end;
}

/* =====================================================
   AIRPORT TRANSFER – SMALLER SEARCH BUTTON
   ===================================================== */

#fromAirport .search-text-btn,
#toAirport .search-text-btn {
  height: 44px;          /* same as fields */
  min-width: 160px;      /* 🔽 smaller width */
  padding: 0 26px;       /* 🔽 less horizontal padding */
  font-size: 13.5px;     /* slightly smaller text */
  border-radius: 999px;
}


/* ================= HEADER ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5rem;
    position: sticky;
    top: 0;
    z-index: 2000;
    background-color: #242f67;
    color: #fff;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    width: 70px;
    height: auto;
}

header h1 a {
    text-decoration: none;
    color: #fff;
}/* ================= HEADER ================= */

@media (max-width: 767px) {
  .collapse {
    transition: height 0.35s ease, opacity 0.25s ease;
    overflow: hidden;
  }

  .mobile-slot {
    margin-top: 12px;
  }
}
/* ===============================
       travel package
=============================== */
.more-details-wrap {
  display: flex;
  justify-content: center;   /* 👈 CENTER */
  margin-top: 14px;
}

.more-details-btn {
  padding: 12px 28px;
  background: #ffffff;
  color: #242f67;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #242f67;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.more-details-btn:hover {
  background: #242f67;
  color: #fff;
}


/* SLIDER WRAPPER */
.slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: auto;
}

/* SLIDER */
.travepack-slider {
    display: flex;
    gap: 20px;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.travepack-slider::-webkit-scrollbar {
    display: none;
}

/* ARROWS */
.arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: #242f67;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10;
}

.arrow.left { left: -22px; }
.arrow.right { right: -22px; }

.arrow i {
    font-size: 18px;
}

/* CARD */
.package-card {
    min-width: 360px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.package-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 14px 32px rgba(0,0,0,0.2);
}

/* IMAGE */
.package-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.package-card:hover .package-img {
    transform: scale(1.1);
}
.package-card .card-content {
  display: flex;
  flex-direction: column;
}

/* CONTENT */
.card-content {
    padding: 18px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.package-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    line-height: 1.35;
    margin: 0;
}

.package-price {
    font-size: 20px;
    font-weight: 700;
    color: #5b2dbd;
    white-space: nowrap;
}

/* DETAILS */
.details {
    margin-top: 14px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.detail-item i {
    color: #5b2dbd;
    width: 16px;
    text-align: center;
}
.travel-package-section {
    background: #ffffff;
    padding: 80px 0 120px; /* 👈 top & bottom spacing */
}

.details-btn {
  align-self: flex-end;       /* 👈 THIS is the key */
  margin-top: 16px;
  padding: 10px 20px;
  background: #232d64;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.details-btn:hover {
  background: #253480c9;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}


/* optional: focus / keyboard */
.details-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 69, 85, 0.35);
}
/* ===============================
    CUSTOMER LOGO MARQUEE
=============================== */

 logo-section {
  padding: 120px 0;          /* FIXED spacing */
  background: #fff;
}



.slider-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.slider-track img {
  height: 80px;
  max-width: 220px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Infinite movement */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Pause on hover */
.slider:hover .slider-track {
  animation-play-state: paused;
}

/* Mobile */
@media (max-width: 767px) {
  .slider-track img {
    height: 60px;
    max-width: 160px;
  }
}
/* Language Drop down*/
.flag-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
    display: inline-block;
}


/* button */
.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}


/* dropdown */
.lang-dropdown {
    position: relative;
    margin-right: 12px;
}

.lang-menu {
    display: none;
    position: absolute;
    right: 0;
    background: #e7e7e7;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.lang-menu.show {
    display: block;
}

.lang-menu li {
    list-style: none;
    margin: 6px 0;
}


/* 📱 Mobile tweak*/
@media (max-width: 767px) {
  header h5 a {
    text-decoration: none;
    color: #fff;
}
  .lang-menu {
    right: 0;
    left: auto;
    min-width: 120px;
  }

    .lang-menu {
        padding: 6px;
        border-radius: 8px;
        min-width: auto; /* prevent wide box */
    }

    .lang-menu li {
        margin: 4px 0;
    }

    .flag-circle {
        width: 26px;
        height: 26px;
    }
    .lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: -15px;
    }


}

/* car/plane/ship icon*/
.category-section {
  display: flex;
  flex-direction: column; /* 👈 one item per line */
  align-items: center;    /* center under text (optional) */
  gap: 8px;               /* spacing between lines */
}

/* default */
.category-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 500;
  color: #242f67;
  transition: color 0.3s ease;
}

.category-item i {
  color: #d94c5c;
  transition: color 0.3s ease;
}

/* 👇 WHEN CARD IS HOVERED */
.service-card:hover .category-item,
.service-card:hover .category-item span,
.service-card:hover .category-item i {
  color: #ffffff;
}



.service-btn-lg {
  display: inline-block;
  padding: 20px 44px;      /* bigger but not heavy */
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  background-color: #242f67;
  border-radius: 1000px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-btn-lg:hover {
  background-color: #e64555;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.10);
}

/* Scroll To Top Btn */

#scroll-to-top {
  position: fixed;
  right: 30px;
  bottom: 40px; /* higher than chat box */
  z-index: 10000; /* above everything */
}


#scroll-to-top img {
  width: 40px;   /* make smaller */
  height: auto;
  cursor: pointer;
  opacity: 1;
}

#scroll-to-top img:hover {
  opacity: 1;
}

/* Chat Button */
#chat-btn img {
    width: 40px;
    height: 40px;
}


#chat-btn {
  position: fixed;
  bottom: 100px;
  right: 20px;              /* make sure it’s anchored */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #ff5757;
  cursor: pointer;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;
}    /* click goes to button */

#chat-btn:hover {
  transform: scale(1.08);
  transition: 0.2s ease;
}


/* Chat Widget */ 
.chat-widget {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

/* Header */
.chat-header {
  background: #1f2f63;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-title img {
  width: 28px;
  height: 28px;
}

.close-btn {
  position: absolute;
  top: 8px;
  left: 140px;
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Status */
.chat-status {
  padding: 6px 12px;
  font-size: 12px;
  color: green;
  border-bottom: 1px solid #eee;
}

/* Body */
.chat-body {
  height: 260px;
  padding: 10px;
  overflow-y: auto;
  background: #f8f9fa;
}

/* Messages */
.message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 80%;
  font-size: 14px;
  width: fit-content;        /* 👈 key line */
}

.message.support {
  background: #e9ecef;
  align-self: flex-start;
}

.message.user {
  background: #1f2f63;
  color: white;
  margin-left: auto;
}

/* Footer */
.chat-footer {
  display: flex;
  padding: 10px;
  gap: 8px;
  border-top: 1px solid #eee;
   flex-direction: column;
}

/* 3 buttons row */
.quick-contact {
  display: flex;
  gap: 6px;
}

.quick-contact button {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  color: white;
}

/* Colors */
.quick-contact button:nth-child(1) { background: #06C755; }
.quick-contact button:nth-child(2) { background: #25D366; }
.quick-contact button:nth-child(3) { background: #0068FF; }

/* Input + send row */
.chat-input-row {
  display: flex;
  gap: 8px;
}

.chat-input-row input {
  flex: 1;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid #ccc;
}

.chat-input-row .send-btn {
  margin-top: 0; /* remove old margin */
}

.chat-footer input {
  flex: 1;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid #ccc;
  outline: none;
}

.send-btn {
  background: #1f2f63;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 9px;   /* move down */
}
/* ===== CHAT CONTACT BUTTONS ===== */
.contact-links {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.contact-links a {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  color: white;
  font-weight: 600;
}

.contact-line { background: #06C755; }
.contact-whatsapp { background: #25D366; }
.contact-zalo { background: #0068FF; }

/*chat */

.quick-contact {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.quick-contact button {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  color: white;
}

.quick-contact button:nth-child(1) { background: #06C755; }
.quick-contact button:nth-child(2) { background: #25D366; }
.quick-contact button:nth-child(3) { background: #0068FF; }

.chat-contact-img {
  width: 120px;
  margin-top: 6px;
  border-radius: 10px;
  cursor: pointer;
}

.chat-footer {
  display: flex;
  flex-direction: column;   /* 👈 THIS is the key */
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #eee;
}

/* 3 buttons row */
.quick-contact {
  display: flex;
  gap: 6px;
}

/* input row */
.chat-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* remove old margin */
.send-btn {
  margin-top: 0 !important;
}
/* Contact card title */
.contact-card span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;          /* 👈 stronger bold */
  color: #222;               /* 👈 clearer contrast */
  letter-spacing: 0.5px;     /* 👈 more readable */
  text-transform: uppercase;/* 👈 cleaner look */
}


/*chat end*/

.flag-circle-list {
    display: flex;
    gap: 13px;
    align-items: center;
}

.flag-circle {
    width: 30px;          /* size */
    height: 30px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    display: inline-block;
}

/* UL alignment */
.consul-column {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

/* normal links */
.consul-column li a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
}

/* button list item */
.btn-li {
  margin-top: 12px;
}

/* hover */
.small-btn:hover {
  background: #ffffff;
}

.navy-box {
  background: #1f275c;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  width: fit-content;
  font-weight: 600;
}

.service-card {
  transition: all 0.3s ease;
  background-color: #fff;
}

.service-card:hover {
  background-color: #1f275c;
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(230, 69, 85, 0.35);
}

.carousel-inner{
    align-items: center;
}
/* text + icon turn white */
.service-card:hover h4,
.service-card:hover p,
.service-card:hover i {
  color: #fff !important;
}

@media (max-width: 767px) {
  .collapse {
    scroll-margin-top: 90px; /* height of header */
  }
}

/* DESKTOP: hide mobile accordion slots */
@media (min-width: 768px) {
  .mobile-slot {
    display: none !important;
  }
}

.travel-slider {
  overflow: hidden;
  width: 100%;
}

.travel-track {
  display: flex;
  width: max-content;
  animation: seamlessScroll 25s linear infinite;
}

.travel-slider:hover .travel-track {
  animation-play-state: paused;
}

.travel-card {
  position: relative;
  width: 260px;
  height: 280px;
  margin-right: 20px; /* IMPORTANT */
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}

.travel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: .4s;
}

.travel-card:hover .overlay {
  opacity: 1;
}

/* PERFECT LOOP */
@keyframes seamlessScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * (260px + 20px) * 10));
  }
}



/* ===== OUR SERVICES HOVER DROPDOWN ===== */
.services-dropdown {
  position: relative;
  display: inline-block;
}

.services-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
}

.services-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 14px;
}

.services-menu {
  position: absolute;
  top: 100%;              /* 👈 key fix */
  left: 0;
  background: #f9fafc;
  min-width: 220px;
  padding: 12px 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  display: none;
  z-index: 3000;
}

.services-dropdown:hover .services-menu {
  display: block;
}

.services-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  color: #242f67;           /* normal text */
  text-decoration: none;
  transition: all 0.2s ease;
}

.services-menu a:hover {
  background-color: #242f67; /* 👈 dark blue hover */
  color: #ffffff;           /* 👈 readable white text */
}


.services-dropdown.active .services-menu {
  display: block;
}

/*Vietnam Tour*/


/* SECTION */
.packages {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 60px;
}

/* GRID */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.package {
  display: flex;
  flex-direction: column;
}

/* IMAGE */
.package img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
}

/* TEXT BOX */
.package-content {
  background: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-radius: 0 0 6px 6px;
}

/* TITLE */
.package-content h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

/* LIST */
.package-content ul {
  list-style: disc;
  padding-left: 10px;
  min-height: 140px; /* keeps See more aligned */
}

.package-content li {
  margin: 8px 0;
  line-height: 1.5;
}

/* LINKS */
.package-content a,
.package-content a:visited {
  color: #5e5d60;
  text-decoration: none;
}

.package-content a:hover {
  color: #6a3dbf;
  text-decoration: underline;
}

/* SEE MORE LOGIC */
.tour-list.collapsed li:nth-child(n+3) {
  display: none;
}

/* BUTTON */
.toggle-btn {
  background: none;
  border: none;
  color: #2b0fe0;
  font-size: 14px;
  margin-top: auto;
  cursor: pointer;
  align-self: flex-start;
}

.toggle-btn:hover {
  text-decoration: underline;
}

/* TABLET */
@media (max-width: 1000px) {
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .package-grid {
    grid-template-columns: 1fr;
  }

  .package img {
    height: 180px;
  }

  .package-content ul {
    min-height: auto;
  }

  .main-title {
    font-size: 26px;
  }
}

/* Container for the image */
.lst-image-wrapper {
    width: 100%;           /* Full width of its parent */
    max-width: 500px;      /* Maximum size on desktop */
    margin: 20px auto;     /* Centers the wrapper horizontally */
    overflow: hidden;      /* Keeps the rounded corners clean */
    border-radius: 12px;   /* Smooth rounded corners */
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Soft shadow for depth */
    background-color: #fff;
}

/* The Image itself */
#lstMainImage {
    width: 100%;           /* Crucial for mobile: makes image responsive */
    height: auto;          /* Maintains original flyer proportions */
    display: block;        /* Removes bottom white space/gap */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

/* Interactive hover effect for Desktop */
.lst-image-wrapper:hover #lstMainImage {
    transform: scale(1.02); /* Slight zoom when user hovers */
}

/* Mobile Specific Adjustments */
@media (max-width: 768px) {
    .lst-image-wrapper {
        width: 92%;        /* Instead of 100%, use 92% to create a side margin */
        margin: 15px auto; /* Centers it with space top and bottom */
    }
    
    /* Ensure the text below the image also stays away from the edge */
    .selection-container p, .selection-container li {
        padding: 0 10px;
    }
    .lst-image-wrapper:hover #lstMainImage {
    transform: scale(1.02); /* Slight zoom when user hovers */
}
}

/* ================= Travel CSS ================= */
.tabs-wrapper { display:flex; justify-content:center; margin:40px 0 20px; }
.service-tabs { display:inline-flex; gap:8px; padding:6px; border-radius:999px; }
.tab { border:none; background:transparent; padding:10px 20px; border-radius:999px; font-weight:500; cursor:pointer; color:#374151; }
.tab.active { background:#2563eb; color:#fff; }
.field label { font-size:13px; color:#6b7280; margin-bottom:6px; display: block; }
.field select { width:100%; padding:12px; border-radius:12px; border:1px solid #ddd; }

.cr-wrapper {
  display: flex;
  flex-direction: column; /* This stacks them vertically */
  gap: 18px;
  padding: 0;
  width: 100%;
  max-width: 600px; /* Limits width on desktop so it doesn't stretch too far */
  margin: 0 auto;
}

.cr-glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cr-main-col {
  width: 100%;
}
.cr-side-col {
  width: 100%;
  margin-top: 20px; /* Adds space between form and summary */
}
.cr-title { margin-top: 0; margin-bottom: 20px; font-weight: 700; }

.cr-label { font-size: 13px; color: #666; font-weight: 500; display: block; }

.cr-input, .cr-select, .cr-textarea {
  width: 100%;
  padding: 10px;
  margin: 6px 0 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  box-sizing: border-box;
}

/* Side-by-side Car Selection */
.cr-inline-row {
  display: flex;
  gap: 8px;
  /* Changed from flex-start to center to align the dropdown and button perfectly */
  align-items: center; 
}

.cr-inline-row .cr-select {
  margin-bottom: 0; /* Ensures no extra space below the dropdown */
}

.cr-btn-view { 
  /* Removed margin-top to prevent it from pushing down */
  height: 43px; 
  white-space: nowrap; 
  padding: 0 15px; 
  background: #aac9ff; 
  color: #1f2f63;
  
  /* Added these to perfectly center the text inside the button */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Matches your input fields border-radius */
  border-radius: 8px; 
}
.cr-action-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.cr-btn {
  padding: 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
  text-align: center;
}

.cr-btn-primary { background: #242f67; color: white; width: 100%; }
.cr-btn-secondary { background: #eaeef5; color: #333; width: 100%; }
.cr-btn-book { background: #242f67; color: rgb(12, 34, 236); display: none; width: 100%; }

.cr-btn:hover { opacity: 0.85; transform: translateY(-1px); }

.cr-summary-display {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  margin-top: 10px;
  line-height: 1.8;
  border: 1px solid #edf2f7;
}

.cr-action-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.cr-btn-book {
  background: #28a745; /* Green */
  color: white;
  display: none; /* Only show after summary */
}
/* --- End Car Rental Section --- */


.cr-input-group-row {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-end; /* This aligns the bottom of the button with the bottom of the select */
}
  .cr-cart-container { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 15px; margin-top: 10px; border: 1px solid #444; }
  .cart-item { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 8px; border-bottom: 1px dashed #555; padding-bottom: 4px; }
  .cart-total { display: flex; justify-content: space-between; font-weight: bold; font-size: 1.1rem; color: #ffd700; margin-top: 10px; }
  .cr-remark { font-size: 0.8rem; color: #aaa; margin-top: 15px; font-style: italic; }



.cr-btn-view {
    background: #1f2f63; /* Dark Navy from your screenshot */
    color: white;
    border: none;
    height: 45px; /* Match .cr-select exactly */
    padding: 0 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}



.cr-select, .cr-input {
    width: 100%;
    height: 45px; /* Standardized height */
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 0 !important; /* Remove bottom margins to prevent misalignment */
    box-sizing: border-box;
}


/* SHIPPING LABEL CORE CSS */
.invoice-label {
    background: #fff;
    color: #1f2f63;
    padding: 20px;
    border: 2px solid #1f2f63;
    font-family: 'Arial', sans-serif;
    max-width: 450px; /* Adjusted for better print scale */
    margin: 0 auto;
    width: 100%;
    max-width: 100%; 
    box-sizing: border-box;
}

.label-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #1f2f63;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.logo-img { width: 45px; height: 45px; }
.logo-text { font-weight: 900; font-size: 16px; margin-left: 10px; }
.contact-info { font-size: 10px; text-align: right; font-weight: bold; line-height: 1.4; }

/* Updated Table Style to match Screenshot */
.label-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.label-table th {
    color: #1f2f63; /* Deep Blue from image */
    font-size: 11px;
    padding: 10px 5px;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 2px solid #1f2f63; /* Solid line under header */
    letter-spacing: 0.5px;
}

.label-table td {
    padding: 15px 5px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px dotted #ccc; /* Dotted line between rows */
}
.total-box {
    background: #1f2f63;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.total-label { font-size: 12px; font-weight: bold; }
.total-price { font-size: 20px; font-weight: 900; }

.qr-section {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    margin-top: 10px;
    border-top: 1px dashed #1f2f63;
}

.qr-item { text-align: center; }
.qr-item img { width: 50px; height: 50px; border: 1px solid #1f2f63; margin-bottom: 3px; }
.qr-item span { display: block; font-size: 8px; font-weight: bold; }

.print-invoice-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background-color: #1f2f63;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.cr-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: #333; }
.cr-input-group-row { display: flex; gap: 15px; margin-bottom: 15px; }



/* ================= TRAVEL MOBILE REDESIGN ================= */
@media (max-width: 768px) {

  #travel_service_detail .service-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
  }

  #travel_service_detail .company-section {
    width: 100%;
    margin-top: 10px;
  }

.cr-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px !important; /* Add some breathing room */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box; /* Crucial for fitting */
  }

  #packageTab,
  #carTab {
    flex-direction: column !important;
  }

.cr-main-col,
  .cr-side-col {
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important; /* Reset the centering hack */
    transform: none !important; /* Reset the centering hack */
    box-sizing: border-box;
  }

.cr-glass-card {
    width: 100%;
    padding: 20px 15px !important;
    border-radius: 16px; /* Slightly tighter for mobile */
  }

  .tabs-wrapper {
    margin: 16px 0 20px;
    justify-content: center;
  }

  .service-tabs {
    width: 90%;
    max-width: 320px;
    padding: 6px;
    gap: 6px;
    margin: 0 auto;
    display: flex;
    background: #cfd9fb;
    border-radius: 999px;
  }

  .tab {
    flex: 1;
    padding: 12px 5px !important;
    font-size: 14px !important;
    font-weight: 700;
    border-radius: 999px;
    text-align: center;
  }

  .tab.active {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37,99,235,0.28);
  }

  .cr-input-group-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
    align-items: flex-end;
  }

  .cr-input-group-row > div {
    flex: 1 !important;
    min-width: 0;
  }

  .cr-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
  }

  .cr-input,
  .cr-select {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    box-sizing: border-box;
  }

  .cr-btn-view {
    width: 100%;
    height: 48px;
    margin: 0 !important;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    background: #242f67;
    color: #fff;
    border: none;
  }

  .cr-btn-primary {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    background: #242f67;
    color: #fff;
    margin-top: 10px;
  }

  .cr-side-col {
    margin-top: 4px;
  }

  .invoice-label {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 16px !important;
    border-radius: 18px;
    box-sizing: border-box;
    margin-bottom: 15px;
  }

  .label-header {
    gap: 8px;
  }

  .logo-text {
    font-size: 14px;
  }

  .contact-info {
    font-size: 9px;
    text-align: right;
  }

  .total-price {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .cr-glass-card {
    padding: 18px 14px !important;
    border-radius: 22px;
  }

  .service-tabs {
    max-width: 300px;
  }

  .tab {
    font-size: 14px !important;
    padding: 14px 8px !important;
  }

  .cr-label {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .cr-input,
  .cr-select,
  .cr-btn-view {
    height: 44px;
    font-size: 14px;
  }

  .cr-btn-primary {
    height: 46px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  #packageTab hr,
  #carTab hr {
    display: none;
    max-width: 350px;
    margin: 0 auto;
    flex-direction: column !important;
  }

}

/*----------------------------------------------------------*/

.field {
position: relative;
}
.more-details-wrap {
  display: flex;
  justify-content: center;   /* 👈 CENTER */
  margin-top: 14px;
}

.more-details-btn {
  padding: 12px 28px;
  background: #ffffff;
  color: #242f67;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #242f67;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.more-details-btn:hover {
  background: #242f67;
  color: #fff;
}

/* 1. GLOBAL FIX: Apply border-box to everything */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Prevents horizontal scroll */
  background: #f5f7fb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
}

/* ================= HEADER ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5rem; /* Large padding for desktop */
    position: sticky;
    top: 0;
    z-index: 2000;
    background-color: #242f67;
    color: #fff;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.logo img {
    width: 70px;
    height: auto;
}

header h1 a {
    text-decoration: none;
    color: #fff;
}

/* ================= SEARCH CARD ================= */
.search-wrapper {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.search-card {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 2fr 1fr auto;
  gap: 14px;
  align-items: end;
}

/* ================= MOBILE RESPONSIVENESS ================= */
@media (max-width: 992px) {
    header {
        padding: 1rem 2rem; /* Reduce padding on tablets */
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 1rem; /* Tight padding for mobile */
    }
    
    .logo {
        font-size: 18px; /* Smaller text for mobile */
    }

    .search-card {
        grid-template-columns: 1fr; /* Stack inputs vertically */
    }

    .search-btn {
        width: 100%;
    }

    nav {
        display: none; /* Usually hidden on mobile behind hamburger */
    }
    
    
}

/* ================= OTHER STYLES ================= */
.tabs-wrapper { display:flex; justify-content:center; margin:40px 0 20px; }
.service-tabs { display:inline-flex; gap:8px; background:#dde5ff; padding:6px; border-radius:999px; }
.tab { border:none; background:transparent; padding:10px 20px; border-radius:999px; font-weight:500; cursor:pointer; color:#374151; }
.tab.active { background:#2563eb; color:#fff; }
.field label { font-size:13px; color:#6b7280; margin-bottom:6px; display: block; }
.field select { width:100%; padding:12px; border-radius:12px; border:1px solid #ddd; }

/* MODERN DATE BOX */
/* MODERN DATE BOX */
.date-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.flatpickr-calendar {
  z-index: 9999;
}
.flatpickr-calendar {
  position: absolute !important;
  top: calc(100% + 8px);
  left: 0;
  z-index: 9999;
}

.date-icon { color: #2563eb; }

/* ================= RESULT BOX (FIXED) ================= */
.price-card {
  margin: 30px auto;
  max-width: 550px;
  background: #ffffff;
  border-left: 5px solid #2563eb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  display: none; /* Toggle with JS */
  animation: fadeInSlide 0.4s ease-out;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.price-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.price-header i { color: #2563eb; }

.price-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.price-details span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #4b5563;
}

.price-details i {
  width: 20px; /* Fixed icon alignment */
  text-align: center;
  color: #2563eb;
}

#display-date-range {
  color: #111827;
  font-weight: 600;
}

.price-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-total-row strong {
  font-size: 1.8rem;
  color: #2563eb;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    header { padding: 1rem; }
    .search-card { grid-template-columns: 1fr; }
    nav { display: none; }
    .price-card { margin: 20px; }
}

.search-btn { 
    background:#ef4444; 
    border:none; 
    color:#fff; 
    width:52px; 
    height:52px; 
    border-radius:12px; 
    cursor: pointer;
}

/* Scroll To Top Btn */

#scroll-to-top {
  position: fixed;
  right: 30px;
  bottom: 40px; /* higher than chat box */
  z-index: 10000; /* above everything */
}


#scroll-to-top img {
  width: 40px;   /* make smaller */
  height: auto;
  cursor: pointer;
  opacity: 1;
}

#scroll-to-top img:hover {
  opacity: 1;
}

/* Chat Button */
#chat-btn img {
    width: 40px;
    height: 40px;
}


#chat-btn {
  position: fixed;
  bottom: 100px;
  right: 20px;              /* make sure it’s anchored */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #ff5757;
  cursor: pointer;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;
}    /* click goes to button */

#chat-btn:hover {
  transform: scale(1.08);
  transition: 0.2s ease;
}


/* Chat Widget */ 
.chat-widget {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

/* Header */
.chat-header {
  background: #1f2f63;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-title img {
  width: 28px;
  height: 28px;
}

.close-btn {
  position: absolute;
  top: 8px;
  left: 140px;
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Status */
.chat-status {
  padding: 6px 12px;
  font-size: 12px;
  color: green;
  border-bottom: 1px solid #eee;
}

/* Body */
.chat-body {
  height: 260px;
  padding: 10px;
  overflow-y: auto;
  background: #f8f9fa;
}

/* Messages */
.message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 80%;
  font-size: 14px;
  width: fit-content;        /* 👈 key line */
}

.message.support {
  background: #e9ecef;
  align-self: flex-start;
}

.message.user {
  background: #1f2f63;
  color: white;
  margin-left: auto;
}

/* Footer */
.chat-footer {
  display: flex;
  padding: 10px;
  gap: 8px;
  border-top: 1px solid #eee;
   flex-direction: column;
}




/* 3 buttons row */
.quick-contact {
  display: flex;
  gap: 6px;
}

.quick-contact button {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  color: white;
}

/* Colors */
.quick-contact button:nth-child(1) { background: #06C755; }
.quick-contact button:nth-child(2) { background: #25D366; }
.quick-contact button:nth-child(3) { background: #0068FF; }

/* Input + send row */
.chat-input-row {
  display: flex;
  gap: 8px;
}

.chat-input-row input {
  flex: 1;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid #ccc;
}

.chat-input-row .send-btn {
  margin-top: 0; /* remove old margin */
}







.chat-footer input {
  flex: 1;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid #ccc;
  outline: none;
}

.send-btn {
  background: #1f2f63;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 9px;   /* move down */
}


/* ===== CHAT CONTACT BUTTONS ===== */
.contact-links {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.contact-links a {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  color: white;
  font-weight: 600;
}

.contact-line { background: #06C755; }
.contact-whatsapp { background: #25D366; }
.contact-zalo { background: #0068FF; }

/*chat */

.quick-contact {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.quick-contact button {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  color: white;
}

.quick-contact button:nth-child(1) { background: #06C755; }
.quick-contact button:nth-child(2) { background: #25D366; }
.quick-contact button:nth-child(3) { background: #0068FF; }

.chat-contact-img {
  width: 120px;
  margin-top: 6px;
  border-radius: 10px;
  cursor: pointer;
}

.chat-footer {
  display: flex;
  flex-direction: column;   /* 👈 THIS is the key */
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #eee;
}

/* 3 buttons row */
.quick-contact {
  display: flex;
  gap: 6px;
}

/* input row */
.chat-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* remove old margin */
.send-btn {
  margin-top: 0 !important;
}
/* Contact card title */
.contact-card span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;          /* 👈 stronger bold */
  color: #222;               /* 👈 clearer contrast */
  letter-spacing: 0.5px;     /* 👈 more readable */
  text-transform: uppercase;/* 👈 cleaner look */
}


/*chat end*/

/* button */
/* Language Drop down*/
.flag-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
    display: inline-block;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}


/* dropdown */
.lang-dropdown {
    position: relative;
    margin-right: 12px;
}

.lang-menu {
    display: none;
    position: absolute;
    right: 0;
    background: #e7e7e7;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.lang-menu.show {
    display: block;
}

.lang-menu li {
    list-style: none;
    margin: 6px 0;
}


/* 📱 Mobile tweak*/
@media (max-width: 767px) {
  header h5 a {
    text-decoration: none;
    color: #fff;
}
  .lang-menu {
    right: 0;
    left: auto;
    min-width: 120px;
  }

    .lang-menu {
        padding: 6px;
        border-radius: 8px;
        min-width: auto; /* prevent wide box */
    }

    .lang-menu li {
        margin: 4px 0;
    }

    .flag-circle {
        width: 26px;
        height: 26px;
    }
    .lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: -15px;
    }


}

/* ===== OUR SERVICES HOVER DROPDOWN ===== */
.services-dropdown {
  position: relative;
  display: inline-block;
}

.services-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
}

.services-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 14px;
}

.services-menu {
  position: absolute;
  top: 100%;              /* 👈 key fix */
  left: 0;
  background: #f9fafc;
  min-width: 220px;
  padding: 12px 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  display: none;
  z-index: 3000;
}

.services-dropdown:hover .services-menu {
  display: block;
}

.services-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  color: #242f67;           /* normal text */
  text-decoration: none;
  transition: all 0.2s ease;
}

.services-menu a:hover {
  background-color: #242f67; /* 👈 dark blue hover */
  color: #ffffff;           /* 👈 readable white text */
}


.services-dropdown.active .services-menu {
  display: block;
}