/*
Theme Name: Bolghani
Theme URI: https://bolghani.com/
Description: Custom child theme for the Bolghani personal portfolio website.
Author: Taha Ebrahimi
Author URI: https://bolghani.com/
Template: hello-elementor
Version: 1.5.0
Text Domain: bolghani
*/

/* ==================================================
   01. Dana font family
================================================== */

@font-face {
	font-family: "Dana";
	src: url("assets/fonts/dana/Dana-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Dana";
	src: url("assets/fonts/dana/Dana-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Dana";
	src: url("assets/fonts/dana/Dana-DemiBold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Dana";
	src: url("assets/fonts/dana/Dana-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Dana";
	src: url("assets/fonts/dana/Dana-Black.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* ==================================================
   02. Global design tokens
================================================== */

:root {
	/* Brand colors */
	--bolghani-navy: #0a1d4d;
	--bolghani-blue: #2563d8;
	--bolghani-blue-dark: #1e52b8;
	--bolghani-blue-deep: #1749b7;
	--bolghani-gold: #d4a72c;

	/* Neutral colors */
	--bolghani-text: #667085;
	--bolghani-muted: #98a2b3;
	--bolghani-border: #dfe5ef;
	--bolghani-surface: #f8fafc;
	--bolghani-surface-alt: #f7f9fc;
	--bolghani-white: #ffffff;

	/* Shared layout */
	--bolghani-content-width: 90%;
	--bolghani-content-max: 90rem;
	--bolghani-section-space: 4rem;
	--bolghani-section-space-mobile: 3rem;

	/* Shape */
	--bolghani-radius-sm: 0.5rem;
	--bolghani-radius-md: 0.75rem;
	--bolghani-radius-lg: 1rem;
}

/* ==================================================
   03. Global reset and typography
================================================== */

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

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	direction: rtl;
	color: var(--bolghani-navy);
	background: var(--bolghani-white);
	font-family: "Dana", "Vazirmatn", sans-serif;
	font-weight: 400;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select,
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor,
.elementor-button {
	font-family: "Dana", "Vazirmatn", sans-serif;
}

img,
svg {
	max-width: 100%;
}

a {
	text-decoration: none;
}

/* ==================================================
   04. Shared content width
================================================== */

.bolghani-header__inner,
#hero-main,
#projects-inner,
#projects-value-inner,
#about-summary-inner,
#process-inner,
.bolghani-footer__cta-inner,
.bolghani-footer__main-inner,
.bolghani-footer__bottom {
	width: var(--bolghani-content-width) !important;
	max-width: var(--bolghani-content-max) !important;
	margin-inline: auto !important;
}

/* Outer Elementor sections must remain full width. */
#page-root,
#hero-section,
#projects,
#projects-value-section,
#about-summary-section,
#process-section {
	width: 100% !important;
	max-width: none !important;
	margin-inline: 0 !important;
	padding-inline: 0 !important;
}

/* Inner project elements already sit inside #projects-inner. */
#projects-header,
#featured-project-card,
#projects-cards-grid {
	width: 100% !important;
	max-width: none !important;
	margin-inline: 0 !important;
}

/* ==================================================
   05. Global header
================================================== */

.bolghani-header {
	position: fixed;
	inset-block-start: 0;
	inset-inline-start: 0;
	z-index: 1000;
	width: 100%;
	background: var(--bolghani-white);
	border-block-end: 0.0625rem solid var(--bolghani-border);
	transition:
		background-color 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		backdrop-filter 0.25s ease;
}

/* Transparent header at the top of the home page. */
body.home:not(.bolghani-page-scrolled) .bolghani-header {
	background: transparent;
	border-block-end-color: transparent;
	box-shadow: none;
}

/* Solid header after scrolling. */
body.bolghani-page-scrolled .bolghani-header {
	background: rgba(255, 255, 255, 0.96);
	border-block-end-color: var(--bolghani-border);
	box-shadow: 0 0.35rem 1rem rgba(10, 29, 77, 0.08);
	-webkit-backdrop-filter: blur(0.625rem);
	backdrop-filter: blur(0.625rem);
}

/* Reserve header space on internal pages. */
body:not(.home) {
	padding-block-start: 5rem;
}

/* Offset the header below the WordPress admin bar. */
body.admin-bar .bolghani-header {
	inset-block-start: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .bolghani-header {
		inset-block-start: 46px;
	}
}


.bolghani-header__inner {
	min-height: 5rem;
	padding-block: 0.75rem;
	display: grid;
	grid-template-columns: 20% 1fr auto;
	align-items: center;
	column-gap: 1.25rem;
	direction: rtl;
}

.bolghani-header__brand,
.bolghani-header__action {
	display: flex;
	align-items: center;
}

.bolghani-header__brand {
	justify-content: flex-start;
}

.bolghani-header__action {
	justify-content: flex-end;
}

.bolghani-header__brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.bolghani-header__brand .custom-logo {
	width: 10rem;
	height: auto;
	max-width: 100%;
}

.bolghani-header__navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.bolghani-header__menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bolghani-header__menu li {
	position: relative;
	margin: 0;
	padding: 0;
}

.bolghani-header__menu a {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding-block: 0.6rem;
	color: var(--bolghani-navy);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.5;
	transition: color 0.2s ease;
}

.bolghani-header__menu a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0.15rem;
	width: 0;
	height: 0.125rem;
	margin-inline: auto;
	border-radius: 1rem;
	background: var(--bolghani-blue);
	transition: width 0.2s ease;
}

.bolghani-header__menu a:hover,
.bolghani-header__menu .current-menu-item > a,
.bolghani-header__menu .current-menu-parent > a,
.bolghani-header__menu .current-menu-ancestor > a,
.bolghani-header__menu .current_page_parent > a,
.bolghani-header__menu .current_page_ancestor > a {
	color: var(--bolghani-blue);
}

.bolghani-header__menu a:hover::after,
.bolghani-header__menu .current-menu-item > a::after,
.bolghani-header__menu .current-menu-parent > a::after,
.bolghani-header__menu .current-menu-ancestor > a::after,
.bolghani-header__menu .current_page_parent > a::after,
.bolghani-header__menu .current_page_ancestor > a::after {
	width: 100%;
}

.bolghani-header__menu .current-menu-item > a,
.bolghani-header__menu .current-menu-parent > a,
.bolghani-header__menu .current-menu-ancestor > a,
.bolghani-header__menu .current_page_parent > a,
.bolghani-header__menu .current_page_ancestor > a {
	font-weight: 700;
}

/* Keep Projects active on project child pages. */
body.page-child .bolghani-header__menu a[href*="/projects/"] {
	color: var(--bolghani-blue);
	font-weight: 700;
}

body.page-child .bolghani-header__menu a[href*="/projects/"]::after {
	width: 100%;
}

.bolghani-header__contact-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 3rem;
	padding-inline: 1.35rem;
	border: 0.0625rem solid var(--bolghani-blue);
	border-radius: var(--bolghani-radius-sm);
	background: var(--bolghani-blue);
	color: var(--bolghani-white);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.bolghani-header__contact-button svg {
	width: 1.1rem;
	height: 1.1rem;
	flex: 0 0 auto;
	stroke: currentColor;
}

.bolghani-header__contact-button:hover,
.bolghani-header__contact-button:focus-visible {
	background: var(--bolghani-blue-dark);
	border-color: var(--bolghani-blue-dark);
	color: var(--bolghani-white);
	transform: translateY(-0.0625rem);
}

/* ==================================================
   06. Hero
================================================== */

#hero-section {
	overflow: hidden;
}

.hero-title__highlight {
	color: var(--bolghani-blue);
}

#hero-description {
	max-width: 32rem;
	color: var(--bolghani-text);
	font-size: 1.1rem;
	font-weight: 400;
	line-height: 2;
}

#hero-description p {
	margin: 0;
}

