:root {
	--primary-color: #1e5ba9;
	--secondary-color: #f4f7fb;
	--text-dark: #2c3e50;
	--text-light: #6c7a89;
	--white: #ffffff;
	--border-color: #e1e8ed;
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Tajawal', sans-serif;
}

body {
	background-color: var(--secondary-color);
	color: var(--text-dark);
	line-height: 1.6;
}

a {
	text-decoration: none;
	color: inherit;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.btn {
	display: inline-block;
	padding: 10px 25px;
	border-radius: 5px;
	font-weight: 500;
	cursor: pointer;
	transition: var(--transition);
	text-align: center;
}

.btn-primary {
	background-color: var(--primary-color);
	color: var(--white);
	border: 1px solid var(--primary-color);
}

.btn-primary:hover {
	background-color: #154582;
}

.btn-outline {
	background-color: transparent;
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

.btn-outline:hover {
	background-color: var(--primary-color);
	color: var(--white);
}

.section-title {
	text-align: center;
	margin-bottom: 40px;
}

.section-title h2 {
	color: var(--primary-color);
	font-size: 28px;
	margin-bottom: 10px;
}

.section-title p {
	color: var(--text-light);
	font-size: 16px;
}

/* Header */
header {
	background-color: var(--white);
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
	position: relative;
}

.logo img {
	max-height: 60px;
	width: auto;
	transition: var(--transition);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 15px;
}

.menu-toggle {
	display: none;
	font-size: 24px;
	color: var(--primary-color);
	cursor: pointer;
}

nav ul {
	display: flex;
	list-style: none;
	gap: 25px;
	position: relative;
}

nav > ul > li {
	position: relative;
}

nav a {
	font-weight: 500;
	color: var(--text-dark);
	transition: var(--transition);
	display: block;
}

nav a:hover, nav a.active {
	color: var(--primary-color);
}

/* Sub-menu Desktop */
nav ul .sub-menu {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 100%;
	right: 0;
	background-color: var(--white);
	box-shadow: 0 10px 15px rgba(0,0,0,0.1);
	border-top: 2px solid var(--primary-color);
	min-width: 200px;
	gap: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: var(--transition);
	z-index: 999;
}

nav ul li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

nav ul .sub-menu li {
	width: 100%;
}

nav ul .sub-menu a {
	padding: 12px 20px;
	border-bottom: 1px solid var(--border-color);
	font-size: 14px;
}

nav ul .sub-menu li:last-child a {
	border-bottom: none;
}

nav ul .sub-menu a:hover {
	background-color: var(--secondary-color);
	padding-right: 25px;
}

/* Hero Slider */
.hero-slider-section {
	position: relative;
	width: 100%;
	height: 80vh; /* Adjust as needed */
	min-height: 500px;
	background-color: #000;
	overflow: hidden;
}

.heroSwiper {
	width: 100%;
	height: 100%;
}

.heroSwiper .swiper-slide {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

/* Background image with zoom-in effect */
.hero-slide-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	z-index: 1;
	transform: scale(1.05);
	transition: transform 8s ease;
}

.heroSwiper .swiper-slide-active .hero-slide-bg {
	transform: scale(1);
}

/* Dark Overlay */
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6); /* Adjust opacity for text clarity */
	z-index: 2;
}

/* Content */
.hero-slide-content {
	position: relative;
	z-index: 3;
	text-align: center;
	color: #fff;
	max-width: 800px;
	padding: 0 20px;
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1s ease, transform 1s ease;
	transition-delay: 0.5s;
}

.heroSwiper .swiper-slide-active .hero-slide-content {
	opacity: 1;
	transform: translateY(0);
}

.hero-slide-content h1 {
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 20px;
	line-height: 1.3;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-slide-content p {
	font-size: 18px;
	margin-bottom: 30px;
	opacity: 0.9;
	text-shadow: 0 1px 3px rgba(0,0,0,0.3);
	line-height: 1.8;
}

.hero-buttons {
	display: flex;
	gap: 15px;
	justify-content: center;
}

/* Specific button styles for hero */
.hero-btn-outline {
	border-color: #fff !important;
	color: #fff !important;
}

.hero-btn-outline:hover {
	background-color: #fff !important;
	color: var(--primary-color) !important;
}

.hero-next, .hero-prev {
	color: rgba(255, 255, 255, 0.7);
	transition: var(--transition);
}

.hero-next:hover, .hero-prev:hover {
	color: #fff;
}

.hero-pagination .swiper-pagination-bullet {
	background: #fff;
	opacity: 0.5;
}

.hero-pagination .swiper-pagination-bullet-active {
	background: var(--primary-color) !important;
	opacity: 1;
}

@media (max-width: 768px) {
	.hero-slider-section {
		height: 60vh;
	}
	.hero-slide-content h1 {
		font-size: 32px;
	}
	.hero-slide-content p {
		font-size: 16px;
	}
	.hero-buttons {
		flex-direction: column;
		width: 100%;
		gap: 10px;
	}
	.hero-buttons .btn {
		width: 100%;
	}
}

/* Features Bar */
.features-bar {
	background-color: var(--white);
	margin-top: -30px;
	position: relative;
	z-index: 10;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.05);
	padding: 30px;
	display: flex;
	justify-content: space-around;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 15px;
}

