:root {
  --primary: #f5b800;
  --primary-bright: #ffc107;
  --primary-soft: #fff7d6;
  --ink: #111827;
  --ink-2: #1f2937;
  --muted: #6b7280;
  --surface: #ffffff;
  --surface-soft: #f8f7f2;
  --line: rgba(17, 24, 39, .11);
  --success: #15803d;
  --danger: #dc2626;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 12px 34px rgba(17, 24, 39, .08);
  --shadow-lg: 0 28px 80px rgba(17, 24, 39, .15);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.035em
}

p {
  color: var(--muted)
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

::selection {
  background: var(--primary-bright);
  color: var(--ink)
}

.page-shell {
  padding-top: 78px
}

.section-space {
  padding: 80px 0
}

.section-soft {
  background: var(--surface-soft)
}

.section-dark {
  background: var(--ink);
  color: #fff
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff
}

.section-dark p {
  color: rgba(255, 255, 255, .68)
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  color: var(--ink-2);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase
}

.eyebrow:before {
  width: 24px;
  height: 2px;
  background: var(--primary);
  content: ""
}

.section-dark .eyebrow {
  color: #fff
}

.section-title {
  max-width: 780px;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.8rem)
}

.section-lead {
  max-width: 700px;
  margin: 0;
  font-size: 1.02rem
}

.text-highlight {
  position: relative;
  z-index: 1;
  display: inline-block;
  white-space: nowrap
}

.text-highlight:after {
  position: absolute;
  right: -.05em;
  bottom: .08em;
  left: -.05em;
  z-index: -1;
  height: .34em;
  border-radius: 99px;
  background: var(--primary-bright);
  content: "";
  opacity: .88
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border-radius: 999px;
  padding: .72rem 1.35rem;
  font-weight: 500;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary-custom {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--ink);
  box-shadow: 0 12px 25px rgba(245, 184, 0, .24)
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
  border-color: var(--primary-bright);
  background: var(--primary-bright);
  color: var(--ink);
  box-shadow: 0 16px 35px rgba(245, 184, 0, .32)
}

.btn-dark-custom {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff
}

.btn-dark-custom:hover,
.btn-dark-custom:focus {
  border-color: #000;
  background: #000;
  color: #fff;
  box-shadow: var(--shadow-sm)
}

.btn-outline-custom {
  border: 1px solid rgba(17, 24, 39, .18);
  background: #fff;
  color: var(--ink)
}

.btn-outline-custom:hover {
  border-color: var(--ink);
  color: var(--ink)
}

/* =========================================================
   NAVBAR + LOGO — fixed-height bar, logo scales independently
   ========================================================= */
.site-navbar {
  height: 78px;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(16px);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: visible;
}

.site-navbar.scrolled,
.site-navbar.inner-nav {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 28px rgba(17, 24, 39, .06)
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 500;
  letter-spacing: -.03em;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--primary);
  color: var(--ink)
}

/* Logo image — height set per breakpoint below, width auto keeps proportions.
   Because .navbar-brand and .site-navbar both have a fixed height with
   overflow: visible, the logo can be sized here freely without ever
   stretching the navbar bar or moving the toggler/nav links. */
.company-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: height 0.2s ease;
}

.navbar-brand span {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  white-space: nowrap;
}

.mobile-nav-bar {
  height: 40px;
  width: auto;
}

.mob-nav-text {
  color: #dc2626;
}

/* Mobile (up to 575.98px) */
@media (max-width: 575.98px) {
  .company-logo {
    height: 50px;
  }

  .mob-nav-text {
    color: #dc2626 !important;
  }
}

/* Tablet (576px–991.98px) */
@media (min-width: 576px) and (max-width: 991.98px) {
  .company-logo {
    height: 56px;
  }

  .navbar-brand span {
    font-size: 1.05rem;
  }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
  .company-logo {
    height: 64px;
  }

  .navbar-brand span {
    font-size: 1.2rem;
  }
}

/* --- Navbar menu links: bolder + slightly larger for readability --- */
.navbar-nav .nav-link {
  position: relative;
  margin: 0 .1rem;
  padding: .65rem .7rem !important;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600
}

.navbar-nav .nav-link:after {
  position: absolute;
  right: .7rem;
  bottom: .38rem;
  left: .7rem;
  height: 2px;
  transform: scaleX(0);
  background: var(--primary);
  content: "";
  transition: transform .2s ease
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--ink)
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
  transform: scaleX(1)
}

.currency-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .52rem .78rem;
  background: #fff;
  font-size: .8rem;
  font-weight: 500
}

.navbar-toggler {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: none !important
}

.offcanvas {
  max-width: 330px
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  color: var(--ink);
  font-size: 1rem
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 82px;
  background: radial-gradient(circle at 78% 20%, rgba(245, 184, 0, .24), transparent 23%), radial-gradient(circle at 10% 80%, rgba(245, 184, 0, .10), transparent 27%), linear-gradient(180deg, #fff, #faf9f4)
}

.hero:before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(17, 24, 39, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 24, 39, .025) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent)
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(17, 24, 39, .1);
  border-radius: 999px;
  padding: .5rem .78rem;
  background: rgba(255, 255, 255, .72);
  font-size: .82rem
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 7vw, 5.7rem)
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 1.8rem;
  font-size: clamp(1rem, 2vw, 1.16rem)
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.15rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: .84rem
}

.hero-note i {
  color: var(--success)
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg)
}

.hero-visual img {
  width: 100%;
  height: 540px;
  object-fit: cover
}

.visual-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(17, 24, 39, .78);
  backdrop-filter: blur(14px);
  color: #fff
}

.visual-caption p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .78rem
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
  font-size: .76rem
}

.live-dot:before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, .16);
  content: ""
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff
}

.trust-inner {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem
}

.trust-label {
  margin: 0;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 500
}

.curriculum-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .65rem
}

.curriculum-pill,
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .52rem .72rem;
  background: #fff;
  color: var(--ink);
  font-size: .78rem
}

.feature-card,
.course-card,
.info-card,
.testimonial-card,
.form-card,
.summary-card,
.video-card,
.success-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm)
}

.feature-card {
  padding: 1.35rem
}

.feature-card .icon-box,
.info-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--ink)
}

.feature-card h3 {
  font-size: 1.15rem
}

.feature-card p {
  margin: 0;
  font-size: .9rem
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 68px;
  background: radial-gradient(circle at 85% 12%, rgba(245, 184, 0, .2), transparent 24%), var(--surface-soft)
}

.breadcrumb {
  margin: 0 0 1.25rem
}

.breadcrumb-item,
.breadcrumb-item a {
  color: var(--muted);
  font-size: .85rem
}

.breadcrumb-item.active {
  color: var(--ink)
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.5rem, 6vw, 4.8rem)
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.05rem
}

.filter-panel {
  position: sticky;
  top: 94px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  background: #fff;
  box-shadow: var(--shadow-sm)
}

.filter-title {
  font-size: 1rem
}

.filter-group {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line)
}

.filter-group:last-child {
  border-bottom: 0
}

.course-filter {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem .78rem;
  background: #fff;
  color: var(--muted);
  font-size: .8rem;
  transition: .18s ease
}

.course-filter:hover,
.course-filter.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff
}

.search-wrap {
  position: relative
}

.search-wrap i {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--muted)
}

.search-wrap .form-control {
  padding-left: 2.75rem
}

.form-control,
.form-select {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .75rem 1rem;
  background: #fff;
  font-weight: 400
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .22rem rgba(245, 184, 0, .16)
}

.course-card {
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 184, 0, .65);
  box-shadow: var(--shadow-lg)
}

.course-image {
  position: relative;
  height: 210px;
  overflow: hidden
}

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

.course-card:hover .course-image img {
  transform: scale(1.045)
}

.course-level {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  padding: .44rem .68rem;
  background: rgba(17, 24, 39, .84);
  color: #fff;
  font-size: .72rem;
  backdrop-filter: blur(10px)
}

.course-body {
  display: flex;
  height: calc(100% - 210px);
  flex-direction: column;
  padding: 1.25rem
}

.course-body h2,
.course-body h3 {
  font-size: 1.25rem
}

.course-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin: 1rem 0
}

.meta-item {
  display: flex;
  gap: .45rem;
  color: var(--muted);
  font-size: .76rem
}

.meta-item i {
  margin-top: .25rem;
  color: var(--primary)
}

.course-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line)
}

.course-price span {
  display: block;
  color: var(--muted);
  font-size: .7rem
}

.course-price strong {
  font-size: 1.28rem;
  font-weight: 500
}

.course-actions {
  display: flex;
  gap: .45rem
}

.empty-state {
  display: none;
  border: 1px dashed rgba(17, 24, 39, .22);
  border-radius: var(--radius-md);
  padding: 3rem 1.5rem;
  text-align: center;
  background: #fff
}

.detail-hero {
  padding: 90px 0 62px;
  background: radial-gradient(circle at 82% 15%, rgba(245, 184, 0, .25), transparent 25%), var(--surface-soft)
}

.detail-image {
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg)
}

.detail-image img {
  width: 100%;
  height: 500px;
  object-fit: cover
}

