/* Hide Theme Default Header and Footer */
header:not(.slm-custom-header),
footer:not(.slm-custom-footer),
.wp-block-template-part:not(.slm-custom-header):not(.slm-custom-footer),
.site-header,
.site-footer,
#masthead,
#colophon,
.wp-block-post-title:not(.slm-custom-post-title),
.entry-title,
.entry-header,
.post-header,
.entry-meta,
.post-meta {
	display: none !important;
}

/* Reset and Core Variables */
:root {
	--slm-teal: #0b4c42;
	--slm-teal-light: #0f5c50;
	--slm-teal-glow: rgba(11, 76, 66, 0.15);
	--slm-beige: #faf7f2;
	--slm-offwhite: #fcfbfa;
	--slm-gray: #3d4745;
	--slm-gray-light: #64748b;
	--slm-sage: #e1ece8;
	--slm-sage-dark: #6b8e83;
	--slm-amber: #d97706;
	--slm-amber-hover: #b45309;
	--slm-shadow: 0 10px 30px -10px rgba(11, 76, 66, 0.06), 0 1px 3px rgba(11, 76, 66, 0.02);
	--slm-shadow-hover: 0 20px 40px -15px rgba(11, 76, 66, 0.12), 0 4px 6px -2px rgba(11, 76, 66, 0.04);
	--font-heading: 'Outfit', sans-serif;
	--font-body: 'Inter', sans-serif;
}

body.page-template-slm-homepage,
body.page-template-slm-inner-page {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

.slm-home-body {
	font-family: var(--font-body);
	color: var(--slm-gray);
	background-color: var(--slm-offwhite);
	line-height: 1.6;
	overflow-x: hidden;
}

.slm-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.slm-section {
	padding: 100px 0;
}

/* Custom Scroll Progress Indicator */
.slm-scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--slm-amber) 0%, #fbbf24 100%);
	width: 0%;
	z-index: 1100;
	transition: width 0.1s ease-out;
}

.admin-bar .slm-scroll-progress {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .slm-scroll-progress {
		top: 46px;
	}
}

/* Custom Header styling with shrink & blur */
.slm-custom-header {
	background-color: rgba(250, 247, 242, 0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(225, 236, 232, 0.8);
	padding: 20px 0;
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1000;
	transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-custom-header.slm-header-scrolled {
	padding: 10px 0;
	background-color: rgba(250, 247, 242, 0.88);
	box-shadow: 0 4px 25px rgba(11, 76, 66, 0.05);
	border-bottom: 1px solid rgba(225, 236, 232, 0.4);
}

/* Adjust sticky header position when WP Admin Bar is present */
.admin-bar .slm-custom-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .slm-custom-header {
		top: 46px;
	}
}

.slm-header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.slm-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 800;
	color: var(--slm-teal) !important;
	text-decoration: none;
	letter-spacing: -0.5px;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-logo:hover {
	transform: scale(1.02);
}

.slm-logo svg {
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-logo:hover svg {
	transform: rotate(-10deg) scale(1.1);
}

.slm-nav,
.slm-nav ul,
.slm-nav li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.slm-nav {
	display: flex;
	gap: 32px;
	align-items: center;
}

.slm-nav a {
	position: relative;
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 600;
	color: var(--slm-gray) !important;
	text-decoration: none;
	transition: color 0.3s ease;
	padding: 6px 0;
}

.slm-nav a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--slm-teal);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-nav a:hover {
	color: var(--slm-teal) !important;
}

.slm-nav a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.slm-nav a.slm-active {
	color: var(--slm-teal) !important;
}

.slm-nav a.slm-active::after {
	transform: scaleX(1);
	background-color: var(--slm-amber);
}

.slm-btn-header {
	padding: 10px 22px !important;
	font-size: 14px !important;
	box-shadow: 0 4px 10px rgba(217, 119, 6, 0.15);
}

.slm-mobile-nav-btn {
	display: none !important;
}

.slm-menu-icon {
	display: none;
	font-size: 28px;
	cursor: pointer;
	color: var(--slm-teal);
	transition: transform 0.2s ease;
}

.slm-menu-icon:hover {
	transform: scale(1.1);
}

/* Custom Buttons */
.slm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 99px;
	text-decoration: none;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	cursor: pointer;
	font-family: var(--font-heading);
}

