@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2b235e;
  --secondary: #9754a1;
  --tertiary-color: #29aa64;
  --dark-blue: #2b235e;
  --light-purple: #9754a1;
  --green: #29aa62;
  --red: #ff0000;
  --linear: linear-gradient(135deg, #1b325e, #23aa62, #9655a2);
  --light-gray: #f5f5f5;
  --text-color: #333;
  --error-color: #d9534f;
}
body {
  font-family: "Rambla", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}

body {
  background-color: #f8f9fa;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

.bg-linear {
  background: var(--linear) !important;
}

.txt-dark-blue {
  color: var(--dark-blue);
}

.txt-red {
  color: var(--red);
}

.bg-dark-blue {
  background-color: var(--dark-blue);
}

.txt-green {
  color: var(--green);
}

.bg-green {
  background-color: var(--green) !important;
}

.txt-purple {
  color: var(--light-purple);
}

.bg-purple {
  background-color: var(--light-purple);
}

/***** GENERAL STYLES START *****/

a {
  text-decoration: none;
}

.pageContainer {
  overflow: hidden;
}
/* UTILILTIES START */

.ellipsis-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: inline-block;
}

.bg-opacity-10 {
  --bs-bg-opacity: 0.1 !important;
}

.links {
  position: relative;
  text-decoration: none;
}

.links::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--dark-blue);
  transition: all 0.3s ease-in-out;
}

.links:hover::before {
  width: 100%;
}

@media (width<=992px) {
  .w-sm-100 {
    width: 100% !important;
  }
  .mt-xs-5 {
    margin-top: 3rem !important;
  }

  .pt-xs-5 {
    padding-top: 3rem !important;
  }
  .pb-xs-3 {
    padding-bottom: 1rem !important;
  }
}

@media (width>=992px) {
  .position-lg-absolute {
    position: absolute !important;
  }

  .vh-lg-80 {
    height: 80vh !important;
  }

  .w-lg-80 {
    width: 80% !important;
  }

  .my-lg-10 {
    margin-bottom: 6rem !important;
    margin-top: 6rem !important;
  }

  .py-lg-10 {
    padding-bottom: 6rem !important;
    padding-top: 6rem !important;
  }

  .w-lg-50 {
    width: 50% !important;
  }

  .w-lg-30 {
    width: 30% !important;
  }

  .mb-lg-7 {
    margin-bottom: 5rem !important;
  }

  .vh-lg-100 {
    height: 100vh !important;
  }
}

/* BG COLORS */

.bg-dark-blue {
  background-color: var(--dark-blue);
}

/* BUTTONS */

.btn {
  transition: 0.3s all ease-in-out;
}

.btn-main,
.btn-main:first-child:active,
:not(.btn-check) + .btn-main:active {
  background-color: var(--dark-blue);
  color: #ffffff;
  box-shadow: none;
  border: 1.5px solid var(--dark-blue);
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
}

.btn-main:hover,
.btn-main:focus-visible,
.btn-main:active {
  border: 1.5px solid var(--light-purple);
  background-color: var(--light-purple);
  color: #fff;
}

.btn-main-reverse,
.btn-main-reverse:first-child:active,
:not(.btn-check) + .btn-main-reverse:active {
  color: #fff;
  background-color: var(--light-purple);
  border: 1.5px solid var(--light-purple);
  border-radius: 0;
  transition: all 0.3s ease-in-out;
}

.btn-main-reverse:hover,
.btn-main-reverse:focus-visible,
.btn-main-reverse:active {
  background-color: var(--dark-blue);
  color: #ffffff;
  box-shadow: none;
  border: 1.5px solid var(--dark-blue);
}

.btn-green,
.btn-green:first-child:active,
:not(.btn-check) + .btn-green:active {
  background-color: var(--green);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 5px;
}

.btn-green:hover,
.btn-green:focus-visible,
.btn-green:active {
  background-color: var(--light-purple);
  color: #ffffff;
  box-shadow: none;
}

/* DIVIDER */
.divider {
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* BOX */
.box {
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 1em;
  transition: box-shadow 0.3s ease-in-out;
}

.box:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.12);
}

.w-75 {
  min-width: 70%;
}

@media (width>=992px) {
  .w-lg-75 {
    width: 75%;
  }
}

.owl-carousel .owl-nav {
  margin: 30px 0 0 0;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  outline: 0 !important;
  border: none !important;
  font-size: 28px;
  color: #000;
  padding: 8px 6px !important;
  transition: 0.3s all ease-in-out;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 8px;
  background: rgb(255, 255, 255);
}

.owl-prev {
  left: -40px;
}

.owl-next {
  right: -40px;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
  background: var(--primary);
  color: #fff;
}

.owl-carousel .owl-nav button span {
  position: relative;
  top: -20px !important;
  font-size: 40px;
}

/* General form styles */
.form-outline {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-control-lg {
  font-size: 1rem;
  padding: 1.5rem 1rem;
  height: auto;
}

.form-outline input,
.form-outline textarea {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 1.25rem 1rem;
  height: auto;
}

.form-outline input:focus,
.form-outline textarea:focus {
  outline: none;
  border-color: #23aa62;
  box-shadow: 0 0 0 0.2rem rgba(35, 170, 98, 0.25);
}

.form-outline label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  transition: all 0.2s ease;
  background-color: white;
  padding: 0 0.25rem;
  color: #495057;
}

