/* Carousel Container */
.custom-carousel {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    /*max-width: 1200px;*/
    margin: auto;
    overflow: hidden;
    font-family: 'Source Sans Pro', sans-serif, Arial, Helvetica;
  }

/* Arrows Outside */
.custom-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
}
.custom-carousel-arrow.left {
  left: 07px; /* Position arrow outside on the left */
}

.custom-carousel-arrow:hover{
    background-color: rgba(0, 0, 0, 0.5);
}

.custom-carousel-arrow.right {
  right: 07px; /* Position arrow outside on the right */
}

/* Carousel Track */
.custom-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

/* Individual Slide */
.custom-carousel-slide {
  display: flex;
  flex: 0 0 100%;
  width: 100%;
  gap: 1rem;
}

/* Image Section 
.custom-carousel-image {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-carousel-image img {
  width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}
*/
/* Content Section */
.custom-carousel-content {
  width: 100%;
  padding: 0px;
  display: flex;
  flex-direction: column;
  /*justify-content: center;*/
  /* background-color: #f9f9f9; */
  border-radius: 16px;
  position: relative;
  z-index: 1;
}
.custom-carousel-content h2 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.custom-carousel-content h2 span{
color: orangered;
}

.custom-carousel-content .quote-img{
    position: absolute;
    top: 0%; /* Adjust as needed */
    left: 0%; /* Adjust as needed */
    z-index: -1; /* Place the quote image behind the content */
    opacity: 0.1; /* Optional: Adjust visibility to make the text more readable */
    width: 80px
    
}

.custom-carousel-content p {
  font-size: 16px;
  color: #555;
}

.custom-carousel-content h4{
  margin: 05px 0px;
  font-size: 20px
}

.custom-carousel-content .logo-name{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.custom-carousel-content .logo-name img{
    width: auto;
    height: 30px;
    border-radius: 0px;
}


/* Responsive Design */
@media (max-width: 820px) {
  .custom-carousel-slide {
    flex-direction: column;
  }
  .custom-carousel-image,
  .custom-carousel-content {
    width: 100%;
  }
  .custom-carousel-arrow.left {
    left: 05px;
  }
  .custom-carousel-arrow.right {
    right: 05px;
  }
  
  .custom-carousel{
        width: 100%;
        padding: 0px;
    }
    
    .text-box p{
        text-align: center;
    }
    
    .custom-carousel-content .logo-name{
        justify-content: center;
    }
}


@media screen and (max-width: 480px){
    .custom-carousel{
        width: 100%;
        padding: 0px;
    }
    
    .text-box p{
        text-align: center;
    }
}


.custom-carousel-content .logo-name img {
    border-right: 1px solid;
        padding-right: 15px;
}

.custom-carousel-content .td:first-child {
    vertical-align: middle;
    width: 90%;
}

.td h1 {
    font-weight: 600;
    font-size: 44px;
    padding-bottom: 20px;
    line-height: 25px;
}

.td p {
    color: white;
    font-size: 24px;
    padding-bottom: 0;
    margin-bottom: 27px;
    font-weight: 400;
    line-height: 33px;
}

.td {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .td h1 {
        font-size: 36px;
        line-height: 40px;
        padding-bottom: 15px;
    }

    .td p {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 20px;
    }
    
    .custom-carousel-arrow {
    
    font-size: 18px;
    width: 35px;
    height: 35px;
    }
    
    .container.td {
    width: 90%;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .td h1 {
        font-size: 22px;
        line-height: 35px;
        padding-bottom: 0px;
    }

    .td p {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 10px;
    }
    
    img.custom-carousel-content{
    aspect-ratio: 12 / 5;
    width: 100%;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
.custom-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 13px;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
}
img.mobsize {
    height: 230px;
}
.container.td {
    width: 90%;
}
}