/* =====================================================================
   Bilal Website Builder — Design System
   ===================================================================== */

html { overflow-x: hidden; }
body { overflow-x: hidden; }

/* Break full-width sections out of whatever max-width container the active
   theme wraps page content in — this is what fixes "white edges" on themes
   that constrain .entry-content width. */
.bwb-hero, .bwb-page-hero, .bwb-marquee, .bwb-stats, .bwb-services,
.bwb-testimonials, .bwb-learn, .bwb-cta, .bwb-process {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

:root {
	--bwb-primary: #6CB432;
	--bwb-accent: #9FCE7A;
	--bwb-dark-2: #24263B;
	--bwb-dark: #1F2235;
	--bwb-light: #F8FAFC;
	--bwb-text: #1E293B;
	--bwb-text-muted: #64748B;
	--bwb-border: #E2E8F0;
	--bwb-radius: 18px;
	--bwb-radius-sm: 10px;
	--bwb-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
	--bwb-shadow-hover: 0 16px 40px rgba(15, 23, 42, 0.12);
	--bwb-font-display: 'Manrope', 'Inter', sans-serif;
	--bwb-font-heading: 'Manrope', 'Inter', sans-serif;
	--bwb-font-body: 'Inter', sans-serif;
	--bwb-font-mono: 'Inter', sans-serif;
	--bwb-delay: 0s;
}

/* ---------------------------------------------------------------------
   Base / resets scoped to plugin-generated content
   --------------------------------------------------------------------- */

.bwb-hero, .bwb-page-hero, .bwb-stats, .bwb-services, .bwb-testimonials,
.bwb-learn, .bwb-cta, .bwb-newsletter-box, .bwb-about-body,
.bwb-contact-form, .bwb-grid {
	font-family: var(--bwb-font-body);
	color: var(--bwb-text);
	box-sizing: border-box;
}

.bwb-hero *, .bwb-page-hero *, .bwb-stats *, .bwb-services *,
.bwb-testimonials *, .bwb-learn *, .bwb-cta *, .bwb-newsletter-box *,
.bwb-about-body *, .bwb-contact-form *, .bwb-grid * {
	box-sizing: border-box;
}

html { overflow-x: hidden; }
body { overflow-x: hidden; }

.bwb-container {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
}

h1.bwb-hero-title, .bwb-page-hero h1, .bwb-section-title, .bwb-cta h2 {
	font-family: var(--bwb-font-display);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.bwb-service-card h3, .bwb-learn-card h3, .bwb-tutorial-card h3,
.bwb-post-card h3, .bwb-resource-card h3, .bwb-feature-card h3 {
	font-family: var(--bwb-font-heading);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

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

.bwb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
	white-space: nowrap;
}

.bwb-btn-primary {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--bwb-primary), var(--bwb-accent));
	color: #fff;
	box-shadow: 0 8px 24px rgba(108, 180, 50, 0.35);
}

.bwb-btn-primary::after {
	content: '';
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.45), transparent);
	transform: skewX(-20deg);
	transition: left 0.6s ease;
}

.bwb-btn-primary:hover::after {
	left: 130%;
}

.bwb-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(108, 180, 50, 0.45);
	color: #fff;
}

.bwb-btn-ghost {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	backdrop-filter: blur(6px);
}

.bwb-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.18);
	transform: translateY(-2px);
	color: #fff;
}

.bwb-btn-light {
	background: #fff;
	color: var(--bwb-dark);
}

.bwb-btn-light:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
	color: var(--bwb-dark);
}

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

/* Breaks a full-width section out of a theme's centered/max-width content
   wrapper so there's no white margin on either side. Applied to any
   section meant to run edge-to-edge (hero, marquee, page-hero, cta). */
.bwb-full-bleed {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.bwb-hero {
	position: relative;
	overflow: hidden;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 130px 0 80px;
	background: linear-gradient(155deg, var(--bwb-dark) 0%, var(--bwb-dark-2, var(--bwb-dark)) 100%);
	isolation: isolate;
}

.bwb-hero-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 26px 26px;
	mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 40%, transparent 90%);
}

.bwb-hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 56px;
	align-items: center;
	text-align: left;
}

