/**
 * Devi Foundation Content — Frontend Styles
 * Matches the Stitch AI-generated design for the Programs page.
 * Loaded only on program/event templates and shortcode output.
 *
 * @package DeviFoundationContent
 */

/* ──────────────────────────────────────────
 * CSS Custom Properties
 * ────────────────────────────────────────── */
:root {
	--df-primary:        #E8491D;
	--df-primary-dark:   #c73a14;
	--df-accent:         #E8913A;
	--df-text:           #2C2C2C;
	--df-text-light:     #555;
	--df-text-muted:     #777;
	--df-bg:             #fafafa;
	--df-card-bg:        #fff;
	--df-border:         #e5e5e5;
	--df-radius:         8px;
	--df-shadow:         0 2px 12px rgba(0, 0, 0, 0.08);
	--df-shadow-hover:   0 8px 28px rgba(0, 0, 0, 0.14);
	--df-transition:     0.3s ease;
	--df-container:      1200px;
}

/* ──────────────────────────────────────────
 * Container
 * ────────────────────────────────────────── */
.df-container {
	max-width: var(--df-container);
	margin: 0 auto;
	padding: 0 24px;
}

/* ──────────────────────────────────────────
 * Hero Banner
 * ────────────────────────────────────────── */
.df-hero {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.df-programs-page h1, .df-programs-page h2, .df-programs-page h3, .df-programs-page h4, .df-programs-page h5, .df-programs-page h6 {
	font-family: 'Quicksand', sans-serif !important;
}

.df-programs-page p, .df-programs-page a, .df-programs-page span, .df-programs-page div {
	font-family: 'DM Sans', sans-serif;
}

/* ──────────────────────────────────────────
 * Section Headers
 * ────────────────────────────────────────── */
.df-section {
	padding: 115px 0;
}

.df-section--programs-grid {
	background: #fff;
}

.df-section__header {
	text-align: center;
	margin-bottom: 48px;
}

.df-section__accent {
	display: inline-block;
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--df-primary);
	margin-bottom: 10px;
}

.df-section__title {
	font-size: 3em;
	font-weight: 700;
	color: var(--df-text);
	margin: 0 0 12px;
	line-height: 1.2;
}

.df-section__desc {
	font-size: 1.05em;
	color: var(--df-text-light);
	line-height: 1.7;
	max-width: 600px;
	margin: 0 auto;
}

/* ──────────────────────────────────────────
 * Grid System
 * ────────────────────────────────────────── */
.df-grid {
	display: grid;
	gap: 28px;
}

.df-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.df-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.df-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
	.df-grid--cols-3,
	.df-grid--cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.df-grid--cols-2,
	.df-grid--cols-3,
	.df-grid--cols-4 {
		grid-template-columns: 1fr;
	}
}

/* ──────────────────────────────────────────
 * Card Component
 * ────────────────────────────────────────── */
.df-card {
	background: var(--df-card-bg);
	border-radius: var(--df-radius);
	box-shadow: var(--df-shadow);
	overflow: hidden;
	transition: box-shadow var(--df-transition), transform var(--df-transition);
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0, 0, 0, 0.04);
}

.df-card:hover {
	box-shadow: var(--df-shadow-hover);
	transform: translateY(-4px);
}

.df-card__image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.df-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--df-transition);
}

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

.df-card__image--placeholder .df-card__image-fallback {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--df-primary), var(--df-accent));
	display: flex;
	align-items: center;
	justify-content: center;
}

.df-card__image-fallback .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: rgba(255, 255, 255, 0.6);
}

.df-card__body {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.df-card__icon {
	font-size: 28px;
	color: var(--df-primary);
	margin-bottom: 10px;
	line-height: 1;
}

.df-card__icon span {
	font-size: inherit;
	color: inherit;
}

.df-card__title {
	margin: 0 0 6px;
	font-size: 1.2em;
	font-weight: 700;
	line-height: 1.3;
	color: var(--df-text);
}

.df-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color var(--df-transition);
}

