/* =========================================================================
   Bharat Boghara — base tokens, resets, container, buttons, section heading
   CSS variables are injected from the Customizer (inc/enqueue.php).
   ========================================================================= */

:root {
	--bb-navy: #0E2148;
	--bb-navy-2: #16305F;
	--bb-navy-3: #1D3B6E;
	--bb-saffron: #E8952B;
	--bb-saffron-soft: #F6C177;
	/* Saffron is 2.4:1 on white — below AA. This darker shade (5.6:1) is used
	   for small text on light backgrounds; the brand saffron stays for fills,
	   icons, rules and text on navy (6.6:1). */
	--bb-saffron-ink: #96590A;
	--bb-cream: #FDF4E7;
	--bb-grey-bg: #F4F5F7;
	--bb-body: #4A5568;
	--bb-heading: #0E2148;
	--bb-border: #E6E8EC;
	--bb-white: #FFFFFF;
	--bb-font-gu: 'Noto Sans Gujarati', 'Poppins', system-ui, sans-serif;
	--bb-container: 1200px;

	--bb-radius-sm: 8px;
	--bb-radius: 12px;
	--bb-radius-lg: 16px;
	--bb-shadow-sm: 0 2px 10px rgba(14, 33, 72, .06);
	--bb-shadow: 0 10px 30px rgba(14, 33, 72, .08);
	--bb-shadow-lg: 0 18px 46px rgba(14, 33, 72, .14);
	--bb-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ reset */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body.bb-site {
	margin: 0;
	font-family: var(--bb-font-gu);
	font-size: 16px;
	line-height: 1.75;
	color: var(--bb-body);
	background: var(--bb-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

/* These are resets, so they are wrapped in :where() to carry ZERO specificity.
   Without it, `.bb-site h1` (0,1,1) outranks component rules like
   `.bb-hero__title` (0,1,0) and repaints headings on dark backgrounds; the same
   trap applies to `.bb-site a` versus the .bb-btn--* colour variants. */

:where(.bb-site) :where(h1, h2, h3, h4, h5, h6) {
	margin: 0 0 .5em;
	color: var(--bb-heading);
	font-weight: 700;
	line-height: 1.3;
}

:where(.bb-site) p {
	margin: 0 0 1em;
}

:where(.bb-site) a {
	color: inherit;
	text-decoration: none;
	transition: color .2s var(--bb-ease);
}

:where(.bb-site) img {
	max-width: 100%;
	height: auto;
	display: block;
}

:where(.bb-site) :where(ul, ol) {
	margin: 0;
	padding: 0;
}

:where(.bb-site) li {
	list-style: none;
}

:where(.bb-site) button {
	font: inherit;
	cursor: pointer;
	border: 0;
	background: none;
	color: inherit;
}

.bb-site :focus-visible {
	outline: 2px solid var(--bb-saffron);
	outline-offset: 3px;
	border-radius: 4px;
}

.bb-screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* -------------------------------------------------------------- container */

.bb-container {
	width: 100%;
	max-width: var(--bb-container);
	margin-inline: auto;
	padding-inline: 20px;
}

/* Elementor sections built with these widgets shouldn't double up padding. */
.elementor-widget-bb_hero .elementor-widget-container,
.elementor-widget-bb_topbar .elementor-widget-container,
.elementor-widget-bb_header .elementor-widget-container,
.elementor-widget-bb_footer .elementor-widget-container {
	padding: 0;
}

/* ---------------------------------------------------------------- helpers */

.bb-hl {
	color: var(--bb-saffron);
}

.bb-icon {
	width: 1em;
	height: 1em;
	flex: none;
}

/* ---------------------------------------------------------------- buttons */

.bb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color .22s var(--bb-ease), color .22s var(--bb-ease),
		border-color .22s var(--bb-ease), transform .22s var(--bb-ease), box-shadow .22s var(--bb-ease);
}

.bb-btn:hover {
	transform: translateY(-2px);
}

.bb-btn .bb-icon {
	width: 16px;
	height: 16px;
	transition: transform .22s var(--bb-ease);
}

.bb-btn:hover .bb-icon--arrow {
	transform: translateX(4px);
}

.bb-btn__play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: currentColor;
	flex: none;
}

.bb-btn__play .bb-icon {
	width: 10px;
	height: 10px;
	color: var(--bb-navy);
}

.bb-btn--primary {
	background: var(--bb-saffron);
	border-color: var(--bb-saffron);
	color: #fff;
	box-shadow: 0 6px 18px rgba(232, 149, 43, .28);
}

.bb-btn--primary:hover {
	background: #d4831c;
	border-color: #d4831c;
	color: #fff;
}

.bb-btn--navy {
	background: var(--bb-navy);
	border-color: var(--bb-navy);
	color: #fff;
}

.bb-btn--navy:hover {
	background: var(--bb-navy-2);
	border-color: var(--bb-navy-2);
	color: #fff;
}

.bb-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .55);
	color: #fff;
}