#hero-projects-button .elementor-button,
#hero-about-button .elementor-button {
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

#hero-projects-button .elementor-button:hover,
#hero-projects-button .elementor-button:focus-visible {
	background-color: var(--bolghani-blue-dark);
	border-color: var(--bolghani-blue-dark);
	color: var(--bolghani-white);
	box-shadow: 0 0.5rem 1rem rgba(37, 99, 216, 0.18);
	transform: translateY(-0.125rem);
}

#hero-about-button .elementor-button:hover,
#hero-about-button .elementor-button:focus-visible {
	background-color: rgba(37, 99, 216, 0.07);
	border-color: var(--bolghani-blue);
	color: var(--bolghani-blue);
	box-shadow: 0 0.4rem 0.9rem rgba(10, 29, 77, 0.08);
	transform: translateY(-0.125rem);
}

#hero-projects-button .elementor-button-icon,
#hero-about-button .elementor-button-icon {
	transition: transform 0.2s ease;
}

#hero-projects-button .elementor-button:hover .elementor-button-icon,
#hero-projects-button .elementor-button:focus-visible .elementor-button-icon,
#hero-about-button .elementor-button:hover .elementor-button-icon,
#hero-about-button .elementor-button:focus-visible .elementor-button-icon {
	transform: translateX(-0.125rem);
}

/* ==================================================
   07. Projects section
================================================== */

/* Featured status badge */
#transys-status,
#transys-status .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: none;
	white-space: nowrap;
}

/* Featured content column */
#featured-project-content {
	width: 54%;
	align-items: stretch;
}

#featured-project-content > .e-con-inner,
#featured-project-content > .elementor-element {
	width: 100%;
}

/* Featured description */
#transys-description {
	width: 100%;
	max-width: none;
	color: var(--bolghani-text);
	font-size: 1rem;
	font-weight: 400;
	line-height: 2;
}

#transys-description .elementor-widget-container,
#transys-description p {
	width: 100%;
	margin: 0;
	direction: rtl;
	text-align: justify !important;
	text-align-last: right;
}

/* Featured tags */
#transys-features {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.5rem;
	width: 100%;
}

#transys-features .project-feature-tag {
	width: auto;
	flex: 0 0 auto;
	margin: 0;
}

#transys-features .project-feature-tag .elementor-widget-container {
	display: inline-flex;
}

#transys-features .project-feature-tag .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	margin: 0;
	padding: 0.5rem 0.8rem;
	border: 0.0625rem solid #e1e7f0;
	border-radius: 2rem;
	background: var(--bolghani-surface-alt);
	color: var(--bolghani-navy);
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
}

/* Featured action */
#transys-project-button {
	width: auto !important;
	align-self: flex-start;
	margin-block-start: 0.5rem;
}

#transys-project-button .elementor-widget-container,
#transys-project-button .elementor-button-wrapper {
	display: inline-flex;
}

#transys-project-button .elementor-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: auto !important;
	min-width: 0 !important;
	min-height: 2.9rem;
	padding: 0.75rem 1.15rem !important;
	border: 0.0625rem solid var(--bolghani-blue) !important;
	border-radius: var(--bolghani-radius-md) !important;
	background: var(--bolghani-white) !important;
	color: var(--bolghani-blue) !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	white-space: nowrap;
	box-shadow: none !important;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

#transys-project-button .elementor-button-icon,
#transys-project-button .elementor-button-icon i,
#transys-project-button .elementor-button-icon svg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	color: var(--bolghani-blue) !important;
	fill: currentColor !important;
	stroke: currentColor !important;
	transition: transform 0.2s ease;
}

#transys-project-button .elementor-button:hover,
#transys-project-button .elementor-button:focus-visible {
	background: var(--bolghani-blue) !important;
	border-color: var(--bolghani-blue) !important;
	color: var(--bolghani-white) !important;
	box-shadow: 0 0.65rem 1.25rem rgba(37, 99, 216, 0.22) !important;
	transform: translateY(-0.125rem);
}

