:root {
  --bs-primary: #ef0303;
}

.btn-primary {
  background-color: #ef0303 !important;
  border-color: #ef0303 !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #c40202 !important;
  border-color: #c40202 !important;
}

.bg-primary {
  background-color: #ef0303 !important;
}

.text-primary {
  color: #ef0303 !important;
}

.text-justify {
  text-align: justify;
}

.border-primary {
  border-color: #ef0303 !important;
}


.bg-white{
  background: #fff !important;
}

.bg-gradient{
    background: linear-gradient(0deg, #eff2f3 0%, #dee0f3 100%) !important;
}

  .inner-page{
    padding-top: 100px;
  }

  .inner-page-gradient{
    padding-top: 100px;
    background: linear-gradient(0deg, #eff2f3 0%, #dee0f3 100%);

  }  

  .inner-page-white{
    padding-top: 100px;
    background: #fff;
  }  

 /*Custom unstyled List */
  .custom-list{
	list-style: none;
	margin-top: 10px;
  }

  .custom-list ul {
	padding: 0;
	margin: 0;
	list-style: none;
  }
  
  .custom-list li {
	line-height: 2;
  }


.list-box {
	padding: 20px;
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.75);
	box-shadow: 0 2px 29px 0 rgba(68, 88, 144, 0.12);
	transition: all 0.1s ease-in-out;
	width: 100%;
	/* height: 100%; */
  }
  
  .list-box:hover {
	transform: translateY(-10px);
	box-shadow: 0 2px 35px 0 rgba(68, 88, 144, 0.2);
  }

  .list-box .title {
	margin-left: 0px;
	font-weight: 700;
	margin-bottom: 10px;
	font-size: 14px;
  }
  
  .list-box .title a {
	color: #2a2c39;
	transition: ease-in-out 0.3s;
  }
  
  .list-box .title a:hover {
	color: #ef0303;
  }

  .list-box ul {
	padding: 0;
	margin: 0;
	list-style: none;
  }
  
  .list-box li {
	line-height: 1.7;
  }

  .list-box li a{
	color: #2a2c39;
  }

  .testimonial-item1 {
	background: #ef0303;
	width: fit-content;
	margin: 0px 15px;
	display: inline-block;
  }
  

  .contact .info .cta-btn {
	font-family: "Raleway", sans-serif;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	display: inline-block;
	padding: 12px 30px;
	border-radius: 50px;
	transition: 0.5s;
	margin: 10px;
	color: #fff;
	background: #ef0303;
	border: 1px solid #ef0303;

  }
  
  .contact .info .cta-btn:hover {
	background: #fff;
	color: #ef0303;
	border: 1px solid #ef0303;

  }
  .cta-dark h1{
    color: #ef0303;
  }
  .cta-dark p{
  color: #333;
  }



/* ===============================
   ROUND BUTTON SYSTEM
   =============================== */

/* Theme Variables */
:root {
  --btn-primary: #ef0303;
  --btn-primary-dark: #c40202;
  --btn-white: #ffffff;
}

/* Base Button */
.btn-round {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 50px;
  line-height: 1;
  transition: all 0.35s ease;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 767.98px) {
  .btn-round + .btn-round,
  .btn-round + .btn,
  .btn + .btn-round {
    margin-top: .75rem;
  }

  .d-flex > .btn-round + .btn-round,
  .d-flex > .btn-round + .btn,
  .d-flex > .btn + .btn-round,
  .btn-group > .btn-round + .btn-round,
  .btn-group > .btn-round + .btn,
  .btn-group > .btn + .btn-round {
    margin-top: 0;
  }
}

/* ---------- LIGHT BACKGROUND ---------- */

/* Light BG – Outline */
.btn-light-outline {
  color: var(--btn-primary);
  background: transparent;
  border-color: var(--btn-primary);
}

.btn-light-outline:hover {
  background: var(--btn-primary);
  color: var(--btn-white);
}

/* Light BG – Solid */
.btn-light-solid {
  color: var(--btn-white);
  background: var(--btn-primary);
  border-color: var(--btn-primary);
}

.btn-light-solid:hover {
  background: var(--btn-white) !important;
  border-color: var(--btn-primary-dark) !important;
  color: #fc8129 !important;
}

/* ---------- DARK BACKGROUND ---------- */

/* Dark BG – Outline */
.btn-dark-outline {
  color: var(--btn-white);
  background: transparent;
  border-color: var(--btn-white);
}

.btn-dark-outline:hover {
  background: var(--btn-white);
  color: var(--btn-primary);
}

/* Dark BG – Solid */
.btn-dark-solid {
  color: var(--btn-primary);
  background: var(--btn-white);
  border-color: var(--btn-white);
}

.btn-dark-solid:hover {
  background: transparent;
  color: var(--btn-white);
}

/* ---------- OPTIONAL SIZES ---------- */

.btn-sm {
  padding: 8px 22px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 38px;
  font-size: 1.5rem;
}


/* ======Custom Navigation======= */



      .nav-clear{
        background-color: rgba(0, 0, 0, 0) !important;

    }

    .mega-menu {
      position: fixed;
      top: 78px;
      left: 0;
      width: 100%;
      height: calc(100% - 78px);
      /* background: white; */
      background: linear-gradient(0deg, #eff2f3 0%, #dee0f3 100%);
      z-index: 11000;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      overflow-y: auto;
    }

    .mega-menu-inner {
      padding: 1.25rem 1rem 1.25rem 1rem !important;
    }

    .mega-menu.show {
      opacity: 1;
      visibility: visible;
    }

    .close-btn {
      font-size: 2.5rem;
      background: none;
      border: none;
      color: #333;
      cursor: pointer;
      line-height: 1;
      padding: 0 4px;
    }

    .logo {
      max-height: 70px;
      display: block;
    }

    .mobile-logo {
      transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.28s ease;
    }

    .mobile-nav .navbar-brand,
    #header > nav.navbar.d-md-none .navbar-brand {
      position: relative;
      display: inline-flex;
      align-items: flex-start;
      justify-content: flex-start;
      min-height: 70px;
    }

    .mobile-logo-default {
      opacity: 1;
      transform: scale(1);
      transform-origin: top left;
    }

    .mobile-logo-box {
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transform: scale(0.78);
      transform-origin: top left;
      max-height: 47px;
      pointer-events: none;
    }

    .boxiai-trigger {
      width: auto;
      height: auto;
      border: 0;
      border-radius: 0;
      background: transparent;
      color: #ef0303;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: none;
      transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
      padding: 0;
    }

    .boxiai-trigger i {
      font-size: 1.85rem;
      line-height: 1;
    }

    .boxiai-trigger:hover,
    .boxiai-trigger:focus {
      transform: translateY(-1px);
      color: #c40202;
    }

    .boxiai-trigger-mobile {
      display: none;
      margin-top: 0.15rem;
      opacity: 0;
      pointer-events: none;
    }

    .boxiai-panel {
      position: fixed;
      inset: 0;
      z-index: 14000;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 24px;
      background: rgba(10, 19, 36, 0.22);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .boxiai-panel.is-open {
      opacity: 1;
      visibility: visible;
    }

    .boxiai-card {
      width: min(420px, 100%);
      max-height: min(78vh, 720px);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border-radius: 28px;
      background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
      box-shadow: 0 24px 60px rgba(24, 35, 58, 0.24);
      border: 1px solid rgba(222, 224, 243, 0.95);
    }

    .boxiai-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem 1rem 0.9rem;
      background: linear-gradient(135deg, #ef0303 0%, #c40202 100%);
      color: #fff;
    }

    .boxiai-card-actions {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      flex: 0 0 auto;
    }

    .boxiai-card-brand {
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }

    .boxiai-card-icon {
      width: 46px;
      height: 46px;
      border-radius: 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.16);
      font-size: 1.15rem;
    }

    .boxiai-card-title {
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    .boxiai-card-subtitle {
      font-size: 0.83rem;
      opacity: 0.88;
    }

    .boxiai-close {
      width: 40px;
      height: 40px;
      border: 0;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.16);
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .boxiai-clear {
      width: 40px;
      height: 40px;
      border: 0;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.16);
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .boxiai-messages {
      flex: 1 1 auto;
      overflow-y: auto;
      padding: 1rem;
      background:
        radial-gradient(circle at top left, rgba(222, 224, 243, 0.55), transparent 38%),
        linear-gradient(180deg, #f7f9fd 0%, #fdfdff 100%);
    }

    .boxiai-bubble {
      max-width: 88%;
      margin-bottom: 0.85rem;
      padding: 0.9rem 1rem;
      border-radius: 20px;
      font-size: 0.95rem;
      line-height: 1.55;
      box-shadow: 0 10px 24px rgba(27, 39, 63, 0.08);
    }

    .boxiai-bubble-ai {
      margin-right: auto;
      border-top-left-radius: 8px;
      background: #fff;
      color: #213045;
    }

    .boxiai-bubble-user {
      margin-left: auto;
      border-top-right-radius: 8px;
      background: linear-gradient(135deg, #ef0303 0%, #d80a0a 100%);
      color: #fff;
    }

    .boxiai-links-block {
      margin-top: 0.9rem;
      padding-top: 0.85rem;
      border-top: 1px solid rgba(33, 48, 69, 0.1);
    }

    .boxiai-links-title {
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #6b7788;
      margin-bottom: 0.5rem;
    }

    .boxiai-links-block ul {
      margin: 0;
      padding-left: 1rem;
    }

    .boxiai-links-block li + li {
      margin-top: 0.55rem;
    }

    .boxiai-links-block a {
      color: #12253d;
      text-decoration: none;
      font-weight: 700;
    }

    .boxiai-link-meta {
      margin-top: 0.15rem;
      font-size: 0.82rem;
      color: #6c757d;
    }

    .boxiai-input-wrap {
      padding: 0.9rem 1rem 1rem;
      background: #fff;
      border-top: 1px solid rgba(222, 224, 243, 0.9);
    }

    .boxiai-input-row {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      padding: 0.45rem;
      border-radius: 999px;
      background: #f4f6fb;
      box-shadow: inset 0 0 0 1px rgba(222, 224, 243, 0.85);
    }

    .boxiai-input {
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
      padding-left: 0.8rem;
      padding-right: 0.2rem;
    }

    .boxiai-send {
      width: 44px;
      height: 44px;
      border: 0;
      border-radius: 999px;
      background: #ef0303;
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
    }

    .mega-menu-top {
      position: sticky;
      top: 0;
      z-index: 3;
      padding: 0.35rem 0 0.85rem;
      margin-bottom: 0.5rem;
      background: transparent;
    }

    .mega-menu-logo {
      max-height: 42px;
      margin-bottom: 0 !important;
    }

    .mega-products-list {
      margin-bottom: 0;
    }

    .mega-products-item {
      margin-bottom: 0.45rem;
      line-height: 1.2;
    }

    .mega-products-link {
      line-height: 1.2;
    }

    .mega-products-tagline {
      font-size: 0.72rem;
      line-height: 1.2;
      margin-top: 0.1rem;
    }

    .mega-menu-overview-link {
      margin-top: 0.55rem;
      padding-top: 0.55rem;
      border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .social-icons a {
      font-size: 1.25rem;
      margin-right: 0.75rem;
      color: #333;
      text-decoration: none;
    }

    .social-icons a:hover {
      color: #000;
    }

    /* Bottom Mobile Nav */
    .mobile-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: #fff;
      border-top: 1px solid #ddd;
      z-index: 12000;
      display: none;
    }

    .navbar-toggler {
      border-width: 1px !important;
      border-color: rgba(33, 37, 41, 0.35) !important;
      box-shadow: none !important;
    }

    .navbar-toggler:focus,
    .navbar-toggler:active,
    .navbar-toggler[aria-expanded="true"] {
      border-color: rgba(33, 37, 41, 0.35) !important;
      box-shadow: none !important;
    }

    .mobile-nav .nav-item {
      flex: 1;
      text-align: center;
      padding: 10px 5px;
      font-size: 0.9rem;
      color: #555;
      text-decoration: none;
      cursor: pointer;
      user-select: none;
    }

    .mobile-nav .nav-item i {
      display: block;
      font-size: 1.4rem;
      margin-bottom: 2px;
    }

    .mobile-nav .nav-item:hover {
      color: #000;
    }

    #header.menu-open {
      background: transparent !important;
    }

    body.mega-menu-open {
      overflow: hidden;
    }

    /* Responsive Styles */

    /* Mobile Styles */
    @media (max-width: 767.98px) {
      #header {
        height: 80px;
        transition: height 0.25s ease;
      }

      #header.header-scrolled {
        height: 58px;
      }

      #header > nav.navbar.d-md-none {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
        align-items: flex-start;
      }

      #header.header-scrolled .mobile-logo-default {
        opacity: 0;
        transform: scale(0.82);
      }

      #header.header-scrolled .mobile-logo-box {
        opacity: 1;
        transform: scale(1);
      }

      #header.header-scrolled .boxiai-trigger-mobile {
        display: inline-flex;
        opacity: 1;
        pointer-events: auto;
      }

      /* Show only logo in navbar, hide burger */
      #burgerToggle {
        display: none;
      }
      nav.navbar {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
      }


      /* Show bottom nav on mobile */
      .mobile-nav {
        display: flex;
      }

      /* Hide desktop-only content inside mega menu on mobile */
      .mega-menu .desktop-content {
        display: none;
      }

      /* Show mobile accordion */
      .mega-menu .mobile-accordion {
        display: block;
      }

      /* Show logo inside mega menu on mobile */
      .mega-menu .logo {
        margin-bottom: 1rem;
      }

      .mega-menu {
        top: 0;
        height: 100%;
        padding-bottom: 74px;
      }

      .mega-menu-top {
        padding-top: 0.5rem;
      }

      .mobile-accordion .accordion-button {
        color: #212529;
      }

      .mobile-accordion .accordion-button:not(.collapsed) {
        color: var(--bs-primary);
        background-color: transparent;
        box-shadow: none;
      }

      .mobile-accordion .accordion-button:not(.collapsed)::after {
        filter: invert(11%) sepia(99%) saturate(6944%) hue-rotate(2deg) brightness(95%) contrast(120%);
      }

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

      .mobile-accordion .accordion-body a,
      .mobile-accordion .accordion-body .text-muted {
        color: #6c757d !important;
      }

      #collapseTraining .accordion-body ul > li:not(:last-child) {
        margin-bottom: 0.65rem;
      }

      #collapseTraining .accordion-body ul > li > a {
        display: block;
        line-height: 1.3;
        padding: 0.1rem 0;
      }

      #collapseTraining .accordion-body ul > li > hr {
        margin: 0.85rem 0 0.5rem;
      }

      /* Hide desktop-only navbar elements */
      .desktop-only {
        display: none !important;
      }

      .boxiai-trigger-desktop {
        display: none;
      }

      .boxiai-card {
        width: min(100%, 420px);
        max-height: min(82vh, 680px);
        border-radius: 24px;
      }
    }

    /* Desktop Styles */
    @media (min-width: 768px) {
      .mega-menu {
        top: 0;
        overflow: hidden;
        height: 100vh;
        max-height: 100vh;
        padding: 0;
      }

      .mega-menu-inner {
        height: 100%;
        max-height: 100vh;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        min-height: 0;
        padding: 1.4rem 1.5rem 1.5rem !important;
      }

      .mega-menu .desktop-content {
        display: flex;
        height: 100%;
        min-height: 0;
        align-items: stretch;
        overflow: hidden;
        margin: 0;
      }

      .mega-menu-column {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
        padding-bottom: 0;
      }

      .mega-menu-scroll-shell {
        display: flex;
        position: relative;
        flex: 1 1 auto;
        height: 100%;
        min-height: 0;
        overflow: hidden;
      }

      .mega-menu-scroll {
        flex: 1 1 auto;
        max-height: none;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 0.9rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        overscroll-behavior: contain;
        scroll-behavior: smooth;
        mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
      }

      .mega-menu-scroll::-webkit-scrollbar {
        width: 0;
        height: 0;
      }

      .mega-menu-static {
        flex: 0 0 auto;
        margin-top: 0.6rem;
        padding-top: 0.75rem;
        padding-right: 1rem;
        border-top: 1px solid rgba(15, 23, 42, 0.1);
      }

      .mega-menu .desktop-content > [class*="col-md-"] {
        padding-bottom: 0;
      }

      .mega-menu-static-link {
        display: block;
        margin-bottom: 0.45rem;
      }

      .mega-menu-static-link:last-child {
        margin-bottom: 0;
      }

      .mega-menu-rail {
        position: absolute;
        top: 0;
        right: 0.05rem;
        bottom: 0;
        width: 14px;
        pointer-events: auto;
        opacity: 0;
        transition: opacity 0.2s ease;
        cursor: pointer;
      }

      .mega-menu-column.has-scroll-rail .mega-menu-rail {
        opacity: 1;
      }

      .mega-menu-rail::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 1px;
        transform: translateX(-50%);
        background: rgba(58, 61, 70, 0.88);
        border-radius: 999px;
      }

      .mega-menu-bead {
        position: absolute;
        left: 50%;
        top: 0;
        width: 9px;
        height: 18px;
        transform: translate(-50%, 0);
        background: rgba(58, 61, 70, 0.92);
        border-radius: 999px;
        box-shadow: 0 1px 4px rgba(17, 24, 39, 0.18);
        cursor: grab;
        transition: background 0.15s ease, box-shadow 0.15s ease;
      }

      .mega-menu-rail:hover .mega-menu-bead,
      .mega-menu-column.is-dragging .mega-menu-bead {
        background: rgba(33, 37, 41, 0.98);
        box-shadow: 0 2px 8px rgba(17, 24, 39, 0.22);
      }

      .mega-menu-column.is-dragging .mega-menu-bead {
        cursor: grabbing;
      }

      #burgerToggle {
        display: inline-block;
      }

      body.mega-menu-open .mega-menu {
        top: 0;
        height: 100%;
      }

      /* Hide bottom nav on desktop */
      .mobile-nav {
        display: none !important;
      }

      /* Hide mobile accordion on desktop */
      .mega-menu .mobile-accordion {
        display: none;
      }

      /* Show desktop mega menu content on desktop */
      .mega-menu .mega-menu-logo {
        display: block;
      }

      /* Show desktop-only navbar */
      .desktop-only {
        display: block !important;
      }

      .boxiai-trigger-mobile {
        display: none !important;
      }

      .desktop-content .mega-products-item {
        margin-bottom: 0.35rem;
      }

      .desktop-content .mega-products-tagline {
        font-size: 0.68rem;
      }
    }

    /* Keep chat launcher above fixed bottom mobile nav */
    iframe[title*="chat"],
    iframe[title*="Chat"],
    iframe[id*="launcher"],
    div[id*="tawk"] iframe {
      bottom: 78px !important;
    }

    @media (max-width: 767.98px) {
      #hero .carousel-container {
        padding-top: 42px;
        height: 84vh;
      }

      #hero .hero-waves {
        margin-bottom: -1px;
      }
    }

