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


}
@media (max-width: 768px) {
  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }
}

/*footer*/

.container-fluid{
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

/*icon*/
.social-icon {
    font-size: 1.6rem;
    color: #6c757d;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #f25f70;
    transform: translateY(-3px);
}



/*Contact part*/

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

}

.contact-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 20px;   
    color: #fff;
    background: #1f275c;
    border-radius: 5px;
    height: 70px;
    width: 400px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


.scroll-box .contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    background: none;
    padding: 0;
    border-left: none;
    border-bottom: 2px solid #1f275c;
    border-radius: 0;
    margin-bottom: 1rem;
    color: #0d3b66;
    align-items: center; 
}

.contact-title-one {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    
    border-radius: 5px;
    height: 60px;
    width: 300px;
    display: flex;
    text-align: left;
    justify-content: center;
     /* margin: 0 auto 20px;   */
}

.contact-title-two{
    font-size: 1.2rem; 
    font-weight: 700; 
    color: #fff; 
    background: #1f275c; /* ADD THIS */ 
    border-radius: 5px; 
    height: 60px; 
    width: 300px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 20px;
}/*footer*/



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

/* ===== Import Export Section Only ===== */

.import-export-section {
  margin-top: 50px;
}

.main-title {
  background: #1f275c;
  color: white;
  padding: 10px 30px;
  border-radius: 25px;
  width: fit-content;
  margin: 0 auto 20px;
  font-weight: 600;
}

.intro-text {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
  line-height: 1.6;
}

.category-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.cat-box {
  background: #1f275c;
  color: white;
  padding: 12px 22px;
  border-radius: 25px;
  font-weight: 600;
}

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

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

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

.big-box {
  padding: 12px 25px;
}

.ie-col p {
  line-height: 1.6;
}

.red-note {
  color: red;
  font-weight: 600;
}

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

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

ul {
  margin-left: 20px;
  line-height: 1.6;
}

.sample-link {
  color: red;
  text-decoration: underline;
  font-weight: 600;
}

.sample-link:hover {
  color: darkred;
}

.category-section {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin: 30px 0;
}

.category-item {
  background: #242f67;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}

.category-item i {
  color: white;
  font-size: 20px;
}


/* Photo Slider */


/* ===== VIEWER ===== */
.viewer {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  margin: 40px auto;
  background: white;
  overflow: hidden;
}

.viewer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Arrows */
.viewer-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  color: rgba(0,0,0,0.6);
  cursor: pointer;
  user-select: none;
  z-index: 10;
}

.viewer-arrow:hover {
  color: #000;
}

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

/* Counter */
.viewer-counter {
  position: absolute;
  bottom: 0px;
  left: 30px;
  font-size: 14px;
  color: #000;
  z-index: 10;
}

/* Tablet */
@media (max-width: 1024px) {
  .viewer {
    max-width: 720px;
    aspect-ratio: 4 / 3;
  }
  .viewer-arrow {
    font-size: 36px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .viewer {
    aspect-ratio: 1 / 1;
    margin: 25px auto;
  }
  .viewer-arrow {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .category-section {
    flex-wrap: wrap;          /* allow moving down */
    gap: 12px;
    justify-content: center;
    padding: 0 12px;
  }

  .category-item {
    width: calc(50% - 12px);  /* 2 boxes per row */
    justify-content: center;
    padding: 12px;
    font-size: 14px;
  }

  .category-item i {
    font-size: 18px;
  }
}
/* ===== 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;
}
.ie-section { padding: 60px 20px; }
.ie-title { font-size: 32px; font-weight: bold; }
.ie-sub { color: #666; margin-bottom: 30px; }

.ie-tabs { text-align: center; margin-bottom: 20px; }
.tab-btn {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  border-radius: 20px;
  background: #d1d9f0;
  cursor: pointer;
  width:auto !important;
}
.tab-btn.active { background: #007bff; color: #fff; }

.tab-content { display: none; }
.tab-content.active { display: block; }

.card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.mini-card {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
}

.calc-btn {
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  background: #007bff;
  color: #fff;
  cursor: pointer;
}

.pc-card {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  max-width: 600px;
  margin: auto;
  margin-bottom: 40px;
}

/* old class: h3.text-center -> new: .pc-title */
.pc-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 5px;
}

/* old class: p.text-center -> new: .pc-sub */
.pc-sub {
  text-align: center;
  color: #777;
  margin-bottom: 20px;
}

/* old class: .grid-2 -> new: .pc-grid-2 */
.pc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* old input/select styles, generic -> new: .pc-input */
.pc-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.pc-input:focus {
  border-color: #242f67;
  outline: none;
  box-shadow: 0 0 0 3px rgba(36,47,103,0.1);
}

/* old class: .calc-btn -> new: .pc-btn */
.pc-btn {
  margin-top: 15px;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  background: #242f67;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.pc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(36,47,103,0.3);
}

/* old ID: #result -> new: #pc-result */
#pc-result {
  margin-top: 20px;
  padding: 15px;
  border-radius: 12px;
  background: #f1f8ff;
  font-weight: bold;
  color: #242f67;
  text-align: center;
}

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

/* Slider container: 3 sliders in a row */
.slider-section {
  margin-bottom: 50px !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 equal columns */
  gap: 20px;
  width: 100%; /* make sure container takes full width */
  max-width: 1200px; /* optional: prevent too wide on ultra large screens */
  margin: 0 auto; /* center container */
}

/* Photo Slider */
.photo-slider {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent; /* remove fixed white background */
  min-height: 200px; /* optional: ensures a reasonable slider height */
}

/* Slider title spans full width */
.slider-title {
  grid-column: 1 / -1;
  background: #1f275c;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

/* Each slider box */
.photo-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* maintains nice proportion */
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.photo-slider img.slider-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* keeps original ratio, fully visible */
  display: block;
}

/* Images inside sliders */
/* Slider box */
.photo-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* maintains ratio */
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Arrows & counter (already in your HTML) */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: rgba(0,0,0,0.6);
  cursor: pointer;
  z-index: 10;
}
.slider-arrow.left { left: 12px; }
.slider-arrow.right { right: 12px; }
.slider-arrow:hover { color: #000; }

.slider-counter {
  position: absolute;
  bottom: 8px;
  left: 12px;
  font-size: 14px;
  color: #000;
  z-index: 10;
}

/* Responsive tweaks */
@media(max-width: 1024px){
  .slider-section {
    grid-template-columns: repeat(2, 1fr); /* 2 sliders per row */
    margin-bottom: 50px;
  }
}

@media(max-width: 768px){
  .slider-section {
    grid-template-columns: 1fr; /* 1 slider per row */
    margin-bottom: 50px;
  }
}

