@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

@font-face {
  font-family: "saudi_riyal";
  src: url("../fonts/regular/saudi_riyal.woff2") format("woff2"), url("../fonts/regular/saudi_riyal.woff") format("woff"), url("../fonts/regular/saudi_riyal.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --red: #DB0E13;
  --orange: #F8522C;
  --text: #2A353F;
  --blue: #16498B;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(22, 73, 139, 0.2);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.swiper-slide {
  height: auto !important;
}

.swiper-wrapper {
  display: flex !important;
}

a {
  text-decoration: none !important;
  transition: 0.3s;
}

.text-white {
  color: #fff;
}

.text-red {
  color: var(--red);
}

.text-orange {
  color: var(--orange);
}

.text-blue {
  color: var(--blue);
}

.text-color {
  color: var(--text);
}

.bg-red {
  background: var(--red);
}

.bg-orange {
  background: var(--orange);
}

.bg-blue {
  background: var(--blue);
}

.fz14 {
  font-size: 14px !important;
}

.fz16 {
  font-size: 16px !important;

  @media screen and (max-width:768px) {
    font-size: 14px !important;
  }
}

.fz18 {
  font-size: 18px !important;

  @media screen and (max-width:768px) {
    font-size: 16px !important;
  }
}

.fz20 {
  font-size: 20px !important;

  @media screen and (max-width:768px) {
    font-size: 18px !important;
  }
}

.fz24 {
  font-size: 24px !important;

  @media screen and (max-width:768px) {
    font-size: 20px !important;
  }
}

.fz36 {
  font-size: 36px !important;

  @media screen and (max-width:768px) {
    font-size: 32px !important;
  }
}

.fz40 {
  font-size: 40px !important;

  @media screen and (max-width:768px) {
    font-size: 24px !important;
  }
}

.fz48 {
  font-size: 48px !important;

  @media screen and (max-width:768px) {
    font-size: 35px !important;
  }
}

.fw400 {
  font-weight: 400;
}

.fw500 {
  font-weight: 500;
}

.fw700 {
  font-weight: 700;
}

/* Ensure the icon class correctly loads the Riyal symbol */
.icon-saudi_riyal {
  font-weight: normal;
  font-style: normal;
}

.icon-saudi_riyal::before {
  content: "\e900";
  font-family: "saudi_riyal" !important;
  font-size: inherit;
  color: inherit;
}

.icon-saudi_riyal_new::after {
  content: "âƒ";
  font-family: "saudi_riyal" !important;
  font-size: inherit;
  color: inherit;
}



::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--blue);
}

::-webkit-scrollbar-thumb {
  background: var(--orange);
}


/* End Global Layout Classes */
::-moz-selection {
  background: var(--blue);
  color: white;
}

::selection {
  background: var(--blue);
  color: white;
}

/* Global Form Elements */
.form-control,
.form-select {
  padding: 12px 15px;
  border-radius: 20px;
  border: 1px solid rgba(0, 11, 32, 0.2);
  background-color: #fff;
  color: #000;
  transition: 0.3s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.04);
}

.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}

.custom-checkbox input[type=checkbox] {
  display: none;
}

.custom-checkbox .checkmark {
  width: 20px;
  height: 20px;
  border: 1px solid #ddd;
  border-radius: 50%;
  /* Circular checkbox as per image */
  position: relative;
  flex-shrink: 0;
}

.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 12px;
  height: 12px;
  background-color: var(--red);
  border-radius: 50%;
  transition: 0.2s;
}

.custom-checkbox input[type=checkbox]:checked+.checkmark {
  border-color: var(--red);
}

.custom-checkbox input[type=checkbox]:checked+.checkmark::after {
  transform: translate(-50%, -50%) scale(1);
}

.custom-checkbox .text {
  font-size: 14px;
  color: #777;
}






.custom-checkbox .text a {
  color: var(--red);
}

.custom-radio {
  cursor: pointer;
}

.custom-radio input[type=radio] {
  display: none;
}

.custom-radio .check-circle {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 50%;
  position: relative;
  transition: 0.3s;
  flex-shrink: 0;
  display: inline-block;
}

.custom-radio .check-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  background-color: #A3D55F;
  border-radius: 50%;
  transition: 0.3s;
}

.custom-radio:has(input[type=radio]:checked) .check-circle {
  border-color: #A3D55F;
}

.custom-radio:has(input[type=radio]:checked) .check-circle::after {
  transform: translate(-50%, -50%) scale(1);
}





body {
  font-family: "Tajawal", sans-serif;
  background: #FAFAFA;
  position: relative;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1152px;
  }
}

a {
  text-decoration: none;
  transition: 0.3s;
}

.bg-none {
  background-image: none !important;
  background: none !important;
}

.mb-100 {
  margin-bottom: 100px;
}

.pt-64 {
  padding-top: 64px;
}

@media only screen and (max-width: 600px) {
  .pt-64 {
    padding-top: 40px;
  }
}

.pb-64 {
  padding-bottom: 64px;
}

@media only screen and (max-width: 600px) {
  .pb-64 {
    padding-bottom: 40px;
  }
}

.py-64 {
  padding-block: 64px;
}

@media only screen and (max-width: 600px) {
  .py-64 {
    padding-block: 40px;
  }
}




.btn {
  border-radius: 10px;
  transition: 0.3s;
  padding: 8px 25px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  transition: 0.3s;
  font-size: 20px;
  font-weight: 500;
}

.btn i {
  font-size: 16px;
}

@media only screen and (max-width: 600px) {
  .btn {
    font-size: 15px;
    padding: 9px 11px;
    font-size: 14px;
    flex-shrink: 0;
  }
}

.btn-orange {
  background: var(--orange);
  color: #fff;

  &:hover {
    background: var(--blue);
    color: #fff;
  }
}

.btn-orange-outlined {
  box-shadow: 0 0 0 1px var(--orange);
  color: var(--orange);

  &:hover {
    background: var(--orange);
    color: #fff;
  }
}

.btn-blue {
  background: var(--blue);
  color: #fff;

  &:hover {
    background: var(--orange);
    color: #fff;
  }
}

.btn-blue-outlined {
  box-shadow: 0 0 0 1px var(--blue);
  color: var(--blue);

  &:hover,
  &:focus,
  &:active,
  &:not(.collapsed) {
    background: var(--blue) !important;
    color: #fff !important;
  }
}

.btn-transparent {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(4.9px);
  -webkit-backdrop-filter: blur(4.9px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
  padding-inline: 15px;
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05), inset 0 -0.125em 0.125em rgb(255 255 255 / 0%);
  font-size: 18px;

  &:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.68);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
  }

}

header {
  position: absolute;
  top: 0;
  inset-inline: 0;
  transition: 0.3s;
  z-index: 20;
  padding-block: 20px;
}



header .header-main-content {
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo-img img {
  max-height: 47px;
  transition: 0.3s;
}

@media only screen and (max-width: 1024px) {
  header .logo-img img {
    max-height: 42px;
  }
}

.search-form-wrapper {
  background-color: #f3f3f3;
  border-radius: 30px;
  padding-block: 0 0;
  padding-inline-start: 25px;
  padding-inline-end: 15px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  transition: 0.3s;
}

.search-form-wrapper:focus-within {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.438);
}