.bb-btn--ghost:hover {
	background: rgba(255, 255, 255, .12);
	border-color: #fff;
	color: #fff;
}

.bb-btn--ghost .bb-btn__play {
	background: #fff;
}

.bb-btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--bb-navy);
}

.bb-btn--light:hover {
	background: var(--bb-cream);
	border-color: var(--bb-cream);
}

.bb-btn--link {
	padding: 0;
	background: none;
	border: 0;
	color: var(--bb-saffron-ink);
}

.bb-btn--link:hover {
	transform: none;
	color: #d4831c;
}

.bb-btn--sm {
	padding: 9px 18px;
	font-size: 13.5px;
	gap: 7px;
}

.bb-btn--sm .bb-icon {
	width: 13px;
	height: 13px;
}

/* -------------------------------------------------------- section heading */

.bb-sec-head {
	margin-bottom: 38px;
}

.bb-sec-head__eyebrow {
	display: block;
	margin-bottom: 8px;
	color: var(--bb-saffron-ink);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .02em;
}

/* Block-level title with an inline accent rule, so the widget's alignment
   control (left / center / right) works without any per-variant override. */
.bb-sec-head__title {
	display: block;
	margin: 0;
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 700;
	color: var(--bb-heading);
	line-height: 1.3;
}

.bb-sec-head__title-text {
	display: inline;
	vertical-align: middle;
}

.bb-sec-head__rule {
	display: inline-block;
	width: 54px;
	height: 3px;
	margin-left: 16px;
	border-radius: 3px;
	background: var(--bb-saffron);
	vertical-align: middle;
}

.bb-sec-head__subtitle {
	margin: 12px 0 0;
	font-size: 15.5px;
	color: var(--bb-body);
}

.bb-sec-head__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--bb-navy);
	font-size: 14.5px;
	font-weight: 600;
	white-space: nowrap;
}

.bb-sec-head__link .bb-icon {
	width: 15px;
	height: 15px;
	transition: transform .22s var(--bb-ease);
}

.bb-sec-head__link:hover {
	color: var(--bb-saffron);
}

.bb-sec-head__link:hover .bb-icon {
	transform: translateX(4px);
}

/* heading + right-aligned "view all" link on one row */
.bb-sec-head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.bb-sec-head--row .bb-sec-head__main {
	flex: 1 1 auto;
	min-width: 0;
}

.bb-sec-head--compact {
	margin-bottom: 18px;
}

.bb-sec-head--compact .bb-sec-head__title {
	font-size: clamp(19px, 2vw, 22px);
}

.bb-sec-head--compact .bb-sec-head__rule {
	display: none;
}

.bb-sec-head--on-dark .bb-sec-head__title {
	color: #fff;
}

.bb-sec-head--on-dark .bb-sec-head__subtitle {
	color: rgba(255, 255, 255, .78);
}

/* ------------------------------------------------------ floating whatsapp */

