/*
 * Theme Name: Dr Kamal
 * Theme URI: https://adminesite.com/
 * Description: قالب سایت دکتر کمال محمدی — قبیله رهبران چابک تعیین‌کننده در تلاطم
 * Version: 1.9.6
 * Author: mary jafarpour
 * Text Domain: drkamal
*/

/* ================================================================================== */
/* =================================> Import Fonts <================================= */
/* ================================================================================== */
/* ---> IRANYekanX */

@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fnt/iranyekanx/IRANYekanX-Regular.woff2") format("woff2");
}
@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fnt/iranyekanx/IRANYekanX-Bold.woff2") format("woff2");
}


/* ================================================================================== */
/* ====================================> Basic <===================================== */
/* ================================================================================== */
/* ---> Variables */
:root {
	--body-font-family: IRANYekanX, Tahoma, sans-serif;
	--body-font-size: 	17px;
	--body-background: 	#f7f7f7;
	--text-color: 		#000;
	--color-gold: 		#ad8849;
	--color-gold-bg: 	#D3B582;
	--color-navy: 		#131644;
	--color-blue: 		#111889;
	--color-footer: 	#161c2d;
	--header-height: 	80px;
}
/* ---> Body Initial Styles */
body {
	margin: 0;
	padding: 0;
	font-size: var(--body-font-size);
	background: var(--body-background);
	color: var(--text-color);
	direction: rtl;
	text-align: right;
	font-family: var(--body-font-family);
}
/* ---> All Element Initial Style */
* {
	box-sizing: border-box;
	font-family: var(--body-font-family);
}
/* ---> Link Initial Style */
p, ul, ol, li { color: #000; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.img-fluid { max-width: 100%; height: auto; }
.align-middle { vertical-align: middle; }
/* ---> Main Wrapper */
.container-fluid { max-width: 1400px; }

/* ---> Theme Button Outline (login) */
.dk-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-navy);
	border: 1px solid #6b6b6b;
	border-radius: 8px;
	padding: 6px 14px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	background: #fff;
	white-space: nowrap;
	transition: border-color 0.2s, color 0.2s;
}
.dk-btn-outline:hover {
	border-color: var(--color-navy);
	color: var(--color-navy);
}


/* ================================================================================== */
/* ====================================> Navbar <==================================== */
/* ================================================================================== */
#main-header {
	position: sticky;
	top: 0;
	z-index: 900;
}
#top-nav {
	background: #fff;
	box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.25);
	min-height: var(--header-height);
}
#top-nav > .container-fluid {
	padding-top: 0;
	padding-bottom: 0;
	min-height: var(--header-height);
	display: flex;
	align-items: center;
}
#top-nav > .container-fluid > .row {
	width: 100%;
	min-height: var(--header-height);
}
#top-nav .custom-logo-link {
	display: block;
	font-size: 0;
	line-height: 0;
	padding: 0;
	margin: 0;
}
.custom-logo {
	max-height: 68px;
	width: auto;
	display: block;
}
#top-nav .site-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--color-navy);
	line-height: 1.4;
	max-width: 220px;
}
/* ---> Menu */
#top-nav .header-menu .menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
#top-nav .header-menu .menu > li { padding: 4px 8px; position: relative; }
#top-nav .header-menu .menu > li > a {
	display: flex;
	align-items: center;
	padding: 8px 4px;
	font-size: 15px;
	font-weight: 700;
	color: var(--color-navy);
	white-space: nowrap;
}
#top-nav .header-menu .menu > li > a:hover,
#top-nav .header-menu .menu > li.current-menu-item > a {
	color: var(--color-blue);
}
/* ---> Sub Menu (hover fade/slide) */
#top-nav .header-menu .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 180px;
	margin: 0;
	padding: 12px 0;
	list-style: none;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(22, 28, 45, 0.1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
	z-index: 500;
}
#top-nav .header-menu .menu > li:hover > .sub-menu,
#top-nav .header-menu .menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
#top-nav .header-menu .sub-menu > li > a {
	display: block;
	padding: 8px 18px;
	white-space: nowrap;
	font-size: 14px;
	color: var(--color-navy);
}
#top-nav .header-menu .sub-menu > li > a:hover { color: var(--color-gold); }
#top-nav .open-mobile-menu {
	display: block;
	line-height: 0;
	padding: 6px;
}


