@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
	--green-900: #1a2e1a;
	--green-800: #1f3d1f;
	--green-700: #2d5a2d;
	--green-600: #3a7a3a;
	--green-500: #4a9e4a;
	--green-400: #6bbf6b;
	--green-100: #eaf5ea;
	--green-50: #f4fbf4;
	--accent: #22c55e;
	--purple: #7c3aed;
	--purple-light: #ede9fe;
	--text-dark: #111827;
	--text-mid: #374151;
	--text-muted: #6b7280;
	--border: #e5e7eb;
	--surface: #ffffff;
	--radius-lg: 20px;
	--radius-md: 12px;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
	--shadow-lg:
		0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 14px rgba(0, 0, 0, 0.07);
	--shadow-soft:
		0 10px 30px rgba(15, 23, 42, 0.06), 0 2px 10px rgba(15, 23, 42, 0.04);
}

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

body {
	font-family: "DM Sans", sans-serif;
	background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
	min-height: 100vh;
	color: var(--text-dark);
}

.container {
	max-width: 1400px;
	background: var(--surface);
	padding: 80px 48px 32px;
}

.page-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	background-color: #0000ee;
	padding: 10px 40px;
	z-index: 1000;
}

.header h1 {
	font-family: "DM Sans", sans-serif;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 300;
	font-style: italic;
	color: var(--text-dark);
	margin-bottom: 10px;
	letter-spacing: -0.02em;
}

.header h1 .brand {
	font-weight: 700;
	font-style: normal;
	color: var(--green-700);
}

.header p {
	color: var(--text-muted);
	font-size: 1.05rem;
	font-style: italic;
}

.page-header,
.hero-panel,
.main-content {
	margin-bottom: 32px;
}

.brand-group {
	display: flex;
	align-items: center;
	position: relative;
}

.logo-mark {
	width: 40px;
	height: 40px;
}