#transys-project-button .elementor-button:hover .elementor-button-icon,
#transys-project-button .elementor-button:hover .elementor-button-icon i,
#transys-project-button .elementor-button:hover .elementor-button-icon svg,
#transys-project-button .elementor-button:focus-visible .elementor-button-icon,
#transys-project-button .elementor-button:focus-visible .elementor-button-icon i,
#transys-project-button .elementor-button:focus-visible .elementor-button-icon svg {
	color: var(--bolghani-white) !important;
	fill: currentColor !important;
	stroke: currentColor !important;
	transform: translateX(-0.125rem);
}

/* Status badges */
.project-status-badge {
	width: fit-content !important;
	max-width: max-content !important;
	flex: 0 0 auto !important;
}

.project-status-badge .elementor-widget-container {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	max-width: max-content !important;
	padding: 0.35rem 0.75rem !important;
	border: 0.0625rem solid #bbf7d0;
	border-radius: var(--bolghani-radius-sm);
	background: #ecfdf3;
	color: #15803d;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

.project-status-badge p {
	margin: 0 !important;
	padding: 0 !important;
	color: inherit !important;
	background: transparent !important;
}

.project-status-badge.status-completed .elementor-widget-container {
	color: #15803d !important;
	background: #ecfdf3 !important;
	border-color: #bbf7d0 !important;
}

.project-status-badge.status-in-progress .elementor-widget-container,
#tracknsave-status .elementor-widget-container {
	color: #1d4ed8 !important;
	background: #eff6ff !important;
	border-color: #bfdbfe !important;
}

/* Small project links */
.elementor-widget-button.project-card-link {
	width: fit-content !important;
	max-width: max-content !important;
	flex: 0 0 auto !important;
	align-self: flex-start !important;
}

.elementor-widget-button.project-card-link .elementor-widget-container,
.elementor-widget-button.project-card-link .elementor-button-wrapper {
	width: fit-content !important;
}

.elementor-widget-button.project-card-link .elementor-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: flex-start;
	gap: 0.5rem;
	width: auto !important;
	min-width: 0 !important;
	padding: 0 !important;
	color: #2563eb !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.5;
}

.elementor-widget-button.project-card-link .elementor-button-content-wrapper {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.elementor-widget-button.project-card-link .elementor-button-icon {
	display: inline-flex;
	align-items: center;
	font-size: 0.875rem;
	transition: transform 0.2s ease;
}

.elementor-widget-button.project-card-link .elementor-button:hover {
	color: var(--bolghani-navy) !important;
}

.elementor-widget-button.project-card-link .elementor-button:hover .elementor-button-icon {
	transform: translateX(-0.2rem);
}

/* Three-card grid */
#projects-cards-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 1.5rem;
	width: 100% !important;
	margin: 1.75rem 0 0 !important;
	padding: 0 !important;
}

#projects-cards-grid > .project-card {
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	height: 100%;
	margin: 0 !important;
}


/* ==================================================
   08. Projects value section
================================================== */

#projects-value-section {
	margin: 0 !important;
	padding-block: 3.5rem !important;
	background: var(--bolghani-surface);
}

#projects-value-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0 !important;
	padding: 0 !important;
}

/* Section eyebrow */
#projects-value-inner > .elementor-element:first-child,
#projects-value-inner > .elementor-element:first-child *,
#projects-value-inner .projects-value-eyebrow,
#projects-value-inner .projects-value-eyebrow * {
	margin: 0 auto !important;
	color: var(--bolghani-blue) !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	line-height: 1.6 !important;
	text-align: center !important;
}

/* Section title */
#projects-value-inner > .elementor-element:nth-child(2) {
	margin: 0.5rem 0 2rem !important;
	text-align: center;
}

#projects-value-inner > .elementor-element:nth-child(2),
#projects-value-inner > .elementor-element:nth-child(2) *,
#projects-value-inner > .elementor-element:nth-child(2) .elementor-heading-title {
	color: var(--bolghani-navy) !important;
}

#projects-value-inner > .elementor-element:nth-child(2) .elementor-heading-title {
	margin: 0;
	font-size: clamp(1.65rem, 2.35vw, 2.1rem) !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
}

#projects-value-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 1.25rem !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

#projects-value-grid > .projects-value-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0.75rem;
	width: 100% !important;
	min-width: 0;
	min-height: 100%;
	margin: 0 !important;
	padding: 1.85rem 1.5rem !important;
	overflow: hidden;
	border: 0.0625rem solid #e1e7f0;
	border-radius: var(--bolghani-radius-lg);
	background: var(--bolghani-white);
	text-align: center;
	box-shadow: 0 0.4rem 1.2rem rgba(10, 29, 77, 0.03);
	transition:
		border-color 0.22s ease,
		box-shadow 0.22s ease,
		transform 0.22s ease,
		background-color 0.22s ease;
}

#projects-value-grid > .projects-value-item::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 0.2rem;
	background: var(--bolghani-blue);
	opacity: 0;
	transform: scaleX(0.35);
	transition:
		opacity 0.22s ease,
		transform 0.22s ease;
}

#projects-value-grid > .projects-value-item:hover,
#projects-value-grid > .projects-value-item:focus-within {
	border-color: #c8d5e8;
	background: #fbfdff;
	box-shadow: 0 0.95rem 2rem rgba(10, 29, 77, 0.08);
	transform: translateY(-0.2rem);
}

#projects-value-grid > .projects-value-item:hover::before,
#projects-value-grid > .projects-value-item:focus-within::before {
	opacity: 1;
	transform: scaleX(1);
}

.projects-value-icon {
	margin: 0 !important;
}

