* {
  padding: 0;
  margin: 0;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  box-sizing: border-box;
}

body,html {
  background-color: #020e1b;
  position: relative;
  
}

/* ================= HEADER ================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px;
  padding: 10px;
  color: white;
  background-color: #020e1b;
}

header h2 {
  font-size: 28px;
      animation: appear 1.2s ease-out forwards

}

header ul {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}

header ul li {
  list-style: none;
}

header ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: 0.5s;
}

header ul li a:hover {
  color: #0575d1;
}

/* ================= CONTENT ================= */
.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 80vh;
  padding: 0 40px;
  min-height: 100vh;
  background-color: #020e1b;
  background-attachment: fixed;
}

.content .cont {
  width: 55%;
  color: white;
  line-height: 1.6rem;
}

.content .cont .text h1 {
  font-size: 45px;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  margin-bottom: 30px;
      animation: appear 1.2s ease-out forwards

}

.content .cont .text h2 {
  color: #58b4ff;
  margin-bottom: 20px;
  font-size: 30px;
      animation: appear 1.2s ease-out forwards

}

.content .buttons {
  margin-top: 25px;
      animation: appear 1.2s ease-out forwards

}
.text p{
      animation: appear 1.2s ease-out forwards;
      font-weight: 600;
      font-size: 18px;
}

 button{
      animation: appear 1.2s ease-out forwards;

  background-color: black;
  color: #229afc;
  width: 130px;
  margin: 10px;
  margin-top: 30px;
  height: 44px;
  border-radius: 9px;
  font-size: 16px;
  border: solid 2px #229afc;
  transition: 0.5s;
  cursor: pointer;
}

 button:hover {
  background-color: #229afc;
  color: black;
}  

/* ================= PHOTO ================= */
.photo {
  width: 500px;
  height: 600px;
  border-radius: 50%;
  border: solid white 5px;
  box-shadow: 2px 2px 10px 5px #229afc;
  overflow: hidden;
  animation: appear 1.2s ease-out forwards ,fireRotate 4s linear infinite;
}

.photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-attachment: fixed;
} 

 @keyframes fireRotate {
    0% {
        box-shadow: 0 0 15px 5px #229afc, 0 0 30px 10px #00bfff;
    }
    50% {
        box-shadow: 0 0 25px 10px #ff4d00, 0 0 50px 20px #ffb300;
        
    }    
    100% {
        box-shadow: 0 0 15px 5px #229afc, 0 0 30px 10px #00bfff;
    }    
}  

/*  soical links */
.social-links {
  margin-top: 30px;
  margin-left: 20px;
}
.social-links a {
  color: #fff; /* أو اللون اللي يناسب التصميم */
  font-size: 30px;
  margin-right: 35px;
  transition: 0.3s;
}
.social-links a:hover {
  color: #1e90ff; /* لون التأثير عند المرور */
  transform: scale(1.2);
}


/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 20px;
    }        
    
    header ul {
        margin-top: 20px;
        gap: 50px;
        flex-wrap: wrap;
        justify-content: center;
    }        
    
    .content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }        

    .content .cont {
        width: 90%;
    }        
    
    .content .cont .text h1 {
        font-size: 35px;
    }        
    
    .content .cont .text h2 {
        font-size: 24px;
    }        

    .photo {
        width: 390px;
    height: 460px;        
    margin-top: 30px;
}        

}


@media (max-width: 576px) {
    .content .buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }        

    .content .buttons button {
        width: 80%;
        margin: 10px 0;
    }        
    
    header h2 {
        font-size: 24px;
    }        
    
    header ul li a {
        font-size: 16px;
    }        
}        

/* 

.photo {
   animation: appear 1.2s ease-out forwards;  
   } */   

@keyframes appear {
    0% {
    transform: scale(0.5);        
    opacity: 0;
}        
100% {
    transform: scale(1);
    opacity: 1;
}        
}





button:hover {
  background-color: #229afc;  
  color: black;
  transform: scale(1.05);
  box-shadow: 0 0 15px #229afc;
}  
#services{
background-color: white;
}
#content{
background-color: white;

}
.cards h2{
  margin-top: 20px;
  text-align: center;
  font-size: 35px;
color:#00bfff;
}
.cards{
  padding-top: 50px;
  background-color: rgb(66, 113, 128);
 margin-top: 0;
}
.card{
background-color: white;
width: 21.25em;
height: 400px;
box-shadow: 0 5px 25px rgba( 1 1 1 / 15);
border-radius: 15px;
margin-right: 30px;
padding: 25px;

display: flex;
flex-flow: column;
align-items: center;
transition: 0.5s ease;
}
.card:hover{
  transform: scale(1.1);
}
.card h3{
  text-align: center;
  margin-bottom: 15px;
 font-size: 20px;
 font-weight: bold;
 
}
.card .icon{
  font-size: 160px;
color: rgb(255, 0, 13);
}
.content{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
/* 
@media (min-width:592px) {
  .cards{
    margin-top: 20px;
  }
  .card{
    margin-top: 39px;

  }
}
@media (min-width:392px) {
    .cards{
    margin-top: 20px;
  }
  .card{
    margin-top: 36px;
  
  }
} */


#fa{
  color: #225ad1;
}
#in{
  color:rgb(192, 4, 76);
}