.df-card__title a:hover {
	color: var(--df-primary);
}

.df-card__subtitle {
	margin: 0 0 10px;
	font-size: 0.82em;
	color: var(--df-text-muted);
	font-weight: 600;
	letter-spacing: 0.01em;
}

.df-card__excerpt {
	margin: 0 0 16px;
	font-size: 0.92em;
	line-height: 1.65;
	color: var(--df-text-light);
	flex: 1;
}

/* Read More link style (instead of full button) */
.df-card__read-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.88em;
	font-weight: 700;
	color: var(--df-primary);
	text-decoration: none;
	transition: color var(--df-transition), gap var(--df-transition);
	margin-top: auto;
}

.df-card__read-more:hover {
	color: var(--df-primary-dark);
	gap: 8px;
}

/* Full button CTA (kept for events and shortcodes) */
.df-card__cta {
	display: inline-block;
	padding: 10px 24px;
	background: var(--df-primary);
	color: #fff;
	text-decoration: none;
	border-radius: var(--df-radius);
	font-size: 0.88em;
	font-weight: 700;
	letter-spacing: 0.02em;
	transition: background var(--df-transition), transform var(--df-transition);
	align-self: flex-start;
}

.df-card__cta:hover {
	background: var(--df-primary-dark);
	color: #fff;
	transform: translateY(-2px);
}

.df-card__meta {
	font-size: 0.82em;
	color: var(--df-text-muted);
	margin-bottom: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.df-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.df-card__meta-item .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	color: var(--df-primary);
}

/* ──────────────────────────────────────────
 * Past / Upcoming Event Badges
 * ────────────────────────────────────────── */
.df-card--past {
	opacity: 0.7;
}

.df-card__badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 0.72em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 8px;
}

.df-card__badge--past {
	background: #f0f0f1;
	color: #646970;
}

.df-card__badge--upcoming {
	background: #dff0d8;
	color: #3c763d;
}

/* ──────────────────────────────────────────
 * Impact Stats Bar
 * ────────────────────────────────────────── */
.df-stats {
	background: linear-gradient(135deg, var(--df-primary) 0%, #d43a10 100%);
	padding: 115px 0;
}

.df-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
}

.df-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.df-stats__icon {
	font-size: 32px;
	width: 32px;
	height: 32px;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 8px;
}

.df-stats__number {
	font-size: 2.6em;
	font-weight: 800;
	color: #fff;
	line-height: 1.1;
}

.df-stats__label {
	font-size: 0.92em;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 500;
	letter-spacing: 0.02em;
}

@media (max-width: 768px) {
	.df-stats__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}
	.df-stats__number {
		font-size: 2em;
	}
}

@media (max-width: 480px) {
	.df-stats__grid {
		grid-template-columns: 1fr;
	}
}

/* ──────────────────────────────────────────
 * Interactive Section (Ways to Help)
 * ────────────────────────────────────────── */
.df-interact {
	background: #fdfdfd;
	padding: 115px 0;
}
.df-interact__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.df-interact__card {
	background: #fff;
	border: 1px solid rgba(0,0,0,0.05);
	border-radius: var(--df-radius);
	padding: 48px 32px;
	text-align: center;
	transition: transform var(--df-transition), box-shadow var(--df-transition);
	box-shadow: 0 10px 30px rgba(0,0,0,0.02);
	position: relative;
	overflow: hidden;
}
.df-interact__card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: var(--df-primary);
	transform: scaleX(0);
	transition: transform var(--df-transition);
	transform-origin: left;
}
.df-interact__card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.df-interact__card:hover::before {
	transform: scaleX(1);
}
.df-interact__icon {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: var(--df-primary);
	margin-bottom: 24px;
	transition: transform var(--df-transition);
}
.df-interact__card:hover .df-interact__icon {
	transform: scale(1.1) rotate(5deg);
}
.df-interact__title {
	font-size: 1.5em;
	font-weight: 700;
	color: var(--df-text);
	margin: 0 0 16px;
}
.df-interact__desc {
	color: var(--df-text-light);
	line-height: 1.6;
	margin: 0 0 24px;
}
.df-interact__btn {
	display: inline-block;
	color: var(--df-primary);
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.9em;
}
.df-interact__btn:hover {
	color: var(--df-accent);
}
@media (max-width: 768px) {
	.df-interact__grid {
		grid-template-columns: 1fr;
	}
}