.feature-icon {
	font-size: 30px;
	color: var(--primary-color);
}

.feature-text h4 {
	font-size: 18px;
	margin-bottom: 5px;
}

.feature-text p {
	color: var(--text-light);
	font-size: 14px;
}

/* Services */
.services {
	padding: 80px 0;
	background-color: var(--white);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

@media (min-width: 992px) {
	.services-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

.service-card {
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 30px 20px;
	text-align: center;
	transition: var(--transition);
}

.service-card:hover {
	box-shadow: 0 10px 20px rgba(0,0,0,0.05);
	border-color: var(--primary-color);
}

.service-icon {
	font-size: 40px;
	color: var(--primary-color);
	margin-bottom: 15px;
}

.service-card h3 {
	font-size: 18px;
	margin-bottom: 10px;
}

.service-card p {
	font-size: 13px;
	color: var(--text-light);
}

.center-btn {
	text-align: center;
}

/* About */
.about {
	padding: 80px 0;
}

.about-content {
	display: flex;
	align-items: center;
	gap: 40px;
}

.about-image {
	flex: 1;
	position: relative;
}

.about-image img {
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(255,255,255,0.9);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-color);
	font-size: 20px;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.about-text {
	flex: 1;
}

.about-text h2 {
	color: var(--primary-color);
	font-size: 28px;
	margin-bottom: 20px;
}

.about-text p {
	color: var(--text-light);
	margin-bottom: 30px;
}

.about-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 30px;
}

.about-feature {
	display: flex;
	align-items: center;
	gap: 10px;
}

.about-feature i {
	color: var(--primary-color);
	font-size: 20px;
}

/* Stats */
.stats {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 40px 0;
}

.stats-container {
	display: flex;
	justify-content: space-around;
	text-align: center;
}

.stat-item {
	display: flex;
	align-items: center;
	gap: 15px;
}

.stat-item i {
	font-size: 35px;
	opacity: 0.8;
}

.stat-info h3 {
	font-size: 28px;
	margin-bottom: 5px;
}

/* Success Stories Slider */
.success-stories {
	padding: 80px 0;
	background-color: var(--secondary-color);
}

.mySwiper {
	width: 100%;
	padding-bottom: 50px;
}

.swiper-pagination-bullet-active {
	background-color: var(--primary-color) !important;
}

.ba-wrapper {
	position: relative;
	height: 300px;
	width: 100%;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	background: #fff;
}

.ba-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}

.img-after {
	clip-path: inset(0 0 calc(100% - var(--val, 50%)) 0);
	z-index: 2;
}

.img-before {
	z-index: 1;
}

.ba-wrapper input[type="range"] {
	-webkit-appearance: slider-vertical;
	writing-mode: bt-lr;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	opacity: 0;
	z-index: 10;
	cursor: ns-resize;
}

.slider-line {
	position: absolute;
	bottom: var(--val, 50%);
	left: 0;
	width: 100%;
	height: 2px;
	background: white;
	transform: translateY(50%);
	pointer-events: none;
	z-index: 5;
	box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.slider-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 35px;
	height: 35px;
	border: 2px solid white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	background-color: rgba(0,0,0,0.3);
	backdrop-filter: blur(2px);
}

.ba-label {
	position: absolute;
	background: rgba(0,0,0,0.5);
	color: white;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	z-index: 5;
	pointer-events: none;
}
.label-top { bottom: 15px; right: 15px; }
.label-bottom { top: 15px; right: 15px; }

/* Why Us */
.why-us {
	padding: 80px 0;
	background-color: var(--white);
}

.why-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.why-card {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 20px;
	border: 1px solid var(--border-color);
	border-radius: 8px;
}

.why-card i {
	font-size: 24px;
	color: var(--primary-color);
}

/* Gallery */
.gallery {
	padding: 80px 0;
	background-color: var(--secondary-color);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	margin-bottom: 40px;
}

.gallery-grid img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Testimonials */
.testimonials {
	padding: 80px 0;
	background-color: var(--white);
}

.testi-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.testi-card {
	border: 1px solid var(--border-color);
	padding: 30px;
	border-radius: 8px;
	text-align: center;
}

.stars {
	color: #ffc107;
	margin-bottom: 15px;
}

.testi-card p {
	font-size: 14px;
	color: var(--text-light);
	margin-bottom: 20px;
	font-style: italic;
}

.testi-user {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.testi-user img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
}

/* Contact */
.contact {
	padding: 80px 0;
}

