.nova_intro {
    background: #FFF bottom center url(../img/nova/bg_nova_intro.jpg) no-repeat;
    margin: -200px 0px 0px 0px;
    padding: 200px 0px 0px 0px;
    background-size: cover;
    min-height: 900px;
    display: flex;
}
.nova_intro p { font-size: 1.4rem; font-weight: 300; }

@media (max-width: 990px) {
  .nova_intro {
      background: #FFF bottom center url(../img/nova/bg_nova_intro_mobile.jpg) no-repeat;
      margin: 0px 0px 0px 0px;
      padding: 0px 0px 0px 0px;
      background-size: cover;
      min-height: 1200px;
  }
  
}

@media (max-width: 767.98px) {
  .nova_intro {
      background: #FFF bottom center url(../img/nova/bg_nova_intro_mobile.jpg) no-repeat;
      margin: 0px 0px 0px 0px;
      padding: 0px 0px 0px 0px;
      background-size: cover;
      min-height: 1000px;
      overflow-x: hidden;
  }

}
@media (max-width: 500px) {
  .nova_intro h2 { font-size: 1.2rem; font-weight: 300; }
  .nova_intro p { font-size: 1rem; font-weight: 300; }
  .nova_intro { background-size: 100%; background-position: bottom center; min-height: 700px; }
}

.bg-image-section {
    background: #FFF center right url(../img/nova/bg_5_percent.jpg) no-repeat;
    background-size: cover;
    min-height: 75vh;
    display: flex;
}

.bg-image-section img {    
    width: 100%;
    height: auto;
    display: block;
}

.benefit_bg {
    background: top center url(../img/nova/etukaari.png) no-repeat;
    background-size: 100%;
    height: 100px;
    width: 100px;
}



.carousel-indicators [data-bs-target] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #000;
    opacity: 0.5;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #000;
}

.carousel-item {
  min-height: 600px;
  width: 80%;
  left: 10%;
}
.carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.carousel-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 2rem;
  font-size: 1.4em;
}
.carousel-text h2 {
  font-weight: bold;
}
/* Big dark arrows */
.carousel-control-prev, .carousel-control-next {
  width: 10%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  font-size: 3rem;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev-icon::before { content: '◀'; }
.carousel-control-next-icon::before { content: '▶'; }

/* Desktop: absolute top-left/top-right */
@media (min-width: 768px) {
  #NovaCarouselIndicators .carousel-control-prev,
  #NovaCarouselIndicators .carousel-control-next {
    position: absolute;
    top: 20%;
  }
  #NovaCarouselIndicators .carousel-control-prev { left: 2%; }
  #NovaCarouselIndicators .carousel-control-next { right: 2%; }
}

.double-quote {
  position: relative;
  font-size: 1.5rem;
  font-style: italic;
  color: #333;
  line-height: 1.6;
  padding: 2.5rem 3rem;
  border-radius: 0.5rem;
}

/* Opening decorative quote mark */
.double-quote::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 6rem;
  color: rgba(0, 0, 0, 0.08);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
}

/* Closing decorative quote mark */
.double-quote::after {
  content: "”";
  position: absolute;
  bottom: -10px;
  right: 20px;
  font-size: 6rem;
  color: rgba(0, 0, 0, 0.08);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
}

/* Optional: subtle attribution styling */
.double-quote .blockquote-footer {
  font-size: 1rem;
  color: #666;
  text-align: right;
}

.beforeafter .card-body {
    height: 350px;
    overflow-y:scroll;
}


/* Mobile: below content */
@media (max-width: 767.98px) {
  #NovaCarouselIndicators .carousel-control-prev,
  #NovaCarouselIndicators .carousel-control-next {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    border: 1px solid #000;
    border-radius: 10px;
    margin-top: 10px;
    transform: none;
    padding: 10px;
  }
#novaTipCarouselIndicators .carousel-control-prev,
#novaTipCarouselIndicators .carousel-control-next {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    border: 1px solid #000;
    border-radius: 10px;
    margin-top: 10px;
    transform: none;
    padding: 10px;
  }

  .bg-image-section p { font-size: 1rem; }
    .bg-image-section {
      background: none;        
      min-height: auto;
  }
  .carousel-indicators {
    display: none;
    /* 
    position: static;  
    margin-top: 1rem; 
    */
  }

}
.tip .carousel-indicators {
    position: static; 
}

@media (max-width: 576px) {
    p { font-size: 1rem; line-height: 1.5;}
    .tk_img p { font-size: 16px; line-height: 1.5;}

}
/* FAQ */

.faq { color: #606061; }
.tk_img { max-width: 55%; }

.tip h4 { font-size: 18px; }
.tip h5 { font-size: 16px; }
.tip h6 { font-size: 14px; }


.accordion-button {
  background-color: #f8f9fa;
  font-weight: 500;
  color: #333;
}
.accordion-button:not(.collapsed) {
  color: #000;
  background-color: #e9ecef;
  box-shadow: none;
}
.accordion-body {
  background-color: #fff;
  color: #555;
}
