:root {
  --unnamed-color-5090c7: #5090c7;
  --unnamed-color-1fbbb3: #1fbbb3;

  --unnamed-font-family-neo-sans-w23: "Neo Sans Arabic", sans-serif !important;
  --unnamed-font-style-normal: normal;
  --unnamed-font-weight-medium: medium;
  --unnamed-font-size-31: 31px;
  --unnamed-character-spacing-0: 0px;
  --unnamed-line-spacing-37: 37px;
}

.unnamed-character-style-1 {
  font-family: var(--unnamed-font-family-neo-sans-w23) !important;
  font-style: var(--unnamed-font-style-normal);
  font-weight: var(--unnamed-font-weight-medium);
  font-size: var(--unnamed-font-size-31);
  line-height: var(--unnamed-line-spacing-37);
  letter-spacing: var(--unnamed-character-spacing-0);
  color: var(--unnamed-color-1fbbb3);
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}

body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  direction: rtl;
  overflow-x: hidden;
  font-family: var(--unnamed-font-family-neo-sans-w23) !important;
  font-size: 12px;
}

.contianer {
  max-width: 1569px;
  margin: auto;
}
img {
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: crisp-edges !important;
}

@media screen and (min-width: 1620px) {
  header nav a {
    font-weight: lighter;
    font-size: 1.2rem;
  }
  header .logo {
    padding: 1rem;
    height: 100%;
  }
  header button {
    font-size: 1.1rem;
    width: 100% !important;
    padding: 0.8rem;
    padding-right: 3rem !important;
    font-weight: lighter;
    padding-left: 3rem !important;
  }
  .hero-section {
    height: 800px !important;
    align-items: end;
  }
  .sliderimage {
    bottom: -21%;
  }
  .hero-section h1 {
    font-size: 4rem;
    padding-bottom: 2rem;
  }
  .hero-section p {
    font-size: 1.5rem;
    width: 135%;
  }
  .hero-section button {
    font-size: 1.8rem;
    width: fit-content;
   
    padding: 1.5rem 3rem 1.5rem 4rem;
    margin-bottom: 3rem;
  }
  .hero-section .dots {
    margin-right: 4rem;
    margin-bottom: 2rem !important;
  }
  .hero-section .dots > div {
    width: 35%;
    height: 0.4rem;
  }
}
button:focus {
  outline: none !important;
  box-shadow: none !important;
}
@media (max-width: 1024px) {
  section.bg-\[\#f7f9fc\] {
    padding-bottom: 4rem;
    padding-top: 2rem;
  }

  section.bg-\[\#f7f9fc\] > div {
    flex-direction: column !important;
    align-items: center !important;
  }

  section.bg-\[\#f7f9fc\] .w-96,
  section.bg-\[\#f7f9fc\] .md\:w-\[23rem\] {
    width: 15rem !important;
    height: 15rem !important;
    margin: 2rem 0 !important;
  }

  section.bg-\[\#f7f9fc\] .w-2\/3 {
    width: 100% !important;
    margin: 0 !important;
  }

  section.bg-\[\#f7f9fc\] .mr-40,
  section.bg-\[\#f7f9fc\] .ml-40 {
    margin: 0 !important;
  }

  section.bg-\[\#f7f9fc\] p {
    width: 100% !important;
    margin: 0 auto !important;
    text-align: right !important;
    margin-top: 3px !important;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  section.bg-\[\#f7f9fc\] button {
    margin: 2rem auto 0 !important;
    display: flex !important;
    justify-content: center !important;
  }

  section.bg-\[\#f7f9fc\] > div > .absolute {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
  }
}
.logo-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.slide-track {
  animation: scroll 25s linear infinite;
  display: flex;
  white-space: nowrap;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logo-slider:hover .slide-track {
  animation-play-state: paused;
}

@media (max-width: 1024px) {
  #formContainer form {
    width: 75% !important;
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media (max-width: 768px) {
  #formContainer form {
    width: 90% !important;
  }

  #formContainer form input,
  #formContainer form button,
  #formContainer form a > button {
    font-size: 17px;
    padding: 12px 10px;
  }

  #formContainer .text-left {
    text-align: right;
  }
}

@media (max-width: 420px) {
  #formContainer form {
    width: 96% !important;
    padding-left: 6px;
    padding-right: 6px;
  }

  #formContainer h2 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
  }

  #loginBtn {
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 16px;
  }
}
#jobForm,
#companyForm {
  width: 60% !important;
  margin: auto;
  direction: rtl;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  #jobForm,
  #companyForm {
    width: 75% !important;
  }
}