.bwb-hero-text { max-width: 560px; }

.bwb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--bwb-accent);
	font-family: var(--bwb-font-mono);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 12.5px;
	margin-bottom: 22px;
}

.bwb-eyebrow::before {
	content: '';
	width: 26px;
	height: 2px;
	background: var(--bwb-primary);
	display: inline-block;
}

.bwb-hero-title {
	font-size: clamp(36px, 4.8vw, 58px);
	color: #fff;
	margin: 0 0 20px;
}

.bwb-gradient-text {
	background: linear-gradient(100deg, var(--bwb-primary), var(--bwb-accent));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.bwb-hero-sub {
	max-width: 480px;
	margin: 0 0 36px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 17px;
	line-height: 1.65;
}

.bwb-hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

/* Photo side */

.bwb-hero-photo-wrap {
	position: relative;
	max-width: 380px;
	margin: 0 auto;
}

.bwb-hero-blob {
	position: absolute;
	inset: -22px;
	background: linear-gradient(135deg, var(--bwb-primary), var(--bwb-accent));
	border-radius: 62% 38% 55% 45% / 60% 40% 60% 40%;
	z-index: 0;
	animation: bwbBlobMorph 12s ease-in-out infinite;
	opacity: 0.9;
}

@keyframes bwbBlobMorph {
	0%, 100% { border-radius: 62% 38% 55% 45% / 60% 40% 60% 40%; transform: rotate(0deg); }
	50% { border-radius: 45% 55% 40% 60% / 45% 60% 40% 55%; transform: rotate(6deg); }
}

.bwb-hero-photo {
	position: relative;
	z-index: 1;
	aspect-ratio: 4 / 5;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.bwb-hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bwb-hero-photo-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(160deg, var(--bwb-dark-2, var(--bwb-dark)), var(--bwb-dark));
	color: rgba(255, 255, 255, 0.85);
	font-family: var(--bwb-font-display);
	font-size: 56px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.bwb-hero-badge {
	position: absolute;
	left: -28px;
	bottom: 26px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.96);
	color: var(--bwb-text);
	padding: 12px 18px;
	border-radius: 14px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
	font-size: 13.5px;
	font-weight: 600;
	animation: bwbBadgeFloat 4s ease-in-out infinite;
}

.bwb-hero-badge span.bwb-badge-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--bwb-primary);
	flex-shrink: 0;
}

@keyframes bwbBadgeFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

.bwb-hero-scroll {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	width: 24px;
	height: 40px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-radius: 20px;
}

.bwb-hero-scroll span {
	display: block;
	width: 4px;
	height: 8px;
	margin: 6px auto;
	background: #fff;
	border-radius: 2px;
	animation: bwbScrollDot 1.8s ease infinite;
}

/* Scrolling skills marquee */

.bwb-marquee {
	overflow: hidden;
	background: var(--bwb-dark-2, var(--bwb-dark));
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bwb-marquee-track {
	display: flex;
	width: max-content;
	gap: 44px;
	animation: bwbMarquee 26s linear infinite;
}

.bwb-marquee-track span {
	font-family: var(--bwb-font-mono);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.55);
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 44px;
}

.bwb-marquee-track span::after {
	content: '\2726';
	color: var(--bwb-primary);
}

@keyframes bwbMarquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.bwb-marquee-track { animation: none; }
}

@keyframes bwbScrollDot {
	0% { opacity: 1; transform: translateY(0); }
	100% { opacity: 0; transform: translateY(14px); }
}

/* Page hero (inner pages) */

.bwb-page-hero {
	padding: 100px 0 60px;
	text-align: center;
	background: linear-gradient(180deg, var(--bwb-dark) 0%, #24263B 100%);
}

.bwb-page-hero h1 {
	color: #fff;
	font-size: clamp(32px, 5vw, 48px);
	margin: 0 0 14px;
}

.bwb-page-hero p {
	color: rgba(255, 255, 255, 0.75);
	max-width: 600px;
	margin: 0 auto;
	font-size: 17px;
}

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

.bwb-stats { padding: 60px 0; background: var(--bwb-light); }

.bwb-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}