.pro h2{
  text-align: center;
  font-size: 29px;
  margin-bottom: 30px;
  color: white;
  padding-top: 50px;
}
.proIMg img{
  width: 100%;
}
.proCard{
  width: 19em;
  margin: 20px;
 border-radius: 15px;
 border: 1px solid #ffffff;
 transition: 0.5s ease;
 overflow: hidden;
}
.proCard:hover{
  transform: scale(1.1);
}
.Procards{
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}
.pro a{
  text-decoration: none;
 color: #020e1b;
}
.ProDis{
  background-color: white;
  height: 100%;
  padding: 10px;
}
.proCard:hover .proIMg img{
  opacity: 0.9;
}
.ProDis p{
  font-weight: 100;
}
.ProDis strong{
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}
.ProDis strong span{
  font-weight: bolder;
}
.ProDis strong a{
  color: black;
  text-decoration: none;
color: #00bfff;
}
.title{
  text-align: center;
color: white;
}

.items{
  display: flex;
  justify-content: center;
}
.con h2{
  margin-bottom: 30px;
}
.about{

  margin-top: 80px;
}
.about .con{
  min-height: 400px;
  display: flex;
  width: 70%;
  border-radius: 15px;
  flex-flow: column wrap;
  background-color: rgb(248, 248, 248);
  border: solid 1px white;
  align-items: center;
  margin: 20px;
  padding: 20px;

}
.about .con p{
font-size: 20px;
line-height: 2em;
}
.contact h2{
  text-align: center;
  color:#00bfff;
  font-size: 28px;
}
.contact{
  background-color: white;
}
.contact .divs{
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.contact .divs .cardd{
  width: 19em;
  background-color: white;
display: flex;
margin: 50px;
margin-top: 60px;
min-height: 300px;
padding: 10px;
border-radius: 10px;
align-items: center;
box-shadow: 0 5px 15px black;
transition: 0.5s;
flex-flow: column;
}
.cardd:hover{
  scale: 1.1;
}
.cardd i{
font-size: 89px;
}
.cardd h2{
  margin-top:20px;
  margin-bottom: 30px;
}
.cardd h3{
  font-size: 28px;
  cursor: pointer;
}
footer{
  background-color: black;
  color: white;
  display: flex;
  justify-content: space-between;
  height: 50px;
  align-items: center;
  padding: 15px;
}
footer .social i{
  font-size: 28px;
  margin-right: 8px;
  transition: 0.5s;
}
footer .social i:hover{
  color: #1e90ff;
  
}
footer .social a{
text-decoration: none;
color: #ffffff;
}
.text span{
  font-size: larger;
  color: #00bfff;
}
.up{
  position: fixed;
  bottom: 90px;
  right: 50px;
  width: 50px;
  display: none;
}

@media (min-width:390px) {
  .cards{
   margin-left: 10px;
   background-color: #020e1b;
  }
  #services{
   background-color: #020e1b;
  }
  #content{
    background-color: #020e1b;
  }
  .card{
    margin-top: 20px;
  }
footer .social i{
font-size: 20px;
}
footer h3{
  font-size: 15px;
}
}
@media (min-width:360px) {
  .cards{
   margin-left: 10px;
   background-color: #020e1b;
  }
  #services{
   background-color: #020e1b;
  }
  #content{
    background-color: #020e1b;
  }
  .card{
    margin-top: 20px;
  }
  .contact{
    background-color: #020e1b;
  }
.divs{
    background-color: #020e1b;

}
  .card{
    margin-top: 20px;
  }
}

@media (max-width:475px) {
  .card{
    width: 18em;
  
  }
  .photo{
    justify-self: center;
    width: 280px;
    height: 390px;
     
  }
  .photo img{
    width: 100%;
    height: 100%;
  }
  header ul{
    justify-content: center;
  }
  footer .social i{
    font-size: 10px;
  }
}



@media (max-width:475px) {
  .photo{
    justify-self: center;
    width: 180px;
    height: 200px;

  }
  header ul{
    justify-content: center;
  }
}








body{
  margin-left: 10px;
}

  #content{
    background-color: #020e1b;
  }
    #services{
   background-color: #020e1b;
  }
  footer .social i{
font-size: 20px;
}
footer h3{
  font-size: 15px;
}
footer{
  height: 100%;

}
body{
  margin: 0;
  width: 101%;
  overflow-x: hidden;
}