/* ====== End Custom Navigation======= */


/*--------------------------------------------------------------
# Page Title Section
--------------------------------------------------------------*/
#page-title {
  background: linear-gradient(0deg, #eff2f3 0%, #dee0f3 100%);
  padding-top: 100px;
}



/* ================= SEARCH ================= */
.course-search-wrap {
  position: sticky;
  top: 80px;
  z-index: 20;
  background: #fff;
  padding: 12px 0;
}


.course-search-box {
  position: relative;
}
.course-search-box i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #999;
}
.course-search-box input {
  padding-left: 38px;
  border-radius: 8px;
}



/* COUNT */
.course-count {
  font-weight: 500;
}

/* MOBILE STACK */
@media (max-width: 767px) {
  .course-count {
    margin-top: 4px;
  }
}

/* ================= CARD ================= */
.course-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* IMAGE */
.course-media {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.25),
    rgba(0,0,0,.75)
  );
}

/* BADGES */
.badge-hot {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff3d00;
  color: #fff;
  font-size: .7rem;
  padding: 4px 8px;
  border-radius: 6px;
}

.badge-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #111;
  color: #fff;
  font-size: .7rem;
  padding: 4px 8px;
  border-radius: 6px;
}

/* MOBILE HEADER OVER IMAGE */
.mobile-header {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  color: #fff;
}

