/* Copy Animation */

:root {
  --main: hsl(var(--base));

  --base-h: 246;
  --base-s: 78%;
  --base-l: 58%;
  --base: var(--base-h) var(--base-s) var(--base-l);

  --base-two-h: 213;
  --base-two-s: 100%;
  --base-two-l: 14%;
  --base-two: var(--base-two-h) var(--base-two-s) var(--base-two-l);

  --white-h: 0;
  --white-s: 0%;
  --white-l: 100%;
  --white: var(--white-h) var(--white-s) var(--white-l);
}

.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #ff7000;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.cookies-card {
  width: 520px;
  padding: 30px;
  color: #1e2337;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s;
  background: #d1d1d1;
  border-radius: 5px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}

@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
  text-align: left;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: "";
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 28px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: "";
  font-family: "Line Awesome Free";
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}

.show-filter {
  display: none;
}

@media (max-width: 767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

/* user review page  */

.rating .rating-form-group {
  position: relative;
  height: 24px;
  line-height: 24px;
  font-size: 24px;
  cursor: pointer;
}

.rating .rating-form-group .star-label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  cursor: pointer;
}

.rating .rating-form-group .star-label:last-child {
  position: static;
}

.rating .rating-form-group .star-label:nth-child(1) {
  z-index: 5;
}

.rating .rating-form-group .star-label:nth-child(2) {
  z-index: 4;
}

.rating .rating-form-group .star-label:nth-child(3) {
  z-index: 3;
}

.rating .rating-form-group .star-label:nth-child(4) {
  z-index: 2;
}

.rating .rating-form-group .star-label:nth-child(5) {
  z-index: 1;
}

.rating .rating-form-group .star-label input {
  display: none;
}

.rating .rating-form-group .star-label .icon {
  float: left;
  color: transparent;
}

.rating .rating-form-group .star-label:last-child .icon {
  color: #999;
}

.rating .rating-form-group:not(:hover) label input:checked~.icon,
.rating .rating-form-group:hover label:hover input~.icon {
  color: #ffc363;
}

.rating .rating-form-group label input:focus:not(:checked)~.icon:last-child {
  color: #e5e5e5;
  text-shadow: 0 0 5px #ffc363;
}

.review-input {
  background: #f8f8f8;
}

.review-input:focus {
  border-color: #0068e1;
}

.review-label {
  color: #000 !important;
  text-transform: capitalize;
}

/* share modal */

.copy-link input {
  width: 100%;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  transition: all 0.3s;
  padding-right: 75px;
}

.copy-link span {
  text-align: center;
  position: absolute;
  top: 9px;
  right: 10px;
  cursor: pointer;
  padding-left: 20px;
  font-size: 14px;
  font-weight: normal;
}

.custom-modal__form.share .share-link {
  width: 35px;
  height: 35px;
  color: hsl(var(--white));
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  margin-bottom: 15px;
}

.custom-modal__form.share .share-link:last-of-type {
  margin-right: 0;
}

.custom-modal__form.share .share-link.facebook {
  background: #1877f2;
}

.custom-modal__form.share .share-link.pinterest {
  background: #e60023;
}

.custom-modal__form.share .share-link.linkedin {
  background: #0077b5;
}

.custom-modal__form.share .share-link.twitter {
  background: #1da1f2;
}

.copy-link span {
  top: 13px;
}

.accordion-button:not(.collapsed) {
  color: hsl(var(--base));
}

.empty-slip-message {
  display: grid;
  place-content: center;
  color: #cfcfcf;
  font-size: 0.8754rem;
  font-family: inherit;
  height: 160px;
}

.empty-slip-message img {
  height: 90px;
}

/* ////////////////// select 2 css //////////////// */
.select2-dropdown {
  border: 0 !important;
  margin-top: 8px !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 9px rgba(50, 50, 9, 0.05), 6px 4px 19px rgb(115 103 240 / 20%)
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: hsl(var(--base)) !important;
  padding: 10px 20px;
  background: transparent !important;
  color: hsl(var(--black)) !important;
  border-radius: 4px;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 12px 14px !important;
  border-bottom: 1px solid #eee;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  padding: 12px 14px !important;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar {
  width: 8px;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb {
  background: #ddd;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 50%;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: .3s;
  transform: translateY(-50%);
  color: hsl(var(--black)) !important;
}

.selection {
  width: 100%;
}

.select2-selection.select2-selection--single {
  background: hsl(var(--white));
  border-color: hsl(var(--black)/.2) !important;
  color: hsl(var(--black)) !important;
  padding: 10px !important;
  line-height: 1.2;
  height: 46px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
}

.select2-container--default .select2-selection--single {
  border-radius: 10px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:after {
  content: "\f106";
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: hsl(var(--black));
  line-height: 23px !important;
}

.select2-results__option:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.select2-results__option:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #f1f1f1 !important;
  color: #000 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  box-shadow: 0 0 25px rgba(115, 103, 240 0.071) !important;
  outline: 0 !important;
}

.select2-dropdown .country-flag {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.select2-dropdown {
  background-color: hsl(var(--white)) !important;
}

.select2-dropdown .gateway-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px !important;
}

.select2-dropdown .gateway-subtitle {
  font-size: 12px;
  margin-bottom: 0px !important;
}

.select2-container--open .select2-selection.select2-selection--single,
.select2-container--open .select2-selection.select2-selection--multiple {
  border-color: hsl(var(--base)) !important;
  border-radius: 10px !important;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: hsl(var(--black)/.1) !important;
  color: hsl(var(--black)) !important;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  border: 1px solid hsl(var(--white)/.1) !important;
}


.gateway-card {
  padding: 15px;
}

.payment-item__btn-text {
  color: #fff;
}

.payment-item__btn__icon {
  color: #fff;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: rgb(var(--main));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: rgb(var(--main));
  background-color: rgb(var(--main));
  border-radius: 5px;
  height: 100%;

}


.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding: 4px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;

}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: hsl(var(--base));
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border: 1px solid #fff;
  transition: all 0.3s;
}

.payment-item:first-child {
  border-top-color: #fff;
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid hsl(var(--base));
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid hsl(var(--base));
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width))
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid hsl(var(--base)/.5);
  display: inline-block;
  border-radius: 100%;

}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
}

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;

  &:has(.text) {
    width: fit-content;
  }
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
}


.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid var(--border-color);
  border-radius: 5px;

  .deposit-info__input-group-text {
    align-self: center;
    padding: 0px 6px;
  }

}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;

}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 600;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: hsl(var(--base));
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}

/* Language */

.dropdown-lang {
  margin-left: 30px !important;
}

@media (max-width: 1199px) {
  .dropdown-lang {
    margin-left: 0px !important;
  }
}

