/* Arabic Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');


body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #eee;
  font-family: 'Tajawal', sans-serif;
  -webkit-font-smoothing: antialiased;
}
html {
    scroll-behavior: smooth;
}

/* Loading screen styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.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 #000;
  border-color: #115f9b transparent #115f9b transparent;
  animation: lds-hourglass 2s 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: 150px;
  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: 0.3s ease;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.translate-btn:hover {
  background-color: #cecece;
}
.translate-btn.scrolled {
  top: 10px;
}

@media (max-width: 768px) {
  /* Translate Button */
  .translate-btn {
    top: 120px;
  }
}


/* whatsapp icon */
.whatsapp-icon {
    z-index: 99;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
  }
  
  .whatsapp-icon i {
    font-size: 32px;
  }
  
  .whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  @media (max-width: 768px) {
    .whatsapp-icon {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-icon i {
      font-size: 28px;
    }
  }

/* -- Popup -- */
/* Popup Overlay Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 15px;
    z-index: 999;
  }
  
  /* Popup Container Styles */
  .popup-container {
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    width: 500px;
    max-height: 800px;
    overflow-x: scroll;
    scrollbar-width: none;
  }
  
  /* Popup Close Button Styles */
  .popup-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    color: #333;
  }
  
  .form-group {
    margin-bottom: 50px;
  }
  
  .popup-container .form-group span {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  
  .form-control {
    width: 100%;
    padding: 10px;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid #666 !important;
    background: none;
    border-radius: 5px;
    font-size: 16px;
  }
  textarea {
    border: 1px solid #333 !important;
  }
  
  .form-control:focus {
    outline: none;
    border-color: #6c63ff;
  }

  
  label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
  }
  
  .required {
    color: red;
  }
  
  .radio {
    margin-bottom: 5px;
  }
  
  .btn {
    background-color: #6c63ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn:hover {
    background-color: #5048e5;
  }
@media (max-width: 790px){
  
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 0px;
  z-index: 999;
}
}

/* -- Navbar -- */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 0 30px;
  transition: ease-in-out 0.3s;
}

.navbar img {
    width: 120px;
}

.menu {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 0 20px;
}

.menu li a {
  text-decoration: none;
  color: inherit;
  font-size: 20px;
  color: #444;
  font-weight: bold;
  transition: ease-in 0.2s;
}

.menu a:hover {
    color: #01538d;
}

.menu-icon {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 30px;
  height: 4px;
  background-color: #01538d;
  margin: 4px 0;
}

.navbar .btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    color: #fff;
    border: 2px solid #145d83;
    border-radius: 4px;
    background-color: #145d83;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  
  .navbar .btn:hover {
    background-color: #fff;
    color: #145d83;
    border-color: #145d83;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .navbar .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 93, 131, 0.4);
  }
  
  .navbar .btn:active {
    transform: translateY(1px);
  }


/* Additional CSS for fixed navbar */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

@media (max-width: 768px) {
  .navbar {
      padding: 0 10px;
  }
  .navbar img {
      width: 90px;
  }
  .menu {
    display: none;
    color: #fff;
  }
  .menu a:hover {
      color: #023255;
  }

  .menu-icon {
    display: block;
  }

  .menu.active {
      z-index: 999;
      display: flex;
      flex-direction: column;
      background-color: #022f4b;
      position: absolute;
      top: 100px;
      left: 0;
      width: 100%;
      padding: 10px;
  }

  .menu.active li {
    padding: 20px;
  }

  .menu li a {
      font-size: 16px;
      color: #fff;
  }
  .navbar .btn {
      padding: 4px 8px;
      font-size: 14px;
  }
}




/* -- Hero -- */

.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("img/bg3.jpg");
    background-size: cover;
    background-position: top;
    height: 80vh;
    background-color: #f5f5f5;
  }
  .hero::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #213744ec;
      opacity: 0.7;
  }
  
  .hero-content {
    z-index: 9;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
  }
  
  .hero-subtitle {
    font-size: 22px;
    font-weight: bold;
    color: #eee;
    margin-bottom: 1rem;
  }
  
  .hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1.5rem;
  }
  
  .hero-description {
    font-size: 18px;
    color: #eee;
    line-height: 1.6;
  }
  .hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }
  
  .hero .btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 10px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Tajawal', sans-serif;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  
  .btn-primary {
    background-color: #1b76a7;
    color: #fff;
    margin-right: 1rem;
  }
  
  .btn-primary:hover {
    background-color: #fff;
    color: #145d83;
  }
  
  .btn-secondary {
    background-color: #fff;
    color: #145d83;
  }
  
  .btn-secondary:hover {
    background-color: #1b76a7;
    color: #fff;
  }


  @media (max-width: 768px) {
    .hero {
      height: 50vh;
    }
    .hero-subtitle {
      font-size: 16px;
    }
    
    .hero-title {
      font-size: 28px;
    }
  
    .hero-description {
      font-size: 14px;
      color: #eee;
      line-height: 1.6;
    }
    
    .hero .btn {
      padding: 10px 14px;
      font-size: 14px;
    }
  }


  
