.team-stories .item{
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: start;
    justify-content: center;
}
.section-title{
	font-size: var(--h2) !important;
	color: #000000;
    font-style: normal;
    font-weight: 600;
	margin-bottom:2rem;
}
#teamstories{
  position: relative;
isolation: isolate;
margin-block-start:0;
}
#team-stories{
  margin-block-start:0;
}

.item .section-title{
  opacity: 0;
}

.fix-title{
  position: absolute;
    left: 3vw;
    top: 5vw;
    z-index: 9;
}
	
.team-stories .item>*{
	flex:0 0 50%;
}
.team-stories .item .content{
	padding:5vw 3%;
	font-size: clamp(1rem,calc(1.14vw+0.0625rem),1.375rem);
	color:#000;
	font-weight:400;	
	    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    text-align: left;
}

.team-stories .item .content .info{
	font-size: 1rem;
	color:#000;
	font-weight:600;
	margin-top:2rem;
}


.team-stories .item .content .name{
	font-size: clamp(1.25rem,calc(1.66vw + 0.0625rem),2rem) !important;
	color:#2b3b94;
	font-weight:600;
}

.team-stories {
  text-align: center;
}

/* Owl Dots Styling */
.team-stories .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;
}

.team-stories .owl-dot {
  border-radius: 50%;
}

.team-stories .owl-dot.active {
  background-color: #000;
}

/* Dot Hover & Active State */
.team-stories.owl-theme .owl-dots .owl-dot span,
.team-stories.owl-theme .owl-dots .owl-dot.active span {
  margin: 2px !important;
}

.team-stories.owl-theme .owl-dots .owl-dot.active span,
.team-stories.owl-theme .owl-dots .owl-dot:hover span {
  background: #000000 !important;
}

/* Owl Navigation Styling */
.team-stories.owl-theme .owl-nav {
  --dots-width10: 100px;
  --dots-height10: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(var(--dots-width10) - 10px);
  height: var(--dots-height10);
  left: calc((100% - var(--dots-width10)) / 2);
  margin: 2rem 10px auto 0 !important;
  z-index: 1;
}

.team-stories .owl-nav {
  display: inline-block;
  position: absolute;
  margin: 0 !important;
}

.team-stories .owl-prev {
  display: none;
}

.team-stories .owl-next {
  padding: 0 !important;
  aspect-ratio: 1;
  margin: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  border: none;
}

.team-stories .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;
  background: #2b3b94;
}

.team-stories .owl-nav button,
.team-stories .owl-nav div {
  margin: 0 !important;
  font-size: 0 !important;
  background: transparent !important;
}

.team-stories .owl-nav button span {
  display: none;
}

.owl-theme .owl-nav [class*='owl-']:hover {
  background: unset !important;
  color: #FFF;
  text-decoration: none;
}

@media screen and (min-width:782px){
	.team-stories.owl-theme .owl-nav,.team-stories.owl-theme .owl-dots{
		position:absolute;
		bottom:15%;
		left:3%;
	}
}


@media screen and (max-width:781px){
	.team-stories .item{
		flex-direction:column;	
	}
	

.team-stories .item>* {
    flex: 1 1 100%;
}
	.team-stories .content p{
		width:100%;
	}
	.team-stories .item .content .info{
		display:flex;
		flex-direction:column;
		align-items: start;
  		justify-content: start;
	}
	.team-stories .owl-dots{
		    margin-bottom: 2rem !important;
	}
}