.dropdown-lang .language-btn .flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
}

.dropdown-lang .language-btn::after {
  color: hsl(var(--body-color));
}

.dropdown-lang .language-text {
  color: hsl(var(--body-color));
  font-size: 16px;
}

.dropdown-lang .dropdown-menu {
  width: 112px !important;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 10px !important;
  max-height: 370px;
  overflow-y: auto;
  background-color: #fff;
  z-index: 999;
  box-shadow: var(--box-shadow);
  transform: inherit;
  min-width: 130px !important;
  margin-top: 20px;

}

.dropdown-lang .dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.dropdown-lang .dropdown-menu a {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
  color: #000 !important;
  transition: 0.3s;
  padding-bottom: 6px;
  border-bottom: 1px solid #f3f3f3;
}

.dropdown-lang .dropdown-menu a:hover {
  color: hsl(var(--base));
}

.dropdown-lang .dropdown-menu li:last-child a {
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.dropdown-lang .dropdown-menu a .flag {
  width: 20px;
  margin-right: 10px;
  height: 15px;
}

.dropdown-lang .dropdown-menu li:last-child a {
  margin-bottom: 0px;
}

.dropdown-lang .a {
  color: #fff !important;
}

.card-empty {
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 1.391rem + 1.268vw, 2.5rem) clamp(1.5rem, 0.283rem + 2.536vw, 2.5rem);
}

.card-empty img {
  height: 100px;
}

.card-empty .empty-thumb {
  text-align: center;
  margin-bottom: 10px;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  background-color: hsl(var(--base)) !important;
}

/* ==========================================================================
   ALFAGN ACADEMY - WORLD-CLASS MODERN DESIGN SYSTEM & 60FPS ANIMATIONS
   ========================================================================== */

/* 1. Global Typography & Foundation */
:root {
  --font-heading: 'Outfit', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;

  --brand-primary: #6352F4;
  --brand-primary-light: #8B7EFF;
  --brand-primary-dark: #4735DE;
  --brand-glow: rgba(99, 82, 244, 0.35);
  --brand-glow-lg: rgba(99, 82, 244, 0.15);

  --surface-card: #ffffff;
  --surface-card-subtle: #f8fafc;
  --surface-border: rgba(226, 232, 240, 0.8);
  --surface-border-hover: rgba(99, 82, 244, 0.4);

  --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(99, 82, 244, 0.18), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 30px rgba(99, 82, 244, 0.3);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
  font-family: var(--font-body) !important;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.courses-title,
.banner-title {
  font-family: var(--font-heading) !important;
  letter-spacing: -0.025em;
  font-weight: 700;
}

/* 2. Ultra-Professional Loading Screen (Preloader) */
.preloader {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999999 !important;
  background: radial-gradient(circle at 50% 35%, #18153d 0%, #0c0a22 55%, #050410 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1;
  visibility: visible;
  animation: preloaderAutoDismiss 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform, visibility;
}

@keyframes preloaderAutoDismiss {
  0%, 75% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
  }
}

.preloader.preloader--hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(1.04) !important;
  pointer-events: none !important;
  display: none !important;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  max-width: 440px;
  position: relative;
  z-index: 2;
}

.preloader-emblem {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.preloader-glow-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 175px;
  height: 175px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99, 82, 244, 0.6) 0%, rgba(99, 82, 244, 0) 70%);
  border-radius: 50%;
  filter: blur(16px);
  animation: emblemPulse 2.4s ease-in-out infinite alternate;
}

.preloader-orbital-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: #8B7EFF;
  border-right-color: #6352F4;
  animation: orbitalSpin 2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
  box-shadow: 0 0 20px rgba(99, 82, 244, 0.45);
}

.preloader-orbital-ring--reverse {
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  border-top-color: transparent;
  border-bottom-color: #38bdf8;
  border-left-color: #a855f7;
  animation: orbitalSpinReverse 3s linear infinite;
  opacity: 0.7;
}

.preloader-logo-wrap {
  position: relative;
  z-index: 3;
  width: 120px;
  height: 120px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.4);
  animation: logoFloat 3s ease-in-out infinite;
}

.preloader-icon {
  width: 95px;
  height: 95px;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.28));
}

.preloader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.preloader-brand-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 20%, #c7d2fe 60%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  text-shadow: 0 4px 20px rgba(99, 82, 244, 0.3);
}

.preloader-brand-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preloader-progress-track {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 45%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #6352F4, #a855f7, #38bdf8);
  box-shadow: 0 0 12px #6352F4;
  animation: laserSweep 1.6s ease-in-out infinite;
}

.preloader-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.preloader-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: statusBlink 1.4s ease-in-out infinite;
}

.preloader-status-text {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 500;
}

@keyframes orbitalSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes orbitalSpinReverse {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes emblemPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.25);
    opacity: 0.9;
  }
}

@keyframes logoFloat {

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

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

@keyframes laserSweep {
  0% {
    left: -45%;
    width: 30%;
  }

  50% {
    width: 60%;
  }

  100% {
    left: 100%;
    width: 30%;
  }
}

@keyframes statusBlink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

/* 3. Modern Floating Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.header.is-sticky {
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.97);
}

.header-navbar {
  padding: 14px 0;
}

.navbar-brand img {
  height: 80px !important;
  max-height: 85px !important;
  width: auto !important;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.navbar-brand:hover img {
  transform: scale(1.03);
}

.nav-menu .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: #334155 !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition-smooth);
}

.nav-menu .nav-link:hover,
.nav-menu .nav-item.active .nav-link {
  color: var(--brand-primary) !important;
  background: rgba(99, 82, 244, 0.06);
}

.navbar-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn--rounded {
  border-radius: var(--radius-full) !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.01em;
  transition: var(--transition-smooth) !important;
  box-shadow: var(--shadow-sm);
}

.btn--base {
  background: linear-gradient(135deg, #6352F4 0%, #4f46e5 100%) !important;
  color: #ffffff !important;
  border: none !important;
}

.btn--base:hover {
  background: linear-gradient(135deg, #5340eb 0%, #4338ca 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg) !important;
}

.btn--light-two {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
}

.btn--light-two:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  transform: translateY(-2px);
}

/* 4. Banner / Hero Section Styling */
.banner {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(99, 82, 244, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(56, 189, 248, 0.06) 0%, transparent 40%);
}

.banner-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(99, 82, 244, 0.08);
  border: 1px solid rgba(99, 82, 244, 0.2);
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(99, 82, 244, 0.1);
  animation: badgeGlow 3s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
  0% {
    box-shadow: 0 2px 10px rgba(99, 82, 244, 0.1);
  }

  100% {
    box-shadow: 0 4px 18px rgba(99, 82, 244, 0.25);
  }
}