/* ================================================================================== */
/* ================================> Mobile Navbar <================================= */
/* ================================================================================== */
#mobile-menu {
	position: fixed;
	z-index: 1000;
	inset: 0;
	display: none;
	overflow: hidden;
}
#mobile-menu .dark-layer {
	background: rgba(22, 28, 45, 0.45);
	position: absolute;
	inset: 0;
	z-index: 1;
}
#mobile-menu .menu-box {
	height: 100%;
	width: 100%;
	max-width: 280px;
	position: absolute;
	right: -280px;
	top: 0;
	bottom: 0;
	z-index: 2;
	background: #fff;
	overflow-y: auto;
	box-shadow: -8px 0 24px rgba(22, 28, 45, 0.08);
}
#mobile-menu .logo {
	margin: 0;
	padding: 16px 24px;
	border-bottom: 1px solid #eee;
}
#mobile-menu .logo img { max-height: 44px; width: auto; }
#mobile-menu nav { padding: 8px 0; }
#mobile-menu ul { margin: 0; padding: 0; list-style: none; }
#mobile-menu .menu > li > a {
	display: flex;
	align-items: center;
	line-height: 42px;
	flex-wrap: wrap;
	overflow: hidden;
	font-weight: 700;
	font-size: 15px;
	margin: 8px 16px;
	color: var(--color-navy);
}
#mobile-menu .menu > li > a > span { margin-left: auto; }
#mobile-menu .menu > li.menu-item-has-children > a > svg { transition: transform 0.3s; }
#mobile-menu .menu > li.active > a > svg { transform: rotate(45deg); }
#mobile-menu .sub-menu {
	background: #f7f7f7;
	padding: 8px 0;
	display: none;
	width: 100%;
	order: 4;
}
#mobile-menu .sub-menu > li a {
	display: block;
	padding: 8px 28px;
	font-size: 14px;
	color: var(--color-navy);
}

.admin-bar #main-header { top: 32px; }

@media (max-width: 1199.98px) {
	#top-nav .header-menu { display: none; }
}

@media (max-width: 782px) {
	.admin-bar #main-header { top: 46px; }
}


/* ================================================================================== */
/* ====================================> Footer <==================================== */
/* ================================================================================== */

/* ---> Upper CTA bar */
.footer-cta {
	background: #fff;
	padding: 36px 0;
	border: none;
}
.footer-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.footer-cta__target {
	flex: 0 0 auto;
	line-height: 0;
}
.footer-cta__target-img {
	display: block;
	max-width: 140px;
	width: 140px;
	height: auto;
	mix-blend-mode: lighten;
}
.footer-cta__content {
	flex: 1 1 auto;
	text-align: center;
}
.footer-cta__title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 700;
	color: var(--color-footer);
	line-height: 1.6;
}
.footer-cta__subtitle {
	margin: 0 0 18px;
	font-size: 16px;
	font-weight: 400;
	color: #555;
	line-height: 1.5;
}
.footer-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 30px;
	border-radius: 8px;
	background: var(--color-gold-bg);
	color: #000;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	transition: background 0.2s, color 0.2s;
}
.footer-cta__btn:hover {
	background: var(--color-navy);
	color: #fff;
}
.footer-cta__btn svg { flex-shrink: 0; }
.footer-cta__flourish {
	flex: 0 0 auto;
	line-height: 0;
	opacity: 0.85;
}
.footer-cta__flourish svg { display: block; max-width: 160px; height: auto; }

#main-footer {
	--color-gold: #d8b578;
}

/* ---> Main dark footer */
.footer-main {
	background: var(--color-footer);
	color: #fff;
	padding-top: 72px;
	border: none;
}
.footer-main__grid { row-gap: 28px; }
.footer-col__title {
	margin: 0 0 32px;
	font-size: 17px;
	font-weight: 700;
	color: var(--color-gold);
	line-height: 1.5;
}
.footer-brand { margin-bottom: 16px; }
.footer-brand .custom-logo-link { display: inline-block; line-height: 0; }
.footer-brand .custom-logo {
	max-height: 112px;
	width: auto;
}
.footer-brand__title {
	display: inline-block;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
}
.footer-col--about {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}
.footer-about {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.75;
	color: #fff;
}
.footer-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-menu__list > li { margin-bottom: 12px; }
.footer-menu__list > li > a {
	display: inline-block;
	font-size: 15px;
	font-weight: 400;
	color: #fff;
	transition: color 0.2s;
}
.footer-menu__list > li > a:hover { color: var(--color-gold); }

