/* Ensure the container allows for the overflow of the scaled center slide */
#circleswiper {
	width: 100%;
	padding: 8rem 0;
	overflow: hidden !important; /* Vital to prevent clipping at 1.25 scale */
	max-width: 1200px; /* Adjust based on your layout width */
	margin: 0 auto;
}

/* Default state (The two side slides) */
#circleswiper .swiper-slide {
	scale: 1;
	background: url("/wp-content/uploads/2025/12/slider-bg.png") no-repeat center
		center;
	background-size: contain;
	padding: 1.2rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 500ms ease;
	z-index: 1;
}
#circleswiper .swiper-slide-prev {
	transform: translateX(11%); /* Moves the left slide rightward */
	z-index: 5;
}

/* Pull the RIGHT slide toward the center */
#circleswiper .swiper-slide-next {
	transform: translateX(-12%); /* Moves the right slide leftward */
	z-index: 5;
}
/* The Center Slide (Active) */
#circleswiper .swiper-slide-active {
	scale: 1.25; /* Your requested scale */
	opacity: 1;
	z-index: 10;
}

/* Clean Image Styles */
#circleswiper .swiper-slide img {
	display: block;
	width: 100%;
	height: auto;
	filter: grayscale(1);
	border-radius: 50%;
}
#circleswiper .swiper-slide-active img {
	filter: grayscale(0);
	border-radius: 50%;
	transition: all 500ms ease;
}
#circleswiper .swiper-button-prev:after,
#circleswiper .swiper-button-next:after {
	display: none !important; /* Hides the default 'arrow' font */
}
/* Centering the Navigation Wrapper */
.swiper-nav-wrapper {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 8.8rem;
	margin-left: 0.9rem;
	position: relative;
	width: 100%;
	z-index: 50;
}

/* Resetting Swiper's default icons */
#circleswiper .swiper-button-prev:after,
#circleswiper .swiper-button-next:after {
	display: none !important;
}

#circleswiper svg.swiper-navigation-icon {
	display: none;
}
/* Base style for custom SVG buttons */
#circleswiper .swiper-button-prev,
#circleswiper .swiper-button-next {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	margin: 0;
	width: 41px;
	height: 40px;
	border-radius: 50%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover; /* Adjust this to change icon size */
	transition: background-color 0.3s ease;
	cursor: pointer;
}

/* Previous Button */
#circleswiper .swiper-button-prev {
	background-image: url("/wp-content/uploads/2025/12/Group-1619.svg");
}

/* Next Button */
#circleswiper .swiper-button-next {
	background-image: url("/wp-content/uploads/2025/12/Group-1619.svg");
	transform: rotate(180deg); /* Flips the arrow to point left */
}

@media (max-width: 767px) {
	#circleswiper .swiper-slide {
		padding: 0.4rem;
	}

	.swiper-nav-wrapper {
		margin-top: 5rem;
		margin-left: 0;
		gap: 10px;
		position: relative;
		width: 100%;
		z-index: 50;
	}
	#circleswiper {
		width: 100%;
		padding: 21px 0;
		overflow: hidden !important;
		max-width: 1200px;
		margin: 0 auto;
	}
}

/* ======= popup for team ======== */
.jet-popup.jet-popup--front-mode .jet-popup__container-inner {
	overflow: visible !important;
}

.jet-popup__close-button {
  right: -6.5rem!important;
  top: -4.5rem !important;

}

#jet-popup-3777 .jet-popup__container {
	width: 99.6rem !important;
	animation-duration: 0.2s !important;
	transition-duration: 0.2s !important;
}

.team-popup-bio {
	max-height: 20.9rem;
	overflow-y: auto;
	overflow-x: hidden;
	padding-top: 10px;
	padding-bottom: 10px;
}

/* 2. Styling the Scrollbar to match the centered look */
.team-popup-bio::-webkit-scrollbar {
	width: 7px;
}

.team-popup-bio::-webkit-scrollbar-track {
	border-radius: 20px;
	border: 1px solid rgba(51, 51, 51, 0.5);
	background: #fff;
}

.team-popup-bio::-webkit-scrollbar-thumb {
	background: #d9d9d9;
	border-radius: 10px;
}

/* .jet-listing-grid__item.jet-listing-dynamic-post-3827.slick-slide {
    width: 29.7rem !important;
} */

/* Keep your existing desktop styles above this */

@media (max-width: 767px) {
    .team-popup-bio {
        overflow: visible !important;
        height: auto !important;
    }

    .team-popup-bio::-webkit-scrollbar {
        display: none;
        width: 0;
    }

    .team-popup-bio::-webkit-scrollbar-track,
    .team-popup-bio::-webkit-scrollbar-thumb {
        background: transparent;
        border: none;
    }
	#jet-popup-3777 .jet-popup__container {
		width: 33.5rem !important;
		
	}
	.jet-popup__close-button {
		right: -45px !important;
		top: -45px!important;
	}
	
