/*--------------------------------------------------------------
#Smart Toilet - Title Section
--------------------------------------------------------------*/
.title {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(to bottom, #F4EFE7 12%, transparent 5%),
    linear-gradient(to top, #F4EFE7 6%, transparent 5%),
    url('../img/products/product-fbkiosk/products-background-1.png?v=1.0');
  background-size: 100% 100%, 100% 100%, contain;
  background-repeat: no-repeat;
  background-position: left;
  height: 85vh;
  background-color: #F4EFE7; 
}
.title::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 70%;
  width: 50%;
  height: 60%;
  background-color: #4D4D4D78;
  transform: translate(-50%, -50%);
  z-index: 10; 
  border-radius: 4px; 
}
.title-content {
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  width: 50%;
  padding: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.title .title-desc {
  text-align: left;
  margin-left: 50px;
  position: relative;
  font-size: 3rem;
  font-weight: 600;
  line-height: 0.8;
}
.title p {
  position: relative;
  margin-left: 50px;
  text-align: left;
  font-size: 1.5rem;
  line-height: 2rem;;
}

@media (max-width: 991.98px) {
  .title {
    background-image:
      url('../img/products/product-fbkiosk/products-background-1.png?v=1.0');
    height: 65vh;
  }
  .title .title-desc {
    font-size: 3rem;
  }
  .title::after {
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
  }
  .title-content {
    left: 50%;
    width:80%;
  }
  .title .title-desc {
    margin-left: 20px;
    font-size: 1.5rem !important;
  }
  .title p {
    font-size: 1rem;
    margin-left: 20px;
    line-height: 1.2rem;
  }
}

@media (max-width: 767.98px) {
  .title {
    height: 35vh;
    background-size: cover; 
  }

  .title .title-desc {
    font-size: 2rem;
  }
}

/*--------------------------------------------------------------
#Smart Toilet - Content Section
--------------------------------------------------------------*/
.content {
  background-color: #EBF3F8;
  display: inline-block;
  width: 100%;
}

.content h3 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #1F1F1F;
}

.content p {
  font-size: 1.2rem;
  font-weight: 500;
  color: #5F475A;
}

.content-item-1 {
  background-color: #FFFFFF;
  border-radius: 20px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  padding: 50px;
}

.content-item-img-1 {
  background-image:  
    url('../img/products/product-fbkiosk/description-img-1.png');
  background-size: contain;
  background-repeat: no-repeat;
  height: 600px;
  width: 800px;
  color: white;
}

/* .content-item-img-2 {
  background-image:  
    url('../img/products/product-fbkiosk/description-img-2.png');
  background-size: contain;
  background-repeat: no-repeat;
  height: 600px;
  width: 800px;
  color: white;
}

.content-item-img-3{
  background-image:  
    url('../img/products/product-fbkiosk/description-img-3.png');
  background-size: contain;
  background-repeat: no-repeat;
  height: 600px;
  width: 800px;
  color: white;
}

.content-item-img-4 {
  background-image:  
    url('../img/products/product-fbkiosk/description-img-4.png');
  background-size: contain;
  background-repeat: no-repeat;
  height: 600px;
  width: 800px;
  color: white;
}

.content-item-img-5 {
  background-image:  
    url('../img/products/product-fbkiosk/description-img-5.png');
  background-size: contain;
  background-repeat: no-repeat;
  height: 600px;
  width: 800px;
  color: white;
} */

.content-item-line {
  position: relative;
  display: flex;
  justify-content: center;
  transform: translateY(8px);
}

/* Grey background line */
.vertical-line-bg {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: #d9d9d9;
  z-index: 0;
}

/* Blue progress line (will be toggled on with .active) */
.vertical-line-fg {
  position: absolute;
  top: 0;
  width: 2px;
  height: 0%; /* Start from 0, will animate to 100% */
  background-color: #d9d9d9;
  z-index: 1;
  transition: background-color 5s;
}

.vertical-line-fg.active {
  background-color: #00bbff;
  animation: lineGrow 5s ease-out forwards;
}

/* Circles: start grey */
.content-item-circle {
  width: 20px;
  height: 20px;
  background-color: #d9d9d9;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: background-color 0.5s;
}

/* Completed/active dots */
.content-item-circle.active {
  background-color: #00bbff;
}

@keyframes lineGrow {
  from {
    height: 0%;
  }
  to {
    height: 100%;
  }
}

.content-item-1 .content-item-title {
  font-size: 1.5rem;
  padding-bottom: 80px;
  color: #949494;
  cursor: pointer;
}

.content-item-1 .content-item-title.active {
  color: #000;
}

.card-img.active {
  display: block;
}

.card-img {
  display: none;
}

@media (max-width: 1256px) {
  .content-item-1 {
    padding: 25px;
  }
  
  .content-item-img-1, .content-item-img-2, .content-item-img-3,
  .content-item-img-4, .content-item-img-5 {
    height: 60vh;
    width: 80vw;
    background-position: center;
  }
  
  .content-item-1 .content-item-title-m {
    padding-bottom: 20px;
    font-size: 1rem;
    color: #949494;
    cursor: pointer;
  }

  .content-item-1 .content-item-title-m.active {
    color: #000;
  }

  .content-item-line-m {
    position: relative;
    display: flex;
    justify-content: center;
    transform: translateY(8px);
  }

  /* Grey background line */
  .vertical-line-bg-m {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #d9d9d9;
    z-index: 0;
  }

  /* Blue progress line (will be toggled on with .active) */
  .vertical-line-fg-m {
    position: absolute;
    top: 0;
    width: 2px;
    height: 0%; /* Start from 0, will animate to 100% */
    background-color: #d9d9d9;
    z-index: 1;
    transition: background-color 5s;
  }

  .vertical-line-fg-m.active {
    background-color: #00bbff;
    animation: lineGrow 5s ease-out forwards;
  }

  /* Circles: start grey */
  .content-item-circle-m {
    width: 20px;
    height: 20px;
    background-color: #d9d9d9;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: background-color 0.5s;
  }

  /* Completed/active dots */
  .content-item-circle-m.active {
    background-color: #00bbff;
  }
  
  .card-img-m.active {
    display: block;
  }

  .card-img-m {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .content-item-img-1 {
    height: 45vh; 
  }  
}
/*--------------------------------------------------------------
# Detail Section
--------------------------------------------------------------*/
.detail-title {
  font-size: 2.5rem;
  line-height: 0.8;
  margin-bottom: 1.5rem;
}

.detail .detail-item-1 {
  display: flex;
  background-color: #F5F5F5;
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
}

.detail .detail-item-2 {
  display: flex;
  background-color: #00AAFF;
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
}

.detail .detail-content {
  flex-grow: 1;
}

.detail .detail-content h1 {
  color: #00AAFF;
  align-content: end;
  border-bottom: solid 1px black;
  padding-bottom: 8px;
  font-size: 1.2rem;
}

.detail .detail-content .h-50 {
  height: 50px !important;
}

.detail .detail-content .white-border {
  border-bottom: solid 1px white;
}

.detail .detail-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-color);
}

