/* ================= 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 ================= */


/* 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;
  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;
}




@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;
  }
}



.accordion-button {
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  background-color: #ffffff;
  border-radius: 12px;
}

.accordion-item {
  border: none;
  margin-bottom: 12px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: #000;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}


.badge-brand {
  background-color: #b02a37;
  padding: 0.45em 1em;
}

ul.small li {
  margin-bottom: 0.35rem;
}

/* ===== LANGUAGE SELECTOR BAR ===== */
.language-selector {
  display: flex;
  align-items: center;          /* 👈 center vertically */
  gap: 20px;
  margin: 20px auto 30px;
  max-width: 900px;
}

/* FROM / TO BOX */
.lang-box {
  flex: 1;
}

.lang-box h4 {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 18px;
}

/* DROPDOWN */
.lang-select {
  width: 100%;
  padding: 16px 18px;          /* 👈 bigger */
  font-size: 17px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #fff;
}

/* SWAP BUTTON */
.swap-btn {
  width: 56px;                 /* 👈 bigger */
  height: 56px;
  font-size: 24px;
  border-radius: 50%;
  border: none;
  background: #f15b6c;
  color: white;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 32px;            /* aligns with dropdown center */
  transition: all 0.25s ease;
}

.swap-btn:hover {
  background: #d94c5c;
  transform: rotate(180deg);
}

/* MOBILE STACK */
@media (max-width: 576px) {
  .language-selector {
    flex-direction: column;
    gap: 15px;
  }

  .swap-btn {
    margin-top: 0;
  }
}



/* PROFILES */
.interpreters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.profile {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  display: none;
  border: 1px solid #eee;
}

.profile h5 {
  margin: 0 0 6px;
}

.profile p {
  margin: 0;
  color: #555;
}

#noResult {
  display: none;
  margin: 40px auto;
  color: #777;
  font-style: italic;
  text-align: center;
  font-size: 15px;
}


@media (max-width: 576px) {
  .language-selector {
    flex-direction: row;
    align-items: center;
    gap: 12px;

    padding-left: 16px;   /* 👈 key fix */
    padding-right: 16px;  /* 👈 key fix */
    margin-left: auto;
    margin-right: auto;
  }

  .lang-box {
    min-width: 0;         /* 👈 prevents overflow */
  }

  .lang-select {
    width: 100%;
  }

  .swap-btn {
    width: 48px;
    height: 48px;
    font-size: 22px;
    margin-top: 28px;
    flex-shrink: 0;       /* 👈 prevents squish */
  }
}
/* ===== 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;
}





/* ===== IMPROVED SERVICE LAYOUT ===== */

/* ===============================
  CUSTOMER LOGO MARQUEE
=============================== */

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

.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

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

.slider-track img {
  height: 90px;
  max-width: 700px;
  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;
  }
}




/* =================  SERVICES SECTION start ================= */

.services-section {
  background: #f4f6fb;
  padding: 50px 0;
}

.services-wrapper {
  max-width: 1100px;

  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.scroll-box {
  background: #ffffff;
  padding: 50px;
  border-radius: 20px;
}

/* GRID LAYOUT */
.service-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: stretch;
}

/* LEFT SIDE */
.service-details h2 {
  margin-bottom: 20px;
  color: #242f67;
}

.service-details ul,
.service-details ol {
  padding-left: 20px;
  margin-bottom: 18px;
}

.service-details p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #444;
}

/* RIGHT SIDE */
.service-calc {
  display: flex;
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #e6e9f3;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.price-calculator {
  width: 100%;
}

.price-calculator h5 {
  text-align: center;
  margin-bottom: 20px;
  color: #242f67;
}

.calc-group {
  margin-bottom: 16px;
}

.calc-group label {
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
}

.calc-group input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.calc-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #242f67;
  color: #fff;
  font-weight: 600;
  transition: 0.3s ease;
}

.calc-btn:hover {
  background: #e64555;
  transform: translateY(-2px);
}

.calc-result {
  margin-top: 18px;
  padding: 12px;
  border-radius: 10px;
  background: #f8f9fc;
  text-align: center;
  font-weight: 700;
  color: #e64555;
  border: 1px dashed #e64555;
}

@media (max-width: 992px) {

  .service-layout {
    grid-template-columns: 1fr;
  }

  /* Show calculator first */
  .service-calc {
    order: -1;
  }

  /* Text after calculator */
  .service-details {
    order: 1;
  }

}

.bg-white {
    text-align: left;
}

/* =================  SERVICES SECTION end ================= */

/* General Styling for the Service Select Dropdowns */
.calc-group select {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}



/* Styling for the 'Select Service' Dropdown */
#serviceType {
  margin-bottom: 20px;
}

/* Styling for the 'Service Type' (Interpreter) Dropdown */
#interpreterType {
  margin-bottom: 20px;
}
.service-buttons {
  display: flex;
  gap: 10px;
}

.service-btn {
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

.service-btn.active {
  background: #242f67;
  
}

/* ================= Interpreter Slider ================= */
.ls-marquee-section {
    width: 100%;
    background: #ffffff;
    padding: 50px 0;
    overflow: hidden;
    border-top: 1px solid #eee;
}

.marquee-slider {
    display: flex;
    overflow: hidden;
    user-select: none;
}

.marquee-track {
    display: flex;
    gap: 40px; /* Increased gap for better visibility at higher speeds */
    width: max-content;
    /* ⬇️ CHANGED THIS: 60s is much faster than 300s ⬇️ */
    animation: scrollLS 80s linear infinite; 
}

.marquee-track img {
    height: 370px; 
    width: auto;   
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.marquee-track img:hover {
    transform: scale(1.05);
    z-index: 10;
}

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

@keyframes scrollLS {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .marquee-track img {
        height: 280px;
    }
    .marquee-track {
        /* ⬇️ Adjusted mobile speed to match ⬇️ */
        animation-duration: 40s; 
    }
}


/* ================= LSS Marquee (Landscape) ================= */
.lss-marquee-section {
    width: 100%;
    background: #f8f9fa; /* Slightly different background to separate sections */
    padding: 40px 0;
    overflow: hidden;
}

.lss-track {
    display: flex;
    gap: 28px;
    width: max-content;
    /* Faster duration since there are only 11 images */
    animation: scrollLSS 10s linear infinite;
}

.lss-track img {
    width: 400px;  /* Perfect width for landscape 1056x816 images */
    height: auto;  /* Maintains aspect ratio */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
}

.lss-track img:hover {
    transform: translateY(-10px); /* Lifts up on hover */
}

/* Custom Animation for second track */
@keyframes scrollLSS {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Mobile responsive for Landscape */
@media (max-width: 768px) {
    .lss-track img {
        width: 280px; /* Smaller width for mobile phones */
    }
    .lss-track {
        animation-duration: 10s;
    }
}