.banner-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem) !important;
  line-height: 1.18 !important;
  margin-bottom: 20px !important;
  color: #0f172a;
}

.banner-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #475569;
  max-width: 580px;
  margin-bottom: 30px;
}

.banner-btn-join {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px !important;
  font-size: 16px !important;
}

.banner-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.banner-img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Floating Hero Cards */
.banner-floating-cards {
  position: absolute;
  right: -20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.floating-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  animation: cardFloat 4s ease-in-out infinite alternate;
}

.floating-card:nth-child(2) {
  animation-delay: 1.5s;
}

.floating-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 82, 244, 0.3);
}

@keyframes cardFloat {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

.floating-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99, 82, 244, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  color: #0f172a;
}

.floating-card-info {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Keywords Pills */
.banner-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.banner-keywords-link {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.banner-keywords-link:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 82, 244, 0.2);
}

/* 5. Curricula / Schools Grid (.courses section) */
.courses {
  background: #0f172a !important;
  position: relative;
}

.courses-card {
  background: rgba(30, 41, 59, 0.7) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-lg) !important;
  padding: 24px !important;
  transition: var(--transition-smooth) !important;
  display: block;
  text-decoration: none;
  height: 100%;
}

.courses-card:hover {
  background: rgba(30, 41, 59, 0.95) !important;
  border-color: rgba(99, 82, 244, 0.5) !important;
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px -15px rgba(99, 82, 244, 0.4) !important;
}

.courses-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.courses-card:hover .courses-card-icon {
  background: rgba(99, 82, 244, 0.2);
  border-color: var(--brand-primary);
  transform: scale(1.08);
}

.courses-card-title {
  color: #f8fafc !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.courses-card-meta {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.courses-card-meta-item .text {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

/* 6. Connected Process Steps (How It Works) */
.how-it-works {
  background: #f8fafc;
}

.why-join-reason {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-join-reason:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 82, 244, 0.3);
  box-shadow: var(--shadow-md);
}

.why-join-reason-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  background: rgba(99, 82, 244, 0.1) !important;
  color: var(--brand-primary) !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition-smooth);
}

.why-join-reason:hover .why-join-reason-icon {
  background: var(--brand-primary) !important;
  color: #ffffff !important;
  transform: scale(1.08) rotate(-4deg);
}

.why-join-reason-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.why-join-reason-description {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* 7. Modern Course Cards */
.course-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  transition: var(--transition-smooth) !important;
  background: #ffffff !important;
  box-shadow: var(--shadow-sm) !important;
  text-decoration: none !important;
}

.course-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(99, 82, 244, 0.35) !important;
  box-shadow: var(--shadow-lg) !important;
}

.course-card .card-header {
  padding: 0;
  background: transparent;
  border: none;
  position: relative;
  overflow: hidden;
}

.course-card-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover .course-card-thumb {
  transform: scale(1.06);
}

.course-card .card-body {
  padding: 22px;
}

.course-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-school {
  font-size: 13px;
  color: var(--brand-primary) !important;
  font-weight: 600;
}

.course-card-duration {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}

.review-card-ratings i {
  color: #f59e0b;
  font-size: 14px;
}

.course-card .card-footer {
  padding: 16px 22px 22px;
  background: transparent;
  border-top: 1px solid #f1f5f9;
}

.course-card-btn-enroll {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  border-radius: var(--radius-full) !important;
  transition: var(--transition-smooth) !important;
}

.course-card:hover .course-card-btn-enroll {
  background: var(--brand-primary) !important;
  color: #ffffff !important;
  border-color: var(--brand-primary) !important;
  box-shadow: 0 4px 14px rgba(99, 82, 244, 0.35);
}

/* 8. WORLD-CLASS TEACHER CARDS */
.our-teachers {
  background: radial-gradient(circle at 50% 10%, rgba(99, 82, 244, 0.05) 0%, transparent 60%), #ffffff;
}

.teacher-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-bounce);
  position: relative;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.teacher-card:hover {
  transform: translateY(-10px);
  border-color: rgba(99, 82, 244, 0.4);
  box-shadow: var(--shadow-lg);
}

.teacher-avatar-wrapper {
  position: relative;
  width: 108px;
  height: 108px;
  margin-bottom: 20px;
}

.teacher-avatar-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #6352F4 0%, #a855f7 50%, #38bdf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.teacher-card:hover .teacher-avatar-ring {
  transform: scale(1.06);
  box-shadow: 0 0 24px rgba(99, 82, 244, 0.4);
}

.teacher-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ffffff;
}

.teacher-verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.teacher-card-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  transition: var(--transition-smooth);
}

.teacher-card:hover .teacher-card-name {
  color: var(--brand-primary);
}

.teacher-card-title {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(99, 82, 244, 0.08);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.teacher-card-spec {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.4;
}

/* 9. Final Call To Action */
.final-cta {
  background: linear-gradient(135deg, #3730a3 0%, #6352F4 50%, #4338ca 100%) !important;
  border-radius: var(--radius-lg);
  margin: 40px auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(99, 82, 244, 0.4);
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* 10. Modern Streamlined Footer */
.footer {
  background: #090d16;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer h6 {
  color: #f8fafc !important;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.footer-links a,
.footer-menu-link {
  color: #94a3b8 !important;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-links a:hover,
.footer-menu-link:hover {
  color: #ffffff !important;
  padding-left: 4px;
}

/* 11. High Performance Scroll Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

/* ==========================================================================
   STRICT NO-UNDERLINES RULE (Global)
   ========================================================================== */
a,
a:hover,
a:focus,
a:active,
.nav-link,
.dropdown-item,
.footer-links a,
.course-card,
.teacher-card,
.courses-card,
.btn,
button,
.banner-keywords-link,
.scroll-top {
  text-decoration: none !important;
}

/* ==========================================================================
   FACEBOOK-STYLE TEACHER PROFILE
   ========================================================================== */
.teacher-cover-banner {
  height: 260px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 70%, #6352F4 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding-top: 30px;
}

.teacher-cover-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(168, 85, 247, 0.25) 0%, transparent 50%);
  opacity: 0.9;
}

.teacher-cover-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

.teacher-profile-header-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: -90px;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

.teacher-profile-avatar-box {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
}

.teacher-profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #ffffff;
  box-shadow: 0 10px 25px rgba(99, 82, 244, 0.3);
  background: #ffffff;
}

.teacher-profile-verified {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}

.teacher-profile-name {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.teacher-profile-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.teacher-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 82, 244, 0.1);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.teacher-profile-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.teacher-profile-stats-strip {
  border-top: 1px solid #f1f5f9;
}

.profile-stat-box {
  padding: 10px;
}

.profile-stat-number {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.profile-stat-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   1. CURRICULA & SCHOOLS REDESIGN (No Ugly Bottom Box, Full Cover Artwork)
   ========================================================================== */
.curricula-section {
  background: #ffffff;
  position: relative;
}

.curriculum-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  text-decoration: none !important;
}

.curriculum-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 82, 244, 0.4);
  box-shadow: 0 20px 35px -5px rgba(99, 82, 244, 0.18);
}