.bb-wa-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	box-shadow: 0 8px 24px rgba(37, 211, 102, .38);
	transition: transform .22s var(--bb-ease);
}

.bb-wa-float:hover {
	transform: scale(1.07);
}

.bb-wa-float .bb-icon {
	width: 27px;
	height: 27px;
}

/* ---------------------------------------------------------- social icons */

.bb-socials {
	display: flex;
	align-items: center;
	gap: 6px;
}

.bb-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: inherit;
	opacity: .85;
	transition: opacity .2s var(--bb-ease), background-color .2s var(--bb-ease), transform .2s var(--bb-ease);
}

.bb-social .bb-icon {
	width: 14px;
	height: 14px;
}

.bb-social:hover {
	opacity: 1;
	background: rgba(255, 255, 255, .14);
	transform: translateY(-1px);
}

/* -------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
	.bb-site *,
	.bb-site *::before,
	.bb-site *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ------------------------------------------------------------ breakpoints */

@media (max-width: 1024px) {
	.bb-sec-head {
		margin-bottom: 30px;
	}
}

@media (max-width: 767px) {
	body.bb-site {
		font-size: 15px;
	}

	.bb-sec-head__title {
		font-size: 24px;
	}

	.bb-sec-head__rule {
		width: 36px;
		margin-left: 12px;
	}

	.bb-sec-head--row {
		align-items: flex-start;
	}

	.bb-btn {
		padding: 12px 22px;
		font-size: 14px;
	}
}

/* ================== Non-Elementor content (archives, single) ============= */

.bb-page {
	padding-block: 54px 70px;
}

.bb-page__title {
	font-size: clamp(26px, 3.4vw, 38px);
	margin-bottom: 24px;
}

.bb-page__content {
	font-size: 16px;
	line-height: 1.9;
}

.bb-page__content h2,
.bb-page__content h3 {
	margin-top: 1.6em;
}

.bb-page__content img {
	border-radius: var(--bb-radius);
}

.bb-single__head {
	margin-bottom: 22px;
}

.bb-single__date {
	color: var(--bb-saffron-ink);
	font-size: 14px;
	font-weight: 600;
}

.bb-single__media {
	margin-bottom: 28px;
	border-radius: var(--bb-radius);
	overflow: hidden;
}

/* Card, archive-grid and single styles live in posts-grid.css + content.css. */
.bb-404 {
	text-align: center;
	padding-block: 90px 110px;
}

.bb-404 .bb-page__title {
	font-size: clamp(64px, 12vw, 132px);
	color: var(--bb-saffron);
	line-height: 1;
}

.navigation.pagination {
	margin-top: 40px;
}

.navigation.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 12px;
	border: 1px solid var(--bb-border);
	border-radius: 8px;
	font-weight: 600;
	transition: background-color .2s var(--bb-ease), color .2s var(--bb-ease), border-color .2s var(--bb-ease);
}

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

/* ---------------------------------------------- accessible button variant */
/* White on saffron is 2.4:1 — below AA. Enabling "એક્સેસિબલ બટન ટેક્સ્ટ" in the
   Customizer adds this class, giving navy-on-saffron at 6.6:1 while keeping the
   brand colour. Off by default so the design matches the approved mockup. */

.bb-a11y-buttons .bb-btn--primary {
	color: var(--bb-navy);
}

.bb-a11y-buttons .bb-btn--primary:hover {
	background: var(--bb-saffron-soft);
	border-color: var(--bb-saffron-soft);
	color: var(--bb-navy);
}

.bb-a11y-buttons .bb-btn--primary .bb-btn__play .bb-icon {
	color: var(--bb-saffron);
}

/* ------------------------------------------------------------- skip link */

.bb-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 200;
	padding: 12px 22px;
	border-radius: 0 0 10px 10px;
	background: var(--bb-navy);
	color: #fff;
	font-size: 14.5px;
	font-weight: 600;
	transition: top .2s var(--bb-ease);
}

.bb-skip:focus {
	top: 0;
	color: #fff;
}
