body {
  font-family: 'Almarai', sans-serif;
}

h1 {
  font-family: 'Cairo', sans-serif;
  margin: 5px;
  font-size: 300%;
}

h2, h3 {
  font-family: 'Cairo', sans-serif;
}

h4, h5 {
  font-family: 'Tajawal', sans-serif;
  font-weight: bold;
}

textarea,
p {
    direction: rtl;
    unicode-bidi: embed;
}

p {
  padding: 10px;
  font-size: 120%;
}

a {
  color: black;
}

ul {
  list-style-type: none;
}

/*---------about ------------*/
.ourStory{
text-align: center;
margin-top: 2rem;
}
.jopsPage{

  text-align: center;
  margin-top: 2rem;

}

.Ad{

  text-align: center;
  margin-top: 2rem;

}

.terms{
  text-align: center;
  margin-top: 2rem;
}

.questions{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: center;
padding: 1rem;
  margin-top: 5rem;
width: 100%;
  text-align: center;

}
.questions h5{
  background-color: rgb(214, 214, 219);
  border-radius: 5px;
padding: .5rem;

}

.News{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: center;
padding: 1rem;
  margin-top: 5rem;
width: 100%;
  text-align: center;
}
.News h5{
background-color: rgb(178, 178, 241);
border-radius: 5px;
padding: .5rem;
}
/*---------------------*/
hr {
  border: 0;
  margin: 1.35em auto;
  max-width: 100%;
  background-position: 50%;
  box-sizing: border-box;
}

/* Section 1 - Hero Section */
.section1 {
  width: 100%;
  padding: 40px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.section1 .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 800px;
}

.section1 .container > div {
  width: 100%;
  flex-basis: auto;
}

.logoM {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-block;
  margin-right: 10px;
}

.logoM1 {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

/* ------ hr styles ----------*/
.accessory {
  height: 6px;
  background-image: radial-gradient(closest-side,
  rgb(63, 250, 251),
  hsla(0, 0%, 50%, 0) 100%);
  position: relative;
}

/* Shine */
.shine {
  height: 20px;
  width: 60%;
  background-image: radial-gradient(farthest-side at 50% -50%,
  hsla(0, 0%, 0%, 0.5),
  hsla(0, 0%, 0%, 0));
  position: relative;
}

.shine-bottom {
  height: 25px;
  width: 70%;
  background-image: radial-gradient(farthest-side at 50% 50%,
  hsla(0, 0%, 0%, 0.4),
  hsla(0, 0%, 0%, 0));
  position: relative;
  margin: -8px auto 0 auto;
}

.leftIcon i{

  direction: rtl;

}

/*------------Login -------------*/


.fb {
  background-color: #3B5998 !important;
  color: white !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 20px !important;
  text-align: center;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}


.google {
  background-color: #dd4b39 !important;
  color: white !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 20px !important;
  text-align: center;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn_custom{
  background-color: white;
  border: none;
}
.navbar-nav button:hover{
  color: white !important;
  background: rgb(63, 250, 251);
  background: linear-gradient(90deg, rgba(63, 250, 251, 1) 0%, rgba(33, 155, 238, 1) 100%);

}
.LoginTitle{
  text-align: center;
}
.LoginBody{
  text-align: center;
}
.modal-body{
  margin-top: 5px;
  text-align: center;
}
.modal-header{
  text-align: center;
}
/*--------------------- body content -----------------*/
.blue {
  color: #3ffafb;
}

.header1 {
  text-align: center;
  font-size: 110%;
  position: static;
  display: block;
  margin-top: 0;
  left: 0;
  top: 0;
  width: 100%;
}

.header1 h1 {
  margin: 0 0 15px 0;
  line-height: 1.5;
}

.header1 p {
  margin: 0;
  line-height: 1.6;
  color: #555;
}

.container {
  width: 100%;
  max-width: 800px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.HomePhoto {
  width: 100% !important;
  max-width: 420px;
  position: static;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  margin-left: 80px;
  margin-right: 0;
}


/* -------------- section2 ----------------------*/
.section2 {
  background-color: #222831;
  width: 100%;
  height: 750px;
  position: relative;
  bottom: 5rem
}

.section2Contint {
  color: white !important;
  text-align: right;
  padding: 50px 0 25px 0px;
  margin-top: 1rem;
  margin-right: 17.5rem;
}

.section2Contint p {
  width: 80%;
  text-align: right;
  margin-left: 16rem;
  font-size: 100%;
}

.section2Button {
  position: relative;
  bottom: 8rem;
  right: 50rem;
}

.section2Button button:hover {
  color: white !important;
  background: rgb(63, 250, 251);
  background: linear-gradient(90deg, rgba(63, 250, 251, 1) 0%, rgba(33, 155, 238, 1) 100%);
}

.section2Button button {
  font-weight: bold !important;
}

/*  ---------- section2 animation -------- */
.come-in {
  transform: translateY(150px);
  animation: come-in 0.8s ease forwards;
}

.come-in:nth-child(odd) {
  animation-duration: 0.6s;
}

.already-visible {
  transform: translateY(0);
  animation: none;
}

@keyframes come-in {
  to {
    transform: translateY(0);
  }
}

/*----------------- section3  -----------*/
.section3 {
  margin-top: 5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  max-width: 100%;
}

.section3-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.section3-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 900px;
}

.section3Cantant {
  text-align: center;
  width: 100%;
  min-width: 250px;
  float: none;
  position: static;
  right: 0;
  flex-shrink: 0;
}

.section3Cantant p {
  padding-top: 0;
  line-height: 1.4;
  font-size: 0.9rem;
  margin: 0;
  white-space: nowrap;
}

.section3-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-shrink: 0;
}

.section3 img {
  width: 100%;
  max-width: 350px;
  height: auto;
  position: static;
  left: 0;
  border-radius: 10px;
  display: block;
}

.section3-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.section3-footer h2 {
  margin: 0;
  font-size: 1.8rem;
}

.section3Button{
  position: static;
  float: none;
  top: 0;
  left: 0;
  border: none;
  margin-top: 20px;
  width: 100%;
}
.section3Button button:hover{
  color: white;
  background: rgb(63, 250, 251);
  background: linear-gradient(90deg, rgba(63, 250, 251, 1) 0%, rgba(33, 155, 238, 1) 100%);

}
/*---------- animation h2 section3 ------*/
.ml7 {
  position: relative;
  font-weight: 900;
  font-size: 3.7em;
}

.ml7 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.2em;
  padding-right: 0.05em;
  padding-bottom: 0.1em;
  overflow: hidden;
}