.search-form-wrapper .search-form {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.search-form-wrapper .search-form .search-btn {
  border: none !important;
  color: #120F0D;
  font-size: 20px;
  transition: 0.3s;
  padding-top: 8px;
}

.search-form-wrapper .search-form .search-btn:hover {
  color: #002F87;
}

.search-form-wrapper .search-form .form-control {
  padding-block: 10px;
  width: 100%;
  background-color: transparent;
  border: none;
  color: #120F0D;
  font-size: 18px;
  box-shadow: none;
}

.search-form-wrapper .search-form .form-control::-moz-placeholder {
  color: #120F0D;
  font-size: 14px;
  opacity: 0.5;
}

.search-form-wrapper .search-form .form-control::placeholder {
  color: #120F0D;
  font-size: 14px;
  opacity: 0.5;
}

.search-form-wrapper.active {
  opacity: 1;
  visibility: visible;
  transition: 0.3s;
  max-height: 100px;
  margin-top: 5px;
}

.header-main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-menu {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.main-menu a {
  text-transform: capitalize;
  transition: 0.3s;
}

.main-menu>li {
  margin-inline-end: 50px;
  position: relative;
}

.main-menu>li>a {
  color: var(--text);
  font-size: 18px;
  transition: 0.3s;
  display: block;
  position: relative;
}

@media only screen and (max-width: 1024px) {
  .main-menu>li>a {
    font-size: 16px;
  }
}

.main-menu>li:hover>a {
  color: var(--blue);
}

.main-menu>li:hover>a:before {
  width: 100%;
  transition: 0.3s;
  opacity: 1;
}

.main-menu>li:last-of-type {
  margin: 0;
}

.show-submenu,
.show-overlay {
  opacity: 1;
  visibility: visible;
}

.main-menu .menu-item-has-children {
  position: relative;
  padding: 0;
}

.main-menu .menu-item-has-children>a {
  /* color: #fff; */
  -moz-column-gap: 5px;
  column-gap: 5px;
  display: flex;
  align-items: baseline;
}

.main-menu .menu-item-has-children>a::after {
  content: "\f078";
  position: relative;
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  font-size: 10px;
  /* color: #fff; */
  transition: 0.3s;
}

.main-menu .menu-item-has-children>a {
  position: relative;
}

.main-menu .menu-item-has-children:hover>a {
  color: var(--blue);
}

.main-menu .menu-item-has-children:hover>a::after {
  color: var(--blue);
}

.main-menu .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  top: 100%;
  pointer-events: auto;
}

.main-menu .menu-item-has-children .sub-menu {
  width: 230px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform-origin: center top;
  transform-style: preserve-3d;
  border-radius: 8px;
  z-index: 12;
  background-color: #fff;
  position: absolute;
  top: 80px;
  inset-inline-start: -22px;
  list-style: none;
  box-shadow: 0px 2px 13px 9px rgba(0, 0, 0, 0.02);
  padding: 12px;
  transition: 0.3s;
}

.main-menu .menu-item-has-children .sub-menu li {
  text-align: center;
  transition: 0.3s;
}

.main-menu .menu-item-has-children .sub-menu a {
  padding: 10px;
  align-items: center;
  border-radius: 4px;
  line-height: 1.5;
  color: var(--text);
  text-align: center;
  justify-content: flex-start;
  font-weight: 400;
  display: flex;
  width: 100%;
  -moz-column-gap: 10px;
  column-gap: 10px;
  transition: color linear 0.2s;
}

.main-menu .menu-item-has-children .sub-menu a:hover {
  color: var(--blue);
}

.bars {
  z-index: 21;
  display: none;
  flex-direction: column;
  align-items: center;
  row-gap: 6px;
  background: none;
  border: 0;
}

.bars .line {
  flex-shrink: 0;
  width: 25px;
  display: block;
  height: 1.5px;
  background-color: var(--text);
  transition: 0.3s;
}

body.overflow-hidden {
  .bars .line {
    background-color: white;

  }
}

.rotate-line1 {
  transform: rotate(45deg) translateX(-2px) translateY(-2px);
  transform-origin: 0% 0%;
}

.rotate-line3 {
  transform: rotate(-45deg) translateX(0px) translateY(0px);
  transform-origin: 0 100%;
}

.bars .hide-line2 {
  transform: translateX(-30px);
  opacity: 0;
  visibility: hidden;
}

.header-icons {
  display: flex;
  align-items: center;
  -moz-column-gap: 16px;
  column-gap: 16px;
}

.header-icons .header-icon,
.header-icons a {
  font-size: 20px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s;
}

.header-icons .header-icon:hover,
.header-icons a:not(.btn):hover {
  color: var(--blue);
}

.search-icon.active i:before {
  content: "\e59b";
  font-family: "Font Awesome 6 Pro";
}

.dropdown-parent {
  position: relative;
  display: inline-block;
}

.dropdown-parent .dropdown-list {
  width: 230px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform-origin: center top;
  transform-style: preserve-3d;
  border-radius: 8px;
  z-index: 12;
  background-color: #F8F4EC;
  position: absolute;
  top: 80px;
  inset-inline-end: -22px;
  list-style: none;
  box-shadow: 0px 16px 35px 0px rgba(0, 0, 0, 0.1019607843);
  padding: 12px;
  transition: all 0.4s;
}

.dropdown-parent .dropdown-list li {
  text-align: center;
  transition: 0.3s;
}

.dropdown-parent .dropdown-list a {
  padding: 10px;
  align-items: center;
  font-size: 18px;
  color: var(--text);
  text-align: center;
  justify-content: flex-start;
  display: flex;
  width: 100%;
  -moz-column-gap: 10px;
  column-gap: 10px;
  transition: 0.3s;
}

.dropdown-parent .dropdown-list a:hover {
  color: var(--blue);
}

.dropdown-parent:hover .dropdown-list {
  opacity: 1;
  visibility: visible;
  top: 100%;
  pointer-events: auto;
}

@media only screen and (max-width: 1200px) {
  .menu-item-has-children .sub-menu {
    inset-inline-start: 0;
    transform: unset;
  }

  .main-menu>li {
    margin-inline-end: 25px;
  }
}

@media only screen and (max-width: 992px) {
  .navigation .main-menu>li>a {
    color: #fff;

    &:hover {
      color: var(--orange);
    }
  }

  .navigation .container {
    padding-inline: 12px;
  }

  .rotate-line3 {
    transform: -45deg translateX(-1px) translateY(0px);
  }

  .logo-img {
    margin-inline-end: auto;
  }

  .header-main-content {
    height: auto;
    justify-content: flex-end;
    -moz-column-gap: 25px;
    column-gap: 25px;
  }

  .main-menu {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 10px;
  }

  .main-menu>li {
    margin-inline-end: 0;
    margin-bottom: 25px;
  }

  .main-menu>li:nth-child(5) {
    margin-inline-start: unset;
  }

  .main-menu>li>a {
    font-size: 18px;
    font-weight: 500;
  }

  .main-menu>li:nth-child(4) {
    margin-inline-start: 0;
  }

  .bars {
    display: flex;
  }

  .navigation {
    overflow-y: auto;
    position: fixed;
    opacity: 0;
    transition-duration: 1s;
    visibility: hidden;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100vh;
    padding: 40px 20px;
    padding-top: 3rem;
    background-color: var(--blue);
    transition: 0.3s;
    z-index: 20;
    clip-path: circle(0.5% at 0 0);
  }

  .open-sidebar {
    opacity: 1;
    visibility: visible;
    clip-path: circle(140.9% at 0 0);
    transition: 0.3s;
  }

  .main-menu .menu-item-has-children>a::after {
    font-size: 14px;
    transition: 0.3s;
    color: white !important;
  }

  .main-menu .menu-item-has-children>a.icon-rotate::after {
    transform: rotate(180deg);
  }

  .main-menu .menu-item-has-children>a::after {
    font-size: 15px;
  }

  .main-menu .menu-item-has-children .sub-menu {
    position: static;
    background-color: unset;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: unset;
    padding: 0;
    display: none;
    transition: none;
    width: 100%;
    padding-top: 18px;
  }

  .main-menu .menu-item-has-children .sub-menu li {
    display: flex;
    align-items: center;
    -moz-column-gap: 10px;
    column-gap: 10px;
    padding-inline-start: 14px;
  }

  .main-menu .menu-item-has-children .sub-menu li:before {
    content: "\e404";
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    color: var(--orange);
    font-size: 14px;
    transition: 0.3s;
  }

  .main-menu .menu-item-has-children .sub-menu li:not(:last-of-type) {
    margin-bottom: 17px;
  }

  .main-menu .menu-item-has-children .sub-menu li {
    text-align: start;
  }

  .main-menu .menu-item-has-children:hover .sub-menu {
    transform: unset;
  }

  .main-menu .menu-item-has-children .sub-menu a {
    display: flex;
    padding: 0;
    gap: 8px;
    width: -moz-max-content;
    width: max-content;
    color: white;
  }

  .main-menu .menu-item-has-children {
    width: auto;
    padding: 0;
  }

  .main-menu .menu-item-has-children>a {
    justify-content: space-between;
    cursor: pointer;
  }

  .main-menu .menu-item-has-children {
    line-height: normal;
  }
}

@media only screen and (max-width: 768px) {
  .navigation .container {
    padding-inline: 20px;
  }

  .main-menu .menu-item-has-children .sub-menu li a:hover {
    background-color: transparent;
    color: var(--orange);
  }

  .main-menu .menu-item-has-children {
    padding: 0;
  }
}

/* Hero Banner */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;



  .hero-content {
    padding-block: 25% 12%;


    @media only screen and (max-width: 768px) {
      padding-block: 6rem 2rem;
    }
  }

  &.inner-hero {
    background-position: center bottom;

    .hero-content {
      padding-block: 8rem 2rem;
      text-align: center;

      .hero-title {

        color: var(--text);

        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
      }

    }
  }
}

.about-us-section {
  @media only screen and (max-width: 768px) {
    text-align: center;
  }
}

