
:root {
  --main-color: #0096f4;
  --sec-color: #a81b27;
  --bg-color: #4ba8ed;
  --main-radius: 15px;
  --main-transition: 0.2s;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: "Montserrat Arabic";
}
p {
  font-size: 14px;
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
i {
  margin-top: 2px;
}
.btn i {
  margin-top: 5px;
  padding-top: 0 !important;
}

.panel{
  border-radius: 0 0 30px 30px;
  background: rgba(var(--bs-info),var(--bs-bg-opacity));
}
.panel .btn{
	width: 50px;
  height: 50px;
}
.panel .timer{
  font-family: 'Orbitron';
  background-color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.panel .timer.stop{
  background-color: var(--sec-color);
}

.panel .timer.warning{
  animation: warning infinite 1s;
}

body.bold{
  font-weight: 700 !important;
}

/* Red-Green Blindness Mode */
body.red-green-bg-color .text-danger {
  color: #8b4513 !important; /* Brown */
}

body.red-green-bg-color .text-success {
  color: #006400 !important; /* Dark green */
}

body.red-green-bg-color .alert-danger {
  background-color: #8b4513 !important;
  border-color: #8b4513 !important;
}

body.red-green-bg-color .alert-success {
  background-color: #006400 !important;
  border-color: #006400 !important;
}

/* Blue Blindness Mode */
body.blue-bg-color .text-primary {
  color: #ff9900 !important; /* Orange */
}

body.blue-bg-color .text-info {
  color: #228b22 !important; /* Green */
}

body.blue-bg-color .alert-primary {
  background-color: #ff9900 !important;
  border-color: #ff9900 !important;
}

body.blue-bg-color .alert-info {
  background-color: #228b22 !important;
  border-color: #228b22 !important;
}

@keyframes warning {
    0%{
      background-color: yellow;
    }
    100%{
      background-color: var(--main-color);
    }
}


@media (max-width: 768px) {
}
a {
  text-decoration: none;
}
.whatsapp {
  position: fixed;
  bottom: 2%;
  left: 2%;
  z-index: 999;
  background-color: rgb(77, 194, 71) !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.whatsapp i {
  color: white;
  font-size: 2rem;
}
h1 {
  font-size: 26px;
  position: relative;
  color: #331b41;
  font-size: 36px;
  font-weight: 700;
}
h5 {
  font-size: 18px;
  line-height: 1.6;
}
h1::before {
  content: "";
  position: absolute;
  height: 6px;
  width: 82px;
  right: 0;
  background-color: var(--main-color);
  bottom: -20px;
}
h6 {
  margin: 0;
}
.head p {
  font-size: 16px;
  color: var(--first-color);
  font-size: 18px;
}
.btn {
  height: 48px;
  border: none;
}
.btn:hover {
  background: var(--gradient-color);
  border: 0;
}
.navbar {
  background-color: var(--sec-color);
  -webkit-box-shadow: 0px -20px 20px 0 rgba(0, 0, 0, 0.16),
  0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0px -20px 20px 0 rgba(0, 0, 0, 0.16),
  0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.navbar .logo {
  width: 55px;
}
.navbar-collapse .log {
  margin-left: 0;
  margin-left: 1rem;
}
@media (max-width: 991px) {
}

.navbar .logo .logo-img {
  max-width: 100%;
}
.navbar-nav {
  gap: unset;
  gap: 1rem;
}
@media (max-width: 992px) {
}
.navbar-nav .nav-link:hover {
  color: var(--main-color);
}
.navbar-nav li a {
  transition: 0.3s;
  background: #eee;
  font-weight: bold !important;
  border-radius: 10px;
}
.navbar-nav li a:hover {
  color: var(--first-color);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-btn .lang-flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  line-height: 1;
}

.lang-btn .lang-flag img {
  width: 40px;
  height: 40px;
}

.lang-btn:hover{
  transition-duration: 0.3s;
  transform: translateX(4px) scale(1.05);
}

.up-coming {
  background-color: var(--first-color);
  width: fit-content;
  margin: auto;
  padding: 10px 20px;
  transition: 0.3s;
}
.up-coming:hover {
  background-color: var(--third-color);
}
@font-face {
  font-family: "Montserrat Arabic";
  src: url("../fonts/fonts/Montserrat-Arabic-Thin-250.otf") format("opentype");
  font-weight: 250;
  font-style: normal;
  src: url("../fonts/fonts/Montserrat-Arabic-Black-900.otf") format("opentype");
  font-weight: 900;
  src: url("../fonts/fonts/Montserrat-Arabic-ExtraBold-800.otf")
  format("opentype");
  font-weight: 800;
  src: url("../fonts/fonts/Montserrat-Arabic-Bold-700.otf") format("opentype");
  font-weight: 700;
  src: url("../fonts/fonts/Montserrat-Arabic-SemiBold-600.otf")
  font-weight: 600;
  src: url("../fonts/fonts/Montserrat-Arabic-Medium-500.otf") format("opentype");
  font-weight: 500;
  src: url("../fonts/fonts/Montserrat-Arabic-Regular-400.otf")
  font-weight: 400;
  src: url("../fonts/fonts/Montserrat-Arabic-Light-300.otf") format("opentype");
  font-weight: 300;
  src: url("../fonts/fonts/Montserrat-Arabic-ExtraLight-275.otf")
  font-weight: 275;
}
.form-container .box {
  height: 234px;
  width: 261px;
}
.login .pic {
  height: 100vh;
  background-color: #fafafa;
}
.login .pic img {
  width: 85%;
  border-radius: 24px;
  box-shadow: -1px 1px 2px 0px rgb(0 0 0 / 8%);
  position: sticky;
}

.login .pic-sign {
  height: 100% !important;
}
.login .sm-pic {
  width: 150px;
  padding: 10px;
  border-radius: 10px;
}
.form-container {
  width: 90%;
  width: 70%;
  margin: auto;
}
.form-container form .input {
  height: 60px;
  height: auto;
  color: #bebebe !important;
  font-size: 18px;
  border-radius: 0px;
  outline: none !important;
  font-size: 15px;
  box-shadow: -1px 1px 2px 0px rgb(0 0 0 / 8%);
  -webkit-box-shadow: -1px 1px 2px 0px rgb(0 0 0 / 8%);
}
.form-container form input:not(:last-child) {
  box-shadow: none;
  height: 56px;
}
.form-container form input::placeholder {
  color: #bebebe;
}
.form-container .radio-ch {
  height: 16px !important;
}
.form-container form input {
  background: #f9f9f9 !important;
  border-radius: 14px;
}
.form-container form textarea {
  background: #f9f9f9 !important;
  color: #bebebe !important;
  font-size: 18px;
  border-radius: 0px;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  font-size: 15px;
  height: 138px;
  border-radius: 14px;
}
.form-container form textarea:focus {
  border-color: black;
  outline: none;
  box-shadow: 0 1px 0 -1px var(--first-color);
}
.form-container .pic img {
  display: none;
  height: 588px;
  object-fit: cover;
}
.form-container .message {
  background-color: var(--main-color) !important;
  color: white !important;
}
.form-container .message:hover {
  background: var(--gradient-color) !important;
}
.form-container #contactButton {
  background-color: var(--main-color) !important;
  color: white !important;
}
.form-container #contactButton:hover {
  background: #000 !important;
}
/* .form-container .facebook:hover {
  background: #0d6efd !important;
  } */

.form-container .google:hover {
  background: white !important;
}
.form-container .facebook:active {
  color: white;
}
.form-container .new {
  text-decoration: none;
  color: var(--main-color);
}
.form-container .new:hover {
  text-decoration: underline;
}
.form-container .contact-info .more {
  top: -10%;
  left: 5%;
  background-color: white;
  font-size: 14px;
}
.form-container .contact-info i {
  font-size: 20px;
  width: 40px;
  height: 40px;
}
.form-container .or span {
  background-color: white;
}
.form-container .or::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: hsl(0deg 0% 0% / 15%);
}
.land-contact .x-twitter {
  width: 49px;
  height: 48px;
  top: 107.01px;
  left: 600px;
  gap: 0px;
  opacity: 0px;
}
.land-contact .insta {
  width: 48px;
  height: 48px;
  top: 435.01px;
  left: 143px;
  gap: 0px;
  opacity: 0px;
}
.land-contact .youtube {
  width: 48px;
  height: 48px;
  top: 136.01px;
  left: 154px;
  gap: 0px;
  opacity: 0px;
  z-index: 99;
}
.land-contact .facebook {
  width: 37.14px;
  height: 37.14px;
  top: 388px;
  left: 705.14px;
  gap: 0px;
  opacity: 0px;
}
.land-contact .dot-one {
  width: 10px;
  height: 11px;
  top: 493.01px;
  left: 135px;
  gap: 0px;
  opacity: 0px;
}
.land-contact .dots-one {
  width: 57.94px;
  height: 50.43px;
  top: 92.66px;
  left: 202.18px;
  gap: 0px;
  opacity: 0px;
}
.land-contact .dots-two {
  width: 57.94px;
  height: 50.43px;
  top: 567.96px;
  left: 616.32px;
  gap: 0px;
  opacity: 0px;
}
.land-contact .star-one {
  width: 19px;
  height: 20px;
  top: 398.01px;
  left: 390px;
  gap: 0px;
  opacity: 0px;
}
.land-contact .star-three {
  width: 16.71px;
  height: 16.71px;
  top: 300.21px;
  left: 615.64px;
  gap: 0px;
  opacity: 0px;
}
.land-contact .pic-one {
  position: absolute;
  top: 142.01px;
  left: 478px;
}
.land-contact .pic-two {
  position: absolute;
  width: 476.38px;
  height: 317.58px;
  top: 83px;
  left: 60.55px;
  gap: 0px;
  opacity: 0px;
}
.land-contact .pic-three {
  position: absolute;
  width: 395.91px;
  height: 310.07px;
  top: 287.93px;
  left: 348.09px;
  gap: 0px;
  opacity: 0px;
}
.land-contact .pic-four {
  position: absolute;
  width: 161px;
  height: 161px;
  top: 437.01px;
  left: 187px;
  gap: 0px;
  border-radius: 100px 0px 0px 0px;
  opacity: 0px;
}
.form-container form .star-four {
  width: 9.29px;
  height: 9.29px;
  top: 65px;
  left: 255px;
  gap: 0px;
  opacity: 0px;
}
.form-container form .star-one {
  width: 16.71px;
  height: 16.71px;
  top: 232px;
  left: -8%;
  gap: 0px;
  opacity: 0px;
}
.form-container form .star-three {
  width: 16.71px;
  height: 16.71px;
  top: 215px;
  left: 675px;
  gap: 0px;
  opacity: 0px;
}
.forms #contactButton {
  color: white;
  background: unset !important;
}
.forms #contactButton:hover {
  color: white;
  background: unset !important;
}
.categories {
  margin-top: 50px;
}
.categories picture {
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
}
.categories picture img {
  aspect-ratio: 2 / 1.1;
  object-fit: contain;
}
.categories .categories-card {
  position: relative;
  overflow: hidden;
}
.categories .categories-card::before {
  content: "";
  background: linear-gradient(
  180deg,
  rgba(0, 0, 0, 0) 6.69%,
  rgba(0, 0, 0, 0.6) 49.62%,
  rgba(0, 0, 0, 0.8) 100%
  );
  position: absolute;
  bottom: 0;
  height: 40%;
  left: 0;
  width: 100%;
  z-index: 2;
  transition: 0.3s;
  border-radius: 0.75rem;
}
.categories .categories-card:hover::before {
  height: 60%;
}
.categories .categories-card .content {
  position: absolute;
  bottom: 6%;
  inset-inline-start: 4%;
  color: #313131;
  z-index: 2;
  top: 10px;
}
.main-btn {
  background-color: var(--main-color);
  width: fit-content;
  padding: 0.5rem 2rem;
  border-radius: 5px;
  transition: 0.3s ease;
  color: #fff;
}
.main-btn:hover {
  background-color: var(--sec-color);
  color: #fff;
}
.quiz button {
  position: relative;
  margin-inline-start: 3rem;
  text-align: left;
  transition: 0.2s;
  background: #f9f9f9 !important;
  box-shadow: -1px 1px 2px 0px rgb(0 0 0 / 8%);
  border: var(--bs-border-width) solid var(--bs-border-color);
  padding: 1rem;
  border-radius: 10px;
}
.quiz button::before {
  content: "";
  position: absolute;
  inset-inline-start: -9%;
  width: 25px;
  height: 25px;
  border: 3px solid var(--bs-border-color);
  border-radius: 50%;
  transition: 0.2s;
}