/* ──────────────────────────────────────────
 * Call to Action Section
 * ────────────────────────────────────────── */
.df-cta {
	position: relative;
	min-height: 340px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #2a1108;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.df-cta__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(20, 8, 3, 0.88) 0%, rgba(232, 73, 29, 0.45) 100%);
	z-index: 1;
}

.df-cta__content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 115px 32px;
	max-width: 640px;
}

.df-cta__title {
	font-size: 3em;
	font-weight: 700;
	color: #fff;
	margin: 0 0 14px;
	line-height: 1.2;
}

.df-cta__subtitle {
	font-size: 1.05em;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.6;
	margin: 0 0 28px;
}

.df-cta__button {
	display: inline-block;
	padding: 14px 36px;
	background: var(--df-primary);
	color: #fff;
	text-decoration: none;
	border-radius: var(--df-radius);
	font-size: 1em;
	font-weight: 700;
	letter-spacing: 0.03em;
	transition: background var(--df-transition), transform var(--df-transition), box-shadow var(--df-transition);
	box-shadow: 0 4px 16px rgba(232, 73, 29, 0.35);
}

.df-cta__button:hover {
	background: var(--df-accent);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(232, 73, 29, 0.5);
}

@media (max-width: 768px) {
	.df-cta {
		min-height: 280px;
	}
	.df-cta__content {
		padding: 40px 20px;
	}
	.df-cta__title {
		font-size: 1.5em;
	}
}

/* ──────────────────────────────────────────
 * Single Post — Fallback Templates
 * ────────────────────────────────────────── */
.df-single {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 20px;
}

.df-single__header {
	margin-bottom: 32px;
}

.df-single__title {
	font-size: 2em;
	font-weight: 800;
	color: var(--df-text);
	margin: 0 0 8px;
	line-height: 1.2;
}

.df-single__subtitle {
	font-size: 1.1em;
	color: var(--df-text-light);
	margin: 0 0 16px;
}

.df-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: 0.92em;
	color: var(--df-text-light);
	padding-bottom: 20px;
	border-bottom: 1px solid var(--df-border);
}

.df-single__featured-image {
	margin-bottom: 32px;
	border-radius: var(--df-radius);
	overflow: hidden;
}

.df-single__featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

.df-single__content {
	font-size: 1em;
	line-height: 1.8;
	color: var(--df-text);
	margin-bottom: 32px;
}

.df-single__content h2,
.df-single__content h3,
.df-single__content h4 {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

/* ──────────────────────────────────────────
 * Highlights List
 * ────────────────────────────────────────── */
.df-highlights-list {
	list-style: none;
	padding: 0;
	margin: 16px 0;
}

.df-highlights-list li {
	position: relative;
	padding: 6px 0 6px 28px;
	line-height: 1.5;
	color: var(--df-text);
}

.df-highlights-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--df-primary);
	font-weight: 700;
	font-size: 1.1em;
}

/* ──────────────────────────────────────────
 * Gallery
 * ────────────────────────────────────────── */
.df-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
	margin: 24px 0;
}

.df-gallery-item {
	border-radius: var(--df-radius);
	overflow: hidden;
	display: block;
	transition: transform var(--df-transition);
}

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

.df-gallery-image {
	width: 100%;
	height: auto;
	display: block;
}

/* ──────────────────────────────────────────
 * Archive — Fallback (Events, Taxonomy)
 * ────────────────────────────────────────── */
.df-archive {
	max-width: var(--df-container);
	margin: 0 auto;
	padding: 40px 20px;
}