.team-popup-bio {
	max-height: 30rem;
	overflow-y: auto;
	overflow-x: auto;
	padding-top: 10px;
	padding-bottom: 10px;
}
	.team-bio::-webkit-scrollbar {
		width: 7px;
	}
	.team-bio {
        max-height: 30rem !important; /* Limits height to trigger scroll */
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding-right: 2rem !important; /* Prevents scrollbar from overlapping text */
        display: flex !important;
        
    }

    /* Prevent the text widget from scrolling internally */
    .team-popup-bio {
        height: auto !important;
        overflow: visible !important;
    }

    /* Custom Scrollbar Styling - Mobile Only */
    .team-bio::-webkit-scrollbar {
        width: 7px;
		margin:10px 0;
    }

    .team-bio::-webkit-scrollbar-track {
        border-radius: 20px;
        border: 1px solid rgba(51, 51, 51, 0.5);
        background: #fff;
    }

    .team-bio::-webkit-scrollbar-thumb {
        background: #d9d9d9;
        border-radius: 10px;
    }
}

@media (max-width:767px) and (min-width:450px){
	.main-popup{
	display: flex;
    flex-direction: row !important;
	}
	.team-image-container{
		max-width: 10rem;
	
	}
	.teampop-bio-all{
		max-width: calc(100% - 10rem)
	}
	.elementor-3777 .elementor-element.elementor-element-35b0bd1 .jet-listing-dynamic-image img{
		width:10rem;
	}
	.elementor-3777 .elementor-element.elementor-element-95b4bd3 .elementor-heading-title{
		font-size:18px;
		line-height:27px;
	}
	.elementor-3777 .elementor-element.elementor-element-92329e6{
		max-height:60vh;
	}
	.teampop-bio-all h2,
	.teampop-bio-all h5{
		font-size: 18px;
		line-height: 27px;
	}
	.team-bio {
        max-height: 20rem !important; /* Limits height to trigger scroll */
       
        
    }
     .elementor-3777 .elementor-element.elementor-element-92329e6 {
		 max-height:60vh !important;
	}
	    .elementor-3777 .elementor-element.elementor-element-95b4bd3 .elementor-heading-title 
		{
        font-size: 24px !important;
        line-height: 27px !important;
    }
	.elementor-element.elementor-element-92329e6.e-con-full.team-bio.e-flex.e-con.e-child p{
		font-size: 16px !important;
        line-height: 27px !important;
	}
	.team-popup-bio {
		font-size: 14px !important;
        line-height: 18px !important;
	}
	.elementor-3777 .elementor-element.elementor-element-624bb51{
		height: unset !important;
	}
	.elementor-3777 .elementor-element.elementor-element-624bb51{
		border-radius: 25px 0 0 25px !important;
	}
}

.team-slider .slick-list.draggable {
	/*     padding-left: 0rem !important; */
	margin-right: -26rem;
}
/* Team  Nav Arrows */

.team-slider.slick-slider {
	padding-bottom: 70px !important;
	position: relative;
}

.team-slider .jet-listing-grid__slider-icon {
	position: absolute !important;
	bottom: 0 !important;
	top: 56.1rem !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 99;
	transform: none !important;
}
@media (min-width: 768px) and (max-width: 1023px) {
	.team-slider .jet-listing-grid__slider-icon {
		top: 60rem !important;
	}
}

.team-slider .prev-arrow {
	left: calc(50% - 49px) !important;
}

.team-slider .next-arrow {
	right: calc(50% - 48px) !important;
}

/* 4. Hide the current large black SVGs */
.team-slider .jet-listing-grid__slider-icon svg {
	display: none !important;
}

/* 5. Inject your custom SVG */
.team-slider .jet-listing-grid__slider-icon::before {
	content: "";
	width: 40px;
	height: 40px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-image: url("/wp-content/uploads/2025/12/Group-1282-1.svg");
}

/* 6. Flip the icon for the 'Next' button */
.team-slider .next-arrow::before {
	transform: rotate(180deg);
}

@media (max-width: 767px) {
	.team-slider .jet-listing-grid__slider-icon {
		position: absolute !important;
		/*     bottom: 0 !important;
    top: 48rem !important; */
	}

	.team-slider .slick-list.draggable {
		margin-left: 2.5rem !important;
		margin-right: -2rem;
		max-width: calc(100vw - 2rem);
	}
	.team-slider .slick-slide.slick-current + .slick-slide {
		margin-left: -5rem;
	}
	.team-slider .prev-arrow {
		left: calc(50% - 50px) !important;
	}

	.team-slider .next-arrow {
		right: calc(50% - 50px) !important;
	}
}

@media (min-width: 767px) and (max-width: 768px) {
.elementor-element.elementor-element-abd4b6c.e-con-full.e-flex.e-con.e-child.animated.fadeInUp {
  margin-bottom: 8rem !important;
	}
	
}


@media (max-width: 767px) {
  .mobile-menu-1 a.elementor-item-active {
    color: var( --e-global-color-primary ) !important;
  }
	

	.elementor-8059 .elementor-element.elementor-element-f5acdf4:has(
  #e-n-tab-title-1478758932[aria-selected="true"]
) {
   min-height: 460.8vw !important;
}
	
		
}

@media (min-width: 768px){
		#jet-popup-3777 h5.elementor-heading-title.elementor-size-default {
    padding-right: 2rem !important;
}
	
		#jet-popup-3777 .jet-popup__close-button
 {
    right: -3.5rem !important;
}
	
}



.elementor-widget-video .elementor-wrapper video{
	height:auto !important;
	object-fit:contain !important;
}