.slm-btn-primary {
	background-color: var(--slm-amber);
	color: #ffffff !important;
	border: 2px solid var(--slm-amber);
}

.slm-btn-primary:hover {
	background-color: var(--slm-amber-hover);
	border-color: var(--slm-amber-hover);
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(217, 119, 6, 0.2);
}

.slm-btn-secondary {
	background-color: transparent;
	color: var(--slm-teal) !important;
	border: 2px solid var(--slm-teal);
}

.slm-btn-secondary:hover {
	background-color: var(--slm-teal);
	color: #ffffff !important;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(11, 76, 66, 0.15);
}

.slm-btn-white {
	background-color: #ffffff;
	color: var(--slm-teal) !important;
	border: 2px solid #ffffff;
}

.slm-btn-white:hover {
	background-color: var(--slm-beige);
	border-color: var(--slm-beige);
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

.slm-section-title {
	font-family: var(--font-heading);
	font-size: 44px;
	font-weight: 800;
	color: var(--slm-teal);
	line-height: 1.2;
	margin: 0 0 20px 0;
	text-align: center;
	letter-spacing: -0.5px;
}

.slm-section-subtitle {
	font-size: 17px;
	color: var(--slm-gray-light);
	max-width: 700px;
	margin: 0 auto 60px auto;
	text-align: center;
	line-height: 1.6;
}

/* 1. Hero Section redesign */
.slm-hero {
	position: relative;
	background: linear-gradient(135deg, rgba(250, 247, 242, 0.94) 0%, rgba(225, 236, 232, 0.88) 100%);
	padding: 240px 0 160px 0; /* Extra top padding to offset the 82px fixed header */
	min-height: 75vh;
	box-sizing: border-box;
	text-align: center;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.slm-hero .slm-container {
	width: 100%;
}


.slm-hero-content {
	max-width: 820px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.slm-hero h1 {
	font-family: var(--font-heading);
	font-size: 60px;
	font-weight: 800;
	color: var(--slm-teal);
	line-height: 1.15;
	margin: 0 0 24px 0;
	letter-spacing: -1px;
	opacity: 0;
	transform: translateY(30px);
	animation: slm-fade-up-hero 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: 0.1s;
}

.slm-hero p {
	font-size: 19px;
	color: var(--slm-gray);
	line-height: 1.6;
	margin: 0 0 44px 0;
	opacity: 0;
	transform: translateY(30px);
	animation: slm-fade-up-hero 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: 0.25s;
}

.slm-hero-btns {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	opacity: 0;
	transform: translateY(30px);
	animation: slm-fade-up-hero 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: 0.4s;
}

/* Hero background floating glow blobs */
.slm-hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(120px);
	opacity: 0.4;
	z-index: 1;
	pointer-events: none;
	animation: slm-float-glow 18s infinite alternate ease-in-out;
}

.slm-hero-glow-1 {
	width: 380px;
	height: 380px;
	background: radial-gradient(circle, var(--slm-amber) 0%, transparent 70%);
	top: -40px;
	left: 8%;
}

.slm-hero-glow-2 {
	width: 440px;
	height: 440px;
	background: radial-gradient(circle, var(--slm-teal) 0%, transparent 70%);
	bottom: -100px;
	right: 8%;
	animation-delay: -9s;
}

@keyframes slm-fade-up-hero {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slm-float-glow {
	0% {
		transform: translate(0, 0) scale(1);
	}

	50% {
		transform: translate(40px, -60px) scale(1.15);
	}

	100% {
		transform: translate(-30px, 30px) scale(0.9);
	}
}

/* 2. Mission Section and Generic Card premium effects */
.slm-mission {
	background-color: var(--slm-beige);
}

.slm-cards-grid-3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.slm-mission-card,
.slm-topic-card,
.slm-featured-card,
.slm-resource-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 45px 35px;
	text-align: center;
	box-shadow: var(--slm-shadow);
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
	border: 1px solid rgba(11, 76, 66, 0.03);
	position: relative;
	overflow: hidden;
}

.slm-mission-card:hover,
.slm-topic-card:hover,
.slm-featured-card:hover,
.slm-resource-card:hover {
	transform: translateY(-8px) scale(1.01) !important;
	box-shadow: var(--slm-shadow-hover) !important;
	border-color: rgba(11, 76, 66, 0.1) !important;
}

.slm-card-icon-wrap {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background-color: var(--slm-sage);
	color: var(--slm-teal);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 28px auto;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-mission-card:hover .slm-card-icon-wrap {
	background-color: var(--slm-teal);
	color: #ffffff;
	transform: scale(1.1) rotate(5deg);
}

.slm-mission-card h3,
.slm-topic-card h3,
.slm-featured-card h3,
.slm-resource-card h3 {
	font-family: var(--font-heading);
	font-size: 21px;
	font-weight: 700;
	color: var(--slm-teal);
	margin: 0 0 14px 0;
	letter-spacing: -0.3px;
}

.slm-mission-card p,
.slm-topic-card p,
.slm-featured-card p,
.slm-resource-card p {
	font-size: 15px;
	color: var(--slm-gray-light);
	margin: 0;
	line-height: 1.6;
}

/* 3. Why This Matters Section */
.slm-why-matters {
	background-color: #ffffff;
}

.slm-why-matters-row {
	display: flex;
	align-items: stretch;
	gap: 60px;
	flex-wrap: wrap;
}

.slm-why-matters-col-left {
	flex: 1.2;
	min-width: 320px;
	box-sizing: border-box;
}

.slm-why-matters-col-right {
	flex: 1;
	min-width: 320px;
	display: flex;
	align-items: stretch;
	box-sizing: border-box;
}

@media (min-width: 769px) {
	.slm-why-matters-col-left {
		position: relative;
		min-height: 100%;
	}

	.slm-scrollable-col {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		overflow-y: auto;
		padding-right: 24px;
		mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
		-webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
	}
}

@media (max-width: 768px) {
	.slm-why-matters-row {
		gap: 40px;
	}

	.slm-scrollable-col {
		position: static;
		max-height: none;
		overflow-y: visible;
		padding-right: 0;
	}
}

.slm-scrollable-col::-webkit-scrollbar {
	width: 6px;
}

.slm-scrollable-col::-webkit-scrollbar-track {
	background: #f1f5f9;
	border-radius: 10px;
}

.slm-scrollable-col::-webkit-scrollbar-thumb {
	background: var(--slm-sage-dark);
	border-radius: 10px;
}

.slm-impact-card {
	background-color: var(--slm-beige);
	border-radius: 20px;
	padding: 45px;
	box-shadow: var(--slm-shadow);
	border-left: 6px solid var(--slm-teal);
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-impact-card:hover {
	transform: scale(1.01) translateY(-2px);
	box-shadow: var(--slm-shadow-hover);
}

.slm-impact-card h3 {
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 700;
	color: var(--slm-teal);
	margin: 0 0 28px 0;
	letter-spacing: -0.3px;
}

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

.slm-impact-list li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 20px;
	font-size: 15.5px;
	color: var(--slm-gray);
	font-weight: 500;
	transition: transform 0.2s ease;
}

.slm-impact-list li:hover {
	transform: translateX(4px);
}

.slm-impact-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 1px;
	color: var(--slm-teal);
	font-weight: 800;
	font-size: 17px;
	transition: color 0.3s ease, transform 0.3s ease;
}

.slm-impact-list li:hover::before {
	color: var(--slm-amber);
	transform: scale(1.2);
}

/* 4. Explore Stories Section */
.slm-explore {
	background-color: var(--slm-beige);
}

.slm-topics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.slm-topic-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: left;
	min-height: 200px;
}

.slm-topic-card h3 {
	font-size: 19px;
	margin: 0 0 10px 0;
	transition: color 0.3s ease;
}

.slm-topic-card:hover h3 {
	color: var(--slm-amber);
}

.slm-topic-card p {
	font-size: 14px;
	margin: 0 0 20px 0;
}

.slm-topic-link {
	color: var(--slm-teal);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-topic-card:hover .slm-topic-link {
	color: var(--slm-amber);
	transform: translateX(6px);
}

/* 5. Featured Stories */
.slm-featured {
	background-color: #ffffff;
}

.slm-featured-card {
	background: var(--slm-beige);
	border-radius: 20px;
	padding: 35px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: left;
}

.slm-featured-card img {
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-featured-card:hover img {
	transform: scale(1.04);
}

.slm-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.slm-badge-state {
	background-color: var(--slm-sage);
	color: var(--slm-teal);
	font-size: 12.5px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 20px;
	font-family: var(--font-heading);
}

.slm-badge-type {
	background-color: rgba(11, 76, 66, 0.08);
	color: var(--slm-teal);
	font-size: 12.5px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 20px;
	font-family: var(--font-heading);
}

.slm-featured-card h3 {
	font-size: 20px;
	line-height: 1.35;
	margin: 0 0 12px 0;
}

.slm-featured-card p {
	font-size: 14.5px;
	color: var(--slm-gray);
	line-height: 1.6;
	margin: 0 0 28px 0;
}

/* 6. How It Works Section */
.slm-how-works {
	background-color: var(--slm-beige);
}

.slm-steps-row {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}

.slm-step-card {
	flex: 1;
	min-width: 220px;
	background-color: #ffffff;
	border-radius: 20px;
	padding: 40px 30px;
	box-shadow: var(--slm-shadow);
	position: relative;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	border: 1px solid rgba(11, 76, 66, 0.03);
}

.slm-step-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--slm-shadow-hover);
	border-color: rgba(11, 76, 66, 0.1);
}

.slm-step-number {
	position: absolute;
	top: -22px;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: var(--slm-teal);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 18px;
	box-shadow: 0 4px 15px rgba(11, 76, 66, 0.25);
	transition: all 0.3s ease;
}

.slm-step-card:hover .slm-step-number {
	background-color: var(--slm-amber);
	box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
	transform: translateX(-50%) scale(1.1);
}

.slm-step-card h3 {
	font-size: 19px;
	margin: 18px 0 10px 0;
}

/* 7. Advocacy Section */
.slm-advocacy {
	background-color: #ffffff;
}

.slm-advocacy-card {
	background-color: var(--slm-beige);
	border-radius: 20px;
	padding: 35px;
	border-top: 4px solid var(--slm-amber);
	box-shadow: var(--slm-shadow);
	text-align: left;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-advocacy-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--slm-shadow-hover);
}

