/* Import Google Font */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap");

body {
	margin: 0;
	padding: 0;
	background: #fff;
	color: #333;
}

.events-section {
	text-align: center;
	padding: 40px 20px;
	color: #000;
	font-family: "Montserrat", sans-serif !important;
}

.events-container {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.events-section .event-card {
	color: #fff;
	overflow: hidden;
	min-height: 350px;
}

.events-section .event-card img {
	width: 100%;
	height: 258px;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

/* Special styling for placeholder images */
.events-section .event-card img[src*="no-image.png"] {
	object-fit: contain;
	padding: 20px;
	background-color: #f5f5f5;
}

.events-section .event-info {
	padding: 15px 20px;
	text-align: left;
}

.events-section .event-info p {
	font-size: 14px;
	margin: 0px 0;
}

.events-section .event-date {
	position: absolute;
	bottom: 15px;
	right: 15px;
	background: red;
	color: white;
	padding: 10px;
	text-align: center;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.events-section .event-date span {
	font-size: 12px;
	position: relative;
	font-weight: 500;
	top: 7px;
}

.events-section .event-date strong {
	font-size: 25px;
	font-weight: 500;
}

.events-section .event-info p strong {
	font-weight: normal;
}

.events-section .learn-more {
	display: inline-block;
	font-size: 14px;
	text-decoration: none;
	position: absolute;
	bottom: 8px;
}

.events-section .event-info a {
	color: white !important;
}

.events-section .event-info a:hover {
	color: white !important;
}

.events-section .event-footer {
	margin-top: 25px;
	font-size: 14px;
	color: grey;
	font-family: "Montserrat", sans-serif !important;
}

.events-section .event-footer a {
	color: red;
	text-decoration: none;
	font-weight: bold;
}

.events-section .event-footer a:hover {
	text-decoration: underline;
}

.events-section .event-info h3 {
	font-size: 16px !important;
	font-weight: 600;
	color: #fff;
	margin-bottom: 10px;
	font-family: "Montserrat", sans-serif !important;
}

.events-section .event-date {
	width: 55px;
	height: 55px;
	padding: 5px;
}

@media (max-width: 768px) {
	.events-section .events-container {
		flex-direction: column;
		align-items: center;
	}
	.events-section .event-card {
		width: 90%;
	}
}

.events-section .events-container {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.events-section .event-card {
	position: relative;
	width: 350px;
}

.events-section .event-image-container {
	position: relative;
	overflow: hidden;
	height: 258px;
	background-color: #f5f5f5;
}

.events-section .event-image-container:hover img {
	transform: scale(1.05);
}

.events-section .event-info {
	top: 180px;
	px; */
	font-weight: 400;
	left: 8px;
	width: 315px;
	position: absolute;
	background: #000;
	color: white;
	clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
	bottom: 0px;
}

.events-section .event-date {
	position: absolute;
	bottom: 40px;
	right: 25px;
	background: #d7282f;
	color: white;
	padding: 10px;
	text-align: center;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	display: flex;
	flex-direction: column;
	z-index: 20;
	justify-content: center;
	font-size: 12px;
	font-weight: bold;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.events-section .swiper-container {
	max-width: 1024px;
	margin: 0 auto; /* Center the carousel */
	overflow: hidden; /* Prevents horizontal overflow */
}

.events-section .swiper-pagination {
	position: relative !important;
	width: 100% !important;
	align-items: center;
	justify-content: center;
	margin-top: 45px;
}

.events-section .swiper-pagination-bullet {
	width: 85px !important;
	height: 5px !important;
	border-radius: 0 !important;
	transition: background 0.3s ease-in-out !important;
	clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
	transform: scale(1) !important;
}

.events-section .swiper-pagination-bullet-active {
	background: red;
	transform: scale(1) !important;
}

.events-section .swiper-slide {
	flex-shrink: 0;
}

.events-section h2.events-title {
	font-size: 30px;
	padding-bottom: 15px;
	color: black;
	font-weight: 600;
	font-family: "Montserrat", sans-serif !important;
}

.events-section .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.events-section .swiper-pagination-bullets {
	justify-content: center !important;
	text-align: center !important;
	width: auto !important;
}

/* General Responsive Adjustments */
@media (max-width: 1024px) {
	.events-section .events-container {
		gap: 10px;
	}
	.event-card {
		max-width: 300px;
	}

	.events-section .event-info {
		padding: 15px;
		max-width: 285px;
		clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
	}

	.events-section .event-date {
		right: 25px;
	}
}

@media (max-width: 768px) {
	.events-section .events-container {
		flex-direction: column;
		align-items: center;
	}
	.events-section .event-card {
		width: 90%;
		max-width: 400px;
	}
	.events-section .event-card img {
		height: 220px;
	}
	.events-section .event-card img[src*="no-image.png"] {
		padding: 15px;
	}
	.events-section .event-info {
		width: 330px;
		padding: 15px;
		max-width: 100%;
		clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
	}
	.events-section .event-date {
		width: 60px;
		height: 60px;
		font-size: 12px;
	}
	.events-section .event-date span {
	    font-size: 12px;
	    position: relative;
	    font-weight: 100;
	    top: 10px;
	}
}

@media (max-width: 480px) {
	.events-section .events-container {
		flex-direction: column;
		gap: 15px;
	}
	.events-section .event-card {
		width: 320px;
		max-width: 100%;
	}
	.events-section .event-card img {
		height: 200px;
	}
	.events-section .event-card img[src*="no-image.png"] {
		padding: 10px;
	}
	.events-section .event-image-container {
		position: relative;
		overflow: hidden;
	}
	.events-section .event-info {
		width: 315px;
		font-size: 14px;
		padding: 15px;
		max-width: 100%;
		clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
	}
	.events-section .event-info h3 {
		font-size: 16px !important;
	}
	.events-section  .event-date {
		right: 25px;
		width: 55px;
		height: 55px;
		bottom: 50px;
		right: 15px;
	}

	.events-section .event-date strong {
		font-size: 22px;
	}

	.events-section .event-date span {
		font-size: 12px;
		position: relative;
		font-weight: 100;
		top: 10px;
	}
}

@media (max-width: 380px) {
	.events-section  .events-container {
		flex-direction: column;
		gap: 15px;
	}
	.events-section .event-card {
		width: 320px;
		max-width: 100%;
	}
	.events-section .event-info {
		width: 285px;
		font-size: 14px;
		padding: 15px;
		max-width: 100%;
		clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
	}
	.events-section .event-info h3 {
		font-size: 16px !important;
	}
	.events-section .event-date {
		right: 25px;
		width: 55px;
		height: 55px;
		bottom: 50px;
		right: 15px;
	}

	.events-section .event-date strong {
		font-size: 22px;
	}

	.events-section .event-date span {
		font-size: 12px;
		position: relative;
		font-weight: 100;
		top: 10px;
	}

}