.bwb-stat-value {
	display: block;
	font-family: var(--bwb-font-mono);
	font-size: 40px;
	font-weight: 700;
	background: linear-gradient(135deg, var(--bwb-primary), var(--bwb-accent));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.bwb-stat-label {
	display: block;
	margin-top: 6px;
	color: var(--bwb-text-muted);
	font-size: 14px;
	font-weight: 500;
}

/* ---------------------------------------------------------------------
   Section titles
   --------------------------------------------------------------------- */

.bwb-section-title {
	position: relative;
	text-align: center;
	font-size: clamp(28px, 4vw, 38px);
	margin: 0 0 20px;
	padding-bottom: 20px;
}

.bwb-section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--bwb-primary), var(--bwb-accent));
	border-radius: 2px;
	transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.bwb-section-title.bwb-visible::after {
	width: 64px;
}

/* Page-load fade-in — pure CSS, doesn't depend on JS running */
body { animation: bwbPageFade 0.7s ease both; }
@keyframes bwbPageFade {
	from { opacity: 0; }
	to { opacity: 1; }
}

.bwb-section-sub {
	text-align: center;
	color: var(--bwb-text-muted);
	max-width: 560px;
	margin: 0 auto 48px;
	font-size: 16px;
	line-height: 1.6;
}

/* ---------------------------------------------------------------------
   Grid + cards
   --------------------------------------------------------------------- */

.bwb-services, .bwb-testimonials, .bwb-learn { padding: 90px 0; }
.bwb-services { background: #fff; }
.bwb-testimonials { background: var(--bwb-light); }
.bwb-learn { background: #fff; }

.bwb-grid {
	display: grid;
	gap: 24px;
}

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

.bwb-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--bwb-border);
	border-radius: var(--bwb-radius);
	padding: 32px 28px;
	box-shadow: var(--bwb-shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	z-index: 0;
}

.bwb-card::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 0%;
	background: linear-gradient(180deg, rgba(108, 180, 50, 0.06), rgba(108, 180, 50, 0.12));
	transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: -1;
	pointer-events: none;
}

.bwb-card:hover::before {
	height: 100%;
}

.bwb-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--bwb-shadow-hover), 0 0 0 1px rgba(108, 180, 50, 0.18);
	border-color: transparent;
	color: inherit;
}

