
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  background-color: rgb(22, 36, 22);
}

.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  padding: 0 20px;
}

.hero-overlay h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  max-width: 800px;
  margin: 0 auto 20px;
  text-shadow: 2px 2px 4px #000, -2px -2px 4px #000, -2px 2px 4px #000, 2px -2px 4px #000;
}

.fancyButton {
  align-self: center;/*align-self: flex-start;*/
  padding: 10px 20px;
  background: VAR(--blue-accent-color);
  color: #fff;
  border: none;
  cursor: pointer;
}




.section-break {
  width: 100%;
  height: 150px;
  background: #333;
}




.image-text-section {
  display: flex;
  flex-wrap: wrap;
  min-height: 500px;
}

.image-text-section .text {
  flex: 1 1 45%;
  background: #555;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.image-text-section .text h2 {
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}

.image-text-section .text p {
  margin-bottom: 20px;
  line-height: 1.6;
}


.image-text-section .image {
  flex: 1 1 55%;
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

/*.right-image .image {
  order: 2;
}
.left-image .image {
  order: 1;
}*/


.carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.7s ease-in-out;
  width: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  width: 100%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.3em 0.5em;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }



.applications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 60px;
  background: #555;
}

.app-card {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
}

.app-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  text-align: center;
  padding: 15px;
}





@media (max-width: 900px) {
  .image-text-section {
    flex-direction: column;
  }
  .image-text-section .image,
  .image-text-section .text {
    flex: 1 1 100%;
  }
  .image-text-section .text {
    padding: 40px 20px;
    
  }

  .applications {
    padding: 40px 20px;
  }

  footer {
    padding: 40px 20px;
  }
}

@media (max-width: 600px) {
  .hero-overlay h1 {
    font-size: 1.5rem;
  }

  .app-card {
    height: 200px;
  }

  footer h4 {
    font-size: 1rem;
  }

  .section-break {
    height: 75px;
  }
}
