@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200&family=Jomhuria&family=Open+Sans:wght@400;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Work+Sans:wght@200;300;400;500;600;700;800&display=swap");
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
:root {
  --main-color: #3a6cf4;
  --secondary-color: #601cfc;
}
header {
  background-color: #f0f0f0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  position: fixed;
  width: 100%;
  padding: 10px 200px;
}
header .logo {
  text-decoration: none;
  text-transform: uppercase;
  color: var(--main-color);
  font-weight: 700;
  font-size: 1.8em;
}
.navigation a {
  text-decoration: none;
  color: var(--main-color);
  font-size: 1.1em;
  font-weight: 500;
  padding-left: 30px;
}
.navigation a:hover {
  color: var(--secondary-color);
}
section {
  padding: 100px 200px;
}
.main {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-image: url(../images/Untitled-3.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}
.main h2 {
  color: white;
  font-size: 1.4em;
  font-weight: 500;
}
.main h2 span {
  display: inline-block;
  margin-top: 10px;
  color: #4e9eff;
  font-weight: 600;
  font-size: 3em;
}
.main h3 {
  font-size: 2em;
  font-weight: 600;
  color: white;
  letter-spacing: 1px;
  margin-top: 10px;
  margin-bottom: 30px;
  text-transform: capitalize;
}
.main-butn {
  text-decoration: none;
  color: white;
  background-color: var(--main-color);
  font-size: 1.1em;
  font-weight: 600;
  display: inline-block;
  /* padding: 09375em 2.1875em; */
  padding: 10px 20px;
  letter-spacing: 1px;
  border-radius: 15px;
  margin-bottom: 40px;
  transition: 0.7s ease;
}
.main-butn:hover {
  transform: scale(1.1);
  background: color #0a49f6;
}
.social a {
  font-size: 1.7em;
  color: white;
  padding-right: 30px;
  transition: 0.5s ease-in-out;
}
.social a i:hover {
  transform: scale(1.1);
}
.title {
  display: flex;
  justify-content: center;
  color: var(--main-color);
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 30px;
  text-transform: capitalize;
}
.content {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}
.card {
  background-color: white;
  width: 21.25em;
  box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
  border-radius: 10px;
  padding: 25px;
  margin: 15px;
  transition: 0.5s ease;
}
.card:hover {
  transform: scale(1.1);
}
.card .icon {
  color: var(--main-color);
  font-size: 8em;
  text-align: center;
}
.text {
  text-align: center;
}
.text h3 {
  color: var(--main-color);
  font-size: 1.2em;
  font-weight: 700;
  margin: 10px;
  text-transform: capitalize;
}
.projects {
  background-color: #000016;
  padding: 20px 20px 30px;
}
.projects .content {
  margin-top: 30px;
}
.project-card {
  background-color: white;
  border: 1px solid white;
  min-height: 14em;
  width: 23em;
  overflow: hidden;
  border-radius: 10px;
  margin: 20px;
  transition: 0.7s ease;
}
.project-card:hover {
  transform: scale(1.1);
}
.project-image img {
  width: 100%;
}
.project-card:hover .project-image {
  opacity: 0.9;
}
.project-info {
  padding: 1em;
}
.project-category {
  font-size: 0.8em;
  color: black;
}
.project-title {
  display: flex;
  justify-content: space-between;
  text-transform: capitalize;
  font-weight: 800;
  margin-top: 10px;
}
.more-details {
  text-decoration: none;
  color: var(--main-color);
}
.more-details:hover {
  color: var(--secondary-color);
}
.contact .icon {
  font-size: 4.5em;
}
.contact .text h3 {
  color: black;
}
.contact .text p {
  font-size: 16px;
}
footer {
  background-color: #000016;
  color: white;
  padding: 2em;
  display: flex;
  justify-content: space-between;
}
.footer-title {
  font-size: 1.3em;
  font-weight: 600;
}
.footer-title span {
  color: var(--main-color);
}
footer .social a {
  font-size: 1.3em;
  padding: 0 12px 0 0;
}
@media (max-width: 1023px) {
  header {
    padding: 12px 20px;
  }

  .navigation a {
    padding-left: 10px;
  }

  .title {
    font-size: 1.8em;
  }

  section {
    padding: 80px 20px;
  }

  .main-content h2 {
    font-size: 1em;
  }

  .main-content h3 {
    font-size: 1.6em;
  }

  .content {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 641px) {
  body {
    font-size: 12px;
  }

  .main-content h2 {
    font-size: 0.8em;
  }

  .main-content h3 {
    font-size: 1.4em;
  }
}
@media (max-width: 300px) {
  body {
    font-size: 10px;
  }
}