.section-title {
  font-weight: 700;
  font-size: 36px;
  color: var(--text);
  margin-bottom: 50px;
  padding-bottom: 15px;
  line-height: 1.2;
  position: relative;

  &.fancy {

    &:after {
      content: "";
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      width: 75px;
      height: 19px;
      background: url('../images/title-shape.png') no-repeat center center;
      background-size: contain;
    }

  }
}



@media only screen and (max-width: 768px) {
  .section-title {
    font-size: 25px;
  }
}

@media only screen and (max-width: 600px) {
  .section-title {
    font-size: 20px;
  }
}

.speciality-item {
  background-color: var(--blue);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  max-width: 270px;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;

  a {
    color: #fff;
  }

  .speciality-title {
    padding: 15px;
    margin-top: 15px;
  }

  &:hover {
    background-color: var(--text) !important;
  }
}

.teacher-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(23, 74, 140, 0.48) 100%);
  border: 1px solid var(--Color-4, rgba(23, 74, 140, 1));
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;

  .teacher-avatar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;

    .share-icon {
      position: relative;
      cursor: pointer;

      .share-options {
        position: absolute;
        top: -5px;
        inset-inline-end: 10px;
        background: #fff;
        border-radius: 10px;
        padding: 10px;
        display: flex;
        gap: 14px;
        z-index: 10;
        transition: 0.3s;
        opacity: 0;
        visibility: hidden;

        a {

          display: flex;
          align-items: center;
          justify-content: center;
          color: var(--blue);
          transition: 0.3s;

          i {
            font-size: 15px;
          }

          &:hover {
            color: var(--orange) !important;

            i {
              color: var(--orange) !important;

            }
          }
        }

        &.active {
          opacity: 1;
          visibility: visible;
          inset-inline-end: 30px;

        }
      }

      i {
        font-size: 24px;
        color: var(--blue);
        transition: 0.3s;
      }


    }

    img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 50%;
    }
  }



  .teacher-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .teacher-title {
    font-weight: 700;
    font-size: 20px;
    color: var(--text);
    margin-bottom: 16px;

    a {
      color: var(--text);
      transition: 0.3s;

      &:hover {
        color: var(--orange) !important;
      }
    }
  }

  .teacher-speciality {
    font-size: 16px;
    color: rgba(42, 53, 63, 0.64);
    font-weight: 500;
    margin-bottom: 16px;
  }

  .teacher-description {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 16px;
    padding-block: 8px;
    flex-grow: 1;
    border-top: 1px solid rgba(219, 14, 19, 0.32);
    border-bottom: 1px solid rgba(219, 14, 19, 0.32);
  }

  .teacher-rating {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .rating-count,
  .rating-avg {
    text-align: center;
    color: var(--text);

    strong {
      font-size: 24px;
      font-weight: 500;
      display: block;
    }

    span {
      font-size: 14px;
    }
  }

  .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
  }

  .add-to-fav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-content: center;

    i {
      color: var(--blue);
      font-size: 24px;
      transition: 0.3s;
    }

    &:hover,
    &.active {
      i {
        font-weight: 900;
      }
    }
  }

  &.wide-card {
    .wrapper {

      display: flex;
      gap: 24px;
    }

    .teacher-video {
      width: 238px;
      height: 166px;
      border-radius: 10px;
      overflow: hidden;
      position: relative;

      img {
        width: 100%;
        height: 100%;
        filter: brightness(0.5);
        object-fit: cover;
      }

      i {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 30px;
        border-radius: 50%;
        color: #fff;
        display: grid;
        place-content: center;
        transition: 0.3s;


        &:hover {

          color: var(--orange);

        }
      }
    }

    .teacher-avatar {
      img {
        width: 40px;
        height: 40px;
      }
    }

    @media only screen and (max-width: 600px) {
      .teacher-video {
        width: 100%;
      }

      .wrapper {
        flex-direction: column;
      }

      .card-footer {
        align-items: start;
      }

      .teacher-link-social {
        flex-direction: column;

      }
    }
  }
}

.teacher-social {
  display: flex;
  gap: 16px;

  a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-content: center;
    transition: 0.3s;

    i {
      color: var(--blue);
      font-size: 14px;
      transition: 0.3s;
    }

    &:hover {
      i {
        color: var(--orange);
      }
    }
  }

}

hr.red {
  background: var(--red);
  height: 0.5px;
  border: none;
  opacity: 0.2;
}

/* Booking Section Styles */
.duration-tabs {
  .duration-btn {
    flex: 1;
    background: #fff;
    border: 1px solid var(--orange);
    color: var(--orange);
    padding: 10px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;

    &.active {
      background: var(--orange);
      color: #fff;
    }

    &:hover:not(.active) {
      background: rgba(248, 82, 44, 0.05);
    }
  }
}

.pricing-card {
  background: #E9F0F8;
  border-radius: 10px;
  padding: 20px;

  .btn-orange {
    font-size: 20px;
    padding-block: 10px;
    border-radius: 12px;
  }

  .btn-package {
    width: calc(100% - 70px);
  }
}

.discount-badge {
  background: #F8918F;
  /* Matches scheduling-calendar day-header */
  color: #fff;
  padding: 1px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

.separator-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--red);
    opacity: 0.2;
    z-index: 1;
  }

  .separator-text {
    position: relative;
    background: #fff;
    padding-inline: 15px;
    z-index: 2;
  }
}

.teacher-link-copy {
  i {
    color: var(--red);
    margin-inline-start: 2rem;
  }
}

#videoModal {
  .modal-content {
    border-radius: 10px;
  }

  iframe {
    display: block;
    border-radius: 10px;

  }
}

.fa-star {
  color: rgba(253, 187, 38, 1);
}

.swiper-pagination {
  .swiper-pagination-bullet {
    background: rgba(22, 73, 139, 0.32);
    width: 12px;
    height: 9px;
    opacity: 1;
    transition: 0.3s;

    &.swiper-pagination-bullet-active {
      width: 30px;
      background: var(--blue);
      border-radius: 10px;
    }
  }
}


.cta {
  background: url(../images/cta-bg.png) center center no-repeat;
  background-size: cover;

  .cta-wrapper {
    position: relative;

    @media only screen and (max-width: 768px) {
      padding-block: 3rem;
    }
  }

  .cta-img-1 {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;

    width: 30%;
    /* @media only screen and (max-width: 1024px) {
    } */
  }
}

.single-testimonial-card {
  background: rgba(22, 73, 139, 0.13);
  /* border-radius: 10px 117px 117px 10px; */
  border-start-start-radius: 117px;
  border-end-start-radius: 117px;
  border-end-end-radius: 10px;
  border-start-end-radius: 10px;


  padding: 16px;

  .testimonials-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);

  }

  .rate {
    i {
      font-size: 14px;
    }
  }

  .testimonial-content {
    font-size: 15px;
    color: rgba(42, 53, 63, 0.8);
    margin-top: 5px;
    line-height: normal;
  }

}

/*FAQ*/



.single-faq-item {
  margin-bottom: 16px;
  border-radius: 10px;

  .faq-title {
    background: rgba(22, 73, 139, 0.14000000059604645);
    border-radius: 10px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.04);
    padding: 11px 15px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;

    /* margin-bottom: 5px; */
    @media only screen and (max-width: 600px) {
      font-size: 16px;
    }

    &::after {
      content: "\e09d";
      font-family: "Font Awesome 6 Pro";
      font-weight: 400;
      font-size: 20px;
      color: var(--blue);
      transition: 0.3s;
      background: #fff;
      width: 33px;
      height: 33px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;


    }

    &.active {
      color: white;
      background: var(--blue);
      border-start-end-radius: 10px;
      border-start-start-radius: 10px;
      border-end-start-radius: 0;
      border-end-end-radius: 0;


      &::after {
        transition: 0.3s;
        transform: rotate(-80deg)
      }
    }
  }

  .faq-content {
    font-size: 16px;
    font-weight: normal;
    padding: 20px;
    display: none;
    color: #fff;
    border-start-end-radius: 0;
    border-start-start-radius: 0;
    border-end-start-radius: 10px;
    border-end-end-radius: 10px;
    background: var(--blue);
    border-top-color: transparent;

    @media only screen and (max-width: 600px) {
      font-size: 16px;
    }
  }
}

/* Footer */
.main-footer {
  margin-top: 100px;
  background: url('../images/footer-bg.png');
  background-size: cover;
  padding-top: 32px;
  color: var(--text);
}

.footer-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 1rem;

  @media only screen and (max-width: 767px) {
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
    padding-block: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    &::after {
      content: "\f078";
      font-family: "Font Awesome 6 Pro";
      font-weight: 900;
      transition: transform 0.3s;
      font-size: 12px;
    }

    &.active::after {
      transform: rotate(180deg);
    }
  }
}

