@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

.explore-courses-btn {
  background: var(--color3285);
  font-weight: 500;
  font-size: 20px;
  border: none;
  color: var(--white);
  width: 300px;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}

.explore-courses-btn:hover {
  background: linear-gradient(45deg, #32857a, #1f5d56);
}

.Become-Partner-btn {
  margin-left: 10px;
  background: var(--white);
  font-weight: 500;
  font-size: 20px;
  border: 2px solid var(--color3285);
  color: var(--color3285);
  width: 300px;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}
@media screen and (max-width: 768px) {
  .explore-courses-btn,
  .Become-Partner-btn {
    width: 90%; /* responsive width */
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    margin: 10px auto; /* center horizontally with margin */
    display: block; /* stack on mobile */
  }
}

/* 
.Become-Partner-btn:hover {
  background: linear-gradient(45deg, #32857a, #1f5d56);
} */

.browse-courses-btn {
  background: var(--color3285);
  font-weight: 500;
  font-size: 20px;
  border: none;
  color: var(--white);
  width: 300px;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
  display: block;
  margin: 0 auto;
}

.browse-courses-btn:hover {
  background: linear-gradient(45deg, #32857a, #1f5d56);
}
/* POTENTIAL COURSE CARD */
.program-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
}
.potentialcard {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 350px;
  padding: 30px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0px 0px 15px 0px #00000040;
  text-align: start;
}

.potentialcard-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 10px;
}

.potentialcard-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--color2D2D);
  font-weight: 600;
}

.potentialcard-content p {
  font-size: 18px;
  color: var(--color2D2D);
  line-height: 1.4;
  font-weight: 300;
  margin-bottom: 15px;
}
.potentialSubTitle {
  padding-top: 0;
  margin-top: 0;
  font-size: 20px;
  font-weight: 300;
  color: var(--color2D2D);
  justify-content: center;
  text-align: center;
  line-height: 1.5;
}

/* FEATURED COURSE CARD */
.mobile-card {
  flex: 0 0 auto;
  width: 300px; /* Increase width from 250px to 300px or more */
  margin-right: 1rem; /* Optional: spacing between cards if gap isn't used */
  scroll-snap-align: start;
}

#featured-card-container-mobile {
  display: flex;
  overflow-x: auto;
  gap: 1rem; /* This adds spacing between cards */
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}
.featuredCourseCard {
  height: 100%;
  min-height: 450px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  padding: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  transition: transform 0.3s ease;
}

.featuredCourseCard:hover {
  transform: translateY(-5px);
}

.featuredCourseCard .course-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

.featuredCourseCard-content {
  flex-grow: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  padding-top: 10px;
  justify-content: space-between;
}

.featuredCourseCard-content p {
  font-size: 16px;
  color: var(--color2D2D);
  font-weight: 400;
  min-height: 48px;
}

.featuredCourseCard-content h5 {
  font-size: 20px;
  font-weight: 500;
  color: var(--color2D2D);
}

.featuredCourseCard .academy {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: var(--color2D2D);
  margin-bottom: 12px;
}

.featuredCourseCard .academy img {
  height: 16px;
  margin-right: 6px;
}

.featuredCourseCard .view-btn {
  background: var(--colorFFC8);
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 6px;
  font-weight: 600;
  color: var(--color2D2D);
  cursor: pointer;
  transition: background 0.3s ease;
}

.featuredCourseCard .view-btn:hover {
  background: #e0a800;
}
.disabled-course {
  background-color: #ccc !important;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}

.scroll-arrow {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  font-size: 24px;
  padding: 10px;
  z-index: 20;
  cursor: pointer;
  display: none; /* Hide by default */
}

.left-arrow {
  left: 0;
}

.right-arrow {
  right: 0;
}

@media (max-width: 768px) {
  .scroll-arrow {
    display: block;
  }

  .horizontal-scroll-wrapper {
    position: relative;
    overflow-x: auto;
  }

  #featured-card-container {
    overflow-x: scroll;
    scroll-behavior: smooth;
  }
}