.detail-title {
  font-size: clamp(2.5rem, 6vw, 4.7rem)
}

.detail-price {
  display: flex;
  align-items: end;
  gap: .4rem;
  margin: 1.4rem 0
}

.detail-price strong {
  font-size: 2.3rem;
  font-weight: 500
}

.detail-price span {
  padding-bottom: .4rem;
  color: var(--muted)
}

.sticky-enrol {
  position: sticky;
  top: 100px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  background: #fff;
  box-shadow: var(--shadow-sm)
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0
}

.list-check li {
  position: relative;
  margin: .8rem 0;
  padding-left: 1.65rem;
  color: var(--muted)
}

.list-check li:before {
  position: absolute;
  left: 0;
  top: .18rem;
  color: var(--success);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f058"
}

.teacher-card {
  display: flex;
  align-items: center;
  gap: 1rem
}

.teacher-card img {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  object-fit: cover
}

.teacher-card p {
  margin: 0
}

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  margin-bottom: .75rem
}

.accordion-button {
  font-weight: 500
}

.accordion-button:not(.collapsed) {
  background: var(--primary-soft);
  color: var(--ink);
  box-shadow: none
}

.accordion-button:focus {
  box-shadow: none
}

.checkout-layout {
  background: var(--surface-soft)
}

.stepper {
  display: flex;
  align-items: center;
  gap: .45rem
}

.step {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  font-size: .78rem
}

.step-number {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff
}

.step.active {
  color: var(--ink)
}

.step.active .step-number,
.step.complete .step-number {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--ink)
}

.step-line {
  width: 36px;
  height: 1px;
  background: var(--line)
}

.form-card,
.summary-card {
  padding: 1.35rem
}

.summary-card {
  position: sticky;
  top: 100px;
  background: var(--ink);
  color: #fff
}

.summary-card h2,
.summary-card h3,
.summary-card h4 {
  color: #fff
}

.summary-card p {
  color: rgba(255, 255, 255, .66)
}

.summary-course {
  display: flex;
  gap: .9rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.summary-course img {
  width: 86px;
  height: 78px;
  border-radius: 14px;
  object-fit: cover
}

.summary-course p {
  margin: 0;
  font-size: .78rem
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: .75rem 0;
  color: rgba(255, 255, 255, .72);
  font-size: .86rem
}

.summary-row.total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.15rem
}

.payment-option {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: .85rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
  cursor: pointer;
  transition: .18s ease
}

.payment-option:hover,
.payment-option.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(245, 184, 0, .12)
}

.payment-option input {
  position: absolute;
  opacity: 0
}

.payment-logo {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--surface-soft);
  font-size: 1.25rem
}

.payment-option small {
  display: block;
  color: var(--muted)
}

.secure-note {
  display: flex;
  gap: .75rem;
  border-radius: 14px;
  padding: 1rem;
  background: #ecfdf5;
  color: #166534;
  font-size: .8rem
}

.secure-note p {
  margin: 0;
  color: #166534
}

.video-card {
  position: relative;
  overflow: hidden;
  cursor: pointer
}

.video-card img {
  width: 100%;
  height: 240px;
  object-fit: cover
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(17, 24, 39, .82), rgba(17, 24, 39, .05))
}

.play-button {
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  backdrop-filter: blur(10px)
}

.video-copy {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: #fff
}

.video-copy h3 {
  margin: 0;
  color: #fff;
  font-size: 1.1rem
}

.video-copy p {
  margin: .2rem 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: .78rem
}

.testimonial-card {
  padding: 1.35rem
}

.stars {
  color: var(--primary)
}

.reviewer {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem
}

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

.reviewer p {
  margin: 0;
  font-size: .78rem
}

.cta-band {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .28), transparent 25%), var(--primary)
}

.cta-band p {
  color: rgba(17, 24, 39, .7)
}

.success-wrap {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: 72px 0;
  background: radial-gradient(circle at 50% 15%, rgba(245, 184, 0, .18), transparent 25%), var(--surface-soft)
}

.success-card {
  max-width: 820px;
  margin: auto;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  text-align: center
}

.success-icon {
  display: inline-flex;
  width: 90px;
  height: 90px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--success);
  font-size: 2.3rem
}

.order-box {
  margin: 1.8rem 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  background: var(--surface-soft);
  text-align: left
}

.order-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--line)
}

.order-detail:last-child {
  border-bottom: 0
}

.order-detail span {
  color: var(--muted);
  font-size: .84rem
}

.order-detail strong {
  font-weight: 500;
  text-align: right
}

.site-footer {
  padding: 64px 0 22px;
  background: var(--ink);
  color: #fff
}

.site-footer h3,
.site-footer h4 {
  color: #fff
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .62)
}

.site-footer a:hover {
  color: var(--primary)
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0
}

.footer-links li {
  margin: .55rem 0
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .5);
  font-size: .78rem
}

.whatsapp-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1040;
  display: flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: .52rem .75rem .52rem .52rem;
  background: #25d366;
  color: #fff;
  box-shadow: 0 16px 35px rgba(17, 24, 39, .22)
}

.whatsapp-widget:hover {
  color: #fff;
  transform: translateY(-2px)
}

.whatsapp-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  font-size: 1.2rem
}

.whatsapp-label {
  font-size: .8rem;
  font-weight: 500
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 1039;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transition: .2s ease
}

.back-to-top.show {
  opacity: 1;
  visibility: visible
}

.modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 22px
}

.video-modal-header {
  border: 0;
  background: var(--ink)
}

.video-modal-header .btn-close {
  filter: invert(1)
}

@media (max-width:991.98px) {
  .site-navbar {
    background: rgba(255, 255, 255, .95)
  }

  .hero {
    padding-top: 86px
  }

  .hero-visual img,
  .detail-image img {
    height: 440px
  }

  .trust-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.2rem 0
  }

  .curriculum-list {
    justify-content: flex-start
  }

  .filter-panel,
  .sticky-enrol,
  .summary-card {
    position: static
  }

  .section-space {
    padding: 66px 0
  }
}

@media (max-width:767.98px) {
  .page-shell {
    padding-top: 70px
  }

  .hero {
    padding: 72px 0 58px
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 4rem)
  }

  .hero-actions .btn {
    width: 100%
  }

  .hero-visual img,
  .detail-image img {
    height: 390px
  }

  .visual-caption {
    align-items: flex-start;
    flex-direction: column
  }

  .section-space {
    padding: 56px 0
  }

  .page-hero,
  .detail-hero {
    padding: 64px 0 48px
  }

  .course-meta {
    grid-template-columns: 1fr
  }

  .course-footer {
    align-items: flex-start;
    flex-direction: column
  }

  .course-actions {
    width: 100%
  }

  .course-actions .btn {
    flex: 1
  }

  .stepper {
    flex-wrap: wrap
  }

  .step-line {
    width: 18px
  }

  .whatsapp-label {
    display: none
  }

  .whatsapp-widget {
    padding: .5rem
  }

  .summary-course img {
    width: 72px
  }

  .order-detail {
    align-items: flex-start;
    flex-direction: column;
    gap: .15rem
  }

  .order-detail strong {
    text-align: left
  }
}

@media (max-width:575.98px) {

  .hero-visual img,
  .detail-image img {
    height: 330px
  }

  .course-image {
    height: 195px
  }

  .course-body {
    height: calc(100% - 195px)
  }

  .section-title {
    font-size: 2.25rem
  }

  .btn {
    min-height: 48px
  }

  .cta-band .btn {
    width: 100%
  }
}

@media print {

  .site-navbar,
  .site-footer,
  .whatsapp-widget,
  .back-to-top,
  .success-actions {
    display: none !important
  }

  .page-shell {
    padding-top: 0
  }

  .success-wrap {
    min-height: auto;
    background: #fff
  }

  .success-card {
    border: 0;
    box-shadow: none
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important
  }
}

/* =========================================================
   CHECKOUT PAGE — REFINED LAYOUT
   ========================================================= */
.checkout-page {
  min-height: 100vh;
  background: #f7f7f3
}

.checkout-hero {
  padding: 48px 0 34px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 88% 12%, rgba(245, 184, 0, .20), transparent 25%), linear-gradient(180deg, #fffdf6, #f8f7f2)
}

.checkout-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem
}

.checkout-hero h1 {
  margin: 0 0 .65rem;
  font-size: clamp(2.15rem, 4.8vw, 4rem)
}

.checkout-hero p {
  max-width: 690px;
  margin: 0;
  font-size: .98rem
}

.checkout-breadcrumb {
  font-size: .78rem
}

.checkout-breadcrumb a {
  color: var(--muted)
}

.checkout-breadcrumb .active {
  color: var(--ink)
}

.checkout-stepper {
  display: flex;
  min-width: 420px;
  align-items: center;
  justify-content: flex-end
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: .62rem;
  color: #9ca3af;
  font-size: .78rem;
  white-space: nowrap
}

.checkout-step>span:last-child {
  display: flex;
  flex-direction: column;
  color: inherit;
  line-height: 1.25
}

.checkout-step small {
  margin-bottom: .1rem;
  color: #9ca3af;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .08em
}

