@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

:root {
  --blue: #386DB3;
  --black: #242527;
  --white: #F6F6F6;
  --grey: #B5B5B5;
  }
  
html {
  scroll-behavior: smooth;
  }
  
body {
  font-family: "Tajawal", sans-serif;
  text-align: right;
  }

p{
  font-size: 19px;
  }

section.main-section{
  margin: 100px 50px;
}

section.space-section{
  margin: 100px;
}

/*-- #Nav-bar Start --*/
.bg-light{
  background-color: var(--white) !important;
}

.navbar-light .navbar-nav .nav-link{
  color: var(--grey);
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link{
  color: var(--blue);
  font-weight: bold;
}
/*-- #Nav-bar End --*/

/*-- #Header Start --*/
header .header-content{
  height: 100vh;
  background: rgb(71,71,71);
  background: linear-gradient(96deg, rgba(71,71,71,1) 0%, rgba(34,34,34,1) 42%);      
  display:flex;
  justify-content: space-between;
  align-items: center;
}

header .header-bg{
  background-repeat: no-repeat;
  background-position: center;
  width: 100vw;
  height: 100vh;
  background-size: cover;
}

header .header-title{
  color: #ffffff;
  display: flex;
  justify-content: center;
}

header .header-title div{
  width: 50%;
}

header .header-title h1{
  font-size: 58px;
  font-weight: 900;
}

header .header-content .header-title p{
  color:#ffffff;
  margin-top: 45px;
  font-size: 28px;
}

header .header-title span{
  color: var(--blue);
}
/*-- #Header End --*/

/*-- #About-us Start --*/
.about-flex-container {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  }

.about-flex-container > .about-content {
  background-color:  var(--white);
  width: 1000px;
  border-radius: 25px;
  padding: 100px;
}

.about-content h2{
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
  text-align: center;
}

.about-content h3{
  color: var(--blue);
  font-weight: bold;
  font-size: 22px;
  margin-top: 24px;
}

.about-content p{
  color: var(--black);
  line-height: 1.5; 
}
/*-- #About-us End --*/

/*-- #Goals Start --*/
.goals-section{
  background-color: var(--white);
  padding: 100px 150px;
}

.goals-flex-container {
  display: flex;
  flex-wrap: wrap;
  color: var(--grey);   
}

.goals-flex-container img{
  margin: 25px 0;
}

.goals-flex-item-left {
  padding: 10px;
  flex: 20%;
  margin: 20px;
}
  
.goals-flex-item-right {
  padding: 10px;
  flex: 20%;
  margin: 20px; 
}
.goals-section h2, .ex-section h2{
  font-size: 32px;
  font-weight: 900;
  color: var(--black);
}
/*-- #Goals End --*/

/*-- #Experiences Start --*/
.ex-section{
  padding: 100px 150px;
}

.ex-flex-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: right;
  color: var(--black);
  line-height: 1.5;
}

.ex-flex-container h3{
  color: var(--blue);
  font-weight: bold;
}

.ex-content-width{
  width: 75%;
}

.ex-flex-item-left {
  padding: 10px;
  flex: 50%;
}

.ex-flex-item-right {
  padding: 10px;
  flex: 50%;
}

.ex-flex-item-right img,.ex-flex-item-left img{
  width: 75%;
}

.cards {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  }

.card {
  margin: 10px;
  box-shadow: 0px 10px 15px 0px #97979717;
  border:none;
  border-radius: 10px;
  } 

.card img {
  max-width: 100%;
  }

.card .text {
  padding: 0 20px 20px;
  color: var(--black);
  }

.card h3{
  font-size: 18px;
  font-weight: 700;
  }
/*-- #Experiences End --*/

/*-- #Contact-us and Map Start --*/

.team3 .subtitle {
  color: var(--grey);
  line-height: 24px;
  font-size: 13px;
}

.team3 ul {
  margin-top: 30px;
}

.team3 ul li a {
  color: var(--grey);
  padding-right: 15px;
  -webkit-transition: 0.1s ease-in;
  -o-transition: 0.1s ease-in;
  transition: 0.1s ease-in;
}

.team3 ul li a i{
  color: var(--blue);
}

.team3 ul li a:hover {
  -webkit-transform: translate3d(0px, -5px, 0px);
  transform: translate3d(0px, -5px, 0px);
	color: var(--blue)
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 100px 150px; 
  }
  .contact-section h2{
    font-size: 32px;
    font-weight: 900;
    color: var(--black);
  }

.map-container {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  }
  
.map-container iframe {
  border: 0;
  border-radius: 24px;
  }
  
.form-container {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  }
  
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  }
  
form input, form textarea {
  width: 100%;
  padding: 10px;
  color: var(--grey);
  border: 0.5px solid var(--blue);
  border-radius: 16px;
  font-size: 16px;
  box-sizing: border-box;
  }

::placeholder {
  color: var(--grey);
  }
  
form button {
  padding: 10px;
  background-color: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 16px;
  font-size: 16px;
  cursor: pointer;
  }

form button:hover {
  background-color: var(--blue);
  }
/*-- #Contact-us and map End --*/

/*-- #Slider Start --*/
.slider-container {
  max-width: 100%;
  overflow: hidden;
  position: relative;
  margin: 50px auto;
}

.gallery-section{
  padding: 100px 150px;
}

.gallery-section h2{
  font-size: 32px;
  font-weight: 900;
  color: var(--black);
}

.slider {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.slider-item {
  flex: 0 0 25%; /* 4 عناصر بالصفحة */
  padding: 10px;
}

.slider-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--blue);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}
/*-- #Slider End  --*/

