@font-face {
  font-family: "EmadDianaExtra";
  src: url("../fonts/Emad-Diana-eXtra-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  direction: rtl;
}

body {
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  font-family: "EmadDianaExtra", sans-serif;
  
}

.header-wrapper {
  display: flex;
  justify-content: center; 
  max-width: 2024px;
  width: 100%;
}

.main-header {
  display: flex;
  justify-content: center;
  gap: 50vw;
  padding: 20px 0;
  align-items: center;
  background-color: white;
  max-width: 2024px;
  width: 100%;

}
.page-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.logo img {
  height: 50px;
  width: 134px;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-family: 'EmadDianaExtra', sans-serif;
  font-size: 16px;
  color: #747582;
  text-decoration: none;
}

.nav-links a:hover {
  color: #007bff;
}
.talk-btn{
  align-items: center;
  justify-content: center;
  display: flex;
  text-align: center;  
  border: 1.5px solid #282c4b;
  border-radius: 100px;
  transition: all 0.3s ease;
  width: 130px;
  height: 55px;
}
.talk-btn a {
  text-align: center;
  font-family: 'EmadDianaExtra', sans-serif;
  font-weight: bold;
  font-size: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #282c4b;
}

.talk-btn:hover {
  background-color: #282c4b;
  color: #ffffff;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-button {
  background-color: #ffffff;
  color: #333;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.lang-button:hover {
  background-color: #f0f0f0;
}

.arrow {
  margin-inline-start: 10px;
  font-size: 12px;
}

.lang-menu {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 140px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  z-index: 1;
  top: 110%;
  inset-inline-start: auto;
  inset-inline-end: 0;
}

.lang-menu a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: 0.2s;
  justify-content: space-between;
}
.lang-menu a img {
  width: 20px;
  height: 20px;
  margin-left: 8px;
}

.lang-menu a:hover {
  background-color: #f7f7f7;
}



.content {
  margin-top: 30px;
  font-size: 18px;
}
.right-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.footer {
  margin-top: 50px;
  background-color: #332675;
  color: #ffffff;
  padding: 32px 0;
  width: 100%;
  max-width: 2024px;
  height: 160px;
  justify-content: center;
  align-items: center;
  display: flex;
  font-family: "Ubuntu", sans-serif;
  background-image: url('images/footer-bg.svg');
  background-repeat: no-repeat;
  background-size: cover;
}

.footer-container {
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;  
  padding: 0 24px;
  width: 100%;
  background-color: #332675;
}

.footer-logo img {
  height: 72px;
  width: auto;
}

.footer-center {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 16px;
  flex-wrap: wrap;
}

.footer-center a,
.footer-right a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.footer-center a:hover,
.footer-left a:hover {
  opacity: 0.8;
}

.footer-left {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-left img {
  width: 40px;
  height: 40px;
}
.careers-section {
  background: #f9f9fb;
  padding: 80px 20px;
  width: 89%;
  max-width: 2024px;
  font-family: 'EmadDianaExtra', sans-serif;
  text-align: center;
  border-radius: 50px;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
}

.careers-header h2 {
  font-size: 36px;
  color: #282C4B;
  margin-bottom: 19px;
  line-height: 54px;
}

.careers-header p {
  font-size: 20px;
  color: #747582;
  margin-bottom: 63px;
  line-height: 30px;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 59px;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  font-family: "Ubuntu", sans-serif;  
  padding: 12px 24px;
  border-radius: 100px;
  color: #747582;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 400;
}

.filter-btn.active {
  background: #332675;
  color: #ffffff;
}

.career-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.career-card {
  background: white;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 24px;
  width: 94%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 32px 32px 52px 62px;
}

.card-content {
  text-align: start;
}

.card-content h3 {
  margin-bottom: 20px;
  color: #14183E;
  font-size: 24px;
  line-height: 36px;
}

.card-content p {
  font-size: 18px;
  line-height: 27px;
  color: #747582;
  margin-bottom: 20px;
  font-family: "Ubuntu", sans-serif;
}

.tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 21px;
  color: #332675;
  font-family: "Ubuntu", sans-serif;

}

