/*
Theme Name: Zaytoon Fintech
Theme URI: https://example.com/
Author: Your Agency
Author URI: https://example.com/
Description: A custom landing-page theme for Zaytoon Fintech Ltd, built from the Zaytoon-Update Figma design. Bangla QR payments, merchant onboarding, and a cashless-Bangladesh story, laid out as a responsive one-page site. Elementor-friendly: pages/posts built in Elementor render Elementor's content instead of the theme's hardcoded markup, and Elementor Pro Theme Builder header/footer/single/archive locations are supported.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: zaytoon-fintech
*/

/* -----------------------------------------------------------------
   0. Design tokens
------------------------------------------------------------------ */
:root {
	--zt-red: #d71921;
	--zt-red-bright: #e80300;
	--zt-red-dark: #df0000;
	--zt-red-strong: #d22927;
	--zt-green: #19623f;
	--zt-green-light: #2f6e4f;
	--zt-green-accent: #0b7943;
	--zt-gold: #e4a72e;
	--zt-dark: #22201c;
	--zt-muted: #5b5648;
	--zt-cream: #f7f4ec;
	--zt-footer-bg: #353535;
	--zt-faq-bg: #f0fff8;
	--zt-pink-bg: #ffefef;
	--zt-border-green: #19623f;

	--zt-font-heading: 'Montserrat', sans-serif;
	--zt-font-body: 'Inter', sans-serif;

	--zt-radius: 4px;
	--zt-radius-lg: 19px;
	--zt-max-width: 1180px;
	--zt-gutter: clamp(20px, 5vw, 32px);
}

/* -----------------------------------------------------------------
   1. Reset & base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--zt-font-body);
	color: var(--zt-dark);
	background: #fff;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--zt-font-heading);
	margin: 0;
	line-height: 1.2;
}

p { margin: 0 0 1em; }

button { font-family: inherit; cursor: pointer; }

.zt-container {
	max-width: var(--zt-max-width);
	margin-inline: auto;
	padding-inline: var(--zt-gutter);
}

.zt-eyebrow {
	font-family: var(--zt-font-heading);
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 1.68px;
	text-transform: uppercase;
	color: var(--zt-red);
	margin-bottom: 14px;
}

.zt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: var(--zt-radius);
	font-weight: 600;
	font-size: 14px;
	border: 1px solid transparent;
	transition: opacity .15s ease, transform .15s ease;
}
.zt-btn:hover { opacity: .88; }
.zt-btn:active { transform: translateY(1px); }

.zt-btn--primary {
	background: var(--zt-red-strong);
	color: #fff;
}
.zt-btn--outline {
	background: transparent;
	border-color: var(--zt-green);
	color: var(--zt-green);
}

.zt-underline-accent {
	display: flex;
	gap: 6px;
	margin-top: 8px;
}
.zt-underline-accent span {
	display: block;
	height: 7px;
}
.zt-underline-accent .a { width: 40px; background: var(--zt-red); }
.zt-underline-accent .b { width: 40px; background: var(--zt-green); }

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--zt-green);
	color: #fff;
	padding: 10px 16px;
	z-index: 10000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* -----------------------------------------------------------------
   2. Site header / nav
------------------------------------------------------------------ */
.zt-site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(4px);
	border-bottom: 1px solid rgba(34,32,28,0.08);
}

.zt-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 14px;
}

.zt-logo img { height: 56px; width: auto; }
.zt-logo-text {
	font-family: var(--zt-font-heading);
	font-weight: 800;
	font-size: 22px;
	color: var(--zt-red);
}
.zt-logo-text span { color: var(--zt-green); }

.zt-nav-menu {
	display: flex;
	align-items: center;
	gap: 34px;
	flex-wrap: wrap;
}
.zt-nav-menu a {
	font-weight: 400;
	font-size: 18px;
	color: var(--zt-red);
}
.zt-nav-menu li:first-child a {
	font-weight: 800;
	color: #006b2f;
}
.zt-nav-menu a:hover { text-decoration: underline; }

.zt-header-cta { flex-shrink: 0; }

.zt-menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: 8px;
}
.zt-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--zt-dark);
	margin: 5px 0;
}

/* -----------------------------------------------------------------
   3. Hero / top banner
------------------------------------------------------------------ */
.zt-hero {
	position: relative;
	color: #fff;
	overflow: hidden;
}
.zt-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.zt-hero-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(28,28,28,0.45);
}
.zt-hero-topbar {
	position: relative;
	z-index: 1;
	background: var(--zt-green);
	font-size: 12px;
	font-weight: 700;
	padding: 10px var(--zt-gutter);
	display: flex;
	justify-content: flex-end;
}
.zt-hero-body {
	position: relative;
	z-index: 1;
	min-height: clamp(320px, 45vw, 480px);
	display: flex;
	align-items: center;
	padding-block: 60px;
}