.course-meta {
  font-size: .7rem;
  display: flex;
  gap: 10px;
  opacity: .9;
}

.course-title {
  font-size: .95rem;
  font-weight: 600;
  margin: 4px 0 0;
}

/* BODY DESKTOP */
.course-body {
  padding: 14px;
}

.course-points {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.course-points li {
  font-size: .75rem;
  margin-bottom: 4px;
}

.course-points i {
  color: var(--bs-primary);
  margin-right: 4px;
}

/* MOBILE ACCORDION */
.course-accordion {
  border-top: 1px solid rgba(255,255,255,.15);
}

.accordion-toggle {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  padding: 10px 14px;
  font-size: .8rem;
  text-align: left;
}

.accordion-content {
  display: none;
  padding: 0 14px 10px;
}

/* FOOTER */
.course-footer {
  padding: 12px 14px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.old-price {
  font-size: .75rem;
  color: #999;
  text-decoration: line-through;
}

.price {
  font-weight: 700;
  color: var(--bs-primary);
}


/* FILTER */
.course-item.d-none {
  display: none !important;
}

/* MOBILE */
@media (max-width: 576px) {
  .course-media {
    height: 180px;
  }
}


.course-card {
  position: relative;
}

/* full-card clickable layer */
.course-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ensure interactive elements stay above */
.course-footer,
.accordion-toggle,
.btn,
a,
button {
  position: relative;
  z-index: 2;
}


/* ===== Course Header ===== */
.course-header {
  position: relative;
  padding-right: 70px; /* space for rating badge */
}

/* Title */
.course-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  color: #fff;
}

/* Category */
.course-category {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #666;
}

.course-category i {
  color: #ef0303;
}

/* Rating Badge */
.rating-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(239, 3, 3, 0.12);
  color: #ef0303;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.rating-badge i {
  font-size: 0.75rem;
}

