/* ==========================================================================
   أنماط الصفحة الرئيسية. الألوان من "التخصيص" ← "ألوان القالب".
   ========================================================================== */

/* أساسيات --------------------------------------------------------------- */

*, ::before, ::after { box-sizing: inherit; padding: 0; margin: 0; }
a { text-decoration: none; color: #fff; }
img { max-width: 100%; height: auto; max-height: 100%; object-fit: cover; vertical-align: middle; border-style: none; }

.container { width: 1200px; max-width: 1400px; margin: auto; padding: 0 10px; }
.wrapper { max-width: 700px; margin: 0 auto; padding: 0 10px; }
.wrapper::before { content: ""; display: table; table-layout: fixed; }
.wrapper::after { content: ""; display: block; clear: both; }

.text-center, .txtcenter { text-align: center; }
.flex-center { display: flex; flex-wrap: wrap; justify-content: center; }
.flex-start { display: flex; flex-wrap: wrap; justify-content: flex-start; }
.flex-1 { flex: 1; }
.pull-right { float: right; }
.clearfix::after { content: ""; display: block; clear: both; }
.col-6 { width: 100%; }

/* البانر الرئيسي --------------------------------------------------------- */

.company-info { padding: 50px 0; color: #fff; background-color: var(--hatem-primary); }
.company-info .flex { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; align-content: center; }
.qr-img { padding-top: 33px; text-align: center; }

/* العدادات --------------------------------------------------------------- */

section.counter {
	padding: 50px 0;
	border-radius: 20% / 9%;
	border-bottom: 2px solid rgb(0 0 0 / 12%);
	box-shadow: 0 2px 5px rgb(0 0 0 / 22%);
	background: linear-gradient(rgb(255 255 255 / 0%), #f7f6f6);
}
.number { font-size: 70px; font-weight: bold; color: var(--hatem-primary); }
h3.counter-title { font-size: 25px; }

/* عناوين الأقسام --------------------------------------------------------- */

.titles_concept { display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; z-index: 1; margin: auto auto 30px; }
.titles_concept span { margin-bottom: 20px; padding-bottom: 15px; font-size: 30px; line-height: 50px; font-weight: 700; color: #3c3c3c; border-bottom: 2px solid rgb(0 0 0 / 14%); }
.titles_concept_1 { display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; }
.titles_concept_1::before { content: ""; position: absolute; right: 0; bottom: 0; left: 0; width: 78%; height: 3px; margin: 0 auto; border-radius: 5px; background: #363532; }
.titles_concept h2 { display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; width: fit-content; margin: auto auto 12px; font-size: 26px; line-height: 35px; font-weight: 700; text-align: center; color: var(--hatem-primary); }
.titles_concept h3 { display: block; margin: 0 0 15px; font-size: 37px; line-height: 37px; font-weight: 700; text-align: center; color: #171f26; }
.titles_concept_1 p { position: relative; margin: 8px 5px 19px; font-size: 19px; line-height: 35px; font-weight: 500; color: #141313; transition: .5s; }

/* شبكة الخدمات ----------------------------------------------------------- */

section.cat5 { margin: 70px 0; }
.catpartall { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 -10px; }
.catpart1 {
	display: flex;
	flex-wrap: wrap;
	flex: 1;
	position: relative;
	min-width: 230px;
	max-width: 400px;
	margin: 10px;
	padding: 20px;
	border: 5px solid rgba(var(--hatem-primary-rgb), 0.29);
	border-radius: 0 30px;
	cursor: pointer;
	transition: .2s;
}
.catpart1:hover { border-color: #b8c5e7; background: rgba(var(--hatem-primary-rgb), 0.17); }
a.CategoryGrid__Item5 { display: block; position: relative; width: 100%; border-radius: 20px; cursor: pointer; }
.cat-image { display: flex; width: 100%; height: 153px; margin: auto; overflow: hidden; border-radius: 5px; }
.cat-image img { width: 100%; height: 100%; }
.CategoryGrid5 { display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 99; }
.CategoryGrid__Ite { display: inline-flex; justify-content: center; align-items: center; position: relative; z-index: 9; width: 50px; height: 50px; margin-top: -34px; font-size: 31px; text-align: center; color: #fff; border-radius: 50%; transition: .2s; }
.CategoryGrid5 strong { display: block; z-index: 9; margin: 6px 0 2px; font-size: 20px; line-height: 30px; font-weight: 700; color: #000; }
span.content_cat5 { z-index: 9; max-height: 64px; margin-bottom: 10px; overflow: hidden; font-size: 15px; }
.link_cat { z-index: 9; margin-top: 5px; padding: 8px; font-size: 16px; color: #fff; border-radius: 7px; background: var(--hatem-primary); }

/* لماذا نحن -------------------------------------------------------------- */

.company-steps { position: relative; padding: 50px 0; border-radius: 30% 0 0; background: rgba(var(--hatem-primary-rgb), 0.05); }
.company-title h2 { font-size: 35px; color: var(--hatem-primary); }
.company-title p { margin: 20px 0; font-size: 25px; color: #929292; }
.benfit-item { padding: 15px; }
.benfit-item::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; border-radius: 10px; background: #fff; transition: .35s; }
.benfit-item > div { position: relative; align-items: center; padding: 25px; border-radius: 10px; background: #fff; box-shadow: 0 0 8px 0 rgb(0 0 0 / 12%); transition: .35s ease; }
.benfit-item > div:hover { background: rgba(var(--hatem-primary-rgb), 0.12); box-shadow: 0 0 8px 0 rgb(0 0 0 / 20%); }
.icon { position: relative; width: 70px; height: 70px; margin: 30px 20px 20px; font-size: 40px; line-height: 70px; text-align: center; transition: .5s; }
.icon::before { content: ""; position: absolute; top: -30px; right: -20px; width: 70px; height: 70px; border: 2px solid #dcdcdc; background-color: #fff; transition: .5s; }
.icon img { position: absolute; top: 0; right: -30px; width: 70px; height: 70px; font-size: 30px; line-height: 70px; border-radius: 8px; background-color: #ececec; transition: .5s; }
.num { position: absolute; top: -50px; left: 0; width: 40px; height: 40px; font-size: 27px; line-height: 40px; font-weight: 600; color: var(--hatem-primary); border-radius: 50%; background: #fff; }
.benfit-item h3 { position: relative; margin-bottom: 10px; padding: 0 0 10px; font-size: 22px; color: var(--hatem-accent); transition: .35s ease; }
.benfit-item p { font-size: 18px; color: #7d7d7d; }

/* المقالات --------------------------------------------------------------- */

.blog-topics { padding: 50px 0; }
h2.news-title { position: relative; margin-bottom: 80px; padding-bottom: 20px; font-size: 25px; color: var(--hatem-accent); border-bottom: 2px solid #e0e0e0; }
h2.news-title::after { content: ""; position: absolute; right: 0; bottom: -4px; width: 150px; height: 6px; border-radius: 4px; background: #293e9c; }
.blog-cards { display: flex; flex-wrap: wrap; justify-content: flex-start; }
.blog-box { width: 100%; margin-bottom: 25px; margin-right: 2%; }

.inner-box { position: relative; margin: 15px 15px 40px; padding: 8px 8px 0; box-shadow: 0 0 13px #d4d4d4; transition: .3s; }
.inner-box::before { content: ""; position: absolute; top: 0; right: 0; z-index: 5; width: 100%; height: 100%; background: #fff; }
.inner-box::after { content: ""; position: absolute; right: 0; bottom: -30px; z-index: 0; width: 98%; height: 80px; border: 3px solid #343434; transform: skewY(-2deg); transition: .5s; }
.inner-box:hover::after { border-color: #f75b36; transform: skewY(2deg); }
.inner-box:hover img { transform: scale(1.2); transition: 1s; }

.image { position: relative; z-index: 8; width: 100%; height: 100%; overflow: hidden; border-radius: 8px; }
.image a { display: block; position: relative; width: 100%; height: auto; overflow: hidden; }
.image img { display: block; width: 100%; max-width: 100%; height: 250px; }
.link { position: absolute; right: -108px; bottom: 90px; width: 140px; height: 50px; font-size: 22px; line-height: 50px; text-align: center; color: #fff; background: var(--hatem-primary); clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 25% 100%, 0% 50%); transition: .3s; }
.link a { color: #fff; }
.inner-box:hover .link { right: 0; }

.up-hover { position: relative; width: 100%; height: 100%; padding: 13px 0; transition: .5s; }
.card-date { position: relative; z-index: 6; font-size: 12px; font-weight: 900; color: #4f3374; }
.card-title { position: relative; z-index: 5; width: 90%; height: 63px; padding: 5px 0; overflow: hidden; font-size: 20px; font-weight: 900; text-align: right; color: #0b306e; border-radius: 10px; transition: .3s; }
.card-excerpt { position: relative; z-index: 5; width: 90%; height: 92px; margin-top: 2px; overflow: hidden; font-size: 15px; line-height: 32px; text-align: right; color: #949494; }

/* العروض والأسعار -------------------------------------------------------- */

.services-plan { position: relative; padding: 80px 0; }
.services-plan .flex { display: flex; flex-wrap: wrap; justify-content: center; }
.price-plan { margin-bottom: 30px; padding: 40px 15px; text-align: center; border-radius: 25px; background: #fff; box-shadow: 0 0 15px rgb(0 0 0 / 10%); outline: 2px dashed #e9d8ff; outline-offset: -12px; }
.price-plan ul { padding: 0; list-style: none; text-align: right; }
.price-plan ul li { position: relative; padding: 0 35px 5px 0; }
.price-plan ul li::before { content: " \2714"; position: absolute; top: 1px; right: 8px; font-weight: 700; color: #ffb631; }
.price-plan a { padding: 3px 15px; font-weight: 700; color: #fff; background: var(--hatem-primary); }
.price { position: relative; margin: auto; padding: 20px 15px; font-size: 22px; font-weight: 900; text-align: center; color: #fff; background: var(--hatem-primary); }
.price span, .price strong { display: block; }

/* الشاشات ---------------------------------------------------------------- */

@media (max-width: 1420px) {
	.company-steps { border-radius: 0; }
}

@media (max-width: 1199px) {
	.container { width: 98%; }
}

@media (min-width: 992px) {
	.col-6 { width: 49%; }
	.qr-img { text-align: left; }
	.price-plan { width: 30.333%; }
	.services-plan .flex { justify-content: space-between; }
}

@media (min-width: 982px) {
	.wrapper { max-width: 1480px; }
	.blog-box { width: 31%; }
}

@media (max-width: 767px) {
	.col-6 { min-width: 100%; }
	.counter-item { min-width: 100%; }
	.number { font-size: 40px; }
	.benfit-item { width: 100%; }
}

@media (max-width: 700px) {
	.cat5 { font-size: 15px; }
	.cat-image { width: 200px; }
	.titles_concept h3 { font-size: 30px; }
}