.brand-group .logo-mark img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.brand-group .eyebrow {
	margin: 0 0 4px;
	color: var(--green-600);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.nav-links {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.nav-link {
	color: var(--text-muted);
	background-color: var(--purple-light);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: bold;
	padding: 10px 20px;
	border-radius: 20px;
	transition: all 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
	color: var(--green-700);
	background: #fff;
}

.hero-panel {
	padding: 34px 34px 30px;
	background: linear-gradient(135deg, #ffffff 0%, #f9fdf9 100%);
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 24px;
	box-shadow: var(--shadow-sm);
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 32px;
	align-items: start;
}

.hero-copy {
	width: 100%;
}

.hero-media {
	display: flex;
	justify-content: flex-end;
}

.hero-media-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	width: 86%;
	margin-left: auto;
}

.hero-media-card {
	border-radius: 22px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 15px 32px rgba(15, 23, 42, 0.08);
	min-height: 140px;
	transform: rotate(0deg);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.hero-media-card:nth-child(1) {
	transform: translate(-8px, 0) rotate(-3deg);
}

.hero-media-card:nth-child(2) {
	transform: translate(4px, 10px) rotate(3deg);
}

.hero-media-card:nth-child(3) {
	transform: translate(-6px, -4px) rotate(2deg);
}

.hero-media-card:nth-child(4) {
	transform: translate(8px, 6px) rotate(-2deg);
}

.hero-media-card:nth-child(5) {
	transform: translate(-10px, 12px) rotate(1.5deg);
}

.hero-media-card:nth-child(6) {
	transform: translate(2px, -8px) rotate(-1.8deg);
}

.hero-media-card:hover {
	transform: translateY(-8px) scale(1.04);
	box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

.hero-media-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.hero-media-card:hover img {
	transform: scale(1.06);
}

.hero-copy h2 {
	font-size: clamp(2rem, 3.3vw, 3.2rem);
	line-height: 1.05;
	margin: 18px 0 20px;
	color: var(--text-dark);
}

/* Modern word slider for dynamic hero heading */

.word-slider {
	display: inline-block;
	position: relative;
	vertical-align: middle;
	overflow: hidden;

	height: 1.15em;
	min-width: 0;

	padding: 0 0.3em;
	margin: 0 0.15em;

	line-height: 1.15;
	transition: width 220ms ease;
}

.word-slider span {
	position: absolute;
	inset: 0 auto auto 0;
	display: inline-flex;
	align-items: center;
	height: 100%;
	white-space: nowrap;
	opacity: 0;
	transform: translateY(20%);
	transition:
		opacity 220ms ease,
		transform 220ms ease;
	pointer-events: none;
}

.word-slider span em {
	transform: translateY(-0.1em);
	padding: 2px 6px;
}

.word-slider span.active {
	opacity: 1;
	transform: translateY(0);
}

.hero-copy p {
	max-width: 760px;
	color: var(--text-muted);
	font-size: 1rem;
	line-height: 1.8;
	margin-bottom: 24px;
}

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

.primary-button,
.secondary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border-radius: 9px;
	border: none;
	text-decoration: none;
	font-weight: 700;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.primary-button {
	background: var(--green-700);
	color: #fff;
}

.primary-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(42, 90, 42, 0.18);
}

.secondary-button {
	background: #a9a4a4;
	color: var(--green-700);
	border: 1.5px solid var(--green-200);
}

.secondary-button:hover {
	transform: translateY(-1px);
	background: var(--green-50);
}

.secondary-button.disabled,
.secondary-button[disabled] {
	background: #f3f4f6;
	color: var(--text-muted);
	border-color: #e5e7eb;
	cursor: not-allowed;
	transform: none;
}

.secondary-button.disabled:hover,
.secondary-button[disabled]:hover {
	background: #f3f4f6;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.hero-stat {
	border-radius: 16px;
	border: 1px solid rgba(15, 23, 42, 0.06);
	padding: 18px 20px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fcf8 100%);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.hero-stat strong {
	display: block;
	margin-bottom: 6px;
	color: var(--text-dark);
	font-size: 0.95rem;
}

.hero-stat span {
	color: var(--text-muted);
	font-size: 0.9rem;
	line-height: 1.6;
}

/* ── Main grid ── */
.main-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	margin-bottom: 32px;
}

/* ── Left section ── */
.left-section {
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 24px;
	padding: 36px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: linear-gradient(180deg, #ffffff 0%, #fafdfa 100%);
	box-shadow: var(--shadow-sm);
}

.section-eyebrow {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 18px;
}

.service-button {
	background: linear-gradient(180deg, #ffffff 0%, #f8fcf8 100%);
	border: 1.5px solid rgba(15, 23, 42, 0.06);
	border-radius: var(--radius-md);
	padding: 22px 24px;
	margin-bottom: 16px;
	cursor: pointer;
	transition: all 0.22s ease;
	display: flex;
	align-items: center;
	gap: 18px;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.service-button:hover:not(.disabled) {
	border-color: rgba(15, 23, 42, 0.12);
	box-shadow: none;
	transform: translateY(0);
	background: #ffffff;
}

.service-button.disabled {
	opacity: 0.7;
	cursor: default;
}

.service-icon {
	width: 52px;
	height: 52px;
	background: var(--purple);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	flex-shrink: 0;
	transition: transform 0.22s ease;
}

.service-button:hover:not(.disabled) .service-icon {
	transform: scale(1.08);
}

.service-text {
	flex: 1;
}

.service-text h2 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-dark);
	letter-spacing: 0.04em;
	margin-bottom: 3px;
}

.service-sub {
	font-size: 0.78rem;
	color: var(--text-muted);
}

.service-arrow {
	font-size: 1.2rem;
	color: var(--green-500);
	font-weight: 700;
	transition: transform 0.22s ease;
}

.service-button:hover:not(.disabled) .service-arrow {
	transform: translateX(4px);
}

.service-badge {
	background: #f3f4f6;
	color: var(--text-mid);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 20px;
}

.instruction {
	margin-top: 20px;
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--text-muted);
	padding: 14px 16px;
	background: var(--surface);
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
}

.instruction .highlight {
	color: var(--green-700);
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 3px;
}

.instruction .highlight:hover {
	color: var(--green-500);
}

/* ── Right section ── */
.right-section {
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 24px;
	padding: 28px;
	background: linear-gradient(180deg, #ffffff 0%, #fafdfa 100%);
	box-shadow: var(--shadow-sm);
}

.section-header {
	text-align: left;
	margin-bottom: 16px;
}

.section-header h2 {
	color: var(--text-dark);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.health-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.health-card {
	border-radius: var(--radius-md);
	overflow: hidden;
	position: relative;
	aspect-ratio: 4/3;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	cursor: pointer;
	border: 1px solid rgba(255, 255, 255, 0.4);
}

.health-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.health-card:hover img {
	transform: scale(1.06);
}

.health-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.65) 0%,
		transparent 100%
	);
	padding: 28px 14px 14px;
}

.health-card-overlay h3 {
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ── CTA ── */
.cta-section {
	background: linear-gradient(180deg, #ffffff 0%, #f7fcf7 100%);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: var(--radius-md);
	padding: 18px 28px;
	text-align: center;
	margin: 0 0 28px auto;
	max-width: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.cta-section a {
	color: var(--green-700);
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
}

.cta-section a:hover {
	text-decoration: underline;
}

.cta-section span {
	color: var(--text-muted);
	font-size: 0.95rem;
}


.section-divider {
	border: none;
	height: 1px;
	background: rgba(15, 23, 42, 0.08);
	margin: 20px 0 16px;
}

.community-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 32px 28px;
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.12)),
		url("https://plus.unsplash.com/premium_photo-1681842988727-6804d2776f62?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
	background-size: cover;
	background-position: center;
	color: #ffffff;
	position: relative;
	overflow: hidden;
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.community-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.4);
	pointer-events: none;
}

.community-copy {
	max-width: 720px;
	position: relative;
	z-index: 1;
}

.community-copy .section-eyebrow {
	margin-bottom: 10px;
	color: #d1fae5;
}

.community-panel h2 {
	font-size: clamp(1.5rem, 2vw, 2rem);
	line-height: 1.3;
	color: #f8fafc;
	margin: 0 0 10px;
}

.community-panel p {
	color: rgba(248, 250, 252, 0.85);
	line-height: 1.7;
	margin: 0;
}

.community-button {
	padding: 14px 24px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.75);
	font-weight: 700;
	cursor: not-allowed;
	position: relative;
	z-index: 1;
}