/* -----------------------------------------------------------------
   4. Our Partner section (Building a Cashless Bangladesh)
------------------------------------------------------------------ */
.zt-partner {
	position: relative;
	background: #fff;
	box-shadow: 0 0 17px rgba(0,0,0,0.15);
}
.zt-partner .zt-container {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 40px;
	align-items: center;
	padding-block: 48px;
}
.zt-partner-media img {
	border-radius: 16px;
	width: 100%;
	height: auto;
	object-fit: cover;
}
.zt-partner-heading h1,
.zt-partner-heading h2 {
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 700;
	color: var(--zt-green);
	letter-spacing: -0.6px;
	margin-bottom: 18px;
}
.zt-partner-heading p {
	font-style: italic;
	font-size: 16px;
	color: var(--zt-dark);
	max-width: 46ch;
}
.zt-partner-heading .zt-btn { margin-top: 18px; }

.zt-partner-logos {
	background: #fafafa;
	border-top: 1px solid rgba(34,32,28,0.06);
	padding-block: 32px;
}
.zt-partner-logos-heading {
	text-align: center;
	font-family: var(--zt-font-heading);
	font-weight: 700;
	color: var(--zt-green-light);
	font-size: 22px;
	letter-spacing: -0.5px;
	margin-bottom: 6px;
}
.zt-partner-logos .zt-underline-accent { justify-content: center; margin-bottom: 24px; }
.zt-partner-logos-text {
	text-align: center;
	max-width: 60ch;
	margin: 0 auto 28px;
	color: var(--zt-dark);
}
.zt-partner-logos-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}
.zt-partner-logos-row .zt-logo-card {
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 0 10px rgba(0,0,0,0.15);
	width: 130px;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
}
.zt-partner-logos-row img { max-height: 60px; width: auto; object-fit: contain; }

/* -----------------------------------------------------------------
   5. Who We Are ("All of Your Payments...")
------------------------------------------------------------------ */
.zt-who-we-are {
	padding-block: 80px;
	overflow: hidden;
}
.zt-who-we-are .zt-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.zt-who-we-are-media {
	position: relative;
	min-height: 360px;
}
.zt-who-we-are-media .zt-app-mockup {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left center;
}
.zt-who-we-are-media .zt-system-graphic {
	position: relative;
	width: 90%;
	margin-left: auto;
	border-radius: 12px;
}
.zt-kicker {
	font-family: var(--zt-font-heading);
	font-weight: 300;
	color: var(--zt-green);
	font-size: 18px;
	margin-bottom: 12px;
}
.zt-who-we-are h2 {
	font-size: clamp(26px, 3vw, 32px);
	font-weight: 600;
	margin-bottom: 18px;
}
.zt-who-we-are h2 .zt-accent { color: var(--zt-red); font-weight: 700; }
.zt-who-we-are p {
	font-size: 18px;
	color: var(--zt-dark);
	margin-bottom: 24px;
}
.zt-feature-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}
.zt-feature-chip {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 14px;
	color: var(--zt-green);
}
.zt-feature-chip .dot {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--zt-faq-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--zt-red);
	font-size: 18px;
}

/* -----------------------------------------------------------------
   6. Why Zaytoon
------------------------------------------------------------------ */
.zt-why {
	padding-block: 64px;
	background: #fff;
}
.zt-why-heading h2 {
	font-size: 24px;
	font-weight: 400;
	color: var(--zt-dark);
	letter-spacing: -0.38px;
	margin-top: 8px;
}
.zt-why-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
	margin-top: 32px;
}
.zt-why-card {
	border-top: 2px solid var(--zt-green-accent);
	padding-top: 19px;
}
.zt-why-card h4 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
}
.zt-why-card p {
	font-size: 13.5px;
	color: var(--zt-muted);
	line-height: 1.55;
}

/* -----------------------------------------------------------------
   7. How Bangla QR Works
------------------------------------------------------------------ */
.zt-howto {
	position: relative;
	background: var(--zt-pink-bg);
	padding-block: 64px;
	overflow: hidden;
}
.zt-howto-bg {
	position: absolute;
	inset: 0;
	opacity: 0.1;
	background-size: cover;
	background-position: center;
	pointer-events: none;
}
.zt-howto .zt-container { position: relative; }
.zt-howto-heading h2 {
	font-size: 24px;
	font-weight: 300;
	margin-top: 8px;
}
.zt-howto-steps {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 24px;
	margin-top: 40px;
	counter-reset: step;
}
.zt-howto-step {
	position: relative;
	padding-top: 60px;
}
.zt-howto-step-number {
	position: absolute;
	top: 0;
	left: 0;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 4px rgba(0,0,0,0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--zt-font-body);
	font-weight: 700;
	color: var(--zt-red-dark);
	font-size: 20px;
}
.zt-howto-step::after {
	content: '';
	position: absolute;
	top: 21px;
	left: 52px;
	right: -24px;
	border-top: 2px dashed rgba(25,98,63,0.35);
}
.zt-howto-step:last-child::after { display: none; }
.zt-howto-step h4 {
	font-size: 20px;
	font-weight: 600;
	color: var(--zt-green);
	margin-bottom: 8px;
}
.zt-howto-step p {
	font-size: 13.5px;
	color: var(--zt-green);
	line-height: 1.55;
}

