/* Css reset */
*{text-decoration:none;margin:0;padding:0;outline:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,acronym,address,big,cite,code,del,dfn,em,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;font-family:inherit;font-size:100%;font-style:inherit;color:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline}
html{scroll-behavior:smooth}img{max-height:100%;max-width:100%;position:relative}.hide{display:none}
/* @font-face {
    font-family: 'Somar';
    src: url('./font/Somar-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
	font-display: swap;

} */
input,
textarea,
select {
  font-size: 16px;
}

@font-face {
    font-family: 'Somar';
    src: url('./font/Somar-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display:swap;
  }
  
body {
    font-family: "Somar", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    background-color: var(--minbackground);
    line-height: 2em;
    background: var(--bg_color);
}

.container {
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    max-width: 1300px;
}


.apply-section {
  padding: 50px 0px;
  background-color: #0d0d0d;
  color: white;
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 50px;
}

.form-header h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}



.form-card {
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 30px;
}

.application-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  background-color: #111;
  border: 1px solid #444;
  border-radius: 4px;
  color: white;
}

.form-group input[type="file"] {
  background-color: transparent;
  padding: 8px 0;
  border: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #ffffff;
  outline: none;
}

.file-upload {
  border: 2px dashed #444;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s ease;
  color: #fff;
}

.file-upload:hover {
  border-color: #fff;
}

.file-upload .upload-icon {
  font-size: 32px;
  color: #888;
  margin-bottom: 10px;
}
.file-upload .upload-icon svg {
    width: 30px;
    fill: #999;
}
.file-upload p {
  margin: 5px 0;
}

.upload-note {
  font-size: 12px;
  color: #777;
}

/* إخفاء الزر الحقيقي */
.file-upload input[type="file"] {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}


.submit-btn {
  width: 100%;
  padding: 15px;
  background-color: #000;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #222;
}



/* hero */

section.custom-hero-section {
    background-color: #0d0d0d;
    background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 80%);
    background-size: 40px 40px, 40px 40px, 100% 100%;
    background-position: center center;
    background-repeat: repeat, repeat, no-repeat;
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.custom-hero-section {
  padding: 80px 0;
  text-align: center;
  background-color: #ffffff;
}


.custom-heading {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 24px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .custom-heading {
    font-size: 64px;
  }
}

.custom-subheading {
  color: #4b5563; /* Equivalent to Tailwind's gray-600 */
  display: block;
}

.custom-paragraph {
  font-size: 20px;
  color: #4b5563;
  max-width: 768px;
  margin: 0 auto 48px auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .custom-paragraph {
    font-size: 24px;
  }
}

.custom-button {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  padding: 16px 32px;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.custom-button:hover {
  background-color: #1f2937; /* Approximate Tailwind's gray-800 */
}



/* itions-section */

.custom-positions-section {
  padding: 80px 0;
  background-color: #f9fafb; /* gray-50 */
}


.custom-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.custom-section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .custom-section-title {
    font-size: 48px;
  }
}

.custom-section-subtitle {
  font-size: 20px;
  color: #4b5563;
  max-width: 640px;
  margin: 0 auto;
}

.custom-positions-list {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.custom-position-card {
  border: 1px solid #e5e7eb; /* gray-200 */
  background-color: #ffffff;
  transition: box-shadow 0.3s ease;
}

.custom-position-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.custom-position-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .custom-position-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.custom-position-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.custom-position-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: #4b5563;
}

.custom-badge {
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background-color: #f3f4f6;
}

.custom-apply-button {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 16px;
}

.custom-apply-button:hover {
  background-color: #1f2937; /* gray-800 */
}

label.file-upload {
    height: 177px;
}
label.file-upload.ubl svg,label.file-upload.ubl .fa {
    fill: #fff;
    background: #338b2e;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    padding: 15px;
	font-size: 30px;
		color: #fff;
}

.upload-message .itemub {
    background: #2f7f2a;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 10px;
}


.wit svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}
label.file-upload.ubl {
    display: flex
;
    align-items: center;
    justify-content: center;
}
.wit {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
span.hala {
    color: #fff;
}

.flx-thx {
    display: flex
;
cursor: pointer;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: radial-gradient(circle, #3d464e 0%, #000000 140%);
    font-size: 65px;
    font-weight: bold;
    color: #fff;
    position: fixed;
    inset: 0;
    z-index: 9999999999;
}


.flx-thx {
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
}
.flx-thx div {
    line-height: 1.5em;
}
.flx-thx span {
    line-height: 1.5em;
    font-size: 20px;
}
.flx-thx span.close {
    position: fixed;
    right: 20px;
    top: 20px;
    font-size: 100px;
    line-height: 1em;
}
.flx-thx * {
    text-align: center;
}

.flx-thx.active {
    display: flex;
}