.ml7 .letter {
  transform-origin: 0 100%;
  display: inline-block;
  line-height: 1em;
}

/*  ----------------Search Bar ------------------*/
.SearchBar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 30px 0;
  padding: 20px;
}

form.example {
  display: flex;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* Style the search field */
form.example input[type=text] {
  padding: 16px 20px;
  font-size: 18px;
  border: none;
  background: #f1f1f1;
  text-align: right;
  flex: 1;
  outline: none;
  transition: background-color 0.3s ease;
}

form.example input[type=text]:focus {
  background-color: #fff;
}

#sarchForM{
  display: none;
}
#sarchForM input{
  width: 70%;
  text-align: right;
}

/* Style the submit button */
form.example button {
  width: auto;
  padding: 16px 30px;
  background: #2196F3;
  color: white;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.3s ease;
}

form.example button:hover {
  background: rgb(63, 250, 251);
  background: linear-gradient(90deg, rgba(63, 250, 251, 1) 0%, rgba(33, 155, 238, 1) 100%);
}

.SearchBtn {
  position: static;
}

/*--------- The animation code-----------*/
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fifadeIn2 {
  animation-name: fadeIn;
  animation-duration: 1.5s;
}

.fifadeIn1 {
  animation-name: fadeIn;
  animation-duration: 3s;
}

.box {
  align-self: flex-end;
  animation-duration: 1.5s;
  animation-iteration-count: inherit;
  margin: 0 auto 0 auto;
  transform-origin: bottom;
}

.bounce-6 {
  animation-name: bounce-6;
  animation-timing-function: ease-in-out;
}

@keyframes bounce-6 {
  0% {
    transform: scale(1, 1) translateY(0);
  }

  10% {
    transform: scale(1.1, .9) translateY(0);
  }

  30% {
    transform: scale(.9, 1.1) translateY(-100px);
  }

  50% {
    transform: scale(1.05, .95) translateY(0);
  }

  57% {
    transform: scale(1, 1) translateY(-7px);
  }

  64% {
    transform: scale(1, 1) translateY(0);
  }

  100% {
    transform: scale(1, 1) translateY(0);
  }
}

/*----------- cards styels --------- */
.card {
  border-radius: 40%;
  text-align: center;
  margin: 1rem;

}

.row {
  position: relative;
  left: 20rem;
  margin: 0;
  width: 50%;
}

.iconsHome {
  width: 15.5%;
  height: 20%;
}

.card1 a:hover {
  border-radius: 40%;
  text-decoration: none;
  color: white !important;
  background: rgb(63, 250, 251);
  background: linear-gradient(90deg, rgba(63, 250, 251, 1) 0%, rgba(33, 155, 238, 1) 100%);
}