.footer-menu {
  margin-bottom: 32px;

  .phone {
    a {
      unicode-bidi: plaintext;
    }
  }

  @media only screen and (max-width: 600px) {
    gap: 20px !important;
    margin-bottom: 10px;
  }

  ul {
    line-height: 1.8;

    @media only screen and (max-width: 767px) {
      display: none;
      padding-top: 10px;
    }
  }

  a {
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
    transition: 0.3s;
    display: flex;

    &:before {
      content: "\f053";
      font-family: "Font Awesome 6 Pro";
      font-weight: 400;
      font-size: 16px;
      color: var(--red);
      transition: 0.3s;
      margin-inline-end: 10px;

    }


    &:hover {
      color: var(--red);
    }
  }
}

.footer-social {
  a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;

    &:before {
      display: none;
    }

    &:hover {
      background: var(--blue);
      color: #fff;
    }
  }
}

.copyrights {
  padding-block: 24px;
  border-top: 1px solid rgba(219, 14, 19, 0.16);

  a {
    color: var(--red);
    transition: 0.3s;

    &:hover {
      color: var(--blue);
    }
  }
}

.floating-icons {
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;
  z-index: 18;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;

  .up-btn {

    background-color: var(--blue);
    filter: drop-shadow(0px 0px 1px rgba(255, 255, 255, 0.47));
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 20px;
    opacity: 0;
    visibility: hidden;
    z-index: 20;

    &.show {
      opacity: 1;
      visibility: visible;
      transition: 0.3s;
    }


    &:hover {
      background-color: white;
      color: #120F0D;
    }
  }

  .whatsapp-icon {

    background-color: #2AA81A;
    color: white;
    padding: 10px;
    font-size: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 20px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: pulse-green 2s infinite;

    &:hover {
      background-color: var(--blue);
      color: white;
    }
  }
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(42, 168, 26, 0.93);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(225, 78, 29, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(225, 78, 29, 0);
  }
}

/* Custom Breadcrumb */
.custom-breadcrumb {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #999;
}

.custom-breadcrumb a {
  color: #999;
  transition: 0.3s;
}

.custom-breadcrumb a:hover {
  color: var(--blue);
}

.custom-breadcrumb .separator {
  margin-inline: 8px;
  color: #999;
}

.custom-breadcrumb .current {
  color: #999;
}

/* Stepper */
.booking-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 30px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.step-bubble {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 1px solid #A9BCE2;
  border-radius: 8px;
  font-size: 16px;
  color: #A9BCE2;
  transition: 0.3s;
}

.step-item.active .step-bubble {
  background-color: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0px 4px 10px rgba(22, 73, 139, 0.25);
}

.step-item.completed .step-bubble {
  background-color: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.step-label {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  font-size: 16px;
  font-weight: 500;
  color: #a0a0a0;
  text-align: center;
  transition: 0.3s;
}

@media only screen and (max-width: 600px) {
  .step-label {
    width: auto;
    font-size: 13px;
  }
}

.step-item.active .step-label {
  color: var(--text);
}

.step-connector {
  flex-grow: 1;
  height: 1px;
  background-color: #A9BCE2;
  margin-top: 22px;
  /* Half of 45px */
  position: relative;
  z-index: 1;
}

.step-connector.completed {
  background-color: var(--blue);
}

.success-check-icon {
  font-size: 100px;
  color: var(--blue);
  margin-bottom: 20px;
}

/* Package Selection Styles (Step 2) */
.package-row-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid transparent;
  cursor: pointer;
}

.package-row-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.06);
}

.package-row-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  gap: 15px;
  border-radius: 12px;
  margin: 15px;
}

.package-item-pill {
  background: #fff;
  border-radius: 10px;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  min-width: 100px;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
}

@media only screen and (max-width: 991px) {
  .package-row-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .package-item-pill {
    flex: none;
    width: calc(50% - 10px);
  }
}

@media only screen and (max-width: 600px) {
  .package-item-pill {
    width: 100%;
  }
}

.package-row-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.package-row-footer .package-select-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.package-row-footer .package-arrow-icon {
  font-size: 24px;
  color: var(--text);
  transition: 0.3s;
}

.package-row-card:hover .package-arrow-icon {
  color: var(--blue);
  transform: translateX(-5px);
}

.package-input:checked+.package-row-card {
  border-color: var(--blue);
  box-shadow: 0px 8px 20px rgba(22, 73, 139, 0.15);
}

/* Custom Radio UI inside the package card */
.package-radio-ui {
  width: 22px;
  height: 22px;
  border: 2px solid #ddd;
  border-radius: 50%;
  position: relative;
  transition: 0.3s;
}

.package-radio-ui::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 12px;
  height: 12px;
  background-color: var(--blue);
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.package-input:checked+.package-row-card .package-radio-ui {
  border-color: var(--blue);
}

.package-input:checked+.package-row-card .package-radio-ui::after {
  transform: translate(-50%, -50%) scale(1);
}

.package-input:checked+.package-row-card .package-select-text {
  color: var(--blue);
}

/* Speciality Checkbox UI */
.show-more-slots-btn {
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(180deg, #ffffff00 0%, #ffffff 40%);
  background-size: 100% 200%;
  padding-block: 4rem 0rem;
  margin-top: -3rem;
  position: relative;
  color: var(--orange);
  transition: 0.3s;

  &.active {
    background-size: 0 0;
    margin-top: 0;
    padding-top: 2rem;
    transition: 0.3s;
  }

  &:hover {
    color: var(--blue);
  }
}

.speciality-item {
  position: relative;
  display: block;

  label {

    cursor: pointer;
  }
}





.check-box-ui {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 0 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 3;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
}

.check-box-ui .check-icon {
  color: #fff;
  font-size: 24px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

.speciality-input:checked+.speciality-card .check-box-ui {
  background-color: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.8);
  border-left-color: rgba(255, 255, 255, 0.8);
}

.speciality-input:checked+.speciality-card .check-box-ui .check-icon {
  opacity: 1;
  transform: scale(1);
}

.min-w-180 {
  min-width: 180px;
}


/* Page Header Section */
.page-header-section {
  /* padding-top: 150px; */
  padding-bottom: 50px;
}

/* @media only screen and (max-width: 768px) {
  .page-header-section {
    padding-top: 120px;
  }
} */

/* Scheduling Calendar Component */
.scheduling-calendar {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.04);
  padding: 30px;
  max-width: 850px;
  margin: 0 auto;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.calendar-prev,
.calendar-next {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--blue);
  cursor: pointer;
  padding: 5px 10px;
  transition: 0.3s;
}

.calendar-prev:hover,
.calendar-next:hover {
  color: var(--orange);
}

.calendar-body {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 5px;
  transition: max-height 0.5s ease-in-out;

  &.show {
    max-height: 1000px;
  }

}

/* Adjust scrollbar for calendar grid */
.calendar-body::-webkit-scrollbar {
  width: 6px;
}

.calendar-body::-webkit-scrollbar-track {
  background-color: transparent;
  margin-top: 80px;
}

.calendar-body {

  &::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 6px;
  }

  &:hover {
    &::-webkit-scrollbar-thumb {
      background-color: #e4e0e0;
    }
  }
}

.day-column {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 65px;
}

.day-header {
  background-color: #F8918F;
  /* Soft pink-red matching design */
  color: #fff;
  text-align: center;
  padding: 12px 5px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 0;
  z-index: 10;
  margin-bottom: 15px;
}

.day-header .day-date {
  font-size: 16px;
  font-weight: 700;
}

.day-header .day-name {
  font-size: 14px;
  font-weight: 500;
}

.time-slots-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.time-slot {
  background-color: #A9BCE2;
  color: var(--blue);
  border: none;
  border-radius: 8px;
  padding: 8px 5px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

.time-slot:hover:not(:disabled) {
  background-color: var(--blue);
  color: #fff;
}

.time-slot.selected {
  background-color: var(--blue);
  color: #fff;
}

.time-slot:disabled {
  background-color: #E6EBF5;
  color: #C3CBE0;
  cursor: not-allowed;
}

@media only screen and (max-width: 768px) {
  .scheduling-calendar {
    padding: 15px 10px;
    margin: 0;
  }

  .calendar-body {
    gap: 4px;
    overflow-x: hidden;
    padding-bottom: 5px;
  }

  .day-column {
    min-width: 0;
    flex: 1;
  }

  .day-header {
    padding: 8px 2px;
  }

  .day-header .day-date {
    font-size: 13px;
  }

  .day-header .day-name {
    font-size: 11px;
  }

  .time-slot {
    padding: 6px 2px;
    font-size: 12px;
  }
}

.white-box {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.04);
}