.projects-value-icon .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.35rem;
	height: 3.35rem;
	padding: 0 !important;
	border: 0.0625rem solid #dbeafe;
	border-radius: 0.9rem;
	background: #eff6ff;
	color: var(--bolghani-blue) !important;
	font-size: 1.3rem;
	transition:
		background-color 0.22s ease,
		border-color 0.22s ease,
		color 0.22s ease,
		transform 0.22s ease;
}

.projects-value-icon .elementor-icon i,
.projects-value-icon .elementor-icon svg,
.projects-value-icon .elementor-icon svg * {
	color: inherit !important;
	fill: currentColor !important;
	stroke: currentColor !important;
}

#projects-value-grid > .projects-value-item:hover .projects-value-icon .elementor-icon,
#projects-value-grid > .projects-value-item:focus-within .projects-value-icon .elementor-icon {
	background: var(--bolghani-blue);
	border-color: var(--bolghani-blue);
	color: var(--bolghani-white) !important;
	transform: translateY(-0.1rem) scale(1.04);
}

#projects-value-grid .elementor-heading-title {
	margin: 0;
	color: var(--bolghani-navy) !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	line-height: 1.7 !important;
}

#projects-value-grid .elementor-widget-text-editor,
#projects-value-grid .elementor-widget-text-editor * {
	color: var(--bolghani-text) !important;
	font-size: 0.925rem !important;
	font-weight: 400 !important;
	line-height: 1.9 !important;
}

#projects-value-grid .elementor-widget-text-editor p {
	max-width: 22rem;
	margin: 0 auto !important;
}

/* ==================================================
   09. About summary
================================================== */

#about-summary-section {
	padding-block: 3.25rem !important;
	background: var(--bolghani-white);
}

#about-summary-inner {
	display: grid !important;
	grid-template-columns: 14% minmax(0, 1fr) 22%;
	align-items: center;
	gap: 2rem;
	padding: 2rem !important;
	border: 0.0625rem solid #e4e9f1;
	border-radius: var(--bolghani-radius-lg);
	background: var(--bolghani-surface-alt);
}

#about-summary-inner > .elementor-element {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

.about-summary-button .elementor-button {
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.about-summary-button .elementor-button-icon,
.about-summary-button .elementor-button-icon i,
.about-summary-button .elementor-button-icon svg {
	color: var(--bolghani-blue) !important;
	fill: currentColor !important;
	stroke: currentColor !important;
	transition: transform 0.2s ease;
}

.about-summary-button .elementor-button:hover,
.about-summary-button .elementor-button:focus-visible {
	background: var(--bolghani-blue) !important;
	border-color: var(--bolghani-blue) !important;
	color: var(--bolghani-white) !important;
	box-shadow: 0 0.5rem 1rem rgba(37, 99, 216, 0.18);
	transform: translateY(-0.125rem);
}

.about-summary-button .elementor-button:hover .elementor-button-icon,
.about-summary-button .elementor-button:hover .elementor-button-icon i,
.about-summary-button .elementor-button:hover .elementor-button-icon svg,
.about-summary-button .elementor-button:focus-visible .elementor-button-icon,
.about-summary-button .elementor-button:focus-visible .elementor-button-icon i,
.about-summary-button .elementor-button:focus-visible .elementor-button-icon svg {
	color: var(--bolghani-white) !important;
	fill: currentColor !important;
	stroke: currentColor !important;
	transform: translateX(-0.125rem);
}

/* ==================================================
   10. Process section
================================================== */

#process-section {
	margin: 0 !important;
	padding-block: 3.5rem !important;
	background: var(--bolghani-white);
}

#process-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0 !important;
	padding: 0 !important;
}

#process-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem !important;
	width: 100% !important;
	margin: 0 0 2.5rem !important;
	padding: 0 !important;
	text-align: center;
}

/* Section eyebrow */
#process-header > .elementor-element:first-child,
#process-header > .elementor-element:first-child * {
	margin: 0 !important;
	color: var(--bolghani-blue) !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	line-height: 1.6 !important;
}

/* Section title */
#process-header > .elementor-element:nth-child(2),
#process-header > .elementor-element:nth-child(2) *,
#process-header > .elementor-element:nth-child(2) .elementor-heading-title {
	color: var(--bolghani-navy) !important;
}

#process-header > .elementor-element:nth-child(2) {
	margin: 0 !important;
}

#process-header > .elementor-element:nth-child(2) .elementor-heading-title {
	margin: 0;
	font-size: clamp(1.65rem, 2.35vw, 2.1rem) !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
}

#process-header > .elementor-element:nth-child(3),
#process-header > .elementor-element:nth-child(3) * {
	max-width: 42rem;
	margin: 0 !important;
	color: var(--bolghani-text) !important;
	font-size: 0.95rem !important;
	line-height: 1.9 !important;
}

/* Four-stage visual journey */
#process-steps {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	gap: 2rem !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible;
}

#process-steps > .process-step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0.65rem !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	text-align: center;
	box-shadow: none !important;
}

/* Short connector only between neighboring steps */
#process-steps > .process-step:not(:last-child)::after {
	content: "";
	position: absolute;
	inset-block-start: 2rem;
	inset-inline-end: calc(-50% - 1rem);
	width: calc(100% + 2rem);
	height: 0.125rem;
	background:
		linear-gradient(
			90deg,
			rgba(37, 99, 216, 0.18),
			rgba(37, 99, 216, 0.6),
			rgba(37, 99, 216, 0.18)
		);
	z-index: 0;
}

/* Number and icon are grouped visually */
.process-step__number {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem !important;
	height: 2.1rem;
	margin: 0 !important;
	padding: 0 !important;
	border: 0.25rem solid var(--bolghani-white);
	border-radius: 50%;
	background: var(--bolghani-blue);
	color: var(--bolghani-white) !important;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 0 0 0.0625rem rgba(37, 99, 216, 0.22);
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease;
}

