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

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

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

    /* Responsive Styles */

    /* Mobile Styles */
    @media (max-width: 767.98px) {
      /* 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-mobile-top .logo {
        margin-bottom: 0;
      }

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

    /* Desktop Styles */
    @media (min-width: 768px) {
      #burgerToggle {
        display: inline-block;
      }

      /* 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 .desktop-content {
        display: flex;
      }

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

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

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