/* Summary & Payment Styles */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1200px) {
  .summary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }
}

.summary-item {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--blue);
}

.summary-label {
  background: var(--blue);
  color: #fff;
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 50%;
  min-width: 90px;
}

.summary-value {
  background: #fff;
  color: var(--text);
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.summary-item.highlighted {
  border-color: var(--blue);
}

.summary-item.highlighted .summary-value {
  background: #fff;
}

.summary-item.highlighted .summary-label {
  background: var(--blue);
}

.coupon-field {
  position: relative;
  display: flex;
  align-items: center;
  background: #FEEEEE;
  border-radius: 10px;
  padding: 8px;
  border: 1.5px solid var(--orange);
}

.coupon-field .form-control {
  background: transparent;
  border: none;
  box-shadow: none;
  flex: 1;
  color: var(--text);
  font-size: 16px;
}

.coupon-field .btn {
  border-radius: 8px;
  padding: 8px 30px;
  font-size: 18px;
}

.payment-card {
  position: relative;
}

.payment-label {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  padding: 15px 25px;
  border: 1px solid #D0DAEE;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  background: #fff;
  margin-bottom: 0;
  gap: 15px;
}

.payment-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  justify-content: flex-end;
}

.payment-info i {
  font-size: 32px;
  color: var(--blue);
}

.payment-info img {
  height: 30px;
  object-fit: contain;
  width: 60px;
}

.payment-info span {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}

.payment-input:checked+.payment-label {
  border-color: var(--blue);
  background: #F4F7FB;
}

.payment-label .radio-ui {
  width: 22px;
  height: 22px;
  border: 2px solid #D0DAEE;
  border-radius: 50%;
  position: relative;
}

.payment-label .radio-ui::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 12px;
  height: 12px;
  background-color: var(--blue);
  border-radius: 50%;
  transition: 0.3s;
}

.payment-input:checked+.payment-label .radio-ui {
  border-color: var(--blue);
}

.payment-input:checked+.payment-label .radio-ui::after {
  transform: translate(-50%, -50%) scale(1);
}

.text-red {
  color: var(--red);
}

.btn-lg {
  padding-block: 15px;
  font-size: 22px;
}

/* Dashboard & User Account Styles */
.dashboard-wrapper {
  display: flex;
  gap: 30px;
}

@media (max-width: 992px) {
  .dashboard-wrapper {
    flex-direction: column;
  }
}

.user-sidebar {
  width: 300px;
  flex-shrink: 0;
  background: var(--blue);
  border-radius: 12px;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  height: max-content;
  transition: 0.4s;
}

.sidebar-toggle {
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  font-weight: 700;
  padding: 15px;
  font-size: 18px;
  transition: 0.3s;
  display: flex;
}

@media (min-width: 992px) {
  .sidebar-toggle {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .sidebar-toggle {
    display: flex;
  }

  .user-sidebar {
    width: 100%;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    pointer-events: none;
    transform: translateY(-10px);
    margin-bottom: 0;
    overflow: hidden;
  }

  .user-sidebar.open {
    opacity: 1;
    visibility: visible;
    max-height: 2000px;
    pointer-events: auto;
    transform: translateY(0);
    margin-bottom: 30px;
    padding-bottom: 20px;
    overflow: visible;
  }
}

.sidebar-toggle i {
  transition: 0.3s;
}

.sidebar-toggle.active {
  background: var(--red);
  border-color: var(--red);
}

.sidebar-toggle.active i {
  transform: rotate(90deg);
}

.user-sidebar-header {
  padding: 40px 20px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
  position: relative;
}

.user-sidebar-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #fff;
  margin: -90px auto 15px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.user-sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.edit-avatar-btn {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 25px;
  height: 25px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  border: 2px solid #fff;
}

.user-welcome {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.user-sidebar-menu {
  padding: 0;
  padding-bottom: 20px;
  padding-inline-start: 0;
  padding-inline-end: 15px;
  margin: 0;
  list-style: none;
}

.user-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 30px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-start-end-radius: 30px;
  border-end-end-radius: 30px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  transition: 0.3s;
  margin-bottom: 5px;
  position: relative;
}

.user-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.user-sidebar-link.active {
  background: #fff;
  color: var(--blue);
  z-index: 1;
}

.user-sidebar-link.active::before,
.user-sidebar-link.active::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  width: 25px;
  height: 25px;
  background: transparent;
  pointer-events: none;
}

.user-sidebar-link.active::before {
  top: -25px;
  border-bottom-right-radius: 25px;
  box-shadow: 10px 10px 0 10px #fff;
}

.user-sidebar-link.active::after {
  bottom: -25px;
  border-top-right-radius: 25px;
  box-shadow: 10px -10px 0 10px #fff;
}

.dashboard-content {
  flex: 1;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 30px;
}

@media (max-width: 768px) {
  .profile-form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group-custom {
  margin-bottom: 0;
}

.form-group-custom label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  text-align: start;
}

.input-wrapper-custom {
  position: relative;
  display: flex;
  align-items: center;
  background: #F0F6FF;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid transparent;
}

.input-wrapper-custom:focus-within {
  border-color: var(--blue);
  background: #fff;
}

.input-wrapper-custom .form-control,
.input-wrapper-custom .form-select {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 10px 20px !important;
  font-size: 16px !important;
  color: var(--text) !important;
  flex: 1;
  box-shadow: none !important;
  height: 55px !important;
}

/* Hide native select arrow inside custom input wrappers */
.input-wrapper-custom .form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 40px !important;
}

/* Custom chevron arrow for selects inside input-wrapper-custom */
.input-wrapper-custom:has(.form-select)::after {
  content: "\f078";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  position: absolute;
  inset-inline-end: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text);
  font-size: 12px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
}

.input-wrapper-custom textarea.form-control {
  height: auto !important;
}

.input-wrapper-custom .input-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 20px;
  background: rgba(22, 73, 139, 0.05);
  /* order: 1; */
}

.phone-prefix {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 15px;
  font-size: 16px;
  color: var(--text);
  border-inline-start: 1px solid rgba(0, 0, 0, 0.1);
  /* order: 2; */
}

.phone-prefix img {
  width: 20px;
  height: 15px;
  object-fit: cover;
}

/* Multi-select Styles */
.multi-select-wrapper {
  cursor: pointer;
  position: relative;
}

/* The clickable trigger row (looks like the other inputs) */
.multi-select-trigger {
  overflow: hidden;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.multi-select-display {
  flex: 1;
  padding: 10px 15px;
  font-size: 16px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 55px;
  display: flex;
  align-items: center;
  background: transparent;
  user-select: none;
}

.multi-select-chevron {
  width: 45px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 12px;
  transition: 0.3s;
  flex-shrink: 0;
}

.multi-select-wrapper.active .multi-select-chevron i {
  transform: rotate(180deg);
}

.multi-select-wrapper.active .multi-select-trigger {
  border-color: var(--blue);
  background: #fff;
}

.multi-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 200;
  padding: 8px;
  display: none;
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid rgba(22, 73, 139, 0.15);
}

.multi-select-wrapper.active .multi-select-dropdown {
  display: block;
  animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.multi-select-dropdown .dropdown-item {
  padding: 9px 12px;
  transition: 0.2s;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 4px;
}

.multi-select-dropdown .dropdown-item:hover {
  background: rgba(22, 73, 139, 0.06);
}

.multi-select-dropdown .dropdown-item:has(input:checked) {
  background: rgba(248, 82, 44, 0.07);
}

.multi-select-dropdown .dropdown-item:has(input:checked) .text {
  color: var(--orange);
  font-weight: 700;
}

.multi-select-dropdown .custom-checkbox {
  width: 100%;
  margin: 0;
  gap: 12px;
  cursor: pointer;
}

.multi-select-dropdown .custom-checkbox .text {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}

.btn-save-wrap {
  margin-top: 40px;
  text-align: center;
}

.btn-save {
  background: var(--orange);
  color: #fff;
  padding: 12px 60px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  border: none;
  transition: 0.3s;
}

.btn-save:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(248, 82, 44, 0.2);
}

.grid-column-2 {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .grid-column-2 {
    grid-column: span 1;
  }
}

