@font-face {
  font-family: "Bebas Book";
  src:
    url("https://cdn.jsdelivr.net/gh/dharmatype/Bebas-Neue@master/fonts/BebasNeue_Book.woff2")
      format("woff2"),
    url("https://cdn.jsdelivr.net/gh/dharmatype/Bebas-Neue@master/fonts/BebasNeue_Book.woff")
      format("woff");
  font-weight: 400;
  font-style: normal;
}
:root {
  --ew-teal: #205287;
  --ew-teal-d: #007a8e;
  --ew-teal-l: #e0f5f8;
  --ew-grey: #63666b;
  --ew-dark: #1a1d22;
  --ew-off: #f4f6f7;
  --ew-white: #ffffff;
  --ew-border: #dde3e6;

  --bb-orange: #ff8200;
  --bb-yellow: #ffdf1b;
  --bb-blue: #0060a9;
  --bb-pink: #e21568;
  --bb-amber: #d96e27;
  --bb-sky: #82c3c9;
  --bb-teal: #51b0bb;
  --bb-orange-d: #d46a00;
  --bb-yellow-d: #e6c800;
  --bb-blue-d: #004d88;
  --bb-fun-bg: #fff9ec;
}

h1,
h2,
h3,
h4,
h5,
h6,
.mod-title,
.sidebar-title,
.modal-title,
.modal-body h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
}

.logo-img {
  max-height: 44px;
}
/* ── PAGE HEADER ── */
.page-header {
  position: relative;
  padding: 100px 0px 100px;
  overflow: hidden;
  isolation: isolate;
  background: #1a0e00;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-header-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(26, 26, 0, 0.97) 0%,
    rgba(60, 58, 0, 0.93) 35%,
    rgba(100, 88, 0, 0.1) 60%,
    rgba(255, 225, 0, 0.05) 100%
  );
}
.page-header::before {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -60px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 223, 27, 0.22) 0%,
    transparent 60%
  );
  z-index: 0;
  pointer-events: none;
}
.page-header::after {
  content: "";
  position: absolute;
  top: -80px;
  left: 30%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 130, 0, 0.18) 0%,
    transparent 60%
  );
  z-index: 0;
  pointer-events: none;
}
.page-header-inner {
  position: relative;
  z-index: 1;
}

.page-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 223, 27, 0.15);
  border: 1px solid rgba(255, 223, 27, 0.5);
  color: var(--bb-yellow);
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.page-header-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bb-yellow);
  animation: pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.65);
  }
}

.page-header h1 {
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.page-header h1 em {
  font-style: normal;
  color: var(--bb-yellow);
  display: block;
  font-size: clamp(3.5rem, 8.5vw, 6.5rem);
  line-height: 0.95;
}
.page-header .sub {
  color: rgba(255, 255, 255, 0.82);
  font-family: "Bebas Book", system-ui, sans-serif;
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 0;
  letter-spacing: 0.4px;
}

.hero-pills {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}
.hero-pill i {
  color: var(--bb-yellow);
}

/* Hero logo card */
.hero-logo-card {
  background: linear-gradient(
    145deg,
    var(--bb-orange) 0%,
    var(--bb-amber) 100%
  );
  border-radius: 20px;
  padding: 2rem 2rem 1.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(255, 130, 0, 0.4),
    0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-logo-card img {
  max-width: 190px;
  max-height: 80px;
  object-fit: contain;
  display: block;
  margin: 0.5rem auto 0;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.25));
}
.hero-logo-card .card-divider {
  width: 48px;
  height: 3px;
  background: var(--bb-yellow);
  margin: 1.2rem auto 0.9rem;
  border-radius: 2px;
}
.hero-logo-stat {
  display: flex;
  justify-content: center;
  gap: 0;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  overflow: hidden;
}
.hero-logo-stat .stat {
  flex: 1;
  text-align: center;
  padding: 0.7rem 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-logo-stat .stat:last-child {
  border-right: none;
}
.hero-logo-stat .stat-val {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  color: var(--bb-yellow);
  line-height: 1;
  letter-spacing: 1px;
}
.hero-logo-stat .stat-lbl {
  font-family: "Bebas Book", system-ui, sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 0.1rem;
}

.breadcrumb-bar {
  background: rgba(0, 0, 0, 0.32);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.6rem 0;
  margin-top: 3rem;
  position: relative;
  z-index: 3;
  backdrop-filter: blur(4px);
}
.breadcrumb-bar a {
  color: var(--bb-yellow);
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.breadcrumb-bar a:hover {
  text-decoration: underline;
}
.breadcrumb-bar .sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.45rem;
}
.breadcrumb-bar .current {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ── LAYOUT ── */
.course-layout {
  padding: 2.5rem 0 3.5rem;
}

/* ── SIDEBAR ── */
.course-sidebar {
  background: var(--ew-white);
  border-radius: 16px;
  border: 2px solid var(--bb-yellow);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.sidebar-thumb {
  background: var(--bb-orange);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.sidebar-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
}
.sidebar-thumb img {
  max-width: 100%;
  max-height: 85px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.sidebar-body {
  padding: 1.4rem;
}
.sidebar-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: var(--ew-dark);
  margin-bottom: 0.9rem;
  line-height: 1.2;
}
.sidebar-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}
.sidebar-meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--ew-grey);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--ew-border);
}
.sidebar-meta li:last-child {
  border-bottom: none;
}
.sidebar-meta li i {
  color: var(--bb-orange);
  width: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.btn-bb {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--bb-orange);
  color: #fff !important;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 0 var(--bb-orange-d);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn-bb:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--bb-orange-d);
}
.btn-bb:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--bb-orange-d);
}
.btn-bb i {
  margin-right: 0.4rem;
}