.curriculum-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.curriculum-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.curriculum-card:hover .curriculum-card-img {
  transform: scale(1.08);
}

.curriculum-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.curriculum-card-title {
  color: #0f172a;
  font-weight: 800;
  font-size: 19px;
  font-family: var(--font-heading);
  transition: color 0.25s ease;
}

.curriculum-card:hover .curriculum-card-title {
  color: var(--brand-primary);
}

.curriculum-card-arrow {
  transition: transform 0.25s ease;
}

.curriculum-card:hover .curriculum-card-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   2. HOW ALFAGN WORKS — KINETIC HOVER ANIMATION (Motion, not just color)
   ========================================================================== */
.how-it-works-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.how-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.how-step-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(99, 82, 244, 0.4);
  box-shadow: 0 25px 40px -10px rgba(99, 82, 244, 0.2);
}

.how-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.how-step-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(99, 82, 244, 0.1);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Specific Kinetic Micro-Motions on Hover */
.how-step-card--1:hover .how-step-icon-box {
  transform: translateY(-6px) rotate(-10deg) scale(1.15);
  box-shadow: 0 10px 20px rgba(99, 82, 244, 0.35);
  background: var(--brand-primary);
  color: #ffffff;
}

.how-step-card--2:hover .how-step-icon-box {
  transform: rotate(18deg) scale(1.2);
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.35);
  background: #a855f7;
  color: #ffffff;
}

.how-step-card--3:hover .how-step-icon-box {
  transform: scale(1.25);
  animation: pulseRipple 1.2s infinite;
  background: var(--brand-primary);
  color: #ffffff;
}

.how-step-card--4:hover .how-step-icon-box {
  transform: translateY(-5px) rotate(8deg) scale(1.15);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.35);
  background: #10b981;
  color: #ffffff;
}

@keyframes pulseRipple {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 82, 244, 0.6);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(99, 82, 244, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(99, 82, 244, 0);
  }
}

.how-step-badge {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.how-step-card:hover .how-step-badge {
  color: var(--brand-primary);
  background: rgba(99, 82, 244, 0.12);
  transform: translateY(-2px);
}

.how-step-title {
  color: #0f172a;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.how-step-desc {
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ==========================================================================
   3. WHY ALFAGN ACADEMY — LUXURY FEATURE SHOWCASE
   ========================================================================== */
.why-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.why-feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 82, 244, 0.35);
  box-shadow: 0 20px 35px -5px rgba(99, 82, 244, 0.15);
}

.why-feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.why-feature-icon-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
  pointer-events: none;
}

.why-feature-card:hover .why-feature-icon-wrapper {
  transform: scale(1.15) translateY(-3px) rotate(4deg);
}

.why-feature-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 16px;
  font-family: var(--font-heading);
}

.why-trust-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.why-trust-star {
  color: #f59e0b;
  font-size: 18px;
}

/* ==========================================================================
   4. TEACHERS MOVING MARQUEE (Infinite loop, centered, pauses on hover)
   ========================================================================== */
.teachers-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 15px 0 25px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.teachers-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: teachersMarqueeScroll 75s linear infinite;
  will-change: transform;
}

.teachers-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes teachersMarqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.teacher-marquee-item {
  width: 280px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .teachers-marquee-track {
    animation-duration: 55s;
    gap: 16px;
  }

  .teacher-marquee-item {
    width: 240px;
  }
}

/* ==========================================================================
   5. NAVBAR TUNING & GLASSMORPHISM
   ========================================================================== */
.header {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
  transition: all 0.3s ease;
}

.header-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 2px 0;
}

.header-navbar .navbar-brand img {
  height: 66px !important;
  max-height: 72px !important;
  width: auto !important;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.header-navbar .navbar-brand:hover img {
  transform: scale(1.04);
}

/* Explore / Schools button next to logo matching Educrat */
.header-explore-dropdown {
  position: relative;
}

.header-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 12px;
  background: rgba(99, 82, 244, 0.07);
  border: 1px solid rgba(99, 82, 244, 0.16);
  color: #140342 !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  cursor: pointer;
}

.header-explore-btn:hover,
.header-explore-btn:focus,
.header-explore-dropdown.show .header-explore-btn {
  background: rgba(99, 82, 244, 0.12);
  border-color: #6352f4;
  color: #6352f4 !important;
  box-shadow: 0 4px 14px rgba(99, 82, 244, 0.18);
}

.header-explore-icon {
  font-size: 1.25rem;
  color: #6352f4;
  transition: transform 0.25s ease;
}

.header-explore-btn:hover .header-explore-icon {
  transform: rotate(90deg);
}

.header-explore-chevron {
  font-size: 0.8rem;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 2px;
}

.header-explore-dropdown:hover .header-explore-chevron,
.header-explore-dropdown.show .header-explore-chevron {
  transform: rotate(180deg);
}

.educrat-schools-menu {
  border-radius: 16px;
  border: 1px solid rgba(99, 82, 244, 0.15);
  box-shadow: 0 18px 40px -8px rgba(20, 3, 66, 0.15);
  padding: 10px;
  margin-top: 10px;
  min-width: 250px;
  background: #ffffff;
  transform-origin: top left;
  animation: dropdownFadeScale 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
}