.checkout-step-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dbe1;
  border-radius: 50%;
  background: #fff;
  color: #8a919d;
  font-size: .78rem
}

.checkout-step.active {
  color: var(--ink)
}

.checkout-step.active small {
  color: var(--muted)
}

.checkout-step.active .checkout-step-icon,
.checkout-step.complete .checkout-step-icon {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--ink);
  box-shadow: 0 7px 18px rgba(245, 184, 0, .22)
}

.checkout-step-line {
  width: 44px;
  height: 1px;
  margin: 0 .7rem;
  background: #d8dbe1
}

.checkout-step-line.complete {
  background: var(--primary)
}

.checkout-content {
  padding: 34px 0 84px
}

.checkout-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .82rem 1.1rem;
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 8px 24px rgba(17, 24, 39, .04);
  color: var(--muted);
  font-size: .76rem;
  backdrop-filter: blur(12px)
}

.checkout-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: .48rem
}

.checkout-trust-strip i {
  color: var(--success)
}

.checkout-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  box-shadow: 0 14px 38px rgba(17, 24, 39, .06)
}

.checkout-panel-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.65rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line)
}

.checkout-panel-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--primary);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 500;
  box-shadow: 0 9px 22px rgba(245, 184, 0, .20)
}

.checkout-panel-head p {
  margin: 0 0 .16rem;
  color: var(--muted);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em
}

.checkout-panel-head h2 {
  margin: 0;
  font-size: 1.25rem
}

.checkout-page .form-label {
  margin-bottom: .48rem;
  color: var(--ink-2);
  font-size: .78rem;
  font-weight: 500
}

.checkout-page .form-control,
.checkout-page .form-select {
  min-height: 52px;
  border-color: #dfe2e8;
  border-radius: 13px;
  background-color: #fff;
  color: var(--ink);
  font-size: .88rem;
  box-shadow: none
}

.checkout-page .form-control::placeholder {
  color: #a2a8b1
}

.checkout-page .form-control:focus,
.checkout-page .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .22rem rgba(245, 184, 0, .13)
}

.field-wrap {
  position: relative
}

.field-wrap>i:first-child {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 2;
  transform: translateY(-50%);
  color: #8a919d;
  font-size: .88rem;
  pointer-events: none
}

.field-wrap .form-control {
  padding-left: 43px
}

.field-status,
.field-hint {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #8a919d;
  font-size: .72rem
}

.card-number-wrap .form-control {
  padding-right: 42px
}

.field-help {
  margin: .45rem 0 0;
  color: #8a919d;
  font-size: .7rem
}

.qatar-phone-field,
.UAE-phone-field,
.mobile-phone-field {
  display: flex;
  overflow: hidden;
  border: 1px solid #dfe2e8;
  border-radius: 13px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease
}

.qatar-phone-field:focus-within,
.UAE-phone-field:focus-within,
.mobile-phone-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 .22rem rgba(245, 184, 0, .13)
}

.qatar-phone-field>span,
.UAE-phone-field>span,
.mobile-phone-field>span {
  display: flex;
  min-width: 104px;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  border-right: 1px solid #e5e7eb;
  background: #f7f7f4;
  color: var(--ink-2);
  font-size: .78rem
}

.qatar-phone-field img,
.UAE-phone-field img,
.mobile-phone-field img {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover
}

.qatar-phone-field .form-control,
.UAE-phone-field .form-control,
.mobile-phone-field .form-control {
  border: 0;
  border-radius: 0;
  box-shadow: none !important
}

.was-validated .field-wrap:has(.form-control:invalid) .form-control,
.was-validated .qatar-phone-field:has(.form-control:invalid),
.was-validated .UAE-phone-field:has(.form-control:invalid),
.was-validated .mobile-phone-field:has(.form-control:invalid) {
  border-color: var(--danger)
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem
}

.payment-choice {
  position: relative;
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: .8rem;
  border: 1px solid #dfe2e8;
  border-radius: 17px;
  padding: 1rem;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease
}

.payment-choice:hover {
  transform: translateY(-2px);
  border-color: #c9ccd3;
  box-shadow: 0 10px 26px rgba(17, 24, 39, .07)
}

.payment-choice.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, #fffdf5, #fff8d9);
  box-shadow: 0 0 0 3px rgba(245, 184, 0, .12)
}

.payment-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.payment-choice-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #eceef2;
  border-radius: 14px;
  background: #f7f7f4;
  color: var(--ink);
  font-size: 1.2rem
}

.apple-pay-icon {
  font-size: 1.55rem
}

.payment-choice-copy {
  display: flex;
  min-width: 0;
  flex-direction: column
}

.payment-choice-copy strong {
  font-size: .88rem;
  font-weight: 500
}

.payment-choice-copy small {
  margin-top: .16rem;
  color: var(--muted);
  font-size: .68rem
}

.payment-choice-check {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe2e8;
  border-radius: 50%;
  background: #fff;
  color: transparent;
  font-size: .58rem
}

.payment-choice.active .payment-choice-check {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--ink)
}

.card-details-box {
  margin-top: 1rem;
  border: 1px solid #e1e4e9;
  border-radius: 18px;
  padding: 1.2rem;
  background: #fafaf8
}

.card-details-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem
}

.card-details-heading>div:first-child {
  display: flex;
  flex-direction: column
}

.card-details-heading span {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 500
}

.card-details-heading small {
  margin-top: .12rem;
  color: var(--muted);
  font-size: .67rem
}

.accepted-cards {
  display: flex;
  gap: .42rem;
  color: #4b5563;
  font-size: 1.7rem
}

.gateway-message {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-top: 1rem;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 1rem;
  background: #eff6ff;
  color: #1e40af
}

.gateway-message>i {
  margin-top: .17rem
}

.gateway-message strong {
  display: block;
  font-size: .82rem
}

.gateway-message p {
  margin: .15rem 0 0;
  color: #3359a0;
  font-size: .72rem
}

.checkout-consent {
  display: flex;
  align-items: flex-start;
  gap: .68rem;
  color: var(--muted);
  font-size: .76rem;
  cursor: pointer
}

.checkout-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: .1rem;
  accent-color: var(--primary)
}

.terms-feedback {
  margin-left: 1.7rem
}

.was-validated #termsConsent:invalid~span {
  color: var(--danger)
}

.checkout-secure-note {
  align-items: flex-start;
  border: 1px solid #ccebd6;
  background: #f0fdf4
}

.checkout-secure-note>i {
  margin-top: .15rem
}

.checkout-secure-note strong {
  display: block;
  color: #166534;
  font-size: .8rem
}

.checkout-secure-note p {
  margin: .14rem 0 0;
  font-size: .7rem;
  line-height: 1.55
}

.checkout-summary-card {
  position: sticky;
  top: 100px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 25px;
  padding: 1.35rem;
  background: linear-gradient(160deg, #111827, #0d121d);
  color: #fff;
  box-shadow: 0 24px 60px rgba(17, 24, 39, .20)
}

.checkout-summary-card:before {
  position: absolute;
  top: -90px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(245, 184, 0, .12);
  content: "";
  filter: blur(4px)
}

.summary-card-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem
}

.summary-card-top>div>span {
  color: rgba(255, 255, 255, .52);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em
}

.summary-card-top h2 {
  margin: .18rem 0 0;
  color: #fff;
  font-size: 1.15rem
}

.summary-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: .4rem .58rem;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .76);
  font-size: .62rem
}

.summary-course-card {
  position: relative;
  display: flex;
  gap: .85rem;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: .75rem;
  background: rgba(255, 255, 255, .055)
}

.summary-course-card img {
  width: 92px;
  height: 96px;
  flex: 0 0 92px;
  border-radius: 13px;
  object-fit: cover
}

.summary-course-copy {
  min-width: 0;
  padding: .05rem 0
}

.summary-course-level {
  display: inline-flex;
  margin-bottom: .3rem;
  border-radius: 999px;
  padding: .24rem .48rem;
  background: rgba(245, 184, 0, .18);
  color: var(--primary-bright);
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .06em
}

.summary-course-copy strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis
}

.summary-course-copy p {
  margin: .28rem 0;
  color: rgba(255, 255, 255, .55);
  font-size: .64rem;
  line-height: 1.45
}

.summary-schedule {
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  color: rgba(255, 255, 255, .7);
  font-size: .63rem
}

.summary-schedule i {
  margin-top: .18rem;
  color: var(--primary)
}

.summary-course-select {
  position: relative;
  margin-bottom: 1.2rem
}

.summary-course-select .form-label {
  color: rgba(255, 255, 255, .72)
}

.summary-course-select .form-select {
  min-height: 48px;
  border-color: rgba(255, 255, 255, .11);
  background-color: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: .75rem
}

.summary-course-select .form-select option {
  color: var(--ink)
}

.summary-price-list {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.summary-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .34rem 0;
  color: rgba(255, 255, 255, .62);
  font-size: .72rem
}

.summary-price-row strong {
  color: rgba(255, 255, 255, .88);
  font-size: .74rem;
  font-weight: 400
}

.summary-total-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0
}

.summary-total-row>div {
  display: flex;
  flex-direction: column
}

.summary-total-row span {
  color: #fff;
  font-size: .78rem;
  font-weight: 500
}