.slm-advocacy-card h3 {
	font-size: 19px;
	margin: 0 0 12px 0;
}

.slm-advocacy-card p {
	font-size: 14.5px;
	line-height: 1.6;
}

/* 8. Share Your Story CTA */
.slm-share-cta {
	background: linear-gradient(135deg, var(--slm-teal) 0%, var(--slm-teal-light) 100%);
	color: #ffffff;
	text-align: center;
	padding: 100px 24px;
	position: relative;
	overflow: hidden;
}

.slm-share-cta::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -30%;
	width: 60%;
	height: 200%;
	background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, transparent 60%);
	z-index: 1;
	pointer-events: none;
}

.slm-share-cta-content {
	max-width: 720px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.slm-share-cta h2 {
	font-family: var(--font-heading);
	font-size: 42px;
	font-weight: 800;
	margin: 0 0 20px 0;
	color: #ffffff;
	letter-spacing: -0.5px;
}

.slm-share-cta p {
	font-size: 18px;
	margin: 0 0 40px 0;
	color: var(--slm-sage);
	line-height: 1.6;
}

/* 9. Resources Preview */
.slm-resources {
	background-color: var(--slm-beige);
}

.slm-resource-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 35px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: left;
}

.slm-resource-icon {
	font-size: 36px;
	margin-bottom: 24px;
	display: inline-block;
	transition: transform 0.3s ease;
}