/* ---------- the menu style ---------*/
#navbar {
  width: 100%;
  background-color: white !important;
}

.navbar-button button{
  text-align: right;

}
#navbar a {
  display: block;
  color: black;
  text-decoration: none;
  background-color: white;
  cursor: pointer;
}

#navbar a:hover {
  text-decoration: none;
  color: black;
}
/* Page content */
/*.content {
  padding: 16px;
  background-color: white !important;
}*/

/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  height: 12.5%;
  z-index: 9999;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.collapse{
  width: 100%;
  background-color:white !important;
  padding: 1rem;
  top: 0;
  z-index: 999;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky+.content {
  background-color: white !important;
}

.navbar-brand {
  position: relative;
  font-size: 100%;
  cursor: pointer;
  color: black !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.navbar-brand img {
  cursor: pointer;
  height: 40px;
  width: auto;
}

.navbar-brand span {
  white-space: nowrap;
  font-weight: 600;
  font-size: 150%;
}

.navbar-brand:hover {
  color: black !important;
  text-decoration: none !important;
}

.navbar-brand-desktop {
  order: -1;
  margin-right: auto;
  display: flex;
}

.form-control {
  position: relative;
  right: 55rem;
  margin-right: 150px;
}

.container-fluid {
  font-size: 150%;
  margin-left: 5rem;
}

.nav-item {
  padding-left: 4.5rem;
  font-size: 125%;
}

#loginIcon {
  /* Removed position: relative and right styles to fix modal z-index issue */
}

#addPhoto {
  /* Removed position: relative and right styles to fix modal z-index issue */
}

.dropdown-menu {
  font-size: 110%;
}

#dropdownMenuButton1 {
    position: relative;
    right: 25rem;
}

.nav-item a:hover {
  border-radius: 32.5%;
  color: white !important;
  background: rgb(63, 250, 251);
  background: linear-gradient(90deg, rgba(63, 250, 251, 1) 0%, rgba(33, 155, 238, 1) 100%);
}

/* -=----------- the footer ------------ */
.footer {
  background-color: white !important;
}

.footerBrand {
  text-align: center;
}

.footerCopy {
  display: none;
}

.footerIcon {
  display: none;
}

.footerIconFace {
  display: none;
}

.footerIconInst {
  display: none;
}
.footerIconTwitter {
  display: none;
}
.HrFooter {
  width: 100%;
}

.footerLast {
  padding: 1px;
}

.footer a:hover {
  color: black;
  text-decoration: none;
}

.footerAboutUS {
  list-style: none;
  padding: 0;
}

.footerSupport {
  list-style: none;
  padding: 0;
}

.about{
  text-align: right;
}

/*-----------------------------*/





/*  ---------Nav bar 2 -------- */


.navUser{
  height: .5rem;
  margin-top: 1.5rem;
  font-size: 120%;
  color: black;
  background-color: gray;
}

.navUser a{

  left: 12.5rem;
  position: relative;


}


.mycards {
  border-radius: 0% !important;
  text-align: center;
  margin-top: 4.5rem !important;

}

.colorRed{

  color: red;
}

.hederUser{

  text-align: right;
  margin-top: 2rem;
  margin-right: 7.5rem;
}
.hederSad{

  text-align: center;
  margin-top: 4.5rem;

}

.mycards a:hover {
  color: white !important;
  background: rgb(63, 250, 251);
  background: linear-gradient(90deg, rgba(63, 250, 251, 1) 0%, rgba(33, 155, 238, 1) 100%);
}