/* -- Values -- */

  .values {
    background: #01538d3d;
    background-size: cover;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 0;
  }
  
  .values .vision-container,
  .values .mission-container,
  .values .objectives-container {
    width: 500px;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .values .content {
    flex-grow: 1;
  }
  
  .values h2 {
    display: inline-block;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    border-bottom: 3px solid #000;
    color: #333;
  }
  
  .values p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
  }
  
  .values .objectives-container ul {
    list-style-type: disc;
  }
  
  .values .objectives-container li {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
  }
  
  .values i {
    font-size: 42px;
    color: #298e7b;
    margin: 0 20px;
  }

  
  @media (max-width: 768px) {
    .values h2 {
      font-size: 20px;
    }
    .values p {
      font-size: 14px;
    }
    .values i {
      font-size: 32px;
    }
    .values .vision-container,
    .values .mission-container,
    .values .objectives-container {
      flex-direction: column;
    }
  }



/* -- form -- */
  
  .form-group {
    margin-bottom: 50px;
    }
    
    .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    }
    
    .form-control:focus {
    outline: none;
    border-color: #6c63ff;
    }
    
    input,
    select {
    background: none;
    border: 0 solid #ff0000 !important;
    border-bottom: 1px solid #333 !important;
    }
    
    label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    }
    
    .required {
    color: red;
    }
    
    .radio {
    margin-bottom: 5px;
    }
    
    form .btn {
    background-color: #6c63ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    }
    
    form .btn:hover {
    background-color: #5048e5;
    }


/* -- Services -- */

.cards-section {
  padding: 60px 0;
  background-color: #F9FAFC;
  text-align: center;
}
.cards-section h2 {
  font-size: 36px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 20px;
  width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card i {
  font-size: 40px;
  color: #145d83;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.card p {
  text-align: right;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555;
}

.card p i {
  font-size: 14px;
  color: #298e7b;
  margin-right: 8px;
}

.card .btn {
  display: inline-block;
  background-color: #145d83;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.card .btn:hover {
  background-color: #0f445f;
}

@media (max-width: 768px) {
  .cards-section h2 {
    font-size: 28px;
  }
  .card h3 {
    font-size: 18px;
  }
  .card i {
    font-size: 30px;
  }
  .card p {
    font-size: 14px;
  }
  .card .btn {
    padding: 6px 12px;
    font-size: 14px;
  }
}
/* -- Footer -- */
.footer-distributed {
    position: relative;
    background: #022f4b;
    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: 250px 50px 50px;
  }
  
  .footer-distributed .footer-left,
  .footer-distributed .footer-center,
  .footer-distributed .footer-right {
    display: inline-block;
    vertical-align: top;
  }
  
  
/* Centered div */
.consultation-div {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 230px;
    background: url("img/bg2.jpg");
    background-size: cover;
    background-position: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.consultation-div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #273741b2;
    opacity: 0.7;
}
    
.consultation-div h3 {
    z-index: 9;
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
}
    
.consultation-div .btn {
    z-index: 9;
    display: inline-block;
    background-color: #145d83;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
    
.consultation-div .btn:hover {
    background-color: #0f445f;
}
  /* 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: #01538d;
    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-right img {
    margin: 10px auto;
  }
  
  .footer-bottom {
    background-color: #03283f;
    padding: 10px 50px;
    text-align: center;
  }
  
  .footer-bottom p {
    color: #fff;
    font-size: 14px;
    margin: 0;
  }
  .footer-bottom a {
    color: #ddd;
  }
  
  /* 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;
    }
    /* Centered div */
    .consultation-div {
        width: 80%;
    }
    .consultation-div h3 {
        font-size: 22px;
    }
        
    .consultation-div .btn {
        z-index: 9;
        display: inline-block;
        background-color: #145d83;
        color: #fff;
        padding: 8px 16px;
        border-radius: 4px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }
  }