html, body {
  overflow-x: hidden;
}
.custom-rsa-wrapper {
    isolation: isolate;
    contain: layout style;
}

.custom-rsa-section {
    padding: 4rem 0 3rem 0;
    background: #000;
}

.custom-rsa-title {
    text-align: center;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.custom-rsa-title .highlight {
    color: #1976d2;
}

.custom-rsa-container {
    width: 100% !important; /* Changed from 113% to 100% */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Added padding for better spacing */
    /* flex-wrap: wrap; */
    box-sizing: border-box;
}

.custom-rsa-content {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.custom-rsa-sidebar {
    flex: 0 0 270px;
}

.custom-rsa-sidebar ul {
    list-style-type: none !important; 
    padding: 0;
    margin: 0;
}

.custom-rsa-sidebar li {
    margin-bottom: 1.2rem;
}

.custom-rsa-sidebar a {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 1.08rem;
    line-height: 1.3;
    transition: color 0.2s;
}

.custom-rsa-sidebar .active a {
    color: #1976d2;
    font-weight: 600;
    border-bottom: 2px solid #1976d2;
    padding-bottom: 2px;
}

.custom-rsa-main {
    flex: 1 1 0;
    min-width: 0;
}

.page-template-service-template .custom-rsa-main h3 {
    color: #fff;
    font-size: 1.8rem !important;
    margin-bottom: 0.5rem;
    font-weight: 400;
    text-align: center;
}

.custom-rsa-subtitle {
    color: #ccc;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.08rem;
}

.custom-rsa-bg {
    position: relative;
    width: 100%; /* Changed from 91% to 100% */
    max-width: 100%; /* Changed from 2000px to 100% */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden; /* Uncommented to prevent image overflow */
}

.custom-rsa-bg-img {
    width: 100%; /* Changed from 104% to 100% */
    display: block;
    filter: brightness(0.7);
}

.custom-rsa-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    padding-left: 2.5rem;
    pointer-events: none;
}

.custom-rsa-services {
    color: #fff;
    max-width: 501px;
    background: rgba(0,0,0,0.60);
    border-radius: 12px;
    padding: 1.3rem 1.5rem;
    font-size: 1.03rem;
    box-shadow: 0 4px 20px rgba(25,118,210,0.08);
    pointer-events: auto;
}

.custom-rsa-services h4 {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    margin: 0 0 0.7rem 0;
}

.custom-rsa-services ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.1rem 0;
}

.custom-rsa-services ul li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.7rem;
    color: #e0e0e0;
    font-size: 0.98rem;
}

.custom-rsa-tab::before{
    display: none;
}

@media (max-width: 1100px) {
    .custom-rsa-content {
        flex-direction: column;
        align-items: stretch;
    }
    .custom-rsa-sidebar {
        margin-bottom: 2.5rem;
        flex: 1 1 100%;
    }
    .custom-rsa-main {
        flex: 1 1 100%;
    }
    .custom-rsa-bg {
        max-width: 100%;
    }
}

.custom-rsa-tab-content {
    display: none;
}

.custom-rsa-tab-content.active {
    display: block;
}

.rsa-sidebar ul li::before{
    display: none !important;
}

/* css for new page of logos and testimonials */
 .ct-testimonial-section {
	min-height: 100vh;
	display: flex;
}

.ct-left-section {
	background-color: #000;
	color: white;
	padding: 60px 40px;
	flex: 1;
}

.ct-right-section {
	background: rgba(13, 37, 63, 0.95);
	color: white;
	padding: 60px 40px;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ct-section-title {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 50px;
	line-height: 1.2;
}

.ct-logo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

.ct-logo-box {
/* 	background: white; */
	padding: 0;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100px;
}

.ct-logo-box img {
	max-width: 100%;
	max-height: 125px;
	object-fit: contain;
}

.ct-testimonial-card {
	border: 2px solid rgba(74, 144, 226, 0.5);
	border-radius: 12px;
	padding: 50px 47px 60px 47px;
	height: 570px;
}

.ct-testimonial-header {
	display: flex;
	align-items: center;
	/* margin-bottom: 30px; */
}

.ct-testimonial-avatar {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	/* background: #dd1b1b; */
	margin-right: 20px;
	overflow: hidden;
	border : 4px solid #333333;
	padding: 2px;
	position: relative;
	flex-shrink:0;
}

.ct-testimonial-avatar img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
}