.form-outline input:focus + .form-label,
.form-outline textarea:focus + .form-label,
.form-outline input:not(:placeholder-shown) + .form-label,
.form-outline textarea:not(:placeholder-shown) + .form-label {
  top: -0.6rem;
  left: 0.8rem;
  font-size: 0.8rem;
  color: #1b325e;
}

.form-outline input:not(:placeholder-shown) + .form-label,
.form-outline textarea:not(:placeholder-shown) + .form-label {
  background-color: transparent;
}

/* Button styles */
.btn-register {
  background-color: #1b325e;
  /* Dark blue */
  color: #fff;
  /* White text */
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-register:hover {
  background-color: #9655a2;
  /* Hover color */
  color: #fff;
  /* White text */
}

/*******************************************************************************************************************************/
/******************************************************** HEADER START *********************************************************/
/*******************************************************************************************************************************/

.header .navbar-nav .nav-link {
  color: var(--dark-blue);
  font-weight: 500;
  transition: color 0.3s ease-in-out;
  font-size: 18px;
}

.header .navbar-nav .nav-link:hover,
.header .navbar-nav .nav-link.active {
  color: var(--green);
}

.navbar-toggler {
  z-index: 10000;
}

.navbar-toggler:focus {
  box-shadow: none;
}
/* sign-in-btn */
.header .btn-main {
  width: 150px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 25px;
}

/* Mobile Toggler */
.mobile-menu-btn:focus {
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

.mobile-menu-btn .toggler-icon {
  width: 30px;
  height: 2px;
  background-color: #222;
  display: block;
  margin: 5px 0;
  position: relative;
  transition: all 0.3s ease-out 0s;
  z-index: 10001;
}

.mobile-menu-btn.active .toggler-icon:nth-of-type(1) {
  transform: rotate(45deg);
  top: 7px;
}

.mobile-menu-btn.active .toggler-icon:nth-of-type(2) {
  opacity: 0;
  height: 3px;
}

.mobile-menu-btn.active .toggler-icon:nth-of-type(3) {
  transform: rotate(135deg);
  top: -7px;
}
.navbar-brand img {
  width: 150px;
}
/* mobile navbar dropdown toggled */
@media (max-width: 991px) {
  .navbar-toggler.active {
    position: absolute;
    top: 30%;
    right: 0;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: #f8f9fa;
    padding-top: 60px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .navbar-collapse.show {
    right: 0;
  }

  .header .navbar-nav .nav-link {
    text-align: center;
    padding: 20px;
  }
}
/********************************************************************************************************************************/
/********************************************************* HEADER END **********************************************************/
/*******************************************************************************************************************************/

/*******************************************************************************************************************************/
/******************************************************* HOMEPAGE START ********************************************************/
/*******************************************************************************************************************************/

/*############################################## GENERAL HOME PAGE STYLES START ###############################################*/
.homepage .titles {
  color: var(--primary);
}

.homepage .subtitles {
  color: var(--secondary);
  font-style: italic;
}

.homepage .stars {
  display: flex;
  gap: 2px;
}

.homepage .star {
  color: #ddd;
  font-size: 18px;
}

.homepage .star.filled {
  color: #ffc107;
}
/*############################################### GENERAL HOME PAGE STYLES END ################################################*/

/*################################################### HERO SECTION START ######################################################*/
.homepage .hero {
  margin-top: 0px;
  height: calc(100vh - 100px);
  background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url("../assets/images/hero.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  .homepage .hero {
    background: none;
    height: auto;
  }
}

.homepage .hero h1 {
  color: var(--primary);
  font-weight: bold;
  font-size: 68px;
}

.homepage .hero h1 span {
  color: var(--tertiary-color);
}

.homepage .hero h2 {
  color: var(--secondary);
  font-weight: bold;
  font-size: 48px;
}

.homepage .hero h5 {
  color: var(--tertiary-color);
  font-weight: bold;
  font-size: 28px;
}

.homepage .hero .mobile-text {
  font-size: 14px;
  font-weight: 400;
}

.homepage .hero .mobile-title {
  font-weight: 400;
  font-size: 26px;
}

.homepage .hero .content h1 {
  font-weight: bold;
  font-size: 70px;
}

.homepage .hero .mobile-courses-button,
.homepage .hero .mobile-more-button {
  width: 167px;
  height: 51px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.homepage .hero .mobile-courses-button {
  background-color: var(--primary);
  color: white;
}

.homepage .hero .mobile-more-button {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.homepage .hero .btn-main {
  /* background-color: var(--primary);
  color: white;
  border-radius: 0;
  font-size: 14px;
  font-weight: bold;

  display: inline-flex;
  align-items: center;
  justify-content: center; */
  height: 42px;
  border-radius: 0;
}
/*#################################################### HERO SECTION END #######################################################*/

/*############################################# COURSES CAROUSEL SECTION START ################################################*/
.homepage .courses .view {
  font-size: 22px;
}

.homepage .courses .card-subtitle {
  font-weight: 400;
  font-size: 18px;
}

.homepage .courses .course-card {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-color: #ddd;
  transition: 0.3s all ease-in-out;
}

.homepage .courses .course-card:hover {
  border: 1px solid rgba(59, 59, 59, 0.1);
  border-radius: 7px;
  box-shadow: 0px 10px 10.5px rgba(0, 0, 0, 0.15);
  transform: translateY(0px);
}

.homepage .courses .card-body > * {
  margin-bottom: 26px;
}

.homepage .courses .course-image {
  position: relative;
  height: 232px;
  border-radius: 4px;
  overflow: hidden;
  background: #f8f9fa;
}

.homepage .courses .course-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(147, 112, 219, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  font-size: 1.2rem;
  font-weight: 600;
  transition: opacity 0.3s;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.homepage .courses .course-image:hover .course-image-overlay {
  opacity: 1;
}

.homepage .courses .overlay-text {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  letter-spacing: 1px;
}

.homepage .courses .course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease-in-out;
}

.homepage .courses .course-card:hover .course-image img {
  transform: scale(1.02);
}
.homepage .courses .card-title {
  font-weight: 400;
  font-size: 25px;
  text-decoration: none;
  color: var(--primary);
}

.homepage .courses .card-title a {
  text-decoration: none;
  color: inherit;
}
.homepage .courses .card-text {
  font-weight: 400;
  font-size: 14px;
}

.homepage .courses .badge.free-btn {
  margin: 10px;
  padding: 5px 18px;
  background-color: var(--tertiary-color);
  font-weight: normal;
  border-radius: 0;
}

.homepage .courses .badge.pro-btn {
  margin: 10px;
  padding: 5px 18px;
  background-color: var(--primary);
  font-weight: normal;
  border-radius: 0;
}

.homepage .courses .status {
  width: 52px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  background-color: #ecebfe;
  color: #5747bc;
}

.homepage .courses .status:hover {
  background-color: #cdcaf5;
  color: #5243b1;
}
/*############################################## COURSES CAROUSEL SECTION END #################################################*/

/*################################################## CAREER SECTION START #####################################################*/
.homepage .career .card-title {
  color: var(--primary);
}

.homepage .career h1 {
  color: var(--primary);
  font-weight: bold;
}

.homepage .career h1 span {
  color: var(--tertiary-color);
}

.homepage .career .horizontal-card img {
  width: 92px;
  height: 92px;
  margin-top: 5px;
  margin-left: 27px;
}

.homepage .career .card-title {
  font-weight: bold;
  font-size: 32px;
}

.homepage .career .card-text {
  font-size: 12px;
  font-weight: 400;
}

.homepage .career .circle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 15px;
}

.homepage .career .card {
  border: 1px solid #ebebeb;
  border-radius: 0;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.09);
}

.homepage .career .card-body {
  padding: 5px;
}
/*################################################### CAREER SECTION END ######################################################*/

/*################################################### EVENT SECTION START #####################################################*/
.homepage .event .view {
  font-size: 22px;
}

.homepage .event .card-title {
  color: var(--primary);
}

.homepage .event .card {
  border: 1px solid #adadad;
  border-radius: 0;
  height: 370px;
}

.homepage .event .img-wrapper {
  position: relative;
  /* margin: 0 auto; */
  border-radius: 10px;
  border: 1px solid #979797;
  /* width: 600px; */
  width: 100%;
  height: 200px;
}

@media (max-width: 992px) {
  .homepage .event .img-wrapper {
    width: 100%;
  }
}

.homepage .event .img-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.homepage .event .flip-card-back .img-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.77) 0%, rgba(0, 0, 0, 0) 100%);
  border-radius: inherit;
}

