@import url("https://fonts.googleapis.com/css2?family=Geologica:wght@300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Geologica", "cairo", "sans-seerif";
  scroll-behavior: smooth;
}
p::selection {
  background: #ff9900;
}

header {
  z-index: 999;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 200px;
  transition: 0.5s ease;
}

header .navigation {
  position: relative;
}
header .navigation .navigation-itmes a {
  position: relative;
  color: #ff9900;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  margin-left: 15px;
  transition: 0.3s;
}
header .navigation .navigation-itmes a:before {
  content: "";
  position: absolute;
  background: #ff9900;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  transition: 0.3s ease;
}
header .navigation .navigation-itmes a:hover:before {
  width: 100%;
}

/* responsive menu start */
label #btnMenu,
label #cancelMenu {
  color: #ff9900;
  font-size: 30px;
  float: right;
  line-height: 80px;
  cursor: pointer;
  display: none;
}

#checkmenu {
  display: none;
}

@media (max-width: 700px) {
  label #btnMenu {
    display: block;
  }
  .navigation-itmes {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    top: 80px;
    left: 0;
    text-align: center;
    border-radius: 70px;
    transition: all 0.5s;
    display: none;
  }
  .navigation .navigation-itmes a {
    display: block;
    margin-top: 45px;
    line-height: 30px;
    font-size: 20px;
  }
  .resMenu {
    width: 100%;
    justify-content: end;
    display: flex;
  }
}
/* responsive menu end */

section {
  padding: 100px 200px;
}
.home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: #008b8b;
}
.home .content {
  z-index: 888;
  color: #fff;
  width: 70%;
  margin-top: 50px;
}
.home .content h1 {
  font-size: 3em;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 5px;
  line-height: 50px;
  margin-bottom: 40px;
}
.home .content h1 span {
  color: #ff9900;
  font: 1.2em;
  font-weight: 60;
}
.home .content p {
  margin-bottom: 65px;
}
.home .content a {
  background: #ff9900;
  padding: 15px 35px;
  color: #fff;
  font-size: 0.75em;
  font-weight: 500;
  text-decoration: none;
  border-radius: 24px;
}

.home .content a:hover {
  background: white;
  color: #ff9900;
}

.home .media-icons {
  z-index: 888;
  position: absolute;
  right: 30px;
  display: flex;
  flex-direction: column;
  transition: 0.5s ease;
}
.home .media-icons a {
  transition: 0.3s ease;
  color: #fff;
  font-size: 0.95em;
}
.home .media-icons a:not(:last-child) {
  margin-bottom: 20px;
}
.home .media-icons a:hover {
  transform: scale(1.3);
  color: #ff9900;
}

