@font-face {
  font-family: 'cairo';
  src: url('../fonts/Cairo/static/Cairo-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'cairo-bold';
  src: url('../fonts/Cairo/static/Cairo-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'cairo-extra-bold';
  src: url('../fonts/Cairo/static/Cairo-ExtraBold.ttf') format('truetype');
}

@font-face {
  font-family: 'cairo-light';
  src: url('../fonts/Cairo/static/Cairo-Light.ttf') format('truetype');
}

/* @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap'); */

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;

}


*::-webkit-scrollbar {
  width: 8px;
  height: 3px;
}

*::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--bg-primary);
  outline: 0.5px solid #fafafa;
  border-radius: 5px;
}


:root {
  --color-primary: #f9f9f9;
  --color-success: #00bf8e;
  --color-warning: #f7c94b;
  --color-danger: #f75842;
  --color-danger-variant: rgba(247, 88, 66, 0.4);
  --bg-primary: #054bb4;
  --bg-primary-light: #1055bd;
  --bg-secondary: #ffff00;
  --bg-white: #ffe;
  /* --bg-primary: #fff; */
  --text-white: #fff;
  --text-black: #222;
  --color-light: rgba(255, 255, 255, 0.7);
  --color-black: #000;
  --color-bg: #043988;
  /* --color-bg1: #2e3267; */
  --color-bg1: #ddd;
  /* --color-bg2: #424890; */
  --color-bg2: #ffe;

  --container-width-lg: 90%;
  --container-width-md: 90%;
  --container-width-sm: 94%;

  --transition: all 400ms ease;

  --cards-width: 350px;
  --cards-min-height: 250px;
}


/* ------------- Custom Styles ----------------------------- */
html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;

}


.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.hidden {
  display: none
}

.hide-navbar {
  display: none
}



.opacity-1 {
  opacity: 1 !important;
}


.opacity-1 li {
  opacity: 1 !important;
}


.overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 90%;
  z-index: 1 !important;
}

.navbar-btn {
  color: var(--text-black);
  background-color: var(--bg-secondary) !important;
  border: 1px solid var(--bg-secondary);
  padding: 10px 20px;
  border-radius: 40px;
  text-transform: capitalize;
}




.brand {
  width: 60px;
  height: 60px;
  background: transparent;
  border-radius: 30px;
  object-fit: cover;
}

.navbar-btn:hover {
  color: var(--text-black);
  background: var(--bg-secondary);
  border: 1px solid var(--text-black);
}

.mx-15px {
  margin-right: 15px;
  margin-left: 15px;
}

.mx-auto {
  margin: 10px auto
}

.mt-20 {
  margin-top: 20px;
}

.mt-10 {
  margin-top: 10px
}

.mt-20px {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.my-30 {
  margin-top: 30px;
  margin-bottom: 30px;
}

.mt-50 {
  margin-top: 50px;
}

.my-20-custom {
  margin: 20px auto;
}

.mt-15 {
  margin-top: 15px;
}

.px-50px {
  padding-right: 50px;
  padding-left: 50px;
}

.w-20 {
  width: 5rem
}

.w-40 {
  width: 8rem
}

.h-20 {
  height: 5rem
}

.login-container {
  background: var(--bg-primary);
}

/* .long-text-20 {
  display: inline-block;
  width: 20%;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;

} */

.cardTitle {
  display: inline-block;
  width: 80%;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
  direction: rtl;

}

#open-menu-btn {
  width: 60px;
}

.switch-lang-mobile {
  display: none;
}

.switch-lang-desktop {
  display: block;
}


.lang-switcher-dashboard {
  width: 50px;
  height: 50px;
  border-radius: 30px;
  background: #fff;
  color: var(--bg-primary);
  border: 1px solid var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-size: 20px;
  cursor: pointer;
  position: fixed;
  bottom: 90px;
  right: 26px
}