.quiz button:hover::before {
  background: var(--main-color) !important;
  color: #fff;
}

.quiz button.active::before {
  background: var(--main-color) !important;
  color: #fff;
}

.quiz img {
    border-radius: 10px;
    max-height: 400px;
    object-fit: contain;
}

textarea.form-control {
  background: #f9f9f9 !important;
  box-shadow: -1px 1px 2px 0px rgb(0 0 0 / 8%);
}

.review-panel {
  position: fixed;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-height: 80vh;
  background: var(--main-color);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  z-index: 1000;
  overflow-y: auto;
}

.review-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-content {
  padding: 20px;
}

.bookmark-link {
  cursor: pointer;
}

.overlay-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  z-index: 999;
}
    /* Overlay styling */
    .overlay {
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background: var(--main-color);
      z-index: 999;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  /* Spinner styling */
  .spinner {
      background: var(--main-color);
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 2px solid #e3e3e3;
      animation: spin 300ms linear infinite;
      box-shadow: 1px 2px #e3e3e392;
  }

  .explanation-content {
    background-color: #f9f9f9;
    border: 1px solid #e8e8e8;
    color: #212528;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: -1px 1px 2px 0px rgb(0 0 0 / 8%);
  }
  .explanation.correct .lead {
    color: #1fb4a6;
  }
  .explanation.incorrect .lead {
    color: #f54042;
  }
  .explanation .lead i {
    font-size: 48px;
  }
  .explanation.incorrect .lead i {
    transform: rotate(180deg) scaleX(-1);
  }
  .explanation .lead span {
    font-size: 24px;
    font-weight: 600;
  }
  
  /* Keyframes for spinning animation */
  @keyframes spin {
      0% {
          transform: rotate(0deg);
      }

      100% {
          transform: rotate(360deg);
      }
  }
.head-quiz h5 {
position: relative;
    margin-inline-start: 3rem;
    text-align: left;
    transition: 0.2s;
    background: #f9f9f9 !important;
    box-shadow: -1px 1px 2px 0px rgb(0 0 0 / 8%);
    border: var(--bs-border-width) solid var(--bs-border-color);
    padding: 1rem;
    border-radius: 10px;
    color:#000;
}
.intro h2 ,
.intro p {
color: #000;
}

.quiz-details picture,
.quiz-details .quiz-content {
	width: 100%;
  min-width: 230px;
}

.quiz-details > picture.d-none + .quiz-content {
  width: 94% !important;
}


@media (max-width: 520px) {
  .quiz-details picture,
  .quiz-details .quiz-content {
    width: 100%;
  }
  .quiz-details {
    flex-wrap: wrap;
  }
  .footer-panel h3{
    font-size: 1.1rem !important;
  }
}

@media (max-width: 398px) {
  .footer-panel h3{
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 1rem;
    font-size: 1rem !important;
  }
  .panel .btn, .panel .timer {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }
}

.footer-panel .btn {
	left: 80% !important;
}

body.red-green-bg-color {
background-color: #fff !important;
}
body.red-green-bg-color .panel,
body.red-green-bg-color .footer-panel,
body.red-green-bg-color .accessibility-page 
{
background-color: #2c3550 !important;
}
body.blue-bg-color .panel,
body.blue-bg-color .footer-panel,
body.blue-bg-color .accessibility-page 
{
background-color: #052c30 !important;
}
.accessibility-page {
	height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.accessibility-page .contianer {
	width: 100%;
}
main {
padding-top: 0 !important;
}
.quiz
 {
	padding-top: 50px !important
}
.intro {
	padding-top: 80px !important
}
@media (min-width: 768px) and (max-width: 991px) {
  .quiz-details picture {
      margin: auto;
  }
}
@media (max-width: 767px){
  .footer-panel {
    margin-top: 2rem !important;
    height: 70px;
  }
  .pages {
     min-height: 78vh;
     padding-bottom: 75px;
  }
}

.pages .container h2 {
margin-top: 100px;
}
.header {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    height: 75px;
}

select {
    text-wrap: auto;
    text-align: center;
}

.exam-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 18px;
    width: 98%;
    padding: 12px;
    border-radius: 12px;
    background: #ebebeb;
    margin: 1%;
    margin-bottom: 70px;
}

.exam-row .exam-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 24px;
    padding: 20px;
    width: 24%;
    min-width: 220px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exam-row .exam-card.not-available {
    background: #ebebeb;
    box-shadow: none;
    opacity: 0.6;
    pointer-events: none;
}

.exam-row .exam-card:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.exam-row .exam-card .main-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}