.home video {
  z-index: 000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-slide {
  z-index: 000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ====== about us ======*/

.about {
  width: 100%;
  height: 100vh;
  background-color: #1d1d1d;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about .content-abt img {
  height: auto;
  width: 600px;
  max-width: 100%;

  animation: floating 3s linear infinite;
}
.text-abt {
  width: 550px;
  max-width: 100%;
  padding: 0 10px;
}

.content-abt {
  width: 1280px;
  max-width: 95%;
  margin: auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.text-abt h1 {
  color: #ff9900;
  font-size: 45px;
  margin-bottom: 20px;
  text-transform: capitalize;
  text-transform: uppercase;
}
.text-abt h4 {
  color: #fff;
  font-size: 25px;
  margin-bottom: 25px;
  text-transform: capitalize;
  letter-spacing: 2px;
}
.text-abt h4 span {
  color: #ff9900;
}
.text-abt p {
  color: #ddd;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 1px;
  margin-bottom: 45px;
  text-align: justify;
}
.btn-abt a {
  background-color: #ff9900;
  color: white;
  border: 2px solid transparent;
  text-decoration: none;
  padding: 10px 30px;
  border-radius: 30px;
  font-size: 17px;
}
.btn-abt a {
  text-decoration: none;
  color: white;
  font-weight: bolder;
}
.btn-abt :hover {
  background: white;
  color: #ff9900;
  transform: scale(1.2);
  transition: 0.4s;
  cursor: pointer;
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ====== SERVICES ======*/

::root {
  --primery-color: #ff9900;
  --secondary-color: rgba(255, 255, 255.4);
}
#services_section {
  height: 100vh;
  width: 100%;
  background: url(./media/bgser.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#services_section h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
}

#services_section h2::after {
  position: absolute;
  content: " ";
  top: 8px;
  left: -30px;
  height: 0;
  width: 0;
  border: 20px solid transparent;
  border-left: 20px solid var(--primery-color);
  color: #fff;
}

#services_section h2::before {
  position: absolute;
  content: " ";
  top: 8px;
  right: -30px;
  height: 0;
  width: 0;
  border: 20px solid transparent;
  border-right: 20px solid var(--primery-color);
  color: #fff;
}

#services_section .paragraph_ser {
  width: 40%;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 1.5rem;
  white-space: 1px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  z-index: 9;
  margin-top: 20px;
}
.cards .card {
  height: 194px;
  width: 275px;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  padding: 0 8%;
  background: rgb(65, 62, 105);
  position: relative;
  border-radius: 10px;
}

.cards .card::before {
  position: absolute;
  content: " ";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  border-radius: 10px;
  background: #ff9900;
  /*transform: rotate(10deg);*/
  transition: 0.6s;
  transform: rotate(0deg);
  z-index: -1;
}

.cards .card:hover.card::before {
  transform: rotate(10deg);
}

.cards .card i {
  font-size: 2.2rem;
  color: #ff9900;
  margin-top: 27px;
  margin-bottom: 10px;
}

.cards .card img {
  width: 2.2rem;
  color: #ff9900;
  margin-top: 27px;
  margin-bottom: 10px;
}

.cards .card h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
}

.cards .card .containtet p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  margin-bottom: 50px;
  font-weight: 500;
  height: 80px;
  overflow-y: auto;
  text-align: justify;
}

/*PORTFOLIO*/

/*END POETFOLIO*/

/*CONTACT US*/
.contact {
  position: relative;
  min-height: 100vh;
  padding: 50px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url(./media/bgedit.jpg);
  background-size: cover;
}
.contact .con_content {
  max-width: 800px;
  text-align: center;
}
.contact .con_content h2 {
  font-size: 36px;
  font-weight: 500;
  color: #fff;
}
.contact .con_content p {
  font-weight: 300;
  color: #fff;
}

.con_container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}
.con_container .contact_info {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.con_container .contact_info .box {
  position: relative;
  padding: 20px 0;
  display: flex;
}
.con_container .contact_info .box .icon {
  min-width: 60px;
  height: 60px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 22px;
}
.con_container .contact_info .box .text {
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  color: #fff;
  flex-direction: column;
  font-weight: 300;
}
.con_container .contact_info .box .text h3 {
  font-weight: 500;
  color: #ff9900;
}

.con_container .contact_info .box .text p {
  color: #fff;
}

.contactForm {
  width: 40%;
  padding: 40px;
  background: #fff;
}
.contactForm h2 {
  font-size: 30px;
  color: #333;
  font-weight: 500;
}

.contactForm .inputBox {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea {
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: solid 2px #333;
  outline: none;
  resize: none;
}
.contactForm .inputBox span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
  color: #666;
}
.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span,
.contactForm .inputBox textarea:valid ~ span {
  color: #ff9900;
  font-size: 12px;
  transform: translateY(-20px);
}

.contactForm .inputBox input[type="submit"] {
  width: 100px;
  background: #ff9900;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
}

@media (max-width: 991px) {
  .contact {
    padding: 50px;
  }
  .con_container {
    flex-direction: column;
  }
  .con_container .contact_info {
    margin-bottom: 40px;
  }
  .con_container .contact_info,
  .contactForm {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  #services_section {
    height: 1530px;
  }
  #services_section h2 {
    margin-top: 30px;
  }
  .cards {
    grid-template-columns: repeat(1, 1fr);
  }
  #services_section .paragraph_ser {
    width: 80%;
  }
}

