* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	text-decoration: none;
	outline: none;
} 

html {
	scroll-behavior: smooth;
} 

html, body {
	margin: 0;
	font-family: 'Poppins', sans-serif;  
	overflow-x: hidden;  
	width: 100%;  
	background: #0B1C32;
}  

/*body {
	-webkit-user-select: none; /* يمنع التظليل */
    user-select: none;
}  */

/*scrollTop*/
.scrollTop {  
	position: fixed;
	bottom: 800px;
	left: 15px;
	width: 35px;
	height: 35px;
	background: #D90D32 url(images/right-arrow2.png);
	border-radius: 10px; 
    -moz-border-radius: 10px;
	background-size: 20px;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
	z-index: 100000;
	visibility: hidden;
	opacity: 0;
	transition: 0.5s;
	font-weight: 600;  
}

.scrollTop.active {  
	bottom: 60px;
	visibility: visible;
	opacity: 1;
}

.scrollTop:hover {
	-moz-border-radius: 12px;
	border-radius: 12px; 
}
/*scrollTop end*/



/*section-title*/
.section-title {  
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%; 
	margin-bottom: 40px; 
}

.section-title h1 { 
	display: inline-block;
	font-size: 28px;
	text-transform: uppercase;
	font-weight: 700;
	color: #000000;
	margin: 0 0 10px;
	position: relative;
	-moz-transform: skew(-24deg, 0deg);
	-webkit-transform: skew(-24deg, 0deg);
	-o-transform: skew(-24deg, 0deg);
	-ms-transform: skew(-24deg, 0deg);
	transform: skew(-24deg, 0deg);
	color: #e7eaf6;
    
}

.section-title h1::before {
	content: "";
	left: 0;
	position: absolute;
	height: 4px;
	right: 30%;
	background-color: #D90D32;
	bottom: 0px;
} 

/*for sub title insection-title*/
.section-title h4 {
	color: #e7eaf6;
}

.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

/*header*/
header { 
	position: absolute;
	left: 0;
	right: 0;
	/*border-bottom: 1px solid #0B1C32;  #423940;*/
	padding: 0 15px;
	z-index: 10;
	height: 75px; 
	width: 100%;   
}

header.fixed {
	background-color: #0B1C32;
	position: fixed;
	border-color: #0B1C32;
	z-index: 11;
	-webkit-animation: fixHeader 1s ease;
	animation: fixHeader 1s ease;  
}

@-webkit-keyframes fixHeader {
	0% {
		-webkit-transform: translateY(-100%);
		        transform: translateY(-100%)
	}
	100% {
		-webkit-transform: translateY(-%);
		        transform: translateY(-%)
	}
}
@keyframes fixHeader {
	0% {
		-webkit-transform: translateY(-100%);
		        transform: translateY(-100%)
	}
	100% {
		-webkit-transform: translateY(-%);
		        transform: translateY(-%)
	}
}

.container {
	max-width: 1140px; 
	margin: auto;
	width: 100%;    
}

.row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

