/* =========================================
   تنسيقات تبويبات الرؤية والرسالة والأهداف (VMO)
   ========================================= */

.vmo-section {
	position: relative;
	/* تمت إزالة الخلفية لتأخذ خلفية الموقع */
	background-color: transparent !important;
	overflow: hidden;
}

.vmo-tab-wrapper {
	position: relative;
	width: 100%;
}

/* Tabs Navigation */
.vmo-tabs-nav {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 15px;
	margin-bottom: -1px; /* Overlap content box border */
	position: relative;
	z-index: 2;
}

.vmo-tab-nav-item {
	cursor: pointer;
	background-color: rgba(255, 255, 255, 0.7);
	border: 1px solid var(--border-color);
	border-bottom: none;
	border-radius: 12px 12px 0 0;
	padding: 12px 30px;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--text-dark);
	transition: var(--transition-smooth);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.02);
}

.vmo-tab-nav-item i {
	color: var(--text-muted);
	transition: var(--transition-smooth);
	font-size: 1.1rem;
	margin-left: 8px; /* Spacing in RTL */
}

/* Active tab style */
.vmo-tab-nav-item.active {
	background-color: #ffffff;
	color: var(--primary-teal);
	border-color: var(--border-color);
	border-top: 3px solid var(--accent-gold);
	padding-top: 10px; /* offset the border top */
	box-shadow: none;
}

.vmo-tab-nav-item.active i {
	color: var(--accent-gold);
	transform: scale(1.2);
}

/* Hover tab style */
.vmo-tab-nav-item:not(.active):hover {
	background-color: rgba(255, 255, 255, 0.9);
	color: var(--primary-teal-dark);
}

/* Tab Content Box */
.vmo-tab-content-box {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 0 var(--border-radius) var(--border-radius) var(--border-radius); /* Top-right corner rounded, top-left flat since tabs start from right */
	box-shadow: var(--shadow-md);
	padding: 50px 40px;
	position: relative;
	min-height: 250px;
	z-index: 1;
}

/* Smooth rounded corners when active */
.vmo-tab-wrapper {
	border-radius: var(--border-radius);
	overflow: hidden;
}

.vmo-tab-panel {
	display: none;
	opacity: 0;
	transform: translateY(15px);
}

.vmo-tab-panel.active {
	display: block;
	animation: vmoFadeIn 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes vmoFadeIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Inside Panel Elements */
.vmo-panel-icon-decor {
	font-size: 90px;
	color: rgba(189, 171, 82, 0.06); /* light gold watermark */
	position: absolute;
	left: 20px;
	top: 15px;
	pointer-events: none;
	transition: var(--transition-smooth);
	line-height: 1;
}

.vmo-tab-panel.active .vmo-panel-icon-decor {
	transform: scale(1.1) rotate(15deg);
	color: rgba(189, 171, 82, 0.15);
}

.vmo-panel-title {
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--primary-teal);
	margin-bottom: 25px;
	display: inline-block;
	border-bottom: 3px solid var(--accent-gold);
	padding-bottom: 8px;
}

.vmo-panel-text p {
	font-size: 1.15rem;
	line-height: 2;
	color: var(--text-dark);
	margin: 0;
	text-align: justify;
}

.vmo-bullets-list {
	padding: 0;
	margin: 0;
	text-align: right;
}

.vmo-bullets-list li {
	position: relative;
	padding-right: 25px; /* space for custom bullet in RTL */
	margin-bottom: 15px;
	font-size: 1.15rem;
	line-height: 1.8;
	color: var(--text-dark);
}

.vmo-bullets-list li::before {
	content: "•";
	position: absolute;
	right: 0;
	top: -2px;
	color: var(--accent-gold);
	font-size: 1.6rem;
	font-weight: bold;
}

/* Responsive adjustment */
@media (max-width: 767px) {
	.vmo-tabs-nav {
		flex-direction: column;
		width: 100%;
		gap: 5px;
		margin-bottom: 10px;
	}
	
	.vmo-tab-nav-item {
		width: 100%;
		border-radius: 8px;
		border-bottom: 1px solid var(--border-color);
		padding: 12px 20px;
	}

	.vmo-tab-nav-item.active {
		border: 1px solid var(--border-color);
		border-top: 3px solid var(--accent-gold);
		border-radius: 8px;
	}
	
	.vmo-tab-content-box {
		border-radius: var(--border-radius);
		padding: 30px 20px;
	}
	
	.vmo-panel-icon-decor {
		display: none;
	}
}
