*{
	-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: #6ebb44;   

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

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

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

  --btn-secondary-bg: #6ebb44;
  --btn-secondary-hover: #5aa538;

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

/* 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;
}
.social{
    background: var(--gradient);
    font-size: 14px;
}
.top-section a{
    color: #d8d8d8;
}
nav{
	height: auto;
}
nav .logo{
	width: 85px;
}
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;
}
.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: 750px){
	nav .main-ul{
		position: absolute;
		width: 100%;
		background: #ffffff;
		right: -110%;
		top: 55px;
		padding: 0;
		text-align: center;
		transition: all .5s;
		z-index: 3;
		opacity: 0.95;
	}
	nav .logo{
		margin-top: 0px;
	}
	.checkbtnhide{
		top: -100px;
	}
	nav .main-ul .main-li{
		display: block;
		line-height: 50px;
		border-bottom: 1px solid #e2e2e2;
	}
	nav .main-ul .main-li a{
		color: #38393a;
        padding: 0px 13px;
	}
	nav .sub-ul{
		text-align: center;
		background: #fafafa;
	}
	nav .sub-ul .sub-li a:hover{
		color: #0088cb;
		transition: .3s;
	}
	.checkbtn{
		display: block;
	}
	#checkshow:checked ~ .main-ul{
		right: 0;
	}
	#checkhide:checked ~ .main-ul{
		right: -110%;
	}
	#checkshow:checked ~ .checkbtnshow{
		top: -100px;
	}
	#checkshow:checked ~ .checkbtnhide{
		top: 38px;
        left: 10px;
	}
	#checkhide:checked ~ .checkbtnhide{
		top: -100px;
	}
	#checkhide:checked ~ .checkbtnshow{
		top: 0px;
	}
    .search-btn{
        left: 50px;
    }
	nav .main-li a:hover{
		color: var(--secondary-color);
		text-decoration: none;
		transform: scale(1.05);
		transition: .3s;
	}
	nav .main-li:hover{
		background: #eeeeee;
	}
	nav .sub-ul{
		position: static;
		border-radius: 0;
		display: none;
	}
	nav .sub-ul .sub-li{
		line-height: 45px;
	}
}


/* 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;
}
.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;
}

/* 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;
}
.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;
}