/* Arabic Fonts */
@import url(https://fonts.googleapis.com/earlyaccess/droidarabickufi.css);

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,500,300,700);

body {
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #000;
  color: #fff;
  font-family: 'Droid Arabic Kufi', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
/* Loading screen styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .lds-hourglass {
    /* change color here */
    color: #fff
  }
  .lds-hourglass,
  .lds-hourglass:after {
    box-sizing: border-box;
  }
  .lds-hourglass {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-hourglass:after {
    content: " ";
    display: block;
    border-radius: 50%;
    width: 0;
    height: 0;
    margin: 8px;
    box-sizing: border-box;
    border: 32px solid currentColor;
    border-color: currentColor transparent currentColor transparent;
    animation: lds-hourglass 1.8s infinite;
  }
  @keyframes lds-hourglass {
    0% {
      transform: rotate(0);
      animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }
    50% {
      transform: rotate(900deg);
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    100% {
      transform: rotate(1800deg);
    }
  }
  
  /* Hide loading screen when JavaScript is loaded */
  .loaded .loading-screen {
    display: none;
  }
  .loader-hidden {
      display: none;
  }

  .translate-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #ffffff;
    color: #000000;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    font-family: "Droid Arabic Kufi", sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .translate-btn:hover {
    background-color: #cecece;
  }

  .whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    font-size: 32px;
    text-decoration: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
@keyframes bounce {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0);
    }
}
.whatsapp-icon:hover {
    animation: bounce 0.5s infinite;
}

  
/* -- Hero -- */

.hero {
    padding-bottom: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    margin: auto;
    width: 90vw;
  }
  
  .line {
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
  }
  
  .line::after {
    content: '';
    display: block;
    position: absolute;
    height: 15vh;
    width: 100%;
    top: -50%;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
    animation: drop 2s 0s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
  }
  
  .line:nth-child(1) {
    margin-left: -25%;
  }
  
  .line:nth-child(1)::after {
    animation-delay: 1.5s;
  }
  
  .line:nth-child(2) {
    margin-left: -15%;
  }
  
  .line:nth-child(2)::after {
    animation-delay: 1.4s;
  }
  
  .line:nth-child(3) {
    margin-left: -5%;
  }
  
  .line:nth-child(3)::after {
    animation-delay: 1.3s;
  }
  
  .line:nth-child(4) {
    margin-left: 5%;
  }
  
  .line:nth-child(4)::after {
    animation-delay: 1.3s;
  }
  
  .line:nth-child(5) {
    margin-left: 15%;
  }
  
  .line:nth-child(5)::after {
    animation-delay: 1.4s;
  }
  
  .line:nth-child(6) {
    margin-left: 25%;
  }
  
  .line:nth-child(6)::after {
    animation-delay: 1.5s;
  }
  
  @keyframes drop {
    0% {
      top: -50%;
    }
    100% {
      top: 110%;
    }
  }

.hero .text {
    z-index: 9;
    padding: 20px 100px;
    max-width: 900px;
}

.hero h1 {
    color: #fff;
    font-size: 52px;
}

.hero p {
    color: #eee;
    font-size: 20px;
}

.hero .btn {
    padding: 5px 20px;
    background: #fff;
    color: #000 !important;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    color: inherit;
    text-decoration: none;
    transition: ease-in 0.2s;
    animation: glow 2s ease-in-out infinite alternate;
  }
  
  @keyframes glow {
    0% {
      box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.8);
    }
    100% {
      box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0);
    }
  }
.hero .btn:hover {
    background: #cecece;
    color: #000 !important;
}

.hero .vision {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 150px;
}


@media (max-width: 768px) {
    .hero {
        background-position: right;
    }
    .hero .text {
        margin-top: 90px;
        padding: 10px;
    }
    .hero h1 {
        font-size: 30px;
    }
    .hero p {
        font-size: 16px;
    }
    .hero .btn {
        font-size: 14px;
    }
}



/* -- About -- */

.about {
  background: url(img/background2.jpg);
  background-size: cover;
  padding: 70px 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.about .text {
    max-width: 800px;
}

.about i {
    font-size: 26px;
    margin: 0 10px;
}
.about h2 {
    position: relative;
    display: inline-block;
    font-size: 32px;
}

.about h2:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #E8E8E8;
    bottom: -8px;
    left: 0;
}

.about img {
    width: 550px;
    max-height: 450px;
    margin: 0 20px;
    padding-top: 20px;
    border-radius: 10px;
}

.about p {
    font-size: 24px;
}