.homepage .event .flip-card {
  height: 370px;
}

.homepage .event .flip-card-inner {
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.homepage .event .flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.homepage .event .flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  backface-visibility: hidden;
}

.homepage .event .flip-card-back {
  transform: rotateY(180deg);
}

.homepage .event .flip-card-back a {
  /* background-color: var(--secondary); */
  color: white;
  border-radius: 0;
  width: 120px;
}

.homepage .event .flip-card-back .text {
  color: var(--primary);
  font-weight: 400;
  font-size: 14px;
}

.homepage .event .flip-card-back .subtitle {
  color: var(--secondary);
  font-weight: 400;
  font-size: 14px;
}
/*#################################################### EVENT SECTION END ######################################################*/

/*################################################### BLOGS SECTION START #####################################################*/
.homepage .blog .view {
  font-size: 22px;
}

.homepage .blog .card-title {
  color: var(--primary);
}

.homepage .blog .card {
  border: 1px solid #c0c0c0;
  border-radius: 5px;
}

.homepage .blog img {
  border-radius: 5px;
}

.homepage .blog .date {
  font-size: 10px;
  font-weight: 400;
}

.homepage .blog .btn-read {
  background-color: var(--secondary);
  color: white;
  font-weight: 400;
  font-size: 10px;
  width: 103px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}
.homepage .blog .status {
  font-size: 8px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 63px;
  height: 19px;
}

.homepage .blog .status.first {
  background-color: #ecebfe;
  color: #5747bc;
}
.homepage .blog .status.second {
  background-color: var(--tertiary-color);
  color: white;
}
.homepage .blog .status.third {
  background-color: var(--secondary);
  color: white;
}

.homepage .blog .card-title {
  font-weight: bold;
  font-size: 22px;
}
/*#################################################### BLOGS SECTION END ######################################################*/

