.section-separator {
  position: relative;
  height: 3px;
  border: none;
  background-color: #64b100;
  width: 80%;
  margin: 0 auto;
}

.products-page-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: -1px;
  left: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(56, 56, 56, 0.2) 20%, rgba(56, 56, 56, 0.4) 40%, rgba(56, 56, 56, 0.6) 60%, rgba(56, 56, 56, 0.8) 80%, rgba(56, 56, 56, 1) 100%);

  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);

}

.products-bg-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.products-presentation {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 6rem 3rem;
  clip-path: polygon(7% 0, 100% 0, 100% 87%, 93% 100%, 0 100%, 0% 60%, 0 13%);
  margin: 6rem 1rem 0 1rem !important;
  border-radius: 16px;
  overflow: hidden;
  height: 140vh;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  gap: 40px;
}

.products-presentation .smartphones-txt {
  display: none;
}

.products-presentation-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.425);
  z-index: -1;
}

#productsPageVideoBg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}



.products-presentation h1 {
  font-size: 4rem;
  font-weight: 900;
  color: #64b100;
  margin: 0;
}

.products-presentation h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.products-presentation p {
  position: absolute;
  width: 50%;
  bottom: 20%;
  right: 3rem;
  font-size: 1.4rem;
  color: #ffffff;
  text-align: justify;
}



.products-presentation .highlight {
  color: chartreuse;
}



.brief-description {
  margin: 3rem 1rem;
  padding: 1rem 2rem 4rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  color: #333;
}

.brief-description>h1 {
  font-size: 1.7rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 900;
}

.drone-types {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;

}

.drone-type {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.drone-type:hover {
  transform: translateY(-10px);
}

.drone-card {
  background: rgba(0, 0, 0, 0.281);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s ease-in-out;
}

.drone-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.drone-card-header {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.678);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 2rem 1rem 1rem;
  height: 120px;
  align-items: center;
  justify-content: center;
}

.drone-card-header h1 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.drone-card-header .drone-type-sep {
  margin: 1rem auto 0;
  border: 0;
  height: 3px;
  width: 50%;
  background: chartreuse;
  border-radius: 3px;
  opacity: 0.6;
  transition: width 0.3s ease;
}

.drone-card:hover .drone-card-header hr {
  width: 70%;
}

.drone-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.drone-card-content h2 {
  font-size: 1rem;
  color: #ffffff;
  margin: 0.5rem 0;
  font-weight: 500;
  text-align: start;
}


.drones-presentation {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.drones-presentation .small-devices-info {
  display: none;
}

.drones-presentation h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  padding: 2rem;
  text-align: center;
  z-index: 10;
}

.farming-drones-presentation h1,
.multi-drones-presentation h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  margin: 2rem 0;
  text-align: center;
  z-index: 2;
  position: relative;
}

.cleaning-drones-presentation {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cleaning-drones-presentation h1 {
  margin: 2rem 0;
}



.drones-gallery {
  position: relative;
  padding-bottom: 40px;
}

.gallery-cell {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  max-width: 66% !important;
  min-height: 340px !important;
  margin-right: 20px !important;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  padding: 1rem 2rem;
}

/* cell number */
.gallery-cell:before {
  display: block;
  text-align: center;
  line-height: 200px;
  font-size: 80px;
  color: white;
}

.gallery-cell-overlay {
  position: absolute;
  border-radius: 16px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: all 0.5s ease-in-out;
}

.gallery-cell h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  width: 500px;
  transition: all 0.3s ease-in-out;
  color: #ffffff;
}


.gallery-cell img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  transform: translateY(-12px);
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  z-index: -10;
  transition: all 0.3s ease-in-out;

}

.gallery-cell .drone-description {
  padding: 1rem 2rem;
  transform: translateY(500px);
  transition: all 0.5s ease-in-out;
  color: #ffffff;
}

.gallery-cell .drone-description h3 {
  font-size: 2rem;

}

.gallery-cell .drone-description p {
  font-size: 1.3rem;
}

