/*
-----------------
      HERO
-----------------
*/
/* Scroll hint button */
.scroll-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.scroll-hint.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-hint.visible:hover {
  text-decoration: none;
}

.scroll-hint.disabled {
  pointer-events: none;
  opacity: 0;
  animation: none;
}

.scroll-hint-icon {
  display: block;
  margin-top: 0.5rem;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }

  40% {
    transform: translate(-50%, -10px);
  }

  60% {
    transform: translate(-50%, -5px);
  }
}

.scroll-hint .scroll-hint-text {
  margin-bottom: 1rem;
  color: floralwhite !important;
  text-decoration: none !important;
  /*disable link hover*/
  background-image: linear-gradient(rgba(0, 0, 0, 0.085), rgba(0, 0, 0, 0.23), rgba(0, 0, 0, 0.085));
}

#heroCarousel {
  height: 95vh;
  /* full-screen header */
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

#heroCarousel .carousel-inner {
  height: 100%;
}

#heroCarousel .carousel-item {
  height: 100%;
}

#heroCarousel .carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(30%);
  /* darken background for text contrast */
  z-index: 1;
}

#heroCarousel .carousel-img img {
  position: absolute;
  width: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  height: fit-content;
  background-image: radial-gradient(rgb(0, 0, 0),
      rgb(0, 0, 0, 0.8),
      rgb(0, 0, 0, 0.6),
      rgb(0, 0, 0, 0.2),
      rgb(0, 0, 0, 0.05),
      rgb(0, 0, 0, 0.01),
      rgb(0, 0, 0, 0.005),
      rgb(0, 0, 0, 0));
  border-radius: 20%;
}

#heroCarousel .carousel-caption {
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: fit-content;
}

#heroCarousel .carousel-progress {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

#heroCarousel .progress-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 80px;
  height: 0.4rem;
  border-radius: 10%;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

#heroCarousel .progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--bs-primary);
  opacity: 0.4;
  transform: scaleX(1);
  transform-origin: center;
  transition: transform 5s linear;
  /* must match carousel interval */

}

#heroCarousel .progress-btn.active .progress-bar {
  transform: scaleX(0);
  opacity: 1;
}

#heroCarousel .progress-btn:hover .progress-bar {
  opacity: 1;
}

/*
  -----------------
  PRODUCTS SECTION
  -----------------
  */
#products {
  overflow-x: visible;
}

#products .container {
  overflow-x: visible;
}

.product-scroll {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 2rem;

  overflow-x: visible;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  scrollbar-width: none;
  -ms-overflow-style: none;
  min-width: 100%;
  scroll-behavior: smooth;
}

.product-scroll::-webkit-scrollbar {
  display: none;
}

.product-scroll .product {
  flex: 0 0 auto;
  /* 🔑 prevents shrinking */
  width: 350px;
  scroll-snap-align: start;
  display: flex;
}

a.product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;

  text-decoration: none;
  color: inherit;

  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  /* header | body | footer */
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  width: 100%;
}

.product-card .know-more {
  flex: 0 0 auto;
  width: 100%;
  text-align: center;
  background-color: var(--bs-primary);
  padding: 0.75rem;
  color: #fff;
  font-weight: bold;
}


.product-card:hover {
  cursor: pointer;
  border: .2rem solid var(--bs-primary);
  transform: translateY(-1rem);
  box-shadow: 10px 10px var(--bs-primary) !important;
  transition: all 0.25s ease;
}

.product-card-title {
  vertical-align: top;
  margin-top: 0;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  text-align: center;
  margin: 0 8px;
}

.product-scroll .product a {
  width: 100%;
}

.product-card-logo {
  padding: 1rem;
  height: 85px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.product-card-image {
  margin-bottom: 1rem;
  max-height: 250px;
  object-fit: contain;
}

.product-card-body-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card.product-card .btn-outline-primary {
  background-color: #ffffff !important;
  font-weight: bold;
}

.card.product-card .btn-outline-primary:hover {
  background-color: #fed33641 !important;
  color: var(--bs-primary);
}


#products-features td:first-child {
  padding-right: 1rem;
  width: 3rem;
  /* optional: keeps icons aligned */
}

#products-features {
  margin-bottom: calc(1rem + 1vh);
  flex: 10%;
}

#products-features td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/*
Prevent table borders to become invisible after animation
*/
#products-features td {
  position: relative;
  z-index: 10;
  background: white;
}

#products-features td>* {
  margin: auto;
}

.product.view-all {
  flex: 0 0 auto;
  width: 260px;
}

.product.view-all .product-card {
  height: 100%;
  border: 2px dashed var(--bs-primary);
  background-color: transparent;
  transition: all 0.2s ease;
}

.product.view-all .product-card:hover {
  background-color: var(--bs-primary-bg-subtle);
  transform: translateY(-2px);
}

/*
-----------------
      SERVICE SECTION
-----------------
*/
.service-img img {
  border-radius: 30px;
  box-shadow: 0px 5px 5px 5px #94949454;
}

/*
-----------------
      EXPERIENCE SECTION
-----------------
*/
.experience-img {
  margin: auto;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.experience-img img {
  margin: auto;
  max-width: 40%;
  border-radius: 30px;
  z-index: 1000;
  box-shadow: 0px 5px 5px 5px #94949454;
}

/*
-----------------
  ABOUT SECTION
-----------------
*/
.about-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border: 0rem solid rgba(254, 209, 54, 0.1);
}

/*
-----------------
  PARTNERS SECTION
-----------------
*/

img.partners-img {
  max-height: 3rem;
}

#parceiros .list-group-item {
  display: flex;
}


#parceiros .col-partner-icon {
  flex: 10%;
  justify-content: start;
}

#parceiros .col-partner-text {
  flex: 60%;
  justify-content: start;
}

#parceiros .col-partner-logo {
  flex: 20%;
  justify-content: start;
}


/*
-----------------
  CONTACT SECTION
-----------------
*/

#address_map {
  height: 40vh !important;
}



/*
-----------------
      MISC
-----------------
*/


.page-section {
  padding-top: 3rem;
  padding-bottom: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: calc(1rem + 1vh);
  margin: auto;
}

.page-section>* {
  flex: auto;
}

.page-section .page-section-heading {
  flex: .5 .5 5%
}

.section-highlight-icon p {
  max-width: 100%;
  margin: auto;
  text-wrap-style: balance;
}

.section-highlight-icon p strong {
  color: rgb(97, 95, 95);
  font-weight: bold;
}


.horizontal-scroll {
  scroll-behavior: smooth;
}



.row.team-member {
  min-height: 0;
  max-height: 100%;
}

.row.team-member>* {
  min-height: 0;
  max-height: 100%;
}








/*non mobile and with enough height*/
@media (min-width: 769px) and (min-height: 1080px) {

  /*
  Increase page section size, snap scroll
  * better animation trigger on scroll
  * more focus on content
  */
  #page-top {
    min-height: 100vh;
    height: 100vh;
    overflow: auto;
  }

  .page-section {
    height: 90vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .no-snap {
    scroll-snap-type: none !important;
  }
}


/*
SAL default configurations - animations
*/
:root {
  --sal-duration: 800ms;
  --sal-easing: ease-in-out;
}

.sal-disabled {
  --sal-duratinon: 0ms !important;
}




/*small width*/
@media (max-width: 768px) {
  .section-highlight-icon {
    max-width: 65vw;
    margin: auto;
  }

  .about-img {
    height: auto;
    max-width: 90%;
    margin-top: 1.5rem;
  }
}