.detail .detail-content p {
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  height: 75px;
  color: #949494;
}

.detail .detail-content .title-icon {
  display: inline-block; 
  width: 80px; 
  height: 80px; 
  margin: 20px 0; 
  background-size: contain; 
  background-repeat: no-repeat;
}

@media (max-width: 767.98px) {
  .detail-title {
    font-size: 2.0rem;
    line-height: 1.2;
  }
  
  .detail .detail-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .detail .detail-content .h-50, .detail .detail-content h1 {
    height: unset !important;
  }

  .detail .detail-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .detail .detail-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
  }
  
  .detail .detail-content .title-icon {
    margin: 0;
    margin-top: 20px;
  }
}

@media (max-width: 575.98px) {
  .detail-title {
    font-size: 1.6rem;
  }
  
  .detail .trust-item {
    flex-direction: column;
    text-align: center;
  }

  .detail .trust-item::before {
    width: 100%;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
  }
}

/*--------------------------------------------------------------
# Awards Section
--------------------------------------------------------------*/
.section-title {
  color: #000;
  font-weight: 600;
}

.awards p {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: #949494;
}

@media (max-width: 575.98px) {
  .awards p {
    font-size: 1rem;
  }
}
/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.contact {
  background-color: #F2FCFF;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.contact h3 {
  font-size: 2.2rem;
  font-weight: 600;
}

.contact p {
  font-size: 1.2rem;
  font-weight: 500;
  color: #949494;
}

.contact a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  width: 180px;
  padding: 15px;
  border-radius: 18px;
  background-color: #E83C3C;
  border-color: #dc3545;
}

.contact a:hover {
  color: #fff;
  background-color: #C23636;
  border-color: #b02a37;
}
