@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&family=Almarai:wght@300;400;700;800&family=Cairo:wght@200..1000&family=El+Messiri:wght@400..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet"');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
    /* font-family: "Inter",sans-serif; */
    font-family: "Almarai", sans-serif;
}

:root{
    --main_color:#bf892f;
    --p_color:#999999;
    --bg_color:#1F1F1F;
    --white_color:#fff;
    --black_color:#070707;
    --border-color: rgba(255, 255, 255, 0.1);
}

body{
    background: #131313;
}

.container{
    width: 80%;
    margin: auto;
    max-width: 1500px;
}

section{
    padding: 80px 0;
}

img{
    width: 100%;
}

h1,h2,h3,h4,h5,h6{
    color: var(--white_color);
    font-family: "DM Sans", sans-serif;
}

span{
    color: var(--main_color);
}
p{
    color: var(--p_color);
    font-family: "Almarai", sans-serif;
}



/* btns */ 


.btns{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.btn{
    background: var(--main_color);
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: capitalize;
    color: var(--black_color);
    transition: 0.3s;
}
.btn:hover{
    scale: 1.1;
}

.btn_no_bg{
    color: var(--white_color);
    text-transform: capitalize;
    text-decoration: underline;
    transition: 0.3s;
}

.btn_no_bg:hover{
    color: var(--main_color);
}


.bg-lines span{
    position: fixed;
    top: 0;
    z-index: -1;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    width: 1px;
    -webkit-animation: left_Right 18s infinite;
    animation: left_Right 18s infinite;
}
.bg-lines span:nth-child(1){
    left: 10%;
}
.bg-lines span:nth-child(2){
    left: 20%;
}
.bg-lines span:nth-child(3){
    left: 30%;
}
.bg-lines span:nth-child(4){
    left: 40%;
}
.bg-lines span:nth-child(5){
    left: 50%;
}
.bg-lines span:nth-child(6){
    left: 60%;
}
.bg-lines span:nth-child(7){
    left: 70%;
}
.bg-lines span:nth-child(8){
    left: 80%;
}
.bg-lines span:nth-child(9){
    left: 90%;
}


@keyframes left_Right {
    0%{
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    50%{
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
    }
    100%{
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}


/* background lines */

.top_section{
    text-align: center;
    margin-bottom: 100px;
}
.top_section h2{
    font-size: 30px;
}





/* Start Header */

header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    transition: 0.3s;
    z-index: 1000;

}
header.active{
    background: var(--black_color);
    border-bottom: 1px solid #56565697;
}
header nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
header nav .logo img{
    width: 130px;
}
header nav .links{
    display: flex;
    gap: 40px;
}
header nav .links a{
    color: var(--white_color);
    text-transform: capitalize;
    font-size: 18px;
    transition: 0.3s ;
}
header nav .links a:hover{
    color: var(--main_color);
}
header nav .icons{
    display: flex;
    gap: 30px;
}
header nav .icons a{
    color: var(--main_color);
    font-size: 28px;
    transition: 0.3s;
}

header nav .icons a:hover{
    scale: 1.4;
}



/* ---------------------start hero --------------------------*/ 

.hero{
    padding-top: 100px;
    height: 100vh;
    display: flex;
    /* direction: rtl; */
    justify-content: center;
    align-items: center;
}

.hero .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero .div_Text{
    width: 100%;
    direction: rtl;
}
.hero .div_Text h4{
    color: var(--p_color);
    font-size: 35px;
    margin-bottom: 15px;
    
}
.hero .div_Text h1{
    font-size: 50px;
    font-family: "Almarai", sans-serif;
}
.hero .div_Text h2{
    font-size: 30px;
    font-weight: normal;
    line-height: 1.1;
    font-family: "Almarai", sans-serif;
}
.hero .div_Text h2 span{
    font-size: 30px;
    font-weight: normal;
    line-height: 0.9;
    color:var(--main_color);

}
.hero .div_Text p{
    margin: 30px 0;
    font-size: 22px;
    width: 80%;
    color: #fff;
    line-height: 1.7;
}
.hero .div_Text p span{
    margin: 30px 0;
    font-size: 27px;
    width: 80%;
    color:#1346a4;
    line-height: 1.7;
}
.hero .btn{
    font-size: 20px;
    padding: 18px 50px;
}


.hero .div_img{
    width: 40%;
    position: relative;
    /* border-radius: 0 0 1200px 1200px; */

    overflow: hidden;
}
.hero .div_img .bg_img{
    position: absolute;
    bottom: 0;
    /* top: 155px; */
    left: 0;
    z-index: -1;
}







/* -----------------Start experence------------------- */ 
.services .contant{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    direction: rtl;
}
.services .boxs{
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    flex-direction: row;
    direction: rtl;
}

.services .boxs .box{
    width: 22em;
    text-align: center;
    padding: 38px 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: 0.3s ease-in-out;
    margin: 15px;
    line-height: 2.1em;
}
.services .boxs .box i{
    color: var(--main_color);
    font-size: 70px;
    margin-bottom: 30px;
    transition: 0.3s;
}
.services .boxs .box h3{
    font-size: 25px;
    margin-bottom: 20px;
}
.services .boxs .box p{
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 1.7;
}
.services .boxs .box:hover{
    border-color: var(--main_color);
}

.services .boxs .box:hover i{
    scale: 1.3;
}

/* End Services */ 

/* ------------------------------------------------------------------------------- */
/* ----------------------------------------سابقات الاعمال--------------------------------------- */
.portfolio {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.portfolio h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.portfolio .sub-title {
  color: #777;
  margin-bottom: 50px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.portfolio-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
section .cards .card i{
    color: #7779ff;
    font-size: 40px;
    margin-bottom: 10px;
    transition: 0.3s;

}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.portfolio-card h3 {
 text-align: center;
 font-size: 2em;
 font-family: "Almarai", sans-serif;
}
.portfolio-card p {
 text-align: center;
   }
.portfolio-card a {
 display: block;
 text-align: center;
 margin-top: 30px;
 /* width: 20px; */
   }
.portfolio-card:hover img {
  transform: scale(1.1);
}

.portfolio-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.1),
    rgba(0,0,0,0.85)
  );
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: 0.4s;
}

.portfolio-card:hover .overlay {
  opacity: 1;
}
/* ----------------------------------------سابقات الاعمال--------------------------------------- */
.portfolio {
    padding: 60px 20px;
    text-align: center;
}

.portfolio h2 {
    margin-bottom: 30px;
    font-size: 32px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.item {
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}
/* ------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------- */
/* ------------------------------------------ */
/* Offer Countdown */
.offer {
  background: linear-gradient(135deg, #850000, #ff5555);
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}

.offer h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.countdown div {
  background: rgba(255,255,255,0.2);
  padding: 20px;
  border-radius: 15px;
  width: 90px;
}

.countdown span {
  font-size: 32px;
  font-weight: bold;
  display: block;
}

.offer button {
  padding: 14px 35px;
  border: none;
  border-radius: 30px;
  background: #fff;
  color: #dd2427;
  font-size: 16px;
  cursor: pointer;
}
/* --------------------------------------------- */

/* Start  contact */ 

.contact .container{
    display: flex;
    justify-content: space-between;
}

.contact .top_section{
    margin-bottom: 100px;
}
.contact  .soial_contact{
    width: 30%;
}

.contact  .soial_contact h2{
    color: var(--white_color);
    margin-bottom: 40px;
}

.contact  .soial_contact .links{
    display: flex;
    flex-direction: column;
}

.contact  .soial_contact .links a{
    color: var(--white_color);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    left: 0;
    transition: 0.3s;
}

.contact  .soial_contact .links a i{
    color: var(--bg_color);
    margin-right: 5px;
    width: 45px;
    height: 45px;
    background: var(--main_color);
    text-align: center;
    line-height: 45px;
    border-radius: 5px;
}
.contact  .soial_contact .links a:hover{
    left: 15px;
}



.contact form{
    width: 60%;
    text-align: center;
}

.contact form .inpts_form{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contact form .inpts_form input,
.contact form .inpts_form textarea{
    border-radius: 5px;
    padding: 20px;
    outline: none;
    background-color: var(--bg_color);
    color: white;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.contact form .inpts_form input{
    width: 48%;
}
.contact form .inpts_form textarea{
    width: 100%;
}

.contact form .inpts_form input:focus,
.contact form .inpts_form textarea:focus{
    border-color: var(--main_color);
}

.contact .btn{
    outline: none;
    padding: 15px 35px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}
.contact .btn:hover{
    scale: 1.1;
}

/* End contact */ 



/* Start Responsive */ 

.close_menu,
header .links .logo,
.icon_menu{
    display: none;
}


@media (max-width:1250px) {
    .container{
        width: 90%;
    }
}

@media (max-width:1000px) {
    header nav .links{
        position: fixed;
        top: 0;
        flex-direction: column;
        width: 400px;
        background: var(--black_color);
        left: -400px;
        padding: 50px 0;
        height: 100%;
        border-right: 1px solid var(--border-color);
        text-align: center;
        transition: 0.3s ease-in-out;
    }
    header nav .links.active{
        left: 0;
    }
    .close_menu{
        display: block;
        font-size: 28px;
        position: absolute;
        top: 30px;
        right: 30px;
    }
    header .links .logo{
        display: block;
    }
    .icon_menu{
        display: block;
        font-size: 28px;
    }
}

@media (max-width:500px){
    header nav .icons a{
        font-size: 20px;
        color: green;
    }
    header nav .icons{
        gap: 15px;
        align-items: center;
    }
    header nav .logo img{
        width: 90px;
    }
    header nav .links{
        width: 100%;
        left: -100%;
    }
    .icon_menu {
        margin-left: 15px;
    }
    /* ---------slider hero------------- */
    
    .hero{
        height: 100vh;
        
    }
    .hero .container{
        display: flex;
        flex-direction: column;
        
    }
    .hero .div_Text{
    width: 100%;
    text-align: center;
}
    .hero .div_Text h4{
    color: var(--p_color);
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}
.hero .div_Text h1{
    font-size: 1.2em;
    
}
.hero .div_Text h2{
    font-size: 1.1em;
    font-weight: normal;
    line-height: 1.5;
    margin-top: 2px;
}
.hero .div_Text h2 span{
    font-size: 1.1em;
    font-weight: normal;
    line-height: 0.9;
    color:var(--main_color);

}
.hero .div_Text p{
    /* margin: 105px 0; */
    margin-top: 2px;
    font-size: 17px;
    width: 100%;
    color: #fff;
    line-height: 1.7;
    
}
.hero .div_Text p span{
    margin: 30px 0;
    font-size: 17px;
    width: 100%;
    color:#1346a4;
    line-height: 1.7;
}
.hero .div_Text .btns{
    display:flex;
    justify-content: center;
}
.hero .btn{
    font-size: 15px;
    padding: 10px 30px;

}


.hero .div_img{
    width: 70%;
    position: relative;
    /* border-radius: 0 0 1200px 1200px; */

    overflow: hidden;
}
.hero .div_img .bg_img{
    position: absolute;
    bottom: 0;
    /* top: 155px; */
    left: 0;
    z-index: -1;
}
/* -----------about--------------- */
.about {
    margin-top: 200px;
}
.about .div_text ul{
    display: flex;
    color: var(--white_color);
    margin: 30px 0 50px;
    flex-wrap: wrap;
}
.about .div_text ul li{
    width: 65%;
    font-weight: bold;
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.about a{
    padding: 10px 10px;
}
    /* --------- experence------------- */
    .services .boxs .box{
    display: flex;
    height: 30%;
    
    /* justify-content: space-between; */
    flex-wrap: wrap;
    /* display: grid; */
    grid-template-columns: repeat(2 , 1fr);
    /* margin-top: 2rem; */
    gap: 2rem;
    justify-content: center;
}

/* ................contact -------------------------------- */
.contact .container{
    display: flex;
    justify-content: space-between;
}
.contact  .soial_contact{
    width: 100%;
    text-align: center;
}
.contact  .soial_contact .links{
    display: flex;
    flex-direction: column;
    
   
}
/* ----------------------------product ----------------------------- */
}