* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-decoration: none !important;
	list-style: none;
	font-family: 'Tajawal', sans-serif;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background: #555;
}

/* Firefox */
* {
	scrollbar-width: thin;
	/* 'auto' أو 'thin' */
	scrollbar-color: #888 #f1f1f1;
	/* thumb color ثم track color */
}

:root {
	--primary-color: #233a72;
	--secondary-color: #c5a059;
	/* Changed to Gold */

	--gradient: linear-gradient(135deg, #233a72, #c5a059);

	--light-color: #f5f7fa;
	--text-color: #1a1a1a;
	--muted-text: #d8d8d8;

	--btn-primary-bg: #233a72;
	--btn-primary-hover: #1a2d5b;

	--btn-secondary-bg: #c5a059;
	--btn-secondary-hover: #b08d4a;

	--border-color: #e0e0e0;
	--transparent-black: rgba(0, 0, 0, 0.507);
	--transparent-primary: rgba(3, 16, 43, 0.347);
}

.text-gold {
	color: var(--secondary-color) !important;
}

.bg-gold {
	background-color: var(--secondary-color) !important;
}

.bg-gold-light {
	background-color: rgba(197, 160, 89, 0.1) !important;
}

/* preloader */
.preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	transition: opacity 0.8s ease;
}

.preloader-logo-container {
	position: relative;
	width: 180px;
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.preloader-logo-img {
	width: 120px;
	height: auto;
	transition: transform 0.5s ease;
}

.preloader-progress-container {
	width: 250px;
	height: 5px;
	background-color: #e0e0e0;
	border-radius: 5px;
	overflow: hidden;
}

.preloader-progress-bar {
	height: 100%;
	width: 0;
	background-color: var(--primary-color);
	transition: width 0.3s ease;
}

.preloader_percentage {
	color: #555555;
	margin-top: 10px;
	font-size: 12px;
	font-family: 'Arial', sans-serif;
}


/* header */
.top-section {
	color: #d8d8d8;
	background: var(--transparent-primary);
	width: 100%;
	position: fixed;
	z-index: 4;
	transition: background 0.3s ease;
}

.navbar-toggler:focus {
	box-shadow: none !important;
	border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.social {
	background: var(--gradient);
	font-size: 14px;
}

.top-section a {
	color: #d8d8d8;
}

nav {
	height: auto;
}

nav .logo {
	width: 170px;
}

nav .main-ul {
	display: inline-block;
	margin-top: 30px;
	float: left;
}

nav .main-ul .main-li {
	display: inline-block;
	margin-left: 5px;
	margin-right: 5px;
}

nav .main-ul .main-li a {
	color: var(--muted-text);
	padding: 5px 13px;
	display: block;
}

nav .main-li a:hover {
	color: var(--secondary-color);
	text-decoration: none;
	transform: scale(1.05);
	transition: .3s;
}

nav .main-li .href:hover {
	cursor: default;
}

nav .main-li a.active,
.navbar-nav .nav-link.active {
	color: var(--secondary-color) !important;
	font-weight: bold;
}

.checkbtn {
	font-size: 18px;
	color: var(--muted-text);
	position: absolute;
	top: 38px;
	left: 10px;
	cursor: pointer;
	display: none;
}

.rotate {
	transform: rotate(180deg);
}

#checkshow {
	display: none;
}

#checkhide {
	display: none;
}

.search-btn {
	font-size: 22px;
	color: #d8d8d8;
	position: absolute;
	left: 10px;
	top: 37px;
	cursor: pointer;
	z-index: 4;
}

input:focus {
	outline: none !important;
	box-shadow: none !important;
}

.search-icon {
	color: #0088cb;
}

.custom-search-input {
	border: none;
	color: #e2e2e2 !important;
	border-bottom: 2px solid #0088cb;
	transition: border-bottom-width 0.2s ease-in-out;
}

.custom-search-input::placeholder {
	color: #d8d8d8;
	opacity: 1;
}

.custom-search-input:focus {
	border-bottom: 3px solid #0088cb;
	outline: none;
	box-shadow: none;
}



