/*---------- اساسيات ---------*/
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  width: 100%;
  background-color: #257d9c;
 font-family: sans-serif;
}

section{
  min-height: 100vh;
  width: 100%;
  display: flex;
  box-sizing: border-box;
}

/*-----------------  بدايه الناف بار -----------------*/
.navbar{
  width: 90%;
  margin: 13px auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #204b5b;
  padding: 0 60px;
  border-radius: 30px;
  position: fixed; /*   عشان يبقا فوق وانا ف اي صفحه     */
  top: 0;
  left: 5%;
  z-index: 1000;
}

.navbar ul{
  display: flex;
  list-style-type: none;
  gap: 30px;
}

.navbar a{
  color: white;
  text-decoration: none;
  padding: 17px;
  text-align: center;
  font-weight: bold;
  transition: 0.3s;
}

.navbar a:hover{
  background-color: #257d9c;
  border-radius: 30px;
}

.navbar .logo{
  font-weight: 900;
  font-size: 30px;
  color: white;
  display: flex;
  align-items: center;
}

.img-logo {
  width: 50px;
  height: auto;
}
/*----------------- اول صفحه  -----------------*/
.home{
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  padding-left: 10%;
} 
 
#home .container1{
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#home h4 {
  font-size: 1.5rem;
  color: #fff;
  text-transform: uppercase;
}

#home h1 {
  font-family: 'Arizonia', cursive, sans-serif;
  font-size: 4.6rem;
  font-weight: bold;
  color: black;
  transition: 0.4s ease;
}

#home h1 span {
  color: white;
}

#home h1:hover, #home h1 span:hover {
  color: gold;
  transform: scale(1.02);
}
  
#home .social-icons{
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

#home .social-icons a {
  font-size: 30px;
  color: white;
  transition: transform 0.3s ease, color 0.3s ease;
}

#home .social-icons a.icon-whatsapp:hover {
  color: green;
  transform: scale(1.2);
}
#home .social-icons a.icon-facebook:hover {
  color: blue;
  transform: scale(1.2);
}

#home .social-icons a.icon-instagram:hover {
  color: #e711f2;
  transform: scale(1.2);
}

#home .social-icons a.icon-youtube:hover {
  color: red;
  transform: scale(1.2);
}

.img-home{
  position: relative;
}

.imgg {
  position: absolute;
  top: 50%;
  right: 20%;
  width: 300px;
  height: auto;
  transform: translateY(-50%);
}


/*----------------- الصفحه التانيه  -----------------*/
#about {
  display: flex;
  align-items: center;
  padding-left: 10%;
  background-color: #1b5b73; 
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-text h1 {
  font-size: 4rem;
  color: black;
}

.about-text h1 span {
  color: white;
}

.about-text h3 {
  font-size: 1.8rem;
  color: #e0e0e0;
}
.img-about{
position: relative;
}

.imggg {
  position: absolute;
  top: 60%;
  left: 80%;
  width: 250px;
  height: auto;
  transform: translateY(-20%);
}


/*----------الصفحه التالته------------*/

#projects {
  display: flex;
  align-items: center;
  padding-left: 10%;
  background-color: #094d80;
}

.projects-text {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.projects-text h1 {
  font-size: 4rem;
  color: black;
}

.projects-text h1 span {
  color: white;
}

.projects-text h3 {
 font-size: 1.8rem;
 color: #e0e0e0;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
  margin-top: 40px;
}

.project-card {
  padding: 20px;
  border-radius: 15px;
  text-align: left;
  
}

.project-card img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}


.project-card a {
  display: inline-block;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .project-container {
    grid-template-columns: 1fr;
  }
}

/*زرار البروجكت*/
.btn777 {
  display: inline-block;
  padding: 12px 28px;
  background-color: #4f46e5;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
  transition: all 0.2s ease-in-out;
}

  
.btn777:hover {
  background-color: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4); 
}
/*-----------الصفحه الرابعه وغالبا الاخيرة-----------------*/
#informations {
  display: flex;
  align-items: center;
  padding-left: 10%;
  background-color: #053153;
  min-height: 100vh;
  justify-content: space-between;
  padding-top: 100px;
}

.informations-text {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.informations-text h1 {
  font-size: 4rem;
  color: black;
}

.informations-text h1 span {
  color: white;
}

.informations-text h3 {
 font-size: 1.8rem;
 color: #e0e0e0;
}

.infomations-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.infomations-container img {
    max-width: 100px;
    height: auto;
    border-radius: 8px;
}

/*-------الفوتر------------*/
.footer {
  background-color: #080808;
  color:blue;
  text-align: center;
  padding: 20px;
  margin-top: auto;
  width: 100%;
  border-top: 1px solid #222;
  box-sizing: border-box;
}

@media (max-width: 768px){
.navbar{
display: none;
}

  section {
    min-height: auto;
  }

  .imgg{
    display: none;
}


@media (max-width:768px) {
  .imgg {
display: none;
  }

  .imggg {
display: none;
  }

  .home {
width: 100%;
height: 100vh;
align-items: center;
  }
}