header .row {
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

header .brand-name img { 
	width: 110px;
	height: 110px; 
	position: absolute;
	top: 5px;    
}   

header .navbar ul {
	list-style: none;
	padding: 0;
	margin: 0;  
}

header .navbar ul li {
	display: inline-block;
	margin-left: 35px; 
}

header .navbar ul li a {
	font-size: 15px;
	text-decoration: none;
	line-height: 72px;
	color: #e7eaf6;  
	display: block;
	font-weight: 700;
	position: relative;
}

header.fixed .navbar ul li a {
	color: #e7eaf6;
}

header .navbar ul li a::before {
	content: "";
	height: 3px;
	background-color: #e7eaf6; 
	width: 0;
	position: absolute;
	right: 0;
	bottom: 22px; 
	-webkit-transition: all .5s ease; 
	-o-transition: all .5s ease;
	transition: all .5s ease;
} 

header.fixed .navbar ul li a::before {
	background-color: #D90D32;
}

header .navbar ul li a:hover::before,
header .navbar ul li a.active::before {
	width: 100%;
	left: 0;
}

/*home*/
.home { 
	min-height: 100vh;
	position: relative;
	clip-path: polygon(100% 0%,100% 80%, 50% 100%,0 80%,0 0); 
	background-image: url("images/hero8.png"); 
	background-size: cover;	
	background-position: center;
	
} 

.home .full-screen { 
	min-height: 100vh;  
}

.home .home-content {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	min-height: 100vh;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center; 
}

 

/*service*/
.blog { 
	padding: 100px 15px 70px;  
    margin-top: 50px;
}

.blog .section-title h1::before {
	left: 30%;
}

.blog .blog-content {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
    gap: 20px;
}

.blog-card-link {
    display: block; /* هذا سيجعل الرابط يحترم أبعاد الـ flex */
    flex: 0 0 calc(33.33% - 20px); /* انقل الـ flex هنا بدلاً من الـ card */
    max-width: calc(33.33% - 20px);
    text-decoration: none; /* لإزالة خط الرابط */
    color: inherit; /* لضمان بقاء ألوان النص كما هي */
    margin-bottom: 20px;
}

.blog .blog-content .blog-card {
	background-color: #0B1C32;  
    width: 100%; 
	text-align: center;
	position: relative;
	-moz-border-radius: 8px;
	border-radius: 8px;
    background-color: #112B4A;
	-webkit-box-shadow: 0 0 20px rgba(48, 46, 77, .15);
	box-shadow: 0 0 20px rgba(48, 46, 77, .15);
	-webkit-transition: -webkit-transform .8s ease;
	transition: -webkit-transform .8s ease;
	-o-transition: transform .8s ease;
	transition: transform .8s ease;
	transition: transform .8s ease, -webkit-transform .8s ease;  
    overflow: hidden;   
} 

.blog .blog-content .blog-card:hover {
	-webkit-transform: translateY(-10px);
	-ms-transform: translateY(-10px);
	transform: translateY(-10px);
} 

.card-image {
    position: relative;
    height: 180px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} 

.card-text {
    padding: 15px;
}

.card-text h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #e7eaf6;
    text-align: right;
}

.card-footer {
    display: flex;
    justify-content: space-between; /* Pushes items to opposite ends */
    align-items: center;            /* Centers them vertically */
    padding: 0 15px 15px 15px;      /* Keeps your original padding */
}

.category {
    display: block;
    color: #D90D32;                 /* Your original red */
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 0;               /* Reset margin to allow flex centering */
}

.date { 
    color: #e7eaf6;                 /* Your original color */
    font-size: 0.85rem;
    margin-bottom: 0;               /* Reset margin to allow flex centering */
}
 
 
  
 
 
 
/* whatsapp start */

.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    align-items: center;    /* Centers horizontally */
    gap: 8px;               /* Space between text and icon */
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-text {
   background-color: #D90D32;
  color: #e7eaf6;
  padding: 6px 12px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 13px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.whatsapp-float {
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
}

.whatsapp-container:hover .whatsapp-float {
    transform: scale(1.1);
}
/* whatsapp end */

 
  
/*footer*/
footer {
	padding: 30px 15px;
	/*background-color: #1d2125;*/
	background-image: url("images/footerbg.png");
}

footer .brand-name { 
	width: 100px;
	height: 100px;
	margin: 0 auto 10px;
}

footer .brand-name img {
	width: 100%;
	height: 100%;
} 

footer .social {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
	text-align: center;
	padding-top: 15px;
}

footer .social a {
	color: #FFF;
	font-size: 25px;
	text-decoration: none;
	display: inline-block;
	margin: 0 12px;
	-webkit-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

footer .social a:hover {
	-webkit-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);
}


footer .social .fa-twitter {
	color: #55acee;
}


footer .social .fa-linkedin {
	color: #007BB6;
}

footer .social .fa-whatsapp {
	color: #3BBE22;
}

footer .social .fa-instagram {
	color: #AC07EA;
}

footer .social .fa-tiktok {
	color: #000000;
	text-shadow: 1px 1px 2px #e7eaf6;
}

footer .social .fa-youtube {
	color: #D90D32;
	text-shadow: 1px 1px 2px #e7eaf6;
}

footer .social .fa-facebook-f {
	color: #0866FF;
	text-shadow: 1px 1px 2px #e7eaf6;
}

/*copyright*/
.copyright {
	/*background-color: #1d2125;*/
	background-image: url("images/footerbg.png");
	border-top: 1px solid #0B1C32; 
	padding: 15px;
}

.copyright p{
	color: #e7eaf6;
	margin: 0;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
}   

.ham-burger #sign-one,
.ham-burger #sign-two {
	font-size: 34px; 
	height: 35px;
	width: 35px;
	margin-right:10px; 
	color: #e7eaf6;
	text-align: center;
	line-height: 40px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	cursor: pointer; 
	display: none; 
}