@media (max-width: 900px) {
    .about {
        flex-wrap: wrap;
    }
    .about img {
        width: 100%;
        margin: 0;
    }
    .about .btn {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
        .about h2 {
            font-size: 28px;
        }
        .about p {
            font-size: 16px;
        }
}



.cards {
    padding: 20px;
    display: flex;
    justify-content: space-evenly;
    gap: 30px;
    margin-top: 50px;
  }
  
.card {
    background-color: #fff;
    color: #000;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 400px;
    background: url(img/cardbg.jpg);
}
  
.card i {
    font-size: 42px;
    color: #989697;
    margin-bottom: 15px;
}
  
.card h3 {
    font-size: 26px;
    margin-bottom: 15px;
}
  
.card p {
    font-size: 18px;
    line-height: 1.5;
}
  
@media (max-width: 900px) {
    .cards {
      flex-wrap: wrap;
    }
  
    .card {
      width: 100%;
    }
}


/* --- Services  --- */

.title-divider {
    text-align: center;
    position: relative;
    margin: 0 auto 40px auto;
    max-width: 1000px;
}
  
.title-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #aaa;
    transform: translateY(-50%);
}
  
  .title-divider h2 {
    font-size: 32px;
    font-weight: 700;
    border: 1px solid #aaa;
    color: #1c1c1c;
    background: #f9f9f9;
    padding: 0px 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
  }

.services {
    padding: 50px 10px;
}

.service {
  padding: 100px 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.service img {
  width: 500px;
  height: 400px;
}

.service .text {
  width: 50%;
  padding: 0 20px;
}
.service h3 {
    font-size: 24px;
    margin: 0;
}
.service p {
    color: #eee;
    font-size: 18px;
    margin-bottom: 50px;
}
.service .btn {
    padding: 5px 20px;
    background: #fff;
    color: #000;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: ease-in 0.2s;
    animation: glow 2s ease-in-out infinite alternate;
  }
  
  @keyframes glow {
    0% {
      box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.8);
    }
    100% {
      box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0);
    }
  }
.service .btn:hover {
    background: #cecece;
    color: #000 !important;
}
@media (max-width: 768px) {
  .service {
    flex-direction: column;
  }

  .service img {
    order: -1; /* Move the image to the top */
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .service .text {
    width: 100%;
  }
  p {
    font-size: 14px;
  }
  .service .btn {
    padding: 3px 15px;
    font-size: 16px;
  }
}

.image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.image-wrapper {
  position: relative;
  width: 350px;
  margin: 10px;
  cursor: pointer;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease-in-out;
}

.image-wrapper:hover img {
  filter: brightness(70%);
}

.icon-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.image-wrapper:hover .icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-wrapper i {
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.image-container.show {
  max-height: 2000px;
  opacity: 1;
}

/* service @media */
@media (max-width: 1024px){
    .service {
        flex-wrap: wrap;
    }
    .service img {
        width: 100%;
    }
}
@media (max-width: 800px){
    .service {
        padding: 80px 15px;
    }
    .service img {
        margin: 20px 0;
    }
    .service h2 {
        font-size: 24px;
    }
    .service p {
        font-size: 18px;
    }
    .service .text {
        width: 100%;
    }
}



.contact button {
  overflow: visible;
}

.contact button, select {
  text-transform: none;
}

.contact button, input, select, textarea {
  color: #5A5A5A;
  font: inherit;
  margin: 0;
}

input {
  line-height: normal;
}

textarea {
  overflow: auto;
}

#container {
  border: solid 3px #EEE;
  max-width: 768px;
  margin: 60px auto;
  position: relative;
}

.contact form {
  padding: 37.5px;
  margin: 50px 0;
}

.contact h2 {
  color: #EEE;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 7px;
  text-align: center;
  text-transform: uppercase;
}

.underline {
  border-bottom: solid 2px #EEE;
  margin: -0.512em auto;
  width: 80px;
}

.icon_wrapper {
  margin: 50px auto 0;
  width: 100%;
}

.icon {
  display: block;
  fill: #EEE;
  height: 50px;
  margin: 0 auto;
  width: 50px;
}

.email {
	float: right;
	width: 45%;
}

input[type='text'], [type='email'], select, textarea {
	background: none;
  border: none;
	border-bottom: solid 2px #EEE;
	color: #EEE;
	font-size: 1.000em;
  font-weight: 400;
  letter-spacing: 1px;
	margin: 0em 0 1.875em 0;
	padding: 0 0 0.875em 0;
  text-transform: uppercase;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

input[type='text']:focus, [type='email']:focus, textarea:focus {
	outline: none;
	padding: 0 0 0.875em 0;
}

.message {
	float: none;
}

.name {
	float: left;
	width: 45%;
}

select {
  background: url('https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-ios7-arrow-down-32.png') no-repeat right;
  outline: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

select::-ms-expand {
  display: none;
}

.subject {
  width: 100%;
}

.telephone {
  width: 100%;
}

textarea {
	line-height: 150%;
	height: 150px;
	resize: none;
  width: 100%;
}

::-webkit-input-placeholder {
	color: #EEE;
}

:-moz-placeholder { 
	color: #EEE;
	opacity: 1;
}

::-moz-placeholder {
	color: #EEE;
	opacity: 1;
}

:-ms-input-placeholder {
	color: #EEE;
}

#form_button {
  background: none;
  border: solid 2px #EEE;
  color: #EEE;
  cursor: pointer;
  display: inline-block;
  font-family: 'Droid Arabic Kufi', Arial, sans-serif;
  font-size: 0.875em;
  font-weight: bold;
  outline: none;
  padding: 20px 35px;
  text-transform: uppercase;
  -webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#form_button:hover {
  background: #EEE;
  color: #000;
}

@media screen and (max-width: 768px) {
  #container {
    margin: 20px auto;
    width: 95%;
  }
  #form_button {
    padding: 10px 25px !important;
  }
}