.summary-total-row small {
  color: rgba(255, 255, 255, .48);
  font-size: .62rem
}

.summary-total-row>strong {
  color: var(--primary-bright);
  font-size: 1.34rem;
  font-weight: 500;
  letter-spacing: -.03em
}

.checkout-pay-btn {
  min-height: 54px;
  justify-content: space-between;
  padding-right: 1.15rem;
  padding-left: 1.15rem;
  border-radius: 14px
}

.summary-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: .85rem;
  color: rgba(255, 255, 255, .48);
  font-size: .58rem
}

.summary-assurance span {
  display: inline-flex;
  align-items: center;
  gap: .3rem
}

.checkout-help-card {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .05)
}

.checkout-help-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 1.2rem
}

.checkout-help-card strong {
  display: block;
  color: var(--ink);
  font-size: .78rem
}

.checkout-help-card p {
  margin: .12rem 0 .28rem;
  font-size: .67rem
}

.checkout-help-card a {
  color: var(--ink);
  font-size: .68rem;
  font-weight: 500
}

.checkout-help-card a i {
  margin-left: .2rem;
  font-size: .58rem
}

@media (max-width:1199.98px) {
  .checkout-stepper {
    min-width: 390px
  }

  .summary-course-card img {
    width: 80px;
    height: 88px;
    flex-basis: 80px
  }
}

@media (max-width:991.98px) {
  .checkout-hero {
    padding: 42px 0 30px
  }

  .checkout-hero-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem
  }

  .checkout-stepper {
    width: 100%;
    min-width: 0;
    justify-content: flex-start
  }

  .checkout-summary-card {
    position: relative;
    top: auto
  }

  .checkout-help-card {
    margin-bottom: 1rem
  }

  .checkout-trust-strip {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap
  }
}

@media (max-width:767.98px) {
  .checkout-content {
    padding: 24px 0 64px
  }

  .checkout-stepper {
    justify-content: space-between
  }

  .checkout-step {
    gap: .42rem
  }

  .checkout-step>span:last-child {
    display: none
  }

  .checkout-step-line {
    flex: 1;
    width: auto;
    margin: 0 .5rem
  }

  .checkout-trust-strip {
    gap: 1.35rem;
    margin-bottom: 18px;
    border-radius: 14px;
    padding: .72rem .85rem
  }

  .checkout-panel {
    border-radius: 19px;
    padding: 1.15rem
  }

  .checkout-panel-head {
    margin-bottom: 1.3rem
  }

  .payment-method-grid {
    grid-template-columns: 1fr
  }

  .payment-choice {
    min-height: 78px
  }

  .card-details-heading {
    align-items: flex-start;
    flex-direction: column
  }

  .summary-course-card img {
    width: 88px;
    height: 92px;
    flex-basis: 88px
  }
}

@media (max-width:575.98px) {
  .checkout-hero h1 {
    font-size: 2.15rem
  }

  .checkout-hero p {
    font-size: .85rem
  }

  .checkout-step-icon {
    width: 31px;
    height: 31px;
    flex-basis: 31px
  }

  .checkout-panel-number {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px
  }

  .checkout-panel-head h2 {
    font-size: 1.06rem
  }

  .checkout-page .form-control,
  .checkout-page .form-select {
    min-height: 50px
  }

  .qatar-phone-field>span,
  .UAE-phone-field>span,
  .mobile-phone-field>span {
    min-width: 96px
  }

  .summary-assurance {
    justify-content: space-between;
    gap: .4rem
  }
}

.was-validated .field-wrap:has(.form-control:invalid)+.invalid-feedback,
.was-validated .qatar-phone-field:has(.form-control:invalid)+.invalid-feedback,
.was-validated .UAE-phone-field:has(.form-control:invalid)+.invalid-feedback,
.was-validated .mobile-phone-field:has(.form-control:invalid)+.invalid-feedback,
.was-validated .checkout-consent:has(input:invalid)+.terms-feedback {
  display: block
}

.was-validated .field-wrap:has(.form-control:valid) .form-control,
.was-validated .qatar-phone-field:has(.form-control:valid),
.was-validated .UAE-phone-field:has(.form-control:valid),
.was-validated .mobile-phone-field:has(.form-control:valid) {
  border-color: #86b99a
}

/* =========================================================
   HOME PAGE — EGRAD-INSPIRED COLOUR THEME
   Scoped to <body class="egrad-theme"> so all existing CSS
   for the other pages remains intact.
   Primary: #DD2F23 | Yellow: #FECF03 | Light blue: #CDEEFF
   ========================================================= */
.egrad-theme {
  --brand-red: #DD2F23;
  --brand-red-dark: #B82018;
  --brand-red-deep: #8E1712;
  --brand-yellow: #FECF03;
  --brand-yellow-light: #FFE76D;
  --brand-blue: #CDEEFF;
  --brand-blue-strong: #95D8F8;
  --primary: var(--brand-yellow);
  --primary-bright: #FFDC35;
  --primary-soft: #FFF3A8;
  --ink: #15233E;
  --ink-2: #263858;
  --muted: #617187;
  --surface: #FFFFFF;
  --surface-soft: var(--brand-blue);
  --line: rgba(21, 35, 62, .14);
  background: #fff;
}

.egrad-theme h1,
.egrad-theme h2,
.egrad-theme h3,
.egrad-theme h4,
.egrad-theme h5,
.egrad-theme h6 {
  font-weight: 700
}

.egrad-theme .page-shell {
  padding-top: 78px
}

/* Header */
.egrad-theme .site-navbar,
.egrad-theme .site-navbar.scrolled,
.egrad-theme .site-navbar.inner-nav {
  border-bottom-color: rgba(255, 255, 255, .18);
  background: rgba(221, 47, 35, .96);
  box-shadow: 0 10px 35px rgba(111, 16, 11, .20);
  backdrop-filter: blur(16px);
}

.egrad-theme .navbar-brand {
  color: #fff;
  font-weight: 800
}

.egrad-theme .brand-mark {
  background: var(--brand-yellow);
  color: var(--brand-red-deep);
  box-shadow: 0 8px 18px rgba(74, 20, 12, .18)
}

/* --- Navbar menu links (egrad-theme header): bolder + slightly larger --- */
.egrad-theme .navbar-nav .nav-link {
  color: rgba(255, 255, 255, .82);
  font-size: 1.02rem;
  font-weight: 700
}

.egrad-theme .navbar-nav .nav-link:hover,
.egrad-theme .navbar-nav .nav-link.active {
  color: var(--brand-yellow)
}

.egrad-theme .navbar-nav .nav-link:after {
  background: var(--brand-yellow)
}

.egrad-theme .currency-badge {
  border-color: rgba(255, 255, 255, .35);
  background: var(--brand-blue);
  color: var(--ink);
  font-weight: 700
}

.egrad-theme .site-navbar .btn-primary-custom {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--brand-red-deep)
}

.egrad-theme .navbar-toggler {
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
  background: rgba(255, 255, 255, .08)
}

/* Hero */
.egrad-theme .hero {
  isolation: isolate;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 108px 0 84px;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, .13), transparent 24%),
    radial-gradient(circle at 72% 72%, rgba(255, 207, 3, .13), transparent 26%),
    linear-gradient(135deg, #E84235 0%, var(--brand-red) 52%, #C7241A 100%);
}

.egrad-theme .hero:before {
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.egrad-theme .hero:after {
  position: absolute;
  top: 110px;
  right: -245px;
  z-index: -1;
  width: 610px;
  height: 610px;
  border: 74px solid var(--brand-yellow);
  border-left-color: transparent;
  border-bottom-color: var(--brand-blue);
  border-radius: 50%;
  transform: rotate(-18deg);
  content: "";
  opacity: .98;
}

.egrad-theme .hero .container {
  position: relative;
  z-index: 2
}

.egrad-theme .hero-kicker {
  border-color: rgba(255, 255, 255, .35);
  background: var(--brand-blue);
  color: var(--ink);
  font-weight: 700
}

.egrad-theme .hero h1 {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 4px 18px rgba(86, 11, 7, .12)
}

.egrad-theme .hero .text-highlight {
  color: var(--brand-yellow)
}

.egrad-theme .hero .text-highlight:after {
  height: .18em;
  background: var(--brand-blue);
  opacity: 1
}

.egrad-theme .hero-copy {
  color: rgba(255, 255, 255, .86)
}

.egrad-theme .hero-note {
  color: rgba(255, 255, 255, .90);
  font-weight: 600
}

.egrad-theme .hero-note i {
  color: var(--brand-yellow)
}

.egrad-theme .hero .btn-primary-custom {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--brand-red-deep);
  box-shadow: 0 15px 32px rgba(86, 20, 10, .22)
}

.egrad-theme .hero .btn-primary-custom:hover {
  border-color: #fff;
  background: #fff;
  color: var(--brand-red)
}

.egrad-theme .hero .btn-outline-custom {
  border-color: rgba(255, 255, 255, .45);
  background: var(--brand-blue);
  color: var(--ink)
}

.egrad-theme .hero .btn-outline-custom:hover {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--brand-red-deep)
}

