/* ==========================================================================
   Searcy School of Dental Assisting — one-page site
   Modern redesign of the original WordPress/Elementor page.
   ========================================================================== */

:root {
	--navy-950: #081221;
	--navy-900: #0a1a2e;
	--navy-800: #0f2540;
	--blue: #0072e5;
	--blue-dark: #0059b4;
	--blue-bright: #2f9bff;
	--sky-tint: #eef5fd;
	--surface: #ffffff;
	--line: #e2eaf2;
	--text: #22303f;
	--text-muted: #5c6b7a;
	--text-on-dark: #b9c7d6;
	--container: 1160px;
	--radius: 18px;
	--radius-lg: 26px;
	--shadow-soft: 0 6px 30px rgba(10, 30, 60, 0.08);
	--shadow-lift: 0 14px 40px rgba(10, 30, 60, 0.14);
	--font-body: 'Inter', Arial, sans-serif;
	--font-heading: 'Plus Jakarta Sans', 'Inter', Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--text);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

h1, h2, h3, h4, h5 {
	font-family: var(--font-heading);
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 0.6em;
	color: var(--navy-900);
}

h2 {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
}

h3 {
	font-size: 22px;
	font-weight: 700;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--blue);
}

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.eyebrow {
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--blue);
	margin: 0 0 14px;
}

.eyebrow-light {
	color: var(--blue-bright);
}

.section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 54px;
}

/* Buttons ------------------------------------------------------------------ */

.button {
	display: inline-block;
	background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
	color: #ffffff;
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	border: none;
	border-radius: 999px;
	padding: 14px 30px;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 114, 229, 0.32);
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(0, 114, 229, 0.42);
	color: #ffffff;
}

.button-large {
	padding: 16px 36px;
	font-size: 16px;
}

.button-small {
	padding: 10px 22px;
	font-size: 14px;
	box-shadow: none;
}

.button-block {
	display: block;
	width: 100%;
	text-align: center;
}

.button-ghost {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.45);
	box-shadow: none;
	backdrop-filter: blur(4px);
}

.button-ghost:hover {
	background: rgba(255, 255, 255, 0.2);
	box-shadow: none;
}

/* Anchor targets offset for the sticky header */
.anchor-offset {
	position: relative;
	top: -92px;
}

/* Scroll-reveal ------------------------------------------------------------ */

.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(15, 37, 64, 0.06);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.logo-link img {
	width: 250px;
	height: auto;
}

.main-nav ul {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav a:not(.button) {
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 600;
	color: var(--navy-900);
	text-decoration: none;
	transition: color 0.2s ease;
}

.main-nav a:not(.button):hover,
.main-nav a[aria-current="page"]:not(.button) {
	color: var(--blue);
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 10px 12px;
	cursor: pointer;
}

.menu-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--navy-900);
	margin: 5px 0;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(88vh, 760px);
	overflow: hidden;
}

.hero-media {
	position: absolute;
	inset: 0;
	background: url('../assets/images/best-searcy-dental-assistant-school.jpg') center 30% / cover no-repeat;
}

.hero-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, rgba(8, 18, 33, 0.94) 0%, rgba(8, 18, 33, 0.78) 45%, rgba(8, 18, 33, 0.45) 100%);
}

.hero-content {
	position: relative;
	width: 100%;
	color: #ffffff;
	padding-top: 96px;
	padding-bottom: 96px;
	max-width: var(--container);
}

.hero h1 {
	font-size: clamp(38px, 5.5vw, 62px);
	font-weight: 800;
	color: #ffffff;
	max-width: 720px;
	margin-bottom: 20px;
}

.accent-text {
	background: linear-gradient(120deg, var(--blue-bright), #7cc4ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-tagline {
	font-size: 20px;
	font-weight: 400;
	color: #d7e3f0;
	max-width: 560px;
	margin-bottom: 34px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 38px;
}

.hero-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hero-chips li {
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: #e4eefa;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	padding: 7px 16px;
	backdrop-filter: blur(4px);
}

.hero-chips li::before {
	content: '✓';
	color: var(--blue-bright);
	margin-right: 8px;
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */

.stats {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	padding-top: 42px;
	padding-bottom: 42px;
}

.stat {
	text-align: center;
}

.stat-number {
	display: block;
	font-family: var(--font-heading);
	font-size: 42px;
	font-weight: 800;
	letter-spacing: -0.03em;
	background: linear-gradient(120deg, var(--blue), var(--blue-bright));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1.1;
}

.stat-label {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Why dental assisting
   -------------------------------------------------------------------------- */

.why {
	padding: 96px 0;
	background: var(--surface);
}

.why-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 64px;
	align-items: center;
}

.why-copy h2 {
	margin-bottom: 20px;
}

.why-copy p {
	color: var(--text-muted);
	margin-bottom: 28px;
}

.why-media {
	position: relative;
}

.why-media img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lift);
}

