/* 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. Cinematic Logo Assembly Loading Screen (Alpha_Gen Academy)
   ========================================================================== */
.preloader.cinematic-stage,
.preloader {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 100vh !important;
  z-index: 9999999 !important;
  background: radial-gradient(circle at 50% 45%, #110d33 0%, #060818 55%, #020308 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  opacity: 1;
  visibility: visible;
  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;
}

.ambient-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 580px;
  height: 580px;
  max-width: 90vw;
  max-height: 90vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, rgba(0, 240, 255, 0.12) 40%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
  animation: ambientBloom 4s ease-in-out infinite alternate;
}

@keyframes ambientBloom {
  0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.65; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.animation-core {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 680px;
  padding: 16px;
  transform: translateY(0);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animation-core.transition-mode {
  transform: scale(0.90) translateY(-16px);
}

.logo-viewport-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1433 / 812;
  display: flex;
  align-items: center;
  justify-content: center;
}

.authentic-logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 20;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 0px rgba(0, 240, 255, 0));
  pointer-events: none;
}

.authentic-logo-overlay.locked {
  opacity: 1;
  transform: scale(1);
  filter: drop-shadow(0 0 22px rgba(0, 240, 255, 0.45)) drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5));
  animation: finalLogoBreathe 3s ease-in-out infinite alternate;
}

@keyframes finalLogoBreathe {
  0% {
    filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.35)) drop-shadow(0 8px 24px rgba(0,0,0,0.45));
    transform: scale(1);
  }
  100% {
    filter: drop-shadow(0 0 26px rgba(0, 240, 255, 0.65)) drop-shadow(0 12px 34px rgba(0,0,0,0.6));
    transform: scale(1.015);
  }
}

/* When authentic logo locks in, hide all approximate SVG assembly shapes */
.logo-viewport-wrap.locked .assembly-monitor-stand,
.logo-viewport-wrap.locked .assembly-monitor-bezel,
.logo-viewport-wrap.locked .assembly-monitor-inner,
.logo-viewport-wrap.locked .screen-scanner,
.logo-viewport-wrap.locked .assembly-wifi-wave,
.logo-viewport-wrap.locked .assembly-vertical-ruler,
.logo-viewport-wrap.locked .assembly-triangle-ruler,
.logo-viewport-wrap.locked .assembly-grad-cap-top,
.logo-viewport-wrap.locked .assembly-letter-cap,
.logo-viewport-wrap.locked .assembly-letter,
.logo-viewport-wrap.locked .assembly-tagline-svg-group,
.logo-viewport-wrap.locked .neon-ring-track,
.logo-viewport-wrap.locked .neon-ring-draw,
.logo-viewport-wrap.locked .cap-impact-pulse {
  opacity: 0 !important;
  transition: opacity 0.3s ease-out;
}

.vector-assembly-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 10;
}

/* SCENE 1 */
.neon-ring-track {
  fill: none;
  stroke: rgba(0, 240, 255, 0.08);
  stroke-width: 3;
}

.neon-ring-draw {
  fill: none;
  stroke: url(#neonCyanGrad);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 2360;
  stroke-dashoffset: 2360;
  filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.85));
  animation: drawNeonRing 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards,
             spinNeonRing 1.3s cubic-bezier(0.4, 0, 0.2, 1) 2.95s forwards;
  transform-origin: 720px 310px;
}

@keyframes drawNeonRing {
  0% { stroke-dashoffset: 2360; opacity: 0; }
  25% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

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

/* SCENE 2 */
.assembly-monitor-bezel {
  fill: #0b1120;
  stroke: #00f0ff;
  stroke-width: 9;
  stroke-linejoin: round;
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
  filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.75));
  animation: drawMonitorBezel 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes drawMonitorBezel {
  0% { stroke-dashoffset: 1700; opacity: 0; }
  20% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

.assembly-monitor-inner {
  fill: #060a14;
  opacity: 0;
  animation: fadeInScreen 0.4s ease-out 0.8s forwards;
}

@keyframes fadeInScreen {
  from { opacity: 0; }
  to { opacity: 1; }
}

.assembly-monitor-stand {
  fill: #0b1120;
  stroke: #00f0ff;
  stroke-width: 8;
  stroke-linejoin: round;
  opacity: 0;
  transform: translateY(28px);
  transform-origin: 720px 520px;
  animation: riseStand 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.6));
}

@keyframes riseStand {
  0% { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}

.screen-scanner {
  opacity: 0;
  animation: scanScreen 0.75s ease-in-out 0.95s forwards;
}

@keyframes scanScreen {
  0% { opacity: 0; transform: translateX(-180px); }
  30% { opacity: 0.85; }
  80% { opacity: 0.85; }
  100% { opacity: 0; transform: translateX(180px); }
}

.assembly-wifi-wave {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 7;
  stroke-linecap: round;
  opacity: 0;
  transform: scale(0.6);
  transform-origin: 450px 560px;
  animation: pulseWifi 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.25s forwards;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.7));
}

@keyframes pulseWifi {
  0% { opacity: 0; transform: scale(0.6); }
  100% { opacity: 1; transform: scale(1); }
}

/* SCENE 3 */
.assembly-vertical-ruler {
  opacity: 0;
  transform: translateY(-50px);
  animation: slideRulerDown 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.05s forwards;
  filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.7));
}

@keyframes slideRulerDown {
  0% { opacity: 0; transform: translateY(-50px); }
  100% { opacity: 1; transform: translateY(0); }
}

.assembly-triangle-ruler {
  opacity: 0;
  transform: rotate(-18deg) scale(0.88);
  transform-origin: 730px 280px;
  animation: rotateTriangleIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 1.15s forwards;
  filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.75));
}

@keyframes rotateTriangleIn {
  0% { opacity: 0; transform: rotate(-18deg) scale(0.88); }
  100% { opacity: 1; transform: rotate(0deg) scale(1); }
}

/* SCENE 4 */
.assembly-grad-cap-top {
  opacity: 0;
  transform: translate(90px, -70px) rotate(32deg) scale(0.85);
  transform-origin: 1020px 120px;
  animation: flyInCap 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.45s forwards;
  filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.8));
}

@keyframes flyInCap {
  0% { opacity: 0; transform: translate(90px, -70px) rotate(32deg) scale(0.85); }
  80% { transform: translate(-5px, 4px) rotate(-4deg) scale(1.04); }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
}

.cap-tassel {
  transform-origin: 1045px 125px;
  animation: swingTassel 1.3s ease-in-out 1.9s infinite alternate;
}

@keyframes swingTassel {
  0% { transform: rotate(-10deg); }
  50% { transform: rotate(12deg); }
  100% { transform: rotate(-8deg); }
}

.cap-impact-pulse {
  position: absolute;
  top: 5%;
  right: 25%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.95) 0%, rgba(245, 158, 11, 0) 75%);
  opacity: 0;
  pointer-events: none;
  animation: capPulseFlash 0.5s ease-out 1.95s forwards;
}

@keyframes capPulseFlash {
  0% { opacity: 0; transform: scale(0.2); }
  40% { opacity: 1; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(2.4); }
}

/* SCENE 5 */
.assembly-letter {
  fill: #00f0ff;
  stroke: #00f0ff;
  stroke-width: 1.2;
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.8));
}

@keyframes letterSnap {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.88);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.let-1 { animation: letterSnap 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 1.90s forwards; }
.let-2 { animation: letterSnap 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 1.97s forwards; }
.let-3 { animation: letterSnap 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 2.04s forwards; }
.let-4 { animation: letterSnap 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 2.11s forwards; }
.let-5 { animation: letterSnap 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 2.18s forwards; }
.let-6 { animation: letterSnap 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 2.25s forwards; }
.let-7 { animation: letterSnap 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 2.32s forwards; }
.let-8 { animation: letterSnap 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 2.39s forwards; }
.let-9 { animation: letterSnap 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 2.46s forwards; }

.assembly-letter-cap {
  opacity: 0;
  transform: translate(-16px, -18px) rotate(-16deg);
  transform-origin: 100px 650px;
  animation: snapLetterCap 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 2.22s forwards;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.75));
}

@keyframes snapLetterCap {
  0% { opacity: 0; transform: translate(-16px, -18px) rotate(-16deg); }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}

