* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  list-style: none;
  text-decoration: none;
}
body {
  direction: rtl;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0045a0;
  color: #fff;
}
nav {
  background: #0082e6;
  height: 80px;
  width: 100%;
}

.logo{
	width: 100%;
	  color: white;
  font-size: 35px;
  line-height: 70px;
  font-weight: 600;
  padding: 0 100px;
	text-align: center;
}

label.logo {
  color: white;
  font-size: 35px;
  line-height: 70px;
  font-weight: 600;
  padding: 0 100px;
  cursor: pointer;
}
nav ul {
  float: left;
  margin-left: 20px;
}
nav ul li {
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
}
nav ul li a {
  color: white;
  font-size: 17px;
  padding: 7px 17px;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 600;
}
a.active, a:hover {
  background: #1b9bff;
  transition: .5s;
}
.check-btn {
  color: white;
  font-size: 30px;
  float: left;
  line-height: 80px;
  margin-left: 40px;
  cursor: pointer;
  display: none;
}
#check {
  display: none;
}
@media (max-width: 952px) {
  label.logo {
    font-size: 30px;
    padding-right: 50px;
  }
  nav ul li a {
    font-size: 16px;
  }
}
@media (max-width: 858px) {
  .check-btn {
    display: block;
  }
  ul {
    position: fixed;
    height: 100vh;
    width: 100%;
    background: #2c3e50;
    top: 80px;
    right: -100%;
    text-align: center;
    transition: all .5s;
  }
  nav ul {
    display: block;
    width: 100%;
    margin: 0;
  }
  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  nav ul li a {
    font-size: 20px;
  }
  a:hover, a.active {
    background: none;
    color: #0082e6;
  }
  #check:checked ~ ul {
    right: 0;
  }
}
/* Main Styles */
main {
  min-width: 300px;
  padding: 20px;
}
.hero {
  background-color: #f2f2f2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  # color: #fff;
  text-align: center;
  padding-top: 80px;
}
.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 24px;
  margin-bottom: 20px;
}
.hero button {
  background-color: #0045a0;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}
.hero button:hover {
  background-color: #3c78d8;
}

.hero .pagetext{
  direction: rtl;
  text-align: right;
  font-size: 18px;
  unicode-bidi: bidi-override;	
  padding: 10px 20px 20px 10px
}

.hero .pagetext h4{
  direction: rtl;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  unicode-bidi: bidi-override;	
}


.search-options {
  display: flex;
  flex-direction: row;
  justify-content:flex-start;/* flex-end; */
  margin-bottom: 10px;
  direction: rtl; /* add this line */
}

.search-options label {
  margin-right: 20px; /* change this to margin-left */
}



.input-box{
  margin: auto;
  padding: 10px;
  flex-grow: 1;
  font-size: 16px;
  color: #333;
  width: 98%;
}


.input-box input[type="email"]{
  padding: 10px;
  flex-grow: 1;
  border: solid;
  border-radius: 5px;
  font-size: 16px;
  color: #333;
  width: 80%;
}

.input-box label{
  padding: 20px 20px 20px 20px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  width: 90%;
}


table.contact-form {
  direction: rtl;
  font-size: 16px;
font-weight: bold;
  border-radius: 5px;
  width: 95%;
}

table.contact-form input[type="text"], table.contact-form select, table.contact-form  textarea{
  padding: 10px;
  margin-right: 10px;
  flex-grow: 1;
  border: solid;
  border-radius: 5px;
  width: 95%;
  font-size: 16px;
}

table.contact-form button {
  background-color: #0045a0;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  width: 50%;
}


.search-box input[type="text"].input-field {
  padding: 10px;
  margin-right: 10px;
  flex-grow: 1;
  border: solid;
  border-radius: 5px;
  font-size: 16px;
  color: #333;
  width: 70%;
}
.search-box input[type="text"] {
  padding: 10px;
  margin-right: 10px;
  flex-grow: 1;
  border: solid;
  border-radius: 5px;
  width: 70%;
 font-size: 16px;
}
.search-box button {
  background-color: #0045a0;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

.search-results{
	padding-top: 10px;
	font-weight: bold;
	font-size: 18px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}
.features h2 {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}
.feature-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f2f2f2;
  padding: 20px;
  margin: 10px;
  text-align: center;
  border-radius: 5px;
  width: 30%;
  min-width: 300px;
}
.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}
.feature-text h3 {
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-text p {
  font-size: 16px;
  line-height: 1.5;
}
.results-container{
	  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.qafia {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.qafia-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f2f2f2;
  padding: 5px;
  margin: 5px;
  text-align: center;
  border: solid;
  border-color: #6E6969;
  border-radius: 5px;
  width: 24%;
  min-width: 300px;
}
.qafia-text h3 {
	
  font-size: 1.5;
  margin-bottom: 5px;
}
.qafia-text p {
	font-weight: normal;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 10px;
}
/* Footer Styles */
footer {
  background-color: #ccc;
  padding: 20px;
  text-align: center;
	unicode-bidi: bidi-override;	
}
footer p{
  padding: 2px;
}

.socialshare{
	padding-bottom: 20px;
}