/* UI Improvements - Red, Blue, Yellow Color Scheme with Background Images - Updated */
:root {
	/* Primary Colors - Red, Blue, Yellow */
	--red: #DC2626;
	--red-dark: #B91C1C;
	--red-light: #FEE2E2;
	--blue: #2563EB;
	--blue-dark: #1D4ED8;
	--blue-light: #DBEAFE;
	--yellow: #FBBF24;
	--yellow-dark: #F59E0B;
	--yellow-light: #FEF3C7;
	
	/* Brand Colors */
	--brand: var(--blue);
	--brand-dark: var(--blue-dark);
	--accent-red: var(--red);
	--accent-yellow: var(--yellow);
	
	/* Text Colors */
	--text: #1f2937;
	--muted: #6b7280;
	
	/* Background Colors */
	--bg: #ffffff;
	--surface: #f8fafc;
	--border: #e5e7eb;
	
	/* Background Image - Note: CSS variables in url() may not work in all browsers */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
}

/* Respect safe areas on modern phones (notches, rounded corners) */
@supports (padding: max(0px)) {
	body {
		padding-left: max(0px, env(safe-area-inset-left));
		padding-right: max(0px, env(safe-area-inset-right));
	}
}

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px;
}

/* Header */
.site-header { 
	position: sticky; 
	top: 0; 
	z-index: 100; 
	background: rgba(255, 255, 255, 0.98); 
	backdrop-filter: blur(10px);
	border-bottom: 2px solid var(--blue-light);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.header-container { 
	display: flex; 
	align-items: center; 
	justify-content: space-between; 
	gap: 20px; 
	padding: 12px 16px;
	flex-wrap: nowrap;
}
.brand { 
	display: inline-flex; 
	align-items: center; 
	gap: 12px; 
	text-decoration: none; 
	color: inherit;
	flex-shrink: 0;
	min-width: 0;
}
.brand-logo { 
	width: 44px; 
	height: 44px; 
	object-fit: cover; 
	border-radius: 8px; 
	border: 2px solid var(--blue-light);
	flex-shrink: 0;
}
.brand-text { 
	display: flex; 
	flex-direction: column;
	min-width: 0;
}
.brand-name { 
	font-weight: 600; 
	color: var(--blue);
	font-size: 16px;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.brand-tagline { 
	font-size: 11px; 
	color: var(--muted); 
	margin-top: -2px;
	white-space: nowrap;
}

.nav-toggle { 
	display: none; 
	background: transparent; 
	border: none; 
	padding: 8px; 
	cursor: pointer;
	flex-shrink: 0;
}
.nav-toggle .bar { 
	display: block; 
	width: 22px; 
	height: 2px; 
	background: var(--text); 
	margin: 5px 0; 
	transition: transform .2s, opacity .2s; 
}
.nav-toggle:focus { 
	outline: 2px solid var(--brand); 
	outline-offset: 2px; 
}

.primary-nav { 
	flex: 1;
	min-width: 0;
	display: flex;
	justify-content: flex-end;
}
.primary-nav ul { 
	list-style: none; 
	display: flex; 
	gap: 12px; 
	margin: 0; 
	padding: 0; 
	align-items: center;
	flex-wrap: nowrap;
}
.primary-nav li {
	flex-shrink: 0;
}
.primary-nav a { 
	text-decoration: none; 
	color: var(--text); 
	padding: 8px 12px; 
	border-radius: 8px; 
	transition: all .2s; 
	font-weight: 500;
	font-size: 14px;
	white-space: nowrap;
	display: block;
}
.primary-nav a:hover { 
	background: var(--blue-light); 
	color: var(--blue); 
}
.primary-nav li:last-child {
	margin-left: 4px;
}
.primary-nav a.cta { 
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); 
	color: #fff; 
	padding: 10px 16px; 
	box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
	white-space: nowrap;
}
.primary-nav a.cta:hover { 
	background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* Hero */
.hero { 
	background: transparent;
	border-bottom: 2px solid var(--yellow);
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 1;
	z-index: 0;
}
.hero-container { 
	display: grid; 
	grid-template-columns: 1.2fr 1fr; 
	align-items: center; 
	gap: 28px; 
	padding: 48px 0;
	position: relative;
	z-index: 1;
}
.hero-text h1 { 
	margin: 0 0 8px; 
	line-height: 1.25;
	color: #ffffff;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
	font-weight: 700;
}
.hero-text p { 
	margin: 0 0 20px; 
	color: #ffffff; 
	font-weight: 500; 
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 0, 0, 0.5);
}
.hero-text .cta { 
	display: inline-block; 
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); 
	color: #fff; 
	text-decoration: none; 
	padding: 14px 24px; 
	border-radius: 12px;
	font-weight: 600;
	box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
	transition: all 0.3s ease;
}
.hero-text .cta:hover { 
	background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}
