.carousel-container {
	max-width: 100%;
	margin: 0 auto;
	position: relative;
	width: 100%;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;	
	padding: 5px 22px 20px 22px;
	text-align: center;	
	opacity: 1 !important;
}

.carousel-title {
	text-align: center;
	color: #000;
	font-size: 2em;
}

.carousel-header-text {
	margin-top: 15px;
	color: #FFF;		
	font-size: 20px;
	font-weight: 500;
}

.link-text-carousel {
	color: #000;		
	font-size: 20px;
	font-weight: 500;
}

.carousel {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	gap: 21px;
	padding: 20px 0px 5px 5px; /* Set left padding to 0 */
	scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
	display: none;
}

.card {
	flex: 0 0 280px;
	scroll-snap-align: start;
	background: white;
	border-radius: 10px;
	overflow: hidden;
	xbox-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
	position: relative; /* Added for precise positioning */
	border: 1px solid #D1D1D1;
	opacity: 1 !important;
}

/* Special styling for first card */
.card:first-child {
	margin-left: 2px; /* Exactly 2px from left edge */
}

.card:hover {
	transform: translateY(-5px);
}

.card-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	background: white;
	border-bottom: 2px solid #EDD5B7;
}

.card-content {
	padding: 0 10px 5px 10px;
	text-align: center;
}

.card-title {
	font-size: 1.2rem;
	margin-bottom: 10px;
	color: #333;
}

.carousel-nav {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	gap: 10px;
}

.nav-button {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ccc;
	border: none;
	cursor: pointer;
	transition: background 0.3s ease;
}

.nav-button.active {
	background: #333;
}

@media (min-width: 768px) {
	.Xcarousel-nav {
		display: block;
	}
}
@media (max-width: 480px) {
	.carousel-header-text {
		font-size: 17px;
	}
	.link-text-carousel {
		font-size: 17px;
	}	
	.Xcarousel-nav {
		display: none;
	}	
	.carousel-container {
		max-width: 100%;
	}	
	.xcard {
		flex: 0 0 200px;
	}
	
	.xcard-image {
		height: 150px;
	}
}
		