/*################################################## CONTACT SECTION START ####################################################*/
.homepage .contact .contact-bg-text {
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(to bottom, #9754a1 0%, rgba(255, 255, 255, 0) 100%);
  background-clip: text;
  color: transparent;
}

@media (max-width: 992px) {
  .homepage .contact .contact-bg-text {
    font-size: 80px;
  }
}

@media (max-width: 576px) {
  .homepage .contact .contact-bg-text {
    font-size: 60px;
  }
}

.homepage .contact .contact-left {
  padding-right: 50px;
}

.homepage .contact .contact-left h2 {
  font-size: 64px;
  font-weight: bold;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
}
.homepage .contact .contact-left h2 .arrow {
  width: 60px;
  height: 60px;
  transform: rotate(48.87deg);
  margin-left: 12px;
}

.homepage .contact .contact-left p {
  color: var(--secondary);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
}

.homepage .contact .features {
  list-style: none;
  padding: 0;
}

.homepage .contact .features li {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-weight: bold;
  font-size: 28px;
  color: var(--secondary);
}

.homepage .contact .features img {
  width: 60px;
  height: 60px;
  margin-right: 12px;
}

.homepage .contact .social-icons a {
  margin-right: 30px;
  background: var(--primary);
  width: 96px;
  height: 87px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  text-decoration: none;
}

.homepage .contact .contact-right {
  border: 1px #62626252;
  padding: 20px;
  background: #dadada3d;
}

.homepage .contact .contact-right .form-control {
  border-radius: 10px;
  margin-bottom: 20px;
}

.homepage .contact .contact-right textarea {
  height: 315px;
}

.homepage .contact .contact-right .form-control::placeholder {
  color: var(--primary);
}

.homepage .contact .contact-right button {
  background: var(--primary);
  color: #fff;
  font-weight: 400;
  font-size: 24px;
  border-radius: 12px;
  height: 56px;
}
/*################################################### CONTACT SECTION END #####################################################*/

/*******************************************************************************************************************************/
/******************************************************** HOMEPAGE END *********************************************************/
/*******************************************************************************************************************************/

/*******************************************************************************************************************************/
/******************************************************** FOOTER START *********************************************************/
/*******************************************************************************************************************************/
.footer .logo img {
  width: 150px;
  height: 45px;
  padding-inline-end: 10px;
}
.footer {
  background: linear-gradient(90deg, #ffffff 0%, #c4c0c8 100%);
}
.footer .info,
.footer .info.contact a {
  color: var(--primary);
}

.footer .info.parag {
  font-size: 14px;
  font-weight: 400;
}

.footer .info.contact {
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer .icons a img {
  width: 55px;
  height: 40px;
}
.footer .links {
  text-align: center;
  position: static;
}

.footer .links ul li {
  margin-bottom: 10px;
}
.footer .links ul li a {
  font-size: 20px;
  text-decoration: none;
  color: var(--primary);
}

.footer .titles {
  font-size: 30px;
}

.footer .subscribe-btn {
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  border-radius: 6px;
  font-weight: 100;
}

.footer .subscribe-btn:hover {
  background: var(--secondary);
}

.footer .form-control {
  border-radius: 10px;
}

.footer .info strong {
  display: inline-block;
  min-width: 80px;
}

/*******************************************************************************************************************************/
/********************************************************* FOOTER END **********************************************************/
/*******************************************************************************************************************************/

/*******************************************************************************************************************************/
/******************************************************* SIDEBAR START *********************************************************/
/*******************************************************************************************************************************/
.mobile-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  background: linear-gradient(135deg, #29aa62, #9754a1);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(41, 170, 98, 0.3);
  transition: all 0.3s ease;
}
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 320px;
  height: 100vh;
  background: linear-gradient(135deg, #2b235e 0%, #1a1a2e 100%);
  box-shadow: 3px 0 20px rgba(0, 0, 0, 0.15);
  padding: 0;
  overflow-y: auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  border-right: 1px solid rgba(151, 84, 161, 0.2);
}

.sidebar-content {
  padding: 2rem 1.5rem;
}

.search-section {
  margin-bottom: 2rem;
}

.search-heading {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-heading::before {
  content: "";
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #29aa62, #9754a1);
  border-radius: 2px;
}

.search-input-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-input-container i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9754a1;
  font-size: 1rem;
  z-index: 2;
}

.sidebar .form-control {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(151, 84, 161, 0.1);
  border-radius: 16px;
  padding: 14px 20px 14px 48px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: #2b235e;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.sidebar .form-control:focus {
  border-color: #29aa62;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 4px rgba(41, 170, 98, 0.1);
  transform: translateY(-1px);
}

.sidebar .form-control::placeholder {
  color: #9754a1;
  font-weight: 500;
}

.filter-pills {
  display: flex;
  /* gap: 0.75rem; */
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  position: relative;
  /* overflow: hidden; */
}

.filter-pill input {
  display: none;
}

.filter-pill label {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(10px);
}

.filter-pill label:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.filter-pill input:checked + label {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41, 170, 98, 0.3);
}

.filter-pill input:checked + label::before {
  opacity: 1;
}

.filter-pill label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #29aa62, #9754a1);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 23px;
}

.filter-pill label span {
  position: relative;
  z-index: 2;
}
.action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.sidebar .btn-search {
  background: linear-gradient(135deg, #29aa62, #22965a);
  color: #fff;
}

.sidebar .btn {
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  flex: 1;
}

.sidebar .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.sidebar .btn-reset {
  background: linear-gradient(135deg, #9754a1, #7a4491);
  color: #fff;
}

.categories-section {
  margin-top: 2rem;
}
.categories-header {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.categories-header::before {
  content: "";
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #9754a1, #29aa62);
  border-radius: 2px;
}
.sidebar .category-btn {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 14px 20px;
  position: relative;
  margin-top: 0;
  font-weight: 600;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar .category-btn::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  transition: transform 0.3s ease;
}

.sidebar .dropdown-menu {
  width: 100%;
  border: none;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  max-height: 300px;
  overflow-y: auto;
  width: auto;
  min-width: 200px;
  max-width: 100%;
  overflow-x: hidden;
  white-space: normal;
  box-sizing: border-box;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  transform: none !important;
  margin-top: 0.5rem;
}
.sidebar .dropdown-item {
  color: #2b235e;
  padding: 12px 16px;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-weight: 500;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 2560px) {
  .sidebar {
    width: 260px;
  }
}

/*******************************************************************************************************************************/
/******************************************************** SIDEBAR END **********************************************************/
/*******************************************************************************************************************************/

/*******************************************************************************************************************************/
/************************************************** COURSE-LISTING PAGE START **************************************************/
/*******************************************************************************************************************************/
@media (min-width: 992px) {
  .pageContainer.course-listing-page {
    margin-left: 250px;
    width: 100%;
  }
}

.course-listing-page .header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.body-course-listings {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: #f8f9fc;
  display: flex;
  min-height: 100vh;
  flex-direction: row;
  transition: all 0.3s;
  overflow-x: hidden;
}
.course-listing-page .container-xxl {
  max-width: 100%;
}
.course-box {
  border-radius: 10px;
  border: 1px solid #eae9e9;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;

  /*new*/
  max-width: 100%;
  width: 100%;

  height: 395px;
  border-radius: 10px;
  border: 1px solid #eae9e9;
}

.course-box .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-box .card-body hr {
  margin-top: auto;
}

.course-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.course-box .status {
  background-color: #ecebfe;
  font-weight: 400;
  color: #5747bc;
  font-size: 8px;
  width: 41px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-box .card-img-top {
  height: 182px;
  object-fit: cover;
}

.course-box .card-title,
.course-box .card-subtitle,
.course-box .card-text {
  color: var(--primary);
}

.course-box .card-title {
  font-size: 15px;
}

.course-box .card-subtitle {
  font-weight: 400;
  font-size: 14px;
}

.course-box .card-text {
  font-size: 10px;
  font-weight: 400;
}

.course-box .count {
  color: var(--primary);
  font-size: 12px;
}

.course-box .profile-count1 {
  width: 15px;
  height: 17px;
}

.course-box .label {
  font-weight: 400;
  font-size: 8px;
}

.course-box .price {
  font-size: 15px;
  color: var(--tertiary-color);
}

.course-popup {
  color: #ffffff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 320px;
  background: #29aa64;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px 15px 0 0;
}

.course-box:hover .course-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(-2px);
  height: 185px;
}

.course-popup .popup-description {
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  color: var(--primary);
  margin: 0;
  font-weight: bold;
}

/* .course-popup .btn {
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  transition: background 0.3s ease;
  text-decoration: none;
} */
/*******************************************************************************************************************************/
/*************************************************** COURSE-LISTING PAGE END ***************************************************/
/*******************************************************************************************************************************/

/********************************************************************************************************************************/
/**************************************************** WORKSHOPS-PAGE START *****************************************************/
/*******************************************************************************************************************************/
.wokshops-page .breadcrumb-custom {
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
}

.wokshops-page .breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 16px;
}

.wokshops-page .breadcrumb-item a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s;
}

.wokshops-page .breadcrumb-separator {
  margin: 0 12px;
  color: #95a5a6;
}

.wokshops-page .badge-free {
  background-color: #27ae60;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
}

.wokshops-page .course-video {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.wokshops-page .header-top h1 {
  margin: 0;
  text-align: right;
  color: var(--primary);
  font-size: 1.8rem;
}

.wokshops-page .rating span {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #f5c518;
}

.wokshops-page .rating .note {
  color: var(--text-dark);
}

.wokshops-page .course-video video {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.wokshops-page .card-header {
  background-color: white;
  border: none;
  padding: 1rem 1.25rem;
  font-weight: 700;
  border-bottom: none;
  max-width: 517px;
  max-height: 208px;
}

.wokshops-page .card-body {
  background-color: #fff;
}

.wokshops-page .syllabus-container {
  width: auto;
  margin: 2rem auto;
  /* padding: 0 1rem; */
}

.wokshops-page .syllabus-header {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 0;
}

.wokshops-page .syllabus-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #2b235e;
  font-weight: bold;
}

.wokshops-page .accordion {
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wokshops-page .accordion-item {
  border: none;
  border-bottom: 1px solid #e9ecef;
}

.wokshops-page .accordion-button {
  background: white;
  border: none;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wokshops-page .lesson-icon {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wokshops-page .lesson-content {
  flex-grow: 1;
  min-width: 0;
}

.wokshops-page .lesson-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.25rem 0;
}

.wokshops-page .lesson-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

.wokshops-page .lesson-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.wokshops-page .lesson-number {
  background: #5747bc;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-weight: 600;
}

.wokshops-page .progress-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wokshops-page .progress {
  width: 80px;
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
}

.wokshops-page .progress-bar {
  border-radius: 3px;
  background: #28a745;
}

.wokshops-page .progress-text {
  font-size: 0.75rem;
  color: #28a745;
  font-weight: 600;
  min-width: 35px;
}

.wokshops-page .plus-circle {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.wokshops-page .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
}

.wokshops-page .btn-purchase {
  background: var(--secondary);
  color: white;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-purchase:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background-color: var(--green);
  color: var(--primary);
}

.wokshops-page .course-card {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 0.15rem 1.75rem rgba(58, 59, 69, 0.1);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.wokshops-page .btn-2 {
  background-color: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.wokshops-page .btn-2:hover {
  background-color: var(--green);
  color: #fff;
  border-color: var(--green);
}

.wokshops-page button {
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.3s ease;
}

.wokshops-page .accordion-body {
  padding: 1.5rem;
  background: #f8f9fa;
}

.wokshops-page .exercise-item {
  background: white;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  margin-bottom: 0.75rem;
}

.wokshops-page .exercise-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.wokshops-page .exercise-meta {
  font-size: 0.875rem;
  color: #666;
}
/********************************************************************************************************************************/
/***************************************************** WORKSHOPS-PAGE END ******************************************************/
/*******************************************************************************************************************************/

/*----------------------------------------------------- Login-START -------------------------------------------------------*/
.login-section {
  background-color: #d6efe5; /*mint green*/
}
.login-section .login-image {
  width: 100%;
  max-height: 700px;
}
.login-section .row .text-center h2.fw-bold.txt-dark-blue {
  font-size: 3rem;
  text-shadow: 0 8px 10px rgba(0, 0, 0, 0.35);
  font-weight: 900;
  line-height: 100%;
  border: none;
  display: inline-block;
  width: 60%;
}
.login-section #loginForm {
  width: 60%;
}
.login-section #loginForm input {
  border-radius: 40px;
  color: white;
  background-color: var(--dark-blue);
}
.login-section #loginForm label {
  color: white;
  background-color: transparent;
}
.login-section #loginForm #loginButton {
  background-color: var(--green);
  border-radius: 40px;
  color: white;
}
.login-section #loginForm #loginButton:hover {
  background-color: var(--light-purple);
}
.login-section #loginForm p {
  color: var(--dark-blue);
}
.login-section #loginForm p .links {
  border-radius: 18px;
}
.login-section #loginForm p .links:hover {
  color: var(--light-purple) !important;
}

