
.owl-carousel {
  width: 100%;/* Full width */
  display: none;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1;
  overflow: hidden; 
}

  .owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
  }

  .owl-carousel .owl-nav.disabled,
  .owl-carousel .owl-dots.disabled {
    display: none;
   }

  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next,
  .owl-carousel button.owl-dot {
    background: none;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit; 
  }

  .owl-carousel.owl-loaded {
    display: block; 
  }

  .owl-carousel.owl-loading {
    opacity: 0;
    display: block; 
  }
   
  .testm-wrap .owl-stage-outer {
    height: 370px!important; /* Adjust this value as needed */
    padding-top:30px;
    align-items: center; /* Centers items vertically */
}

/* Make active testimonial larger */
.owl-item.active.center .testimonial-card {
    transform: scale(1.2);
    opacity: 1;
}

.owl-carousel .owl-item {
    display: flex;
    justify-content: center;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    color: var(--white);
    background: none;
}

/* Ensure the pagination dots are visible */
.owl-theme .owl-dots {
text-align: center;
display: block !important; /* Force visibility */
}

/* Styling for inactive dots */
.owl-theme .owl-dots .owl-dot {
display: inline-block;
width: 14px;
height: 14px;
margin: 5px;
background: var(--hr);
border-radius: 50%;
transition:  0.3s ease;
cursor: pointer;
}

/* Styling for active dot */
.owl-theme .owl-dots .owl-dot.active {
background: var(--primary-color);
width: 14px;
height: 14px;
}

/* Optional: Hover effect on dots */
.owl-theme .owl-dots .owl-dot:hover {
background: var(--txt);
}

.testimonial-card {
  background: var(--white);
  padding: 20px;
  border: 1px solid var(--black);
  border-radius: 15px;
  text-align: left;
  height: auto;
  width: 90%;  /* Ensures it doesn’t get too wide */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  opacity: 0.6;
  margin: auto;
}

.testimonial-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.testimonial-card h5 {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.testimonial-card p {
  font-size: 14px;
  color: var(txt);
  margin-bottom: 10px; line-height:22px;
}

.bottom-text {
  font-size: 14px;
  color: var(txt);
  margin-top: 15px;
  margin-bottom: 10px;
}

.testimonial-card hr {
  width: 100%;
  margin: 2px auto;
  border: 1px solid var(--secondary-color);
  opacity: 1;
}

/* participating banks carousel */
.participants-section {
  width: 100%;
  max-width:auto; /* Adjust as needed */
  margin:auto;/* Optional: for inner spacing on smaller screens */
}

.owl-carousel1 {
  width: 100%;
  max-width: auto; /* Set the carousel max width */
  margin: 0 auto;
}

  .owl-carousel1 .owl-stage-outer {
    overflow: hidden;
  }

  .owl-carousel1 .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
  }

  .owl-carousel1 .owl-nav.disabled,
  .owl-carousel1 .owl-dots.disabled {
    display: none;
   }


  .owl-carousel1 .owl-nav button.owl-prev,
  .owl-carousel1 .owl-nav button.owl-next,
  .owl-carousel1 button.owl-dot {
    background: none;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit; 
  }

  .owl-carousel1.owl-loaded {
    display: block; 
  }

  .owl-carousel1.owl-loading {
    opacity: 0;
    display: block; 
  }
   
  .testm-wrap .owl-stage-outer {
    height: 400px!important; /* Adjust this value as needed */
    padding-top:30px;
    align-items: center; /* Centers items vertically */
}

/* Make active testimonial larger */
.owl-item.active.center .testimonial-card {
    transform: scale(1.2);
    opacity: 1;
}

.owl-carousel1 .owl-item {
    display: flex;
    justify-content: center;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    color: var(--white);
    background: none;
}

.card1 {
  background: var(--white);
  height: 200px;
  width: 200px;
  border: 1px solid var(--black);
  border-radius: 15px;
  text-align: left;
  margin:0px;
}

/* 🏦 BANK LOGOS STYLING */
.card-bank {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--secondary-color);
  padding:10px;
  margin: 0px;
  width: 150px;
  height: 150px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card-bank img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.participants-section .owl-stage-outer {
  height: 180px!important; /* Adjust this value as needed */
  width:100%; margin-top:30px;
  /* display: flex; */
  align-items: center;
  justify-content: center;
}

.owl-theme-banks {
  position: relative;
}

/* 🎯 LEFT & RIGHT NAV BUTTONS (Beside the cards) */
.owl-theme-banks .owl-nav {
  position: absolute;
  top:20%;
  width: 100%;
  font-size:50px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none; /* Prevents overlap issues */
}

/* 🎯 NAVIGATION BUTTON STYLING */
.owl-theme-banks .owl-nav button {
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent */
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all; /* Enables button clicks */
  transition: 0.3s ease-in-out;
}

.owl-theme-banks .owl-nav button.owl-prev {
  position: absolute;
  left: -50px; /* Moves left arrow outside */
}

.owl-theme-banks .owl-nav button.owl-next {
  position: absolute;
  right: -50px; /* Moves right arrow outside */
}

/* 🎯 HOVER EFFECT */
.owl-theme-banks .owl-nav button:hover {
  background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 1199px) {
.card-bank{width:130px; height:130px;}
.owl-theme-banks .owl-nav{top:18%;}
}

@media (max-width: 991px) {
.participants-section .owl-stage-outer{height:190px!important;}
}

@media (max-width: 767px) {
.testimonial-card img{height:auto;}

.testm-wrap .owl-stage-outer{padding-top:45px; margin-bottom:85px;}

#testimonials .large-12{padding-top:20px !important;}

#testimonials .owl-carousel{margin:auto; width:90%; padding:0 30px;}

.testimonial-card h5{font-size:15px;}
.testimonial-card p{line-height:18px; font-size:13px;}
}

@media (max-width: 600px) {
.testm-wrap .owl-stage-outer{margin-bottom:0;}

.testm-wrap .owl-stage-outer{height:310px !important;}

.testimonial-card .card-body{padding-top:0 !important;}
}

@media (max-width: 500px) {
.testm-wrap .owl-stage-outer{margin-bottom:35px;}
}

@media (max-width: 415px) {
.testm-wrap .owl-stage-outer{margin-bottom:85px;}
}

@media (max-width: 395px) {
.testm-wrap .owl-stage-outer{margin-bottom:40px;}
}