.card-image {
  border-radius: inherit;
  object-fit: cover;
  min-width: 347px;
  height: var(--cards-min-height);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.dashboard-container .card-image {
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;

}

.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.flex-row .input-container {
  min-width: 350px;
  width: 45%;
  margin: 0 10px;

}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-col-center {

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.active {
  color: var(--bg-secondary) !important
}


.nav__menu li a {
  cursor: pointer;
  border: 1px solid transparent;
}

.nav__menu li a.active {
  color: var(--bg-secondary);
  border-color: transparent;
  background-color: var(--bg-primary)
}

.window-scroll .active {
  color: var(--text-black) !important;
  background-color: var(--bg-secondary);
  border-radius: 20px;
  padding: 6px 12px;
}

.flex-col {
  display: flex !important;
  flex-direction: column;
}

.w-full {
  width: 100%;
}

.form-container {
  padding: 15px 25px;
  background: #f8f8f8;
  border-radius: 30px;
  background-color: #ffffff;
  border: 1px solid #eee;
}


.form-title {
  margin-bottom: 10px;
  font-size: 2rem;
}

.section-title {
  font-size: 40px;
  font-weight: bold;
}

.input-container {
  /* margin-bottom: 6px; */
  margin: 2px auto;
  min-width: 90%;
  direction: rtl;
}

.devider {
  width: 90%;
  height: 1px;
  background-color: #ccc;
  margin: 40px auto;
}

.devider-sm {
  width: 90%;
  height: 1px;
  background-color: #ccc;
  margin: 20px auto;
}

.error-message {
  margin: 2px auto;
  text-align: center;
  color: rgb(230, 66, 66)
}

.input {
  background-color: #f9f9f9;
  min-width: 300px;
  width: 100%;
  margin: 5px auto;
  border-radius: 40px;
  border: 1px solid #ccc;
  height: 50px;
  color: #222;
  font-size: 16px;
  padding: 15px;
}

.input-label {
  font-weight: 600;
  margin-left: 5px;
  margin-right: 10px;
  font-size: 20px;
  text-transform: capitalize;
}

.form-parent {
  z-index: 5;
}


.profile-input {
  height: 300px;
  border-radius: 150px;
  opacity: 0;
}

.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  cursor: pointer;
}

.border-all {
  border: 1px solid #ccc;
}

.border-bottom {
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.line-bottom {
  border-bottom: 1px solid #ccc;
}

.hero-title {
  font-size: 44px;
}

.hero-subtitle {
  margin: 5px auto;
  font-size: 30px;
  line-height: 1.4;
}


.text-center {
  text-align: center;
}


.text-success {
  color: #55ad1a;
}


.primary-btn-sm {
  width: 50px;
  height: 50px;
}

/* -------- Dashboard ------------------- */
.dashboard {
  background: #f9f9f9;
  color: #222
}

.flex-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.page-cover {
  background-size: contain;
  background-position: center;
  background-origin: content-box;
  width: 100%;
  height: 200px;
  border: 1px solid #ddd;
  border-radius: 40px;
}

.page-image {
  background-size: cover;
  background-position: center;
  width: 200px;
  height: 200px;
  border: 1px solid #ddd;
  border-radius: 100px;
  margin: 0 auto;
}

.-mt-100 {
  margin-top: -100px;
}


/* -------- Dashboard ------------------- */

.w-100 {
  width: 100%;
}


button:hover {
  transform: scale(1.01);
}


.top-10-right-10 {
  top: 10px;
  right: 10px;
  position: absolute !important;
}

.zoom-tag {
  direction: ltr;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #2d8cff;
  padding: 5px 10px;
  border: 1px solid #fff;
  text-align: center;
  color: #fff;
  border-radius: 20px;
  position: relative;

  font-weight: bold;
}

.tag-icon {
  width: 24px;
  height: 24px;
  margin: 0 5px;
}

.Vue-Toastification__toast--success.notification {
  margin-top: 50px;
  text-transform: capitalize;
  /* background-color: var(--bg-primary-light) !important;
  border: 1px solid #fff; */
}



.static-pages-container {
  min-height: 80vh;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  justify-self: flex-start;
  position: relative;
  z-index: 1;
}

.static-page-image {
  width: 40%;
  height: 70%;
  left: 30%;
  top: 15%;
  opacity: 0.3;
  position: fixed;
}




/* ------------- Custom Styles ----------------------------- */





body {
  font-family: 'Cairo', sans-serif;
  line-height: 1.7;
  color: var(--bg-primary);
  background: var(--bg-white);
}

.container {
  width: var(--container-width-lg);
  margin: 0 auto;
}

section {
  padding: 6rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 4rem;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 1.2;
  text-transform: capitalize;
}

h1 {
  font-size: 2.6rem !important;
}

h2 {
  font-size: 2rem !important;
}

h3 {
  font-size: 1.6rem !important;
}

h4 {
  font-size: 1.3rem !important;
}

p {
  color: var(--text-black);
}

a {
  color: var(--bg-primary);
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

.landing-content-container {
  background-color: #f9f9f9;
}

.landing-page-navbar,
.dashboard-navbar {
  margin: 2rem;
  width: calc(100vw - 4rem);
  border-radius: 20px;
  border: 1px solid inherit !important;
}

.btn {
  display: inline-block;
  background: var(--bg-primary);
  color: var(--text-white);
  padding: 1rem 2rem;
  border: 1px solid transparent;
  font-weight: 500;
  transition: var(--transition);
  border-radius: 40px;
  min-width: 150px;
  text-align: center;
  text-transform: capitalize;

}


.btn:hover {
  background: transparent;
  color: var(--bg-primary);
  border-color: var(--bg-primary);
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;

}

.btn-primary {
  background: var(--bg-primary) !important;
  color: var(--text-white);
  font-size: 18px;

  border: 1px solid var(--text-white);
}

.btn-secondary {
  background: var(--bg-secondary) !important;
  color: var(--text-black);
  border: 1px solid var(--bg-secondary);
  cursor: pointer;
  font-size: 18px;
}

.btn-secondary:hover {
  color: var(--text-black);
  background: var(--bg-secondary);
  border: 1px solid var(--text-black);
}

.btn-navbar {
  background: var(--bg-secondary);
  color: var(--text-black);
  border: 1px solid var(--bg-secondary);
  cursor: pointer;
  font-size: 16px;
  padding: 6px;
  margin: 0 2px;
}

.btn-navbar:hover {
  color: var(--text-black);
  background: var(--bg-secondary);
  border: 1px solid var(--text-black);
}


.navbar-icon {
  /* font-size: 18px; */
  margin: 0 5px;
}

.user-dropdown-parent {
  position: relative;

}

.user-dropdown {
  background: #fff;
  padding: 10px 20px;
  top: 50px;
  right: -20px;
  position: absolute;
  width: 200px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #ddd;
}


.user-dropdown li {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.user-dropdown li:hover {
  color: var(--bg-primary)
}


.dropdown-item {
  height: 40px !important;
}

.pointer {
  cursor: pointer !important;
}

.subjects-dropdown-parent {
  position: relative;
  z-index: 2;

}

.subjects-dropdown {
  background: #fff;
  padding: 10px 20px;
  top: 50px;
  right: -20px;
  position: absolute;
  width: 200px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #ddd;
}

.subjects-dropdown li {
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  color: #222;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.subjects-dropdown li:hover {
  color: var(--bg-primary)
}

.form-btn {
  background: var(--bg-secondary) !important;
  color: var(--text-black);
  border: 1px solid var(--bg-secondary);
  cursor: pointer;
  font-size: 24px;
  padding: 10px 30px;
}


.form-btn:hover {
  color: var(--text-black);
  background: var(--bg-secondary);
  border: 1px solid var(--text-black);
}


.subjects-btn {

  display: inline-block;
  background: var(--bg-primary);
  color: var(--text-white);
  padding: 1rem 2rem;
  border: 1px solid transparent;
  font-weight: 500;
  transition: var(--transition);
  border-radius: 40px;

  font-size: 18px;
  margin: 40px auto;
  width: 200px;



}

.subjects-btn:hover {
  cursor: pointer;
  background: var(--text-white);
  color: var(--bg-primary);
  border-color: var(--bg-primary);

}

.btn-primary:hover {
  color: var(--bg-primary);
  background: var(--text-white) !important;
}

/* =================== NAVBAR ===================== */
nav {
  background: var(--bg-primary);
  width: 100vw;
  height: 5rem;
  /* position: fixed; */
  top: 0;
  z-index: 11;
  width: 100%;
}

nav a {
  color: var(--text-white)
}

nav.window-scroll a {
  color: var(--bg-primary)
}

/* change navbar styles on scroll using javascript */
.window-scroll {
  background: var(--color-primary);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
  color: var(--text-white);
}

.nav__container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav button {
  display: none;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4rem;

}

.window-scroll .nav__menu a {
  color: var(--bg-primary)
}

.window-scroll .nav__menu a:hover {
  color: var(--bg-primary);
}

.nav__menu a {
  font-size: 0.9rem;
  transition: var(--transition);
  color: var(--text-white);
  font-weight: bold;
  text-transform: capitalize;
}

.nav__menu a:hover {
  color: var(--color-bg2);
}

/* =================== HEADER ===================== */

header {
  position: relative;
  top: 0rem;
  overflow: hidden;
  height: 90vh;
  margin-bottom: 5rem;
  color: var(--text-white);
}

.static-pages-header {
  /* background-color: var(--bg-primary); */
  position: relative;
  top: 0rem;
  overflow: hidden;
  height: auto !important;
  color: #222;
  box-shadow: none;
  margin: 0 2rem 2rem 2rem;
  width: calc(100vw - 4rem);
  border-radius: 30px;
}

.static-pages-header h1.static-page-title {
  font-size: 40px !important;
  font-weight: bold;
}

.static-pages-header h2,
.static-pages-header p {
  color: #222 !important;
}

.header__container {
  /* display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.header__left {
  width: 50%;
  min-width: 500px;
}

.header__left h1 {
  font-weight: 900;
}

.header__left p {
  margin: 1rem 0 2.4rem;
  color: var(--text-white);
}

/* =================== subjects ===================== */
.subjects {
  /* background-color: var(--color-bg2); */
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='0' y1='1' y2='0'%3E%3Cstop offset='0' stop-color='%230FF'/%3E%3Cstop offset='1' stop-color='%23CF6'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%23F00'/%3E%3Cstop offset='1' stop-color='%23FC0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='%23FFF' fill-opacity='0' stroke-miterlimit='10'%3E%3Cg stroke='url(%23a)' stroke-width='2'%3E%3Cpath transform='translate(0 0)' d='M1409 581 1450.35 511 1490 581z'/%3E%3Ccircle stroke-width='4' transform='rotate(0 800 450)' cx='500' cy='100' r='40'/%3E%3Cpath transform='translate(0 0)' d='M400.86 735.5h-83.73c0-23.12 18.74-41.87 41.87-41.87S400.86 712.38 400.86 735.5z'/%3E%3C/g%3E%3Cg stroke='url(%23b)' stroke-width='4'%3E%3Cpath transform='translate(0 0)' d='M149.8 345.2 118.4 389.8 149.8 434.4 181.2 389.8z'/%3E%3Crect stroke-width='8' transform='rotate(0 1089 759)' x='1039' y='709' width='100' height='100'/%3E%3Cpath transform='rotate(0 1400 132)' d='M1426.8 132.4 1405.7 168.8 1363.7 168.8 1342.7 132.4 1363.7 96 1405.7 96z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); */

  background-blend-mode: normal;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 52rem;
}

.subjects h1 {
  line-height: 1;
  margin-bottom: 1rem;
}

.subjects__container {
  /* display: grid;
  grid-template-columns: 40% 60%; */
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.subjects__left {

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.subjects__left p {
  margin: 1rem 0 3rem;
}

.subjects__right {
  /* display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem; */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.landing-classroom-title {
  margin: 60px auto;
  color: #222;
  font-weight: bold;
}

/* ------------- Subject Card ----------------- */
.subject-card {


  width: var(--cards-width);
  min-height: var(--cards-min-height);
  height: var(--cards-min-height);

  background-color: #fff;
  border-radius: 30px;
  border: 1px solid #ccc;
  margin: 5px 20px 50px 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  transition: all 0.3s ease-in-out;
  background-size: cover;
  background-repeat: no-repeat;
}


.subject-card.not-passed {
  background-color: #ccc;
}

.subject-card.not-passed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.8);
  height: var(--cards-min-height);
  width: var(--cards-width);
}



.subject-card.not-passed img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.8);
}

.subject-card.not-active {
  background-color: #ccc;
}

.subject-card.not-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.8);
  height: var(--cards-min-height);
  width: var(--cards-width);
}

.subject-card.not-active img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.8);
}