@media (min-width: 992px) {
  .header-navbar {
    flex-wrap: nowrap !important;
  }

  .header-navbar .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
    flex-grow: 1 !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .header-navbar .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .header-navbar .nav-menu .nav-item {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header-navbar .navbar-buttons {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: 16px !important;
    flex-shrink: 0 !important;
  }
}

.header-navbar .nav-link {
  color: #334155 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-full) !important;
  transition: all 0.25s ease !important;
}

.header-navbar .nav-link:hover {
  color: var(--brand-primary) !important;
  background: rgba(99, 82, 244, 0.08) !important;
}

.header-navbar .nav-item.active .nav-link {
  color: #6352f4 !important;
  background: #f0eefc !important;
  border-radius: 20px !important;
  padding: 7px 18px !important;
}

.header-navbar .nav-item.dropdown .nav-item__icon i {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  font-size: 0.8rem;
  margin-left: 4px;
}

.header-navbar .nav-item.dropdown:hover .nav-item__icon i,
.header-navbar .nav-item.dropdown.show .nav-item__icon i {
  transform: rotate(180deg);
  color: #6352f4;
}

.header-navbar .dropdown-menu {
  border-radius: 16px;
  border: 1px solid rgba(99, 82, 244, 0.15);
  box-shadow: 0 18px 40px -8px rgba(20, 3, 66, 0.15);
  padding: 10px;
  margin-top: 10px;
  min-width: 230px;
  background: #ffffff;
  transform-origin: top center;
  animation: dropdownFadeScale 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeScale {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

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

.header-navbar .dropdown-item {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.22s ease;
}

.header-navbar .dropdown-item i {
  font-size: 1.2rem;
  color: #6352f4;
  transition: transform 0.22s ease;
}

.header-navbar .dropdown-item:hover {
  background: rgba(99, 82, 244, 0.08);
  color: #6352f4;
  transform: translateX(4px);
}

[dir="rtl"] .header-navbar .dropdown-item:hover {
  transform: translateX(-4px);
}

.header-navbar .dropdown-item:hover i {
  transform: scale(1.18);
}

.header-nav-divider {
  width: 1px;
  height: 26px;
  background: #e2e8f0;
  margin: 0 16px;
}

.header-navbar .navbar-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-navbar .navbar-login-link {
  font-weight: 600;
  font-size: 15px;
  color: #1e293b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.header-navbar .navbar-login-link:hover {
  color: #6352f4;
  background: rgba(99, 82, 244, 0.06);
}

.header-navbar .navbar-login-link i {
  font-size: 1.15rem;
}

.header-navbar .navbar-register-btn {
  font-weight: 600;
  font-size: 15px;
  padding: 8px 22px;
  border-radius: 20px;
  background: #6352f4;
  color: #ffffff !important;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(99, 82, 244, 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
}

.header-navbar .navbar-register-btn:hover {
  background: #5027fa;
  box-shadow: 0 6px 20px rgba(99, 82, 244, 0.45);
  transform: translateY(-2px);
}

.header-navbar .navbar-register-btn i {
  font-size: 1.1rem;
}

/* ==========================================================================
   6. ABOUT TEASER SECTION (Side Image, floating badges, highlight icons)
   ========================================================================== */
.about-teaser {
  background: #ffffff;
}

.about-highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99, 82, 244, 0.1);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.about-highlights>div:hover .about-highlight-icon {
  background: var(--brand-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.about-image-wrapper {
  position: relative;
  padding: 20px;
}

.about-image-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #0f172a;
  transition: transform 0.4s ease;
}

.about-image-card:hover {
  transform: translateY(-4px);
}

.about-main-img {
  width: 100%;
  height: auto;
  display: block;
}

.about-floating-badge {
  position: absolute;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: floatingBadgeFloat 4s ease-in-out infinite;
}

.about-badge-1 {
  bottom: 0px;
  left: 0px;
}

.about-badge-2 {
  top: 5px;
  right: 5px;
  animation-delay: 2s;
}

.about-floating-badge i {
  font-size: 26px;
  color: var(--brand-primary);
  background: rgba(99, 82, 244, 0.1);
  padding: 8px;
  border-radius: 10px;
}

@keyframes floatingBadgeFloat {

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

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

@media (max-width: 991px) {
  .about-floating-badge {
    position: static;
    margin-top: 15px;
    animation: none;
  }
}

/* ==========================================================================
   7. COURSE CATALOG & CURRICULUM FILTERS
   ========================================================================== */
.courses-catalog-section {
  background: #f8fafc;
}

.curricula-filter-bar {
  padding-bottom: 8px;
}

.curriculum-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.curriculum-filter-pill:hover {
  background: #f1f5f9;
  color: var(--brand-primary);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.curriculum-filter-pill.active {
  background: linear-gradient(135deg, #6352f4 0%, #4338ca 100%);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(99, 82, 244, 0.35);
  transform: translateY(-2px);
}

.curriculum-filter-pill .pill-count {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.08);
  color: #475569;
}

.curriculum-filter-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.courses-controls-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.course-search-group .form-control {
  border-color: #e2e8f0;
  box-shadow: none;
  font-size: 0.95rem;
}

.course-search-group .form-control:focus {
  border-color: var(--brand-primary);
}

.course-card-premium {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.course-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
  border-color: rgba(99, 82, 244, 0.3);
}

.course-card-thumb-wrap {
  height: 210px;
  overflow: hidden;
}

.course-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card-premium:hover .course-card-img {
  transform: scale(1.06);
}

.course-badge-floating {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.course-grade-badge-floating {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(99, 82, 244, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.course-card-title-main {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}

.course-card-title-main a {
  color: hsl(var(--heading-color));
  transition: color 0.2s ease;
}

.course-card-title-main a:hover {
  color: var(--brand-primary);
}

.course-difficulty-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 8px;
}

.course-teacher-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #6352f4;
  flex-shrink: 0;
}

.course-teacher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-link-hover:hover span {
  color: var(--brand-primary) !important;
}

/* ==========================================================================
   8. CUSTOM PAGINATION CARD & SORT CONTROLS (Pixel-matched to user mockups)
   ========================================================================== */
.custom-pagination-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 28px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.pagination-info {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}

.pagination-info strong {
  color: #0f172a;
  font-weight: 700;
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.pagination-number:hover {
  background: #f1f5f9;
  color: var(--brand-primary);
}

.pagination-number.active {
  background: #6352f4;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(99, 82, 244, 0.35);
}

.pagination-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 1rem;
}

.pagination-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #6352f4;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(99, 82, 244, 0.35);
  font-size: 1.15rem;
}

.pagination-arrow:hover {
  background: #4f3df0;
  transform: scale(1.06);
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .custom-pagination-card {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 16px;
  }
}

/* Sort Controls matching Image 2 */
.sort-by-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
}

.course-sort-select {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 36px 8px 14px;
  font-size: 0.92rem;
  color: #1e293b;
  font-weight: 500;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.course-sort-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(99, 82, 244, 0.12);
}

.course-count-pill {
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 8px 18px;
  background: #ffffff;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.course-count-pill strong {
  color: #0f172a;
}

/* ==========================================================================
   School Hero Showcase (Unified Background + Side 3D Artwork Masterpiece)
   ========================================================================== */
.school-hero-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 70px 0 65px;
  background:
    radial-gradient(circle at 80% 30%, rgba(129, 140, 248, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 15% 70%, rgba(99, 82, 244, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(67, 56, 202, 0.2) 0%, transparent 60%),
    linear-gradient(135deg, #140742 0%, #200e62 35%, #341f94 70%, #291580 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.school-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.school-hero-banner::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 60px rgba(99, 82, 244, 0.15);
  pointer-events: none;
  z-index: 1;
}

.school-hero-banner .custom--container {
  position: relative;
  z-index: 2;
}

.school-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  color: #c7d2fe;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.badge-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulseDot 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(56, 189, 248, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

.school-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.school-hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(241, 245, 249, 0.85) !important;
  max-width: 600px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.school-hero-stats {
  margin-top: 26px;
}

.school-hero-stat-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.school-hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.school-hero-stat-card .stat-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(99, 82, 244, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c7d2fe;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.school-hero-stat-card .stat-meta strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.school-hero-stat-card .stat-meta span {
  display: block;
  font-size: 0.72rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* 3D Showcase Card on the Right */
.school-showcase-wrapper {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}

.school-showcase-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(99, 82, 244, 0.5) 0%, rgba(139, 92, 246, 0.28) 45%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.school-showcase-card {
  position: relative;
  z-index: 2;
  border-radius: 22px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px -12px rgba(8, 3, 30, 0.65), 0 0 35px rgba(99, 82, 244, 0.25);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.school-showcase-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 30px 70px -12px rgba(8, 3, 30, 0.75), 0 0 45px rgba(99, 82, 244, 0.4);
  border-color: rgba(255, 255, 255, 0.35);
}

.school-showcase-img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Floating Accent Badges */
.floating-accent-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(20, 9, 62, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.floating-accent-badge.badge-top {
  top: -14px;
  right: -14px;
}

[dir="rtl"] .floating-accent-badge.badge-top {
  right: auto;
  left: -14px;
}

.floating-accent-badge.badge-bottom {
  bottom: -14px;
  left: -14px;
  animation-delay: 2s;
}

[dir="rtl"] .floating-accent-badge.badge-bottom {
  left: auto;
  right: -14px;
}

@keyframes floatBadge {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-6px);
  }
}

.floating-accent-badge .badge-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #6352f4 0%, #4338ca 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
}

.floating-accent-badge .badge-text-wrap {
  display: flex;
  flex-direction: column;
}

.floating-accent-badge .badge-sub {
  font-size: 0.65rem;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  line-height: 1.2;
}

.floating-accent-badge .badge-title {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

/* ==========================================================================
   Homepage Hero Video Showcase
   ========================================================================== */
.banner-video-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.banner-video-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 105%;
  height: 105%;
  background: radial-gradient(circle, rgba(99, 82, 244, 0.45) 0%, rgba(129, 140, 248, 0.22) 50%, transparent 75%);
  filter: blur(35px);
  z-index: 1;
  pointer-events: none;
}

.banner-video-frame {
  position: relative;
  z-index: 2;
  border-radius: 26px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(99, 82, 244, 0.25);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 35px rgba(99, 82, 244, 0.22);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-video-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.35), 0 0 45px rgba(99, 82, 244, 0.35);
  border-color: rgba(99, 82, 244, 0.45);
}

.banner-hero-video {
  width: 100%;
  height: auto;
  min-height: 380px;
  max-height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 25px;
}

.banner-hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.banner-hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108%;
  height: 108%;
  background: radial-gradient(circle, rgba(99, 82, 244, 0.45) 0%, rgba(129, 140, 248, 0.2) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.banner-hero-frame {
  position: relative;
  z-index: 2;
  border-radius: 26px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(99, 82, 244, 0.25);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 35px rgba(99, 82, 244, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-hero-frame:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 35px 65px -12px rgba(15, 23, 42, 0.35), 0 0 50px rgba(99, 82, 244, 0.35);
  border-color: rgba(99, 82, 244, 0.5);
}

.banner-hero-img {
  width: 100%;
  height: auto;
  min-height: 380px;
  max-height: 490px;
  object-fit: cover;
  display: block;
  border-radius: 25px;
}

/* ==========================================================================
   Educrat-Style Course Details Page (Matching https://new.iss.com.eg/courses/)
   ========================================================================== */
.educrat-course-header {
  background: #f8fafc;
  border-bottom: 1px solid #e8ebf2;
  padding: 42px 0 36px;
}

.educrat-breadcrumb {
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.educrat-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.educrat-breadcrumb li a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.educrat-breadcrumb li a:hover {
  color: var(--brand-primary, #6440fb);
}

.educrat-breadcrumb li:after {
  content: "/";
  margin-left: 8px;
  color: #cbd5e1;
}

.educrat-breadcrumb li:last-child:after {
  content: "";
}

.educrat-breadcrumb li.active {
  color: #1e293b;
  font-weight: 500;
}

.educrat-category-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  background: rgba(100, 64, 251, 0.08);
  color: #6440fb;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.educrat-category-badge:hover {
  background: #6440fb;
  color: #ffffff;
}

.educrat-course-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #140342;
  line-height: 1.3;
  margin-bottom: 16px;
}

.educrat-course-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  font-size: 0.9375rem;
  color: #4f547b;
  margin-bottom: 20px;
}

.educrat-course-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.educrat-course-meta-item i {
  color: #6440fb;
  font-size: 1.15rem;
}

.educrat-rating-stars {
  color: #f59e0b;
  display: inline-flex;
  gap: 2px;
}

.educrat-author-byline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.educrat-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(20, 3, 66, 0.08);
}

.educrat-author-name {
  font-weight: 600;
  color: #140342;
  text-decoration: none;
  transition: color 0.2s;
}

.educrat-author-name:hover {
  color: #6440fb;
}

/* Educrat Nav Tabs */
.educrat-nav-tabs-wrapper {
  position: sticky;
  top: 70px;
  z-index: 10;
  background: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid #e8ebf2;
  margin-bottom: 30px;
}

.educrat-nav-tabs {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
}

.educrat-nav-tab-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #4f547b;
  text-decoration: none;
  transition: all 0.2s ease;
}

.educrat-nav-tab-link:hover,
.educrat-nav-tab-link.active {
  background: rgba(100, 64, 251, 0.08);
  color: #6440fb;
}

/* Educrat White Box */
.educrat-box-white {
  background: #ffffff;
  border: 1px solid #e8ebf2;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(20, 3, 66, 0.03);
}

.educrat-box-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #140342;
  margin-bottom: 20px;
}

/* Educrat "What Will You Learn" Card */
.educrat-learn-box {
  background: #f7f8fb;
  border: 1px solid #e8ebf2;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 30px;
}

.educrat-learn-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.educrat-learn-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #4f547b;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.educrat-learn-item i {
  color: #6440fb;
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Educrat Curriculum Accordion */
.educrat-accordion .accordion-item {
  border: 1px solid #e8ebf2;
  border-radius: 12px !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: none;
}

.educrat-accordion .accordion-button {
  background: #fbfbfd;
  color: #140342;
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 22px;
  box-shadow: none;
  border: none;
}

.educrat-accordion .accordion-button:not(.collapsed) {
  background: #f4f5fa;
  color: #6440fb;
}

.educrat-lesson-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #f1f3f8;
  transition: background 0.2s;
  color: #4f547b;
}

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

.educrat-lesson-row:hover {
  background: #f8fafc;
}

.educrat-lesson-left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  transition: color 0.2s;
}

.educrat-lesson-left:hover {
  color: #6440fb;
}

.educrat-lesson-left i {
  color: #6440fb;
  font-size: 1.25rem;
}

.educrat-lesson-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Educrat Instructor Card */
.educrat-instructor-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 576px) {
  .educrat-instructor-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.educrat-instructor-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(100, 64, 251, 0.15);
  flex-shrink: 0;
}