@media (max-width: 767px) {
  .login-section .login-title img {
    width: 180;
    height: 80;
  }
  .login-section #loginForm {
    width: 90%;
  }
  .login-section .row .text-center h2.fw-bold.txt-dark-blue {
    font-size: 1.5rem;
    width: 90%;
    margin-bottom: 0 !important;
    padding-top: 7px !important;
  }
  .login-section #loginForm .form-outline .form-label {
    font-size: 1rem;
  }
  .login-section #loginForm .form-control-lg {
    padding: 1rem 0.7rem;
  }
  .login-section #loginForm #loginButton {
    padding: 1rem 2.5rem !important;
    font-size: 1rem !important;
  }
}

/*----------------------------------------------------- Login-END -------------------------------------------------------*/

/*----------------------------------------------------- Register-Start -------------------------------------------------------*/
.register-section {
  background-image: url("academy assets/register-back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.register-section .container .row h2.text-uppercase {
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 100%;
  text-align: center;
}
.register-section .logBtn {
  background-color: white;
  border: 3px solid var(--dark-blue);
  border-radius: 15px;
  color: var(--light-purple);
  padding: 0 7px;
}
.logBtn:hover {
  color: var(--dark-blue) !important;
  text-decoration: underline;
}
.register-section #registerForm input {
  border: none;
  border-radius: 17px;
  color: white;
  background-color: var(--dark-blue);
}
.register-section #registerForm input::placeholder {
  color: white;
}
.register-section #registerForm select {
  border: none;
  border-radius: 17px;
  color: white;
  background-color: var(--dark-blue);
}
.register-section #registerForm select::placeholder {
  color: white;
}
.register-section #registerForm .input-group-text {
  border: none;
  border-radius: 17px;
  color: white;
  background-color: var(--dark-blue);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-right: 5px;
}
.register-section #registerForm #phone_number {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.register-section #registerForm .g-recaptcha {
  border: none;
  border-radius: 17px;
  color: white;
  background-color: var(--dark-blue);
}
.register-section #registerForm .btn-register {
  background-color: var(--green);
  border-radius: 17px;
}
.register-section #registerForm .btn-register:hover {
  background-color: var(--light-purple);
}
.register-section #moreInfoForm .upload-img-div {
  max-height: fit-content;
}
.register-section #moreInfoForm input {
  border: none;
  border-radius: 17px;
  color: white;
  background-color: var(--dark-blue);
}
.register-section #moreInfoForm input::placeholder {
  color: white;
}
.register-section #moreInfoForm textarea[name="short_bio"] {
  border: none;
  border-radius: 17px;
  color: white;
  background-color: var(--dark-blue);
}
.register-section #moreInfoForm textarea[name="short_bio"]::placeholder {
  color: white;
}