.egrad-theme .hero-visual {
  overflow: hidden;
  border: 10px solid var(--brand-yellow);
  border-radius: 42px 42px 120px 42px;
  background: var(--brand-blue);
  box-shadow: 24px 28px 0 var(--brand-blue), 0 32px 80px rgba(92, 11, 7, .28);
}

.egrad-theme .hero-visual img {
  filter: saturate(1.08) contrast(1.02)
}

.egrad-theme .visual-caption {
  border-color: rgba(255, 255, 255, .32);
  background: rgba(142, 23, 18, .86)
}

.egrad-theme .live-dot:before {
  background: var(--brand-yellow);
  box-shadow: 0 0 0 5px rgba(254, 207, 3, .22)
}

/* Buttons and form focus */
.egrad-theme .btn-primary-custom {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 12px 25px rgba(221, 47, 35, .22)
}

.egrad-theme .btn-primary-custom:hover,
.egrad-theme .btn-primary-custom:focus {
  border-color: var(--brand-red-dark);
  background: var(--brand-red-dark);
  color: #fff;
  box-shadow: 0 16px 35px rgba(221, 47, 35, .28)
}

.egrad-theme .btn-outline-custom {
  border-color: rgba(221, 47, 35, .35);
  background: #fff;
  color: var(--brand-red)
}

.egrad-theme .btn-outline-custom:hover {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff
}

.egrad-theme .form-control:focus,
.egrad-theme .form-select:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 .22rem rgba(221, 47, 35, .15)
}

/* Curriculum strip */
.egrad-theme .trust-strip {
  border-color: rgba(21, 35, 62, .12);
  background: var(--brand-blue)
}

.egrad-theme .trust-label {
  color: var(--brand-red);
  font-weight: 800
}

.egrad-theme .curriculum-pill {
  border-color: rgba(221, 47, 35, .18);
  background: #fff;
  color: var(--ink);
  font-weight: 600
}

.egrad-theme .curriculum-pill i {
  color: var(--brand-red)
}

/* Main content colour blocks */
.egrad-theme .section-soft {
  background: linear-gradient(135deg, #EAF8FF 0%, var(--brand-blue) 100%)
}

.egrad-theme .eyebrow {
  color: var(--brand-red);
  font-weight: 800
}

.egrad-theme .eyebrow:before {
  height: 4px;
  border-radius: 99px;
  background: var(--brand-yellow)
}

.egrad-theme .feature-card,
.egrad-theme .course-card,
.egrad-theme .testimonial-card,
.egrad-theme .form-card,
.egrad-theme .accordion-item {
  border-color: rgba(221, 47, 35, .14);
  box-shadow: 0 15px 38px rgba(83, 42, 38, .09);
}

.egrad-theme .feature-card {
  position: relative;
  overflow: hidden;
  background: #fff
}

.egrad-theme .feature-card:after {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: var(--brand-blue);
  content: "";
  opacity: .72
}

.egrad-theme .feature-card .icon-box,
.egrad-theme .info-icon {
  background: var(--brand-yellow);
  color: var(--brand-red-deep)
}

.egrad-theme .feature-card h3 {
  color: var(--brand-red)
}

.egrad-theme .course-card {
  border-top: 6px solid var(--brand-yellow);
  background: #fff
}

.egrad-theme .course-card:hover {
  border-color: var(--brand-yellow);
  box-shadow: 0 25px 60px rgba(125, 35, 27, .17)
}

.egrad-theme .course-level {
  background: var(--brand-red);
  color: #fff
}

.egrad-theme .tag-pill {
  border-color: rgba(221, 47, 35, .18);
  background: var(--brand-blue);
  color: var(--ink);
  font-weight: 700
}

.egrad-theme .meta-item i {
  color: var(--brand-red)
}

.egrad-theme .course-price strong {
  color: var(--brand-red)
}

/* Video section */
.egrad-theme .section-dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-red-deep), var(--brand-red))
}

.egrad-theme .section-dark:before {
  position: absolute;
  top: -170px;
  right: -120px;
  width: 420px;
  height: 420px;
  border: 62px solid var(--brand-yellow);
  border-radius: 50%;
  content: "";
  opacity: .9
}

.egrad-theme .section-dark:after {
  position: absolute;
  bottom: -180px;
  left: -160px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: var(--brand-blue);
  content: "";
  opacity: .18
}

.egrad-theme .section-dark .container {
  position: relative;
  z-index: 1
}

.egrad-theme .section-dark .eyebrow {
  color: var(--brand-yellow)
}

.egrad-theme .video-card {
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 20px 45px rgba(65, 7, 4, .24)
}

.egrad-theme .play-button {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--brand-red-deep)
}

/* Reviews */
.egrad-theme #reviews {
  background: #FFF9DF
}

.egrad-theme #reviews .col-lg-4:nth-child(odd) .testimonial-card {
  background: var(--brand-blue)
}

.egrad-theme #reviews .col-lg-4:nth-child(even) .testimonial-card {
  background: #fff
}

.egrad-theme .stars {
  color: var(--brand-red)
}

.egrad-theme .reviewer strong {
  color: var(--brand-red)
}

/* Demo form */
.egrad-theme #book-demo {
  background: linear-gradient(120deg, var(--brand-blue), #ECF9FF 62%, #FFF4B4)
}

.egrad-theme #book-demo .form-card {
  border-top: 8px solid var(--brand-yellow);
  background: #fff
}

.egrad-theme .list-check li:before {
  color: var(--brand-red)
}

.egrad-theme #book-demo .btn-primary-custom {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--brand-red-deep)
}

.egrad-theme #book-demo .btn-primary-custom:hover {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff
}

/* FAQ */
.egrad-theme #faq {
  background: #fff
}

.egrad-theme .accordion-button:not(.collapsed) {
  background: var(--brand-yellow);
  color: var(--brand-red-deep)
}

.egrad-theme .accordion-button:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 .18rem rgba(221, 47, 35, .12)
}

.egrad-theme .accordion-button::after {
  filter: hue-rotate(325deg) saturate(2)
}

/* Footer and floating controls */
.egrad-theme .site-footer {
  background: #DD2F23;
  color: #fff;
}

.egrad-theme .site-footer a:hover {
  color: var(--brand-yellow)
}

.egrad-theme .site-footer .brand-mark {
  background: var(--brand-yellow);
  color: var(--brand-red-deep)
}

.egrad-theme .site-footer .btn-primary-custom {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--brand-red-deep)
}

.egrad-theme .footer-bottom {
  border-top-color: rgba(255, 255, 255, .18)
}

.egrad-theme .back-to-top {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--brand-red-deep)
}

/* Mobile offcanvas */
.egrad-theme .offcanvas {
  background: var(--brand-blue)
}

.egrad-theme .offcanvas .navbar-brand {
  color: var(--brand-red)
}

.egrad-theme .mobile-nav-link {
  border-bottom-color: rgba(221, 47, 35, .18);
  color: var(--ink);
  font-weight: 700
}

.egrad-theme .mobile-nav-link i {
  color: var(--brand-red)
}

.egrad-theme .offcanvas .btn-primary-custom {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff
}

@media (max-width:991.98px) {

  .egrad-theme .site-navbar,
  .egrad-theme .site-navbar.scrolled,
  .egrad-theme .site-navbar.inner-nav {
    background: rgba(221, 47, 35, .98)
  }

  .egrad-theme .hero {
    min-height: auto;
    padding-top: 86px
  }

  .egrad-theme .hero:after {
    right: -310px;
    top: 300px;
    width: 540px;
    height: 540px;
    border-width: 58px
  }

  .egrad-theme .hero-visual {
    box-shadow: 16px 18px 0 var(--brand-blue), 0 25px 60px rgba(92, 11, 7, .24)
  }
}

@media (max-width:767.98px) {
  .egrad-theme .page-shell {
    padding-top: 70px
  }

  .egrad-theme .hero {
    padding: 72px 0 64px
  }

  .egrad-theme .hero:after {
    right: -340px;
    top: 380px;
    width: 500px;
    height: 500px;
    border-width: 48px;
    opacity: .8
  }

  .egrad-theme .hero-visual {
    border-width: 7px;
    border-radius: 30px 30px 70px 30px;
    box-shadow: 10px 12px 0 var(--brand-blue), 0 22px 45px rgba(92, 11, 7, .20)
  }

  .egrad-theme .hero h1 {
    text-shadow: none
  }
}

@media (max-width:575.98px) {
  .egrad-theme .hero:after {
    display: none
  }

  .egrad-theme .hero-kicker {
    border-radius: 16px
  }

  .egrad-theme .trust-inner {
    padding: 1.4rem 0
  }
}

/* =========================================================
   COURSES + COURSE DETAILS + CHECKOUT
   EGRAD-INSPIRED INNER-PAGE THEME
   ---------------------------------------------------------
   Scoped through body classes so unrelated pages remain safe.
   Dominant red: #DD2F23
   Accent yellow: #FECF03
   Accent light blue: #CDEEFF
   ========================================================= */

