/* Base typography and page */
html {
	height: 100%;
}

body {
	height: 100%;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-image: url('laptop.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #f4f7fb;
	color: #071229;
	min-height: 100vh;
	line-height: 1.6;
}

/* Container */
.site-container {
	max-width: 1100px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 20px;
	padding-right: 20px;
}

/* Basic utilities */
.text-center {
	text-align: center;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	margin-top: -1px;
	margin-right: -1px;
	margin-bottom: -1px;
	margin-left: -1px;
	overflow: hidden;
	clip: rect(0px, 0px, 0px, 0px);
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
}

/* Header */
.site-header {
	position: sticky;
	top: 0px;
	z-index: 1000;
	background-color: #0b3d91; /* deep blue brand */
	color: #eaf8ff;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	border-style: solid;
	border-color: rgba(255,255,255,0.08);
}

.header-inner {
	display: block;
	/* inner layout uses flex below per breakpoint */
	padding-top: 14px;
	padding-right: 0px;
	padding-bottom: 14px;
	padding-left: 0px;
}

.brand {
	display: inline-block;
	vertical-align: middle;
	text-decoration: none;
	color: inherit;
	font-weight: 800;
}

.brand-logo {
	width: 56px;
	height: 56px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	object-fit: cover;
	box-shadow: 0px 6px 20px rgba(0,0,0,0.3);
}

.nav-list {
	list-style-type: none;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

.nav-item {
	display: inline-block;
	margin-top: 0px;
	margin-right: 16px;
	margin-bottom: 0px;
	margin-left: 0px;
}

.nav-link {
	color: rgba(255,255,255,0.95);
	text-decoration: none;
	font-weight: 600;
	padding-top: 8px;
	padding-right: 12px;
	padding-bottom: 8px;
	padding-left: 12px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
}

/* Hero */
.hero {
	padding-top: 80px;
	padding-right: 0px;
	padding-bottom: 80px;
	padding-left: 0px;
	background-image: url('assets/img/hero-bg.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #ffffff;
}

.hero-inner {
	display: block;
}

.hero-copy {
	display: block;
	width: 100%;
}

.hero-title {
	font-size: 44px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 16px;
	margin-left: 0px;
	font-weight: 800;
	line-height: 1.1;
	color: #ffffff;
}

.hero-lede {
	font-size: 20px;
	color: rgba(255,255,255,0.95);
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 24px;
	margin-left: 0px;
}

/* Quick card */
.quick-card {
	background-color: rgba(255,255,255,0.08);
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-style: solid;
	border-color: rgba(255,255,255,0.1);
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
	border-bottom-right-radius: 14px;
	border-bottom-left-radius: 14px;
	padding-top: 24px;
	padding-right: 24px;
	padding-bottom: 24px;
	padding-left: 24px;
	color: #eaf8ff;
}

/* Sections */
.section {
	padding-top: 60px;
	padding-right: 0px;
	padding-bottom: 60px;
	padding-left: 0px;
}

.section-heading h2 {
	font-size: 34px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 12px;
	margin-left: 0px;
	color: #000000;
}

.section-heading p {
	color: #000000;
	font-size: 18px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

/* Features layout (fallback to flex) */
.features-grid {
	display: block;
}

.feature-item {
	display: block;
	margin-top: 16px;
	margin-right: 0px;
	margin-bottom: 16px;
	margin-left: 0px;
}

/* Exams: flex layout fallback */
.exams-grid {
	display: flex;
	flex-wrap: wrap;
}

.exam-card {
	width: 100%;
	max-width: 320px;
	margin-top: 12px;
	margin-right: 12px;
	margin-bottom: 12px;
	margin-left: 12px;
	background-color: rgba(255,255,255,0.08);
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-style: solid;
	border-color: rgba(255,255,255,0.1);
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
	border-bottom-right-radius: 14px;
	border-bottom-left-radius: 14px;
	padding-top: 24px;
	padding-right: 24px;
	padding-bottom: 24px;
	padding-left: 24px;
	text-align: center;
	color: #eaf8ff;
}

/* Quiz card */
.quiz-section {
	padding-top: 60px;
	padding-right: 0px;
	padding-bottom: 60px;
	padding-left: 0px;
	display: block;
}

.quiz-card {
	max-width: 800px;
	width: 100%;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	/* Add perspective so 3D transforms for flip work */
	perspective: 1200px;
}

.card-front,
.card-back {
	min-height: 400px;
	padding-top: 32px;
	padding-right: 32px;
	padding-bottom: 32px;
	padding-left: 32px;
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
	border-bottom-right-radius: 14px;
	border-bottom-left-radius: 14px;
	background-color: rgba(255,255,255,0.08);
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-style: solid;
	border-color: rgba(255,255,255,0.1);
	color: #eaf8ff; /* keep text on card light */
	/* ensure backface is hidden for both sides */
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

/* Card inner transforms for flip */
.card-inner {
	position: relative;
	/* preserve 3d transform context */
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	transition-property: transform;
	transition-duration: 700ms;
	transition-timing-function: cubic-bezier(0.2,0.9,0.2,1);
}

.card-inner.flipped {
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
}

/* front stays in normal flow; back is absolutely positioned and rotated */
.card-front {
	position: relative;
	z-index: 2;
}

.card-back {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
}

/* Make the question text explicitly black so it is visible */
#q-text {
	color: #000000;
}

/* Options styling */
.options {
	display: block;
	margin-top: 20px;
}

.option-btn {
	display: block;
	width: 100%;
	padding-top: 16px;
	padding-right: 16px;
	padding-bottom: 16px;
	padding-left: 16px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-style: solid;
	border-color: rgba(255,255,255,0.1);
	background-color: rgba(255,255,255,0.04);
	color: #dff6ff;
	text-align: left;
	cursor: pointer;
	font-weight: 600;
	margin-top: 12px;
	margin-right: 0px;
	margin-bottom: 12px;
	margin-left: 0px;
}

.option-btn:hover {
	background-color: rgba(255,255,255,0.08);
}

/* Reviews */
#reviews {
	background-color: rgba(0,0,0,0.4);
	color: #eaf8ff;
}

.review-slide {
	display: none;
	padding-top: 28px;
	padding-right: 28px;
	padding-bottom: 28px;
	padding-left: 28px;
	background-color: rgba(255,255,255,0.08);
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
	border-bottom-right-radius: 14px;
	border-bottom-left-radius: 14px;
}

.review-slide[aria-hidden="false"] {
	display: block;
}

/* CTA */
.cta-section {
	padding-top: 80px;
	padding-bottom: 80px;
	text-align: center;
	color: #ffffff;
}

.cta {
	background-color: #00d2ff;
	padding-top: 40px;
	padding-right: 40px;
	padding-bottom: 40px;
	padding-left: 40px;
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
	border-bottom-right-radius: 14px;
	border-bottom-left-radius: 14px;
	max-width: 700px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

/* Footer */
.site-footer {
	background-color: #021022;
	color: #bfeaff;
	padding-top: 60px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
}

.footer-inner {
	display: block;
}

/* Responsive adjustments (use only basic features) */
@media only screen and (max-width: 980px) {
	.hero-title {
		font-size: 34px;
	}
	.brand-logo {
		width: 48px;
		height: 48px;
	}
}

@media only screen and (max-width: 600px) {
	.site-container {
		padding-left: 12px;
		padding-right: 12px;
	}
	.hero-title {
		font-size: 28px;
	}
	.brand-logo {
		width: 42px;
		height: 42px;
	}
}