/*-- #Video Start --*/
.video-section{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 150px;
}

.video-container {
  position: relative;
}

video {
  width: 100%;
  display: block;
  border-radius: 10px;
  cursor: pointer;
}

.overlay-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  color: var(--blue);
  border: 10px solid var(--blue);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s;
}

.overlay-button.hidden {
  opacity: 0;
  pointer-events: none;
}

.color-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 5;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
}

.color-overlay.visible {
  opacity: 1;
}
/*-- Video End --*/


/*-- #Footer Start --*/
.footer-container{
	max-width: 1170px;
	margin:auto;
}

.footer-row{
	display: flex;
	flex-wrap: wrap;
}

footer ul{
	list-style: none;
}

.footer{
	background: rgb(71,71,71);
  background: linear-gradient(96deg, rgba(71,71,71,1) 0%, rgba(34,34,34,1) 42%);   
	color: #ffffff;
  padding: 80px 0;
}

.footer-col{
   width: 25%;
   padding: 0 15px;
}

.footer-col h4{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}

.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}

.footer-col ul li a{
	font-size: 16px;
	text-decoration: none;
	font-weight: 300;
	color: var(--grey);
	display: block;
	transition: all 0.3s ease;
}

.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}

.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}

.footer-col .social-links a:hover{
	color: #24262b;
	background-color: var(--blue)
}

/*responsive*/
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
}
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
}
}
/*-- #Footer End --*/

/*-- #Media for Tablet --*/
@media (max-width: 768px) {
section.main-section{
  margin: 50px;
}

section.space-section{
  margin: 50px;
}

/*-- #Nav-bar Start --*/
.navbar-light .navbar-toggler{
  border-color: transparent;
}
/*-- #Nav-bar End --*/

/*-- #Header Start --*/
header .header-content{
  flex-direction: column;
}

header .header-bg {
  width:100%;  
}

header .header-title h1{
  font-size: 42px;
  margin-top: 50px;
}
  
header .header-content .header-title p{
  margin-top: 5px;
  font-size: 19px;
}
/*-- #Header End --*/

/*-- #About-us Start --*/
.about-flex-container > .about-content{
  padding: 50px;
}
.about-content h2{
  text-align: right;
}
/*-- #About-us End --*/

/*-- #goals Start --*/
.goals-section{
  padding: 50px;
  }

.goals-flex-container{
  flex-direction: column;
}
.goals-flex-item-right,.goals-flex-item-left{
  margin: 1px;
  padding: 1px;
}
/*-- #goals End --*/

/*-- #Ex Start --*/
.ex-section {
  padding: 50px;
  }

.ex-flex-item-right img, .ex-flex-item-left img{
  width: 100%;
}

.ex-content-width{
  width: 100%;
}
/*-- #Ex End --*/

/*-- #Works Start --*/
.cards{
  flex-wrap: wrap;
}

.card {
  margin: 15px 5px;
  flex: 1 1 calc(50% - 16px); /* بطاقتين في الصف */
}
/*-- #Works End --*/

/*-- #contact Start --*/
.contact-section{
  flex-direction: column;
  align-items: center;
  padding: 100px 50px;
}

.form-container,.map-container{
  min-width: 100%
  }
/*-- #contact End --*/

/*-- #Slider Start --*/
.slider-item {
  flex: 0 0 50%; /* عنصرين بالصفحة */
  }

.gallery-section{
  padding: 50px 50px 0;
}
/*-- #Slider End --*/

/*-- #Video Start --*/
.video-section{
    padding: 0 50px;
  }
  /*-- #Video End --*/
}

/*-- #Media for Mobile --*/
@media (max-width: 576px) {
section.main-section{
  margin: 25px;
}

section.space-section{
  margin: 50px;
}

/*-- #Nav-bar Start --*/
.navbar-light .navbar-toggler{
  border-color: transparent;
  }
/*-- #Nav-bar End --*/

/*-- #Header Start --*/
header .header-content{
  flex-direction: column;
}

header .header-title h1{
  font-size: 32px;
  margin-top: 50px;
  }
    
header .header-content .header-title p{
  margin-top: 5px;
  font-size: 19px;
  
  }
/*-- #Header End --*/

/*-- #About-us Start --*/
.about-flex-container > .about-content{
  padding: 35px;
}

.about-content h2{
  text-align: right;
}
/*-- #About-us End --*/

/*-- #goals Start --*/
.goals-section{
  padding: 50px 25px;
}

.goals-flex-container{
  flex-direction: column;
  }
/*-- #goals End --*/

/*-- #Ex Start --*/
.ex-section {
  padding: 50px 25px;
}

.ex-flex-container{
  flex-direction: column;
}

.ex-content-width{
  width: 100%;
}

.ex-flex-item-right img, .ex-flex-item-left img {
  width: 100%;
}

.ex-flex-item-right{
  order:2;
}

.ex-flex-item-right,.ex-flex-item-left{
  padding: none;
}

.cards{
  flex-direction: column;
}
/*-- #Ex End --*/

/*-- #Slider Start --*/
.slider-item {
  flex: 0 0 100%; /* عنصر واحد بالصفحة */
  }

.gallery-section{
    padding:  50px 25px 0;
  }
/*-- #Slider End --*/

/*-- #Video start --*/
.video-section{
  padding: 0 25px 50px
    }
/*-- #Video End --*/

/*-- #Contact-us start --*/
.contact-section{
  padding: 50px 25px;
 }
 /*-- #Contact-us End --*/


}