/* .ct-testimonial-author h5 {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700px;
	color: blue;
}

.ct-testimonial-author p {
	margin: 5px 0 0 0;
	font-size: 0.9rem;
	opacity: 0.9;
	color: white;
} */
.author-name {
  font-family: Calibri;
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    letter-spacing: 0;
    color: #429bff;
    margin: 0 !important;
    font-style: normal;;
}

.author-title {
  font-family: Calibri;
  font-weight: 700;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0;
  margin: 0 !important; /* Remove Bootstrap p margins */
  font-style: normal;
}


.ct-quote-mark {
	font-size: 4rem;
	color: rgba(74, 144, 226, 0.6);
	line-height: 1;
	margin-bottom: 20px;
}

.ct-testimonial-text {
	font-family: Calibri;
  	font-weight: 300;
  	color:#d5d5d5 !important;
    font-size: 1rem !important;
    line-height: 1.5rem !important;
	font-style:lighter;
}

.ct-testimonial-nav {
	padding-left:5px;
	padding-right:5px;
	display: flex;
	gap: 15px;
	margin-top: 8px;
}

.ct-nav-arrow {
	width: 48px;
	height: 48px;
	border: 2px ;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s;
	font-size: 1.2rem;
	 color: red !important;
   
    font-size: 29px;
}

.testimonial-nav {
	color: blue !important;
}

.ct-nav-arrow:hover {
	border-color: #4a90e2;
	background: rgba(74, 144, 226, 0.2);
}

.ct-testimonial-counter {
	margin-left: auto;
	display: flex;
	align-items: center;
	font-size: 1.1rem;
}

@media (max-width: 992px) {
	.ct-testimonial-section {
		flex-direction: column;
	}

	.ct-logo-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


#medTechSlider .carousel-indicators,
#roadSideSlider .carousel-indicators,
#clientLogosCarousel .carousel-indicators, #clientLogosCarouselMobile .carousel-indicators {
	position: static;
	margin-top: 20px;
	margin-bottom: 0;
	padding-bottom: 20px;
}

#medTechSlider .carousel-indicators button,
#roadSideSlider .carousel-indicators button,
#clientLogosCarousel .carousel-indicators button, #clientLogosCarouselMobile .carousel-indicators button{
	width: 12px;
	height: 12px !important;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.3);
	border: none;
	margin: 0 5px;
	transition: all 0.3s ease;
}

#medTechSlider .carousel-indicators .active,
#roadSideSlider .carousel-indicators .active,
#clientLogosCarousel .carousel-indicators .active {
	background-color: #4a9eff;
	transform: scale(1.2);
}
#roadSideSlider {
	z-index: 100;
}
 .divider-line{
	height: 3px;
	width: 340px;
	position: relative;
	top:-4px;
	z-index: 1;
	left:47px;
	background: linear-gradient(
		 to right,
		  #333333 0%,              /* start with gray */
		  #333333 60%,              /* fade into black by 60% */
		  #333333 60.1%,  /* start soft blue */
		  #333333 80%,    /* strong blue midpoint */
		  transparent 100%  
	);
}
.mt-160{
	margin-top:10rem;
}
#clientLogosCarousel .carousel-item .ct-logo-grid, #clientLogosCarouselMobile .carousel-item .ct-logo-grid{
  padding: 15px;
}
#ctTestimonialCarousel .carousel-item {
	padding: 15px;
/* 	background: #4299fa2e; */
}
.large-heading {
    font-size: 2rem !important;
    line-height: 1.5 !important;
}
@media (max-width: 768px) {
	.mt-160{
		margin-top:2rem;
	}
	#clientLogosCarousel{
		display:none;
	}
	#clientLogosCarouselMobile{
		display:block;
	}
}
@media (min-width: 768px) {
	.mt-160{
		margin-top:2rem;
	}
	#clientLogosCarousel{
		display:block;
	}
	#clientLogosCarouselMobile{
		display:none;
	}
}

@media (max-width: 480px) {
	.mt-160{
		margin-top:1rem;
	}
	.ct-testimonial-card{
		padding: 40px 36px 34px 36px;
		height:625px;
	}
	.author-title {
		font-size:15px;
		line-height: 22px;
	}
	.divider-line{
    	width: 265px;
	}
}
@media (max-width: 1225px) and (min-width: 1000px) {
  .logoSection, .clientSection {
    flex: 0 0 100%; /* full width */
    max-width: 100%;
  }

  .clientSection {
    margin-top: 20px; /* spacing */
    justify-content: flex-start; /* adjust alignment */
  }
}