.slm-resource-card:hover .slm-resource-icon {
	transform: scale(1.2) rotate(-10deg);
}

.slm-resource-card h3 {
	font-size: 19px;
	margin: 0 0 12px 0;
}

.slm-resource-card p {
	font-size: 14.5px;
	margin: 0 0 24px 0;
}

.slm-resource-link {
	color: var(--slm-teal);
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.slm-resource-card:hover .slm-resource-link {
	color: var(--slm-amber);
	text-decoration: underline;
}

/* 10. Trust and Safety */
.slm-safety {
	background-color: #ffffff;
	text-align: center;
}

.slm-safety-box {
	max-width: 820px;
	margin: 0 auto;
	background-color: var(--slm-beige);
	border-radius: 24px;
	padding: 50px;
	box-shadow: var(--slm-shadow);
	border: 1px solid var(--slm-sage);
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-safety-box:hover {
	transform: scale(1.01);
	box-shadow: var(--slm-shadow-hover);
}

.slm-safety-box h2 {
	font-family: var(--font-heading);
	font-size: 30px;
	font-weight: 800;
	color: var(--slm-teal);
	margin: 0 0 20px 0;
	letter-spacing: -0.3px;
}

.slm-safety-box p {
	font-size: 16px;
	color: var(--slm-gray);
	line-height: 1.7;
	margin: 0;
}

/* 11. Final CTA */
.slm-final-cta {
	background-color: var(--slm-beige);
	text-align: center;
	padding: 120px 24px;
}

.slm-final-cta-content {
	max-width: 720px;
	margin: 0 auto;
}

.slm-final-cta h2 {
	font-family: var(--font-heading);
	font-size: 52px;
	font-weight: 800;
	color: var(--slm-teal);
	margin: 0 0 20px 0;
	letter-spacing: -1px;
	line-height: 1.15;
}

.slm-final-cta p {
	font-size: 19px;
	color: var(--slm-gray);
	margin: 0 0 44px 0;
	line-height: 1.6;
}

.slm-disclaimer {
	margin-top: 80px;
	font-size: 13px;
	color: var(--slm-gray-light);
	line-height: 1.6;
	border-top: 1px solid var(--slm-sage-dark);
	padding-top: 24px;
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
}

/* Scroll Reveal Animations */
.slm-reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-reveal-left {
	opacity: 0;
	transform: translateX(-30px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-reveal-right {
	opacity: 0;
	transform: translateX(30px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-reveal-scale {
	opacity: 0;
	transform: scale(0.96);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slm-revealed {
	opacity: 1 !important;
	transform: translate(0) scale(1) !important;
}

/* Scroll reveal staggered classes */
.slm-stagger-1 {
	transition-delay: 0.1s !important;
}

.slm-stagger-2 {
	transition-delay: 0.2s !important;
}

.slm-stagger-3 {
	transition-delay: 0.3s !important;
}

.slm-stagger-4 {
	transition-delay: 0.4s !important;
}

/* Custom Footer */
.slm-custom-footer {
	background-color: var(--slm-teal);
	color: #ffffff;
	padding: 80px 0 40px 0;
}

.slm-footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
}

.slm-footer-col {
	display: flex;
	flex-direction: column;
}

.slm-logo-footer {
	font-size: 24px;
}

/* Responsive */
@media (max-width: 1200px) and (min-width: 1025px) {
	.slm-nav {
		gap: 20px;
	}
}

@media (max-width: 1024px) {
	.slm-custom-header {
		padding: 16px 0;
	}

	.slm-nav {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: var(--slm-beige);
		padding: 24px;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
		border-top: 1px solid #e1ece8;
		gap: 15px;
		animation: slmMenuFadeIn 0.3s ease forwards;
		box-sizing: border-box;
	}

	.slm-menu-icon {
		display: block;
	}

	#slm-menu-toggle:checked~.slm-nav {
		display: flex;
	}

	.slm-header-actions {
		display: none !important;
	}

	.slm-mobile-nav-btn {
		display: block !important;
		width: 100%;
		margin-top: 10px;
	}

	.slm-mobile-nav-btn .slm-btn {
		display: flex;
		width: 100%;
		box-sizing: border-box;
	}
}

@media (max-width: 768px) {
	.slm-hero h1 {
		font-size: 40px;
	}

	.slm-section-title {
		font-size: 32px;
	}

	.slm-why-matters h2 {
		font-size: 32px;
	}

	.slm-two-col {
		gap: 40px;
	}

	.slm-section {
		padding: 70px 0;
	}
}

@media (max-width: 480px) {
	.slm-hero-btns {
		flex-direction: column;
		gap: 12px;
		width: 100%;
	}

	.slm-hero-btns .slm-btn {
		display: flex;
		width: 100%;
		box-sizing: border-box;
	}
}

@keyframes slmMenuFadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

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

.slm-homepage-custom-content {
	padding: 60px 0;
	background-color: var(--slm-offwhite);
	position: relative;
	z-index: 10;
	border-bottom: 1px solid rgba(225, 236, 232, 0.8);
}

/* Inner Page Specific Layout Styles */
.slm-page-banner {
	background-color: var(--slm-beige);
	padding: 60px 0;
	text-align: center;
	border-bottom: 1px solid #e1ece8;
}

.slm-page-banner h1 {
	font-family: var(--font-heading);
	font-size: 42px;
	font-weight: 800;
	color: var(--slm-teal);
	margin: 0;
}

.slm-main-content {
	padding: 60px 0;
	min-height: 400px;
}

/* =========================================
   Elementor Full Width Overrides
   ========================================= */
body.page-template-slm-homepage,
body.page-template-slm-inner-page {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* Force block themes / classic themes content container to stretch full-width for our custom templates */
.page-template-slm-homepage .entry-content,
.page-template-slm-inner-page .entry-content,
.page-template-slm-homepage .post-content,
.page-template-slm-inner-page .post-content,
.page-template-slm-homepage .site-content,
.page-template-slm-inner-page .site-content {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* =========================================
   ELEMENTOR BOXED SECTION FIX
   Forces all Elementor sections, containers,
   columns & widget wrappers to be full-width
   on our custom SLM page templates.
   Fixes the "half-width box" layout on hosted.
   ========================================= */

/* 1. Reset section-level constraints */
body.page-template-slm-homepage .elementor-section,
body.page-template-slm-inner-page .elementor-section,
body.page-template-slm-homepage .e-con,
body.page-template-slm-inner-page .e-con {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* 2. Override Elementor boxed container max-width */
body.page-template-slm-homepage .elementor-section>.elementor-container,
body.page-template-slm-inner-page .elementor-section>.elementor-container,
body.page-template-slm-homepage .elementor-section-boxed>.elementor-container,
body.page-template-slm-inner-page .elementor-section-boxed>.elementor-container {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* 3. Reset column padding */
body.page-template-slm-homepage .elementor-column,
body.page-template-slm-inner-page .elementor-column {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* 4. Reset column inner wrap padding */
body.page-template-slm-homepage .elementor-column>.elementor-element-populated,
body.page-template-slm-inner-page .elementor-column>.elementor-element-populated,
body.page-template-slm-homepage .elementor-column-gap-default>.elementor-column>.elementor-element-populated,
body.page-template-slm-inner-page .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
	padding: 0 !important;
}

/* 5. Reset widget container padding */
body.page-template-slm-homepage .elementor-widget-container,
body.page-template-slm-inner-page .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
}

/* 6. Fix the wp global content-size constraint from Gutenberg/FSE themes */
body.page-template-slm-homepage .is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body.page-template-slm-inner-page .is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 100% !important;
}

/* 7. Fix Hello Elementor theme specific wrappers */
body.page-template-slm-homepage #page,
body.page-template-slm-inner-page #page,
body.page-template-slm-homepage .site,
body.page-template-slm-inner-page .site,
body.page-template-slm-homepage #content,
body.page-template-slm-inner-page #content,
body.page-template-slm-homepage .site-inner,
body.page-template-slm-inner-page .site-inner {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* 8. Remove any Elementor section top/bottom padding that creates gaps */
body.page-template-slm-homepage .elementor-top-section,
body.page-template-slm-inner-page .elementor-top-section {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* 9. Ensure slm-home-body wrapper is truly full width */
.slm-home-body {
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: hidden;
}

/* 10. Fix for Elementor flex/grid containers (Elementor 3.x+) */
body.page-template-slm-homepage .e-con-inner,
body.page-template-slm-inner-page .e-con-inner {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
}

/* 11. Collapse Elementor section & container wrapping the sticky header to prevent layout gaps */
.elementor-section:has(.slm-custom-header),
.e-con:has(.slm-custom-header),
.elementor-column:has(.slm-custom-header),
.elementor-widget-slm_header {
	height: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* 12. Bulletproof full-width stretch for Elementor containers containing SLM widgets */
.elementor-section:has([class^="slm-"]),
.e-con:has([class^="slm-"]),
.elementor-container:has([class^="slm-"]),
.elementor-column:has([class^="slm-"]),
.elementor-widget-wrap:has([class^="slm-"]),
.elementor-widget-container:has([class^="slm-"]) {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* 13. Mobile spacing fixes for custom hero widget */
@media (max-width: 768px) {
	.slm-hero {
		padding: 160px 0 80px 0 !important;
		min-height: auto !important;
	}
}