:root {
  --primary: #D8B57A;
  --secondary: #393d46;
  --tertiary: #151515;
}


body {
  max-width: 100vw;
  /* overflow-x: hidden; */
}

.bg-primary {
  background-color: var(--primary) !important;
}

.top-bar {
  width: 100%;
  background-color: var(--primary);
  color: white;
  font-size: 18px;
}

.top-bar a {
  color: white !important;
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
}

header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
}

.header-social {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.header-social>[class*="icon-"] {
  width: 35px;
  height: 35px;
  font-size: 25px;
  border-radius: 5px;
  text-align: center;
  line-height: 35px;
  cursor: pointer;
}

.icon-yt {
  background-color: #cd201f;
  color: white;
}

.icon-fb {
  background-color: #3b5998;
  color: white;
}

.icon-wechat {
  background-color: #7bb32e;
  color: white;
}

.icon-xhs {
  line-height: 0 !important;
  background-color: white;

}

.icon-xhs img {
  width: 100%;
  object-fit: contain;
}

footer {
  background-color: var(--tertiary);
  width: 100%;
}

.footer-link {
  color: white !important;
}

.footer-link:hover {
  text-decoration: underline;
}

.contact-link {
  text-decoration: none;
  color: black !important;
}

.contact-link:hover {
  text-decoration: underline;
}

.page-title {
  color: white;
}

.page-title:before {
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  position: absolute;
  inset: 0;
}

.big-banner {
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 200px 0 150px 0 !important;
  position: relative;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .top-bar {
    font-size: 12px;
  }

  .header-social {
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
  }

  .header-social>div {
    width: 28px;
    height: 28px;
  }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 991.98px) {
  .header-social {
    gap: 12px;
  }
}

.testimonial-section {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 16px;
  column-count: 3;
  column-gap: 24px;
}

.testimonial-item {
  display: inline-block;
  /* Important for masonry */
  width: 100%;
  margin-bottom: 24px;
  break-inside: avoid;
  /* Prevents breaking inside columns */
  border-radius: 8px;
}

.testimonial-item .timg {
  margin-top: 8px;
  margin-bottom: 4px;
  padding: 8px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
  background: #f5f5f5;
}

/* Responsive breakpoints */
/* 2 columns for tablets */
@media (max-width: 768px) {
  .testimonial-section {
    column-count: 2;
    column-gap: 16px;
  }
}

/* 1 column for mobile */
@media (max-width: 480px) {
  .testimonial-section {
    column-count: 1;
  }
}

/* About*/
.about-section {
  padding: 48px 0 56px 0;
  background: #fafafa;
  border-radius: 12px;
  margin: auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.about-section .container {
  padding-left: 24px;
  padding-right: 24px;
}

.about-section h2 {
  margin-bottom: 24px;
  font-size: 2rem;
  color: #333;
}

.about-section p {
  margin-bottom: 18px;
  padding: 0 4px;
  color: #444;
  font-size: 1.08rem;
  line-height: 1.7;
}

.about-section img {
  margin-top: 16px;
  margin-bottom: 8px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.07);
  width: 100%;
  height: auto;
}

.about-section .about-img-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 16px;
}

.certificates .owl-dots {
  text-align: center;
  margin-top: 15px;
}

.certificates .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 5px;
}

.certificates .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  display: block;
  background: #ccc;
  border-radius: 50%;
  /* circle shape */
  transition: all 0.3s ease;
}

.certificates .owl-dots .owl-dot.active span {
  background: var(--bs-primary);
  /* Bootstrap primary color */
  transform: scale(1.2);
}

/* Contact */
.contact-section {
  padding: 48px 0 56px 0;
  background: #fafafa;
  border-radius: 12px;
  margin: 40px auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-section h2,
.contact-section p,
.contact-section ul.contact-info {
  padding: 0 4px;
  line-height: 1.7;
}

.contact-section ul.contact-info {
  margin-top: 18px;
  margin-bottom: 18px;
  padding-left: 24px;
}

.contact-section .form-group {
  margin-bottom: 0px;
}

.btn-primary {

  background-color: var(--primary) !important;
  border: 1px solid var(--primary);
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary);
  border: 1px solid var(--secondary);
  color: #fff;
}

/* Button Styling */
.btn-primary.btn-lg {
  padding: 12px 32px;
  font-size: 1.15rem;
  border-radius: 6px;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: background 0.2s;
}

.tag-option {
  cursor: pointer;
  font-size: medium
}

.tag-option:hover {
  background-color: var(--primary);
  color: white;
}



/* Share button styles */
.share-btn {
  background-color: var(--secondary);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.share-btn:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

.share-btn:active {
  transform: translateY(0);
}

.share-success {
  color: #28a745;
  font-size: 12px;
  margin-left: 10px;
  display: none;
  transition: opacity 0.3s ease;
}

.share-success.show {
  display: block
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  opacity: 0;
  border: none;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#backToTopBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}


/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-animation-name: fadeIn;
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
  z-index: 1001;
}

/* Modal Content */
.modal-content {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fefefe;
  width: 50%;
  min-height: 40%;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

@media (max-width: 768px) {
  .modal-content {
    left: unset;
    transform: unset;
    width: 100%;
  }

}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #d8b57a;
  color: white;
}

.modal-body {
  padding: 2px 16px;
}

.modal-footer {
  padding: 2px 16px;

  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;

}

/* Add Animation */
@-webkit-keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0
  }

  to {
    bottom: 0;
    opacity: 1
  }
}

@keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0
  }

  to {
    bottom: 0;
    opacity: 1
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

#filterBtn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Index / home page */

.customtag {
  margin: 3px;
  border: 1px solid #999;
  border-radius: 50px;
}

/* post card */
.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-wrapper {
  height: auto;
  position: relative;
  display: flex;
  overflow: hidden;
}

.single-image {
  width: 100%;
  height: 600px;
}

.main-image {
  width: 75%;
  height: 600px;
}

.main-image2 {
  width: 50%;
  height: 600px;
}

.side-images {
  width: 25%;
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.side-images2 {
  width: 50%;
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .single-image {
    height: 500px;
  }

  .main-image {
    height: 500px;
  }

  .side-images {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .single-image {
    height: 450px;
  }

  .main-image {
    height: 450px;
  }

  .side-images {
    height: 450px;
  }
}

@media (max-width: 576px) {
  .single-image {
    height: 350px;
  }

  .main-image {
    height: 350px;
  }

  .side-images {
    height: 350px;
  }
}

/* Dynamic side image heights based on number of images */
.side-image.one-image {
  height: 100%;
}

.side-image.two-images {
  height: 50%;
}

.side-image.three-images {
  height: 33.33%;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-overlay-icon {
  width: 40px;
  height: 40px;
  background-color: #000;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Override Bootstrap card height to allow square images */
.card.h-100 {
  height: auto !important;
}

.card {
  height: auto;
}


/* index.php  */
.mySlides {
  display: none;
}


.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

.background {
  width: 100%;
  height: 550px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active {
  background-color: #717171;
}

.mySlides {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
  display: block;
}

.mySlides.active {
  opacity: 1;
  z-index: 1;
}

.slideshow-container {
  position: relative;
  max-width: 100%;
  height: 550px;
  margin: auto;
  overflow: hidden;
}

.fade {
  animation-name: fade;
  animation-duration: 1.8s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

.bdt-main-title {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0);
  padding: 18px 40px;
  border-radius: 16px;
  box-shadow: 0 0px 0px rgba(255, 255, 255, 0.02);
  text-align: center;
}

@media (max-width: 600px) {

  .slideshow-container,
  .background {
    height: 400px;
  }

  .section-text {
    text-align: center;
    width: 100%;
  }


  .product-card {
    flex-basis: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
  }

  .stats-card {
    flex: 1 1 100%;
    max-width: 100%;
    height: auto;
  }
}

.bdt-title-tag {
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);

}

.special-expert {
  color: #DBB981;
  font-style: italic;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.section-hr {
  width: 80%;
  margin: 50px auto;
  height: 0px;
  border-top: 2px solid #DBB981;
  background-color: #DBB981;

}

.section-text {
  flex: 1 1 0;
  text-align: left;
}

.about-img {
  margin: 0;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  display: block;
  max-height: 750px;
}

.flex-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto;
  width: 100%;
}

.feedback-card,
.stats-card {
  flex: 1 1 200px;
  max-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats-card {
  padding: 24px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 310px;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.stats-icon {
  color: #DBB981;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

.h3-1 {
  color: #000;
  font-family: sans-serif;
  font-size: clamp(1.2rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 4px 24px rgba(70, 74, 74, 0.2);
  margin: 0;
  padding: 4px 20px;
  text-align: center;
}

.p1 {
  color: #000;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 1px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  margin: 0;
  padding: 4px 20px;
  text-align: center;
}

.p3 {
  font-size: 0.95rem;
  color: #626262;
}

.section-header {
  color: #DBB981;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 4px 24px rgba(70, 74, 74, 0.2);
  padding-block: 30px;
  text-align: center;
}

.cart-icon {
  display: inline-block;
  background: #DBB981;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.2rem;
  /*cursor: pointer;*/
  cursor: default;
  margin: 16px auto 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
}

.cart-icon {
  margin-right: 0px;
  font-size: 1.2em;
}

.h4-1 {
  color: #000;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  margin: 0;
  text-align: center;
}

.count-up {
  color: #DBB981;
}

.video {
  position: relative;
  width: 100%;
  max-width: 82%;
  margin: 0 auto;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.h5-1 {
  color: #000;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  margin: 0;
  padding: 4px 20px;
  text-align: left;
}

.img-product {
  width: 100%;
  height: 220px;
  /* Set your desired square size */
  max-width: 220px;
  max-height: 220px;
  aspect-ratio: 1 / 1;
  /* Modern browsers: keeps 1:1 ratio */
  object-fit: cover;
  /* Crop to fill the square */
  display: block;
  margin: 0 auto 12px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.img-partner {
  object-fit: contain;
  max-height: 180px;
}

.share-options {
  gap: 10px;
}

.about-section p {
  text-align: justify;
  text-justify: inter-word;
  font-size: clamp(16px, 2.5vw, 18px);
}

.carousel-card {
  width: 280px;
  height: 380px;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}