@media all and (max-width: 767px) {
	.navbar-collapse {
		background-color: rgba(3, 16, 43, 0.8);
		/* Dark background with 0.8 opacity */
		padding: 10px;
		margin-top: 10px;
		border-radius: 4px;
	}

	nav .main-ul {
		width: 100%;
		float: none;
		display: block;
		margin-top: 0;
		padding: 0;
		text-align: center;
	}

	nav .logo {
		margin-top: 0px;
	}

	nav .main-ul .main-li {
		display: block;
		line-height: 40px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		margin: 0;
	}

	nav .main-ul .main-li:last-child {
		border-bottom: none;
	}

	nav .main-ul .main-li a {
		color: #e2e2e2 !important;
		padding: 10px 15px;
		display: block;
	}

	nav .main-ul .main-li a:hover {
		color: var(--secondary-color) !important;
		background-color: rgba(255, 255, 255, 0.05);
		text-decoration: none;
	}

	/* Search button alignment */
	.search-btn {
		left: 60px;
		/* Adjust as needed */
	}

	/* Hide unused checkbox elements if they exist in DOM (they don't in new header, but good to clean CSS) */
	.checkbtn,
	#checkshow,
	#checkhide {
		display: none !important;
	}
}


/* carousel */
.main-carousel {
	clear: both;
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	background-color: rgba(0, 0, 0, 0.5);
	border: none;
	color: white;
	font-size: 2rem;
	padding: 0.5rem 1rem;
	cursor: pointer;
}

.carousel-btn.prev {
	right: 8px;
}

.carousel-btn.next {
	left: 10px;
}

.carousel-container {
	position: relative;
}

.carousel-control-prev,
.carousel-control-next {
	width: 50px;
	padding: 0;
}

.carousel-item {
	height: 650px;
	position: relative;
}

.carousel-item img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}

.carousel-caption {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: var(--transparent-black);
	color: var(--muted-text);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 20px;
}

.carousel-caption strong {
	margin-top: 150px;
	font-size: 40px !important;
}

.contact-price {
	background: var(--gradient);
	width: 70%;
}

@media all and (max-width: 575px) {
	.contact-price {
		width: 100%;
	}
}


.circles img {
	width: 300px;
	opacity: 0.7;
}

.service-box {
	min-height: 360PX;
}

.service {
	border-left: 1px solid #6ebb44;
	border-right: 1px solid #6ebb44;
	min-width: 200px;
	padding: 15px 10px;
	text-align: center;
	transition: all 0.5s ease;
	margin-bottom: 20px;
}

.service:hover {
	border: 1px solid #6ebb44;
	transform: translateY(-10px);
}

@media all and (max-width: 575px) {
	.service-box {
		padding: 10px;
	}

	.service {
		width: 100%;
		min-width: 300px;
	}
}

@media all and (max-width: 1199px) {
	.service {
		min-width: 250px;
	}
}

/* Equipment */
.equipment-card {
	transition: all 0.3s ease;
	border-radius: 10px;
}

.equipment-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.equipment-img-container {
	position: relative;
	overflow: hidden;
	height: 200px;
}

.equipment-img-container img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: all 0.5s ease;
}

.equipment-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: all 0.3s ease;
}

.equipment-card:hover .equipment-overlay {
	opacity: 1;
}

.equipment-card:hover .equipment-img-container img {
	transform: scale(1.1);
}

.price {
	font-weight: bold;
	color: var(--primary-color);
	font-size: 1.1rem;
}

/* Why Choose Us */
.why_choose_us {
	background-image: url("../../imgs/user/section_bg_1.jpg");
	width: 100%;
	min-height: 510px;
	background-size: cover;
	background-position: center;
}

.choose-us-card {
	border-top: 5px solid #dedede !important;
	transition: all 0.5s ease;
}

.icon-box {
	width: 70px;
	height: 70px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(110, 187, 68, 0.1);
	border-radius: 50%;
	transition: all 0.3s ease;
}