/* ---------- Shared inner-page hero pattern ---------- */
.egrad-theme.courses-page-theme .page-hero,
.egrad-theme.course-details-page-theme .detail-hero,
.egrad-theme.checkout-page-theme .checkout-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .13), transparent 24%),
    linear-gradient(135deg, #E84235 0%, #DD2F23 55%, #C7241A 100%);
  color: #fff;
}

.egrad-theme.courses-page-theme .page-hero:before,
.egrad-theme.course-details-page-theme .detail-hero:before,
.egrad-theme.checkout-page-theme .checkout-hero:before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 40px 40px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 95%);
}

.egrad-theme.courses-page-theme .page-hero:after,
.egrad-theme.course-details-page-theme .detail-hero:after,
.egrad-theme.checkout-page-theme .checkout-hero:after {
  position: absolute;
  top: -205px;
  right: -120px;
  z-index: -1;
  width: 470px;
  height: 470px;
  border: 62px solid #FECF03;
  border-left-color: #CDEEFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
  content: "";
  opacity: .98;
}

.egrad-theme.courses-page-theme .page-hero .container,
.egrad-theme.course-details-page-theme .detail-hero .container,
.egrad-theme.checkout-page-theme .checkout-hero .container {
  position: relative;
  z-index: 2;
}

.egrad-theme.courses-page-theme .page-hero h1,
.egrad-theme.course-details-page-theme .detail-hero h1,
.egrad-theme.checkout-page-theme .checkout-hero h1 {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 4px 18px rgba(86, 11, 7, .14);
}

.egrad-theme.courses-page-theme .page-hero p,
.egrad-theme.course-details-page-theme .detail-hero p,
.egrad-theme.checkout-page-theme .checkout-hero p {
  color: rgba(255, 255, 255, .86);
}

.egrad-theme.courses-page-theme .page-hero .eyebrow,
.egrad-theme.course-details-page-theme .detail-hero .eyebrow,
.egrad-theme.checkout-page-theme .checkout-hero .eyebrow {
  color: #FECF03;
}

.egrad-theme.courses-page-theme .breadcrumb-item,
.egrad-theme.courses-page-theme .breadcrumb-item a,
.egrad-theme.course-details-page-theme .breadcrumb-item,
.egrad-theme.course-details-page-theme .breadcrumb-item a,
.egrad-theme.checkout-page-theme .checkout-breadcrumb .breadcrumb-item,
.egrad-theme.checkout-page-theme .checkout-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, .78);
}

.egrad-theme.courses-page-theme .breadcrumb-item.active,
.egrad-theme.course-details-page-theme .breadcrumb-item.active,
.egrad-theme.checkout-page-theme .checkout-breadcrumb .breadcrumb-item.active {
  color: #FECF03;
}

.egrad-theme.courses-page-theme .breadcrumb-item+.breadcrumb-item:before,
.egrad-theme.course-details-page-theme .breadcrumb-item+.breadcrumb-item:before,
.egrad-theme.checkout-page-theme .breadcrumb-item+.breadcrumb-item:before {
  color: rgba(255, 255, 255, .52);
}

/* ---------- Courses listing page ---------- */
.egrad-theme.courses-page-theme .page-hero {
  padding: 94px 0 72px;
}

.egrad-theme.courses-page-theme .page-hero #courseCount {
  border-color: #CDEEFF;
  background: #CDEEFF;
  color: #8E1712;
  box-shadow: 0 12px 28px rgba(86, 11, 7, .16);
}

.egrad-theme.courses-page-theme .section-soft {
  background:
    radial-gradient(circle at 8% 8%, rgba(254, 207, 3, .22), transparent 20%),
    linear-gradient(135deg, #EAF8FF 0%, #CDEEFF 100%);
}

.egrad-theme.courses-page-theme .filter-panel {
  overflow: hidden;
  border: 1px solid rgba(221, 47, 35, .18);
  border-top: 7px solid #FECF03;
  background: #fff;
  box-shadow: 0 20px 48px rgba(104, 37, 31, .13);
}

.egrad-theme.courses-page-theme .filter-panel:before {
  display: block;
  width: 76px;
  height: 8px;
  margin: -1.2rem -1.2rem 1rem auto;
  border-radius: 0 0 0 20px;
  background: #DD2F23;
  content: "";
}

.egrad-theme.courses-page-theme .filter-title {
  color: #DD2F23;
  font-weight: 800;
}

.egrad-theme.courses-page-theme #resetFilters {
  color: #DD2F23 !important;
  font-weight: 700;
}

.egrad-theme.courses-page-theme .filter-group {
  border-bottom-color: rgba(221, 47, 35, .13);
}

.egrad-theme.courses-page-theme .filter-group .text-dark,
.egrad-theme.courses-page-theme .filter-group label {
  color: #263858 !important;
  font-weight: 700;
}

.egrad-theme.courses-page-theme .course-filter {
  border-color: rgba(221, 47, 35, .25);
  background: #fff;
  color: #DD2F23;
  font-weight: 700;
}

.egrad-theme.courses-page-theme .course-filter:hover {
  border-color: #DD2F23;
  background: #DD2F23;
  color: #fff;
}

.egrad-theme.courses-page-theme .course-filter.active {
  border-color: #FECF03;
  background: #FECF03;
  color: #8E1712;
  box-shadow: 0 8px 18px rgba(254, 207, 3, .28);
}

.egrad-theme.courses-page-theme .search-wrap i {
  color: #DD2F23;
}

.egrad-theme.courses-page-theme .form-control,
.egrad-theme.courses-page-theme .form-select {
  border-color: rgba(221, 47, 35, .20);
  background: #F9FDFF;
}

.egrad-theme.courses-page-theme #courseGrid>.col-md-6:nth-child(3n+2) .course-card {
  border-top-color: #DD2F23;
}

.egrad-theme.courses-page-theme #courseGrid>.col-md-6:nth-child(3n+3) .course-card {
  border-top-color: #95D8F8;
}

.egrad-theme.courses-page-theme .course-card {
  position: relative;
  overflow: hidden;
}

.egrad-theme.courses-page-theme .course-card:after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #CDEEFF;
  content: "";
  opacity: .55;
  pointer-events: none;
}

.egrad-theme.courses-page-theme .course-card .course-body {
  position: relative;
  z-index: 1;
}

.egrad-theme.courses-page-theme .empty-state {
  border: 2px dashed rgba(221, 47, 35, .28);
  background: #FFF7C9;
}

.egrad-theme.courses-page-theme .empty-state h2 {
  color: #DD2F23;
}

.egrad-theme.courses-page-theme .cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(135deg, #B82018, #DD2F23);
  box-shadow: 0 24px 58px rgba(111, 16, 11, .22);
}

.egrad-theme.courses-page-theme .cta-band:before {
  position: absolute;
  top: -95px;
  right: -60px;
  z-index: -1;
  width: 235px;
  height: 235px;
  border: 36px solid #FECF03;
  border-radius: 50%;
  content: "";
}

.egrad-theme.courses-page-theme .cta-band:after {
  position: absolute;
  left: -75px;
  bottom: -105px;
  z-index: -1;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: #CDEEFF;
  content: "";
  opacity: .22;
}

.egrad-theme.courses-page-theme .cta-band h2 {
  color: #fff;
}

.egrad-theme.courses-page-theme .cta-band p {
  color: rgba(255, 255, 255, .82);
}

.egrad-theme.courses-page-theme .cta-band .eyebrow {
  color: #FECF03;
}

.egrad-theme.courses-page-theme .cta-band .btn-dark-custom {
  border-color: #FECF03;
  background: #FECF03;
  color: #8E1712;
  box-shadow: 0 14px 28px rgba(75, 14, 9, .18);
}

.egrad-theme.courses-page-theme .cta-band .btn-dark-custom:hover {
  border-color: #CDEEFF;
  background: #CDEEFF;
  color: #8E1712;
}

/* ---------- Course details page ---------- */
.egrad-theme.course-details-page-theme .detail-hero {
  padding: 94px 0 72px;
}

.egrad-theme.course-details-page-theme .detail-hero .tag-pill {
  border-color: rgba(255, 255, 255, .32);
  background: #CDEEFF;
  color: #8E1712;
}

.egrad-theme.course-details-page-theme .detail-hero .tag-pill:nth-child(2) {
  background: #FECF03;
}

.egrad-theme.course-details-page-theme .detail-price strong {
  color: #FECF03;
  font-weight: 800;
}

.egrad-theme.course-details-page-theme .detail-price span {
  color: rgba(255, 255, 255, .76);
}

.egrad-theme.course-details-page-theme .detail-hero .btn-primary-custom {
  border-color: #FECF03;
  background: #FECF03;
  color: #8E1712;
}

.egrad-theme.course-details-page-theme .detail-hero .btn-primary-custom:hover {
  border-color: #fff;
  background: #fff;
  color: #DD2F23;
}

.egrad-theme.course-details-page-theme .detail-hero .btn-outline-custom {
  border-color: #CDEEFF;
  background: #CDEEFF;
  color: #8E1712;
}

.egrad-theme.course-details-page-theme .detail-image {
  border: 10px solid #FECF03;
  border-radius: 42px 42px 105px 42px;
  background: #CDEEFF;
  box-shadow: 20px 22px 0 #CDEEFF, 0 30px 75px rgba(86, 11, 7, .28);
}