.tags span {
  background: #f2f2f2;
  padding: 4px 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100;
}

.apply-btn {
  background-color: #27D6FF;
  color: white;
  border: none;
  border-radius: 100px;
  padding: 16px 32px;
  cursor: pointer;
  font-size: 18px;
  font-weight:400;
  line-height: 27px;
}

.careers-footer {
  margin-top: 58px;
}

.careers-footer h3 {
  font-size: 24px;
  line-height: 36px;
  margin-bottom: 28px;
  color: #14183E;
}

.careers-footer p {
  color: #747582;
  font-size: 18px;
  line-height: 27px;
  margin-bottom: 28px;
}

.apply-btn-dark {
  background-color: #332675;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 18px;
  line-height: 27px;
  font-family: "EmadDianaExtra", sans-serif;
}
.modal {
  display: none; 
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  max-width: 650px;
  width: 100%;
  font-family: 'EmadDianaExtra', sans-serif;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  height: 100vh;
  max-height: 650px;
  overflow-y: auto;
}

.modal-content h2 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #14183E;
}

.modal-content p {
  margin-bottom: 24px;
  font-size: 16px;
  color: #747582;
}

.close-modal {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #aaa;
}

.apply-form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row input {
  flex: 1;
}

.apply-form textarea,
.apply-form select,
.apply-form input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: "Ubuntu", sans-serif;
  font-size: 15px;
  margin-bottom: 16px;
  resize: vertical;
}

.apply-form textarea {
  min-height: 90px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.submit-btn {
  background-color: #27D6FF;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 16px;
}

.cancel-btn {
  background-color: #eee;
  color: #333;
  border: none;
  padding: 10px 24px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 16px;
}

.file-upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

input[type="file"] {
  display: none;
}

.custom-file-label {
  background-color: #27D6FF;
  color: white;
  padding: 12px 24px;
  border-radius: 100px;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  transition: background-color 0.3s;
}

.custom-file-label:hover {
  background-color: #1abddf;
}

#file-name {
  font-size: 14px;
  color: #555;
  text-align: center;
  font-family: 'EmadDianaExtra', sans-serif;
}
.lang-menu { display: none; }
.lang-dropdown.open .lang-menu { display: grid; }



.lang-dropdown{ position:relative; }
.lang-button{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border:0; border-radius:14px;
  background:#fff; box-shadow:0 6px 20px rgba(0,0,0,.08);
  cursor:pointer; font-weight:600;
}
.lang-button .arrow{ margin-inline-start:6px; transition:transform .2s ease; }
.lang-dropdown.open .arrow{ transform:rotate(180deg); }

.lang-menu{
  position:absolute; inset-block-start:100%; z-index:1000;
  margin-block-start:8px; min-width:180px; padding:8px;
  background:#fff; border-radius:16px;
  box-shadow:0 14px 40px rgba(0,0,0,.12);
  display: none; gap:6px;
}

.lang-menu form{ margin:0; }
.lang-menu button{
  width:100%; display:flex; align-items:center; gap:10px;
  padding:10px 12px; border:0; background:transparent;
  border-radius:12px; cursor:pointer; font:inherit; color:inherit;
  text-align:start;
}
.lang-menu button:hover{ background:#f3f5f7; }
.lang-menu button:focus{ outline:2px solid #d7e3ff; outline-offset:2px; }

.lang-menu img{ width:22px; height:22px; object-fit:cover; border-radius:4px; }

.lang-menu *{ unicode-bidi: plaintext; }

.lang-menu button{
  width:100%; display:flex; align-items:center; gap:10px;
  padding:10px 12px; border:0; background:transparent;
  border-radius:12px; cursor:pointer; font:inherit; color:inherit;
  text-align:start;
}
.lang-menu button:hover{ background:#f3f5f7; }
.lib{
  color: #747582;
  font-size: 14px;
}