/* ── Footer ── */
.footer {
	margin-top: 20px;
	padding: 32px 28px 24px;
	border-top: 1px solid #dbe4ea;
	background: linear-gradient(180deg, #f8fafc 0%, #eef6f7 100%);
	color: #475569;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.7),
		0 10px 28px rgba(15, 23, 42, 0.05);
}

.adoption-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
	gap: 24px;
	padding: 26px 0 22px;
	align-items: center;
	margin-top: 18px;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.adoption-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.stat-card {
	min-width: 150px;
	flex: 1;
	padding: 18px 20px;
	background: linear-gradient(
		180deg,
		rgba(15, 23, 42, 0.04) 0%,
		rgba(255, 255, 255, 0.7) 100%
	);
	border-radius: 18px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.stat-card strong {
	display: block;
	font-size: 1.35rem;
	color: #0f172a;
	margin-bottom: 6px;
}

.stat-card span {
	color: #475569;
	font-size: 0.95rem;
}

.trust-badges {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.badge-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(59, 130, 246, 0.1);
	color: #1d4ed8;
	font-weight: 600;
	font-size: 0.9rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	align-items: start;
	margin-bottom: 16px;
}

.footer-links,
.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-links a,
.footer-contact a {
	color: #2563eb;
}

.footer-brand {
	max-width: 420px;
}

.footer-logo {
	margin: 0 0 12px;
	font-size: 1.15rem;
	font-weight: 700;
	color: #0f172a;
}

.footer-text {
	margin: 0;
	line-height: 1.75;
	color: #475569;
}

.footer-heading {
	margin: 0 0 12px;
	font-size: 0.92rem;
	font-weight: 700;
	color: #0f172a;
}

.footer-links,
.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer a {
	color: #2563eb;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer a:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

.footer-bottom {
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	padding-top: 16px;
	font-size: 0.85rem;
	text-align: center;
}

/* ── Modal ── */
.modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.modal-content {
	background: var(--surface);
	padding: 40px 36px 32px;
	border-radius: var(--radius-lg);
	max-width: 400px;
	width: 90%;
	box-shadow: var(--shadow-lg);
	position: relative;
	text-align: center;
	animation: modalIn 0.25s ease;
}

@keyframes modalIn {
	from {
		opacity: 0;
		transform: scale(0.94) translateY(10px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.modal-icon {
	font-size: 2.5rem;
	margin-bottom: 14px;
}

.modal-content h3 {
	color: var(--text-dark);
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.modal-content p {
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 8px;
}

.close {
	position: absolute;
	top: 14px;
	right: 18px;
	font-size: 22px;
	cursor: pointer;
	color: var(--text-muted);
	background: none;
	border: none;
	line-height: 1;
	transition: color 0.2s;
}
.close:hover {
	color: #ef4444;
}

.modal-ok-btn {
	margin-top: 20px;
	background: linear-gradient(135deg, var(--green-700), var(--green-500));
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 12px 40px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	font-family: "DM Sans", sans-serif;
	transition:
		opacity 0.2s,
		transform 0.2s;
}
.modal-ok-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

#popupModal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(4px);
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

#popupModal .mc {
	background: #fff;
	border-radius: 20px;
	padding: 44px 40px 36px;
	max-width: 420px;
	width: 90%;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
	position: relative;
	text-align: center;
	animation: mIn 0.25s ease;
}

@keyframes mIn {
	from {
		opacity: 0;
		transform: scale(0.94) translateY(12px);
	}

	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.mc h3 {
	font-size: 1.35rem;
	font-weight: 700;
	color: #111827;
	margin-bottom: 10px;
}

.mc p {
	color: #6b7280;
	font-size: 0.93rem;
	line-height: 1.65;
	margin-bottom: 22px;
}

.mc-x {
	position: absolute;
	top: 14px;
	right: 18px;
	background: none;
	border: none;
	font-size: 22px;
	cursor: pointer;
	color: #9ca3af;
	line-height: 1;
	transition: color 0.2s;
}

.mc-x:hover {
	color: #ef4444;
}

.mc-icon {
	font-size: 2.8rem;
	margin-bottom: 14px;
}

.mc-btn {
	display: block;
	width: 100%;
	background: linear-gradient(135deg, #2d5016, #6b7c50);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 13px 20px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	font-family: "DM Sans", sans-serif;
	transition:
		opacity 0.2s,
		transform 0.2s;
	text-decoration: none;
	margin-bottom: 10px;
	text-align: center;
}

.mc-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.mc-btn.sec {
	background: #f3f4f6;
	color: #374151;
}

.mc-btn.sec:hover {
	background: #e5e7eb;
}

.community-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 32px 28px;
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.12)),
		url("https://plus.unsplash.com/premium_photo-1681842988727-6804d2776f62?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
	background-size: cover;
	background-position: center;
	color: #ffffff;
	position: relative;
	overflow: hidden;
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.community-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.4);
	pointer-events: none;
}

.community-copy {
	max-width: 720px;
	position: relative;
	z-index: 1;
}

.community-copy .section-eyebrow {
	margin-bottom: 10px;
	color: #d1fae5;
}

.community-panel h2 {
	font-size: clamp(1.5rem, 2vw, 2rem);
	line-height: 1.3;
	color: #f8fafc;
	margin: 0 0 10px;
}

.community-panel p {
	color: rgba(248, 250, 252, 0.85);
	line-height: 1.7;
	margin: 0;
}

.community-button {
	padding: 14px 24px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.75);
	font-weight: 700;
	cursor: not-allowed;
	position: relative;
	z-index: 1;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
	body {
		padding: 12px;
	}

	.main-content {
		grid-template-columns: 1fr;
	}

	.header h1 {
		font-size: 1.9rem;
	}

	.page-header {
		padding: 10px;
	}

	.nav-link {
		font-size: 0.75rem;
		font-weight: 700;
		padding: 10px 15px;
		border-radius: 10px;
		transition: all 0.2s ease;
	}

	.container {
		padding: 80px 18px 20px;
	}

	.primary-button,
	.secondary-button {
		width: 100%;
	}

	.hero-stats {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.hero-panel {
		display: flex;
		flex-direction: column;
	}

	.community-panel {
		flex-direction: column;
		align-items: flex-start;
	}

	.community-button {
		border-radius: 10px;
	}

	.adoption-panel {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

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

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

	.cta-section {
		max-width: 100%;
		margin: 0 0 24px;
	}

	.left-section {
		padding: 24px 20px;
	}

	/* Mobile: hero-media becomes a single-item sliding carousel */
	.hero-media {
		overflow: hidden;
		position: relative;
	}

	.hero-media-grid {
		display: flex;
		gap: 0px;
		width: 100%;
		transition: transform 600ms ease;
	}

	.hero-media-grid .hero-media-card {
		flex: 0 0 100%;
		min-width: 100%;
		margin: 0;
		border-radius: 10px;
		overflow: hidden;
	}

	.hero-media-card img {
		border-radius: 10px;
		display: block;
		width: 100%;
		height: auto;
	}

	/* hide any scrollbar just in case */
	.hero-media-grid::-webkit-scrollbar {
		display: none;
	}

	.hero-media-grid {
		scrollbar-width: none; /* Firefox */
		-ms-overflow-style: none; /* IE 10+ */
	}

	/* Remove tilt / rotation on mobile for a stable carousel */
	.hero-media-card,
	.hero-media-card:nth-child(1),
	.hero-media-card:nth-child(2),
	.hero-media-card:nth-child(3),
	.hero-media-card:nth-child(4),
	.hero-media-card:nth-child(5),
	.hero-media-card:nth-child(6) {
		transform: none !important;
		transition: none !important;
	}

	.hero-media-card:hover {
		transform: none !important;
		box-shadow: none !important;
	}

	.hero-media-card img {
		transform: none !important;
	}
}