.egrad-theme.course-details-page-theme main>.section-space:not(.section-soft) {
  background:
    radial-gradient(circle at 92% 12%, rgba(254, 207, 3, .16), transparent 18%),
    #fff;
}

.egrad-theme.course-details-page-theme #outcomesGrid .info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(221, 47, 35, .16);
  border-top: 6px solid #FECF03;
  background: #fff;
}

.egrad-theme.course-details-page-theme #outcomesGrid>div:nth-child(even) .info-card {
  background: #EAF8FF;
  border-top-color: #DD2F23;
}

.egrad-theme.course-details-page-theme #outcomesGrid .info-icon {
  background: #FECF03;
  color: #8E1712;
}

.egrad-theme.course-details-page-theme #outcomesGrid h3,
.egrad-theme.course-details-page-theme #outcomesGrid h4,
.egrad-theme.course-details-page-theme #outcomesGrid strong {
  color: #DD2F23;
}

.egrad-theme.course-details-page-theme #syllabusAccordion .accordion-item {
  border-color: rgba(221, 47, 35, .18) !important;
  background: #fff;
}

.egrad-theme.course-details-page-theme #syllabusAccordion .accordion-button {
  color: #263858;
}

.egrad-theme.course-details-page-theme #syllabusAccordion .accordion-button:not(.collapsed) {
  background: #FECF03;
  color: #8E1712;
}

.egrad-theme.course-details-page-theme .teacher-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(221, 47, 35, .16);
  border-top: 7px solid #FECF03;
  background: linear-gradient(135deg, #EAF8FF, #CDEEFF);
}

.egrad-theme.course-details-page-theme .teacher-card:after {
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #FECF03;
  content: "";
  opacity: .45;
}

.egrad-theme.course-details-page-theme .teacher-card>* {
  position: relative;
  z-index: 1;
}

.egrad-theme.course-details-page-theme .teacher-card img {
  border: 4px solid #fff;
  box-shadow: 0 10px 24px rgba(104, 37, 31, .16);
}

.egrad-theme.course-details-page-theme .teacher-card h2 {
  color: #DD2F23;
}