/* SCENE 6 */
.assembly-tagline-svg-group {
  opacity: 1;
}

.tag-rule {
  stroke: #f59e0b;
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.7));
}

.tag-rule--left,
.tag-rule--right {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: drawTagRule 0.5s ease-out 2.55s forwards;
}

@keyframes drawTagRule {
  from { stroke-dashoffset: 320; }
  to { stroke-dashoffset: 0; }
}

.tag-word-text {
  font-family: 'Orbitron', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 5px;
  fill: #00f0ff;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.7));
  opacity: 0;
  transform: translateY(10px);
}

.tag-word--1 { animation: fadeWordUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) 2.50s forwards; }
.tag-word--2 { animation: fadeWordUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) 2.65s forwards; }
.tag-word--3 { animation: fadeWordUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) 2.80s forwards; }

@keyframes fadeWordUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tag-dot-circle {
  fill: #fbbf24;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.9));
  opacity: 0;
  transform: scale(0.2);
}

.tag-dot--1 { animation: dotPop 0.4s ease-out 2.60s forwards; transform-origin: 570px 798px; }
.tag-dot--2 { animation: dotPop 0.4s ease-out 2.75s forwards; transform-origin: 865px 798px; }

@keyframes dotPop {
  0% { opacity: 0; transform: scale(0.2); }
  50% { opacity: 1; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}

/* TRANSITION TO LOADING SCREEN & BRAND CARD */
.brand-reveal-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-reveal-section.active {
  opacity: 1;
  transform: translateY(0);
}

.brand-title {
  font-family: var(--font-heading), 'Outfit', sans-serif;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
  text-align: center;
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: #818cf8;
  text-transform: uppercase;
  margin-bottom: 22px;
  text-align: center;
  opacity: 0.9;
}

.loading-track {
  width: 270px;
  max-width: 80vw;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
  margin-bottom: 12px;
}

.loading-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6352f4 0%, #00f0ff 70%, #ffffff 100%);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.9);
  transition: width 0.1s linear;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  animation: statusPulse 1.4s ease-in-out infinite alternate;
}

@keyframes statusPulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 1; }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 22px;
  }
  .brand-subtitle {
    font-size: 9.5px;
    letter-spacing: 2.5px;
  }
  .loading-track {
    width: 220px;
  }
}

/* 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-logo,
.navbar-brand img {
  height: 80px !important;
  max-height: 85px !important;
  width: auto !important;
  object-fit: contain;
  transition: var(--transition-smooth);
}

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

@media (max-width: 991px) {
  .header-navbar {
    padding: 8px 0 !important;
  }
  .navbar-brand-logo,
  .navbar-brand img {
    height: 48px !important;
    max-height: 50px !important;
  }
}

@media (max-width: 575px) {
  .header-navbar {
    padding: 6px 0 !important;
  }
  .navbar-brand-logo,
  .navbar-brand img {
    height: 42px !important;
    max-height: 44px !important;
  }
}

.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;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  max-width: 100% !important;
}

@media (max-width: 991px) {
  .banner.py-120 {
    padding-top: 45px !important;
    padding-bottom: 40px !important;
  }
  .banner .row.g-4 > .col-lg-6:first-child {
    margin-top: 0 !important;
  }
}

@media (max-width: 575px) {
  .banner.py-120 {
    padding-top: 43px !important;
    padding-bottom: 30px !important;
  }
  .banner-title {
    font-size: clamp(1.65rem, 6.8vw, 2.1rem) !important;
  }
}

.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 - Modern Glassmorphism Clean Design */
.banner-floating-cards {
  position: absolute !important;
  right: -25px !important;
  left: auto !important;
  bottom: 20px !important;
  width: auto !important;
  max-width: 290px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  transform: none !important;
  z-index: 10 !important;
}

.banner-floating-cards .floating-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 18px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08), 0 8px 12px -4px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  animation: cardFloat 4s ease-in-out infinite alternate !important;
  margin: 0 !important;
}

.banner-floating-cards .floating-card:first-child {
  margin: 0 0 0 0 !important;
}

.banner-floating-cards .floating-card:last-child {
  margin: 0 0 0 15px !important;
}

.banner-floating-cards .floating-card:nth-child(2) {
  animation-delay: 1.8s !important;
}

.banner-floating-cards .floating-card:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: 0 20px 35px -8px rgba(99, 82, 244, 0.18) !important;
  border-color: rgba(99, 82, 244, 0.35) !important;
}

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

.banner-floating-cards .floating-card-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, rgba(99, 82, 244, 0.12), rgba(99, 82, 244, 0.04)) !important;
  border: 1px solid rgba(99, 82, 244, 0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.banner-floating-cards .floating-card-icon img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
}

.banner-floating-cards .floating-card-content {
  margin-left: 0 !important;
  overflow: hidden !important;
}

.banner-floating-cards .floating-card-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 2px !important;
  color: #0f172a !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 175px !important;
}

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

.banner-floating-cards .floating-card-info-item span {
  color: #64748b !important;
  font-size: 12px !important;
}

.banner-floating-cards .floating-card-info-item:not(:last-child)::after {
  display: none !important;
}

@media (max-width: 991px) {
  .banner-floating-cards {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px auto 0 !important;
    left: 0 !important;
    right: 0 !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
  }
  .banner-floating-cards .floating-card {
    flex: 1 1 240px !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .banner-floating-cards .floating-card:last-child {
    margin: 0 !important;
  }
}

/* Keywords Pills */
.banner-keywords {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  list-style: none !important;
  padding: 0 !important;
  margin-top: 25px !important;
  max-width: 100% !important;
}

.banner-keywords-item {
  max-width: 100% !important;
}

.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);
  white-space: normal !important;
  word-break: break-word !important;
  max-width: 100% !important;
}

.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: 380px;
  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;
  background-size: cover;
  background-position: center top;
}

.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: -75px;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

@media (max-width: 991px) {
  .teacher-cover-banner {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .teacher-cover-banner {
    height: 220px;
  }
  .teacher-profile-header-card {
    margin-top: -50px;
    padding: 20px 15px;
  }
}

.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 base rules migrated to bottom */

.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 {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  overflow: visible !important;
}

.header-navbar .dropdown-menu {
  border-radius: 16px !important;
  border: 1px solid rgba(99, 82, 244, 0.18) !important;
  box-shadow: 0 20px 45px -8px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(99, 82, 244, 0.08) !important;
  padding: 10px !important;
  margin-top: 8px !important;
  min-width: 250px !important;
  background: #ffffff !important;
  z-index: 10000 !important;
  overflow: visible !important;
}

/* Invisible hover bridge so moving mouse from 'Schools' to menu never drops hover */
.header-navbar .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

@media (min-width: 992px) {
  .header-navbar .dropdown-menu {
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(8px) scale(0.97) !important;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.22s !important;
    pointer-events: none !important;
  }

  /* Show on hover OR when clicked (Bootstrap .show) */
  .header-navbar .nav-item.dropdown:hover > .dropdown-menu,
  .header-navbar .dropdown-menu.show,
  .header-navbar .nav-item.dropdown.show > .dropdown-menu {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
    display: block !important;
  }
}

@media (max-width: 991px) {
  .header-navbar .dropdown-menu {
    position: static !important;
    float: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(99, 82, 244, 0.12) !important;
    background: #f8fafc !important;
    margin: 6px 0 !important;
    display: none !important;
  }

  .header-navbar .dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.header-navbar .dropdown-menu .dropdown-menu__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6) !important;
}

.header-navbar .dropdown-menu .dropdown-menu__list:last-child {
  border-bottom: none !important;
}

.header-navbar .dropdown-menu .dropdown-item,
.header-navbar .dropdown-menu .dropdown-menu__link {
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.2s ease !important;
}