.logoForNav {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

@media screen and (max-width: 1200px) {
  .navUser a{

    left: 2.5rem;
    position: relative;


  }
}


@media screen and (max-width: 990px) {
  .logoM {
    display: none;
  }

  .logoForNav {
    display: block;
  }

  .navbar-brand-desktop {
    display: none !important;
  }
}


/*----------------------------*/

/* Responsive Design for Homepage */

/* Large Screens (Desktop) - 1200px and above */
@media screen and (min-width: 1200px) {
  .header1 {
    margin-top: 70px;
    padding: 0 15px;
  }

  .container {
    max-width: 1000px;
  }

  .section2 {
    min-height: 750px;
  }

  .section3 {
    min-height: 400px;
  }
}

/* Medium Screens (Tablets) - 768px to 1199px */
@media screen and (max-width: 1199px) and (min-width: 768px) {
  .header1 {
    margin-top: 60px;
    padding: 0 15px;
  }

  .container {
    max-width: 100%;
  }

  .section2 {
    min-height: auto;
    padding: 30px 15px;
  }

  .section2Contint {
    margin: 1rem auto;
  }

  .section3 {
    min-height: auto;
    padding: 30px 15px;
  }

  .section3 img {
    max-width: 350px;
  }

  form.example {
    max-width: 500px;
  }

  form.example input[type=text] {
    width: 70%;
  }

  form.example button {
    width: 25%;
  }
}

/* Small Screens (Large Phones) - 576px to 767px */
@media screen and (max-width: 767px) and (min-width: 576px) {
  .header1 {
    margin-top: 50px;
    padding: 0 10px;
  }

  h1 {
    font-size: 1.5rem !important;
  }

  .header1 h1 {
    font-size: 1.4rem !important;
  }

  .header1 p {
    font-size: 0.95rem !important;
  }

  .section2 {
    min-height: auto;
    padding: 25px 10px;
  }

  .section2Contint h2 {
    font-size: 1.3rem !important;
  }

  .section2Contint p {
    font-size: 0.9rem !important;
  }

  .section3 {
    min-height: auto;
    padding: 25px 10px;
  }

  .section3Cantant h2 {
    font-size: 1.3rem !important;
  }

  .section3 img {
    max-width: 300px;
  }

  .card1 .row {
    justify-content: center;
  }

  .card1 .module {
    min-width: 200px;
    max-width: 300px;
  }

  form.example {
    max-width: 90%;
    flex-direction: column;
  }

  form.example input[type=text] {
    width: 100%;
    border-radius: 4px 4px 0 0;
  }

  form.example button {
    width: 100%;
    border-radius: 0 0 4px 4px;
    border-left: 1px solid grey;
    border-top: none;
  }
}

/* Extra Small Screens (Small Phones) - Below 576px */
@media screen and (max-width: 575px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.2rem !important;
  }

  h2 {
    font-size: 1.1rem !important;
  }

  h3, h4, h5 {
    font-size: 1rem !important;
  }

  p {
    font-size: 0.9rem !important;
    padding: 8px !important;
  }

  .header1 {
    margin-top: 40px;
    padding: 0 10px;
  }

  .header1 h1 {
    font-size: 1.2rem !important;
    margin: 8px 0 15px 0 !important;
  }

  .header1 p {
    font-size: 0.85rem !important;
  }

  .container {
    width: 100%;
    padding: 0 10px;
    gap: 15px;
  }

  .HomePhoto {
    width: 100% !important;
    max-width: 100%;
  }

  .section1 {
    padding: 20px 10px;
    gap: 15px;
  }

  .section2 {
    min-height: auto;
    padding: 20px 10px;
  }

  .section2Contint {
    padding: 15px;
  }

  .section2Contint h2 {
    font-size: 1.1rem !important;
    margin-bottom: 10px;
  }

  .section2Contint p {
    font-size: 0.85rem !important;
    line-height: 1.5;
  }

  .section2Button {
    margin: 20px 0;
  }

  .section3 {
    min-height: auto;
    padding: 20px 10px;
    gap: 20px;
  }

  .section3Cantant {
    max-width: 100%;
    padding: 0 5px;
  }

  .section3Cantant h2 {
    font-size: 1.1rem !important;
    margin-bottom: 10px;
  }

  .section3Cantant p {
    font-size: 0.85rem !important;
    line-height: 1.5;
  }

  .section3 img {
    max-width: 250px;
    width: 100%;
  }

  .card1 {
    padding: 10px;
  }

  .card1 .row {
    justify-content: center;
    gap: 10px;
  }

  .card1 .module {
    min-width: 150px;
    max-width: 280px;
    width: 100%;
  }

  .card .card-body {
    padding: 0.75rem !important;
  }

  .card .card-body h5 {
    font-size: 0.95rem !important;
  }

  .card .card-body p {
    font-size: 0.8rem !important;
  }

  form.example {
    max-width: 95%;
    flex-direction: column;
    gap: 0;
  }

  form.example input[type=text] {
    width: 100%;
    border-radius: 4px 4px 0 0;
    font-size: 0.9rem;
    padding: 10px;
  }

  form.example button {
    width: 100%;
    border-radius: 0 0 4px 4px;
    border-left: 1px solid grey;
    border-top: none;
    font-size: 0.85rem;
    padding: 10px 8px;
  }

  .SearchBar {
    padding: 15px 10px;
    margin: 15px 0;
  }

  .footer {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .footerBrand h2 {
    font-size: 1.1rem !important;
  }

  .footerBrand p {
    font-size: 0.85rem !important;
  }

  .HrFooter {
    height: 15px;
  }
}

/* Fix modal z-index stacking context issue */
.modal {
  position: fixed !important;
  z-index: 1050 !important;
}

.modal-backdrop {
  position: fixed !important;
  z-index: 1040 !important;
}

#loginModal {
  position: fixed !important;
  z-index: 1050 !important;
}