.egrad-theme.course-details-page-theme .sticky-enrol {
  overflow: hidden;
  border: 0;
  background: linear-gradient(155deg, #8E1712, #DD2F23);
  color: #fff;
  box-shadow: 0 25px 60px rgba(111, 16, 11, .25);
}

.egrad-theme.course-details-page-theme .sticky-enrol:before {
  position: absolute;
  top: -65px;
  right: -55px;
  width: 155px;
  height: 155px;
  border: 26px solid #FECF03;
  border-radius: 50%;
  content: "";
  opacity: .9;
}

.egrad-theme.course-details-page-theme .sticky-enrol>* {
  position: relative;
  z-index: 1;
}

.egrad-theme.course-details-page-theme .sticky-enrol h2 {
  color: #fff;
}

.egrad-theme.course-details-page-theme .sticky-enrol .order-detail {
  border-bottom-color: rgba(255, 255, 255, .17);
}

.egrad-theme.course-details-page-theme .sticky-enrol .order-detail span {
  color: rgba(255, 255, 255, .69);
}

.egrad-theme.course-details-page-theme .sticky-enrol .order-detail strong {
  color: #fff;
}

.egrad-theme.course-details-page-theme .sticky-enrol .order-detail:last-of-type strong {
  color: #FECF03;
}

.egrad-theme.course-details-page-theme .sticky-enrol .btn-primary-custom {
  border-color: #FECF03;
  background: #FECF03;
  color: #8E1712;
}

.egrad-theme.course-details-page-theme .sticky-enrol .btn-outline-custom {
  border-color: #CDEEFF;
  background: #CDEEFF;
  color: #8E1712;
}

.egrad-theme.course-details-page-theme .sticky-enrol p {
  color: rgba(255, 255, 255, .72) !important;
}

.egrad-theme.course-details-page-theme .section-soft {
  background:
    radial-gradient(circle at 8% 16%, rgba(254, 207, 3, .22), transparent 20%),
    linear-gradient(135deg, #EAF8FF, #CDEEFF);
}

/* ---------- Checkout page ---------- */
.egrad-theme.checkout-page-theme.checkout-page {
  background:
    radial-gradient(circle at 10% 16%, rgba(254, 207, 3, .18), transparent 17%),
    linear-gradient(135deg, #EAF8FF, #CDEEFF);
}

.egrad-theme.checkout-page-theme .checkout-hero {
  padding: 52px 0 40px;
}

.egrad-theme.checkout-page-theme .checkout-step {
  color: rgba(255, 255, 255, .65);
}

.egrad-theme.checkout-page-theme .checkout-step small {
  color: rgba(255, 255, 255, .54);
}

.egrad-theme.checkout-page-theme .checkout-step.active {
  color: #fff;
}

.egrad-theme.checkout-page-theme .checkout-step.active small {
  color: #FECF03;
}

.egrad-theme.checkout-page-theme .checkout-step-icon {
  border-color: rgba(255, 255, 255, .38);
  background: #CDEEFF;
  color: #8E1712;
}

.egrad-theme.checkout-page-theme .checkout-step.active .checkout-step-icon,
.egrad-theme.checkout-page-theme .checkout-step.complete .checkout-step-icon {
  border-color: #FECF03;
  background: #FECF03;
  color: #8E1712;
  box-shadow: 0 8px 20px rgba(86, 11, 7, .22);
}

.egrad-theme.checkout-page-theme .checkout-step-line {
  background: rgba(255, 255, 255, .28);
}

.egrad-theme.checkout-page-theme .checkout-step-line.complete {
  background: #FECF03;
}

.egrad-theme.checkout-page-theme .checkout-content {
  background: transparent;
}

.egrad-theme.checkout-page-theme .checkout-trust-strip {
  border-color: rgba(221, 47, 35, .16);
  background: #FFF7C9;
  color: #263858;
  box-shadow: 0 14px 32px rgba(104, 37, 31, .10);
}

.egrad-theme.checkout-page-theme .checkout-trust-strip i {
  color: #DD2F23;
}

.egrad-theme.checkout-page-theme .checkout-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(221, 47, 35, .16);
  border-top: 7px solid #DD2F23;
  background: #fff;
  box-shadow: 0 20px 48px rgba(104, 37, 31, .12);
}

.egrad-theme.checkout-page-theme .checkout-panel:nth-of-type(2) {
  border-top-color: #FECF03;
}

.egrad-theme.checkout-page-theme .checkout-panel:after {
  position: absolute;
  top: -48px;
  right: -48px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #CDEEFF;
  content: "";
  opacity: .65;
  pointer-events: none;
}

.egrad-theme.checkout-page-theme .checkout-panel>* {
  position: relative;
  z-index: 1;
}

.egrad-theme.checkout-page-theme .checkout-panel-head {
  border-bottom-color: rgba(221, 47, 35, .13);
}

.egrad-theme.checkout-page-theme .checkout-panel-number {
  background: #FECF03;
  color: #8E1712;
  box-shadow: 0 9px 22px rgba(254, 207, 3, .26);
}

.egrad-theme.checkout-page-theme .checkout-panel-head p {
  color: #DD2F23;
  font-weight: 800;
}

.egrad-theme.checkout-page-theme .checkout-panel-head h2 {
  color: #263858;
  font-weight: 800;
}

.egrad-theme.checkout-page-theme .checkout-page .form-label {
  color: #263858;
}

.egrad-theme.checkout-page-theme .checkout-page .form-control,
.egrad-theme.checkout-page-theme .checkout-page .form-select,
.egrad-theme.checkout-page-theme .qatar-phone-field,
.egrad-theme.checkout-page-theme .UAE-phone-field,
.egrad-theme.checkout-page-theme .mobile-phone-field {
  border-color: rgba(221, 47, 35, .20);
  background: #F9FDFF;
}

.egrad-theme.checkout-page-theme .field-wrap>i:first-child {
  color: #DD2F23;
}

.egrad-theme.checkout-page-theme .qatar-phone-field>span,
.egrad-theme.checkout-page-theme .UAE-phone-field>span,
.egrad-theme.checkout-page-theme .mobile-phone-field>span {
  border-right-color: rgba(221, 47, 35, .16);
  background: #CDEEFF;
  color: #8E1712;
  font-weight: 700;
}

.egrad-theme.checkout-page-theme .payment-choice {
  border-color: rgba(221, 47, 35, .17);
  background: #fff;
}

.egrad-theme.checkout-page-theme .payment-choice:hover {
  border-color: #DD2F23;
}

.egrad-theme.checkout-page-theme .payment-choice.active {
  border-color: #DD2F23;
  background: linear-gradient(135deg, #FFF7C9, #EAF8FF);
  box-shadow: 0 0 0 3px rgba(221, 47, 35, .10);
}

.egrad-theme.checkout-page-theme .payment-choice-icon {
  border-color: rgba(221, 47, 35, .14);
  background: #CDEEFF;
  color: #DD2F23;
}

.egrad-theme.checkout-page-theme .payment-choice.active .payment-choice-check {
  border-color: #FECF03;
  background: #FECF03;
  color: #8E1712;
}

.egrad-theme.checkout-page-theme .card-details-box {
  border-color: rgba(221, 47, 35, .16);
  background: linear-gradient(135deg, #EAF8FF, #CDEEFF);
}

.egrad-theme.checkout-page-theme .accepted-cards {
  color: #DD2F23;
}

.egrad-theme.checkout-page-theme .gateway-message {
  border-color: rgba(221, 47, 35, .18);
  background: #FFF7C9;
  color: #8E1712;
}

.egrad-theme.checkout-page-theme .gateway-message p {
  color: #8E1712;
}

.egrad-theme.checkout-page-theme .checkout-consent input {
  accent-color: #DD2F23;
}

.egrad-theme.checkout-page-theme .checkout-secure-note {
  border-color: rgba(221, 47, 35, .18);
  background: #FFF7C9;
}

.egrad-theme.checkout-page-theme .checkout-secure-note,
.egrad-theme.checkout-page-theme .checkout-secure-note strong,
.egrad-theme.checkout-page-theme .checkout-secure-note p {
  color: #8E1712;
}

.egrad-theme.checkout-page-theme .checkout-summary-card {
  border: 1px solid rgba(255, 255, 255, .15);
  background: linear-gradient(155deg, #8E1712, #DD2F23);
  box-shadow: 0 26px 65px rgba(111, 16, 11, .28);
}

.egrad-theme.checkout-page-theme .checkout-summary-card:before {
  top: -80px;
  right: -65px;
  width: 210px;
  height: 210px;
  border: 34px solid #FECF03;
  background: transparent;
  opacity: .95;
}

.egrad-theme.checkout-page-theme .summary-secure-badge {
  border-color: rgba(255, 255, 255, .25);
  background: #CDEEFF;
  color: #8E1712;
  font-weight: 700;
}

.egrad-theme.checkout-page-theme .summary-course-card {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .09);
}

.egrad-theme.checkout-page-theme .summary-course-level {
  background: #FECF03;
  color: #8E1712;
  font-weight: 800;
}

.egrad-theme.checkout-page-theme .summary-schedule i {
  color: #FECF03;
}

.egrad-theme.checkout-page-theme .summary-course-select .form-select {
  border-color: rgba(255, 255, 255, .28);
  background-color: rgba(255, 255, 255, .12);
}

.egrad-theme.checkout-page-theme .summary-total-row>strong {
  color: #FECF03;
  font-weight: 800;
}

.egrad-theme.checkout-page-theme .checkout-pay-btn {
  border-color: #FECF03;
  background: #FECF03;
  color: #8E1712;
  box-shadow: 0 15px 32px rgba(75, 14, 9, .20);
}

.egrad-theme.checkout-page-theme .checkout-pay-btn:hover {
  border-color: #CDEEFF;
  background: #CDEEFF;
  color: #8E1712;
}

.egrad-theme.checkout-page-theme .checkout-help-card {
  border-color: rgba(221, 47, 35, .16);
  background: #FFF7C9;
}

.egrad-theme.checkout-page-theme .checkout-help-icon {
  background: #CDEEFF;
  color: #DD2F23;
}

.egrad-theme.checkout-page-theme .checkout-help-card strong,
.egrad-theme.checkout-page-theme .checkout-help-card a {
  color: #DD2F23;
}

/* ---------- Responsive inner-page details ---------- */
@media (max-width:991.98px) {

  .egrad-theme.courses-page-theme .page-hero:after,
  .egrad-theme.course-details-page-theme .detail-hero:after,
  .egrad-theme.checkout-page-theme .checkout-hero:after {
    top: -235px;
    right: -185px;
    width: 420px;
    height: 420px;
    border-width: 52px;
  }

  .egrad-theme.course-details-page-theme .detail-image {
    box-shadow: 14px 16px 0 #CDEEFF, 0 25px 55px rgba(86, 11, 7, .22);
  }
}

@media (max-width:767.98px) {

  .egrad-theme.courses-page-theme .page-hero,
  .egrad-theme.course-details-page-theme .detail-hero {
    padding: 66px 0 54px;
  }

  .egrad-theme.checkout-page-theme .checkout-hero {
    padding: 44px 0 34px;
  }

  .egrad-theme.courses-page-theme .page-hero:after,
  .egrad-theme.course-details-page-theme .detail-hero:after,
  .egrad-theme.checkout-page-theme .checkout-hero:after {
    top: -260px;
    right: -230px;
    width: 390px;
    height: 390px;
    border-width: 45px;
    opacity: .76;
  }

  .egrad-theme.course-details-page-theme .detail-image {
    border-width: 7px;
    border-radius: 30px 30px 70px 30px;
    box-shadow: 9px 11px 0 #CDEEFF, 0 20px 42px rgba(86, 11, 7, .19);
  }
}

@media (max-width:575.98px) {

  .egrad-theme.courses-page-theme .page-hero:after,
  .egrad-theme.course-details-page-theme .detail-hero:after,
  .egrad-theme.checkout-page-theme .checkout-hero:after {
    display: none;
  }

  .egrad-theme.courses-page-theme .cta-band:before {
    right: -105px;
  }

  .egrad-theme.course-details-page-theme .sticky-enrol:before {
    right: -85px;
  }
}

/* =========================================================
   SCROLL JOIN REVEAL
   Paired content enters from opposite sides and meets in its
   natural centre position. Activated by the inline observer
   in each page; existing component styles remain untouched.
   ========================================================= */
.scroll-motion-ready .scroll-join {
  --scroll-x: 0px;
  --scroll-y: 22px;
  --scroll-delay: 0ms;
  opacity: 0;
  filter: blur(7px);
  transform: translate3d(var(--scroll-x), var(--scroll-y), 0) scale(.985);
  transition:
    opacity .72s cubic-bezier(.22, 1, .36, 1) var(--scroll-delay),
    transform .9s cubic-bezier(.16, 1, .3, 1) var(--scroll-delay),
    filter .72s ease var(--scroll-delay);
  will-change: opacity, transform, filter;
}

.scroll-motion-ready .scroll-join.scroll-from-left {
  --scroll-x: -86px
}

.scroll-motion-ready .scroll-join.scroll-from-right {
  --scroll-x: 86px
}

.scroll-motion-ready .scroll-join.scroll-from-up {
  --scroll-y: 46px
}

.scroll-motion-ready .scroll-join.is-inview {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.scroll-motion-ready .scroll-join.scroll-finished {
  will-change: auto
}

@media (max-width:767.98px) {
  .scroll-motion-ready .scroll-join.scroll-from-left {
    --scroll-x: -38px
  }

  .scroll-motion-ready .scroll-join.scroll-from-right {
    --scroll-x: 38px
  }

  .scroll-motion-ready .scroll-join.scroll-from-up {
    --scroll-y: 30px
  }
}

@media (prefers-reduced-motion:reduce) {
  .scroll-motion-ready .scroll-join {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   MOBILE HORIZONTAL OVERFLOW GUARD
   Keeps the document fixed to the viewport while preserving
   normal vertical scrolling and responsive component sizing.
   ========================================================= */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

@supports (overflow-x:clip) {

  html,
  body {
    overflow-x: clip;
  }
}

@media (max-width:767.98px) {

  html,
  body {
    touch-action: pan-y;
  }

  .page-shell,
  body>main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  .container-fluid,
  .row,
  [class*="col-"],
  form,
  .checkout-hero-inner,
  .checkout-panel {
    min-width: 0;
  }

  .checkout-trust-strip,
  .scroll-motion-ready .scroll-join {
    max-width: 100%;
  }

  @supports (overflow-x:clip) {

    .page-shell,
    body>main {
      overflow-x: clip;
    }
  }
}

/* =========================================================
   COUNTRY-CODE PHONE FIELD + SELECT2 (searchable dropdown)
   Single shared source — used on both the tutor application
   form and the contact form, so both stay in sync from now on.
   ========================================================= */

.country-phone-field {
  display: flex;
  overflow: hidden;
  border: 1px solid #dfe2e8;
  border-radius: 13px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.country-phone-field:focus-within {
  border-color: var(--primary, #DD2F23);
  box-shadow: 0 0 0 .22rem rgba(221, 47, 35, .13);
}

.country-phone-field input {
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}

.country-phone-field .select2-container {
  flex: 0 0 140px;
  border-right: 1px solid #e5e7eb;
}

.country-phone-field .select2-selection--single {
  height: 100% !important;
  min-height: 50px;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f7f7f4 !important;
  display: flex;
  align-items: center;
}

.country-phone-field .select2-selection__rendered {
  padding-left: 14px !important;
  font-size: .85rem;
  line-height: normal !important;
  font-family: "Plus Jakarta Sans", "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif;
}

.country-phone-field .select2-selection__arrow {
  height: 100% !important;
}

.select2-dropdown {
  border-color: #dfe2e8;
  border-radius: 10px;
  overflow: hidden;
}

.select2-search--dropdown .select2-search__field {
  border-radius: 8px;
  border-color: #dfe2e8;
  padding: 6px 10px;
}

.select2-results__option {
  font-size: .88rem;
  font-family: "Plus Jakarta Sans", "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--primary, #DD2F23) !important;
}