/* 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;
  font-family: 'Tajawal', sans-serif;
  -webkit-font-smoothing: antialiased;
}
html {
    scroll-behavior: smooth;
}

.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;
  }

  .popup-container .form-group {
    margin-bottom: 50px;
  }
  
  .popup-container .form-group span {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  
  .popup-container .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;
  }
  .popup-container textarea {
    border: 1px solid #333 !important;
  }
  
  .popup-container .form-control:focus {
    outline: none;
    border-color: #6c63ff;
  }

  
  .popup-container label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
  }
  
  .required {
    color: red;
  }
  
  .popup-container .radio {
    margin-bottom: 5px;
  }
  
  .popup-container .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;
  }
  
  .popup-container .btn:hover {
    background-color: #5048e5;
  }


/* -- 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: 100px;
}

.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: #006baf;
        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;
    }
    .values .vision-container,
    .values .mission-container,
    .values .objectives-container {
      flex-direction: column;
    }
}




/* -- 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-title {
    font-size: 28px;
  }
}

  
/* -- 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;
  }
    .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;
    }
  
  .values .objectives-container li {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
  }
  
  .values i {
    font-size: 42px;
    color: #298e7b;
    margin-left: 20px;
  }



/* -- about.html -- */

.about {
    padding: 100px 15px 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about h2 {
    display: inline-block;
    font-size: 32px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 4px solid #022f4b;
}

.about p {
    font-size: 20px;
    line-height: 1.5;
    max-width: 1000px;
    color: #333;
}
.about .btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #145d83;
    border: 2px solid #145d83;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  
  .about .btn:hover {
    background-color: #145d83;
    color: #fff;
    border-color: #145d83;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .about .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 93, 131, 0.4);
  }
  
  .about .btn:active {
    transform: translateY(1px);
  }

  @media (max-width: 768px) {
    .about h2 {
        font-size: 26px;
    }
    .about p {
        font-size: 14px;
    }
    .about .btn {
        padding: 4px 8px;
        font-size: 14px;
    }
  }
/* -- contact.html -- */


.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 20px 150px;
  }

  .contact-info {
    padding: 5px;
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 40px;
    font-size: 20px;
    text-align: center;
    overflow: hidden;
  }

  .contact-info div {
    width: 350px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
    color: #145d83;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .contact-info i {
    font-size: 36px;
    margin-right: 10px;
  }

  .contact-form {
    text-align: center;
    background-color: white;
    padding: 70px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .contact-form h2 {
    display: inline-block;
    text-align: center;
    color: #145d83;
    font-size: 30px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #022f4b;
  }

  .contact-form .form-group {
    margin-bottom: 20px;
  }

  .contact-form label {
    text-align: right;
    display: block;
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 5px;
    color: #145d83;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
  }

  .contact-form textarea {
    resize: vertical;
    margin-top: 20px;
  }

  .contact-form button {
    background-color: #145d83;
    color: white;
    border: none;
    padding: 10px 40px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 3px;
    cursor: pointer;
  }

  @media (max-width: 768px) {
    .contact-info {
      flex-direction: column;
      align-items: center;
      font-size: 16px;
    }
    
    .contact-info i {
      font-size: 28px;
      margin-right: 10px;
    }

    .contact-info div {
      margin: 10px 0;
    }
    .contact-form {
      text-align: center;
      background-color: white;
      padding: 30px;
    }
    .contact-form h2 {
      font-size: 24px;
    }
    .contact-form button {
      padding: 10px 30px;
      font-size: 14px;
    }
  }



/* -- join-us.html -- */
.contain {
    padding: 50px 15px 150px;
}
.form-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-title {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.form-group {
  margin-bottom: 20px;
}

.form-row .form-group {
    margin: 20px 30px !important;
}

.form-control {
  display: block;
  width: 100%;
  padding: 10px 15px;
  font-size: 16px;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 5px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-top: 5px;
}

.radio-group label {
  display: flex;
  align-items: center;
  margin-right: 20px;
  font-weight: normal;
  font-size: 16px;
  color: #495057;
}

.radio-group input[type="radio"] {
  margin-right: 8px;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #adb5bd;
  outline: none;
  transition: border-color 0.3s ease-in-out;
}

.radio-group input[type="radio"]:checked {
  border-color: #007bff;
  background-color: #007bff;
}

.form-container textarea {
    height: 150px;
}

.form-container .btn {
  display: inline-block;
  font-weight: bold;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 1.5;
  transition: background-color 0.3s ease-in-out;
}

.form-container .btn:hover {
  background-color: #0056b3;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
  }
  
  .form-row .form-group {
    flex: 1 0 calc(33.33% - 20px);
    margin: 10px;
  }
  
  @media (max-width: 767px) {
    .form-container {
        overflow: hidden;
        padding: 0px;
    }
    .form-row .form-group {
        max-width: 200px;
        margin: 20px auto !important;
    }    
    .form-row {
        margin: 0;
        flex-direction: column;
      }
  }


/* -- 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;
    cursor: pointer;
    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 img {
        width: 100%;
    }
    .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;
    }
    .copyright p{
        font-size: 10px;
    }
  }