.process-step__number,
.process-step__number *,
.process-step__number .elementor-heading-title {
	color: var(--bolghani-white) !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
}

.process-step__icon {
	position: relative;
	z-index: 2;
	margin: 0.2rem 0 0 !important;
}

.process-step__icon .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.35rem;
	height: 4.35rem;
	padding: 0 !important;
	border: 0.0625rem solid #dbeafe;
	border-radius: 50%;
	background: var(--bolghani-white);
	color: var(--bolghani-blue) !important;
	font-size: 1.55rem;
	box-shadow:
		0 0 0 0.55rem #f4f7fc,
		0 0.7rem 1.6rem rgba(10, 29, 77, 0.08);
	transition:
		background-color 0.22s ease,
		border-color 0.22s ease,
		color 0.22s ease,
		transform 0.22s ease,
		box-shadow 0.22s ease;
}

.process-step__icon .elementor-icon i,
.process-step__icon .elementor-icon svg,
.process-step__icon .elementor-icon svg * {
	color: inherit !important;
	fill: currentColor !important;
	stroke: currentColor !important;
}

#process-steps > .process-step:hover .process-step__number,
#process-steps > .process-step:focus-within .process-step__number {
	transform: translateY(-0.1rem);
	box-shadow:
		0 0 0 0.0625rem rgba(37, 99, 216, 0.3),
		0 0.45rem 1rem rgba(37, 99, 216, 0.18);
}

#process-steps > .process-step:hover .process-step__icon .elementor-icon,
#process-steps > .process-step:focus-within .process-step__icon .elementor-icon {
	background: var(--bolghani-blue);
	border-color: var(--bolghani-blue);
	color: var(--bolghani-white) !important;
	transform: translateY(-0.18rem) scale(1.04);
	box-shadow:
		0 0 0 0.55rem #eef4ff,
		0 0.95rem 1.8rem rgba(37, 99, 216, 0.2);
}

.process-step__title {
	margin: 0.65rem 0 0 !important;
}

.process-step__title,
.process-step__title *,
.process-step__title .elementor-heading-title {
	color: var(--bolghani-navy) !important;
}

.process-step__title .elementor-heading-title {
	margin: 0;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	line-height: 1.65 !important;
}

.process-step__description,
.process-step__description * {
	max-width: 18rem;
	margin: 0 !important;
	color: var(--bolghani-text) !important;
	font-size: 0.875rem !important;
	line-height: 1.9 !important;
}

/* ==================================================
   11. Footer CTA
================================================== */


.bolghani-footer {
	width: 100%;
	margin: 0;
	padding: 0;
	background: var(--bolghani-white);
	color: var(--bolghani-navy);
}

.bolghani-footer__cta {
	width: 100%;
	padding-block: 3rem 1.75rem;
	background: var(--bolghani-white);
}

.bolghani-footer__cta-inner {
	min-height: 13.5rem;
	padding: 0;
	display: grid;
	grid-template-columns: 62% 38%;
	grid-template-areas: "content visual";
	align-items: stretch;
	direction: rtl;
	overflow: hidden;
	border-radius: var(--bolghani-radius-lg);
	background: linear-gradient(
		100deg,
		#2b65d8 0%,
		#2458c4 55%,
		var(--bolghani-blue-deep) 100%
	);
}

.bolghani-footer__cta-content {
	grid-area: content;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.75rem;
	padding: 2.25rem 3rem;
	color: var(--bolghani-white);
	text-align: right;
}

.bolghani-footer__cta-visual {
	grid-area: visual;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	direction: ltr;
	padding-inline-start: 3rem;
	overflow: hidden;
}

.bolghani-footer__cta-visual img {
	display: block;
	width: 76%;
	max-width: 100%;
	max-height: 11.5rem;
	height: auto;
	margin: 0;
	object-fit: contain;
	object-position: left bottom;
}

.bolghani-footer__cta-title {
	margin: 0;
	color: var(--bolghani-white);
	font-size: clamp(1.55rem, 2.2vw, 2.05rem);
	font-weight: 700;
	line-height: 1.5;
}

.bolghani-footer__cta-text {
	max-width: 38rem;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.975rem;
	font-weight: 400;
	line-height: 1.9;
}

.bolghani-footer__cta-actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 0.75rem;
	margin-block-start: 0.5rem;
}

.bolghani-footer__cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex: 0 0 auto;
	width: auto;
	min-height: 3rem;
	padding-inline: 1.35rem;
	border: 0.0625rem solid transparent;
	border-radius: var(--bolghani-radius-sm);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.bolghani-footer__cta-button svg {
	width: 1rem;
	height: 1rem;
	flex: 0 0 1rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.2s ease;
}

.bolghani-footer__cta-button--primary {
	background: var(--bolghani-white);
	border-color: var(--bolghani-white);
	color: var(--bolghani-blue-deep);
}

.bolghani-footer__cta-button--secondary {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.65);
	color: var(--bolghani-white);
}

.bolghani-footer__cta-button:hover,
.bolghani-footer__cta-button:focus-visible {
	transform: translateY(-0.0625rem);
}

.bolghani-footer__cta-button:hover svg,
.bolghani-footer__cta-button:focus-visible svg {
	transform: translateX(-0.125rem);
}

.bolghani-footer__cta-button--primary:hover,
.bolghani-footer__cta-button--primary:focus-visible {
	background: #f1f5ff;
	border-color: #f1f5ff;
	color: var(--bolghani-blue-deep);
}

.bolghani-footer__cta-button--secondary:hover,
.bolghani-footer__cta-button--secondary:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--bolghani-white);
	color: var(--bolghani-white);
}

/* ==================================================
   12. Minimal main footer
================================================== */

.bolghani-footer__main {
	width: 100%;
	margin: 0;
	padding-block: 1.5rem 1rem;
	background: var(--bolghani-surface-alt);
	border-block-start: 0.0625rem solid #e5eaf2;
}