.header-navbar .dropdown-menu .dropdown-item span,
.header-navbar .dropdown-menu .dropdown-menu__link span {
  color: #1e293b !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

.header-navbar .dropdown-menu .dropdown-item i,
.header-navbar .dropdown-menu .dropdown-menu__link i {
  font-size: 1.25rem !important;
  color: #6352f4 !important;
  width: 22px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

.header-navbar .dropdown-menu .dropdown-item:hover,
.header-navbar .dropdown-menu .dropdown-menu__link:hover,
.header-navbar .dropdown-menu .dropdown-item:focus,
.header-navbar .dropdown-menu .dropdown-menu__link:focus {
  background: rgba(99, 82, 244, 0.09) !important;
  color: #6352f4 !important;
  transform: translateX(4px) !important;
}

.header-navbar .dropdown-menu .dropdown-item:hover span,
.header-navbar .dropdown-menu .dropdown-menu__link:hover span {
  color: #6352f4 !important;
}

.header-navbar .dropdown-menu .dropdown-item:hover i,
.header-navbar .dropdown-menu .dropdown-menu__link:hover i {
  transform: scale(1.18) !important;
  color: #6352f4 !important;
}

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

.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;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
}

.about-image-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22);
  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;
  object-fit: contain;
  border-radius: 20px;
}

.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: 460px;
  margin: 0 auto;
  overflow: visible;
}

.banner-hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 95%;
  background: radial-gradient(circle, rgba(99, 82, 244, 0.3) 0%, rgba(129, 140, 248, 0.12) 50%, transparent 70%);
  filter: blur(35px);
  z-index: 1;
  pointer-events: none;
  border-radius: 20px;
}

.banner-hero-frame {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22);
  padding: 0;
  display: block;
  transition: transform 0.4s ease;
}

.banner-hero-frame:hover {
  transform: translateY(-4px);
}

.banner-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 20px;
  background: transparent;
}

@media (max-width: 575px) {
  .banner-hero-frame {
    border-radius: 18px;
  }
}

/* ==========================================================================
   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;
  word-break: normal;
  overflow-wrap: break-word;
}

.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: 2px 2px 6px;
  margin: 0;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.educrat-nav-tabs::-webkit-scrollbar {
  display: none;
}

.educrat-nav-tabs li {
  flex-shrink: 0;
}

.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;
  white-space: nowrap !important;
  word-break: keep-all !important;
  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;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Course Rich Description */
.course-rich-description {
  overflow-wrap: break-word;
  word-break: normal;
}

.course-rich-description img {
  max-width: 100% !important;
  height: auto !important;
}

.course-rich-description table {
  max-width: 100% !important;
  display: block;
  overflow-x: auto;
}

.course-rich-description iframe {
  max-width: 100% !important;
}

/* 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-accordion-title-wrap {
  gap: 12px;
  min-width: 0;
}

.educrat-accordion-title-wrap span:first-child {
  word-break: normal;
  overflow-wrap: break-word;
}

.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;
  gap: 14px;
}

.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;
  min-width: 0;
  flex: 1 1 auto;
  transition: color 0.2s;
}

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

.educrat-lesson-left span {
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.45;
}

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

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

.educrat-lesson-duration {
  white-space: nowrap;
  flex-shrink: 0;
}

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

.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-btn-wishlist.is-active,
.educrat-btn-wishlist.active {
  background: #fef2f2 !important;
  border-color: #fca5a5 !important;
  color: #ef4444 !important;
}

.educrat-btn-wishlist.is-active i,
.educrat-btn-wishlist.active i {
  color: #ef4444 !important;
}

/* Educrat "This Course Includes" */
.educrat-course-includes {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f1f3f8;
}

.educrat-includes-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #140342;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.educrat-includes-title i {
  color: #6440fb;
  font-size: 1.2rem;
}

.educrat-includes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.educrat-includes-item {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}

.educrat-includes-item:hover {
  transform: translateX(4px);
}

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

.educrat-includes-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6440fb;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.educrat-includes-text {
  font-size: 0.9375rem;
  color: #140342;
  font-weight: 500;
  line-height: 1.4;
}

.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);
}

/* ==========================================================================
   Educrat Responsive Breakpoints (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 991px) {
  .educrat-course-widget {
    position: static;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .educrat-course-header {
    padding: 24px 0 20px;
  }

  .educrat-course-title {
    font-size: 1.5rem;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .educrat-course-meta {
    gap: 12px 16px;
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  .educrat-box-white,
  .educrat-learn-box {
    padding: 20px 16px;
    border-radius: 14px;
    margin-bottom: 20px;
  }

  .educrat-box-title {
    font-size: 1.15rem;
    margin-bottom: 16px;
  }

  .educrat-learn-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .educrat-nav-tabs-wrapper {
    top: 55px;
    padding: 8px 0;
    margin-bottom: 20px;
  }

  .educrat-nav-tab-link {
    padding: 8px 14px;
    font-size: 0.875rem;
  }

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

@media (max-width: 680px) {
  .educrat-lesson-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .educrat-lesson-left {
    width: 100%;
    align-items: flex-start;
  }

  .educrat-lesson-left i {
    margin-top: 2px;
  }

  .educrat-lesson-right {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding-inline-start: 26px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .educrat-lesson-right .btn-sm {
    font-size: 0.8125rem;
    padding: 6px 14px;
    white-space: normal;
    text-align: center;
  }

  .educrat-accordion .accordion-button {
    padding: 14px 14px;
    font-size: 0.9375rem;
  }

  .educrat-accordion-title-wrap {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 4px;
    padding-inline-end: 8px !important;
  }

  .educrat-accordion-title-wrap span:last-child {
    font-size: 0.785rem;
  }
}

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

  .educrat-instructor-stats {
    justify-content: center;
  }

  .educrat-price-amount {
    font-size: 1.6rem;
  }

  #tab-reviews .display-3 {
    font-size: 2.75rem;
  }

  .educrat-spec-item {
    font-size: 0.875rem;
    padding: 8px 0;
  }
}

/* ==========================================================================
   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;
}

@media screen and (max-width: 991px) {
  .header {
    padding: 0 !important;
  }
}

.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: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(99, 82, 244, 0.3) 0%, rgba(129, 140, 248, 0.12) 50%, transparent 75%);
  filter: blur(25px);
  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;
}

@media (max-width: 768px) {
  .about-visual-badge.top-badge {
    right: 8px !important;
  }
  .about-visual-badge.bottom-badge {
    left: 8px !important;
  }
}

.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;
}

/* ==========================================================================
   STUDENT WISHLIST BUTTONS & BADGES
   ========================================================================== */
.course-card-wishlist-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 8 !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  font-size: 1.25rem !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  padding: 0 !important;
}

[dir="rtl"] .course-card-wishlist-btn {
  right: auto !important;
  left: 14px !important;
}

.course-card-wishlist-btn:hover {
  transform: scale(1.12) !important;
  background: #ffffff !important;
  color: #ef4444 !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.25) !important;
}

.course-card-wishlist-btn.is-active,
.course-card-wishlist-btn.active {
  color: #ef4444 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.22) !important;
}

.course-card-wishlist-btn.is-active i,
.course-card-wishlist-btn.active i {
  color: #ef4444 !important;
}

.navbar-wishlist-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(241, 245, 249, 0.8);
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
}

.navbar-wishlist-icon:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: scale(1.05);
}

.navbar-wishlist-icon .wishlist-badge-count {
  border: 2px solid #ffffff;
}

.wishlist-page .course-card {
  transition: all 0.3s ease;
}

.wishlist-page .course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

/* Subscription & Pricing CTA Buttons */
.educrat-btn-term {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  width: 100% !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28) !important;
}

.educrat-btn-term:hover {
  background: linear-gradient(135deg, #172554 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.42) !important;
  transform: translateY(-2px);
}

.educrat-btn-session {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  width: 100% !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28) !important;
}

.educrat-btn-session:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.42) !important;
  transform: translateY(-2px);
}

.per-lecture-browse-btn {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1.5px solid #0284c7 !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 10px 18px !important;
  border-radius: 30px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.1) !important;
}

.per-lecture-browse-btn:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
}

.per-lecture-browse-btn:hover i {
  color: #ffffff !important;
}

.per-lecture-browse-btn i {
  color: #0284c7 !important;
  font-size: 1.15rem !important;
  transition: color 0.25s ease !important;
}

/* Global Outline Button Fixes (Overriding main.css color: white !important) */
.btn.btn-outline-primary,
.btn-outline-primary {
  background: transparent !important;
  border: 1.5px solid #6440fb !important;
  color: #6440fb !important;
}

.btn.btn-outline-primary:hover,
.btn-outline-primary:hover {
  background: #6440fb !important;
  border-color: #6440fb !important;
  color: #ffffff !important;
}

.btn.btn-outline-secondary,
.btn-outline-secondary {
  background: transparent !important;
  border: 1.5px solid #64748b !important;
  color: #334155 !important;
}

