
.events {
	padding: 80px 5%;
	background: #fff;
	text-align: center;
	position: relative;
}
.events h2 {
	font-size: 2.5rem;
	margin-bottom: 40px;
	color: #c44bff;
}
.events-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto 3rem;
}
.event-card {
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	width: 320px;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	
}
.event-card:hover {
	transform: translateY(-5px);
	
}
.event-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
}
.event-image.placeholder {
	background: linear-gradient(90deg, #ff629b, #ff629b);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 1.2rem;
}
.event-content {
	padding: 20px;
}
.event-date {
	color: #c44bff;
	font-weight: 600;
	margin-bottom: 10px;
	font-size: 1.1rem;
}
.event-title {
	font-size: 1.4rem;
	margin: 20px 0 10px;
	color: #c44bff;
}
.event-description {
	font-size: 1rem;
	color: #555;
	margin-bottom: 20px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.event-meta {
	display: flex;
	justify-content: space-between;
	margin-bottom: 25px;
	font-size: 0.9rem;
	color: #555;
}

.event-card .btn {
	display: inline-block;
	padding: 10px 20px;
	background: linear-gradient(90deg, #c44bff, #c44bff);
	color: #fff;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-size: 0.9rem;
}
.event-card .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(196, 75, 255, 0.3);
}

.events-actions {
	margin-top: 2rem;
}
.events-actions .btn {
	display: inline-block;
	padding: 12px 30px;
	background: linear-gradient(90deg, #ff629b, #ff629b);
	color: white;
	border-radius: 25px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(196, 75, 255, 0.3);
}
.events-actions .btn:hover {
	transform: translateY(-2px);
	background: linear-gradient(90deg, #ff629b, #ff629b);
	box-shadow: 0 6px 20px rgba(196, 75, 255, 0.4);
}
.events-loading {
	text-align: center;
	padding: 2rem;
	color: #555;
	font-size: 1.1rem;
}
.no-events {
	text-align: center;
	padding: 2rem;
	color: #555;
	font-size: 1.1rem;
}

body.dark-mode .events {
	background: #181818;
}
body.dark-mode .events h2 {
	color: #ff629b;
}
body.dark-mode .event-card {
	background: #181818;
	
}
body.dark-mode .event-date {
	color: #ff629b;
}
body.dark-mode .event-title {
	color: #ff629b;
}
body.dark-mode .event-description {
	color: #cccccc;
}
body.dark-mode .event-meta {
	color: #cccccc;
}
body.dark-mode .events-loading,body.dark-mode .no-events {
	color: #cccccc;
}
body.dark-mode .event-card .btn {
	background: linear-gradient(90deg, #ff629b, #ff629b);
}
body.dark-mode .events-actions .btn {
	background: linear-gradient(90deg, #c44bff, #c44bff);
}

@media (max-width: 768px) {
	.events {
	padding: 3rem 1rem;
	}
	.events h2 {
	font-size: 2rem;
	margin-bottom: 30px;
	}
	.events-container {
	gap: 20px;
	}
	.event-card {
	width: 100%;
	max-width: 350px;
	}
	.event-meta {
	flex-direction: column;
	gap: 0.5rem;
	align-items: flex-start;
	}
	.event-card .btn {
	padding: 8px 16px;
	font-size: 0.9rem;
	}
	.events-actions .btn {
	padding: 10px 24px;
	font-size: 1rem;
	}
}

@media (min-width: 768px) {
	.events {
	padding: 4rem 2rem;
	}
	.events h2 {
	font-size: 2.2rem;
	color: #c44bff;
	}
}

@media (min-width: 1024px) {
	.events {
	padding: 5rem 2rem;
	}
}

@media (hover: none) and (pointer: coarse) {
	.event-card .btn:hover {
	transform: none;
	}
	.events-actions .btn:hover {
	transform: none;
	}
	.event-card:hover {
	transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.event-card {
	transition: none;
	}
	.event-card .btn {
	transition: none;
	}
	.events-actions .btn {
	transition: none;
	}
}

.events {
	padding: 80px 20px;
	background: var(--bg-color);
	text-align: center;
}
.events h2 {
	font-size: 2.5rem;
	margin-bottom: 3rem;
	color: var(--accent-primary);
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	-webkit-background-clip: text;
	background-clip: text;
	color: #c44bff;
}
.events-container {
	
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto 40px;
}

.event-card {
	background: var(--card-bg);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid var(--border-color);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	height: 100%;
}
.event-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--hover-shadow);
}

.event-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}
.event-image.placeholder {
	height: 200px;
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.2rem;
	font-weight: 600;
}

.event-content {
	padding: 25px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	text-align: left;
}
.event-date {
	color: var(--accent-primary);
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.event-date::before {
	content: '📅';
	font-size: 1rem;
}
.event-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--text-color);
	margin-bottom: 12px;
	line-height: 1.3;
}
.event-description {
	color: var(--text-color);
	opacity: 0.9;
	line-height: 1.6;
	margin-bottom: 20px;
	flex-grow: 1;
}
.event-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	font-size: 0.9rem;
}
.volunteers, .location {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--text-color);
	opacity: 0.8;
}
.view-event-btn {
	background: var(--accent-primary);
	color: white;
	padding: 12px 24px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	text-align: center;
	border: 2px solid transparent;
}
.view-event-btn:hover {
	background: linear-gradient(90deg, #ea4bff, #ea4bff);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(196, 75, 255, 0.3);
}

.no-events {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	color: var(--text-color);
	opacity: 0.7;
}
.no-events p {
	font-size: 1.1rem;
	margin: 0;
}
.events-loading {
	grid-column: 1 / -1;
	text-align: center;
	padding: 40px 20px;
	color: var(--text-color);
	opacity: 0.7;
}

.events-actions {
	text-align: center;
}
.events-actions .btn {
	border: 2px solid var(--accent-primary);
	padding: 14px 32px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	display: inline-block;
}
.events-actions .btn:hover {
	background: linear-gradient(90deg, #ff629b, #ff629b);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(196, 75, 255, 0.3);
}

@media (max-width: 768px) {
	.events-container {
	grid-template-columns: 1fr;
	gap: 20px;
	}
	.event-card {
	margin: 0 10px;
	}
	.event-content {
	padding: 20px;
	}
	.event-title {
	font-size: 1.2rem;
	}
	.event-meta {
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	}
}
@media (max-width: 480px) {
	.events {
	padding: 60px 15px;
	}
	.events h2 {
	font-size: 2rem;
	}
	.event-image,.event-image.placeholder {
	height: 180px;
	}
	.event-content {
	padding: 15px;
	}
}

.event-card.animate-stagger {
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 0.6s ease-out forwards;
}
@keyframes fadeInUp {
	to {
	opacity: 1;
	transform: translateY(0);
	}
}

.event-image[data-image-enhanced] {
	transition: transform 0.3s ease;
}
.event-card:hover .event-image[data-image-enhanced] {
	transform: scale(1.05);
}
.event-description-container {
	position: relative;
	height: 72px;
	overflow: hidden;
	margin-bottom: 15px;
}
.event-description {
	font-size: 1rem;
	color: #555;
	line-height: 1.5;
	margin: 0;
	max-height: 72px;
}
body.dark-mode .event-description {
	color: #cccccc;
}