.subject-card:hover {
  border-color: var(--bg-primary-light);
  cursor: pointer;
  transform: scale(1.02);
}

.subject-card:hover .subject-title {
  color: var(--bg-primary-light);
  background-color: #fff;
  border: 1px solid var(--bg-primary-light);
}

.subject-card.selected {
  background: var(--bg-primary-light);
  cursor: pointer;
}

.subject-card.selected * {
  color: #fff;

  /* background: var(--bg-primary-light); */
}

.subject-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 5px 20px;
  width: 80%;
  background-color: var(--bg-primary-light);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 45px;
  border-radius: 45px;
  margin-bottom: 20px;
  position: absolute;
  bottom: -45px;
}

.price-container {
  position: absolute;
  margin-top: 20px;
  width: 90%;
  /* margin-bottom: 20px; */
  bottom: 20px;
  padding: 10px;
  text-align: center;
  background-color: var(--bg-primary-light);
  border-radius: 30px;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
}

.subject-card.selected .price-container {
  color: var(--bg-primary-light);
  background: #fff;
}

.subject-section {
  width: 100%;
  /* border-bottom: 1px solid #ccc; */
  flex-grow: 1;
  margin-top: 20px;
}

.subject-name {
  /* background: #f9f9f9; */
  text-align: center;
  padding: 10px 20px;
  /* border-top: 1px solid #ccc; */
  width: 100%;
  display: block;
}