.educrat-instructor-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #140342;
  margin-bottom: 4px;
}

.educrat-instructor-info .job-title {
  color: #6440fb;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.educrat-instructor-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: #64748b;
}

.educrat-instructor-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.educrat-instructor-stats i {
  color: #6440fb;
}

/* Educrat Course Details Sidebar */
.educrat-course-widget {
  background: #ffffff;
  border: 1px solid #e8ebf2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 3, 66, 0.05);
  position: sticky;
  top: 90px;
}

.educrat-course-thumb-wrap {
  position: relative;
  overflow: hidden;
}

.educrat-course-thumb-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.educrat-thumb-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  color: #6440fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}

.educrat-thumb-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  color: #5027fa;
  box-shadow: 0 12px 30px rgba(100, 64, 251, 0.4);
}

.educrat-course-widget-body {
  padding: 28px;
}

.educrat-price-box {
  margin-bottom: 20px;
}

.educrat-price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #140342;
}

.educrat-price-amount.is-free {
  color: #10b981;
}

.educrat-btn-enroll {
  background: #6440fb;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px;
  border-radius: 12px;
  width: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.educrat-btn-enroll:hover {
  background: #5027fa;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(100, 64, 251, 0.35);
  transform: translateY(-2px);
}

.educrat-btn-wishlist {
  background: transparent;
  border: 1px solid #e2e8f0;
  color: #140342;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px;
  border-radius: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  transition: all 0.2s ease;
}

.educrat-btn-wishlist:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #6440fb;
}

