
#chat-btn img {
    width: 40px;
    height: 40px;
}


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




/* ANIMATION */
@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* CLOSE BUTTON */
.close {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 22px;
  color: #999;
  cursor: pointer;
}

.close:hover {
  color: #e64555;
}

/* AVATAR */
.imgcontainer {
  text-align: center;
  margin-bottom: 15px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f25f70;
}

/* FORM */
.container {
  padding: 0;
  text-align: left;
}

.container label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.container input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin: 6px 0 14px;
  font-size: 14px;
  transition: 0.2s;
}

.container input:focus {
  outline: none;
  border-color: #f25f70;
  box-shadow: 0 0 0 3px rgba(242, 95, 112, 0.15);
}

/* LOGIN BUTTON */
.container button[type="submit"] {
  width: 100%;
  background: linear-gradient(135deg, #f25f70, #e64555);
  border: none;
  padding: 12px;
  border-radius: 14px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.container button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(242, 95, 112, 0.45);
}

/* FOOTER AREA */
.container:last-child {
  background: transparent !important;
  /* text-align: center;*/
  margin-top: 16px;
}

.cancelbtn {
  background: none;
  border: none;
  color: #999;
  font-size: 13px;
  cursor: pointer;
}

.cancelbtn:hover {
  color: #e64555;
}

.psw {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}

.psw a {
  color: #f25f70;
  text-decoration: none;
}



/* TABLET VERSION */
@media (max-width: 1024px) {
    .location-row-image {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
        margin: 40px 20px;
    }

    .location-image img {
        width: 200px;
        height: auto;
    }

    .location-info-image p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

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


}



/* ===== CHAT CONTACT BUTTONS ===== */

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


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


.rating-box {
  text-align: center;
}


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


/* ================= PRODUCT SECTION ================= */

.product-section {
  padding: 40px 4%;
  background: #f4f6fb;
}

.product-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* smaller gap */
  max-width: 1200px;   /* limit full width */
  margin: auto;        /* center */
}

/* Card Box */
.product-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px; /* smaller padding */
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.product-card h2 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #1f275c;
  font-weight: 600;
  text-align: center;   /* ✅ center text */
}

/* Slider */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 12px;
}

/* Square Photo Fix - Use This Only */

.slider-window {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.photo-img.active {
  opacity: 1;
}

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 0.4s ease;
}


/* Arrows smaller */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  background: rgba(0,0,0,0.45);
  color: white;
  padding: 4px 8px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.arrow:hover {
  background: #1f275c;
}

.arrow:first-of-type {
  left: 8px;
}

.arrow:last-of-type {
  right: 8px;
}

/* List */
.product-card ul {
  padding-left: 16px;
  font-size: 13px; /* slightly smaller text */
}

.product-card li {
  margin-bottom: 5px;
}

.product-container {
  max-width: 1100px;
}

/* Responsive */
@media (max-width: 992px) {
  .product-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-container {
    grid-template-columns: 1fr;
  }

  .slider-window {
    height: 200px; /* slightly bigger for mobile */
  }
