

.testimonial-container {
  width:100%;
  margin: 0 auto;
  text-align: center;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1%;
  padding-top:2%;
}

.tab {
  background: none;
  border: none;
  font-size:var(--h3);
  font-weight: 600;
  color:#000000;
  cursor: pointer;
  padding: 10px 20px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.tab.active {
  border-bottom: 2px solid #2b3b94;
   color: #2b3b94;
}

.testimonial-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
      padding: 2% 0%;
       width: 100%; 

  margin: 0 auto; 
  
}


.testimonial-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 7% 30px;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.quote-icon {
     position: absolute;
    top: -55px;
    left: 30px;
    z-index: 1;
}



.testimonial-text {
  font-size: var(--p);
  line-height: 1.5;
  margin: 20px 0;
  color: #000000;
font-weight: 400;
text-align: left;
text-transform: capitalize;    padding-top: 5%;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.owl-item{
  padding: 5px;
  box-sizing: border-box;
}
.author-photo {

 /* height: 50px;
  border-radius: 50%;
  object-fit: cover;
  float: right;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;*/
    
    position: absolute;
    right: 10px;
    top: -55px;
    z-index: 1;
}

.author-name {
  font-size:var(--font30);
  font-weight:600;
  margin: 0;
  color: #2b3b94;
  
line-height:1.4;
text-align: left;

}

.author-role {
  font-size:var(--font28);
  color: #000000;
font-weight: 400;
line-height:1;
text-align: left;

}

/*.owl-pagination{
    margin-top: 40px;
}
.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span{
    background:#000000;
}
.owl-theme .owl-dots {
    width: 140px;
    padding: 10px;
    margin: 3% auto 0 auto;
    line-height: 13px;
    border: 1px solid #000000;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}*/

/*.owl-stage{width:3020px!important;}*/




.owl-nav button,.owl-nav div{
  margin: 0  !important;
  font-size: 0 !important;
  background: transparent !important;
}

.owl-dots {
   
  
    padding: 10px 2.25rem 10px 10px;
     margin: 2rem auto 0 auto;
    line-height: 13px;
    border: 1px solid #000000;
    border-radius: 50px;
    display: inline-flex;
    justify-content: center;
    gap: 5px;
    
}

.owl-dot {
  /* width: 10px;
    height: 10px;
    background-color: #ccc;
  
    margin: 0 5px;
    cursor: pointer;
    border: 1px solid #000; */
      border-radius: 50%;
}

.owl-dot.active {
    background-color: #000; 
}


.owl-theme .owl-nav {
    --dots-width : 197px;
    --dots-height : 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(var(--dots-width) - 10px);
    height: var(--dots-height);
    left: calc((100% - var(--dots-width)) / 2);
    margin:2rem 10px auto 0  !important
}


.owl-next{padding: 0 !important;
    aspect-ratio: 1;
    /* max-height: 20px; */
    margin: 0px;
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;}


 
.owl-nav {display: inline-block;
    position: absolute;
    margin: 0!important;}
    
.owl-prev{display:none;}
    
.owl-next::before {
    content: url(https://www.indiaautismcenter.org/wp-content/uploads/2025/01/Testimonial_icon-PNG.png);
    padding: 0;
    line-height: 1;
    aspect-ratio: 1;
    display: inline;
}

    
  .owl-nav button span{display:none;}   
    .owl-theme .owl-nav [class*='owl-']:hover {
     background:unset!important;
    color: #FFF;
    text-decoration: none;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #000000!important;}

.owl-theme .owl-dots .owl-dot span{ margin:2px!important;}
@media only screen and (max-width: 781px){
  .author-photo{
    position: relative;
    top:unset;
    right: unset;
    max-width: 4.5rem;
  }
  .testimonial-author{
    display: flex;
    flex-direction: row;
    gap:1rem;
    align-items: center;
  }
  .testimonial-text{
    font-size: 1rem;        height: unset !important;
  }
.author-name{

font-size: 1.5rem;
font-weight: 600;
}
.author-role{
font-size: 1rem;
font-weight: 400;


}
}