@media screen and (max-width: 480px) {
  h2 {
    font-size: 26px;
  }
  
  .underline {
    width: 68px;
  }
  
  #form_button {
    padding: 15px 25px;
  }
}

@media screen and (max-width: 420px) {
  h2 {
    font-size: 18px;
  }
  
  .icon {
    height: 35px;
    width: 35px;
  }
  
  .underline {
    width: 53px;
  }
  
  input[type='text'], [type='email'], select, textarea {
    font-size: 0.875em;
  }
}


/* --- Profile --- */

.profile {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
}

.title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  color: #7c747c;
}

.download-btn {
  display: inline-block;
  background-color: #fff;
  color: #000;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.download-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.download-btn i {
  margin-right: 10px;
}

@media screen and (max-width: 768px) {
  .title {
    font-size: 26px;
  }
}





/* --- Client --- */

.client-section {
  background: url(img/background2.jpg);
  background-size: cover;
  padding: 70px 10px;
  text-align: center;
}

.client-section h2 {
  font-size: 42px;
}

.client-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1200px;
}

.client-item {
  border: 3px solid #fff;
  padding: 10px;
  width: 250px;
  height: 250px;
  margin: 10px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
} 
.client-item img {
 width: 100%;
 height: 100%;
 border-radius: 50%;
}


.item img {
width: 400px;
height: 400px;
}

@media (max-width: 880px) {
  .client-section h2 {
    font-size: 32px;
  }
  .client-item {
    width: 150px;
    height: 150px;
  }
}


/* -- Footer -- */
.footer-distributed {
  position: relative;
  overflow: hidden;
  background: #28292b;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  width: 100%;
  text-align: right;
  font: bold 16px;
  padding: 55px 50px;
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right {
  display: inline-block;
  vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left {
  width: 40%;
}

/* The company logo */

.footer-distributed img {
  width: 200px;
}

/* Footer links */

.footer-distributed .footer-links {
  color: #ffffff;
  margin: 20px 0 12px;
  padding: 0;
}

.footer-distributed .footer-links a {
  display: inline-block;
  line-height: 1.8;
  font-weight: 400;
  text-decoration: none;
  color: inherit;
}

.footer-distributed .footer-links a:before {
  content: "|";
  font-weight:300;
  font-size: 20px;
  left: 0;
  color: #fff;
  display: inline-block;
  padding-left: 5px;
  }
.footer-distributed .footer-links .link-1:before {
      content: none;
}
.footer-distributed .footer-company-name {
  color: #fff;
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center {
  width: 35%;
}

.footer-distributed .footer-center i {
  background-color: #7c747c;
  padding: 5px;
  color: #ffffff;
  font-size: 25px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-align: center;
  line-height: 42px;
  margin: 0 auto;
  margin-bottom: 10px;
}

.footer-distributed .footer-center p {
  display: inline-block;
  color: #ffffff;
  vertical-align: middle;
  margin: 0;
}

.footer-distributed .footer-center p span {
  display: block;
  font-weight: 700;
  font-size: 14px;
}

.footer-distributed .footer-center p a {
  color: #ffffff;
  text-decoration: none;
}

.footer-distributed .footer-right {
  width: 20%;
}

.footer-distributed .footer-company-about {
  line-height: 20px;
  color: #92999f;
  font-size: 13px;
  font-weight: normal;
  margin: 0;
}
.footer-distributed .footer-company-about span {
  color: #eee;
}

.footer-bottom {
  background-color: #eee;
  padding: 10px 50px;
  text-align: center;
}

.footer-bottom p {
  color: #000000;
  font-size: 12px;
  margin: 0;
}

/* Media Queries */

@media (max-width: 880px) {
  .footer-distributed {
    font: bold 14px;
  }

  .footer-distributed .footer-left,
  .footer-distributed .footer-center,
  .footer-distributed .footer-right {
    display: block;
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
  }

  .footer-distributed .footer-center i {
    margin-left: 0;
  }

  .footer-distributed .footer-left img {
    margin-bottom: 20px;
  }

  .footer-distributed .footer-center p {
    display: block;
  }

  .footer-distributed .footer-center p a {
    margin-bottom: 20px;
  }
}
.scroll-to-top {
  position: absolute;
  margin: 0 auto;
  bottom: 50px;
  right: 50%;
  transform: translate(50%, 50%);
  width: 40px;
  height: 40px;
  background-color: #eee;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.scroll-to-top i {
  color: #333;
  font-size: 18px;
}