/* ── COURSE CARDS ── */
.course-card {
  background: var(--ew-white);
  border-radius: 16px;
  border: 1px solid var(--ew-border);
  padding: 1.8rem 2rem;
  margin-bottom: 1.5rem;
}
.course-card h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 1.5px;
  color: var(--ew-dark);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.course-card h2 i {
  color: var(--bb-orange);
  font-size: 1.1rem;
}
.course-card h2::after {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--bb-orange), var(--bb-yellow));
  margin-left: 0.3rem;
  align-self: flex-end;
  margin-bottom: 3px;
}

.stats-row {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-top: 2px solid var(--bb-yellow);
  border-bottom: 1px dashed var(--ew-border);
  margin-bottom: 1.4rem;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.stat-item i {
  color: var(--bb-orange);
  font-size: 0.9rem;
}
.stat-item span {
  font-size: 0.9rem;
  color: var(--ew-grey);
}

/* ── MODULE ACCORDION ── */
.module-accordion .module-header {
  background: var(--ew-off);
  border: 2px solid var(--ew-border);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.2s;
  margin-bottom: 0.6rem;
}
.module-accordion .module-header:hover {
  background: #fff9ec;
  border-color: var(--bb-yellow);
  transform: translateX(3px);
}
.module-accordion .module-header.open {
  background: linear-gradient(
    100deg,
    var(--bb-orange) 0%,
    var(--bb-amber) 100%
  );
  border-color: var(--bb-orange-d);
  color: #fff;
  box-shadow: 3px 3px 0 var(--bb-orange-d);
  transform: translateX(0);
}
.module-accordion .module-header.open .mod-title {
  color: #fff;
}
.module-accordion .module-header.open .mod-meta {
  color: rgba(255, 255, 255, 0.8);
}
.module-accordion .module-header.open .mod-ico {
  background: var(--bb-yellow);
  color: var(--bb-orange);
}
.module-accordion .module-header.open .dur-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.module-accordion .module-header.open .mod-chevron {
  transform: rotate(180deg);
  color: rgba(255, 255, 255, 0.9);
}

.mod-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bb-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.mod-info {
  flex: 1;
}
.mod-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--ew-dark);
  margin-bottom: 0.15rem;
}
.mod-meta {
  font-size: 0.8rem;
  color: var(--ew-grey);
}
.mod-chevron {
  color: var(--ew-grey);
  transition: transform 0.25s;
}
.dur-badge {
  background: #fff3d0;
  color: var(--bb-amber);
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.session-list {
  padding: 0.4rem 0 0.8rem 1rem;
  display: none;
}
.session-list.open {
  display: block;
}
.session-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  transition: background 0.15s;
}
.session-item:hover {
  background: #fff9ec;
}
.session-num {
  background: #fff3d0;
  color: var(--bb-amber);
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
}
.session-title {
  font-size: 0.9rem;
  color: var(--ew-dark);
  line-height: 1.45;
}
.session-icon {
  color: var(--bb-orange);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 4px;
}
.sub-item {
  color: var(--ew-grey) !important;
}
.sub-item strong {
  color: var(--ew-dark);
  font-weight: 700;
}

/* Fun promo banner */
.fun-banner {
  background: linear-gradient(120deg, var(--bb-blue) 0%, #0060a9 100%);
  border-radius: 14px;
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.fun-banner::before {
  content: "☀️";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
  opacity: 0.2;
}
.fun-banner-ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bb-yellow);
  color: var(--bb-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.fun-banner h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 0 0 0.1rem;
}
.fun-banner p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ── RATINGS ── */
.stars {
  color: var(--bb-yellow);
}
.star-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.bar-track {
  flex: 1;
  height: 7px;
  background: var(--ew-border);
  border-radius: 4px;
}
.bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--bb-orange), var(--bb-yellow));
}
.bar-pct {
  font-size: 0.75rem;
  color: var(--ew-grey);
  width: 30px;
  text-align: right;
}
.rating-big {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  letter-spacing: 1px;
  color: var(--ew-dark);
  line-height: 1;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.55s ease forwards;
}
.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 991px) {
  .course-sidebar {
    position: static;
    margin-bottom: 1.5rem;
  }
}