.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 16px;
}
.footer-contact-item__icon {
	flex: 0 0 auto;
	color: #fff;
	line-height: 0;
	margin-top: 3px;
}
.footer-contact-item__text {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.8;
	color: #fff;
}
.footer-phones {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.9;
	color: #fff;
}
.footer-phones__link {
	color: #fff;
	direction: ltr;
	display: inline-block;
	unicode-bidi: embed;
}
.footer-phones__link:hover { color: var(--color-gold); }
.footer-phones__sep {
	margin: 0 6px;
	color: #fff;
	opacity: 0.7;
}

.footer-socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}
.footer-socials__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	transition: background 0.2s, color 0.2s;
}
.footer-socials__link:hover {
	background: var(--color-gold-bg);
	color: var(--color-footer);
}

.footer-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.footer-badges__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 8px;
	padding: 6px;
	min-width: 88px;
	min-height: 88px;
}
.footer-badges__item img {
	max-width: 88px;
	max-height: 88px;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* ---> Bottom bar */
.footer-bottom {
	margin-top: 36px;
	padding: 18px 0 22px;
	border: none;
	border-top: 1px solid var(--color-gold);
	text-align: center;
}
.footer-bottom__copy {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 400;
	color: #fff;
	line-height: 1.7;
}
.footer-bottom__credit {
	margin: 0;
	font-size: 10px;
	font-weight: 400;
	color: #fff;
	opacity: 0.55;
	line-height: 1.5;
}
.footer-bottom__credit a {
	color: #fff;
	opacity: 0.85;
	transition: color 0.2s, opacity 0.2s;
}
.footer-bottom__credit a:hover {
	color: var(--color-gold);
	opacity: 1;
}

/* ---> Footer responsive */
@media (max-width: 1199.98px) {
	.footer-cta__title { font-size: 20px; }
}

@media (max-width: 991.98px) {
	.footer-cta__inner {
		flex-direction: column;
		text-align: center;
		gap: 16px;
	}
	.footer-cta__content { width: 100%; }
	.footer-cta__target-img { max-width: 110px; width: 110px; }
}

@media (max-width: 767.98px) {
	.footer-cta { padding: 28px 0; }
	.footer-cta__title { font-size: 17px; }
	.footer-cta__subtitle { font-size: 14px; margin-bottom: 14px; }
	.footer-main { padding-top: 56px; }
	.footer-col__title { font-size: 16px; margin-bottom: 28px; }
	.footer-about { font-size: 14px; line-height: 1.65; }
	.footer-menu__list > li > a,
	.footer-contact-item__text,
	.footer-phones { font-size: 14px; }
	.footer-col--about { order: -1; }
	.footer-badges__item {
		min-width: 76px;
		min-height: 76px;
	}
	.footer-badges__item img {
		max-width: 76px;
		max-height: 76px;
	}
}

/* Consult request modal */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
body.dk-consult-open { overflow: hidden; }
.dk-consult {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}
.dk-consult[hidden] { display: none; }
.dk-consult__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(22, 24, 32, 0.55);
}
.dk-consult__dialog {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
	padding: 28px 26px 22px;
}
.dk-consult__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #222;
	cursor: pointer;
}
.dk-consult__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 18px;
	margin-top: 8px;
}
.dk-consult__field { display: flex; flex-direction: column; gap: 6px; }
.dk-consult__field--full { grid-column: 1 / -1; }
.dk-consult__label {
	font-size: 14px;
	font-weight: 700;
	color: #222;
	text-align: right;
}
.dk-consult__req { color: #e11d48; margin-left: 3px; }
.dk-consult__field input {
	width: 100%;
	height: 42px;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 15px;
	background: #fff;
	color: #111;
}
.dk-consult__field input:focus {
	outline: 2px solid #d8b578;
	outline-offset: 1px;
}
.dk-consult__actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 18px;
}
.dk-consult__submit {
	min-width: 132px;
	padding: 8px 18px;
	border: 1px solid #d8b578;
	border-radius: 4px;
	background: #d8b578;
	color: #000;
	font-size: 15px;
	cursor: pointer;
}
.dk-consult__submit:hover { background: #c9a56a; border-color: #c9a56a; color: #000; }
.dk-consult__submit:disabled { opacity: 0.6; cursor: wait; }
.dk-consult__message {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.7;
}
.dk-consult__message.is-error { color: #b42318; }
.dk-consult__message.is-success { color: #067647; }
@media (max-width: 575.98px) {
	.dk-consult__grid { grid-template-columns: 1fr; }
	.dk-consult__dialog { padding: 26px 16px 18px; }
	.dk-btn-outline span { display:none; }
}