.bolghani-footer__main-inner--minimal {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 0;
	direction: rtl;
}

.bolghani-footer__column {
	min-width: 0;
}

.bolghani-footer__column--brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.bolghani-footer__brand {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 0 0 0.65rem;
}

.bolghani-footer__brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.bolghani-footer__brand .custom-logo {
	width: 8rem;
	max-width: 100%;
	height: auto;
}

.bolghani-footer__brand-title {
	color: var(--bolghani-navy);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.4;
}

.bolghani-footer__brand-text {
	max-width: 22rem;
	margin: 0;
	color: var(--bolghani-text);
	font-size: 0.875rem;
	line-height: 1.9;
}


/* Footer content groups keep related items visually together. */
.bolghani-footer__group {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	min-width: 0;
	padding-inline: 2rem;
}

.bolghani-footer__column--brand {
	padding-inline: 2rem;
}

.bolghani-footer__main-inner--minimal > *:not(:last-child) {
	border-inline-end: 0.0625rem solid #e1e6ef;
}

.bolghani-footer__group--navigation,
.bolghani-footer__group--social {
	align-items: center;
}

.bolghani-footer__group-title {
	margin: 0 0 0.6rem;
	color: var(--bolghani-navy);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.5;
}



/* Quick navigation with compact icons and labels. */
.bolghani-footer__quick-links {
	display: grid;
	grid-template-columns: repeat(4, auto);
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
}

.bolghani-footer__quick-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.5rem;
	padding-inline: 0.6rem;
	border-radius: var(--bolghani-radius-sm);
	color: var(--bolghani-text);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.5;
	white-space: nowrap;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.bolghani-footer__quick-links a:hover,
.bolghani-footer__quick-links a:focus-visible {
	background: var(--bolghani-white);
	color: var(--bolghani-blue);
	transform: translateY(-0.0625rem);
}

.bolghani-footer__quick-links svg {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
	flex: 0 0 1.15rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Social links remain compact and visually balanced. */
.bolghani-footer__socials--minimal {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.9rem;
	margin: 0;
	direction: rtl;
}

.bolghani-footer__social-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.5rem;
	color: var(--bolghani-text);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.5;
	white-space: nowrap;
	transition:
		color 0.2s ease,
		transform 0.2s ease;
}

.bolghani-footer__social-item:hover,
.bolghani-footer__social-item:focus-visible {
	color: var(--bolghani-blue);
	transform: translateY(-0.0625rem);
}

.bolghani-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	flex: 0 0 2.35rem;
	border: 0.0625rem solid var(--bolghani-border);
	border-radius: var(--bolghani-radius-sm);
	background: var(--bolghani-white);
	color: var(--bolghani-navy);
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.bolghani-footer__social-link svg {
	display: block;
	width: 1.1rem;
	height: 1.1rem;
	max-width: 1.1rem;
	max-height: 1.1rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bolghani-footer__social-item:hover .bolghani-footer__social-link,
.bolghani-footer__social-item:focus-visible .bolghani-footer__social-link {
	background: var(--bolghani-blue);
	border-color: var(--bolghani-blue);
	color: var(--bolghani-white);
}

.bolghani-footer__bottom {
	margin-block-start: 1.25rem !important;
	padding-block-start: 1rem;
	border-block-start: 0.0625rem solid #e1e6ef;
}

.bolghani-footer__copyright {
	margin: 0;
	color: var(--bolghani-muted);
	font-size: 0.8rem;
	line-height: 1.7;
	text-align: center;
}

/* ==================================================
   13. Mobile navigation toggle
================================================== */

.bolghani-header__toggle {
	display: none;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0.65rem;
	border: 0.0625rem solid var(--bolghani-border);
	border-radius: 0.625rem;
	background: var(--bolghani-white);
	color: var(--bolghani-navy);
	cursor: pointer;
	box-shadow: none;
	-webkit-tap-highlight-color: transparent;
}

.bolghani-header__toggle span {
	display: block;
	width: 100%;
	height: 0.125rem;
	margin-block: 0.25rem;
	border-radius: 1rem;
	background: var(--bolghani-navy);
	transition:
		transform 0.2s ease,
		opacity 0.2s ease;
}

.bolghani-header__toggle:hover,
.bolghani-header__toggle:focus,
.bolghani-header__toggle:active,
.bolghani-header__toggle[aria-expanded="true"] {
	background: var(--bolghani-white);
	border-color: var(--bolghani-border);
	color: var(--bolghani-navy);
	box-shadow: none;
}

.bolghani-header__toggle:focus-visible {
	outline: 0.125rem solid var(--bolghani-blue);
	outline-offset: 0.125rem;
}

/* ==================================================
   14. Accessible focus states
================================================== */

.bolghani-header__contact-button:focus-visible,
#hero-projects-button .elementor-button:focus-visible,
#hero-about-button .elementor-button:focus-visible,
#transys-project-button .elementor-button:focus-visible,
.about-summary-button .elementor-button:focus-visible,
.bolghani-footer__cta-button:focus-visible,
#process-steps > .process-step:focus-within,
.bolghani-footer__social-item:focus-visible,
.bolghani-footer__quick-links a:focus-visible {
	outline: 0.125rem solid rgba(37, 99, 216, 0.3);
	outline-offset: 0.1875rem;
}

/* ==================================================
   15. Tablet
================================================== */

@media (max-width: 64rem) {
	.bolghani-header__inner {
		grid-template-columns: 18% 1fr auto;
		column-gap: 1rem;
	}

	.bolghani-header__brand .custom-logo {
		width: 8.5rem;
	}

	.bolghani-header__menu {
		gap: 1.15rem;
	}

	.bolghani-header__menu a,
	.bolghani-header__contact-button {
		font-size: 0.88rem;
	}

	#projects-cards-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#projects-value-grid {
		gap: 1rem !important;
	}

	#projects-value-grid > .projects-value-item {
		padding: 1.5rem 1.1rem !important;
	}

	#process-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.5rem 1.5rem !important;
	}

	#process-steps > .process-step {
		padding: 0 1.25rem !important;
	}

	#process-steps > .process-step::after {
		display: none !important;
	}

	#process-steps > .process-step:nth-child(-n + 2) {
		padding-block-end: 1.75rem !important;
		border-block-end: 0.0625rem solid #e6ebf2 !important;
	}

	.process-step__description,
	.process-step__description * {
		font-size: 0.85rem !important;
	}

	.bolghani-footer__cta-inner {
		grid-template-columns: 60% 40%;
	}

	.bolghani-footer__cta-content {
		padding: 2rem;
	}

	.bolghani-footer__main-inner--minimal {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas:
			"brand links"
			"social social";
		gap: 0;
	}

	.bolghani-footer__main-inner--minimal > * {
		padding: 1.5rem;
		border-inline-end: 0;
	}

	.bolghani-footer__main-inner--minimal > *:nth-child(1) {
		border-inline-end: 0.0625rem solid #e1e6ef;
	}

	.bolghani-footer__group--social {
		border-block-start: 0.0625rem solid #e1e6ef;
	}

	.bolghani-footer__column--brand {
		grid-area: brand;
	}

	.bolghani-footer__group--navigation {
		grid-area: links;
	}

	.bolghani-footer__group--social {
		grid-area: social;
		align-items: center;
		text-align: center;
	}


	.bolghani-footer__socials--minimal {
		justify-content: center;
	}
}