.btn.btn-outline-secondary:hover,
.btn-outline-secondary:hover {
  background: #64748b !important;
  border-color: #64748b !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Global Mobile Viewport & Horizontal Overflow Prevention (Zero-Overflow Standard)
   ========================================================================== */
html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.main-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
}

img,
video,
iframe {
  max-width: 100% !important;
  height: auto;
}

.modal iframe,
.modal-body iframe {
  height: 100% !important;
}

/* Preloader Hidden State */
.preloader.preloader--hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

/* Header & Navbar Overflow & Elevation Guard */
.header,
.header-top {
  overflow: visible !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Section-level Overflow Guards (excluding header so dropdowns never clip) */
.banner,
.about-teaser,
.courses,
.curricula-section,
.how-it-works-section,
.our-teachers,
.testimonial-section,
.final-cta,
.footer {
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.custom--container {
  width: 100%;
  max-width: 1392px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* ==========================================================================
   Mobile Responsive Adjustments (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
  .py-120 {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .py-100 {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .py-80 {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }

  .row > * {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .custom--container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ==========================================================================
   Mobile Small Screen Fixes (< 576px)
   ========================================================================== */
@media (max-width: 575px) {
  .custom--container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Header Top Bar: Stack Contact & Social to prevent 425px overflow */
  .header-top {
    padding: 6px 0 !important;
    overflow: hidden !important;
  }

  .header-top .d-flex.justify-content-between {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 3px 0 !important;
  }

  .header-top-contact {
    width: 100% !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  .header-top-link {
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .header-top-link i {
    font-size: 13px !important;
  }

  .header-top-social {
    width: 100% !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .header-top-social-link {
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
  }

  /* Banner / Hero Section */
  .banner {
    padding-top: 32px !important;
    padding-bottom: 36px !important;
  }

  .banner-pill-badge {
    font-size: 12px !important;
    padding: 6px 14px !important;
  }

  .banner-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }

  .banner-subtitle {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
  }

  .banner-btn-join {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 20px !important;
  }

  /* Keywords Pills: Strict Wrap & Constrained Width */
  .banner-keywords {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 18px !important;
    padding: 0 !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
  }

  .banner-keywords-item {
    max-width: 100% !important;
  }

  .banner-keywords-link {
    padding: 5px 12px !important;
    font-size: 11.5px !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* Hero Frame & Image */
  .banner-hero-image-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .banner-hero-img {
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    border-radius: 0 !important;
  }

  /* Floating Cards */
  .banner-floating-cards {
    position: static !important;
    margin: 16px auto 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    right: 0 !important;
    left: 0 !important;
    gap: 8px !important;
  }

  .banner-floating-cards .floating-card {
    width: 100% !important;
    flex: 1 1 100% !important;
    padding: 10px 14px !important;
  }

  .banner-floating-cards .floating-card-title {
    max-width: 170px !important;
    font-size: 13px !important;
  }

  /* About Teaser */
  .about-teaser h2 {
    font-size: 22px !important;
  }

  .about-floating-badge {
    position: static !important;
    margin-top: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Course Cards & School Cards */
  .courses-card,
  .course-card,
  .teacher-card {
    max-width: 100% !important;
  }

  /* Footer */
  .footer {
    padding-top: 40px !important;
    padding-bottom: 24px !important;
  }

  .footer-bottom {
    padding-top: 18px !important;
    margin-top: 22px !important;
  }

  .footer-social-links {
    justify-content: center !important;
  }
}

/* Footer Gateway Logos */
.footer-gateway-badge {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 64px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  cursor: default;
}

.footer-gateway-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.3);
}

.footer-gateway-img {
  max-height: 28px;
  max-width: 75px;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   AlphaGen Academy - Resources & Presentations Global Styles
   Fixing high contrast text on filter buttons & presentation buttons
   ========================================================================== */
.resources-filter-tabs .filter-tab-btn,
button.filter-tab-btn {
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #1e293b !important;
  transition: all 0.25s ease !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  cursor: pointer !important;
}

.resources-filter-tabs .filter-tab-btn *,
.resources-filter-tabs .filter-tab-btn .tab-label,
button.filter-tab-btn *,
button.filter-tab-btn .tab-label {
  color: #1e293b !important;
  font-weight: 600 !important;
}

.resources-filter-tabs .filter-tab-btn i,
button.filter-tab-btn i {
  color: #6366f1 !important;
}

.resources-filter-tabs .filter-tab-btn:hover,
button.filter-tab-btn:hover {
  border-color: #4f46e5 !important;
  background-color: #f1f5f9 !important;
  color: #4f46e5 !important;
  transform: translateY(-1px);
}

.resources-filter-tabs .filter-tab-btn:hover *,
.resources-filter-tabs .filter-tab-btn:hover .tab-label,
button.filter-tab-btn:hover *,
button.filter-tab-btn:hover .tab-label {
  color: #4f46e5 !important;
}

.resources-filter-tabs .filter-tab-btn.active,
button.filter-tab-btn.active {
  background: #4f46e5 !important;
  background-color: #4f46e5 !important;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
  border-color: #4f46e5 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35) !important;
}

.resources-filter-tabs .filter-tab-btn.active *,
.resources-filter-tabs .filter-tab-btn.active .tab-label,
button.filter-tab-btn.active *,
button.filter-tab-btn.active .tab-label {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.resources-filter-tabs .filter-tab-btn .count-badge,
button.filter-tab-btn .count-badge {
  background-color: #e2e8f0 !important;
  color: #334155 !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
}

.resources-filter-tabs .filter-tab-btn.active .count-badge,
button.filter-tab-btn.active .count-badge {
  background-color: #ffffff !important;
  color: #4f46e5 !important;
  font-weight: 700 !important;
}

/* Hover Quick Action "View Presentation" */
.presentation-hover-overlay .presentation-view-btn,
.presentation-hover-overlay .btn {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.45) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 10px 24px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.presentation-hover-overlay .presentation-view-btn *,
.presentation-hover-overlay .presentation-view-btn .presentation-btn-text,
.presentation-hover-overlay .btn *,
.presentation-hover-overlay .btn span {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.2px !important;
}

.presentation-hover-overlay .presentation-view-btn i,
.presentation-hover-overlay .btn i {
  color: #4f46e5 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  transition: transform 0.2s ease !important;
}

.presentation-hover-overlay .presentation-view-btn:hover,
.presentation-hover-overlay .btn:hover {
  background-color: #f8fafc !important;
  color: #4338ca !important;
  transform: scale(1.06) !important;
  box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.55) !important;
}

.presentation-hover-overlay .presentation-view-btn:hover *,
.presentation-hover-overlay .presentation-view-btn:hover .presentation-btn-text,
.presentation-hover-overlay .btn:hover *,
.presentation-hover-overlay .btn:hover span {
  color: #4338ca !important;
}

.presentation-hover-overlay .presentation-view-btn:hover i,
.presentation-hover-overlay .btn:hover i {
  color: #4338ca !important;
  transform: scale(1.15) !important;
}

/* ==========================================================================
   UNIFIED DYNAMIC THEME, ISLAMIC GEOMETRIC PATTERN & 3-PILLAR ECOSYSTEM
   100% Controlled Dynamically from Admin General Settings -> gs('base_color')
   ========================================================================== */

:root {
  /* Dynamic aliases fed by html:root (#alfagn-dynamic-theme) & color.php */
  --ksa-emerald: var(--brand-primary, hsl(var(--base)));
  --ksa-emerald-mid: var(--brand-primary-btn, hsl(var(--base)));
  --ksa-emerald-dark: var(--brand-primary-dark, hsl(var(--base)));
  --ksa-emerald-soft: var(--brand-soft, #f3f1ff);
  --ksa-emerald-tint: var(--brand-tint, rgba(99, 82, 244, 0.09));
  --ksa-obsidian: var(--brand-obsidian, #0d0a24);
  --ksa-forest: var(--brand-obsidian-mid, #16113a);
  --ksa-heading: var(--brand-heading-dark, #110e2e);
  --ksa-border: var(--brand-border, rgba(99, 82, 244, 0.2));

  --ksa-gold: #C5A059;
  --ksa-gold-bright: #D4AF37;
  --ksa-gold-deep: #9A7632;
  --ksa-gold-soft: #FBF6EA;
  --ksa-limestone: #FAF8F4;
}

/* ==========================================================================
   GLOBAL UNIFIED COLOR HARMONIZATION (Every Button, Pill, Badge & Link Matches)
   ========================================================================== */
.text--base,
.base-color {
  color: var(--brand-primary) !important;
}

.bg--base {
  background-color: var(--brand-primary) !important;
}

.btn--base,
html body .btn--base,
.educrat-btn-term,
.educrat-btn-session {
  background: linear-gradient(135deg, var(--brand-primary-btn) 0%, var(--brand-primary-dark) 100%) !important;
  border-color: var(--brand-primary-btn) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px -6px var(--brand-glow) !important;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.btn--base:hover,
.btn--base:focus,
html body .btn--base:hover,
.educrat-btn-term:hover,
.educrat-btn-session:hover {
  background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary-btn) 100%) !important;
  border-color: var(--brand-primary-light) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px var(--brand-glow) !important;
}

.btn--outline-base,
.btn-outline--base,
html body .btn--outline-base,
html body .btn-outline--base,
.btn.btn-outline-primary,
.btn-outline-primary,
.per-lecture-browse-btn {
  background: #ffffff !important;
  border: 1.5px solid var(--brand-primary) !important;
  color: var(--brand-primary) !important;
  font-weight: 700 !important;
  transition: all 0.25s ease !important;
  box-shadow: none !important;
}

.per-lecture-browse-btn i {
  color: var(--brand-primary) !important;
}

.btn--outline-base:hover,
.btn-outline--base:hover,
html body .btn--outline-base:hover,
html body .btn-outline--base:hover,
.btn.btn-outline-primary:hover,
.btn-outline-primary:hover,
.per-lecture-browse-btn:hover {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -6px var(--brand-glow) !important;
}

.per-lecture-browse-btn:hover i {
  color: #ffffff !important;
}

.instructor-view-all-btn,
.btn-purple-pill {
  background: var(--brand-soft) !important;
  color: var(--brand-primary) !important;
  border: 1px solid var(--brand-border) !important;
}

.instructor-view-all-btn:hover,
.btn-purple-pill:hover,
.carousel-side-nav-btn:hover {
  background: var(--brand-primary) !important;
  color: #ffffff !important;
  border-color: var(--brand-primary) !important;
  box-shadow: 0 8px 22px var(--brand-glow) !important;
}

.instructor-educrat-card:hover {
  border-color: var(--brand-border) !important;
  box-shadow: 0 20px 40px -10px var(--brand-glow-lg) !important;
}

.instructor-educrat-card:hover .instructor-profile-name {
  color: var(--brand-primary) !important;
}

.curriculum-filter-pill:hover {
  background: var(--brand-soft) !important;
  color: var(--brand-primary) !important;
  border-color: var(--brand-border) !important;
}

.curriculum-filter-pill.active {
  background: linear-gradient(135deg, var(--brand-primary-btn) 0%, var(--brand-primary-dark) 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 22px -4px var(--brand-glow) !important;
  transform: translateY(-2px);
}

.scroll-top {
  background: linear-gradient(135deg, var(--brand-primary-btn) 0%, var(--brand-primary-dark) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 10px 24px var(--brand-glow) !important;
}

/* ==========================================================================
   ISLAMIC GEOMETRIC HERO BANNERS (/courses, /school/*, /ecosystem, /bundles)
   Same Unified Color + Authentic 8-Pointed Khatam & Girih Arabesque Pattern
   ========================================================================== */
.school-hero-banner,
.islamic-pattern-hero {
  position: relative;
  background: var(--brand-hero-gradient) !important;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.school-hero-banner::before,
.islamic-pattern-hero::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: var(--islamic-pattern-hero) !important;
  background-size: 120px 120px !important;
  background-position: center center !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.school-hero-banner::after {
  border-color: rgba(255, 255, 255, 0.09) !important;
  box-shadow: inset 0 0 65px var(--brand-glow) !important;
}

.school-hero-pill {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.26) !important;
  color: #ffffff !important;
}

.school-hero-stat-card {
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.school-hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
}

.school-hero-stat-card .stat-icon-box {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

.school-showcase-glow {
  background: radial-gradient(circle, var(--brand-glow) 0%, var(--brand-glow-lg) 45%, transparent 70%) !important;
}

.school-showcase-card {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.26) !important;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.52), 0 0 35px var(--brand-glow-lg) !important;
}

.floating-accent-badge {
  background: var(--brand-obsidian) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.floating-accent-badge .badge-icon-wrap {
  background: linear-gradient(135deg, var(--brand-primary-btn) 0%, var(--brand-primary-dark) 100%) !important;
  color: #ffffff !important;
}

.floating-accent-badge .badge-sub {
  color: rgba(255, 255, 255, 0.72) !important;
}

.ecosystem-breadcrumb {
  background: transparent;
  padding: 0;
  font-size: 0.88rem;
}

.ecosystem-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 600;
}

.ecosystem-breadcrumb .breadcrumb-item a:hover {
  color: #ffffff;
}

.ecosystem-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.48);
}

.ecosystem-breadcrumb .breadcrumb-item.active {
  color: #ffffff;
  font-weight: 700;
}

/* ==========================================================================
   REUSABLE UNIFIED BUTTONS & PILL BADGES
   ========================================================================== */
.ksa-royal-pill,
.banner-pill-badge,
.about-pill-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 7px 16px !important;
  border-radius: 999px !important;
  background: var(--brand-soft) !important;
  border: 1px solid var(--brand-border) !important;
  color: var(--brand-primary) !important;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
}

.ksa-royal-pill i,
.banner-pill-badge i,
.about-pill-badge i {
  color: var(--brand-primary) !important;
  font-size: 1.05rem;
}

.ksa-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-tint);
}

.ksa-btn-emerald {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-primary-btn) 0%, var(--brand-primary-dark) 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--brand-primary-btn);
  box-shadow: 0 12px 26px -6px var(--brand-glow);
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}

.ksa-btn-emerald:hover {
  background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary-btn) 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px var(--brand-glow);
}

.ksa-btn-gold-glass {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-heading-dark) !important;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid var(--brand-border);
  box-shadow: 0 8px 20px -6px var(--brand-glow-lg);
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}

.ksa-btn-gold-glass i {
  color: var(--brand-primary);
  font-size: 1.15rem;
}

.ksa-btn-gold-glass:hover {
  background: var(--brand-soft);
  border-color: var(--brand-primary);
  color: var(--brand-primary) !important;
  transform: translateY(-2px);
}

.ksa-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-primary) !important;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1.5px solid var(--brand-border);
  transition: all 0.25s ease;
  text-decoration: none;
}

.ksa-btn-outline:hover {
  background: var(--brand-soft);
  border-color: var(--brand-primary);
  color: var(--brand-primary) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   1. HEADER & TOP UTILITY BAR (Unified Dynamic Color)
   ========================================================================== */
.header-top {
  background: linear-gradient(90deg, var(--brand-obsidian) 0%, var(--brand-obsidian-mid) 50%, var(--brand-obsidian) 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  position: relative;
}

.header-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brand-primary-light) 50%, transparent 100%);
}

.ksa-origin-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #F8FAFC;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.ksa-origin-badge i {
  color: var(--ksa-gold-bright);
  font-size: 0.95rem;
}

.ksa-persona-quicklinks {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ksa-persona-quicklink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
}

.ksa-persona-quicklink i {
  color: var(--ksa-gold-bright);
  font-size: 0.88rem;
}

.ksa-persona-quicklink:hover {
  background: var(--brand-primary-btn);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
}

.header .nav-menu .nav-item.active > .nav-link,
.header .nav-menu .nav-item .nav-link:hover,
.header .nav-menu .nav-item .nav-link.active {
  color: var(--brand-primary) !important;
}

.header-navbar .nav-menu .nav-item.active > .nav-link {
  background: var(--brand-soft) !important;
}

.navbar-offers-badge {
  background: linear-gradient(135deg, var(--brand-primary-btn) 0%, var(--brand-primary-dark) 100%) !important;
  color: #ffffff !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
}

.navbar-login-link {
  border-color: var(--brand-border) !important;
  color: var(--brand-heading-dark) !important;
}

.navbar-login-link:hover {
  border-color: var(--brand-primary) !important;
  color: var(--brand-primary) !important;
  background: var(--brand-soft) !important;
}

.navbar-register-btn,
.header-navbar .navbar-register-btn {
  background: linear-gradient(135deg, var(--brand-primary-btn) 0%, var(--brand-primary-dark) 100%) !important;
  border: 1px solid var(--brand-primary-btn) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px -4px var(--brand-glow) !important;
}

.navbar-register-btn:hover,
.header-navbar .navbar-register-btn:hover {
  background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary-btn) 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.header .dropdown-menu__link:hover,
.header .dropdown-item:hover {
  background: var(--brand-soft) !important;
  color: var(--brand-primary) !important;
}

.header .dropdown-menu__link i {
  color: var(--brand-primary) !important;
}

/* ==========================================================================
   2. HOMEPAGE SAUDI HERO SECTION (sections/banner.blade.php)
   ========================================================================== */
@media (min-width: 768px) {
  .py-100 {
    padding-top: 88px !important;
    padding-bottom: 88px !important;
  }
}

section.banner.ksa-hero-banner {
  position: relative;
  overflow: hidden;
  padding-top: 68px !important;
  padding-bottom: 84px !important;
  background:
    radial-gradient(circle at 12% 18%, var(--brand-tint) 0%, transparent 46%),
    radial-gradient(circle at 88% 22%, var(--brand-glow-lg) 0%, transparent 48%),
    linear-gradient(180deg, #FFFFFF 0%, var(--brand-soft) 58%, #FFFFFF 100%) !important;
  border-bottom: 1px solid var(--brand-border);
}

@media (max-width: 991.98px) {
  section.banner.ksa-hero-banner {
    padding-top: 46px !important;
    padding-bottom: 56px !important;
  }
}

section.banner.ksa-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--islamic-pattern-light);
  background-size: 120px 120px;
  pointer-events: none;
  opacity: 0.95;
}