/* Mobile Fix */
@media (max-width: 576px) {
  .course-header {
    padding-right: 0;
  }

  .rating-badge {
    position: static;
    margin-bottom: 8px;
    align-self: flex-start;
  }
}





/* ==================================================
   Course Summary Card – Desktop Original + Mobile App
   ================================================== */

/* ================= DESKTOP / DEFAULT (ORIGINAL LOOK) ================= */

.course-summary {
  border-radius: 14px;
}

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

/* Header */
.course-header {
  position: relative;
  padding-right: 70px;
}

.course-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  color: #fff;
}

.course-category {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #666;
}

.course-category i {
  color: #ef0303;
}

/* Rating badge */
.rating-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(239, 3, 3, 0.12);
  color: #ef0303;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Features */
.course-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.feature-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-item i {
  font-size: 1.2rem;
  color: #ef0303;
  margin-top: 2px;
}

.feature-item small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.5px;
}

.feature-item strong {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Price */
.price-box {
  text-align: center;
  margin-top: 16px;
}

.price-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #777;
  letter-spacing: 1px;
}

.price-value {
  font-size: 2rem;
  font-weight: 700;
  color: #ef0303;
  margin: 5px 0;
}

/* Trust */
.trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #555;
  margin-top: 12px;
}

.course-summary hr {
  margin: 16px 0;
}