.hero-image img { 
	width: 100%; 
	border-radius: 16px; 
	border: 3px solid var(--yellow);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Sections */
.section { 
	padding: 48px 0; 
	position: relative;
}
.section h2 { 
	margin-top: 0; 
	color: var(--blue);
	font-weight: 600;
	position: relative;
	padding-bottom: 12px;
}
.section h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 100%);
	border-radius: 2px;
}
.section-alt { 
	background: transparent;
	border-top: 2px solid var(--yellow);
	border-bottom: 2px solid var(--yellow);
	position: relative;
}
.section-alt::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 1;
	z-index: 0;
}
.section-alt > .container {
	position: relative;
	z-index: 1;
}
/* Text visibility for section-alt with background images */
.section-alt h2 {
	color: #ffffff !important;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}
.section-alt h2::after {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.section-alt p,
.section-alt .muted,
.section-alt li,
.section-alt span {
	color: #ffffff !important;
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.6);
}
.section-alt a:not(.cta):not(.btn) {
	color: #ffffff !important;
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.6);
	border-bottom: 2px solid rgba(255, 255, 255, 0.8);
}
.section-alt a:not(.cta):not(.btn):hover {
	color: var(--yellow-light) !important;
	border-bottom-color: var(--yellow-light);
}
/* Override white text for sections with white backgrounds */
#services.section-alt h2,
#how-i-work.section-alt h2 {
	color: var(--blue) !important;
	text-shadow: none;
}
#services.section-alt h2::after,
#how-i-work.section-alt h2::after {
	background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 100%);
	box-shadow: none;
}
#services.section-alt p,
#services.section-alt .muted,
#services.section-alt li,
#services.section-alt span,
#how-i-work.section-alt p,
#how-i-work.section-alt .muted,
#how-i-work.section-alt li,
#how-i-work.section-alt span {
	color: var(--text) !important;
	text-shadow: none;
}
#services.section-alt a:not(.cta):not(.btn),
#how-i-work.section-alt a:not(.cta):not(.btn) {
	color: var(--blue) !important;
	text-shadow: none;
	border-bottom: 2px solid var(--blue);
}
#services.section-alt a:not(.cta):not(.btn):hover,
#how-i-work.section-alt a:not(.cta):not(.btn):hover {
	color: var(--blue-dark) !important;
	border-bottom-color: var(--blue-dark);
}