.educrat-spec-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  border-top: 1px solid #f1f3f8;
  padding-top: 20px;
}

.educrat-spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid #f8fafc;
}

.educrat-spec-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4f547b;
}

.educrat-spec-label i {
  color: #6440fb;
  font-size: 1.15rem;
}

.educrat-spec-value {
  font-weight: 600;
  color: #140342;
}

.educrat-social-share-box {
  border-top: 1px solid #f1f3f8;
  padding-top: 20px;
  margin-top: 20px;
  text-align: center;
}

.educrat-social-share-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.educrat-social-share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4f5f8;
  color: #4f547b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.educrat-social-share-btn:hover {
  background: #6440fb;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   14. HEADER TOP BAR (PHONE & SOCIAL MEDIA)
   ========================================================================== */
.header-top {
  background: #0b0f19;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  position: relative;
  z-index: 101;
}

.header-top-link {
  color: #94a3b8 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s ease;
}

.header-top-link:hover {
  color: #ffffff !important;
}

.header-top-link i {
  color: #818cf8;
  font-size: 15px;
}

.header-top-social-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.header-top-social-link:hover {
  background: #6352f4;
  border-color: #6352f4;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 82, 244, 0.4);
}

/* ==========================================================================
   15. HIGH CONTRAST LUXURY FOOTER
   ========================================================================== */
.footer {
  background: #0b0f19 !important;
  color: #94a3b8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: relative;
}

.footer-heading {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 16.5px !important;
  letter-spacing: -0.01em;
}

.footer-desc {
  color: #94a3b8 !important;
  font-size: 14px;
  line-height: 1.65;
}

.footer-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 16px;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.footer-call-btn:hover {
  background: rgba(99, 82, 244, 0.15);
  border-color: #6352f4;
  transform: translateY(-2px);
}

.footer-call-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #6352f4;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.footer-call-info small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-call-info strong {
  color: #ffffff;
  font-size: 14px;
}

.footer-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(99, 82, 244, 0.15);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.footer-links li a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 14px;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links li a:hover {
  color: #ffffff !important;
  transform: translateX(4px);
}

[dir="rtl"] .footer-links li a:hover {
  transform: translateX(-4px);
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.footer-social-link:hover {
  background: #6352f4;
  border-color: #6352f4;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(99, 82, 244, 0.4);
}

.footer-rights-text {
  color: #64748b !important;
  font-size: 13.5px;
}

/* ==========================================================================
   16. ABOUT US PAGE STYLES (Matching https://new.iss.com.eg/about-us/)
   ========================================================================== */
.about-page-wrapper {
  background-color: #ffffff;
}

.about-hero-header {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.about-breadcrumb .breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.about-breadcrumb .breadcrumb-item a:hover {
  color: #6352f4;
}

.about-breadcrumb .breadcrumb-item.active {
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
}

.about-page-title {
  font-size: 40px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.about-page-subtitle {
  font-size: 17px;
  color: #64748b;
  max-width: 650px;
  margin-bottom: 0;
  line-height: 1.6;
}

.about-visual-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.about-visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115%;
  height: 115%;
  background: radial-gradient(circle, rgba(99, 82, 244, 0.3) 0%, rgba(129, 140, 248, 0.12) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.about-logo-card {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.12), 0 0 30px rgba(99, 82, 244, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
  padding: 45px 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.about-logo-img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 10px 25px rgba(15, 23, 42, 0.08));
}

.about-logo-card:hover .about-logo-img {
  transform: scale(1.05);
}

.about-visual-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(226, 232, 240, 0.8);
  animation: floatBadge 4s ease-in-out infinite alternate;
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.about-visual-badge.top-badge {
  top: 25px;
  right: -20px;
}

.about-visual-badge.bottom-badge {
  bottom: 25px;
  left: -20px;
  animation-delay: 1.5s;
}

.about-visual-badge .badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ede9fe;
  color: #6352f4;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-badge .badge-icon.text-success {
  background: #dcfce7;
  color: #10b981 !important;
}

.about-visual-badge .badge-num {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.about-visual-badge .badge-lbl {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.about-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 82, 244, 0.1);
  color: #6352f4;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
}

.about-section-heading {
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.4px;
}

.about-section-desc {
  font-size: 16.5px;
  color: #64748b;
  line-height: 1.6;
}

.about-callout-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f5f3ff;
  border-left: 4px solid #6352f4;
  padding: 18px 22px;
  border-radius: 0 16px 16px 0;
}

[dir="rtl"] .about-callout-box {
  border-left: none;
  border-right: 4px solid #6352f4;
  border-radius: 16px 0 0 16px;
}

.about-callout-icon {
  font-size: 26px;
  color: #6352f4;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-callout-text strong {
  display: block;
  font-size: 15.5px;
  color: #4338ca;
  margin-bottom: 2px;
}

.about-callout-text p {
  font-size: 14px;
  color: #5b21b6;
}

.about-story-text {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.75;
}

/* ==========================================================================
   DARK SECTION: WHY LEARN WITH ALFAGEN (MATCHING SCREENSHOT 3)
   ========================================================================== */
.why-learn-dark-section {
  background-color: #140342 !important;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px 0 !important;
}

@media (max-width: 991px) {
  .why-learn-dark-section {
    padding: 70px 0 80px 0 !important;
  }
}

.why-dark-heading {
  color: #ffffff !important;
  font-size: 38px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  margin-bottom: 16px !important;
  line-height: 1.25 !important;
}

.why-dark-desc {
  color: #cbd5e1 !important;
  font-size: 16.5px !important;
  line-height: 1.6 !important;
  margin-bottom: 55px !important;
  max-width: 680px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.why-dark-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 22px !important;
  padding: 48px 32px !important;
  text-align: center !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

.why-dark-card:hover {
  transform: translateY(-8px) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: #00ff88 !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 255, 136, 0.25) !important;
}

.why-dark-card:hover .why-dark-card-title {
  color: #ffffff !important;
}

.why-dark-card:hover .why-dark-card-text {
  color: #cbd5e1 !important;
}

.why-dark-icon-wrap {
  margin-bottom: 24px;
}

.why-neon-svg {
  filter: drop-shadow(0 0 12px rgba(0, 255, 136, 0.45));
  transition: all 0.35s ease;
}

.why-dark-card:hover .why-neon-svg {
  filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.75));
  transform: scale(1.08);
}

