body {
  font-family: 'Nunito', sans-serif;
  color: #222;
  background-color: #fff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

header {
  background-color: #AADFEB;
  padding: 1rem 2rem;
  color: #fff;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
  margin: 0;
  font-size: 2rem;
}

nav {
  margin-top: 1rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffffff;
}

main {
  overflow-y: auto;
  height: 100vh;
  scroll-behavior: smooth;
}

.hero {
  background: #AADFEB;
  color: #fff;
  padding: 5rem 1rem;
  text-align: center;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #5DB6C6;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #80CAD8;
}

/* Carousel */
.carousel {
  background-color: #f8f8f8;
  position: relative;
  padding: 4rem 1rem;
  text-align: center;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-slide {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 20px;
  padding: 2rem;
  animation: fade 1s ease-in-out;
}

.carousel-slide.active {
  display: flex;
  pointer-events: auto;
}

@keyframes fade {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

.feature-text {
  max-width: 400px;
}

.feature-text h3 {
  font-size: 2rem;
  margin: 0;
}

.feature-text p {
  font-size: 1.2rem;
  color: #555;
}

.feature-text blockquote {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-style: italic;
  color: #888;
  border-left: 4px solid #AADFEB;
  padding-left: 1rem;
}

/* Updated image size */
.carousel-slide img {
  max-width: 90%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Carousel Navigation */
.carousel-navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none; /* Prevent interaction with the buttons directly */
}

.carousel-navigation button {
  background-color: transparent;
  color:#AADFEB;
  border: none;
  font-size: 3rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease;
  border-radius: 50%;
}

.carousel-navigation button:hover {
  background-color: transparent;
  transform: scale(1.2);
}

/* Ensuring the arrows stay in place even when content changes */
.carousel-slide.active {
  display: flex;
  pointer-events: auto;
}

/* Slide change timer */
.carousel-slide {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 20px;
  padding: 2rem;
  animation: fade 1s ease-in-out;
}

/* The container for the carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel {
  background-color: #f8f8f8;
  position: relative;
  padding: 4rem 1rem;
  text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
  .carousel-slide img {
    max-width: 90%;
    max-height: 180px;
  }
}

footer {
  background-color: #AADFEB;
  color: white;
  text-align: center;
  padding: 1rem;
}
