/* =========================================
   عناوين الأقسام
   ========================================= */
.jtak-section-title {
	font-size: 2.2rem;
	color: var(--primary-teal);
	position: relative;
	display: inline-block;
	padding-bottom: 15px;
	margin-bottom: 40px;
	font-weight: 800;
}

.jtak-section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background-color: var(--accent-gold);
	border-radius: 4px;
}


/* =========================================
   الصفحة الرئيسية: قسم الأخبار
   ========================================= */
.jtak-news-section {
	padding: 80px 0;
	background-color: transparent;
}

.jtak-news-card {
	background: #ffffff;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: var(--transition-smooth);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.jtak-news-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-5px);
}

.jtak-news-img-wrap {
	position: relative;
	height: 220px;
	overflow: hidden;
}

.jtak-news-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition-smooth);
}

.jtak-news-card:hover .jtak-news-img-wrap img {
	transform: scale(1.05);
}

.jtak-news-date {
	position: absolute;
	top: 15px;
	right: 15px;
	background: var(--accent-gold);
	color: white;
	padding: 5px 15px;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
}

.jtak-news-content {
	padding: 25px;
	flex-grow: 1;
}

.jtak-news-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 15px;
	line-height: 1.5;
}

.jtak-news-title a {
	color: var(--primary-teal);
}

.jtak-news-title a:hover {
	color: var(--accent-green);
}

/* =========================================
   الصفحة الرئيسية: قسم الإحصائيات
   ========================================= */
.jtak-stats-section {
	background-color: var(--primary-teal);
	padding: 60px 0;
	color: white;
	position: relative;
	overflow: hidden;
}

.jtak-stats-section::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('../img/tanmiah1.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	opacity: 0.16;
	pointer-events: none;
	z-index: 0;
}

.jtak-stats-section>.container {
	position: relative;
	z-index: 1;
}

.jtak-stats-section .jtak-section-title {
	color: #ffffff;
}

.jtak-stat-item {
	text-align: center;
	padding: 15px;
	border-radius: var(--border-radius);
	transition: var(--transition-smooth);
}

.jtak-stat-icon {
	font-size: 40px;
	color: var(--accent-gold);
	margin-bottom: 15px;
}

.jtak-stat-icon i,
.jtak-stat-icon img,
.jtak-stat-icon .stat-icon-img {
	display: inline-block;
	transition: transform 0.3s ease;
}

.jtak-stat-icon img {
	max-height: 48px;
	width: auto;
	object-fit: contain;
}

.jtak-stat-icon .stat-icon-img {
	width: 48px;
	height: 48px;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

.jtak-stat-number {
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 5px;
	display: inline-block;
	transition: transform 0.3s ease, color 0.3s ease;
}

.jtak-stat-text {
	font-size: 1.1rem;
	opacity: 0.9;
	transition: opacity 0.3s ease;
}

/* التأثيرات عند مرور الماوس (Hover) */
.jtak-stat-item:hover .jtak-stat-icon i,
.jtak-stat-item:hover .jtak-stat-icon img,
.jtak-stat-item:hover .jtak-stat-icon .stat-icon-img {
	transform: translateY(-8px) scale(1.1);
}

.jtak-stat-item:hover .jtak-stat-number {
	transform: scale(1.15);
	color: var(--accent-gold);
}

.jtak-stat-item:hover .jtak-stat-text {
	opacity: 1;
}

/* =========================================
   الخلفية المتجاوبة والشبه شفافة للرئيسية
   ========================================= */
.site-main {
	position: relative;
	z-index: 1;
}

.site-main::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: var(--home-bg-image, none);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	opacity: 0.25;
	/* نسبة شفافية الصورة لتناسب الخلفيات الهادئة */
	mix-blend-mode: multiply;
	/* دمج ذكي للزخرفة لدمج تفاصيلها مع ألوان الخلفية */
	z-index: -1;
	pointer-events: none;
}

/* =========================================
   خيارات فواصل الأقسام (التجريبية)
   ========================================= */

/* الخيار الأول: خط متلاشي مع المعين الذهبي */
.jtak-divider-ornament {
	position: relative;
	height: 1px;
	background: linear-gradient(to left, transparent, rgba(6, 97, 101, 0.25) 50%, transparent);
	margin: 50px auto;
	width: 70%;
	border: none;
}

.jtak-divider-ornament::after {
	content: '◆';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--accent-gold);
	font-size: 14px;
	background-color: var(--home-bg-color, #ffffff);
	padding: 0 15px;
}