/* -----------------------------------------------------------------
   8. Let's build a cashless Bangladesh — together (CTA)
------------------------------------------------------------------ */
.zt-together {
	background: #f3f3f3;
	padding-block: 64px;
	overflow: hidden;
}
.zt-together .zt-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.zt-together-media img { border-radius: 16px; }
.zt-together-copy { text-align: left; }
.zt-together-copy h2 {
	font-style: italic;
	font-weight: 700;
	font-size: clamp(26px, 3.4vw, 36px);
	color: var(--zt-green);
	margin-bottom: 18px;
}
.zt-together-copy p {
	font-size: 16px;
	max-width: 52ch;
	margin-bottom: 24px;
}
.zt-together-btns {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

/* -----------------------------------------------------------------
   9. FAQ
------------------------------------------------------------------ */
.zt-faq { padding-block: 72px; }
.zt-faq .zt-container {
	display: grid;
	grid-template-columns: 1fr 0.9fr;
	gap: 48px;
	align-items: start;
}
.zt-faq-heading {
	text-align: center;
	grid-column: 1 / -1;
	margin-bottom: 12px;
}
.zt-faq-heading h2 {
	font-size: 24px;
	font-weight: 700;
	color: var(--zt-red-dark);
}
.zt-faq-heading p {
	max-width: 70ch;
	margin: 12px auto 0;
	font-size: 14px;
}
.zt-faq-list { display: flex; flex-direction: column; gap: 16px; }
.zt-faq-item {
	background: var(--zt-faq-bg);
	border: 1px solid var(--zt-border-green);
	border-radius: var(--zt-radius-lg);
	overflow: hidden;
}
.zt-faq-question {
	width: 100%;
	background: none;
	border: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
	text-align: left;
	font-family: var(--zt-font-heading);
	font-weight: 700;
	font-size: 14px;
	color: var(--zt-green);
}
.zt-faq-icon { flex-shrink: 0; font-size: 20px; line-height: 1; transition: transform .2s ease; }
.zt-faq-item[open] .zt-faq-icon,
.zt-faq-item.is-open .zt-faq-icon { transform: rotate(45deg); }
.zt-faq-answer {
	padding: 0 24px 20px;
	font-size: 14px;
	color: var(--zt-dark);
}
.zt-faq-media { position: relative; }
.zt-faq-media img { border-radius: 16px; }
.zt-trust-badges {
	margin-top: 24px;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 0 4px rgba(0,0,0,0.3);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 18px 8px;
}
.zt-trust-badge {
	text-align: center;
	padding-inline: 6px;
	border-left: 1px solid rgba(0,0,0,0.06);
}
.zt-trust-badge:first-child { border-left: none; }
.zt-trust-badge img { height: 26px; margin: 0 auto 8px; }
.zt-trust-badge .label { font-family: var(--zt-font-heading); font-weight: 700; font-size: 14px; }
.zt-trust-badge .sub { font-size: 9px; color: var(--zt-dark); }

/* -----------------------------------------------------------------
   10. Footer
------------------------------------------------------------------ */
.zt-site-footer {
	background: var(--zt-footer-bg);
	color: var(--zt-cream);
	padding-block: 48px 20px;
}
.zt-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
}
.zt-footer-brand h2 {
	font-size: 24px;
	font-weight: 700;
	color: var(--zt-cream);
	margin-bottom: 12px;
}
.zt-footer-brand p { color: rgba(247,244,236,0.55); max-width: 30ch; }
.zt-footer-heading {
	font-family: var(--zt-font-heading);
	font-weight: 700;
	color: var(--zt-gold);
	font-size: 16px;
	letter-spacing: 0.92px;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.zt-footer-links li { margin-bottom: 10px; }
.zt-footer-links a { color: rgba(247,244,236,0.65); font-size: 14px; }
.zt-footer-links a:hover { color: #fff; }
.zt-footer-widget:not(:last-child) { margin-bottom: 10px; }
.zt-footer-bottom {
	border-top: 1px solid rgba(247,244,236,0.16);
	margin-top: 32px;
	padding-top: 24px;
	text-align: center;
	font-size: 12.5px;
	color: rgba(247,244,236,0.6);
}
.zt-footer-social {
	display: flex;
	gap: 14px;
	justify-content: center;
	margin-top: 14px;
}
.zt-footer-social a {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(247,244,236,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* -----------------------------------------------------------------
   11. Generic page/content fallback (page.php, index.php)
------------------------------------------------------------------ */
.zt-page-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 64px var(--zt-gutter);
}
.zt-page-content h1 { font-size: 36px; margin-bottom: 24px; color: var(--zt-green); }
.zt-post-thumb { margin-bottom: 24px; }
.zt-post-thumb img { border-radius: 12px; width: 100%; height: auto; }
.entry-content img { max-width: 100%; height: auto; border-radius: 8px; }
.entry-content ul, .entry-content ol { padding-left: 22px; margin-bottom: 1em; }
.entry-content a { color: var(--zt-red); text-decoration: underline; }

/* -----------------------------------------------------------------
   Elementor page-builder compatibility
------------------------------------------------------------------ */
/* Pages/posts built in Elementor should never be squeezed by the
   theme's narrow content wrapper — front-page.php / page.php / single.php
   skip .zt-page-content for these automatically, but this is a safety net
   for any other template that might still wrap them. */
.zt-built-with-elementor .zt-page-content {
	max-width: none;
	padding: 0;
}

/* -----------------------------------------------------------------
   13. About page (template-about.php)
------------------------------------------------------------------ */
.zt-about-slider {
	height: clamp(240px, 36vw, 519px);
	background-size: cover;
	background-position: center;
	position: relative;
}
.zt-about-slider::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.2);
}

.zt-story { padding-block: 64px; background: #fff; }
.zt-story h2 {
	font-size: 24px;
	font-weight: 700;
	color: var(--zt-green);
	letter-spacing: -0.6px;
	margin-bottom: 24px;
}
.zt-story-content {
	max-width: 952px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--zt-dark);
}
.zt-story-content p { margin-bottom: 1.4em; }
.zt-story-content h2,
.zt-story-content h3 {
	font-family: var(--zt-font-body);
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 0.6em;
}

.zt-about-partners {
	background: #daffc7;
	padding-block: 56px;
	text-align: center;
}
.zt-about-partners-heading {
	font-size: 24px;
	font-weight: 700;
	color: var(--zt-green);
	letter-spacing: -0.6px;
	margin-bottom: 18px;
}
.zt-about-partners-text {
	max-width: 60ch;
	margin: 0 auto 32px;
	font-size: 16px;
}

.zt-board { padding-block: 64px; background: #fff; }
.zt-board-heading {
	text-align: center;
	font-size: 24px;
	font-weight: 700;
	color: var(--zt-green);
	letter-spacing: -0.6px;
	margin-bottom: 40px;
}
.zt-board-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 40px;
	max-width: 900px;
	margin-inline: auto;
	justify-items: center;
}
.zt-board-member:nth-child(4) { grid-column: 2; }
.zt-board-photo {
	width: 194px;
	height: 194px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	margin-bottom: 16px;
}
.zt-board-photo--placeholder { background: #d9d9d9; }
.zt-board-name {
	font-family: var(--zt-font-heading);
	font-weight: 600;
	font-size: 14px;
	text-align: center;
	letter-spacing: -0.6px;
	margin: 0;
}

@media (max-width: 700px) {
	.zt-board-grid { grid-template-columns: 1fr 1fr; }
	.zt-board-member:nth-child(4) { grid-column: auto; }
}
@media (max-width: 460px) {
	.zt-board-grid { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------
   14. Responsive (continued)
------------------------------------------------------------------ */
@media (max-width: 960px) {
	.zt-nav-menu { display: none; }
	.zt-menu-toggle { display: block; }
	.zt-site-header.is-open .zt-nav-menu {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		padding: 20px var(--zt-gutter);
		box-shadow: 0 8px 16px rgba(0,0,0,0.08);
	}
	.zt-partner .zt-container,
	.zt-who-we-are .zt-container,
	.zt-together .zt-container,
	.zt-faq .zt-container {
		grid-template-columns: 1fr;
	}
	.zt-who-we-are-media { order: -1; }
	.zt-howto-steps { grid-template-columns: repeat(2, 1fr); }
	.zt-howto-step::after { display: none; }
	.zt-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
	.zt-howto-steps { grid-template-columns: 1fr; }
	.zt-why-grid { grid-template-columns: 1fr; }
	.zt-trust-badges { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
	.zt-footer-grid { grid-template-columns: 1fr; }
	.zt-together-btns { flex-direction: column; align-items: flex-start; }
}
