/* Wrapper styling */
.carousel-wrapper {
  background-color: #412B6C;
  padding: 20px;
  padding-top: 10px;
  box-sizing: border-box;
  text-align: center;
  color: white;
  font-family: "Raleway", sans-serif;
}

/* About Us Carousel Container Styling */
.about-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  margin-left: 0;
}

/* About Us Carousel Styling */
.about-carousel {
  display: flex;
  transition: transform 1s ease-in-out;
}

.about-carousel-slide {
  position: relative;
  min-width: 100%;
}

.about-carousel img {
  width: 100%;
  height: 300px; /* Set a fixed height to ensure all images are the same size */
  object-fit: cover; /* Ensure the images cover the element without stretching */
}


.about-carousel-text {
  position: absolute;
  bottom: 50px;
  width: 100%;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  font-family: Arial, Helvetica, sans-serif;
}

.about-carousel-text h2 {
  font-family: "Audiowide", sans-serif;
  font-size: 30px;
}

.about-carousel-text p {
  font-family: "Raleway", sans-serif;
  font-weight: bold;
  font-size: 21px;
}

.about-carousel-text button {
  border: none;
  padding: 10px 15px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 10px;
  font-family: "Quicksand", sans-serif;
}

.about-carousel-text button:hover {
  color: #412B6C;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.carousel-slide-description {
  font-size: 16px;
  color: white;
  margin: 10px 0 15px 0;
  font-family: "Quicksand", sans-serif;
}

.carousel-slide-mission {
  font-size: 16px;
  color: white;
  margin: 10px 0;
  font-family: "Quicksand", sans-serif;
  border: 5px solid white;
  padding: 0px;
  /* box-shadow: -20px 0 0 white, 20px 0 0 white; */
}

.carousel-slide-mission h2 {
  font-family: "Raleway", sans-serif;
  font-size: 28px;
}

/* History Section Styling */
.history-section {
  background-color: #DADAE8;
  color: black;
  padding: 4px 70px;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.history-section h2 {
  text-align: center;
  font-size: 25px;
  margin-bottom: 20px;
  /* text-transform: uppercase; */
  letter-spacing: 2px;
  font-family: "Raleway", sans-serif;
}

.history-section p {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.6;
  font-family: "Quicksand", sans-serif;
}

/* Media query for small screens */
@media (max-width: 768px) {
  .about-carousel-text {
    bottom: 30px;
  }

  .about-carousel-text h2 {
    font-size: 20px;
  }

  .about-carousel-text p {
    font-size: 14px;
  }

  .about-carousel-text button {
    font-size: 0.8em;
    padding: 8px 12px;
  }

  .carousel-slide-description,
  .carousel-slide-mission,
  .history-section p {
    font-size: 12px;
  }

  .history-section h2{
    font-size: 18px;
  }

  .history-section{
    padding: 4px 40px;
  }
}

.about-carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2em;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.3s ease; /* Smooth animation */
}

.about-carousel-button.left {
  left: 10px;
  background-color: rgba(255, 255, 255, 0);
}

.about-carousel-button.right {
  right: 10px;
  background-color: rgba(255, 255, 255, 0);
}

.about-carousel-button.left:hover {
  transform: translate(-10px, -50%); /* Moves left horizontally, stays vertically centered */
}

.about-carousel-button.right:hover {
  transform: translate(10px, -50%); /* Moves right horizontally, stays vertically centered */
}

.about-carousel-dots {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 30px;
  width: 100%;
}

@media (max-width: 768px) {
  .about-carousel-dots {
    bottom: 20px;
    width: 100%;
  }
}

@media (max-width: 550px) {
  .about-carousel-dots {
    bottom: 10px;
    width: 100%;
  }
}

.about-carousel-dot {
  width: 30px;
  height: 3px;
  border: none;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 5px;
}

.about-carousel-dot.active {
  background-color: rgba(255, 255, 255, 0.8);
}

.about-carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Learn-more button styling */
.about-learn-more-button {
  background-color: white;/* Button background color */
  color: #412B6C; /* Button text color */
  border: none; /* Remove border */
  padding: 10px 15px; /* Add padding */
  font-size: 1em; /* Font size */
  cursor: pointer; /* Pointer cursor */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for both background and text color */
  margin-top: 10px; /* Margin at the top */
  border-radius: 50px; /* Rounded corners */
  font-weight: bold;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.about-learn-more-button:hover {
  color: white !important; /* Force text color to change on hover */
  background-color: #412B6C; /* Background color on hover */
}

/* Media query for screens smaller than 550px */
@media (max-width: 550px) {
  .about-carousel-text {
    bottom: 20px;
    padding: 0 10px;
  }

  .about-carousel-text h2 {
    font-size: 22px;
  }

  .about-carousel-text p {
    font-size: 12px;
  }

  .about-carousel-text button {
    font-size: 0.7em;
    padding: 8px 10px;
  }

  .carousel-slide-description,
  .carousel-slide-mission,
  /* .history-section h2, */
  .history-section p {
    font-size: 12px;
  }
}

