@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root{
      --brand: #d46600; /* main accent */
      --nav-bg: rgba(255,255,255,0.55);
      --glass-blur: 6px;
    }
    body { 
      font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif !important;
      /* font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; */
      background: #f6f7fb; }

    /* Navbar wrapper -> sticky with subtle glass effect */
    .site-header {
      backdrop-filter: blur(var(--glass-blur));
      background: linear-gradient(180deg, rgba(255,255,255,0.80), rgba(255,255,255,0.65));
      border-bottom: 1px solid rgba(15,23,42,0.04);
      box-shadow: 0 6px 20px rgba(15,23,42,0.06);
    }

    .navbar-brand img { height: 55px; width: auto; object-fit: contain; }

    /* Nav links styling */
    .nav-link {
      font-weight: 400;
      color: rgba(20,24,28,0.85) !important;
      /* padding: 1.5rem 1.5rem; */
      padding: 1.5rem 14.4px;
      font-size: 16px;
    }
    .nav-link:hover, .nav-link:focus { color: var(--brand) !important; }

    /* CTA button */
    .btn-cta {
      padding: .45rem .9rem;
      border-radius: 10px;
      font-weight: 600;
      box-shadow: 0 6px 18px rgba(13,110,253,0.12);
    }

    /* Dropdown modern card */
    .dropdown-menu {
      border-radius: 12px;
      padding: .5rem;
      min-width: 220px;
      border: 0;
      box-shadow: 0 8px 30px rgba(15,23,42,0.08);
    }
    .dropdown-item { border-radius: 8px; padding: .55rem .9rem; font-family: 'Poppins', sans-serif; }
    .dropdown-item:hover { background: rgba(13,110,253,0.06); color: var(--brand); }

    /* Make dropdown open on hover for desktop */
    @media (min-width: 992px) {
      .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: .25rem;
      }
      .nav-item.dropdown > .nav-link::after { margin-left: .25rem; }
    }

    /* Offcanvas nested items spacing */
    .offcanvas-body .nav-link { padding-left: 0; }
    .brand-text { font-weight:700; letter-spacing:.2px; color: #0b1220; margin-left: .5rem; }

    /* small tweak for icons */
    .bi { vertical-align: -.125em; margin-right: .35rem; }
    
    
/* --- Hero Section --- */
.course-hero {
  background: url('../includes/img/course-banner-img/GAC.webp') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.audit-hero {
  background: url('../includes/img/course-banner-img/audit-appraisal.webp') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.scrap-hero {
  background: url('../includes/img/course-banner-img/scrap-to-ingot.webp') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.photo-hero {
  background: url('../includes/img/course-banner-img/photography.webp') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.cad-hero {
  background: url('../includes/img/course-banner-img/cad.webp') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.jdmt-hero {
  background: url('../includes/img/course-banner-img/jdmt.webp') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.solar-hero {
  background: url('../includes/img/course-banner-img/solar.webp') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.gem-stone-hero {
  background: url('../includes/img/course-banner-img/gemstone.webp') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.corporate-hero {
  background: url('../includes/img/course-banner-img/appraisar-corporate.webp') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* .course-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
} */

/* .course-hero h1 {
  position: relative;
  font-weight: 700;
  font-size: 3rem;
  z-index: 2;
} */

/* --- Sticky Box --- */
.sticky-box {
  position: sticky;
  margin-top: 100px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eee;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.sticky-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Enroll Button */
.sticky-box .btn-warning {
  background-color: #d46600;
  border: none;
  transition: all 0.3s ease;
}
.sticky-box .btn-warning:hover {
  background-color: #b45600;
  transform: translateY(-2px);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.8s ease-out;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.course-details{
    background-color: #fff;
}
/* Lists & Typography */
.course-details ul {
  padding-left: 1.3rem;
}
.course-details ul li {
  margin-bottom: 0.6rem;
  color: black;
  line-height: 1.6;
  font-size: medium;
}
.course-details h4 {
  color: #111;
  font-size: 28px; 
  font-family: 'Manrope', sans-serif;
}
.course-details h6 {
  color: #111;
  font-size: 18px; font-family: 'Manrope', sans-serif;
}
.course-details p {
  color: black;
  line-height: 1.8;
  font-size: medium;
}


/* Video Section */
/* --- Video Slider Section --- */
.course-video {
  position: relative;
}

.video-slider {
  scroll-behavior: smooth;
  overflow-x: auto;
  display: flex;
  gap: 20px;
  scrollbar-width: none;
}

.video-slider::-webkit-scrollbar {
  display: none;
}

/* Each video box fixed width for consistency */
.video-item {
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-btn i {
  font-size: 1.2rem;
  color: #333;
}

.slider-btn:hover {
  background: #d46600;
}

.slider-btn:hover i {
  color: #fff;
}

/* Arrow positions */
.left-btn {
  left: 10px;
}
.right-btn {
  right: 10px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .sticky-box {
    position: relative;
    top: auto;
    margin-top: 30px;
  }
  .course-hero h1 {
    font-size: 2rem;
  }
  .video-item {
    width: 280px;
  }
  .left-btn, .right-btn {
    display: none; /* Arrows hidden on small screens (swipe instead) */
  }
}

.what-you-learn h5{
  font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 400;
}

/* accordion section */
.accordion{max-width:60%;}
.accordion-item,
.accordion-button,
.accordion-body {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none;
}

/* Optional: clean border between items */
.accordion-item + .accordion-item {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-item ul li{
  line-height: 2;
}

/* Button text styling */
.accordion-button {
  color: #000; /* Change to white if on dark background */
  font-weight: 400;
  padding: 30px 0px;
  font-size: 16px;
}

/* Keep text color same when expanded */
.accordion-button:not(.collapsed) {
  color: #000;
}

/* Remove Bootstrap icon background color behavior */
.accordion-button::after {
  filter: brightness(0);
}