/* Carousel (credentials) */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 12px; padding: 8px 0; }
.carousel-slide { flex: 0 0 auto; width: 180px; height: 120px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: #fff; display: block; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: 1px solid var(--border); border-radius: 999px; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.carousel-btn:hover { background: var(--surface); }
.carousel-btn.prev { left: -6px; }
.carousel-btn.next { right: -6px; }

/* Enhanced Lightbox */
.lightbox { 
	position: fixed; 
	inset: 0; 
	background: rgba(0,0,0,.5); 
	display: none; 
	align-items: center; 
	justify-content: center; 
	padding: 20px; 
	z-index: 1000; 
	opacity: 0;
	transition: opacity 0.3s ease;
}

.lightbox.open { 
	display: flex; 
	opacity: 1;
}

.lightbox-content {
	position: relative;
	/* Fill the viewport and center the image so the whole photo fits */
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-image {
	/* Ensure the entire image is visible within the viewport */
	display: block;
	width: 100%;
	height: auto;
	max-width: calc(100vw - 64px);
	max-height: calc(100vh - 120px);
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.lightbox-close { 
	position: absolute; 
	top: 8px; 
	right: 8px; 
	background: #fff; 
	border: none; 
	border-radius: 999px; 
	width: 36px; 
	height: 36px; 
	cursor: pointer; 
	display: grid; 
	place-items: center;
	font-size: 20px;
	font-weight: bold;
	color: var(--text);
	transition: background 0.2s ease;
}

.lightbox-close:hover {
	background: var(--surface);
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #fff;
	border: none;
	border-radius: 999px;
	width: 44px;
	height: 44px;
	cursor: pointer;
	display: grid;
	place-items: center;
	font-size: 24px;
	font-weight: bold;
	color: var(--text);
	transition: all 0.2s ease;
	box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.lightbox-nav:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }

/* Search Button */
.search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	height: 44px;
	padding: 12px;
}

.search-btn svg {
	width: 20px;
	height: 20px;
}

/* Enhanced Search & Filter Interface */
.filters {
	background: transparent;
	border: 2px solid var(--yellow);
	border-radius: 16px;
	padding: 24px;
	margin: 24px 0;
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	gap: 16px;
	align-items: end;
	position: relative;
	overflow: hidden;
}

.filters::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 1;
	z-index: 0;
	border-radius: 16px;
}

.filters::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 50%, var(--blue) 100%);
	z-index: 1;
}

.filters > * {
	position: relative;
	z-index: 2;
}
/* Text visibility for filters with background images */
.filters label {
	color: #ffffff !important;
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.6);
	font-weight: 600;
}

.filters .input {
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 18px;
	font-size: 15px;
	font-family: inherit;
	background: #fff;
	transition: all 0.3s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filters .input:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px var(--blue-light);
	transform: translateY(-1px);
}

.filters .input:hover {
	border-color: #cbd5e1;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filters select.input {
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 16px;
	padding-right: 40px;
	appearance: none;
}

.filters .search-btn {
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
	border: none;
	border-radius: 12px;
	color: white;
	font-weight: 600;
	min-width: 56px;
	height: 52px;
	padding: 16px;
	box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.filters .search-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.filters .search-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
	background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
}

.filters .search-btn:hover::before {
	left: 100%;
}

.filters .search-btn:active {
	transform: translateY(0);
}

.filters .search-btn svg {
	width: 22px;
	height: 22px;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Responsive design for filters */
@media (max-width: 768px) {
	.filters {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 20px;
	}

	/* Mobile gutters: add comfortable side space */
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}

	/* Inset header/footer from screen edges on phones */
	.site-header,
	.site-footer {
		margin-left: 12px;
		margin-right: 12px;
		border-radius: 12px;
	}
	
	.filters .input {
		padding: 12px 16px;
		font-size: 14px;
	}
	
	.filters .search-btn {
		height: 48px;
		min-width: 100%;
	}
}

@media (max-width: 480px) {
	.filters {
		padding: 16px;
		border-radius: 12px;
	}
	
	.filters .input {
		padding: 10px 14px;
		font-size: 14px;
	}

	/* Slightly wider content gutter on very small screens */
	.container {
		padding-left: 24px;
		padding-right: 24px;
	}
}

/* Image Gallery */
.image-gallery {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}

.gallery-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.gallery-track {
	position: relative;
	width: 100%;
	height: 100%;
}

.gallery-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.3s ease;
	cursor: pointer;
}

.gallery-image.active {
	opacity: 1;
}

.gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.9);
	border: none;
	border-radius: 999px;
	width: 32px;
	height: 32px;
	cursor: pointer;
	display: grid;
	place-items: center;
	font-size: 18px;
	font-weight: bold;
	color: var(--text);
	transition: all 0.2s ease;
	z-index: 2;
}

.gallery-nav:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev { left: 8px; }
.gallery-nav.next { right: 8px; }

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
	.gallery-nav {
		width: 28px;
		height: 28px;
		font-size: 16px;
	}
	
	.gallery-nav.prev { left: 6px; }
	.gallery-nav.next { right: 6px; }
	
	.lightbox-nav {
		width: 36px;
		height: 36px;
		font-size: 20px;
	}
	
	/* Keep arrows close to the image on phones */
	.lightbox-nav.prev { left: 10px; }
	.lightbox-nav.next { right: 10px; }

	/* Make the image fill more of small screens */
	.lightbox-image {
		max-width: calc(100vw - 40px);
		max-height: calc(100vh - 64px);
	}
}