#res-menu {
	display: none;
}

/*success page  
.success { 
	margin: auto; 
	padding: 20px;   
}  

.success h1 {
	color: #ffa500;
}

.success p,
.success a {
	color: #ff3333;
	font-weight: 500; 
} */


 
 

/*Responsive 2*/
@media(max-width: 802px) {  /*@media(max-width: 767px) {*/
	
	/*scrollTop*/
	.scrollTop {   
		left: 5px;
		width: 25px;
		height: 25px; 
		background-size: 14px; 
	}

	.scrollTop.active {  
		bottom: 20px; 
	} 
	
 
	
	header {
		padding: 15px;
		position: fixed;
		/*background-color: #0B1C32;*/
		border: none;
		/*border-bottom: 1px solid #0B1C32;*/
		z-index: 11;
		width: 100%;   
	}	
	
	header.fixed {
	background-color: transparent; 
	border-color: none; 
}

	header .brand-name img {
		width: 100px;
		height: 100px; 
		z-index: 100; 
	}  
	
	.ham-burger #sign-one {
		display: block;
	}
	
	#res-menu:checked ~ .navbar { 
		right: 0;  
	}
	
	#res-menu:checked ~ .ham-burger #sign-one {
		display: none;
	}
	
	#res-menu:checked ~ .ham-burger #sign-two {
		display: block;
	}

	.navbar {
		position: absolute;
		background-color: #0B1C32;
		right: -100%;
		top: 75px;
		padding: 15px;
		/*border-bottom: 1px solid #e7eaf6;*/
		width: 40%;
		text-align: center;
		-webkit-transition: all .8s ease;
		-o-transition: all .8s ease;
		transition: all .8s ease; 
	}
	
	.navbar.show {
		display: block;
	}
	
	header .navbar ul li {
		display: block;
		margin-left: 0; 
		border-bottom: 1px solid #e7eaf6;  
		-webkit-transition: all .5s ease;
		-o-transition: all .5s ease;
		transition: transform .5s ease;
	} 
	
	header .navbar ul li a {
		line-height: 42px;
		color: #e7eaf6;
		-webkit-transition: all .5s ease;
		-o-transition: all .5s ease;
		transition: all .5s ease; 
	}
	
	header .navbar ul li a:hover {
		-webkit-transform: scale(1.05);
		-ms-transform: scale(1.05);
		transform: scale(1.05);
		color: #ffa500;
	}
	
	header .navbar ul li:last-child {
		border-bottom: none;
	}
	
	header .navbar ul li a::before {
	/*to hide red line on home link*/
		content: none; 
	}
	
 
    .blog-card-link {  
        flex: 0 0 calc(50% - 10px); /* 50% تعني بطاقتين في الصف */
        max-width: calc(50% - 10px);  
    } 
	  
} 


/*Responsive 500px*/
@media(max-width: 500px) {  
    
     header .brand-name img {
    width: 85px;
    height: 85px; 
  }
    
    .ham-burger #sign-one, .ham-burger #sign-two {
  font-size: 30px; 
}
	
	   
	  .blog-card-link {  
        flex: 0 0 calc(100% - 10px);  
        max-width: calc(100% - 10px);  
    } 
    
    
    

/* whatsapp start */
.whatsapp-text {
  font-size: 13px;
}

.whatsapp-float { 
    width: 50px;
    height: 50px; 
    font-size: 30px; 
}

.whatsapp-container:hover .whatsapp-float {
    transform: scale(1.1);
}
    
    .whatsapp-container { 
  bottom: 40px;
  right: 5px; 
}
/* whatsapp end */
    
    
    footer .brand-name {
  width: 85px;
  height: 85px; 
}
    
    footer .social a { 
  font-size: 20px; 
}

.copyright p {
    font-size: 13px;
     padding-right: 15px;
    padding-left: 15px; 
}
    
      .scrollTop { 
    width: 30px;
    height: 30px; 
  }

}



