.subject-name:nth-child(odd) {
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
}

.subject-name:nth-child(even) {
  border-bottom: 1px solid #ccc;
}


/* WHATSAPP */
/* for desktop */
.whatsapp_float:hover {
  border: 2px solid #fff;

}

.whatsapp_float {
  border: 2px solid transparent;
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp-icon {
  margin-top: 16px;
}

/* for mobile */
@media screen and (max-width: 767px) {
  .whatsapp-icon {
    margin-top: 10px;
  }

  .whatsapp_float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 20px;
    font-size: 22px;
  }
}

/* WHATSAPP */

/* ------------- Subject Card ----------------- */
.subject {
  background: var(--bg-white);
  text-align: center;
  border: 1px solid #ccc;
  transition: var(--transition);
  border-radius: 20px;
  width: 330px;
  /* width: var(--cards-min-width); */
  position: relative;
  margin: 30px;
  height: 250px;
  /* min-width: 347px; */
}

.subject img {
  height: var(--cards-min-height);
}

.subject .overlay {
  border-radius: inherit;
  z-index: 0;
  opacity: 0;
  display: flex;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.subject:hover {

  box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.subject:hover .overlay {
  opacity: 1;
}

.subject:nth-child(2) .subject__icon {
  background: var(--color-danger);
}

.subject:nth-child(3) .subject__icon {
  background: var(--color-success);
}

.subject:nth-child(4) .subject__icon {
  background: var(--color-warning);
}

.subject:nth-child(5) .subject__icon {
  background: var(--color-success);
}

.subject__icon {
  background: var(--color-primary);
  padding: 0.7rem;
  border-radius: 0.9rem;
}

.subject h5 {
  margin: 8px 0;
  color: var(--text-black);
  font-size: 20px;
}

.subject p {
  font-size: 0.85rem;
}

/* =================== POPULAR COURSES ===================== */
.courses {
  margin: 1rem auto;
}

.courses h2 {
  color: var(--text-white);
}

.courses__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.course {
  background: var(--color-bg1);
  text-align: center;
  border: 1px solid transparent;
  transition: var(--transition);
  border-radius: 20px;
}

.course:hover {
  background: #f9f9f9;
  border-color: var(--color-primary);
  cursor: pointer;
}

.course__info {
  padding: 2rem;
}

.course__info p {
  margin: 1.2rem 0 2rem;
  font-size: 0.9rem;
}

.empty-hint {
  margin: 40px auto;
  color: #555;
  font-size: 30px;
  text-align: center;
}

.breadcrumb-parent>div>p:last-child>span.text {
  background: var(--bg-primary);
  color: #fff;
  border: 1px solid transparent;
}



/* =================== Features ===================== */

.features {
  background-image: url(/images/vector2.jpg);
  background-blend-mode: overlay;
  background-size: cover;
  background-repeat: no-repeat;



  background-color: var(--bg-primary);
  margin: 0 2rem 0 2rem;
  width: calc(100vw - 4rem);
  border-radius: 30px;
  color: #222;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}


.features h2 {
  color: var(--text-white);
}

.features__container {
  /* display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem; */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.feature {
  background: var(--bg-white);
  text-align: center;
  border: 1px solid transparent;
  transition: var(--transition);
  border-radius: 20px;
  width: 250px;
  min-width: 250px;
  min-height: 90px;
  margin: 30px;
}

.feature:hover {
  background: #f9f9f9;
  border-color: var(--color-primary);
  /* cursor: pointer; */
}

.feature__info {
  padding: 2rem;
}

.feature__info p {
  margin: 1.2rem 0 2rem;
  font-size: 0.9rem;
}


.feature__image {
  width: 250px;
  ;
}

/* =================== FAQs ===================== */
.faqs {
  /* background: var(--color-bg2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='0' y1='1' y2='0'%3E%3Cstop offset='0' stop-color='%230FF'/%3E%3Cstop offset='1' stop-color='%23CF6'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%23F00'/%3E%3Cstop offset='1' stop-color='%23FC0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='%23FFF' fill-opacity='0' stroke-miterlimit='10'%3E%3Cg stroke='url(%23a)' stroke-width='2'%3E%3Cpath transform='translate(0 0)' d='M1409 581 1450.35 511 1490 581z'/%3E%3Ccircle stroke-width='4' transform='rotate(0 800 450)' cx='500' cy='100' r='40'/%3E%3Cpath transform='translate(0 0)' d='M400.86 735.5h-83.73c0-23.12 18.74-41.87 41.87-41.87S400.86 712.38 400.86 735.5z'/%3E%3C/g%3E%3Cg stroke='url(%23b)' stroke-width='4'%3E%3Cpath transform='translate(0 0)' d='M149.8 345.2 118.4 389.8 149.8 434.4 181.2 389.8z'/%3E%3Crect stroke-width='8' transform='rotate(0 1089 759)' x='1039' y='709' width='100' height='100'/%3E%3Cpath transform='rotate(0 1400 132)' d='M1426.8 132.4 1405.7 168.8 1363.7 168.8 1342.7 132.4 1363.7 96 1405.7 96z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); */

}

.faqs__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.faq {
  border-radius: 30px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  height: fit-content;
  background: #fefefe;
  cursor: pointer;
  border: 1px solid #ddd;
}

.faq h4 {
  font-size: 1rem;
  line-height: 2.2;
  color: #111;
}

.faq__icon {
  align-self: flex-start;
  font-size: 1.2rem;
}

.faq p {
  margin-top: 0.8rem;
  display: none;
}

.faq.open p {
  display: block;
}

/* =================== TESTIMONIALS ===================== */
.testimonials__container {
  overflow-x: hidden;
  position: relative;
  margin-bottom: 5rem;
}


.testimonials__container h2 {
  color: var(--text-white);
}



.testimonial {
  padding-top: 2rem;
}

.avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 1rem solid var(--color-bg1);
}

.testimonial__info {
  text-align: center;
  color: var(--text-white);
}

.testimonial__body {
  background: var(--color-primary);
  padding: 2rem;
  margin-top: 3rem;
  position: relative;
}

.testimonial__body::before {
  content: "";
  display: block;
  background: linear-gradient(135deg,
      transparent,
      var(--color-primary),
      var(--color-primary),
      var(--color-primary));
  width: 3rem;
  height: 3rem;
  position: absolute;
  left: 50%;
  top: -1.5rem;
  transform: rotate(45deg);
}

/* =================== FOOTER ===================== */
footer {
  background: var(--bg-primary);
  padding-top: 5rem;
  font-size: 0.9rem;
  color: var(--text-white);
}

footer p,
footer h4,
footer a {
  color: var(--text-white);
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5rem;
}

.footer__container>div h4 {
  margin-bottom: 1.2rem;
}

.footer__1 p {
  margin: 0 0 2rem;
}

footer ul li {
  margin-bottom: 0.7rem;
}

footer ul li a:hover {
  text-decoration: underline;
}

.footer__socials {
  display: flex;
  gap: 1rem;
  font-size: 1.2rem;
  margin-top: 2rem;
}

.footer__copyright {
  text-align: center;
  margin-top: 4rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--color-bg2);
}

/* ===================== MEDIA QUERIES (TABLETS) ==================== */
@media screen and (min-width: 1280px) {
  .container {

    width: var(--container-width-md) !important;
  }
}

@media screen and (max-width: 1024px) {
  .nav__menu li a.active {
    border-color: var(--bg-secondary);
  }

  .page-cover {
    display: none;
  }

  .page-container .page-image {
    margin-top: 0 !important;
  }

  li a {
    border-radius: 20px;
    border-radius: 20px;
    margin-top: 7px;
  }

  .switch-lang-mobile {
    display: block;
  }

  .switch-lang-desktop {
    display: none;
  }

  .hide-navbar {
    display: block
  }

  .container {
    width: var(--container-width-md) !important;
    margin: 0 auto;
  }

  h1 {
    /* font-size: 2.2rem; */
    font-size: 50px;

  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  h4 {
    font-size: 1.2rem;
  }

  /* ====================== NAVBAR ===================== */
  nav button {
    display: inline-block;
    background: transparent;
    font-size: 1.8rem;
    color: var(--bg-primary);
    cursor: pointer;
  }

  nav button#close-menu-btn {
    display: none;
  }

  .nav__menu.dashoard-menu {
    position: absolute;
    top: 5rem;
    right: 0;
    height: fit-content;
    width: 100%;
    flex-direction: column;
    gap: 0;
    display: none;
  }


  .nav__menu {
    position: absolute;
    top: 5rem;
    right: 5%;
    height: fit-content;
    width: 18rem;
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .nav__menu li {
    width: 100%;
    /* height: 5.8rem; */
    /* animation: animateNavItems 400ms linear forwards; */
    transform-origin: top right;
    opacity: 0;
  }

  /* .nav__menu li:nth-child(2) {
    animation-delay: 200ms;
  }

  .nav__menu li:nth-child(3) {
    animation-delay: 400ms;
  } */

  /* .nav__menu li:nth-child(4) {
    animation-delay: 600ms;
  } */

  @keyframes animateNavItems {
    0% {
      transform: 0;
    }

    100% {
      transform: 0;
      opacity: 1;
    }
  }

  .nav__menu li a {
    background: #fff;
    box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--bg-primary);
    min-height: 95px;
  }

  .nav__menu li a:hover {
    /* background: var(--color-bg2); */
    color: var(--bg-primary);
  }

  /* ====================== HEADER ===================== */
  header {
    min-height: 95vh;
    margin-bottom: 4rem;
  }

  .header__container {
    gap: 0;
    padding-bottom: 3rem;
    margin: 0 auto;
  }

  .header__left {
    text-align: center;
    margin-top: 50px;
  }

  /* ====================== subjects ===================== */
  .subjects {
    height: auto;
  }

  .subjects__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .subjects__left {
    margin-right: 0;
  }



  /* ====================== FEATURES ===================== */
  .features {
    margin-top: 0;
  }

  .features__container {
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
  }


  /* ====================== POPULAR COURSES ===================== */
  .courses {
    margin-top: 0;
  }

  .courses__container {
    grid-template-columns: 1fr;
  }

  /* ====================== FAQs ===================== */
  .faqs__container {
    grid-template-columns: 1fr;
  }

  .faq {
    padding: 1.5rem;
  }

  /* ====================== FOOTER ===================== */
  .footer__container {
    grid-template-columns: 1fr;
  }


  /*---------- Custom ------------ */


  .user-dropdown {
    background: #f9f9f9;
    position: relative;
    top: 0;
    width: 90%;
    margin: 0 auto;
    left: 0;
  }

  .subjects-dropdown {
    background: #f9f9f9;
    position: relative;
    top: 0;
    width: 90%;
    margin: 0 auto;
    left: 0;

  }

  .btn-navbar {
    margin: 30px auto;
  }


  /*  -------- Custom ------------ */
}

/* ======================== MEDIA QUERIES (PHONES) ======================= */
@media screen and (max-width: 500px) {


  .hero-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .header__container {
    margin: 0 auto;
  }

  .header__left {
    width: unset;
    min-width: unset;
  }

  /*  buttons */
  .header__left a {
    margin: 10px auto;
    ;
  }

  .subjects__right {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .dashboard-container .page-container {
    padding: 10px
  }

  .input {
    min-width: 100%;
  }

  .profile-image {
    height: 250px;
    width: 250px;
  }


}


@media screen and (max-width: 600px) {

  .subject-card {
    margin: 5px auto 50px auto;
  }

  .container {
    width: var(--container-width-sm);

  }


  /* ====================== NAVBAR ===================== */
  .nav__menu {
    right: 3%;
  }

  /* ====================== HEADER ===================== */
  header {
    min-height: 100vh;
  }

  .header__container {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: 0;
    flex-direction: column-reverse;
  }

  .header__left a {
    min-width: 185px;
  }

  .header__left p {
    margin-bottom: 1.3rem;
  }

  /* ====================== subjects ===================== */
  .subjects__right {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .subject {
    /* padding: 1rem; */
    /* border-radius: 1rem; */
  }

  .subject__icon {
    margin-top: 4px;
    display: inline-block;
  }

  /* ====================== POPULAR COURSES ===================== */
  .courses__container {
    grid-template-columns: 1fr;
  }

  /* ====================== Featres ===================== */
  .features__container {
    grid-template-columns: 1fr;
  }

  /* ====================== TESTIMONIALS ===================== */
  .testimonial__body {
    padding: 1.2rem;
  }

  /* ====================== FOOTER ===================== */
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer__1 p {
    margin: 1rem auto;
  }

  .footer__socials {
    justify-content: center;
  }
}


@media screen and (max-width: 800px) {
  .flex-row .input-container {
    width: 100%;
  }
}