/* Subscriptions Page Styles */
.subscriptions-filters {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.filters-row {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;

  .form-select {
    background-image: none;
  }
}

.filter-search-wrap {
  position: relative;
  flex: 1;
  min-width: 300px;


}

.filter-search-wrap .form-control {
  background: #fff;
  border: 1.5px solid #D0DAEE;
  border-radius: 12px;
  padding: 10px 20px 10px 50px;
  height: 52px;
  font-size: 16px;
  color: #2a353f;
}

.filter-search-wrap i {
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 20px;
}

.filter-select-wrap {
  position: relative;
}

.filter-select-wrap.sort-wrap {
  min-width: 250px;
}

.filter-select-wrap.date-wrap {
  flex: 1;
  min-width: 200px;
}

.filter-select-wrap .form-select,
.filter-select-wrap .form-control-date {
  background-color: #fff;
  border: 1.5px solid #D0DAEE;
  border-radius: 12px;
  height: 52px;
  padding-inline: 15px 45px;
  font-size: 16px;
  color: #7d858c;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.filter-select-wrap::after {
  content: "\f078";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 14px;
  pointer-events: none;
  z-index: 2;
}

.filter-select-wrap::before {
  display: none;
}

@media (max-width: 768px) {
  .filters-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Specific for date input to hide the default picker icon and allow custom styling */
.filter-select-wrap input[type="date"] {
  position: relative;
}

.filter-select-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.subscription-card {
  background: #fff;
  border-radius: 15px;
  padding: 16px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: 0.3s;

  .wrapper {
    padding: 20px;
    border-radius: 15px;
    position: relative;
  }
}

.subscription-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.subscription-card.status-ongoing .wrapper {
  background-color: #f79494;
}

.subscription-card.status-finished .wrapper {
  background-color: #ffb491;
}

.subscription-card.status-cancel-request .wrapper {
  background-color: #ffe091;
}

.subscription-card.status-problem .wrapper {
  background-color: #9ab3d1;
}

.subscription-card.status-incomplete .wrapper {
  background-color: #9cbdf2;
}

.subscription-card.status-cancelled .wrapper {
  background-color: #f79494;
}

.subscription-card-body {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  /* margin-bottom: 15px; */
}

.info-box {
  background: #fff;
  border-radius: 8px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}

.info-box.id-box {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.info-box.price-box {
  color: var(--blue);
}

.subscription-card-status-label {
  background: #fff;
  padding: 5px 15px;
  /* border-radius: 0 20px 20px 0; */
  border-end-start-radius: 20px;
  border-start-start-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  margin-top: 0;
  width: max-content;
  position: absolute;
  inset-inline-end: 0;
  bottom: 15px;

}

.status-ongoing .subscription-card-status-label {
  color: #ef4444;
}

.status-finished .subscription-card-status-label {
  color: #f97316;
}

.status-cancel-request .subscription-card-status-label {
  color: #eab308;
}

.status-problem .subscription-card-status-label {
  color: #475569;
}

.status-incomplete .subscription-card-status-label {
  color: #3b82f6;
}

.status-cancelled .subscription-card-status-label {
  color: #ef4444;
}

.subscription-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-details-link {
  color: #333;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  transition: 0.3s;
}

.view-details-link:hover {
  opacity: 0.8;
}

/* Pagination */
.pagination-custom {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 700;
  transition: 0.3s;
  text-decoration: none;
}



.page-btn.arrow-btn {
  color: var(--blue);

}

.page-btn:hover,
.page-btn.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.change-teacher {
  a {
    background: var(--red);
    color: #fff;
    width: 100%;
    font-size: 16px;
    border-radius: 0 0 10px 10px;
    margin-top: -10px;

    &:hover,
    &:active,
    &:focus {
      background: var(--blue) !important;
      color: #fff !important;
    }
  }
}

/* Rating Stars */
.rating-stars {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.rating-stars i {
  color: #FFAE42;
  font-size: 32px;
}

.rating-stars i.empty {
  color: #DDE2E6;
}


.single-library-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: var(--text);

  .library-text,
  .library-media-wrapper {
    background: #EDF1F6;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;

    img:not(.waveform-img) {
      height: 100px;
      width: 100%;
      object-fit: cover;
    }
  }

  .library-text {
    height: 100px;
  }

  .library-media-wrapper {
    padding: 0;
    cursor: pointer;
    min-height: 100px;

    &:has(.play-overlay-btn) {
      position: relative;

      img {
        filter: brightness(0.5);
      }

      .play-overlay-btn {
        position: absolute;
        inset: 50%;
        transform: translate(-50%, -50%);

        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        transition: 0.3s;

        &:hover {
          color: var(--red);
        }
      }


    }
  }

  .title {
    padding: 10px 10px 0;
    font-size: 20px;
    font-weight: 500;
  }

  .category {
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
  }

  .play-audio-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
}

#mediaModal {
  img {
    width: 100%;
    height: 100%;
  }
}


/* Wallet Page Styles */
.wallet-balance-card {
  background: #DDE6ED;
  border-radius: 12px;
  padding: 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

.wallet-balance-card .balance-info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wallet-balance-card .label {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
}

.wallet-balance-card .amount-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.wallet-balance-card .amount {
  font-size: 48px;
  font-weight: 700;
}

.wallet-balance-card .currency {
  font-size: 24px;
  font-weight: 700;
}

.wallet-tabs {
  justify-content: center;
  gap: 15px;
}

.wallet-tabs .nav-link {
  background: #fff;
  border: 1px solid var(--blue);
  color: var(--blue);
  border-radius: 12px;
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
}

.wallet-tabs .nav-link.active {
  background: var(--blue) !important;
  color: #fff !important;
}

.withdraw-notice {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  opacity: 0.8;
}

.agreement-section .text {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
}


.agreement-section .text a {
  color: var(--red);
  text-decoration: underline;
}


/* Wallet Record Details (Reusing subscription-card patterns) */
.record-details {
  padding: 25px;
  background: #fff;
}

.record-details .details-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 25px;
}

.record-details .detail-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  justify-content: flex-start;
  gap: 30px;
}

.record-details .detail-label {
  font-size: 16px;
  color: var(--text);
  opacity: 0.7;
  font-weight: 500;
  width: 180px;
  flex-shrink: 0;
  text-align: start;
}

.record-details .detail-value {
  font-size: 16px;
  color: var(--text);
  font-weight: 700;
  text-align: start;
}

.receipt-placeholder {
  background: #2A353F;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.receipt-placeholder img {
  max-height: 40px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .record-details .detail-row {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }

  .record-details .detail-label {
    width: 100%;
    text-align: start;
  }
}


@media (max-width: 768px) {
  .wallet-balance-card {
    padding: 20px;
  }

  .wallet-balance-card .label {
    font-size: 18px;
  }

  .wallet-balance-card .amount {
    font-size: 32px;
  }

  .wallet-tabs .nav-link {
    font-size: 16px;
    padding: 8px 15px;
    width: 100%;
  }

  .wallet-tabs {
    flex-direction: column;
  }
}

/* Progress Page Styles */
.progress-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.progress-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.progress-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}



/* Completed Lessons Progress Bar */
.lessons-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
  flex-direction: row-reverse;
}

.lessons-count {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  min-width: 80px;
  text-align: left;
}

.progress-bar-container {
  flex-grow: 1;
  background: #EBF1F7;
  height: 10px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.progress-bar-fill {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  height: 100%;
  background: var(--blue);
  border-radius: 10px;
}

/* Level Indicator Line */
.level-line-outer {
  padding: 40px 0 20px;
  position: relative;
}

.level-line-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.level-line-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #B3C4D9;
  z-index: 1;
  transform: translateY(-50%);
}

.level-node {
  width: 50px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
  position: relative;
  z-index: 2;
  transition: 0.3s;
}

.level-node.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 15px rgba(27, 73, 134, 0.3);
  transform: scale(1.1);
}

/* Progress Range Indicator */
.range-indicator-wrapper {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.range-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  min-width: 80px;
}

.range-bar {
  width: 65px;
  height: 8px;
  background: #B3C4D9;
  border-radius: 10px;
  opacity: 0.5;
}

.range-item.active .range-bar {
  background: var(--blue);
  opacity: 1;
}

.range-label {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

@media (max-width: 768px) {
  .level-line-wrapper {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .level-line-wrapper::before {
    display: none;
  }

  .lessons-progress-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .lessons-count {
    text-align: center;
  }
}

/* Vocabulary Page Styles */
.vocabulary-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding: 10px 20px;
}

.vocabulary-table {
  width: 100%;
}

.vocabulary-header,
.vocabulary-row {
  display: flex;
  align-items: center;
  position: relative;
  padding: 18px 0;
  border-bottom: 1px solid #F9E5E5;
}

.vocabulary-row:last-child {
  border-bottom: none;
}

.vocabulary-header::before,
.vocabulary-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #F9E5E5;
}

.vocabulary-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 18px;
  color: #333;
}

.vocabulary-header .vocabulary-col {
  font-weight: 700;
  color: #333;
}