@media (max-width: 768px) {
  #jobForm,
  #companyForm {
    width: 90% !important;
  }

  #jobForm input,
  #companyForm input,
  #jobForm button,
  #companyForm button {
    font-size: 16px;
    padding: 12px 10px;
  }

  #jobForm .space-y-4 > * + *,
  #companyForm .space-y-4 > * + * {
    margin-top: 1rem;
  }

  #formContainerRegister a {
    display: block;
    text-align: center;
  }
}

@media (max-width: 420px) {
  #jobForm,
  #companyForm {
    width: 96% !important;
    padding: 0 8px;
  }

  #registerTitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  #formContainerRegister {
    padding: 16px 10px;
  }

  #jobForm button,
  #companyForm button {
    padding: 14px 10px;
    font-size: 15px;
  }
}
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s, transform 0.5s;
}

.show {
  animation: fadeSlideUp 1.2s ease forwards;
}

.fade-delay-1 {
  animation-delay: 0.1s;
}
.fade-delay-2 {
  animation-delay: 0.2s;
}
.fade-delay-3 {
  animation-delay: 0.3s;
}
/* أنيميشن عامة */
/* الصورة */
.fade {
  animation: slideInLeft 0.8s ease-in-out forwards;
}

@keyframes slideInLeft {
  0% {
    opacity: 0.4;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* النصوص والزر */
.fade2 {
  animation: slideInRight 0.8s ease-in-out forwards;
}

@keyframes slideInRight {
  0% {
    opacity: 0.4;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  /* الصورة */
  .hero-section .sliderimage {
    left: 2rem !important;
    bottom: -4rem !important;
    width: 50%;
  }

  .hero-section #slider {
    width: 85% !important;
    max-width: 480px !important;
  }

  /* العناوين */
  .hero-section h1 {
    font-size: 2.7rem !important;
    line-height: 1.4 !important;
  }

  /* الفقرات */
  .hero-section p {
    font-size: 1.1rem !important;
    width:25rem !important;
  }

  /* الزر */
  .hero-section button {
    width: fit-content !important;
    font-size: 1.2rem !important;
    padding: 0.7rem 2rem !important;
    
  }

  /* المسافات */
  .hero-section .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  /* النقاط */
  .hero-section .dots {
    gap: 0.5rem !important;
    margin-top: 1.5rem !important;
  }

  .hero-section .dots div {
    width: 80px !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  header .logo {
    height: 3.5rem !important; /* تصغير الشعار */
  }

  header nav a {
    font-size: 0.95rem !important; /* تصغير حجم النص داخل اللينكات */
    margin: 0 0.5rem !important;
  }

  header nav {
    gap: 1.5rem !important; /* تقليل المسافة بين اللينكات */
  }

  header .logs button {
    width: fit-content !important; /* تقليل عرض الأزرار */
    padding: 0.5rem 0.75rem !important;
    font-size: 0.9rem !important;
  }

  header {
    padding: 0.75rem 0 !important; /* تقليل المسافة العلوية والسفلية للهيدر */
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  footer {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 2rem !important;
    padding-top: 3rem !important;
  }

  footer .w-full.md\:w-\[18\%\] {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  footer img {
    height: 5rem !important;
  }

  footer .w-full.md\:w-\[60\%\] {
    width: 100% !important;
    align-items: center !important;
  }

  footer .flex.flex-wrap {
    justify-content: center !important;
    gap: 1rem !important;
  }

  footer .flex.flex-row-reverse {
    justify-content: center !important;
    gap: 1.5rem !important;
  }

  footer .text-gray-400 {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  /* التحكم في الشبكة العامة */
  section.bg-\[\#e7e8ef\] .max-w-7xl {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 3rem !important;
  }

  /* العناوين والنصوص */
  section.bg-\[\#e7e8ef\] h2 {
    font-size: 2.2rem !important;
    margin-bottom: 1.5rem !important;
  }

  section.bg-\[\#e7e8ef\] p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }

  /* الزر */
  section.bg-\[\#e7e8ef\] button {
    margin: 2rem   0 auto !important;
    width: fit-content   !important;
    font-size: 1rem !important;
    justify-content: center !important;
  }

  /* قسم الكروت */
  section.bg-\[\#e7e8ef\] .grid.grid-cols-1.sm\:grid-cols-2 {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
    justify-items: center !important;
  }

  /* البطاقات نفسها */
  section.bg-\[\#e7e8ef\] .space-y-3 {
    padding: 1rem !important;
     border-radius: 10px !important;
   }

  /* صورة المستخدم */
  .shahada .bg-\[\#e7e8ef\] img {
    width: 3rem !important;
    height: 3rem !important;
  }

  /* الاسم والمنصب */
  section.bg-\[\#e7e8ef\] h3 {
    font-size: 1rem !important;
  }

  section.bg-\[\#e7e8ef\] .text-sm {
    font-size: 0.9rem !important;
  }
  .hero-btn{
    width: fit-content !important;
  }
}
