/* Course Explorer CSS - Base Styles */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to bottom right, #a84ad8, #4a90e2);
  color: #fff;
}

.kids-lms-course-explorer {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Base navbar and breadcrumb styles */
.navbar {
  background: antiquewhite;
  padding: 10px 50px;
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #333;
  gap: 10px;
  font-size: 20px;
  border-radius: 15px;
  width: 1020px;
  margin: auto;
  font-family: "Billy", cursive, sans-serif !important;
  font-weight: 400 !important;
}

.breadcrumb {
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
}

.breadcrumb a {
  text-decoration: none;
  color: #333;
  margin: 0 5px;
}

.breadcrumb span {
  margin: 0 5px;
}

/* Course Content Modal Styles */
.course-content-text {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.course-content-ebook,
.course-content-video {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #28a745;
}

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  display: block;
  content: "";
  padding-top: 56.25%;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive video */
video {
  max-width: 100%;
  height: auto;
}

/* Modal improvements */
.modal-xl {
  max-width: 90%;
}

.modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

/* Course card improvements */
.kids-lms-course-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.kids-lms-course-card-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Progress bar styling */
.progress {
  background-color: #e9ecef;
  border-radius: 0.375rem;
}

.progress-bar {
  background-color: #007bff;
  border-radius: 0.375rem;
}

#kids-lms-courses-cards {
  height: 500px !important;
  overflow-y: scroll;
}

.two-col-section .container {
  padding: 20px !important;
}

/* New Course Explorer CSS */
@import url("https://fonts.googleapis.com/css2?family=Billy&display=swap");
@font-face {
  font-family: "Billy";
  src: url("../fonts/Billy_2.0.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.main-div {
  background-image: url("../images/BG main SPACE THEME.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 100px;
  min-height: 100vh;
}
/* Navbar and breadcrumb specific styles */
.navbar .breadcrumb,
.navbar .breadcrumb a,
.navbar .breadcrumb span {
  font-family: "Billy", cursive, sans-serif !important;
  font-weight: 600 !important;
}

.navbar .breadcrumb {
  display: flex;
  gap: 18px;
  align-items: center;
  background: transparent;
  padding: 0;
  margin: 0;
}

.navbar .breadcrumb a,
.navbar .breadcrumb span {
  position: relative;
  display: inline-block;
  padding: 0 28px 0 22px;
  height: 44px;
  line-height: 44px;
  font-size: 1.3rem;
  color: #fff !important;
  text-transform: uppercase;
  text-align: center;
  background: #a99cf7; /* default, will be overridden */
  border-radius: 8px 0 0 8px !important;
  margin: 0 0 0 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 1;
  min-width: 120px;
  text-decoration: none;
  transition: background 0.2s;
}

.navbar .breadcrumb a:hover {
  filter: brightness(0.95);
}

/* Assign different colors to each menu */
.navbar .breadcrumb a:nth-child(1),
.navbar .breadcrumb span:nth-child(1) {
  background: #ffe066 !important;
}

.navbar .breadcrumb a:nth-child(2),
.navbar .breadcrumb span:nth-child(2) {
  background: #7ecbfa !important;
}

.navbar .breadcrumb a:nth-child(3),
.navbar .breadcrumb span:nth-child(3) {
  background: #a99cf7 !important;
}

.navbar .breadcrumb a:nth-child(4),
.navbar .breadcrumb span:nth-child(4) {
  background: #ffb3c6 !important;
}

.navbar .breadcrumb a:nth-child(5),
.navbar .breadcrumb span:nth-child(5) {
  background: #f7c873 !important;
}

.navbar .breadcrumb a:nth-child(6),
.navbar .breadcrumb span:nth-child(6) {
  background: #e57373 !important;
}

.navbar .breadcrumb a:nth-child(7),
.navbar .breadcrumb span:nth-child(7) {
  background: #fa5252 !important;
}

.navbar .breadcrumb a:after,
.navbar .breadcrumb span:after {
  content: "";
  position: absolute;
  right: -21px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 22px solid #a99cf7; /* default, will be overridden */
  z-index: 2;
  display: block;
}

.navbar .breadcrumb a:nth-child(1):after,
.navbar .breadcrumb span:nth-child(1):after {
  border-left-color: #ffe066;
}

.navbar .breadcrumb a:nth-child(2):after,
.navbar .breadcrumb span:nth-child(2):after {
  border-left-color: #7ecbfa;
}

.navbar .breadcrumb a:nth-child(3):after,
.navbar .breadcrumb span:nth-child(3):after {
  border-left-color: #a99cf7;
}

.navbar .breadcrumb a:nth-child(4):after,
.navbar .breadcrumb span:nth-child(4):after {
  border-left-color: #ffb3c6;
}

.navbar .breadcrumb a:nth-child(5):after,
.navbar .breadcrumb span:nth-child(5):after {
  border-left-color: #f7c873;
}

/* Remove any special last-child style so all items have arrows */
.navbar .breadcrumb a:last-child,
.navbar .breadcrumb span:last-child {
  border-radius: 8px 0 0 8px !important;
  margin-right: 0;
}

.navbar .breadcrumb a:last-child:after,
.navbar .breadcrumb span:last-child:after {
  display: block !important;
}

.breadcrumb span.active {
  background-color: #6c3483;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
}

/* .container {
      max-width: 1100px;
      margin: 2rem auto;
      background: #fff;
      padding: 2rem;
      border-radius: 15px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    } */

.content-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  text-align: center;
  flex-wrap: wrap;
  width: 100%;
}

.content-grid a {
  width: 20% !important;
}
.content-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
  cursor: pointer;
}

.content-item:hover {
  transform: scale(1.05);
}

.content-item img {
  /* width: 100%; */
  /* height: auto; */
  width: 250px;
  height: auto;
  object-fit: contain;
  /* border-radius:50%; */
  margin-bottom: 5px;
}

.label {
  font-weight: 500;
  font-size: 22px;
  color: #000000;
  display: none;
}

/* Optional styling for Activity Corner's "NCF" bubble */
.ncf-bubble {
  position: absolute;
  background-color: #4527a0;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  top: 5px;
  right: 10px;
}

.relative {
  position: relative;
}
.two-col-section {
  display: flex;
  padding-bottom: 50px;
  align-tems: center;
  justify-content: space-between;
  border: 15px solid navajowhite;
  border-radius: 25px;
  background: antiquewhite;
  width: 1020px;
  margin: auto;
  margin-top: 25px;
}
.two-col-section .container {
  width: 100%;
  padding: 20px 100px;
  /* align-items: center; */
  display: flex;
}
.girl-img-right {
  width: 40%;
}
#kids-lms-course-content-page {
  width: 100%;
}
.lms-course-title {
  display: none;
  font-size: 24px;
  text-align: center;
  border-radius: 15px;
  background-color: #383284;
  color: #ffffff;
  padding: 1rem;
  width: fit-content;
  margin: auto;
}
#kids-lms-selected-video-area {
  padding-bottom: 50px;
}
.purchase-btn a,
.purchase-btn a:hover,
.purchase-btn a:focus-visible,
.purchase-btn a:active {
  background-color: transparent !important;
  font-size: 25px;
  font-weight: bold;
  border: none;
  box-shadow: none;
}