/*
Theme Name: Ziraah Hello Child
Theme URI: https://lms.ziraah.com
Description: Ziraah Academy child theme for Hello Elementor. Brand colours, Bangla and English typography, and light LMS styling.
Author: Ziraah Academy
Template: hello-elementor
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: ziraah-hello-child
*/

/* ---------- Brand tokens ---------- */
:root {
	--zh-primary: #145C42;
	--zh-gold: #D4AF37;
	--zh-bg: #F7F9F7;
	--zh-text: #222B27;
	--zh-muted: #707B75;
	--zh-line: #E3E9E5;
	--zh-soft: #E8F2EC;
	--zh-radius: 16px;
	--zh-shadow: 0 2px 10px rgba(20, 92, 66, .06);
}

/* ---------- Base typography ---------- */
body {
	background: var(--zh-bg);
	color: var(--zh-text);
	font-family: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
	line-height: 1.65;
}

body:lang(bn),
html[lang^="bn"] body,
.lang-bn {
	font-family: 'Hind Siliguri', 'Inter', system-ui, sans-serif;
}

h1, h2, h3, h4 {
	color: var(--zh-text);
	line-height: 1.25;
}

a {
	color: var(--zh-primary);
}

a:hover {
	color: var(--zh-primary);
}

/* ---------- Buttons (Elementor and WooCommerce) ---------- */
.elementor-button,
.wp-block-button__link,
button,
input[type="submit"],
.button,
.ast-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit {
	background-color: var(--zh-primary);
	color: #fff;
	border-radius: 10px;
	transition: opacity .2s ease, transform .2s ease;
}

.elementor-button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	opacity: .92;
	color: #fff;
}

.btn-gold,
.elementor-button.btn-gold {
	background-color: var(--zh-gold);
	color: var(--zh-text);
}

.btn-outline {
	background: #fff;
	color: var(--zh-primary);
	border: 1px solid var(--zh-primary);
}

/* ---------- Cards and sections ---------- */
.zh-card {
	background: #fff;
	border: 1px solid var(--zh-line);
	border-radius: var(--zh-radius);
	box-shadow: var(--zh-shadow);
	padding: 20px;
}

.zh-section-soft {
	background: var(--zh-soft);
	border-radius: var(--zh-radius);
	padding: 32px 24px;
}

/* ---------- Header and navigation ---------- */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--zh-line);
}

.site-header a {
	color: var(--zh-text);
}

.site-header a:hover {
	color: var(--zh-primary);
}

.site-branding .site-title a {
	color: var(--zh-primary);
	font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
	background: #fff;
	border-top: 1px solid var(--zh-line);
	color: var(--zh-muted);
}

/* ---------- Forms ---------- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
	border: 1px solid #C9D3CD;
	border-radius: 10px;
	background: #fff;
	color: var(--zh-text);
}

input:focus,
textarea:focus,
select:focus {
	outline: 2px solid var(--zh-primary);
	outline-offset: 1px;
}

/* ---------- Accessibility ---------- */
.skip-link:focus {
	background: var(--zh-gold);
	color: var(--zh-text);
}

/* ---------- Print: certificates ---------- */
@media print {
	.site-header,
	.site-footer,
	.no-print {
		display: none !important;
	}
	body {
		background: #fff;
	}
}

/* ---------- Responsive ---------- */
img {
	max-width: 100%;
	height: auto;
}

@media (max-width: 600px) {
	.zh-section-soft {
		padding: 22px 16px;
	}
}