.ksa-hero-banner .banner-title {
  color: var(--brand-heading-dark) !important;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-indent: 0 !important;
  margin-left: 0 !important;
  font-size: clamp(2.35rem, 4.1vw, 3.55rem) !important;
  line-height: 1.15 !important;
}

.ksa-hero-banner .banner-title span,
.ksa-hero-banner .banner-title .text--base {
  background: linear-gradient(135deg, var(--brand-primary-btn) 0%, var(--brand-primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ksa-hero-banner .banner-subtitle {
  color: #475569 !important;
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
  max-width: 590px;
}

/* 3-Persona Mini Strip inside Hero */
.ksa-hero-pillars-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
  margin-bottom: 22px;
}

.ksa-hero-mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--brand-border);
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  transition: all 0.24s ease;
}

.ksa-hero-mini-card:hover {
  border-color: var(--brand-primary);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px var(--brand-glow-lg);
}

.ksa-hero-mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ksa-hero-mini-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-heading-dark);
  line-height: 1.2;
}

.ksa-hero-mini-text span {
  display: block;
  font-size: 0.71rem;
  color: #64748B;
  line-height: 1.25;
  margin-top: 2px;
}

/* Curricula Chips under Hero */
.ksa-hero-tracks-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.ksa-hero-tracks-row .banner-keywords {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.ksa-hero-tracks-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
}