.contact-container {
	display: flex;
	background: var(--primary-color);
	border-radius: 10px;
	overflow: hidden;
	color: var(--white);
}

.contact-info {
	flex: 1;
	padding: 50px;
}

.contact-info h2 {
	margin-bottom: 30px;
	font-size: 24px;
}

.contact-list {
	list-style: none;
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 25px;
}

.contact-list i {
	font-size: 20px;
	margin-top: 5px;
}

.contact-map {
	flex: 1.5;
	background: #ccc;
	min-height: 400px;
}

.social-icons {
	display: flex;
	gap: 15px;
	margin-top: 30px;
}

.social-icons a {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.3);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Bottom CTA */
.bottom-cta {
	background-color: var(--primary-color);
	color: var(--white);
	margin-top: 40px;
	border-radius: 10px;
	overflow: hidden;
}

.bottom-cta-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 50px;
}

.bottom-cta img {
	max-height: 200px;
	margin-top: 20px;
	border-radius: 50%;
}

/* Footer */
footer {
	background-color: #1e2a36;
	color: #ddd;
	padding-top: 50px;
	margin-top: 50px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	padding-bottom: 40px;
	border-bottom: 1px solid #3a4a5a;
}

.footer-col h4 {
	color: white;
	margin-bottom: 20px;
	font-size: 18px;
}

.footer-col ul {
	list-style: none;
}

.footer-col ul li {
	margin-bottom: 10px;
}

.footer-col ul li a {
	color: #bbb;
	transition: 0.3s;
}

.footer-col ul li a:hover {
	color: var(--primary-color);
	padding-right: 5px;
}

.newsletter input {
	padding: 10px;
	width: 100%;
	border-radius: 5px;
	border: none;
	margin-bottom: 10px;
}

.newsletter button {
	background-color: var(--primary-color);
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	color: white;
	cursor: pointer;
}

.copyright {
	text-align: center;
	padding: 20px;
	font-size: 13px;
	color: #aaa;
}

/* WhatsApp Float */
.whatsapp-float {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background-color: #25d366;
	color: white;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	z-index: 1000;
}

/* ================= Responsive Media Queries ================= */
@media (max-width: 992px) {
	.why-grid, .gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.testi-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.about-content, .hero-content {
		flex-direction: column;
		text-align: center;
		gap: 30px;
	}
	.hero-text {
		padding-left: 0;
	}
	.hero-buttons {
		justify-content: center;
	}
	.contact-container {
		flex-direction: column;
	}

	/* Hamburger Menu overrides */
	.header-content {
		flex-direction: row; 
		height: 80px;
		padding: 0 15px;
	}
	.menu-toggle {
		display: block; 
	}
	.header-btn {
		padding: 8px 15px;
		font-size: 14px;
	}
	nav ul {
		display: none; 
		position: absolute;
		top: 80px;
		left: 0;
		right: 0;
		background-color: var(--white);
		flex-direction: column;
		width: 100%;
		padding: 0;
		gap: 0;
		box-shadow: 0 10px 15px rgba(0,0,0,0.1);
		border-top: 1px solid var(--border-color);
		z-index: 999;
	}
	nav ul.active {
		display: flex; 
	}
	nav ul li {
		width: 100%;
		border-bottom: 1px solid var(--border-color);
	}
	nav ul li:last-child {
		border-bottom: none;
	}
	nav ul li a {
		display: block;
		padding: 15px 20px;
	}

	/* Sub-menu Mobile */
	nav ul .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border-top: none;
		display: none;
		background-color: var(--secondary-color);
	}
	nav ul li:hover > .sub-menu,
	nav ul li:focus-within > .sub-menu {
		display: flex;
	}
	nav ul .sub-menu a {
		padding-right: 40px;
		font-size: 13px;
	}
	nav ul .sub-menu a:hover {
		padding-right: 45px;
	}
}

@media (max-width: 768px) {
	.features-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-top: 20px;
	}
	.stats-container {
		flex-wrap: wrap;
		gap: 30px;
	}
	.stat-item {
		width: 45%;
		justify-content: center;
	}
	.testi-grid, .why-grid, .gallery-grid {
		grid-template-columns: 1fr;
	}
	.bottom-cta-content {
		flex-direction: column;
		text-align: center;
		gap: 20px;
		padding: 30px 15px;
	}
	.bottom-cta img {
		margin-top: 0;
	}
	.contact-info {
		padding: 30px 20px;
	}
}

@media (max-width: 480px) {
	.stat-item {
		width: 100%;
	}
	.about-features {
		grid-template-columns: 1fr;
	}
	
	/* Sizing tweaks to fit Logo + Button + Hamburger on very small phones */
	.logo img {
		max-height: 40px; 
	}
	.header-btn {
		padding: 6px 12px;
		font-size: 13px;
	}
	.header-actions {
		gap: 10px;
	}
}
