.dr1041carouselhome {
	padding: 60px 20px;
	background: linear-gradient(to bottom, #e8f7f0, #ffffff);
	/* Soft healthcare gradient */
	color: #1b3a4b;
	font-family: 'Noto Sans Telugu', 'Poppins', sans-serif;
	overflow: hidden;
	user-select: none;
	background-image:
		url('https://www.transparenttextures.com/patterns/asfalt-light.png');
}

/* Heading */
.dr1041carouselhome .carousel-title {
	text-align: center;
	font-size: 36px;
	font-weight: 700;
	background: linear-gradient(to right, #4caf81, #1e88e5);
	/* Soft green → calm blue */
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin: 0 auto 40px;
	position: relative;
	letter-spacing: 0.6px;
}

.dr1041carouselhome .carousel-title::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -10px;
	width: 80px;
	height: 4px;
	background: #fb8c00; /* Soft orange accent underline */
	border-radius: 4px;
	box-shadow: 0 0 12px rgba(251, 140, 0, 0.4);
}

.dr1041carouselhome .tagline-sub {
	display: block;
	font-size: 1.1rem;
	color: #4caf81; /* Soft green subtext */
	margin-top: 6px;
	font-style: italic;
	font-weight: 500;
	line-height: 1.4;
}

/* Carousel Box */
.dr1041carouselhome .carousel {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	border-radius: 20px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
	background: #ffffff;
	border: 1.5px solid #cfd8dc;
}

.dr1041carouselhome .carousel-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
	flex-wrap: nowrap;
	will-change: transform;
}

.dr1041carouselhome .carousel-slide {
	flex: 0 0 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	transform: translateY(40px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.dr1041carouselhome .carousel-slide.active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
	transform: translateY(0);
}

.dr1041carouselhome .carousel-slide img {
	max-width: 90%;
	max-height: 460px;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dr1041carouselhome .carousel-slide img:hover {
	transform: scale(1.05);
	box-shadow: 0 0 40px rgba(76, 175, 129, 0.3); /* Green glow hover */
}

/* Buttons */
.dr1041carouselhome .carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #4caf81; /* Soft green */
	border: none;
	color: #fff;
	font-size: 2rem;
	padding: 14px 18px;
	cursor: pointer;
	z-index: 2;
	border-radius: 50%;
	box-shadow: 0 8px 20px rgba(76, 175, 129, 0.3);
	transition: background 0.3s ease, transform 0.3s ease;
}

.dr1041carouselhome .carousel-btn.left {
	left: 16px;
}

.dr1041carouselhome .carousel-btn.right {
	right: 16px;
}

.dr1041carouselhome .carousel-btn:hover {
	background: #1e88e5; /* Calm blue hover */
	transform: scale(1.1);
	box-shadow: 0 12px 26px rgba(30, 136, 229, 0.4);
}

/* Responsive */
@media ( max-width : 768px) {
	.dr1041carouselhome .carousel-title {
		font-size: 28px;
	}
	.dr1041carouselhome .carousel-slide img {
		max-height: 300px;
	}
	.dr1041carouselhome .carousel-btn {
		font-size: 1.6rem;
		padding: 10px 14px;
	}
}

@media ( max-width : 480px) {
	.dr1041carouselhome {
		padding: 40px 15px;
	}
	.dr1041carouselhome .carousel-title {
		font-size: 22px;
		margin-bottom: 20px;
	}
	.dr1041carouselhome .carousel-slide img {
		max-height: 220px;
	}
	.dr1041carouselhome .carousel-btn {
		font-size: 1.3rem;
		padding: 8px 12px;
	}
}