.why-dark-card-title {
  color: #ffffff !important;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.why-dark-card-text {
  color: #cbd5e1 !important;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.about-testimonials-section {
  background: #ffffff;
}

.about-testimonial-card {
  background: #f8fafc;
  border-radius: 22px;
  padding: 34px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-testimonial-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: rgba(99, 82, 244, 0.35);
  box-shadow: 0 18px 40px -8px rgba(15, 23, 42, 0.1);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-quote-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.testimonial-body {
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-color: #e2e8f0 !important;
}

.author-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ede9fe;
  color: #6352f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.author-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.author-role {
  font-size: 12.5px;
  color: #64748b;
}

/* ==========================================================================
   INSTRUCTORS MOVING RIGHT & SIDE ARROWS (MATCHING SCREENSHOT 6 & HOME)
   ========================================================================== */
.about-instructors-section {
  background: #f8fafc;
}

.instructors-carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-side-nav-btn {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #0f172a;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  cursor: pointer;
  z-index: 30;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-side-nav-btn.prev-btn {
  left: -22px;
}

.carousel-side-nav-btn.next-btn {
  right: -22px;
}

.carousel-side-nav-btn:hover {
  background: #6352f4;
  color: #ffffff;
  border-color: #6352f4;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 25px rgba(99, 82, 244, 0.4);
}

.instructors-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 15px 0 25px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
}

.instructors-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
  user-select: none;
}

.instructor-slide-card {
  width: 285px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .instructors-marquee-track {
    animation-duration: 45s;
    gap: 16px;
  }

  .instructor-slide-card {
    width: 245px;
  }

  .carousel-side-nav-btn.prev-btn {
    left: 2px;
  }

  .carousel-side-nav-btn.next-btn {
    right: 2px;
  }
}

.instructor-educrat-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.instructor-educrat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 82, 244, 0.35);
  box-shadow: 0 20px 40px -10px rgba(99, 82, 244, 0.18);
}

.instructor-cover-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  background: #f1f5f9;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.instructor-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.instructor-educrat-card:hover .instructor-cover-img {
  transform: scale(1.05);
}

.instructor-details-box {
  padding: 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.instructor-profile-name {
  color: #0f172a;
  font-size: 16.5px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.instructor-educrat-card:hover .instructor-profile-name {
  color: #6352f4;
}

.instructor-profile-spec {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.instructor-meta-row {
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  font-size: 12.5px;
  color: #64748b;
}

.rating-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: #0f172a;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #64748b;
}

.meta-item i {
  font-size: 14px;
}

.instructor-view-all-btn {
  background: #f3f0ff !important;
  color: #6352f4 !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  border-radius: 10px !important;
  padding: 12px 24px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  border: 1px solid rgba(99, 82, 244, 0.1) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.instructor-view-all-btn:hover {
  background: #6352f4 !important;
  color: #ffffff !important;
  border-color: #6352f4 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(99, 82, 244, 0.3) !important;
}

.btn-purple-pill {
  background: #f3f0ff !important;
  color: #6352f4 !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  border-radius: 10px !important;
  padding: 12px 24px !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(99, 82, 244, 0.1) !important;
}

.btn-purple-pill:hover {
  background: #6352f4 !important;
  color: #ffffff !important;
  border-color: #6352f4 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(99, 82, 244, 0.3) !important;
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.about-cta-section {
  background: #ffffff;
}

.about-cta-card {
  position: relative;
  background: linear-gradient(135deg, #4338ca 0%, #6352f4 50%, #7c3aed 100%);
  border-radius: 28px;
  padding: 55px 50px;
  overflow: hidden;
  box-shadow: 0 25px 55px -12px rgba(99, 82, 244, 0.4);
}

.about-cta-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.about-cta-title {
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.about-cta-subtitle {
  color: #e0e7ff;
  font-size: 16.5px;
  line-height: 1.6;
}

.btn-white-cta,
.about-cta-card .btn-white-cta,
a.btn-white-cta {
  background: #ffffff !important;
  color: #4f46e5 !important;
  font-weight: 700 !important;
  font-size: 15.5px !important;
  padding: 14px 32px !important;
  border-radius: 9999px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  border: none !important;
}

.btn-white-cta span,
.btn-white-cta i {
  color: #4f46e5 !important;
  transition: transform 0.25s ease;
}

/* Subtle hover animation only - keeps text clearly visible and adds a gentle lift */
.btn-white-cta:hover,
.about-cta-card .btn-white-cta:hover,
a.btn-white-cta:hover {
  background: #ffffff !important;
  color: #4338ca !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22) !important;
}

.btn-white-cta:hover span,
.btn-white-cta:hover i {
  color: #4338ca !important;
}

.btn-white-cta:hover i {
  transform: translateX(3px) translateY(-2px);
}

/* Ensure Laravel Debugbar is completely hidden */
.phpdebugbar,
.phpdebugbar-minibar,
.phpdebugbar-openhandler,
div[id^="phpdebugbar"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}