*,
*::before,
*::after {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	height: 100vh;
	font-family: 'Poppins', 'Lato', Arial, sans-serif;
	background: #f6f8fa;
	color: #222;
	margin: 0;
	transition: background 0.3s, color 0.3s;
}
.top-bar {
	background: #fff;
	color: #222;
	box-shadow: 0 2px 8px #0001;
	border-radius: 0 0 12px 12px;
	transition: background 0.3s, color 0.3s;
	position: sticky;
	top: 0;
	z-index: 100;
}
.top-bar h2 {
	font-size: 1.7rem;
	font-weight: 700;
	color: #222;
	letter-spacing: 1px;
}
.button-group .btn {
	background: #0078d4;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 0.5rem 1.2rem;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.2s;
}
.button-group .btn:hover {
	background: #005fa3;
}
.container {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px #0002;
	padding: 2rem;
}
.questions.card {
	background: #f8faff;
	border-radius: 8px;
	box-shadow: 0 2px 8px #0001;
	padding: 2rem;
}
.questions h1 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
	color: #0078d4;
}
.questions h3 {
	font-size: 12px;
	margin: 10px 0;
	color: rgb(90, 90, 90);
	display: flex;
	font-weight: 600;
	justify-content: space-between;
	align-items: center;
}
.questions h3:hover {
	color: crimson;
	cursor: pointer;
}
.questions h3 img {
	margin-left: 4rem;
	height: 7px;
	cursor: pointer;
	transition: transform 300ms ease-in;
}
.questions p {
	font-size: 12px;
	margin-bottom: 10px;
	font-weight: 400;
}
.question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	font-size: 1.1rem;
	margin: 0.7rem 0;
	transition: color 0.2s;
}
.question:hover {
	color: #0078d4;
}
.answer {
	margin: 0.5rem 0 1rem 0;
	color: #444;
	font-size: 1rem;
	display: none;
	transition: display 0.3s;
}

@media only screen and (max-width: 760px) {
	.container {
		max-width: 350px;
		padding: 1rem;
		display: block;
		flex-direction: column;
		justify-content: space-between;
		overflow: visible;
		height: 430px;
	}
	.container .img {
		width: 60%;
		height: fit-content;
		left: 50%;
		transform: translateX(-50%) translateY(-125px);
	}
	.container img {
		max-width: 250px;
	}
	.container .questions {
		width: 100%;
		margin-right: 0;
		position: relative;
		top: -90px;
	}
	.container .questions h1 {
		text-align: center;
	}
}

.event-slider.card {
	background: #f8faff;
	border-radius: 8px;
	box-shadow: 0 2px 8px #0001;
}
.event-slider h2 {
	color: #0078d4;
	font-size: 1.5rem;
}
.slider-track {
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.event-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px #0002;
	padding: 1.5rem 2rem;
	text-align: left;
	width: 100%;
	max-width: 500px;
	margin: auto;
	transition: box-shadow 0.2s;
	cursor: pointer;
}
.event-card:hover {
	box-shadow: 0 4px 16px #0078d422;
}
.slider-controls {
	margin-top: 1rem;
	display: flex;
	gap: 1rem;
}
.slider-controls .btn {
	background: #0078d4;
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 2.5rem;
	height: 2.5rem;
	font-size: 1.2rem;
	cursor: pointer;
	transition: background 0.2s;
}
.slider-controls .btn:hover {
	background: #005fa3;
}
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.6);
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
.modal.active {
	display: flex;
}
.modal-content {
	background: #fff;
	padding: 2rem;
	border-radius: 12px;
	max-width: 400px;
	width: 90vw;
	position: relative;
	box-shadow: 0 8px 32px #0003;
}
.close-modal {
	position: absolute;
	top: 10px;
	right: 16px;
	font-size: 1.5rem;
	cursor: pointer;
	background: transparent;
	border: none;
	color: #0078d4;
}
.close-modal:hover {
	color: #d40078;
}
footer {
	background: #fff;
	border-top: 1px solid #eee;
	margin-top: 2rem;
	padding: 1rem;
	color: #888;
	font-size: 1rem;
	border-radius: 0 0 12px 12px;
}


#notificationBanner {
	font-size: 1.1rem;
	box-shadow: 0 2px 8px #0002;
	letter-spacing: 0.5px;
	display: none;
	animation: fadeInBanner 0.7s;
}
@keyframes fadeInBanner {
	from { opacity: 0; transform: translateY(-20px);}
	to { opacity: 1; transform: translateY(0);}
}
body.dark-mode {
	background: #181818;
	color: #eee;
}
body.dark-mode .top-bar {
	background: #232323 !important;
	color: #eee !important;
}
body.dark-mode .top-bar h2 {
	color: #fff !important;
}
body.dark-mode .button-group .btn {
	background: #444 !important;
	color: #fff !important;
	border: none;
}
body.dark-mode .container,
body.dark-mode .questions.card,
body.dark-mode .event-slider.card,
body.dark-mode .event-card,
body.dark-mode .modal-content,
body.dark-mode footer {
	background: #232323 !important;
	color: #eee !important;
	box-shadow: 0 2px 8px #fff1;
}
body.dark-mode .questions h1,
body.dark-mode .event-slider h2 {
	color: #fff;
}
body.dark-mode .btn,
body.dark-mode .slider-controls .btn {
	background: #444 !important;
	color: #fff !important;
}
body.dark-mode .close-modal {
	color: #fff;
}
body.dark-mode #notificationBanner {
	background: #444 !important;
	color: #fff !important;
}