/* ===================== Physiotherapy Gallery Carousel ===================== */
.dr1016carouselhome {
	padding: 40px 20px;
	background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
	color: #2e3d32;
	font-family: 'Poppins', sans-serif;
	overflow: hidden;
	user-select: none;
}

.dr1016carouselhome .carousel-title {
	margin: 0 auto 30px;
	text-align: center;
	font-size: 36px;
	color: #2e7d32;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
}

.dr1016carouselhome .carousel-title::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -10px;
	width: 60px;
	height: 4px;
	background: #66bb6a;
	border-radius: 2px;
}

/* Carousel Container */
.dr1016carouselhome .carousel {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	background: #ffffff;
	border: 2px solid #a5d6a7;
}

/* Track */
.dr1016carouselhome .carousel-track {
	display: flex;
	transition: transform 0.6s ease-in-out;
	width: 100%;
	flex-wrap: nowrap;
	will-change: transform;
}

/* Individual Slide */
.dr1016carouselhome .carousel-slide {
	flex: 0 0 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #f1f8e9;
	padding: 20px;
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	box-sizing: border-box;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease;
}

.dr1016carouselhome .carousel-slide.active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

/* Slide Image */
.dr1016carouselhome .carousel-slide img {
	max-width: 90%;
	max-height: 450px;
	display: block;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dr1016carouselhome .carousel-slide img:hover {
	transform: scale(1.05);
	box-shadow: 0 0 35px rgba(102, 187, 106, 0.7);
}

/* Navigation Buttons */
.dr1016carouselhome .carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #66bb6a;
	border: none;
	color: #ffffff;
	font-size: 2rem;
	padding: 12px 16px;
	cursor: pointer;
	z-index: 2;
	border-radius: 50%;
	box-shadow: 0 4px 15px rgba(102, 187, 106, 0.5);
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

.dr1016carouselhome .carousel-btn.left {
	left: 16px;
}

.dr1016carouselhome .carousel-btn.right {
	right: 16px;
}

.dr1016carouselhome .carousel-btn:hover {
	background: #388e3c;
	box-shadow: 0 6px 25px rgba(56, 142, 60, 0.6);
}

/* Responsive Design */
@media ( max-width : 768px) {
	.dr1016carouselhome .carousel-title {
		font-size: 28px;
	}
	.dr1016carouselhome .carousel-slide img {
		max-height: 300px;
	}
	.dr1016carouselhome .carousel-btn {
		font-size: 1.6rem;
		padding: 10px 14px;
	}
}

@media ( max-width : 480px) {
	.dr1016carouselhome {
		padding: 30px 15px;
	}
	.dr1016carouselhome .carousel-title {
		font-size: 22px;
		margin-bottom: 20px;
	}
	.dr1016carouselhome .carousel-slide img {
		max-height: 220px;
	}
	.dr1016carouselhome .carousel-btn {
		font-size: 1.2rem;
		padding: 8px 12px;
	}
}