/* ================= MOBILE – APP STYLE CARD ================= */

@media (max-width: 576px) {

  /* disable sticky */
  .course-summary.position-sticky {
    position: relative !important;
    top: auto !important;
  }

  .course-summary .card-body {
    padding: 12px;
  }

  /* ================= HEADER ================= */

  .course-header {
    position: relative;
    padding-right: 56px; /* reserve space for rating */
    gap: 4px;
    margin-bottom: 4px;
  }

  .course-title {
    font-size: 0.95rem;
    line-height: 1.2;
    margin: 0;
  }

  .course-category {
    font-size: 0.65rem;
  }

  /* ⭐ rating fixed to top-right (NOT full width) */
  .rating-badge {
    position: absolute !important;
    top: 0;
    right: 0;
    width: auto !important;
    margin: 0;
    font-size: 0.65rem;
    padding: 3px 8px;
    white-space: nowrap;
  }

  /* ================= FEATURES ================= */

  .course-features {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin: 6px 0;
  }

  .feature-item {
    gap: 4px;
    align-items: center;
  }

  .feature-item i {
    font-size: 0.85rem;
  }

  .feature-item small {
    display: none;
  }

  .feature-item strong {
    font-size: 0.7rem;
    font-weight: 500;
  }

  /* ================= PRICE ================= */

  .price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin: 4px 0 2px;   /* ⬅ reduced vertical space */
    padding: 0;
  }

  .price-label {
    font-size: 0.6rem;
    margin: 0;
  }

  .price-value {
    font-size: 1.15rem;
    margin: 0;          /* ⬅ no extra spacing */
    line-height: 1.2;
  }

  .price-box small {
    display: none;
  }

  /* ================= TRUST ================= */

  .trust-note {
    font-size: 0.6rem;
    margin-top: 2px;    /* ⬅ tighter */
    justify-content: flex-start;
  }

  /* Divider minimal */
  .course-summary hr {
    margin: 6px 0;
  }
}