@media (max-width: 480px) {
	.lightbox-nav.prev { left: 10px; }
	.lightbox-nav.next { right: 10px; }
}

/* Page hero (About) */
/* Page hero (About) */
.page-hero-container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.page-hero-text p { color: var(--muted); }
.page-hero-media .profile-photo { width: 100%; border-radius: 12px; border: 1px solid var(--border); }

/* Enhanced Page Hero for Listings */
.page-hero {
	background: transparent;
	border-bottom: 3px solid var(--yellow);
	position: relative;
	overflow: hidden;
}

.page-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 1;
	z-index: 0;
}

.page-hero .container {
	position: relative;
	z-index: 2;
}

.page-hero h1 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 12px;
	color: #ffffff;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

.page-hero .muted,
.page-hero p {
	font-size: 1.1rem;
	color: #ffffff !important;
	margin-bottom: 24px;
	line-height: 1.6;
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.6);
}

/* Enhanced Masonry Layout */
.masonry {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 24px;
	margin-top: 32px;
}

/* Enhanced Listing Cards */
.listing-card {
	background: #fff;
	border: 2px solid var(--blue-light);
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
	position: relative;
}

.listing-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(37, 99, 235, 0.2);
	border-color: var(--blue);
}
.listing-card:hover::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 50%, var(--blue) 100%);
	z-index: 1;
}

.listing-card .card-media {
	position: relative;
	overflow: hidden;
}

.listing-card .card-body {
	padding: 20px;
}

.listing-card h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 8px 0;
	color: var(--text);
}

.listing-card .meta {
	color: var(--muted);
	font-size: 0.9rem;
	margin: 0 0 12px 0;
}

.listing-card .price {
	font-size: 1.5rem;
	font-weight: 600;
	background: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin: 0 0 16px 0;
}

.listing-card .card-actions {
	margin-top: 16px;
}

.listing-card .expand-btn {
	width: 100%;
	justify-content: center;
}

/* Badge Styling */
.badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
	color: #fff;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
	z-index: 3;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.page-hero h1 {
		font-size: 2rem;
	}
	
	.page-hero .muted {
		font-size: 1rem;
	}
	
	.masonry {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.listing-card .card-body {
		padding: 16px;
	}
}