.register-section #moreInfoForm #imagePreview {
  border: var(--green);
  border-radius: 50%;
}

.register-section #moreInfoForm #submitBtn {
  background-color: var(--green) !important;
  border-radius: 17px;
}
.register-section #moreInfoForm #submitBtn:hover {
  background-color: var(--light-purple) !important;
}

.register-section #moreInfoForm .form-outline.overflow-hidden {
  border: none !important;
  border-radius: 17px !important;
  color: white !important;
  background-color: var(--dark-blue) !important;
}
.register-section #moreInfoForm .form-outline.overflow-hidden::placeholder {
  color: white !important;
}
.register-section #registerForm .login-link {
  position: relative;
  display: inline-block;
  color: var(--light-purple);
}
.register-section #registerForm .login-link::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 107%;
  background-color: var(--dark-blue);
  left: 50%;
  transform: translateX(-50%);
  bottom: -2px;
}

/*.register-section #registerForm #terms{
   appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 3px solid var(--dark-blue);
  border-radius: 0;
  padding:0.7rem;
  background-color: white;

}*/
.register-section input[type="file"]::file-selector-button {
  background-color: transparent;
  color: white;
}
.register-section input[type="file"]:hover::file-selector-button {
  background-color: transparent !important;
}
@media (max-width: 767px) {
  .register-section .container .row h2.text-uppercase {
    font-size: 1.7rem;
  }
  .register-section .form-check-label p,
  .register-section .form-check-label a {
    font-size: 0.9rem;
  }
}