/* ==================================================
   16. Mobile
================================================== */

@media (max-width: 48rem) {
	.bolghani-header__inner,
	#hero-main,
	#projects-inner,
	#projects-value-inner,
	#about-summary-inner,
	#process-inner,
	.bolghani-footer__cta-inner,
	.bolghani-footer__main-inner,
	.bolghani-footer__bottom {
		width: 92% !important;
		max-width: none !important;
	}

	/* Mobile header uses a single-row layout. */
	.bolghani-header__inner {
		min-height: 4.5rem;
		grid-template-columns: auto 1fr auto;
		grid-template-areas: none;
		column-gap: 0.75rem;
		row-gap: 0;
	}

	.bolghani-header__toggle {
		display: block;
		order: 3;
	}

	.bolghani-header__brand {
		order: 2;
	}

	.bolghani-header__action {
		order: 1;
	}

	.bolghani-header__brand .custom-logo {
		width: 7.5rem;
	}

	.bolghani-header__navigation {
		position: absolute;
		inset-block-start: 100%;
		inset-inline: 4%;
		display: none;
		max-height: calc(100vh - 6rem);
		padding: 0.75rem;
		overflow-y: auto;
		border: 0.0625rem solid var(--bolghani-border);
		border-radius: var(--bolghani-radius-md);
		background: var(--bolghani-white);
		box-shadow: 0 0.75rem 2rem rgba(10, 29, 77, 0.12);
	}

	.bolghani-header__navigation.is-open {
		display: block;
	}

	.bolghani-header__menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
		overflow: visible;
		padding: 0;
	}

	.bolghani-header__menu a {
		display: flex;
		width: 100%;
		padding: 0.8rem 0.75rem;
		font-size: 0.85rem;
	}

	.bolghani-header__contact-button {
		min-height: 2.75rem;
		padding-inline: 0.9rem;
		font-size: 0.82rem;
	}

	.bolghani-header__toggle[aria-expanded="true"] span:nth-child(1) {
		transform: translateY(0.375rem) rotate(45deg);
	}

	.bolghani-header__toggle[aria-expanded="true"] span:nth-child(2) {
		opacity: 0;
	}

	.bolghani-header__toggle[aria-expanded="true"] span:nth-child(3) {
		transform: translateY(-0.375rem) rotate(-45deg);
	}

	#projects-cards-grid,
	#projects-value-grid,
	#process-steps {
		grid-template-columns: 1fr;
	}

	#projects-value-section {
		padding-block: 2.5rem !important;
	}

	#projects-value-inner > :nth-child(2) {
		margin-block-end: 1.5rem !important;
	}

	#projects-value-grid {
		gap: 1rem !important;
	}

	#projects-value-grid > .projects-value-item {
		padding: 1.5rem 1.25rem !important;
	}

	#process-section {
		padding-block: 2.5rem !important;
	}

	#process-header {
		margin-block-end: 2rem !important;
	}

	#process-steps {
		position: relative;
		gap: 1.5rem !important;
		padding-inline-start: 0 !important;
	}

	#process-steps::before {
		content: "";
		position: absolute;
		inset-block: 1rem;
		inset-inline-end: 1.05rem;
		width: 0.125rem;
		background:
			linear-gradient(
				to bottom,
				rgba(37, 99, 216, 0.18),
				rgba(37, 99, 216, 0.58),
				rgba(37, 99, 216, 0.18)
			);
	}

	#process-steps > .process-step {
		display: grid;
		grid-template-columns: 2.2rem minmax(0, 1fr);
		grid-template-areas:
			"number icon"
			"number title"
			"number description";
		align-items: start;
		justify-items: start;
		gap: 0.35rem 0.9rem !important;
		padding: 0 0 0 0 !important;
		text-align: right;
	}

	#process-steps > .process-step::after {
		display: none !important;
	}

	.process-step__number {
		grid-area: number;
		position: relative;
		inset: auto;
		width: 2.1rem !important;
		height: 2.1rem;
	}

	.process-step__icon {
		grid-area: icon;
		margin: 0 !important;
	}

	.process-step__icon .elementor-icon {
		width: 3.6rem;
		height: 3.6rem;
		font-size: 1.35rem;
		box-shadow:
			0 0 0 0.4rem #f4f7fc,
			0 0.5rem 1.1rem rgba(10, 29, 77, 0.07);
	}

	.process-step__title {
		grid-area: title;
		width: 100%;
		margin: 0.3rem 0 0 !important;
	}

	.process-step__description {
		grid-area: description;
		width: 100%;
		max-width: none;
	}

	.process-step__title,
	.process-step__description,
	.process-step__title *,
	.process-step__description * {
		text-align: right !important;
	}

	#about-summary-section {
		padding-block: var(--bolghani-section-space-mobile) !important;
	}

	#about-summary-inner {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		padding: 1.5rem !important;
		text-align: center;
	}

	#about-summary-inner > .elementor-element {
		justify-content: center !important;
		align-items: center !important;
	}

	#about-summary-inner .elementor-widget-text-editor,
	#about-summary-inner .elementor-heading-title {
		text-align: center !important;
	}

	/* CTA layout remains visually unchanged, only responsive stacking is applied. */
	.bolghani-footer__cta {
		padding-block-start: 2.5rem;
	}

	.bolghani-footer__cta-inner {
		grid-template-columns: 1fr;
		grid-template-areas:
			"content"
			"visual";
	}

	.bolghani-footer__cta-content {
		align-items: center;
		padding: 2.25rem 1.5rem 1rem;
		text-align: center;
	}

	.bolghani-footer__cta-actions {
		justify-content: center;
	}

	.bolghani-footer__cta-visual {
		min-height: 11rem;
		justify-content: center;
		padding-inline-start: 0;
	}

	.bolghani-footer__cta-visual img {
		width: 76%;
		margin-inline: auto;
		object-position: center bottom;
	}

	/* Minimal footer stacks cleanly on mobile. */
	.bolghani-footer__main {
		padding-block: 1.75rem 1rem;
	}

	.bolghani-footer__main-inner--minimal {
		grid-template-columns: 1fr;
		grid-template-areas:
			"brand"
			"links"
			"social";
		gap: 0;
		text-align: center;
	}

	.bolghani-footer__main-inner--minimal > * {
		padding: 1.5rem 0;
		border-inline-end: 0 !important;
	}

	.bolghani-footer__main-inner--minimal > *:not(:last-child) {
		border-block-end: 0.0625rem solid #e1e6ef;
	}

	.bolghani-footer__group--social {
		border-block-start: 0;
	}

	.bolghani-footer__column--brand {
		grid-area: brand;
		align-items: center;
	}

	.bolghani-footer__brand {
		justify-content: center;
	}

	.bolghani-footer__brand-text {
		margin-inline: auto;
	}

	.bolghani-footer__group--navigation {
		grid-area: links;
		align-items: center;
	}

	.bolghani-footer__quick-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.bolghani-footer__quick-links a {
		justify-content: center;
		background: rgba(255, 255, 255, 0.62);
	}

	.bolghani-footer__group--social {
		grid-area: social;
		align-items: center;
		text-align: center;
	}


	.bolghani-footer__socials--minimal {
		justify-content: center;
		flex-wrap: wrap;
	}

	.bolghani-footer__bottom {
		margin-block-start: 1rem !important;
	}
}