.why-media::before {
	content: '';
	position: absolute;
	inset: 24px -24px -24px 24px;
	background: var(--sky-tint);
	border-radius: var(--radius-lg);
	z-index: -1;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery {
	padding: 96px 0;
	background: var(--sky-tint);
}

.gallery-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 54px;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.gallery-item {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.gallery-item.wide {
	grid-column: 1 / -1;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gallery-item.wide img {
	max-height: 520px;
}

.gallery-item:not(.wide) img {
	aspect-ratio: 4 / 3;
}

.gallery-item:hover img {
	transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   Enrollment
   -------------------------------------------------------------------------- */

.enroll {
	position: relative;
	background:
		radial-gradient(900px 420px at 85% 10%, rgba(0, 114, 229, 0.28), transparent 60%),
		linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
	color: #ffffff;
	padding: 96px 0;
}

.enroll-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 64px;
	align-items: center;
}

.enroll h2 {
	color: #ffffff;
	min-height: 2.4em;
}

.typing-headline .caret {
	display: inline-block;
	width: 3px;
	background: var(--blue-bright);
	animation: blink 0.8s step-end infinite;
	margin-left: 3px;
	height: 1em;
	vertical-align: -0.12em;
	border-radius: 2px;
}

@keyframes blink {
	50% { opacity: 0; }
}

.check-list {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
}

.check-list li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 12px;
	color: var(--text-on-dark);
	font-size: 17px;
}

.check-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
	background: linear-gradient(135deg, var(--blue), var(--blue-bright));
	border-radius: 50%;
	margin-top: 3px;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-card {
	background: var(--surface);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lift);
	padding: 38px 34px;
}

.site-form {
	text-align: left;
}

.site-form .field {
	margin-bottom: 18px;
}

.site-form label {
	display: block;
	font-family: var(--font-heading);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--navy-900);
	margin-bottom: 7px;
}

.site-form .req {
	color: #d40000;
}

.site-form input,
.site-form textarea {
	width: 100%;
	font-family: var(--font-body);
	font-size: 16px;
	color: var(--text);
	background: #f7fafd;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	padding: 12px 16px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-form input:focus,
.site-form textarea:focus {
	outline: none;
	background: #ffffff;
	border-color: var(--blue);
	box-shadow: 0 0 0 4px rgba(0, 114, 229, 0.12);
}

.form-status {
	margin: 12px 0 0;
	font-size: 15px;
	min-height: 1.4em;
}

.form-status.success { color: #1a7a3c; }
.form-status.error { color: #d40000; }

.enroll .form-status.success { color: #57d98a; }

/* --------------------------------------------------------------------------
   A Day in the Life
   -------------------------------------------------------------------------- */

.day-in-life {
	padding: 96px 0;
	background: var(--surface);
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.feature {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 26px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lift);
	border-color: transparent;
}

.feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	color: var(--blue);
	background: var(--sky-tint);
	border-radius: 16px;
	margin-bottom: 20px;
}

.feature-icon svg {
	width: 26px;
	height: 26px;
}

.feature h3 {
	font-size: 18px;
	margin-bottom: 10px;
}

.feature p {
	font-size: 15px;
	color: var(--text-muted);
	margin: 0;
}

/* --------------------------------------------------------------------------
   Program / About
   -------------------------------------------------------------------------- */

.program {
	padding: 96px 0 20px;
	text-align: center;
}

.program-intro {
	max-width: 820px;
	margin: 0 auto;
	font-size: 19px;
	line-height: 1.75;
	color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Comparison
   -------------------------------------------------------------------------- */

.comparison {
	padding: 64px 0 96px;
}

.comparison-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: start;
}

.comparison-col {
	position: relative;
	border-radius: var(--radius-lg);
	padding: 40px 36px;
}

.comparison-col.us {
	background:
		radial-gradient(500px 260px at 100% 0%, rgba(47, 155, 255, 0.22), transparent 60%),
		linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 100%);
	color: var(--text-on-dark);
	box-shadow: var(--shadow-lift);
}

.comparison-col.us h3 {
	color: #ffffff;
	font-size: 24px;
	margin-bottom: 22px;
}

.comparison-col.us strong {
	color: #ffffff;
}

.comparison-col.them {
	background: var(--surface);
	border: 1px solid var(--line);
}

.comparison-col.them h3 {
	color: var(--text-muted);
	font-size: 24px;
	margin-bottom: 22px;
}

.badge {
	position: absolute;
	top: -14px;
	left: 36px;
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #ffffff;
	background: linear-gradient(135deg, var(--blue), var(--blue-bright));
	border-radius: 999px;
	padding: 6px 16px;
	box-shadow: 0 6px 16px rgba(0, 114, 229, 0.4);
}

.compare-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.compare-list li {
	position: relative;
	padding-left: 36px;
	margin-bottom: 18px;
}

.compare-list li::before {
	position: absolute;
	left: 0;
	top: 2px;
	width: 23px;
	height: 23px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	border-radius: 50%;
}

.compare-yes li::before {
	content: '✓';
	color: #ffffff;
	background: linear-gradient(135deg, var(--blue), var(--blue-bright));
}

.compare-no li::before {
	content: '✕';
	color: #9aa7b4;
	background: #eef1f5;
}

.compare-no li {
	color: var(--text-muted);
}

.comparison-close {
	margin: 26px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	color: var(--text);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
	position: relative;
	background:
		radial-gradient(900px 420px at 10% 90%, rgba(0, 114, 229, 0.25), transparent 60%),
		linear-gradient(200deg, var(--navy-900) 0%, var(--navy-950) 100%);
	color: #ffffff;
	padding: 96px 0;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.contact-copy h2 {
	color: #ffffff;
}

.contact-copy > p {
	color: var(--text-on-dark);
	margin-bottom: 30px;
}

.highlight-marker {
	position: relative;
	white-space: nowrap;
	color: var(--blue-bright);
}

.highlight-marker::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 9px;
	background: rgba(47, 155, 255, 0.28);
	border-radius: 4px;
	z-index: -1;
}

.contact-details {
	list-style: none;
	margin: 0;
	padding: 0;
}

.contact-details li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
	color: var(--text-on-dark);
}

.contact-details a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
}