.ksa-hero-tracks-label i {
  color: var(--brand-primary);
  font-size: 0.95rem;
}

.ksa-hero-banner .banner-keywords-link {
  background: #ffffff !important;
  border: 1px solid var(--brand-border) !important;
  color: var(--brand-heading-dark) !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  padding: 6px 15px !important;
  transition: all 0.22s ease !important;
}

.ksa-hero-banner .banner-keywords-link:hover {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: #ffffff !important;
}

/* Right Column Full-Width Showcase */
.ksa-hero-banner .banner-hero-glow {
  background: radial-gradient(circle, var(--brand-glow) 0%, var(--brand-glow-lg) 50%, transparent 72%) !important;
}

.ksa-hero-showcase {
  position: relative;
  width: 100%;
  max-width: 590px;
  margin-left: auto;
  margin-right: auto;
}

.ksa-hero-card-shell {
  position: relative;
  z-index: 2;
  border-radius: 26px;
  overflow: hidden;
  background: var(--brand-obsidian);
  border: 2px solid var(--brand-border);
  box-shadow: 0 28px 60px -16px rgba(15, 23, 42, 0.24);
}

.ksa-hero-media-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.6;
  overflow: hidden;
  background: var(--brand-obsidian-mid);
}

.ksa-hero-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ksa-hero-card-shell:hover .ksa-hero-main-photo {
  transform: scale(1.025);
}

.ksa-hero-kingdom-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(10, 12, 28, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.ksa-hero-kingdom-chip i {
  color: var(--ksa-gold-bright);
  font-size: 1rem;
}

/* Integrated Islamic-Pattern Caption Bar */
.ksa-hero-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  background:
    var(--islamic-pattern-hero),
    var(--brand-hero-gradient);
  background-size: 120px 120px, cover;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ksa-hero-caption-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ksa-hero-caption-bar__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ksa-hero-caption-bar__title {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.ksa-hero-caption-bar__sub {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
  margin-top: 2px;
}

.ksa-hero-caption-bar__pill {
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.25px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 2-Column Featured Course Dock Below Hero Frame */
.ksa-hero-courses-dock {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.ksa-hero-course-pill {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  box-shadow: 0 10px 24px -10px rgba(15, 23, 42, 0.1);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 0;
}

.ksa-hero-course-pill:hover {
  transform: translateY(-3px);
  border-color: var(--brand-primary);
  box-shadow: 0 16px 30px -10px var(--brand-glow-lg);
}

.ksa-hero-course-pill__icon,
.ksa-hero-course-pill__icon.is-gold {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ksa-hero-course-pill__body {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}

.ksa-hero-course-pill__title {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--brand-heading-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.ksa-hero-course-pill__meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748B;
  margin-top: 2px;
}

.ksa-hero-course-pill__meta i {
  color: var(--brand-primary);
}

.ksa-hero-course-pill__arrow {
  color: #94A3B8;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.22s ease, color 0.22s ease;
}

.ksa-hero-course-pill:hover .ksa-hero-course-pill__arrow {
  color: var(--brand-primary);
  transform: translateX(3px);
}

/* ==========================================================================
   3. STANDALONE /ecosystem PAGE & 3-PILLAR INTERACTIVE SHOWCASE
   ========================================================================== */
.ksa-ecosystem-section {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--brand-soft) 52%, #FFFFFF 100%);
  border-bottom: 1px solid var(--brand-border);
}

.ksa-sadu-ambient {
  position: absolute;
  inset: 0;
  background-image: var(--islamic-pattern-light);
  background-size: 120px 120px;
  opacity: 0.9;
  pointer-events: none;
}

.ksa-section-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  color: var(--brand-heading-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ksa-gold-underline {
  color: var(--brand-primary);
  position: relative;
  display: inline-block;
}

.ksa-gold-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 8px;
  background: var(--brand-tint);
  border-radius: 4px;
  z-index: -1;
}

.ksa-section-subtitle {
  max-width: 680px;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Interactive 3-Tab Switcher */
.ksa-role-tabs-wrap {
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 10px;
  border-radius: 22px;
  background: #ffffff;
  border: 1.5px solid var(--brand-border);
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, 0.12);
}

.ksa-role-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.ksa-role-tab:hover {
  background: var(--brand-soft);
  border-color: var(--brand-border);
}

.ksa-role-tab__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  flex-shrink: 0;
  transition: all 0.28s ease;
}

.ksa-role-tab__step {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--brand-primary);
}

.ksa-role-tab__label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--brand-heading-dark);
  line-height: 1.25;
}

.ksa-role-tab__hint {
  font-size: 0.76rem;
  color: #64748B;
  margin-top: 1px;
}

.ksa-role-tab.active {
  background: linear-gradient(135deg, var(--brand-primary-btn) 0%, var(--brand-primary-dark) 100%);
  border-color: var(--brand-primary-light);
  box-shadow: 0 14px 28px -8px var(--brand-glow);
}

.ksa-role-tab.active .ksa-role-tab__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.ksa-role-tab.active .ksa-role-tab__step {
  color: rgba(255, 255, 255, 0.85);
}

.ksa-role-tab.active .ksa-role-tab__label {
  color: #ffffff;
}