/* ==================================================
   17. Small mobile
================================================== */

@media (max-width: 30rem) {
	#projects-value-inner > .elementor-element:nth-child(2) .elementor-heading-title,
	#process-header > .elementor-element:nth-child(2) .elementor-heading-title {
		font-size: 1.45rem !important;
	}

	#process-steps {
		gap: 1.25rem !important;
	}

	.process-step__description,
	.process-step__description * {
		font-size: 0.825rem !important;
	}

	.bolghani-header__brand .custom-logo {
		width: 7.25rem;
	}

	.bolghani-header__contact-button {
		min-height: 2.6rem;
		padding-inline: 0.85rem;
		font-size: 0.8rem;
	}

	.bolghani-footer__cta-actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.bolghani-footer__cta-button {
		width: 100%;
	}

	.bolghani-footer__cta-title {
		font-size: 1.45rem;
	}
}

@media (max-width: 24rem) {
	.bolghani-header__contact-button span {
		display: none;
	}

	.bolghani-footer__quick-links {
		grid-template-columns: 1fr;
	}
}

/* ==================================================
   18. Reduced motion
================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* ==================================================
   19. Home page vertical rhythm
================================================== */

/* Remove Elementor gaps and control section spacing explicitly. */
#projects-inner,
#projects-value-inner,
#about-summary-section,
#process-inner {
	row-gap: 0 !important;
	gap: 0 !important;
}

/* Projects area */
#projects {
	padding-block: 3.5rem 3.25rem !important;
}

#projects-header {
	margin: 0 0 2.25rem !important;
	padding: 0 !important;
}

#featured-project-card {
	margin: 0 !important;
}

#projects-cards-grid {
	margin-block-start: 1.5rem !important;
}

#projects-inner {
	padding-block-end: 0 !important;
}

/* About summary */
#about-summary-section {
	margin: 0 !important;
	padding-block: 3rem !important;
}

#about-summary-inner {
	margin-block: 0 !important;
}

/* Footer CTA */
.bolghani-footer__cta {
	margin: 0 !important;
	padding-block: 2.75rem 1.5rem;
}

.bolghani-footer__cta-inner {
	margin-block: 0 !important;
}

@media (max-width: 64rem) {
	#projects,
	#projects-value-section,
	#about-summary-section,
	#process-section {
		padding-block: 3rem !important;
	}
}

@media (max-width: 48rem) {
	#projects {
		padding-block: 2.75rem 2.5rem !important;
	}

	#projects-header {
		margin-block-end: 1.75rem !important;
	}

	#projects-cards-grid {
		margin-block-start: 1.25rem !important;
		gap: 1rem !important;
	}

	#projects-value-section,
	#about-summary-section,
	#process-section {
		padding-block: 2.5rem !important;
	}

	.bolghani-footer__cta {
		padding-block: 2.5rem 1.25rem;
	}
}