@media (max-width: 1100px) {
  #services_section {
    height: 920px;
  }
  #services_section h2 {
    margin-top: 30px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  #services_section .paragraph_ser {
    width: 80%;
  }
}
@media (max-width: 900px) {
  .cards .card {
    height: 231px;
    width: 281px;
    margin: 20px 0;
  }
  #services_section {
    height: 1050px;
  }
  .cards .card .containtet p {
    height: 100px;
  }
}

@media (max-width: 700px) {
  .cards {
    grid-template-columns: repeat(1, 1fr);
  }

  .cards .card {
    height: 231px;
    width: 281px;
    margin: 20px 0;
  }
  #services_section {
    height: 2027px;
  }
  .cards .card .containtet p {
    height: 100px;
  }
}

/*header responsive*/
@media (max-width: 1040px) {
  header {
    padding: 3px 34px;
  }
  section {
    padding: 100px 50px;
  }

  .home .media-icons {
    right: 15px;
  }
  /* header .navigation {
    display: none;
  }

  header .navigation.active {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(1, 1, 1, 0.5);
  }

  header .navigation .navigation-itmes a {
    color: #000;
    font-size: 1.2em;
    margin: 20px;
  }

  header .navigation .navigation-itmes a:before {
    background: #222;
    height: 3px;
  }
  header .navigation .navigation-itmes {
    background: #fff;
    width: 600px;
    max-width: 600px;
    margin: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    box-shadow: 0 5px rgb(1 1 1 /20%);
  } */
  /* .menu-btn {
    background: url(/media/menuicon.png) no-repeat;
    background-size: 30px;
    background-position: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: 0.3s ease;
  }
  .menu-btn.active {
    z-index: 999;
    background: url(/media/closeIcon.png) no-repeat;
    background-size: 25px;
    background-position: center;
    transition: 0.3s ease;
  } */

  .home .content h1 span {
    font-size: 30px;
    font-weight: 900;
  }
}

/*about us responsive*/
@media screen and (max-width: 1180px) {
  .about {
    width: 100%;
    height: auto;
    padding: 70px 0px;
  }
}
@media screen and (max-width: 650px) {
  .text-abt h1 {
    font-size: 37px;
  }
}

.portfolio {
  width: 100%;
  height: 100vh;
  position: relative;
  background: url(./assets/wllport.jpg);
  background-size: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio h1 {
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  padding: 20px;
  margin-top: 0px;
}

.slider-content {
  padding-inline: 20px;
}

.slider {
  display: flex;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  width: 100%;
  margin: 0 auto;
}

.item {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  background: #ff9900;
  border-radius: 12px;
  height: 70vh;
  justify-content: center;
}

.item-content {
  display: flex;
  flex-direction: row;
  padding: 20px;
}

.image-container {
  width: 65%;
}

.project-image {
  width: 100%;
  max-height: 290px;
  border-radius: 10px;
}

.company-logo {
  width: 100%;
  max-height: 100px;
  object-fit: scale-down;
}

.text-container {
  width: 50%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.first-ul {
  margin-top: 16px;
  padding-inline-start: 40px;
  color: #ddd;
}

.second-ul {
  padding-inline-start: 40px;
}

.portfolio-container {
  padding-inline: 100px;
}

.span-weigth {
  font-weight: 800;
}

/* Mobile Version */
@media (max-width: 768px) {
  .item-content {
    flex-direction: column;
    height: 100%;
  }

  .text-container {
    width: 100%;
    padding: 15px;
    height: 100%;
  }

  .image-container {
    width: 100%;
  }

  .portfolio-container {
    padding-inline: 10px;
  }

  .item {
    overflow: auto;
  }
}

.client {
  padding: 100px 50px;
}

.client-h1 {
  text-align: center;
  margin-bottom: 20px;
}

#logo-slider {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.logo {
  width: 25%;
  display: inline-block;
  margin-inline-end: 30px; /* Gap between images */
  animation: slide 21s linear infinite; /* 7 logos * 3 seconds each */
}

@keyframes slide {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-700%);
  } /* Move 7 times the width */
}

@media (max-width: 767px) {
  .logo {
    width: 100%;
    animation: slide-mobile 21s linear infinite; /* 7 logos * 1 second each */
  }

  @keyframes slide-mobile {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-700%);
    } /* Move 7 times the width */
  }
}