.choose-us-card:hover {
	border-top: 5px solid #6ebb44 !important;
	transform: translateY(-10px);
}

.choose-us-card:hover .icon-box {
	background-color: rgba(110, 187, 68, 0.2);
	transform: scale(1.1);
}

/* parallax section */
.parallax-section {
	position: relative;
	overflow: hidden;
	background-color: #f8f9fa;
	/* لون خلفية احتياطي */
}

.parallax-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("../../imgs/user/parallax.jpg");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	z-index: 0;
	filter: brightness(0.9);
}

.parallax-section .container {
	position: relative;
	z-index: 1;
}

/* تحسينات للواجهة */
.parallax-section .bg-white {
	background-color: rgba(255, 255, 255, 0.9) !important;
	backdrop-filter: blur(2px);
}

.brand-logo {
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.brand-logo:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
	background-color: #03102b;
}

footer a {
	transition: all 0.3s ease;
	color: #FFFFFF;
}

footer .social-color:hover {
	background-color: var(--secondary-color) !important;
}

footer .link-color:hover {
	color: var(--secondary-color) !important;
}

.social-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	transition: all 0.3s ease;
}

.social-icons a:hover {
	background-color: var(--secondary-color);
	transform: translateY(-3px);
}


/* pages */
.pages-bg {
	background-image: url("../../imgs/user/pages_bg.jpg");
	width: 100%;
	height: 350px;
	background-size: cover;
	background-position: center;
}

.pages-bg .container {
	padding-top: 110px;
}

.pages-title {
	font-size: 48px;
	font-weight: 900;
	position: relative;
	display: block;
	width: 100%;
	margin-bottom: 10px;
}

/* Page Header Styles for Inner Pages */
.hero-section,
.page-header {
	padding-top: 150px !important;
	/* Default desktop padding */
	padding-bottom: 3rem !important;
	background-color: #1a1a1a;
	/* Ensure dark bg matches */
	background-image: url('../../imgs/user/hero_bg_clear.png');
	background-size: cover;
	background-position: center;
}

/* Breadcumb Active Item */
/* Breadcumb Active Item */
.breadcrumb-item.active {
	color: var(--secondary-color) !important;
	font-weight: bold !important;
	display: inline-block;
}

.breadcrumb-item.active span {
	border-bottom: 2px solid var(--secondary-color);
	padding-bottom: 2px;
	display: inline-block;
}

/* Breadcrumb Separator */
.breadcrumb-item+.breadcrumb-item::before {
	float: right;
	/* Fix for RTL */
	padding-left: 0.5rem;
	color: rgba(255, 255, 255, 0.5);
	content: "/";
}

.pages-title::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: -4px;
	width: 120px;
	height: 4px;
	background-color: var(--secondary-color);
}

.pages-subtitle {
	font-size: 18px;
}

.pages-links,
.pages-links a {
	color: var(--muted-text);
}

.pages-links a:hover {
	color: var(--secondary-color);
	text-decoration: none;
	transform: scale(1.05);
	transition: .3s;
	cursor: pointer;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

	/* Adjust Hero and Page Header Padding */
	.hero-section,
	.page-header {
		padding-top: 150px !important;
		/* Increased to match desktop */
		padding-bottom: 2rem !important;
	}

	/* Adjust Font Sizes */
	.display-3 {
		font-size: 2.5rem;
		/* Smaller hero title */
	}

	.display-6 {
		font-size: 1.8rem;
	}

	.lead {
		font-size: 1rem;
	}

	/* Adjust Navbar Brand/Logo if needed */
	.navbar-brand img {
		max-height: 40px;
		/* Ensure logo isn't too big */
	}

	/* .top-section {
		display: none;
	} */

	/* Ensure no horizontal scroll on mobile */
	html,
	body {
		overflow-x: hidden;
		width: 100%;
	}

	/* Fix for circle background on mobile */
	.circle-bg {
		max-width: 100%;
		max-height: 100%;
	}

	/* Center text on mobile for hero */
	.hero-section .text-lg-start {
		text-align: center !important;
	}

	/* Order adjustment if needed is usually handled by Bootstrap classes, 
       but we can reinforce image spacing */
	.author-image-container img {
		max-height: 350px !important;
		/* Smaller text image */
	}
}