/*******************************************************************************************************************************/
/************************************************* COURSE-DETAILS PAGE START ***************************************************/
/*******************************************************************************************************************************/

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2b235e;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/*############################################### COURSE-HEADER SECTION START #################################################*/
.course-details .course-header {
  background: url("your-background.jpg") center center / cover no-repeat;
  position: relative;
  color: #fff;
}

.course-details .course-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 45, 122, 0.7);
  /* Dark blue overlay */
  z-index: 0;
}

.course-details .course-header .container {
  position: relative;
  z-index: 1;
}

.course-details .course-header .course-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #fff;
}

.course-details .course-header .course-pricing-card {
  border: 1px solid #e0e0e0;
  gap: 20px;
}

.course-details .course-header .course-card-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.course-details .course-header .course-title {
  color: #2d2d7a;
}

.course-details .course-header .course-description {
  font-size: 0.95rem;
  color: #444;
}

.course-details .course-header .star-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-details .course-header .stars {
  display: flex;
  position: relative;
}

.course-details .course-header .stars span {
  font-size: 24px;
  color: #ccc;
}

.course-details .course-header .stars .filled {
  color: gold;
}

.course-details .course-header .rating-number {
  font-size: 0.9rem;
  color: #555;
}

.course-details .course-header .price-free {
  color: #28a745;
}

.course-details .course-header.price-discount {
  color: #dc3545;
}

.course-details .course-header .price-regular {
  color: #2d2d7a;
}

.course-details .course-header .btn-primary {
  background-color: #2d2d7a;
  border: none;
}

.course-details .course-header .btn-primary:hover {
  background-color: #1b1b5a;
}

/* Responsive Adjustments */

@media (max-width: 768px) {
  .course-details .course-header h1 {
    font-size: 2.5rem;
  }
  /* 
  .course-details .text-md-end {
    text-align: center !important;
  } */

  .course-details .card {
    margin-bottom: 1.5rem;
    /* Adds space between stacked cards */
  }
}

@media (max-width: 576px) {
  .course-details .course-header h1 {
    font-size: 2rem;
  }
}
/*################################################ COURSE-HEADER SECTION END ##################################################*/

/*################################################# SUBSCRIBE SECTION START ###################################################*/
.course-details .subscribe-section .btn {
  font-size: 1.2rem;
  padding: 15px 30px;
  border-radius: 5px;
  background-color: #29aa62;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.course-details .subscribe-section .btn:hover {
  background-color: #9754a1;
  transform: scale(1.05);
}
/*################################################## SUBSCRIBE SECTION END ####################################################*/

/*############################################### COURSE-CONTENT SECTION START ################################################*/
.course-details .course-content .accordion {
  /* max-width: 1000px;
  margin: 0 auto; */
  padding: 20px;
}

.course-details .course-content .accordion .accordion-item {
  border: none;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  counter-increment: chapter;
  position: relative;
}

.course-details .course-content .accordion .accordion-header {
  background-color: #fff;
}

.course-details .course-content .accordion-button:focus {
  box-shadow: none;
}
.course-details .course-content .accordion-button:not(.collapsed) {
  background: rgba(41, 170, 98, 0.05);
  color: #29aa62;
}

.course-details .course-content .accordion .accordion-button {
  font-weight: bold;
  font-size: 1.1rem;
  padding: 15px;
  border: none;
  position: relative;
  transition: background-color 0.3s, color 0.3s;
}

.course-details .course-content .accordion-collapse.show {
  animation: slideDown 0.3s ease-out;
}

.course-details .course-content .accordion-collapse {
  transition: all 0.3s ease-in-out;
}

.course-details .course-content .accordion-button::before {
  content: "Chapter " counter(chapter);
  margin-right: 15px;
  color: #29aa62;
  font-weight: bold;
  font-size: 0.9rem;
  min-width: 100px;
  display: inline-block;
}

.course-details .course-content .chapter-duration-badge {
  background-color: rgba(151, 84, 161, 0.1);
  color: #9754a1;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 15px;
}