.ksa-role-tab.active .ksa-role-tab__hint {
  color: rgba(255, 255, 255, 0.82);
}

/* Persona Panel Animation & Visual Frame */
.ksa-role-panel {
  animation: ksaPanelReveal 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ksaPanelReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ksa-persona-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 2px solid var(--brand-border);
  box-shadow: 0 26px 54px -16px rgba(15, 23, 42, 0.24);
  background: var(--brand-obsidian);
}

.ksa-persona-img {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.ksa-persona-frame:hover .ksa-persona-img {
  transform: scale(1.03);
}

.ksa-persona-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 28, 0.16) 0%, rgba(10, 12, 28, 0.05) 42%, rgba(10, 12, 28, 0.86) 100%);
  pointer-events: none;
}

.ksa-float-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(10, 12, 28, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.ksa-float-chip--gold i {
  color: var(--ksa-gold-bright);
}

.ksa-live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.28);
}

.ksa-telemetry-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(12, 14, 32, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.ksa-telemetry-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ksa-telemetry-badge i {
  color: var(--ksa-gold-bright);
}

.ksa-telemetry-score {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.ksa-progress-bar {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.ksa-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-primary-light) 0%, #ffffff 100%);
}

.ksa-mini-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 600;
}

.ksa-mini-stat i {
  color: var(--ksa-gold-bright);
}

/* Persona Right Content & 6 Capability Cards */
.ksa-persona-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-primary);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.ksa-persona-heading {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 800;
  color: var(--brand-heading-dark);
  line-height: 1.24;
}

.ksa-persona-lead {
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

.ksa-cap-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  box-shadow: 0 6px 20px -10px rgba(15, 23, 42, 0.08);
  transition: all 0.25s ease;
}

.ksa-cap-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-primary);
  box-shadow: 0 14px 28px -10px var(--brand-glow-lg);
}

.ksa-cap-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.ksa-cap-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--brand-heading-dark);
  margin-bottom: 4px;
}

.ksa-cap-desc {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Synergy Connected Loop Strip (Islamic Geometric Pattern + Unified Color) */
.ksa-synergy-strip {
  padding: 24px 28px;
  border-radius: 22px;
  background:
    var(--islamic-pattern-hero),
    var(--brand-hero-gradient);
  background-size: 120px 120px, cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 44px -14px var(--brand-glow);
  color: #ffffff;
}

.ksa-synergy-kicker {
  display: block;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 3px;
}

.ksa-synergy-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.ksa-synergy-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.ksa-synergy-step {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 200px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ksa-synergy-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ksa-synergy-step strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.ksa-synergy-step span {
  display: block;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.78);
}

.ksa-synergy-arrow {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.4rem;
}

/* Standalone /ecosystem 3-Portal Matrix Section */
.ecosystem-matrix-section {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}

.ecosystem-portal-card {
  padding: 30px 26px;
  border-radius: 24px;
  background: #ffffff;
  border: 1.5px solid var(--brand-border);
  box-shadow: 0 14px 36px -14px rgba(15, 23, 42, 0.08);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ecosystem-portal-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-primary);
  box-shadow: 0 24px 48px -14px var(--brand-glow-lg);
}

.ecosystem-portal-card--featured {
  border-width: 2px;
  border-color: var(--brand-primary);
  box-shadow: 0 20px 44px -14px var(--brand-glow-lg);
}

.ecosystem-portal-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.ecosystem-portal-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-primary-btn) 0%, var(--brand-primary-dark) 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 10px 22px -6px var(--brand-glow);
  flex-shrink: 0;
}

.ecosystem-portal-card__tag {
  display: block;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--brand-primary);
  margin-bottom: 2px;
}

.ecosystem-portal-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-heading-dark);
}

.ecosystem-portal-card__desc {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.ecosystem-portal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ecosystem-portal-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.87rem;
  color: #334155;
  line-height: 1.5;
}

.ecosystem-portal-list li i {
  color: var(--brand-primary);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   4. HOMEPAGE SECTIONS HARMONIZATION (Curricula, How It Works, Choose Us, CTA)
   ========================================================================== */
.curriculum-card {
  border: 1px solid var(--brand-border) !important;
  border-radius: 20px !important;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.curriculum-card:hover {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 20px 40px -14px var(--brand-glow-lg) !important;
  transform: translateY(-5px) !important;
}

.curriculum-card-badge {
  background: var(--brand-obsidian) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
}

.how-step-card {
  border: 1px solid var(--brand-border) !important;
}

.how-step-card:hover {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 18px 36px -12px var(--brand-glow-lg) !important;
}

.how-step-icon-box {
  background: linear-gradient(135deg, var(--brand-primary-btn) 0%, var(--brand-primary-dark) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px -6px var(--brand-glow) !important;
}

.how-step-badge {
  color: var(--brand-tint) !important;
}

.why-trust-box {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--brand-soft) 100%) !important;
  border: 1px solid var(--brand-border) !important;
}

.why-trust-star {
  color: var(--ksa-gold-bright) !important;
}

.why-feature-card {
  border: 1px solid var(--brand-border) !important;
  border-radius: 18px !important;
}

.why-feature-card:hover {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 16px 34px -12px var(--brand-glow-lg) !important;
}

.about-highlight-icon {
  background: var(--brand-soft) !important;
  color: var(--brand-primary) !important;
}

.about-image-card {
  border-radius: 24px !important;
  overflow: hidden;
  border: 2px solid var(--brand-border) !important;
  box-shadow: 0 24px 50px -14px rgba(15, 23, 42, 0.2) !important;
}

.about-floating-badge i {
  background: var(--brand-soft) !important;
  color: var(--brand-primary) !important;
}

.teacher-avatar-ring {
  background: linear-gradient(135deg, var(--brand-primary-btn) 0%, var(--brand-primary-light) 100%) !important;
}

.teacher-verified-badge {
  background: var(--brand-primary) !important;
}

.teacher-card:hover {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 18px 36px -12px var(--brand-glow-lg) !important;
}

.testimonial-stars i {
  color: var(--ksa-gold-bright) !important;
}

.author-avatar-circle {
  background: var(--brand-soft) !important;
  color: var(--brand-primary) !important;
}

/* Final CTA Section (Unified Dynamic Color + Islamic Geometric Pattern) */
.final-cta {
  position: relative;
  overflow: hidden;
  background:
    var(--islamic-pattern-hero),
    var(--brand-hero-gradient) !important;
  background-size: 120px 120px, cover !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.final-cta .btn--light {
  background: #ffffff !important;
  color: var(--brand-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  font-weight: 700 !important;
}

.final-cta .btn--light:hover {
  background: var(--brand-soft) !important;
  color: var(--brand-primary-dark) !important;
}

/* ==========================================================================
   5. ABOUT US PAGE UNIFIED ISLAMIC GEOMETRIC UPGRADE (about.blade.php)
   ========================================================================== */
.about-hero-header {
  position: relative;
  overflow: hidden;
  background:
    var(--islamic-pattern-hero),
    var(--brand-hero-gradient) !important;
  background-size: 120px 120px, cover !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.about-hero-header .about-page-title,
.about-hero-header .breadcrumb-item.active {
  color: #ffffff !important;
}

.about-hero-header .about-page-subtitle {
  color: rgba(255, 255, 255, 0.86) !important;
  max-width: 680px;
}

.about-hero-header .about-breadcrumb a {
  color: rgba(255, 255, 255, 0.85) !important;
}

.about-callout-box {
  background: var(--brand-soft) !important;
  border-left: 4px solid var(--brand-primary) !important;
}

.about-callout-icon {
  background: var(--brand-primary) !important;
  color: #ffffff !important;
}

.about-logo-card {
  border-radius: 24px !important;
  overflow: hidden;
  border: 2px solid var(--brand-border) !important;
}

.about-logo-card .about-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.why-learn-dark-section {
  background:
    var(--islamic-pattern-hero),
    var(--brand-hero-gradient) !important;
  background-size: 120px 120px, cover !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.why-dark-card {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 22px !important;
  backdrop-filter: blur(8px);
}

.why-dark-card:hover {
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.13) !important;
  transform: translateY(-5px);
}

/* About 3-Pillar Overview Cards */
.ksa-about-pillar-card {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px -14px rgba(15, 23, 42, 0.1);
  transition: all 0.3s ease;
}

.ksa-about-pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-primary);
  box-shadow: 0 22px 44px -14px var(--brand-glow-lg);
}

.ksa-about-pillar-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ksa-about-pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ksa-about-pillar-card:hover .ksa-about-pillar-media img {
  transform: scale(1.05);
}

.ksa-about-pillar-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-obsidian);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.ksa-about-pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ksa-about-pillar-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: #334155;
}