/* ===== Icon Floating Inputs ===== */
.form-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #999;
  font-size: 1rem;
  pointer-events: none;
}

.form-floating.with-icon > .form-control,
.form-floating.with-icon > .form-select {
  padding-left: 44px;
}

.form-floating.with-icon > label {
  padding-left: 44px;
}

/* Section divider */
.form-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #ddd;
}

/* Transaction box */
.transaction-box {
  background: rgba(255,255,255,0.75);
  border-radius: 12px;
  padding: 16px;
}

/* ===== Career Pages ===== */
.career-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 100%);
  border: 1px solid rgba(239, 3, 3, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(68, 88, 144, 0.1);
  padding: 28px;
}

.career-job-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.career-job-card .d-flex:last-child {
  margin-top: auto;
}

.career-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(239, 3, 3, 0.1);
  color: #b30000;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.career-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.career-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.65rem;
  border-radius: var(--bs-border-radius-pill, 50rem);
  background: rgba(239, 3, 3, 0.08);
  border: 1px solid rgba(239, 3, 3, 0.12);
  color: #b30000;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.badge.career-chip,
.career-chip.badge {
  padding: 0.38rem 0.65rem;
}

.career-meta-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #6b7280;
  font-size: 0.95rem;
}

.career-muted {
  color: #6b7280;
}