.course-details .course-content .accordion-button > div {
  flex: 1;
}

.course-details .course-content .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

.course-details .course-content .accordion-button::after {
  margin-left: 15px;
}

.course-details .course-content .accordion-button::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  background-image: none !important;
  font-size: 1.2rem;
  color: #9754a1;
  transition: transform 0.3s ease;
}

.course-details .course-content .accordion .accordion-body {
  background-color: #fff;
  padding: 15px;
  color: #555;
  font-size: 1.2rem;
  line-height: 1.6;
}

.course-details .course-content .accordion-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: lesson;
}

.course-details .course-content .accordion-body ul li {
  margin-bottom: 8px;
  border-radius: 8px;
  background: rgba(151, 84, 161, 0.05);
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: none;
  list-style: disc;
  color: #fff;
  padding: 12px 15px;
  counter-increment: lesson;
}

.course-details .course-content .accordion-body li::before {
  content: "Lesson " counter(lesson);
  margin-right: 15px;
  color: #9754a1;
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 80px;
}

.course-details .course-content .lesson-title {
  margin-right: 15px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-details .course-content .duration-badge {
  background-color: rgba(41, 170, 98, 0.1);
  color: #29aa62;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.course-details .course-content .accordion-body ul li:last-child {
  margin-bottom: 0;
}
/*################################################ COURSE-CONTENT SECTION END #################################################*/

/*############################################# WHAT U WILL LEARN SECTION START ###############################################*/
.course-details .what-u-will-learn .video-container {
  position: relative;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}

.course-details .what-u-will-learn .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.course-details .what-u-will-learn .list-group-item {
  font-size: 1.2rem;
  padding: 10px 15px;
  margin-bottom: 10px;
  background-color: #fff;
  color: #000;
  border: 0;
}
/*############################################## WHAT U WILL LEARN SECTION END ################################################*/

/*############################################## MEET UR TEACHER-SECTION START ################################################*/
.meet-ur-teacher .teacher-card {
  border: none;
  border-radius: 12px;
  background-color: #f2f2f2;
  padding: 24px 32px;
  width: 100%;
  max-width: 960px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
}

.meet-ur-teacher .teacher-card .card-header {
  background-color: transparent;
  border-bottom: none;
  padding-bottom: 0;
}

.meet-ur-teacher .teacher-card .requirements {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.meet-ur-teacher .teacher-info {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.meet-ur-teacher .teacher-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  background-color: #4b4b6b;
}

.meet-ur-teacher .teacher-name {
  font-size: 22px;
  font-weight: 700;
  color: #2e2e6a;
  margin-bottom: 4px;
}
/*############################################### MEET UR TEACHER-SECTION END #################################################*/

/*############################################## RELATED-COURSES SECTION START ################################################*/
.course-details .related-courses {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  /* Center text content */
}

.course-details .related-courses .section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: #2b235e;
}

.course-details .related-courses .carousel-container {
  width: 80%;
  /* Reduce width to center content */
  max-width: 1200px;
  margin: 0 auto;
  /* Center the container */
  overflow: hidden;
  position: relative;
}

.course-details .related-courses .carousel {
  display: flex;
  justify-content: center;
  /* Center flex items */
  align-items: center;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.course-details .related-courses .card {
  flex: 0 0 300px;
  /* Fixed width for cards */
  /* max-width: 300px; */
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.course-details .related-courses .card-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.course-details .related-courses .card-content {
  padding: 20px;
  text-align: center;
}

.course-details .related-courses.course-details .related-courses.course-details .related-courses.course-details .related-courses .card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #333;
}

.course-details .related-courses.course-details .related-courses.course-details .related-courses .card-author {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #555;
}

.course-details .related-courses.course-details .related-courses .btn-main {
  background-color: #2b235e;
  color: #fff;
  padding: 10px 20px;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.course-details .related-courses .btn-main:hover {
  background-color: #9754a1;
}

.course-details .related-courses.no-related-courses {
  font-size: 20px;
  color: #111184;
  /* Dark blue to match your theme */
  font-weight: bold;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
  height: 100vh;
  /* Full viewport height to center vertically */
}

.course-details .related-courses .no-related-courses p {
  margin: 0;
  /* Remove default margin for better centering */
}
/*############################################### RELATED-COURSES SECTION END #################################################*/

/* Duration Section */
.course-details #duration {
  text-align: center;
}

.course-details .duration-text {
  font-size: 1.5rem;
  color: #333;
}

/*instructor*/
.course-details #instructor-info {
  font-size: 1.5rem;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.course-details #instructor-info h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2b235e;
  margin-bottom: 20px;
  text-transform: uppercase;
  position: relative;
}

.course-details .instructor-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border: 5px solid #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.course-details #instructor-info p {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

/*learning*/
/* Container and Row Spacing */
.course-details .py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Section Title */
.course-details h3 {
  font-size: 2rem;
  font-weight: bold;
  color: #2b235e;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}

/* Course List */
.course-details .list-group-item {
  font-size: 1.2rem;
  padding: 10px 15px;
  margin-bottom: 10px;
  background-color: #fff;
  color: #000;
}

/*******************************************************************************************************************************/
/*************************************************** COURSE-DETAILS PAGE END ***************************************************/
/*******************************************************************************************************************************/