.ksa-about-pillar-list li i {
  color: var(--brand-primary);
  font-size: 1.05rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.about-cta-card {
  background:
    var(--islamic-pattern-hero),
    var(--brand-hero-gradient) !important;
  background-size: 120px 120px, cover !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 25px 55px -12px var(--brand-glow) !important;
}

.btn-white-cta,
.btn-white-cta span,
.btn-white-cta i {
  color: var(--brand-primary) !important;
}

/* ==========================================================================
   6. FOOTER UNIFIED ISLAMIC GEOMETRIC STYLING (partials/footer.blade.php)
   ========================================================================== */
footer.footer {
  position: relative;
  background:
    var(--islamic-pattern-hero),
    linear-gradient(180deg, var(--brand-obsidian-mid) 0%, var(--brand-obsidian) 100%) !important;
  background-size: 120px 120px, cover !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
}

footer.footer .footer-call-icon,
footer.footer .footer-icon-circle {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

footer.footer .footer-social-link:hover {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary-light) !important;
  color: #ffffff !important;
}

.ksa-footer-hq-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #E2E8F0;
  font-size: 0.76rem;
  font-weight: 600;
}

.ksa-footer-hq-pill i {
  color: var(--ksa-gold-bright);
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991.98px) {
  .ksa-role-tabs-wrap {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ksa-hero-pillars-mini {
    grid-template-columns: 1fr;
  }
  .ksa-synergy-steps {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 575.98px) {
  .ksa-hero-caption-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 15px;
  }
  .ksa-hero-courses-dock {
    grid-template-columns: 1fr;
  }
  .ksa-hero-kingdom-chip {
    top: 14px;
    left: 14px;
    font-size: 0.72rem;
  }
  .ksa-telemetry-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }
}


/* ==========================================================================
   60fps Rendering & Offscreen Content-Visibility Optimization
   ========================================================================== */
.preloader.preloader--hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.choose-us-section,
.how-it-works-section,
.about-teaser-section,
.testimonials-section,
.faq-section,
.cta-section,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 560px;
}

.courses-card,
.course-card,
.ksa-cap-card,
.ksa-hero-mini-card,
.school-hero-stat-card {
    backface-visibility: hidden;
}

/* ==========================================================================
   Inline AJAX Loading State (Course / Bundle catalog filtering)
   ========================================================================== */
.alfagn-inline-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    min-height: 240px;
    justify-content: center;
    align-items: flex-start;
    padding-top: 72px;
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.74);
    animation: alfagnInlineFade 0.18s ease both;
}

.alfagn-inline-loader {
    position: sticky;
    top: calc(50vh - 24px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px 11px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--brand-border, rgba(99, 82, 244, 0.2));
    box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.22);
    color: #334155;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.alfagn-inline-loader__ring {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--brand-tint, rgba(99, 82, 244, 0.12));
    border-top-color: var(--brand-primary, #6352f4);
    animation: alfagnInlineSpin 0.7s linear infinite;
    will-change: transform;
}

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

@keyframes alfagnInlineFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .alfagn-inline-loader__ring { animation-duration: 1.6s; }
    .alfagn-inline-overlay { animation: none; }
}

/* ==========================================================================
   Polished "One Seamless Loop" Connected Ecosystem Strip Override
   ========================================================================== */
.ksa-synergy-strip {
    padding: 28px 32px !important;
    border-radius: 24px !important;
    background-color: var(--brand-obsidian, #0d1226) !important;
    background-image: var(--islamic-pattern-hero), var(--brand-hero-gradient) !important;
    background-size: 120px 120px, 100% 100% !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 22px 48px -16px var(--brand-glow, rgba(99, 82, 244, 0.36)) !important;
    color: #ffffff !important;
}

.ksa-synergy-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ksa-synergy-intro {
    flex: 0 0 235px;
    padding-inline-end: 22px;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.16);
}

.ksa-synergy-kicker {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.69rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
}

.ksa-synergy-title {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.38rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

.ksa-synergy-sub {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    color: rgba(255, 255, 255, 0.78) !important;
}

.ksa-synergy-steps {
    flex: 1 1 auto;
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
}

.ksa-synergy-step {
    flex: 1 1 0% !important;
    min-width: 0;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.ksa-synergy-step:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.17) !important;
    border-color: rgba(255, 255, 255, 0.38) !important;
}

.ksa-synergy-badge {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ksa-synergy-step .ksa-synergy-num,
.ksa-synergy-num {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.02em;
    color: var(--brand-primary, #6352f4) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ksa-synergy-body {
    min-width: 0;
    flex: 1 1 auto;
}

.ksa-synergy-step__title {
    display: flex !important;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
}

.ksa-synergy-step__title i {
    font-size: 1.08rem;
    color: #fde68a;
    flex-shrink: 0;
}

.ksa-synergy-step__desc {
    display: block !important;
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    color: rgba(255, 255, 255, 0.84) !important;
}

.ksa-synergy-connector {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-self: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
}

@media (max-width: 1199px) {
    .ksa-synergy-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .ksa-synergy-intro {
        flex: 1 1 auto;
        padding-inline-end: 0;
        padding-bottom: 14px;
        border-inline-end: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
        text-align: center;
    }
}

@media (max-width: 991px) {
    .ksa-synergy-strip {
        padding: 22px 18px !important;
    }
    .ksa-synergy-steps {
        flex-direction: column !important;
    }
}

/* ==========================================================================
   Header Navbar Anti-Crowding & Brand Logo Fix (Authoritative)
   ========================================================================== */
.header .custom--container {
  max-width: 1580px !important;
  width: 100% !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.header-navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  padding: 6px 0 !important;
}

/* 1. BRAND LOGO: Prominent circular academy emblem */
.header-navbar .navbar-brand {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin-inline-end: 16px !important;
  padding: 0 !important;
  z-index: 5 !important;
}

.header-navbar .navbar-brand img,
.navbar-brand-logo {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  height: 72px !important;
  max-height: 76px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
}

/* 2. DESKTOP EXPANDED (min-width: 992px) */
@media (min-width: 992px) {
  .header-navbar .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
    flex-grow: 1 !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }

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

  /* Completely kill the 40px/30px padding-right from main.css */
  .header-navbar .nav-menu .nav-item {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .header-navbar .nav-link {
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 6px 8px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
  }

  .header-navbar .nav-link:hover,
  .header-navbar .nav-item.active > .nav-link {
    color: #4634ff !important;
    background: rgba(70, 52, 255, 0.08) !important;
  }

  .header-navbar .navbar-buttons {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-inline-start: 8px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .header-navbar .navbar-login-link,
  .header-navbar .navbar-register-btn {
    padding: 6px 12px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}

/* 3. COMPACT INTERMEDIATE SCREENS (992px to 1240px: Laptops, Tablets, Scaled screens) */
@media (min-width: 992px) and (max-width: 1240px) {
  .header .custom--container {
    padding-left: 10px !important;
    padding-right: 10px !important;
    max-width: 100% !important;
  }

  .header-navbar {
    gap: 4px !important;
  }

  .header-navbar .navbar-brand {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    margin-inline-end: 10px !important;
  }

  .header-navbar .navbar-brand img,
  .navbar-brand-logo {
    width: auto !important;
    max-width: none !important;
    height: 60px !important;
    max-height: 64px !important;
  }

  .header-navbar .nav-menu {
    gap: 1px !important;
  }

  .header-navbar .nav-link {
    font-size: 11.5px !important;
    padding: 4px 5px !important;
  }

  .header-navbar .navbar-buttons {
    gap: 4px !important;
    margin-inline-start: 4px !important;
  }

  .header-navbar .navbar-buttons .navbar-login-link,
  .header-navbar .navbar-buttons .navbar-register-btn {
    padding: 5px 9px !important;
    font-size: 11.5px !important;
  }

  .header-navbar .navbar-offers-badge {
    display: none !important;
  }
}