.gallery-cell .drone-description .know-more {
  position: absolute;
  bottom: -50px;
  right: 45px;
  font-size: 1.2rem;
  padding: 10px 20px;
  border: none;
  color: #ffffff;
  background-color: #64b100;
  border-radius: 50px;
  cursor: pointer
}


.gallery-cell:hover img {
  transform: translateY(-50px);
  opacity: 0.7;


}

.gallery-cell:hover h2 {
  transform: translateX(20%);
  text-align: end;
  color: chartreuse;
}

.gallery-cell:hover .gallery-cell-overlay {
  background-color: rgba(0, 0, 0, 0.411);
}

.gallery-cell:hover .drone-description {
  transform: translateY(-30px);

}



.flickity-page-dots {
  margin-top: 0 !important;
  bottom: -25px;
  /* optional adjustment */
  text-align: center;
}

.flickity-page-dots .dot {
  width: 12px;
  height: 12px;
  margin: 2rem 5px !important;
  background: transparent;
  border: 2px solid chartreuse;
  border-radius: 50%;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.flickity-page-dots .dot.is-selected {
  background: chartreuse;
  opacity: 1;
  transform: scale(1.2);
}

@media (max-width: 1000px) {

  .products-presentation p {
    bottom: 30%;
  }

  .brief-description {
    pointer-events: none;
  }

  .drone-types {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    max-width: 100%;
  }

  .gallery-cell img {
    height: 100%;
    transform: translateY(0);
  }

  .gallery-cell:hover img {
    transform: translateY(0);
  }

  .gallery-cell:hover h2 {
    transform: translateX(0);
  }

  .gallery-cell .drone-description h3 {
    font-size: 1.5rem;
  }

  .gallery-cell.is-selected .drone-description {
    transform: translateY(0);
  }

  .gallery-cell.is-selected .gallery-cell-overlay {
    background-color: rgba(0, 0, 0, 0.39);
    border-radius: auto;
  }

  .gallery-cell.is-selected h2 {
    color: chartreuse;
    z-index: 200;
  }

  .cleaning-drones-presentation .gallery-cell .drone-description {
    transform: translateY(0);
  }

  .cleaning-drones-presentation .gallery-cell .gallery-cell-overlay {
    background-color: rgba(0, 0, 0, 0.39);
  }

  .cleaning-drones-presentation .gallery-cell h2 {
    color: chartreuse;
    z-index: 200;
    padding: 10px 0;
  }

  .gallery-cell:hover h2 {
    transform: translateX(0);
    text-align: center;

  }

}

@media (max-width: 800px) {
  .gallery-cell {
    height: 450px !important;
    overflow: visible;
  }

  .gallery-cell img {
    max-width: 100%;
    height: 85%;
  }

  .gallery-cell .drone-description .know-more {
    bottom: -100px;
    right: 45px;
   
  }
}

@media (max-width: 670px) {

  .products-presentation p {
    bottom: 15%;
  }

  .gallery-cell .drone-description .know-more {
    position: relative;
    bottom: 0;
    left: 30%;
    margin-top: 40px;

  }

  .brief-description .drone-types {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}


@media (max-width: 560px) {

  .products-presentation h1 {
    font-size: 3rem;
  }

  .products-presentation .txt-base {
    display: none;
  }

  .products-presentation .smartphones-txt {
    display: block;
    text-align: start;

  }

  .brief-description {
    padding: 1rem;
  }

  .gallery-cell{
    height: 300px !important;
  }

  .gallery-cell img{
    padding: 10px;
    }

  .gallery-cell .drone-description h3,
  .gallery-cell .drone-description p {
    display: none;
  }

  .gallery-cell .drone-description .know-more {
    position: relative;
    bottom: 0;
    left: 10%;
    margin-top: 150px;
    padding: 10px;

  }

  .gallery-cell h2 {
    font-size: 1rem;
    text-wrap:
  }

  .gallery-cell-overlay {
    display: none;
  }
}