.df-archive__header {
	margin-bottom: 32px;
}

.df-archive__title {
	font-size: 1.8em;
	font-weight: 800;
	color: var(--df-text);
	margin: 0 0 8px;
}

.df-archive__description {
	font-size: 1em;
	color: var(--df-text-light);
	line-height: 1.6;
	max-width: 680px;
}

/* ──────────────────────────────────────────
 * No Results
 * ────────────────────────────────────────── */
.df-no-results {
	text-align: center;
	color: var(--df-text-muted);
	padding: 48px 20px;
	font-size: 1.05em;
}

/* ──────────────────────────────────────────
 * Pagination
 * ────────────────────────────────────────── */
.df-pagination {
	margin-top: 48px;
	text-align: center;
}

.df-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 3px;
	border-radius: var(--df-radius);
	text-decoration: none;
	color: var(--df-text);
	background: var(--df-card-bg);
	border: 1px solid var(--df-border);
	transition: all var(--df-transition);
	font-weight: 600;
}

.df-pagination .page-numbers.current,
.df-pagination .page-numbers:hover {
	background: var(--df-primary);
	color: #fff;
	border-color: var(--df-primary);
}

/* ──────────────────────────────────────────
 * Single Program Layout
 * ────────────────────────────────────────── */
.df-single-program {
	font-family: 'DM Sans', sans-serif;
	color: #444;
	line-height: 1.8;
}
.df-single-program h1, .df-single-program h2, .df-single-program h3, .df-single-program h4, .df-single-program h5, .df-single-program h6 {
	font-family: 'Quicksand', sans-serif;
	color: #111111;
	font-weight: 700;
	margin-top: 0;
}
.df-single-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	color: #fff;
	text-align: center;
	padding: 180px 32px 160px;
}
.df-single-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(17,17,17,0.7) 0%, rgba(17,17,17,0.4) 100%);
	z-index: 1;
}
.df-single-hero__content {
	position: relative;
	z-index: 2;
	max-width: 1000px;
	margin: 0 auto;
}
.df-single-hero__breadcrumbs {
	font-size: 0.95em;
	margin-bottom: 32px;
	color: rgba(255,255,255,0.8);
	font-family: 'DM Sans', sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.df-single-hero__breadcrumbs a {
	color: #fff;
	text-decoration: none;
	transition: color 0.3s ease;
}
.df-single-hero__breadcrumbs a:hover {
	color: #f74f22;
}
.df-single-hero__title {
	font-size: 4.5em;
	font-weight: 800;
	color: #fff !important;
	margin: 0 0 24px;
	line-height: 1.15;
	text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.df-single-hero__subtitle {
	font-size: 1.3em;
	font-weight: 500;
	color: #fff;
	margin: 0;
	opacity: 0.9;
}
.df-single-main {
	padding: 100px 0;
}
.df-single-main__grid {
	display: grid;
	grid-template-columns: 7fr 3fr;
	gap: 80px;
	align-items: start;
}
.df-single-main__text {
	font-size: 1.15em;
	margin-bottom: 60px;
}
.df-single-main__text h2, .df-single-main__text h3 {
	margin-top: 48px;
	margin-bottom: 24px;
	color: #111111;
}
.df-single-main__text p {
	margin-bottom: 24px;
}
.df-single-program__gallery-title {
	font-size: 2.2em;
	margin-bottom: 32px;
}
.df-single-program__gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.df-single-program__gallery-item {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.df-single-program__gallery-item img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	transition: all 0.4s ease;
}
.df-single-program__gallery-item:hover img {
	transform: scale(1.08);
}
.df-single-program__gallery-item:hover {
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.df-sidebar-card {
	background: #fff;
	border: none;
	border-radius: 12px;
	padding: 40px;
	margin-bottom: 40px;
	box-shadow: 0 15px 50px rgba(0,0,0,0.06);
	position: sticky;
	top: 40px;
}
.df-sidebar-card__title {
	font-size: 1.6em;
	border-bottom: 3px solid #f74f22;
	padding-bottom: 16px;
	margin-bottom: 32px;
	display: inline-block;
	color: #111111;
}
.df-progress {
	margin-bottom: 40px;
}
.df-progress__stats {
	display: flex;
	justify-content: space-between;
	font-weight: 700;
	margin-bottom: 16px;
	font-size: 1.2em;
}
.df-progress__raised {
	color: #f74f22;
	font-size: 1.3em;
}
.df-progress__goal {
	color: #666;
}
.df-progress__bar {
	background: #f0f0f0;
	height: 14px;
	border-radius: 7px;
	overflow: hidden;
}
.df-progress__fill {
	background: #f74f22;
	height: 100%;
	border-radius: 7px;
	transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.df-btn {
	display: inline-block;
	text-align: center;
	padding: 18px 28px;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	font-family: 'Quicksand', sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
}
.df-btn--primary {
	background: #f74f22;
	color: #fff !important;
	border: 2px solid #f74f22;
}
.df-btn--primary:hover {
	background: #2c2c2c;
	border-color: #2c2c2c;
	color: #fff !important;
	box-shadow: 0 10px 20px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}
.df-btn--full {
	display: block;
	width: 100%;
	box-sizing: border-box;
}
.df-sidebar-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.df-sidebar-list li {
	display: flex;
	gap: 20px;
	margin-bottom: 28px;
	align-items: flex-start;
}
.df-sidebar-list li:last-child {
	margin-bottom: 0;
}
.df-sidebar-list .dashicons {
	color: #f74f22;
	font-size: 28px;
	width: 28px;
	height: 28px;
	margin-top: 2px;
	flex-shrink: 0;
}
.df-sidebar-list-content {
	display: flex;
	flex-direction: column;
}
.df-sidebar-list-label {
	font-size: 0.9em;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}
.df-sidebar-list-value {
	font-weight: 700;
	color: #111111;
	font-size: 1.1em;
}
@media (max-width: 980px) {
	.df-single-main__grid {
		grid-template-columns: 1fr;
		gap: 60px;
	}
	.df-sidebar-card {
		position: static;
	}
	.df-single-program__gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.df-single-hero__title {
		font-size: 3.5em;
	}
}
@media (max-width: 480px) {
	.df-single-program__gallery-grid {
		grid-template-columns: 1fr;
	}
	.df-single-hero {
		padding: 120px 20px 100px;
	}
	.df-single-hero__title {
		font-size: 2.5em;
	}
}

/* ──────────────────────────────────────────
 * Contact Page Layout (Stitch Translation)
 * ────────────────────────────────────────── */
.df-stitch-contact-page {
	font-family: 'DM Sans', sans-serif;
	background-color: #FAFAFA;
	color: #2C2C2C;
	-webkit-font-smoothing: antialiased;
}

.df-stitch-hero {
	position: relative;
	width: 100%;
	height: 60vh;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.df-stitch-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.df-stitch-hero__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 10;
}

.df-stitch-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.df-stitch-hero__content {
	position: relative;
	z-index: 20;
	text-align: center;
	padding: 0 24px;
	max-width: 896px;
	margin: 0 auto;
}

.df-stitch-hero__title {
	font-family: 'Quicksand', sans-serif;
	font-size: 4.5rem;
	font-weight: 800;
	color: #ffffff !important;
	margin-bottom: 16px;
	letter-spacing: -0.025em;
	filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
	line-height: 1;
}

.df-stitch-hero__subtitle {
	font-size: 1.25rem;
	color: #e5e5e5;
	max-width: 672px;
	margin: 0 auto;
	font-weight: 300;
	line-height: 1.625;
}

.df-stitch-main {
	position: relative;
	z-index: 30;
	margin-top: -96px;
	padding: 0 24px 96px 24px;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

.df-stitch-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 48px;
}

.df-stitch-cards {
	grid-column: span 2 / span 2;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.df-stitch-glass-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 32px;
	border-radius: 12px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.df-stitch-glass-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.df-stitch-card-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	background-color: #fff7ed;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #E8491D;
}

.df-stitch-card-icon .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
}

.df-stitch-card-text h3 {
	font-family: 'Quicksand', sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: #2C2C2C;
	margin: 0 0 4px 0;
}

.df-stitch-card-text p {
	color: #555555;
	font-size: 0.875rem;
	margin: 0 0 8px 0;
	line-height: 1.625;
}

.df-stitch-card-text a, .df-stitch-card-text address {
	color: #E8491D;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s ease-in-out;
	font-style: normal;
	font-size: 0.875rem;
	line-height: 1.625;
}

.df-stitch-card-text a:hover {
	color: #E8913A;
}

.df-stitch-card-text address {
	color: #2C2C2C;
	font-weight: 500;
}

.df-stitch-form-container {
	grid-column: span 3 / span 3;
	background-color: #ffffff;
	padding: 48px;
	border-radius: 12px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	border: 1px solid #f5f5f5;
}

.df-stitch-form-header {
	margin-bottom: 32px;
}

.df-stitch-form-header h2 {
	font-family: 'Quicksand', sans-serif;
	font-size: 1.875rem;
	font-weight: 700;
	color: #2C2C2C;
	margin: 0 0 12px 0;
}

.df-stitch-form-header p {
	color: #555555;
	margin: 0;
}

.df-stitch-form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 24px;
}

.df-stitch-form-group {
	margin-bottom: 24px;
}

.df-stitch-form-group label {
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	color: #2C2C2C;
	margin-bottom: 8px;
}

.df-stitch-form-group input, 
.df-stitch-form-group textarea,
.df-stitch-form-container input:not([type="submit"]),
.df-stitch-form-container textarea {
	width: 100%;
	padding: 12px 16px;
	border-radius: 8px;
	border: 1px solid #e5e5e5;
	background-color: #fafafa;
	font-family: 'DM Sans', sans-serif;
	color: #2C2C2C;
	transition: box-shadow 0.15s ease-in-out, border-color 0.15s ease-in-out;
	box-sizing: border-box;
}

.df-stitch-form-group input:focus, 
.df-stitch-form-group textarea:focus,
.df-stitch-form-container input:focus,
.df-stitch-form-container textarea:focus {
	outline: none;
	border-color: #E8491D;
	box-shadow: 0 0 0 3px rgba(232, 73, 29, 0.2);
}

.df-stitch-form-group textarea {
	resize: none;
}

.df-stitch-form-submit {
	padding-top: 8px;
}

.df-stitch-form-submit button,
.df-stitch-form-container input[type="submit"] {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	padding: 16px 32px;
	background-color: #E8491D;
	color: #ffffff !important;
	border: none;
	border-radius: 8px;
	font-family: 'Quicksand', sans-serif;
	font-weight: 700;
	font-size: 1.125rem;
	cursor: pointer;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	transition: all 0.15s ease-in-out;
}

.df-stitch-form-submit button:hover,
.df-stitch-form-container input[type="submit"]:hover {
	background-color: #E8913A;
	transform: scale(0.98);
}

.df-stitch-form-submit button .dashicons {
	transition: transform 0.15s ease-in-out;
}

.df-stitch-form-submit button:hover .dashicons {
	transform: translateX(4px);
}

@media (max-width: 1024px) {
	.df-stitch-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.df-stitch-cards {
		grid-column: span 1 / span 1;
	}
	.df-stitch-form-container {
		grid-column: span 1 / span 1;
	}
}

@media (max-width: 768px) {
	.df-stitch-hero__title {
		font-size: 3rem;
	}
	.df-stitch-hero__subtitle {
		font-size: 1.125rem;
	}
	.df-stitch-form-row {
		grid-template-columns: 1fr;
	}
	.df-stitch-form-container {
		padding: 32px;
	}
	.df-stitch-form-submit button {
		width: 100%;
	}
}