.vocabulary-row .vocabulary-col span {
  font-weight: 500;
}

.vocabulary-col .play-audio-btn {
  background: none;
  border: none;
  color: var(--red);
  font-size: 20px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.vocabulary-col .play-audio-btn:hover {
  transform: scale(1.1);
}

.vocabulary-col .play-audio-btn.playing i {
  animation: speakerPulse 0.5s infinite alternate;
}

@keyframes speakerPulse {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.15);
  }
}

@media (max-width: 576px) {
  .vocabulary-col {
    font-size: 14px;
    gap: 8px;
  }

  .vocabulary-card {
    padding: 5px 10px;
  }
}



.categories-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-item {
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.filter-item:hover,
.filter-item.active {
  background: var(--blue);
  color: #fff;
}

/* Family Accounts Page Styles */
.family-accounts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.family-account-card {
  background: #fff;
  border-radius: 15px;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: 0.3s;
}

.family-account-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.family-member-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.family-member-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.family-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.family-member-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.login-to-account-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none !important;
  transition: 0.3s;
}

.login-to-account-link:hover {
  opacity: 0.8;
  gap: 15px;
}

@media (max-width: 576px) {
  .family-account-card {
    padding: 15px 20px;
  }

  .family-member-name {
    font-size: 16px;
  }

  .login-to-account-link {
    font-size: 14px;
  }

  .family-member-avatar {
    width: 45px;
    height: 45px;
  }
}

/* Partners Program Styles */
.partners-program-card {
  background: #fff;
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
  margin-top: 20px;
}

.partners-program-card .title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.partners-program-card .subtitle {
  font-size: 18px;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.partners-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.partner-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.partner-step-item i {
  color: var(--red);
  font-size: 18px;
}



@media (max-width: 768px) {
  .partners-program-card .title {
    font-size: 24px;
  }

  .partners-program-card .subtitle {
    font-size: 16px;
  }

  .partners-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Contact Page Info Card */
.contact-info-card {
  background: var(--blue);
  border-radius: 24px;
  padding: 40px 30px;
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.contact-info-card .card-quote {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-info-card .contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
}

.contact-info-card .contact-item {
  background: #DDE2EF;
  border-radius: 20px;
  padding: 18px 25px;
  display: flex;
  align-items: center;
  color: #2A353F;
  gap: 10px;
  text-decoration: none !important;
  transition: 0.3s;
}

.contact-info-card .contact-item .text {
  font-size: 18px;
  font-weight: 700;
}

.contact-info-card .contact-item:hover {
  background: #fff;
  transform: translateY(-2px);
}

.contact-info-card .contact-item i {
  color: #16285A;
  font-size: 24px;
}

.contact-info-card .separator {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 35px 0;
}

.contact-info-card .social-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
}

.contact-info-card .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.contact-info-card .social-link {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16285A;
  font-size: 22px;
  transition: 0.3s;
  text-decoration: none !important;
}

.contact-info-card .social-link:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  .contact-info-card {
    margin-top: 40px;
  }
}

/* ===========================
   Notifications Page Styles
   =========================== */

.notifications-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
}

.mark-all-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid var(--orange);
  border-radius: 30px;
  padding: 8px 24px;
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
  font-family: "Tajawal", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mark-all-read-btn:hover {
  background: var(--orange);
  color: #fff;
}

.mark-all-read-btn:hover .mark-all-icon {
  background: #fff;
  color: var(--orange);
}

.mark-all-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 40px;
}

.notification-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  border: 1px solid transparent;
}

.notification-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(22, 73, 139, 0.15);
}

/* Unread state */
.notification-item.unread {
  background: linear-gradient(135deg, #16498B 0%, #1a3d6d 100%);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(22, 73, 139, 0.3);
}

.notification-item.unread:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(22, 73, 139, 0.4);
}

.notification-item.unread .notification-text {
  color: #fff;
}

.notification-item.unread .notification-date {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.notification-item.unread .notification-date i {
  color: #fff;
}

.notification-item.unread .notification-logo img {
  border-color: rgba(255, 255, 255, 0.3);
}

/* Logo */
.notification-logo {
  flex-shrink: 0;
  order: 1;
}

.notification-logo img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
}

.notification-item:hover .notification-logo img {
  border-color: var(--blue);
}

.notification-item.unread:hover .notification-logo img {
  border-color: rgba(255, 255, 255, 0.6);
}

/* Content */
.notification-content {
  flex: 1;
  order: 2;
}

.notification-text {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Date Badge */
.notification-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f4f8;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  order: 3;
  transition: all 0.3s ease;
}

.notification-date i {
  color: var(--red);
  font-size: 14px;
  transition: color 0.3s ease;
}

/* Read transition animation */
.notification-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive */
@media (max-width: 768px) {
  .notification-item {
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 12px;
  }

  .notification-logo img {
    width: 48px;
    height: 48px;
  }

  .notification-text {
    font-size: 14px;
  }

  .notification-date {
    font-size: 12px;
    padding: 6px 14px;
    order: 4;
    width: 100%;
    justify-content: center;
  }

  .notifications-header {
    justify-content: center;
    margin-bottom: 20px;
  }

  .mark-all-read-btn {
    font-size: 14px;
    padding: 6px 18px;
  }
}

/* ==========================================
   Counters Section
   ========================================== */
.counters {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: url(../images/counters-bg.png) no-repeat center center/cover;
}

.counter-item {
  position: relative;
  z-index: 2;
}

.counter-value {
  display: block;
  color: #fff;
}

.counter-label {
  opacity: 0.9;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .counter-value {
    font-size: 32px !important;
  }

  .counter-label {
    font-size: 14px !important;
  }
}

/* ========================================== 
   Why Us Section 
   ========================================== */
.why-us-item {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.why-us-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.why-us-item--orange {
  border-color: #F8522C;
}

.why-us-item--yellow {
  border-color: #FFC107;
}

.why-us-item--red {
  border-color: #DB0E13;
}

.why-us-icon {
  margin-bottom: 25px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-icon img {
  max-height: 85px;
  width: auto;
}

.why-us-text {
  font-size: 22px;
  font-weight: 500;
  color: #2A353F;
}

@media (max-width: 768px) {
  .why-us-text {
    font-size: 18px;
  }

  .why-us-item {
    padding: 30px 15px;
  }

  .why-us-icon {
    height: 80px;
  }

  .why-us-icon img {
    max-height: 65px;
  }
}


/* ============================================
   LOGIN PAGE
   ============================================ */

.login-page-wrapper {
  background: radial-gradient(71% 111% at 50% 50%, #58a6f6 0%, #192a7d 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.login-page-wrapper::before {
  content: "";
  background: url(../images/login-shape.png) no-repeat center center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;

  @media (max-width: 768px) {
    /* background-size: auto; */
    background-image: none;
    background-color: #fff;

  }
}

/* Top Bar */
.login-topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  /* margin-top: 2rem; */
}

.login-lang-toggle {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;

  &:hover {
    color: var(--orange);
  }
}

.login-lang-toggle:hover {
  opacity: 0.8;
}

.login-sidebar-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: #fff;
  color: var(--orange);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  transition: 0.3s;
}

.login-sidebar-btn:hover {
  background: var(--orange);
  color: #fff;
}

/* Cloud Content Area */
.login-cloud-area {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 80px;
}

/* Form Container */
.login-form-container {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

/* Title */
.login-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 30px;
}

/* Form */
.login-form {
  text-align: right;
}

/* Field Group */
.login-field-group {
  margin-bottom: 16px;
}

.login-field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 6px;
}

/* Input Wrapper */
.login-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input {
  width: 100%;
  padding-block: 12px;
  padding-inline-start: 44px;
  padding-inline-end: 15px;
  border-radius: 14px;
  border: 1px solid rgba(22, 73, 139, 0.15);
  background: rgba(235, 242, 255, 0.85);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.login-input::placeholder {
  color: #a0aec0;
}

.login-input:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22, 73, 139, 0.1);
}

/* Icon on the end side (in RTL: inset-inline-end is left, so icon sits on left visually) */
.login-input-icon {
  position: absolute;
  inset-inline-start: 14px;
  color: var(--blue);
  font-size: 16px;
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Toggle password button on the start side (in RTL: inset-inline-start is right) */
.login-toggle-password {
  position: absolute;
  inset-inline-end: 14px;
  background: none;
  border: none;
  color: var(--blue);
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: 0.2s;
}

.login-toggle-password:hover {
  color: var(--orange);
}

/* Options Row (Remember + Forgot) */
.login-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  margin-top: 4px;
}

.login-forgot {
  font-size: 13px;
  color: #555;
  transition: 0.3s;
}