/* Social buttons */
.social-list { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px; color: #fff; text-decoration: none; }
.social-btn svg { display: block; }
.social-btn.messenger { background: #006AFF; }
.social-btn.facebook { background: #1877F2; }
.social-btn.email { background: #EA4335; }
.social-btn.phone { background: #10B981; }
.social-btn.whatsapp { background: #25D366; }

/* Simple 2-col grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { 
	background: linear-gradient(135deg, #fff 0%, var(--blue-light) 100%);
	border: 2px solid var(--yellow);
	border-radius: 12px; 
	padding: 16px; 
	text-align: center;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
	transition: all 0.3s ease;
}
.stat:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.stat-number { 
	display: block; 
	font-weight: 600; 
	font-size: 20px;
	background: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.stat-label { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }

/* Chips */
.chip-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { 
	background: linear-gradient(135deg, var(--yellow-light) 0%, var(--blue-light) 100%);
	border: 2px solid var(--yellow);
	border-radius: 999px; 
	padding: 6px 14px; 
	font-size: 12px;
	font-weight: 500;
	color: var(--text);
	transition: all 0.2s ease;
}
.chip:hover {
	background: linear-gradient(135deg, var(--yellow) 0%, var(--blue) 100%);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

/* Grid & Cards */
.grid-3 { 
	display: grid; 
	grid-template-columns: repeat(3, 1fr); 
	gap: 24px; 
}
.masonry { column-count: 4; column-gap: 20px; }
.masonry .listing-card { display: inline-block; width: 100%; margin: 0 0 20px; break-inside: avoid; }
.card { 
	background: #fff; 
	border: 2px solid var(--blue-light); 
	border-radius: 12px; 
	padding: 16px;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
	transition: all 0.3s ease;
}
.card:hover {
	border-color: var(--blue);
	box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
	transform: translateY(-2px);
}
.listing-card .card-media { border-radius: 10px; overflow: hidden; }
.listing-card .details { display: none; margin-top: 10px; border-top: 1px solid var(--border); padding-top: 10px; position: relative; }
.listing-card.expanded .details { display: block; }
.listing-card .close-btn { position: absolute; top: -14px; right: -8px; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.listing-card .specs { list-style: disc; padding-left: 18px; color: var(--muted); }
.listing-card .desc { white-space: pre-wrap; }
.detail-actions { display: flex; gap: 8px; margin-top: 10px; }
.card-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card-media { 
	position: relative; 
	overflow: hidden; 
	border-radius: 10px; 
	border: 2px solid var(--yellow-light);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.card-media img { width: 100%; display: block; }
.badge { 
	position: absolute; 
	top: 10px; 
	left: 10px; 
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); 
	color: #fff; 
	padding: 6px 12px; 
	border-radius: 999px; 
	font-size: 12px;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}
.card-body { padding: 12px 4px 0; }
.card h3 { margin: 0 0 4px; font-size: 18px; }
.card .meta { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.card .price { margin: 0 0 10px; font-weight: 600; }
.cta.ghost { 
	display: inline-block; 
	text-decoration: none; 
	color: var(--blue); 
	border: 2px solid var(--blue); 
	padding: 8px 16px; 
	border-radius: 10px;
	font-weight: 600;
	transition: all 0.3s ease;
}
.cta.ghost:hover { 
	background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); 
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Services */
.service-card { 
	min-height: 140px; 
	display: flex; 
	flex-direction: column; 
	justify-content: space-between;
	position: relative;
	overflow: hidden;
}
.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 50%, var(--blue) 100%);
}
.service-card h3 {
	color: var(--blue);
	font-weight: 600;
}

/* Testimonials */
.testimonial-card { 
	font-style: italic;
	background: linear-gradient(135deg, var(--yellow-light) 0%, var(--blue-light) 100%);
	border: 2px solid var(--yellow);
	position: relative;
}
.testimonial-card::before {
	content: '"';
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 48px;
	color: var(--red);
	opacity: 0.3;
	font-family: serif;
}
.testimonial-card footer { 
	margin-top: 8px; 
	font-style: normal; 
	color: var(--blue);
	font-weight: 600;
}

/* CTA */
.cta-section { 
	text-align: center; 
	background: transparent;
	border-top: 3px solid var(--yellow);
	border-bottom: 3px solid var(--yellow);
	position: relative;
	overflow: hidden;
}
.cta-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 1;
	z-index: 0;
}
.cta-section > .container {
	position: relative;
	z-index: 1;
}
.cta-section h2 {
	color: #ffffff !important;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}
.cta-section .cta {
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
	color: #fff;
	padding: 14px 28px;
	border-radius: 12px;
	font-weight: 600;
	box-shadow: 0 4px 14px rgba(220, 38, 38, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
}
.cta-section .cta:hover {
	background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6), 0 0 25px rgba(0, 0, 0, 0.4);
}
.cta-container p { 
	color: #ffffff !important; 
	margin-top: 4px; 
	font-weight: 500; 
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.6);
}

/* Affiliates carousel */
.logo-carousel { 
	overflow: hidden; 
	border: 2px solid var(--blue-light); 
	border-radius: 12px; 
	background: linear-gradient(135deg, #fff 0%, var(--yellow-light) 100%);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
	position: relative;
	cursor: grab;
}
.logo-carousel:active {
	cursor: grabbing;
}
.logo-track { 
	display: flex; 
	gap: 32px; 
	padding: 16px; 
	will-change: transform;
	transition: transform 0.1s ease-out;
}
.logo-track.dragging {
	transition: none;
}
.logo { 
	flex: 0 0 auto; 
	width: 140px; 
	height: 64px; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	border: 2px dashed var(--yellow); 
	border-radius: 8px; 
	background: #fff;
	transition: all 0.3s ease;
	user-select: none;
	pointer-events: none;
}
.logo:hover {
	border-color: var(--blue);
	background: var(--blue-light);
	transform: scale(1.05);
}
.logo img { max-width: 100%; max-height: 80%; object-fit: contain; pointer-events: none; }

@keyframes scroll-logos {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Footer */
.site-footer { 
	background: #fff;
	border-top: 3px solid var(--yellow);
	margin-top: 32px;
	position: relative;
}
.site-footer::before {
	display: none; /* Footer uses plain white background - no image */
}
.site-footer > .container {
	position: relative;
	z-index: 1;
}
.footer-container { padding: 24px 0; }
.footer-columns { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; align-items: start; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; }
.footer-text { display: flex; flex-direction: column; font-size: 12px; }
.footer-bio { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.footer-title { margin: 0 0 8px; font-size: 14px; color: var(--text); }
.footer-nav, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-nav a, .footer-contact a { color: var(--text); text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-address { font-style: normal; color: var(--muted); font-size: 14px; margin-top: 8px; }
.footer-copy { margin: 16px 0 0; color: var(--muted); font-size: 12px; text-align: center; border-top: 1px solid var(--border); padding-top: 12px; }

/* Responsive */
@media (max-width: 1024px) {
	.brand-name {
		font-size: 14px;
	}
	.primary-nav ul {
		gap: 8px;
	}
	.primary-nav a {
		padding: 8px 10px;
		font-size: 13px;
	}
	.primary-nav a.cta {
		padding: 10px 14px;
	}
	.grid-3 {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 900px) {
	.brand-text {
		display: none;
	}
	.brand {
		gap: 8px;
	}
}

@media (max-width: 768px) {
	.hero-container { grid-template-columns: 1fr; }
	.contact-hero .page-hero-container { grid-template-columns: 1fr; }
	.nav-toggle { display: inline-block; }
	.primary-nav { 
		position: absolute; 
		left: 0; 
		right: 0; 
		top: 100%; 
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(10px);
		border-bottom: 2px solid var(--blue-light);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		display: none;
		flex: none;
	}
	.primary-nav.open { display: block; }
	.primary-nav ul { 
		flex-direction: column; 
		align-items: stretch; 
		gap: 0; 
		padding: 8px 0;
	}
	.primary-nav li { 
		border-top: 1px solid var(--border);
		margin: 0;
	}
	.primary-nav li:last-child {
		margin-left: 0;
		margin-top: 8px;
	}
	.primary-nav a { 
		display: block; 
		padding: 14px 16px;
		white-space: normal;
	}
	.primary-nav a.cta { 
		margin: 8px 16px 0;
		text-align: center;
		width: auto;
	}
	.header-container { 
		position: relative;
		padding: 12px 16px;
	}
	.brand-text {
		display: flex;
	}
	.brand-name {
		font-size: 15px;
	}

	.footer-columns { grid-template-columns: 1fr; }
	.grid-3 { grid-template-columns: 1fr; }
	.grid-2 { grid-template-columns: 1fr; }
	.page-hero-container { grid-template-columns: 1fr; }
	.filters { gap: 8px; }
	.masonry { column-count: 1; }
}

/* Contact Page Specific Styles */
.contact-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}

.contact-card {
	background: linear-gradient(135deg, #fff 0%, var(--blue-light) 100%);
	border: 2px solid var(--yellow);
	border-radius: 12px;
	padding: 20px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.contact-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 50%, var(--blue) 100%);
}

.contact-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
	border-color: var(--blue);
}

.contact-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-card h3 {
	margin: 0 0 8px 0;
	color: var(--blue);
	font-weight: 600;
	font-size: 1.1rem;
}

.contact-card p {
	margin: 0;
	color: var(--text);
}

.contact-card a {
	color: var(--blue);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.contact-card a:hover {
	color: var(--red);
	text-decoration: underline;
}

/* Feedback Form Specific Styles */
.page {
	padding: 40px 0;
	background: transparent;
	position: relative;
	min-height: calc(100vh - 200px);
}

.page::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 1;
	z-index: 0;
}
/* Text visibility for .page with background images */
.page > .container h1,
.page > h1 {
	color: #ffffff !important;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}
.page > .container p,
.page > .container .muted,
.page > p,
.page > .muted {
	color: #ffffff !important;
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.6);
}

.page > * {
	position: relative;
	z-index: 1;
}

.form-card {
	background: #fff;
	border: 2px solid var(--yellow);
	border-radius: 16px;
	padding: 32px;
	max-width: 720px;
	margin: 0 auto;
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
	position: relative;
	overflow: hidden;
}

.form-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 50%, var(--blue) 100%);
}

.form-card h1 {
	margin-top: 0;
	color: var(--blue);
	font-weight: 600;
	position: relative;
	padding-bottom: 12px;
}

.form-card h1::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 100%);
	border-radius: 2px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 20px;
}

.form-group label {
	font-weight: 600;
	color: var(--blue);
	font-size: 14px;
}

.form-group input,
.form-group textarea {
	padding: 14px 16px;
	border: 2px solid var(--blue-light);
	border-radius: 10px;
	font-size: 15px;
	font-family: inherit;
	transition: all 0.3s ease;
	background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px var(--blue-light);
	transform: translateY(-1px);
}

.form-group textarea {
	min-height: 120px;
	resize: vertical;
}

.btn {
	padding: 14px 28px;
	border: none;
	border-radius: 12px;
	font-weight: 600;
	cursor: pointer;
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
	color: #fff;
	font-size: 16px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn:hover {
	background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn:active {
	transform: translateY(0);
}

.flash {
	padding: 14px 18px;
	border-radius: 12px;
	margin: 12px auto;
	max-width: 720px;
	font-weight: 500;
	border: 2px solid;
}

.flash.success {
	color: #047857;
	background: #ecfdf5;
	border-color: #a7f3d0;
}

.flash.error {
	color: #b91c1c;
	background: #fef2f2;
	border-color: #fecaca;
}

/* Satisfied Clients Page Enhancements */
.satisfied-grid .satisfied-card {
	background: #fff;
	border: 2px solid var(--blue-light);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.satisfied-grid .satisfied-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
	border-color: var(--blue);
}

.satisfied-grid .satisfied-card:hover::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 50%, var(--blue) 100%);
	z-index: 1;
}

.satisfied-card .card-body {
	background: linear-gradient(135deg, var(--yellow-light) 0%, var(--blue-light) 100%);
}

.satisfied-card h3 {
	color: var(--blue);
	font-weight: 600;
}

/* About Page Enhancements */
.page-hero-media .profile-photo {
	border: 3px solid var(--yellow);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Carousel Enhancements */
.carousel-btn {
	background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
	color: #fff;
	border: 2px solid var(--yellow);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.carousel-btn:hover {
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
	transform: translateY(-50%) scale(1.1);
}

.carousel-slide {
	border: 2px solid var(--blue-light);
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
	transition: all 0.3s ease;
}

.carousel-slide:hover {
	border-color: var(--yellow);
	box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
	transform: scale(1.05);
}

/* Pagination Enhancements */
.pagination {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: flex-start;
	margin-top: 16px;
}

.pagination a,
.pagination span {
	color: var(--text);
	text-decoration: none;
	padding: 8px 12px;
	border-radius: 8px;
	font-weight: 500;
	transition: all 0.2s ease;
}

.pagination a:hover {
	background: var(--blue-light);
	color: var(--blue);
}

.pagination .active {
	color: #fff;
	background: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%);
	border-bottom: none;
}

.pagination .next {
	font-size: 18px;
	color: var(--blue);
	font-weight: 600;
}

.pagination .next:hover {
	background: var(--blue-light);
}

/* Section Actions */
.section-actions {
	margin-top: 32px;
	text-align: center;
}

.section-actions .cta {
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
	color: #fff;
	padding: 14px 28px;
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
	transition: all 0.3s ease;
}

.section-actions .cta:hover {
	background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Responsive adjustments for new styles */
@media (max-width: 768px) {
	.contact-cards {
		grid-template-columns: 1fr;
	}
	
	.form-card {
		padding: 24px;
		margin: 0 16px;
	}
	
	.page {
		padding: 24px 0;
	}
}


