#outreachCarousel {
  height: 100vh;
  position: relative;
}

#outreachCarousel .carousel-item {
  height: 100vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#outreachCarousel .carousel-item img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.carousel-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}

.carousel-text p {
  font-size: 1.5rem;
  font-family: "Lexend", sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

#outreachCarousel .carousel-control-prev,
#outreachCarousel .carousel-control-next {
  width: 5%;
}

#outreachCarousel .carousel-indicators {
  bottom: 2rem;
}

.inspiration-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.inspiration-container .section-subtitle-small {
  color: var(--teamgreen);
  font-size: 1.5rem;
  font-weight: bold;
  font-family: "Lexend", sans-serif;
  margin-bottom: 1rem;
}

.inspiration-image-wrapper {
  position: relative;
  width: 100%;
}

.inspiration-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.inspiration-content {
  width: 100%;
}

.video-container {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--bordergreen);
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 992px) {
  .carousel-text p {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .section-subtitle {
    font-size: 1.8rem;
    text-align: center;
  }

  .section-subtitle-small {
    font-size: 1.3rem;
    text-align: center;
  }

  .section-text {
    font-size: 1.1rem;
    text-align: center;
  }

  .programs-section {
    padding: 3rem 0;
  }

  .inspiration-container .section-subtitle-small {
    font-size: 1.3rem;
    text-align: center;
  }

  .inspiration-image {
    min-height: 180px;
  }
}

@media (max-width: 768px) {
  .carousel-text p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.5rem;
  }

  .section-subtitle-small {
    font-size: 1.2rem;
  }

  .section-text {
    font-size: 1rem;
  }

  .inspiration-container .section-subtitle-small {
    font-size: 1.2rem;
  }

  .inspiration-image {
    min-height: 150px;
  }
}

.robot-demos-section {
  padding: 5rem 0;
  background: #1a1a1a;
  color: white;
}

.robotDemosSwiper {
  width: 100%;
  padding: 2rem 0 4rem 0;
}

.demo-slide {
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.demo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.demo-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--teamgreen);
  font-family: "Lexend", sans-serif;
  margin: 1.5rem 0 0.5rem 0;
}

.demo-date {
  font-size: 1rem;
  color: #888;
  font-family: "Lexend", sans-serif;
  margin: 0 0 0.5rem 0;
  font-style: italic;
}

.demo-author {
  font-size: 0.9rem;
  color: #666;
  font-family: "Lexend", sans-serif;
  margin: 0 0 1rem 0;
  font-weight: 500;
}

.demo-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e6e6e6;
  font-family: "Lexend", sans-serif;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

@media (max-width: 992px) {
  .robot-demos-section {
    padding: 3rem 0;
  }

  .demo-image {
    height: 180px;
  }

  .demo-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .demo-image {
    height: 160px;
  }

  .demo-title {
    font-size: 1.1rem;
  }

  .demo-text {
    font-size: 0.9rem;
  }
}
