.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  // background: var(--color4);
  padding: 50px;

  .slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 70vh;
  }

  .slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: transparent;
    border-radius: 10px;
    // box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .text-content {
    width: 30%;
    margin-left: -200px;
  }

  h2 {
    font-size: var(--text-xlarge);
    font-family: var(--secondary-font);
    color: black;
  }

  p {
    font-size: var(--text-medium);
    margin: 10px 0;
    color: black;
    margin-block: 2.5rem;
  }

  .read-more {
    background: darkred;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
  }

  .image-placeholder {
    position: absolute;
    top: 0px;
    width: 40%;
    height: 100%;
    // background-image: url("../public/images/Hero.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 10px;
    right: -10%;
  }

  .prev,
  .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none;
    font-size: 24px;
    width: 50px;
    height: 50px;
    z-index: 9999 !important;
    // border-radius: 50%;
    cursor: pointer;
  }

  .prev {
    left: 20%;
    scale: 1;
  }

  .next {
    right: 35%;
    scale: 1;
  }
}

.establish-carousel {
  position: relative;
  width: 100%;
  overflow: visible;
  // background: var(--color4);

  padding: 50px;

  @media screen and (max-width: 768px) {
    padding: 0px !important;

    .text-content {
      text-align: center !important;
    }

    .slide {
      padding: 10px !important;
    }

    .dots-container {
      bottom: 0px !important;
      right: -13% !important;
    }

    .prev,
    .next {
      bottom: -50px !important;
      scale: 0.8 !important;
    }
  }

  @media screen and (min-width: 1400px) and (max-width: 1700px) {
    .image-placeholder {
      scale: 1 !important;
    }

    .prev,
    .next {
      bottom: 100px !important;
    }

    .dots-container {
      bottom: 80px !important;
      right: 28% !important;
    }
  }

  .slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 70vh;
    overflow-y: visible;
  }

  .slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: transparent;
    border-radius: 10px;
    // box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .text-content {
    width: 40%;
    margin-left: -200px;
  }

  h2 {
    font-size: var(--text-xlarge);
    font-family: var(--secondary-font);
    color: var(--color3);
    padding-bottom: 30px;
  }

  .bold-text {
    font-size: var(--text-medium);
    margin: 10px 0;
    color: black;
    font-weight: bold;
  }

  p {
    font-size: var(--text-medium);
    margin: 10px 0;
    color: black;
    margin-block: 2.5rem;
  }

  .read-more {
    background: darkred;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
  }

  .image-placeholder {
    position: absolute;
    top: -70px;
    width: 45%;
    scale: 1.5;
    height: 100%;
    // background-image: url("../public/images/Hero.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 10px;
    right: -10%;
  }

  .dots-container {
    position: absolute;
    right: 20%;
    bottom: 0px;
    z-index: 9999;
    // border: 50px solid red;
  }

  .prev,
  .next {
    position: absolute;
    bottom: 10%;
    transform: translateY(-50%);
    background: none !important;
    border: none;
    font-size: 24px;
    width: 50px;
    height: 50px;
    z-index: 9999 !important;
    // border-radius: 50%;
    cursor: pointer;
  }

  .prev {
    left: 20%;
    scale: 1;
  }

  .next {
    right: 35%;
    scale: 1;
  }
}