/* about */
.contact-price-service {
	background: var(--gradient);
	width: 100%;
}

/* about */
.about-img {
	height: 400px;
	object-fit: cover;
}

/* bubbles */
.bubbles {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
	/* خلف كل شيء */
	overflow: hidden;
	pointer-events: none;
	/* لا تمنع النقر */
}

.bubbles span {
	position: absolute;
	display: block;
	width: 20px;
	height: 20px;
	background: rgba(0, 183, 255, 0.2);
	/* لون الفقاعة */
	border-radius: 50%;
	bottom: -150px;
	left: calc(100% * var(--i) / 30);
	animation: bubble 20s linear infinite;
	animation-duration: calc(10s + var(--i) * 0.3s);
}

@keyframes bubble {
	0% {
		transform: translateY(0) scale(1);
		opacity: 0.4;
	}

	50% {
		opacity: 0.7;
	}

	100% {
		transform: translateY(-100vh) scale(1.2);
		opacity: 0;
	}
}

/* whatsapp */
.whatsapp-button {
	position: fixed;
	bottom: 20px;
	left: 20px;
	background-color: #25D366;
	color: white;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	z-index: 1000;
	transition: all 0.3s;
}

.whatsapp-button:hover {
	background-color: #128C7E;
	transform: scale(1.1);
}

.whatsapp-icon {
	margin-top: 2px;
}


/*modal*/
.equipment-label {
	cursor: pointer;
	transition: 0.3s;
}

.equipment-label:hover {
	border-color: #6ebb44;
	box-shadow: 0 0 8px rgba(110, 187, 68, 0.6);
}

.equipment-checkbox:checked+.equipment-label {
	border: 1px solid #6ebb44;
	background: #dae1d6;
	box-shadow: 0 0 12px rgba(110, 187, 68, 0.8);
}

.equipment-image {
	max-height: 85px;
	object-fit: contain;
}

/* form section */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Firefox */
input[type=number] {
	-moz-appearance: textfield;
}

/* control bootstrap classes */
body.modal-open {
	padding-right: 0 !important;
	overflow: hidden !important;
}

/* Contact Page Styles */
.contact-icon-box {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(197, 160, 89, 0.1);
	/* Light Gold */
	border-radius: 50%;
	color: var(--secondary-color);
	font-size: 1.5rem;
	transition: all 0.3s ease;
}

.contact-icon-box:hover {
	background-color: var(--secondary-color);
	color: #fff !important;
}

.contact-icon-box i {
	color: inherit !important;
}

/* Contact Page Social Links Hover */
.social-links-big a:hover {
	background-color: var(--primary-color) !important;
	border-color: var(--primary-color) !important;
	color: #ffffff !important;
}

/* About Page Unified Card */
.about-unified-card {
	border: 1px solid #e0e0e0;
	border-bottom: 5px solid var(--secondary-color);
	background: #ffffff;
	border-radius: 0;
	/* No radius */
	box-shadow: none;
	/* No shadow */
}

.about-unified-card .row {
	margin-right: 0;
	margin-left: 0;
}

.about-unified-card .col-lg-5,
.about-unified-card .col-lg-7 {
	padding-right: 0;
	padding-left: 0;
}

.about-unified-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 400px;
}


/* Footer Social Links Hover */
footer .social-links a:hover {
	color: var(--secondary-color) !important;
}


.form-control:focus {
	border-color: #14a44e3a !important;
	box-shadow: 0 0 5px #14a44e3a !important;
}

textarea {
	resize: none;
}

/* custom classes */
.border-right-light-green {
	border-right: 3px solid #6ebb44;
}

.border-left-light-green {
	border-left: 3px solid #6ebb44;
}

.bg-opacity-85 {
	opacity: 85%;
}

.reflect-x {
	transform: scaleX(-1);
}

.ltr {
	direction: ltr;
}