* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: cairo;
    src: url("fonts/Cairo-Medium.ttf");
}

body {
  font-family: cairo;
}

#main-header {
display: flex;
    justify-content: space-evenly;
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255)),
     url(../image/iconMain/background-image-main.png);
    background-size: cover;
    height: 70vh;
    padding: 40px;
    justify-content: space-between;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 100px;
}

ul li a {
    color: #eee;
    text-decoration: none;
    font-size: 17px;
}

#main-header div button {
    background-color: #a951b1;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

#main-header div button a {
    text-decoration: none;
    color: #eee;
}

#hero {
    padding: 10px 100px;
}

#hero .t_about {
border: #a951b1;
}

#hero div img {
    width: 40px;
    height: 40px;
    margin-top: 10px;
}

#hero  div a {
    text-decoration: none;
}

#hero  div a h2 {
    color: #a951b1;
    font-size: 35px;
}

#hero  div h2 {
    color: #a951b1;
    font-size: 35px;
}

#hero div p {
    width: 700px;
    margin-top: 10px;
    font-size: 20px;
}

#services {
    display: flex;
    padding: 20px 0;
}

#services div {
    width: calc(100%/3);
    height: 260px;
    background-color: rgb(93, 172, 196);
    text-align: center;
}

#services .card1 {
    margin: 20px 0;
    padding: 80px;
}

.card1 img {
    width: 40px;
    height: 40px;
}

.card1 h3 {
    font-size: 50px;
    color: #eee;
    margin-top: 10px;
}

#services .card2 {
    background-color: #a951b1;
    z-index: 3;
    position: relative;
    height: 320px;
    padding: 80px;
}

.card2 img {
    width: 40px;
    height: 40px;
}

.card2 h3 {
    font-size: 50px;
    color: #eee;
    margin-top: 10px;
}

#services .card3 {
    margin: 20px 0;
    padding: 80px;
}

.card3 img {
    width: 40px;
    height: 40px;
}

.card3 h3 {
    font-size: 50px;
    color: #eee;
    margin-top: 10px;
}

#foot {
    background-color: #001a41;
    margin-top: 40px;
    height: 200px;
}

.top-foot {
    display: flex;
   position: relative;
    height: 100px;
    flex-direction: row;
     justify-content: space-between;
     padding: 0 100px;
}

.top-foot .logo {
    position: absolute;
    top: 20px;
}

.top-foot .logo img {
    width: 100px;
    height: 100px;
}

.top-foot .contact {
    position: absolute;
    top: 40px;
left: 100px;
}

.contact p {
    color: #eee;
    text-align: center;
}
#foot hr {
margin: 0 100px;
}

#foot .bottom-foot {
    color: #eee;
    padding: 70px 100px 0;
    display: flex;
    justify-content: space-between;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  #main-header {
    flex-direction: column;
    height: auto;
    padding: 20px 16px;
    gap: 16px;
  }

  .navbar ul {
    gap: 20px;
    flex-wrap: wrap;
  }

  #hero {
    padding: 20px 16px;
  }

  #hero div p {
    width: 100%;
    font-size: 16px;
  }

  #services {
    flex-direction: column;
    padding: 0;
  }

  #services div {
    width: 100%;
    height: auto;
    padding: 40px 20px;
  }

  #services .card2 {
    height: auto;
    padding: 40px 20px;
  }

  .card1 h3,
  .card2 h3,
  .card3 h3 {
    font-size: 32px;
  }

  .top-foot {
    flex-direction: column;
    height: auto;
    padding: 20px 16px;
    gap: 16px;
    position: static;
  }

  .top-foot .logo,
  .top-foot .contact {
    position: static;
  }

  .social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  #foot {
    height: auto;
    padding-bottom: 20px;
  }

  #foot .bottom-foot {
    flex-direction: column;
    padding: 20px 16px;
    gap: 8px;
  }

  #foot hr {
    margin: 0 16px;
  }
}
