

/* Slide general layout */
.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
}

	.slide.active {
		opacity: 1;
	}

/* Header part of the slide */
.slide-header {
	width: 100%;
	background-color: #800000;
	padding: 10px 0;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
}

	.slide-header h3 {
		color: white;
		font-size: 1.3em;
		font-weight: bold;
		margin: 0;
		display: inline-block;
		text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	}

/* Body/content part */
.slide-body {
	background-color: #073263;
	color: white;
	width: 90%;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}

/* Image styling */
.slide img {
	border-radius:5px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	min-height: 160px;
	max-height: 160px;	
}

/* Text styles */
.student-name {
	margin: 10px 0 0 0;
	font-size: 1em;
	font-weight: 600;
}

.student-percentage {
	font-size: 0.9em;
	margin: 5px 0 0 0;
	opacity: 0.9;
}

.bgcaro {
	/*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
	min-height: 40vh;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 20px;
	gap: 60px;
	flex-wrap: wrap;
}

.carousel-container {
	width: 260px;
	height: 290px;
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
	background: white;
}

.carousel-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	
	padding-top:0px;
}

	.slide.active {
		opacity: 1;
	}

	.slide:nth-child(1) {
		background-color: #073263;
		color: white;
	}

	.slide:nth-child(2) {
		background: #073263;
		color: white;
	}

	.slide:nth-child(3) {
		background: #073263;
		color: white;
	}

	.slide:nth-child(4) {
		background: #073263;
		color: white;
	}

	.slide:nth-child(5) {
		background: #073263;
		color: white;
	}

	.slide h3 {
		display: inline-block; /* or use 'inline' */
		font-size: 1.5em;
	
		font-weight: bold;
		text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	}


	.slide p {
		font-size: 0.9em;
		line-height: 1.5;
		opacity: 0.9;
	}

/*.indicators {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
}

.indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	transition: all 0.3s ease;
	cursor: pointer;
}

	.indicator.active {
		background: white;
		transform: scale(1.2);
	}
*/
.progress-bar {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 3px;
	background: rgba(255, 255, 255, 0.8);
	width: 0%;
	animation: progress 3s linear infinite;
}

.carousel-container:hover .slide.active {
	transform: scale(1.02);
	transition: all 0.3s ease;
}

.carousel-container:hover .progress-bar {
	animation-play-state: paused;
}

.slide img {
	width: 60%;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	min-height: 150px;
	max-height: 150px;
}

@keyframes progress {
	0% {
		width: 0%;
	}

	100% {
		width: 100%;
	}
}

@media (max-width: 1200px) {
	.bgcaro {
		flex-direction: column;
		align-items: center;
	}
}