.login-forgot:hover {
  color: var(--blue);
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #555;
}

.login-remember input[type="checkbox"] {
  display: none;
}

.login-remember-checkmark {
  font-size: 18px;
  color: #ccc;
  transition: 0.3s;
  line-height: 1;
}

.login-remember input[type="checkbox"]:checked~.login-remember-checkmark {
  color: var(--blue);
}

.login-remember-text {
  font-size: 13px;
  color: #555;
}

/* Submit Button */
.login-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  font-family: "Tajawal", sans-serif;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}

.login-submit-btn:hover {
  background: #1a5cb0;
  box-shadow: 0 6px 20px rgba(22, 73, 139, 0.35);
  transform: translateY(-1px);
}

/* Divider */
.login-divider {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
}

.login-divider-text {
  padding: 0 12px;
  font-size: 13px;
  color: #777;
  white-space: nowrap;
}

/* Social Row */
.login-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.login-social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.login-social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.login-social-separator {
  width: 1px;
  height: 36px;
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.login-phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  transition: 0.3s;
  white-space: nowrap;
}

.login-phone-btn i {
  font-size: 16px;
}

.login-phone-btn:hover {
  background: var(--blue);
  color: #fff;
}

/* Register Link */
.login-register-link {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 0;
}

.login-register-link a {
  color: var(--blue);
  font-weight: 700;
  transition: 0.3s;
}

.login-register-link a:hover {
  color: var(--orange);
}

/* Rocket */
.login-rocket {
  position: absolute;
  bottom: 10px;
  right: 60px;
  z-index: 6;
  pointer-events: none;
  animation: rocketFloat 3s ease-in-out infinite;

  @media (max-width: 768px) {
    display: none;
  }
}

.login-rocket img {
  width: 240px;
  height: auto;
  transform: rotate(-10deg);
}

@keyframes rocketFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .login-topbar {
    padding: 16px 20px;
  }

  .login-title {
    font-size: 26px;
  }

  .login-rocket {
    width: 120px;
    bottom: 5px;
    left: 10px;
  }

  .login-rocket img {
    width: 120px;
  }
}

html[dir="rtl"] {

  [type=email],
  [type=number],
  [type=tel],
  [type=url] {
    direction: rtl;
  }
}

/* ============================================
   REGISTER PAGE
   ============================================ */

/* Wider cloud area for register (two-column layout) */
.register-cloud-area {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 80px;
}

/* Register form container — slightly wider than login */
.register-form-container {
  max-width: 460px !important;
  margin: 0 auto;
}

/* Field hint text (red, smaller) */
.register-field-hint {
  color: #e53e3e;
  font-size: 11px;
  font-weight: 400;
  display: inline;
  margin-inline-start: 6px;
}

/* Password icon fix: lock icon stays on the end side */
.register-form-container .login-input-wrapper .login-input {
  padding-inline-end: 44px;
  padding-inline-start: 64px;
  box-shadow: none;
}

/* reCAPTCHA widget */
.register-recaptcha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(235, 242, 255, 0.85);
  border: 1px solid rgba(22, 73, 139, 0.15);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.register-recaptcha-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin: 0;
}

.register-recaptcha-label input[type="checkbox"] {
  display: none;
}

.register-recaptcha-checkmark {
  width: 22px;
  height: 22px;
  border: 2px solid #adb5bd;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.3s;
  position: relative;
}

.register-recaptcha-label input[type="checkbox"]:checked~.register-recaptcha-checkmark {
  background: var(--blue);
  border-color: var(--blue);
}

.register-recaptcha-label input[type="checkbox"]:checked~.register-recaptcha-checkmark::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  color: #fff;
  position: absolute;
}

.register-recaptcha-text {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.register-recaptcha-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.register-recaptcha-brand {
  font-size: 10px;
  font-weight: 700;
  color: #4A90D9;
  letter-spacing: 0.3px;
}

.register-recaptcha-terms {
  font-size: 8px;
  color: #999;
}

/* Features side panel */
.register-features {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.register-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.register-features-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  font-weight: 500;
  color: var(--blue);
  line-height: 1.6;
  text-align: right;
  /* margin-bottom: 25px; */
}

.register-features-list li i {
  color: var(--red);
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
  .register-cloud-area {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-top: 20px;
  }

  .register-features {
    padding-top: 0;
    max-width: 100%;
    width: 100%;
    padding: 0 20px 20px;
  }

  .register-form-container {
    max-width: 100% !important;
    width: 100%;
  }
}

/* ==========================================
   OTP Modal Styles
========================================== */
.otp-modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.otp-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.otp-modal-text {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.otp-user-email {
  color: var(--blue);
  font-weight: 700;
  direction: ltr;
  display: inline-block;
}

.otp-inputs-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.otp-input {
  width: 55px;
  height: 65px;
  border: 1.5px solid #d1d9e6;
  border-radius: 12px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  transition: 0.3s;
  background: white;
}

.otp-input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 73, 139, 0.1);
}

.otp-input::-webkit-input-placeholder {
  color: #eee;
  font-weight: 400;
}

.otp-input::-moz-placeholder {
  color: #eee;
  font-weight: 400;
}

.otp-input:-ms-input-placeholder {
  color: #eee;
  font-weight: 400;
}

.otp-input::-ms-input-placeholder {
  color: #eee;
  font-weight: 400;
}

.otp-input::placeholder {
  color: #eee;
  font-weight: 400;
}

.otp-timer {
  font-size: 14px;
  color: #888;
  margin-bottom: 25px;
}

.otp-resend-btn {
  display: block;
  margin: 0 auto 30px;
  background: none;
  border: none;
  color: #888;
  font-size: 14px;
  text-decoration: underline;
  transition: 0.3s;
}

.otp-resend-btn:hover {
  color: var(--blue);
}

.otp-verify-btn {
  width: 100%;
  max-width: 320px;
  height: 55px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  transition: 0.3s;
}

.otp-verify-btn:hover {
  background: #0d3a73;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(22, 73, 139, 0.2);
}

/* reCAPTCHA Logo Mock Icon */
.recaptcha-icon-mock {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4A90D9;
  font-size: 18px;
}

/* Close button for OTP/Success Modals */
.otp-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  opacity: 0.5;
  transition: 0.3s;
}

.otp-modal-close:hover {
  opacity: 1;
}

/* Success Modal Specifics */
.success-checkmark-wrapper {
  width: 120px;
  height: 120px;
  background: rgba(22, 73, 139, 0.05);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.success-icon {
  font-size: 60px;
}

.success-modal-text {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  line-height: 1.6;
}

#redirect-timer {
  font-weight: 700;
  color: var(--blue);
}

@media (max-width: 576px) {
  .otp-inputs-wrapper {
    gap: 8px;
  }

  .otp-input {
    width: 45px;
    height: 55px;
    font-size: 20px;
    border-radius: 8px;
  }

  .otp-modal-title {
    font-size: 18px;
  }
}

/* ==========================================
   Phone Number Input Styles
========================================== */
.phone-input-wrapper {
  background-color: #EBF2FF !important;
  border: 1px solid rgba(22, 73, 139, 0.15) !important;
  border-radius: 14px;
  overflow: hidden;
  height: 60px;
  display: flex !important;
  align-items: center;
  flex-direction: row-reverse;
}

.phone-input-wrapper .login-input {
  background: transparent !important;
  border: none !important;
  padding-inline-start: 10px;
  font-weight: 500;
  color: var(--blue);
  flex-grow: 1;
}

.country-code-select {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 15px;
  border-inline-start: 1px solid rgba(0, 0, 0, 0.1);
  color: #333;
  font-weight: 500;
  font-size: 15px;
  flex-shrink: 0;
  height: 100%;
  direction: ltr;
  /* Ensures flag and code are ordered left-to-right */
}

.phone-input-wrapper .login-input-icon {
  color: var(--blue);
  font-size: 18px;
  padding-inline: 15px;
  flex-shrink: 0;
}


html:not([dir="rtl"]) {
  .single-faq-item .faq-title::after {
    content: "\e09f";
  }

  .single-faq-item {
    & .faq-title {
      &.active {
        &::after {
          transform: rotate(80deg);
        }
      }
    }
  }

  .footer-menu {
    & a {
      &::before {
        transform: scale(-1)
      }
    }
  }

  .user-sidebar-link.active::before {
    top: -25px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 0px;
    box-shadow: -10px 10px 0 10px #fff;
  }

  .user-sidebar-link.active::after {
    bottom: -25px;
    border-top-right-radius: 0px;
    border-top-left-radius: 25px;
    box-shadow: -10px -10px 0 10px #fff;
  }
}