.career-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.career-spec-card {
  background: rgba(239, 3, 3, 0.04);
  border: 1px solid rgba(239, 3, 3, 0.08);
  border-radius: 18px;
  padding: 18px;
}

.career-spec-card span {
  display: block;
  color: #6b7280;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.career-spec-card strong {
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.45;
}

.career-spec-card-wide {
  grid-column: 1 / -1;
}

.career-description {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.career-description-block h5 {
  margin-bottom: 12px;
}

.career-description-block p:last-child,
.career-description-block ul:last-child {
  margin-bottom: 0;
}

.career-description-block ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.career-description-block li + li {
  margin-top: 8px;
}

.career-application-panel .form-control,
.career-application-panel .form-select {
  border-radius: 14px;
  min-height: 52px;
}

.career-application-panel textarea.form-control {
  min-height: auto;
}

.career-form-subsection {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(239, 3, 3, 0.04);
  border: 1px dashed rgba(239, 3, 3, 0.2);
}

@media (max-width: 767.98px) {
  .career-panel {
    padding: 22px;
    border-radius: 20px;
  }

  .career-spec-grid {
    grid-template-columns: 1fr;
  }
}

/* Keep public page breadcrumbs available while scrolling below the fixed header. */
.breadcrumbs.breadcrumbs-is-sticky {
  position: fixed;
  top: var(--breadcrumbs-sticky-top, 80px);
  right: 0;
  left: 0;
  z-index: 996;
  background: rgba(244, 245, 247, 0.96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.breadcrumbs-sticky-spacer {
  height: 0;
}

@media (max-width: 767.98px) {
  .breadcrumbs {
    position: relative;
    overflow: hidden;
  }

  .breadcrumbs .container {
    position: relative;
  }

  .breadcrumbs ol {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    padding-right: 3.75rem;
  }

  .breadcrumbs ol::-webkit-scrollbar {
    display: none;
  }

  .breadcrumbs ol li {
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    max-width: 72vw;
    white-space: nowrap;
  }

  .breadcrumbs ol li a,
  .breadcrumbs ol li.current,
  .breadcrumbs ol li:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .breadcrumbs.breadcrumbs-has-overflow::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(244, 245, 247, 0) 0%, #f4f5f7 88%);
  }

  .breadcrumbs.breadcrumbs-can-scroll-back::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 28px;
    pointer-events: none;
    background: linear-gradient(270deg, rgba(244, 245, 247, 0) 0%, #f4f5f7 88%);
    z-index: 1;
  }

  .breadcrumbs-swipe-hint {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #5d6473;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(20, 29, 44, 0.08);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
  }

  .breadcrumbs.breadcrumbs-hint-dismissed .breadcrumbs-swipe-hint,
  .breadcrumbs:not(.breadcrumbs-has-overflow) .breadcrumbs-swipe-hint {
    opacity: 0;
    transform: translateY(-50%) translateX(6px);
    pointer-events: none;
  }
}

.training-detail-page {
  overflow-x: hidden;
}

.training-detail-page .course-description,
.training-detail-page #custom_html_section1,
.training-detail-page #custom_html_section2,
.training-detail-page #custom_html_section3 {
  min-width: 0;
}

.training-detail-page .course-description img,
.training-detail-page .course-description iframe,
.training-detail-page .course-description embed,
.training-detail-page .course-description object,
.training-detail-page #custom_html_section1 img,
.training-detail-page #custom_html_section1 iframe,
.training-detail-page #custom_html_section1 embed,
.training-detail-page #custom_html_section1 object,
.training-detail-page #custom_html_section2 img,
.training-detail-page #custom_html_section2 iframe,
.training-detail-page #custom_html_section2 embed,
.training-detail-page #custom_html_section2 object,
.training-detail-page #custom_html_section3 img,
.training-detail-page #custom_html_section3 iframe,
.training-detail-page #custom_html_section3 embed,
.training-detail-page #custom_html_section3 object {
  max-width: 100%;
  height: auto;
}

.training-detail-page .course-description table,
.training-detail-page #custom_html_section1 table,
.training-detail-page #custom_html_section2 table,
.training-detail-page #custom_html_section3 table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.training-detail-page .course-description * ,
.training-detail-page #custom_html_section1 *,
.training-detail-page #custom_html_section2 *,
.training-detail-page #custom_html_section3 * {
  max-width: 100%;
}

.training-detail-page [data-aos] {
  max-width: 100%;
}

@media (max-width: 991.98px) {
  .training-detail-page .col-lg-8 > section > .container,
  .training-detail-page .col-lg-8 > section > [data-aos].container,
  .training-detail-page .col-lg-8 > #custom_html_section1 > .container,
  .training-detail-page .col-lg-8 > #custom_html_section2 > .container,
  .training-detail-page .col-lg-8 > #custom_html_section3 > .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .training-detail-page > .container {
    overflow-x: hidden;
  }
}