.bwb-card-icon {
	font-size: 34px;
	margin-bottom: 16px;
	line-height: 1;
	display: inline-block;
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bwb-card:hover .bwb-card-icon {
	transform: scale(1.18) rotate(-6deg);
}

.bwb-card h3 { margin: 0 0 10px; font-size: 19px; }
.bwb-card p { margin: 0; color: var(--bwb-text-muted); font-size: 15px; line-height: 1.6; flex-grow: 1; }

.bwb-card-link {
	display: inline-flex;
	align-items: center;
	margin-top: 16px;
	font-weight: 600;
	font-size: 14px;
	color: var(--bwb-primary);
	transition: gap 0.25s ease;
	gap: 2px;
}

.bwb-card:hover .bwb-card-link {
	gap: 8px;
}

/* Testimonials */

.bwb-testimonial-card { background: #fff; }
.bwb-quote-mark {
	font-family: Georgia, serif;
	font-size: 56px;
	line-height: 1;
	color: var(--bwb-accent);
	opacity: 0.4;
	margin-bottom: -10px;
}
.bwb-quote-text { font-size: 15.5px; line-height: 1.7; color: var(--bwb-text); margin-bottom: 20px; }
.bwb-quote-author strong { display: block; font-size: 15px; }
.bwb-quote-author span { display: block; font-size: 13px; color: var(--bwb-text-muted); }

.bwb-note { text-align: center; color: var(--bwb-text-muted); font-size: 13px; margin-top: 24px; font-style: italic; }

/* Blog / tutorial / resource cards */

.bwb-post-thumb {
	margin: -32px -28px 20px;
	border-radius: var(--bwb-radius) var(--bwb-radius) 0 0;
	overflow: hidden;
	aspect-ratio: 16/9;
	background: var(--bwb-light);
}
.bwb-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bwb-post-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	background: linear-gradient(135deg, #EDF6E6, #E9E9EB);
}
.bwb-post-date { font-family: var(--bwb-font-mono); font-size: 11.5px; color: var(--bwb-text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.bwb-post-card h3 { margin: 8px 0 10px; }

.bwb-tutorial-tags { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.bwb-tag {
	font-family: var(--bwb-font-mono);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 4px 10px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--bwb-primary), var(--bwb-accent));
	color: #fff;
}
.bwb-tag-outline { background: none; border: 1.5px solid var(--bwb-border); color: var(--bwb-text-muted); }
.bwb-tutorial-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: 13px; color: var(--bwb-text-muted); }

.bwb-empty-state { text-align: center; color: var(--bwb-text-muted); padding: 40px 0; }

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

.bwb-form { width: 100%; }
.bwb-input {
	width: 100%;
	padding: 14px 18px;
	border-radius: var(--bwb-radius-sm);
	border: 1.5px solid var(--bwb-border);
	font-family: var(--bwb-font-body);
	font-size: 15px;
	background: #fff;
	color: var(--bwb-text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	margin-bottom: 12px;
}
.bwb-input:focus {
	outline: none;
	border-color: var(--bwb-primary);
	box-shadow: 0 0 0 4px rgba(108, 180, 50, 0.12);
}
.bwb-textarea { resize: vertical; min-height: 120px; }

.bwb-form-row { display: flex; gap: 10px; align-items: flex-start; }
.bwb-form-row .bwb-input { margin-bottom: 0; flex-grow: 1; }
.bwb-form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.bwb-form-row-2col .bwb-input { margin-bottom: 0; }

.bwb-form-msg { font-size: 14px; margin: 12px 0 0; min-height: 18px; font-weight: 500; }
.bwb-form-msg.bwb-msg-success { color: #059669; }
.bwb-form-msg.bwb-msg-error { color: #DC2626; }

.bwb-newsletter-box {
	max-width: 640px;
	margin: 0 auto;
	background: var(--bwb-light);
	border-radius: var(--bwb-radius);
	padding: 40px;
	text-align: center;
}
.bwb-newsletter-box h3 { margin: 0 0 10px; font-family: var(--bwb-font-display); font-size: 26px; }
.bwb-newsletter-box p { color: var(--bwb-text-muted); margin: 0 0 24px; }
.bwb-newsletter-box .bwb-input { max-width: 320px; }
.bwb-newsletter-box .bwb-form-row { justify-content: center; }

.bwb-contact-form { max-width: 620px; margin: 60px auto; padding: 0 24px; }

.bwb-resource-card .bwb-form { margin-top: auto; padding-top: 16px; }

/* ---------------------------------------------------------------------
   Learn-with-me cards
   --------------------------------------------------------------------- */

.bwb-learn-card { text-align: left; }

/* ---------------------------------------------------------------------
   CTA banner
   --------------------------------------------------------------------- */

.bwb-cta {
	background: linear-gradient(120deg, var(--bwb-dark), #24263B);
	padding: 60px 0;
}
.bwb-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.bwb-cta h2 { color: #fff; font-size: 26px; margin: 0 0 6px; }
.bwb-cta p { color: rgba(255, 255, 255, 0.75); margin: 0; }

/* ---------------------------------------------------------------------
   About body
   --------------------------------------------------------------------- */

.bwb-about-body { max-width: 720px; margin: 60px auto; padding: 0 24px; line-height: 1.75; }
.bwb-about-body h2 { font-family: var(--bwb-font-display); font-weight: 700; font-size: 25px; margin: 36px 0 12px; }
.bwb-about-body h2:first-child { margin-top: 0; }
.bwb-about-body p { color: var(--bwb-text); font-size: 16px; }

.bwb-cursor-enabled, .bwb-cursor-enabled a, .bwb-cursor-enabled button {
	cursor: none;
}

.bwb-cursor-enabled input, .bwb-cursor-enabled textarea {
	cursor: text;
}

.bwb-cursor-dot {
	position: fixed;
	top: 0;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--bwb-primary);
	pointer-events: none;
	z-index: 9999;
	transform: translate(-50%, -50%);
	transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.25s ease;
	will-change: transform;
}

.bwb-cursor-ring {
	position: fixed;
	top: 0;
	left: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid var(--bwb-accent);
	pointer-events: none;
	z-index: 9998;
	transform: translate(-50%, -50%);
	transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, border-color 0.3s ease;
	will-change: transform;
}

.bwb-cursor-dot.bwb-cursor-hover {
	width: 0;
	height: 0;
	opacity: 0;
}

.bwb-cursor-ring.bwb-cursor-hover {
	width: 56px;
	height: 56px;
	border-color: var(--bwb-primary);
	background: rgba(108, 180, 50, 0.08);
}

@media (max-width: 960px) {
	.bwb-cursor-dot, .bwb-cursor-ring { display: none; }
}

/* ---------------------------------------------------------------------
   Portfolio carousel
   --------------------------------------------------------------------- */

.bwb-portfolio { padding: 90px 0 100px; background: #fff; overflow: hidden; }

.bwb-portfolio-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}

.bwb-portfolio-nav { display: flex; gap: 10px; flex-shrink: 0; }

.bwb-carousel-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1.5px solid var(--bwb-border);
	background: #fff;
	color: var(--bwb-text);
	font-size: 16px;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.bwb-carousel-btn:hover {
	background: var(--bwb-primary);
	border-color: var(--bwb-primary);
	color: #fff;
	transform: translateY(-2px);
}

.bwb-carousel-track-wrap {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 0 24px 12px;
}

.bwb-carousel-track-wrap::-webkit-scrollbar { display: none; }

.bwb-carousel-track {
	display: flex;
	gap: 24px;
	width: max-content;
	margin: 0 auto;
	max-width: 1160px;
	padding: 0 0 0 calc(50vw - 580px);
}

@media (max-width: 1208px) {
	.bwb-carousel-track { padding-left: 0; }
}

.bwb-portfolio-card {
	scroll-snap-align: start;
	flex: 0 0 340px;
	background: #fff;
	border: 1px solid var(--bwb-border);
	border-radius: var(--bwb-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--bwb-shadow);
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
	display: block;
}

.bwb-portfolio-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--bwb-shadow-hover);
	color: inherit;
}

.bwb-portfolio-card-image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--bwb-light);
}

.bwb-portfolio-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.bwb-portfolio-card:hover .bwb-portfolio-card-image img {
	transform: scale(1.06);
}

.bwb-portfolio-card-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	background: linear-gradient(135deg, #EDF6E6, #E9E9EB);
}

.bwb-portfolio-card-body { padding: 20px 22px; }
.bwb-portfolio-card-body h3 { margin: 0 0 6px; font-size: 17px; font-family: var(--bwb-font-heading); font-weight: 700; }
.bwb-portfolio-card-client {
	font-family: var(--bwb-font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bwb-text-muted);
}

@media (max-width: 640px) {
	.bwb-portfolio-header { flex-direction: column; align-items: flex-start; }
	.bwb-portfolio-card { flex-basis: 280px; }
}

/* ---------------------------------------------------------------------
   Single project page
   --------------------------------------------------------------------- */

.bwb-project-meta-row {
	display: flex;
	gap: 24px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 14.5px;
}

.bwb-project-meta-row strong { color: #fff; font-weight: 600; }

.bwb-project-body { max-width: 980px; margin: -50px auto 80px; padding: 0 24px; position: relative; z-index: 2; }

.bwb-project-featured-image {
	border-radius: var(--bwb-radius);
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
	margin-bottom: 48px;
}

.bwb-project-featured-image img { width: 100%; height: auto; display: block; }

.bwb-project-content-grid {
	display: grid;
	grid-template-columns: 1fr 260px;
	gap: 48px;
	align-items: start;
}

.bwb-project-content { font-size: 16px; line-height: 1.8; color: var(--bwb-text); }
.bwb-project-content p { margin: 0 0 20px; }
.bwb-project-content h2, .bwb-project-content h3 { font-family: var(--bwb-font-heading); margin: 32px 0 12px; }

.bwb-project-sidebar {
	background: var(--bwb-light);
	border-radius: var(--bwb-radius);
	padding: 24px;
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.bwb-project-sidebar-item { display: flex; flex-direction: column; gap: 4px; }
.bwb-project-sidebar-label {
	font-family: var(--bwb-font-mono);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--bwb-text-muted);
}
.bwb-project-sidebar-value { font-weight: 600; font-size: 15px; }
.bwb-project-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.bwb-project-live-link { width: 100%; text-align: center; margin-top: 4px; }

.bwb-project-back { margin-top: 56px; }

@media (max-width: 860px) {
	.bwb-project-content-grid { grid-template-columns: 1fr; }
	.bwb-project-sidebar { position: static; }
	.bwb-project-body { margin-top: -30px; }
}

/* ---------------------------------------------------------------------
   Process / how-I-work section
   --------------------------------------------------------------------- */

.bwb-process { padding: 90px 0; background: var(--bwb-light); }

.bwb-process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 20px;
}

.bwb-process-step {
	position: relative;
	background: #fff;
	border: 1px solid var(--bwb-border);
	border-radius: var(--bwb-radius);
	padding: 28px 24px;
}

.bwb-process-num {
	display: block;
	font-family: var(--bwb-font-mono);
	font-size: 13px;
	font-weight: 600;
	color: var(--bwb-primary);
	margin-bottom: 14px;
}

.bwb-process-step h3 { margin: 0 0 8px; font-size: 18px; }
.bwb-process-step p { margin: 0; color: var(--bwb-text-muted); font-size: 14.5px; line-height: 1.6; }

.bwb-process-step:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -24px;
	width: 24px;
	height: 1.5px;
	background: var(--bwb-border);
	display: none;
}

@media (min-width: 961px) {
	.bwb-process-step:not(:last-child)::after { display: block; }
}

/* ---------------------------------------------------------------------
   FAQ accordion
   --------------------------------------------------------------------- */

.bwb-faq { padding: 90px 0; background: #fff; }
.bwb-faq-inner { max-width: 760px; }

.bwb-faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

.bwb-faq-item {
	border: 1px solid var(--bwb-border);
	border-radius: var(--bwb-radius-sm);
	padding: 18px 22px;
}

.bwb-faq-item summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 600;
	font-size: 15.5px;
}

.bwb-faq-item summary::-webkit-details-marker { display: none; }

.bwb-faq-icon {
	font-family: var(--bwb-font-mono);
	color: var(--bwb-primary);
	font-size: 18px;
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 16px;
}

.bwb-faq-item[open] .bwb-faq-icon { transform: rotate(45deg); }

.bwb-faq-item p {
	margin: 14px 0 0;
	color: var(--bwb-text-muted);
	font-size: 14.5px;
	line-height: 1.7;
}

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

@media (max-width: 640px) {
	.bwb-process-grid { grid-template-columns: 1fr; }
}

.bwb-animate {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: var(--bwb-delay, 0s);
}
.bwb-animate.bwb-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.bwb-animate { opacity: 1; transform: none; transition: none; }
	.bwb-hero-scroll span, .bwb-hero-blob, .bwb-hero-badge, .bwb-card-icon, body {
		animation: none !important;
	}
	body { opacity: 1; }
	.bwb-btn-primary::after { display: none; }
}

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

@media (max-width: 960px) {
	.bwb-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.bwb-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.bwb-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
	.bwb-hero-inner { grid-template-columns: 1fr; text-align: center; }
	.bwb-hero-text { max-width: 100%; margin: 0 auto; }
	.bwb-hero-sub { margin-left: auto; margin-right: auto; }
	.bwb-hero-actions { justify-content: center; }
	.bwb-hero-photo-wrap { order: -1; max-width: 280px; margin-bottom: 12px; }
	.bwb-eyebrow { justify-content: center; }
}

@media (max-width: 640px) {
	.bwb-grid-2, .bwb-grid-3, .bwb-grid-4 { grid-template-columns: 1fr; }
	.bwb-hero { padding: 90px 0 60px; }
	.bwb-hero-badge { left: 50%; transform: translateX(-50%); bottom: -18px; }
	.bwb-form-row-2col { grid-template-columns: 1fr; }
	.bwb-cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
	.bwb-form-row { flex-direction: column; }
	.bwb-form-row .bwb-btn { width: 100%; }
}