.contact-details a:hover {
	color: var(--blue-bright);
}

.contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	color: var(--blue-bright);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
}

.contact-icon svg {
	width: 20px;
	height: 20px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--navy-950);
	color: var(--text-on-dark);
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-top: 44px;
	padding-bottom: 44px;
	flex-wrap: wrap;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 380px;
}

.footer-brand img {
	border-radius: 50%;
	flex-shrink: 0;
}

.footer-brand p {
	font-size: 14px;
	margin: 0;
}

.footer-contact {
	display: flex;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 15px;
	flex-wrap: wrap;
	justify-content: center;
}

.footer-contact a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
}

.footer-contact a:hover {
	color: var(--blue-bright);
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #ffffff;
	border-radius: 12px;
	transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
	background: var(--blue);
	color: #ffffff;
}

.footer-copyright {
	text-align: center;
	font-size: 13.5px;
	color: #7b8a99;
	padding: 20px 24px;
}

.footer-copyright p {
	margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.why-grid,
	.enroll-grid,
	.contact-grid {
		gap: 44px;
	}
}

@media (max-width: 860px) {
	.why-grid,
	.enroll-grid,
	.contact-grid,
	.comparison-grid {
		grid-template-columns: 1fr;
	}

	.why-media {
		order: -1;
		max-width: 480px;
	}

	.why-media::before {
		display: none;
	}
}

@media (max-width: 767px) {
	.logo-link img {
		width: 200px;
	}

	.menu-toggle {
		display: block;
	}

	.main-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #ffffff;
		box-shadow: 0 14px 30px rgba(10, 30, 60, 0.12);
	}

	.main-nav.open {
		display: block;
	}

	.main-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 0;
	}

	.main-nav a:not(.button) {
		display: block;
		padding: 14px 24px;
	}

	.nav-cta {
		padding: 12px 24px 16px;
	}

	.nav-cta .button {
		display: block;
		text-align: center;
	}

	.hero {
		min-height: 0;
	}

	.hero-content {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}

	.feature-grid {
		grid-template-columns: 1fr;
	}

	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.why,
	.gallery,
	.enroll,
	.day-in-life,
	.contact {
		padding: 64px 0;
	}

	.program {
		padding: 64px 0 12px;
	}

	.comparison {
		padding: 48px 0 64px;
	}

	.form-card {
		padding: 28px 22px;
	}

	.anchor-offset {
		top: -80px;
	}
}
