:root {
  --primary-color: #e41674;
}


p {
  margin-top: 0;
  margin-bottom: 0rem;
}

dl,
ol,
ul {
  margin-top: 0;
  margin-bottom: 0rem;
}

ol,
ul {
  padding-left: 0rem;
}

/* ---------- */
.navbar-tp {
  background: #FFF;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.14);
}

.navbar-items {
  display: flex;
  align-items: center;
  gap: 20px;
}

.john-link {
  display: flex;
  gap: 20px;
  align-items: center;
}

.john-link a:hover svg path {
  stroke: #65318F;
  color: #65318F;
}

.checkpath:hover svg path {
  fill: #65318F;
}

.select2-selection__rendered {
  padding: 10px;
}

/* Style for hover background */
.select2-results__option:hover {
  background-color: #f0f0f0;
 
}
.main-jhon {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-jhon-doe {
  display: flex;
  gap: 26px;
  align-items: center;
}

.main-jhon-doe select {
  border: none;
  appearance: none;
  color: #3B3B3B;
  font-family: Droid Sans;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 4px;
}

.dropdown2 button {
  border: none;
  background: transparent;
}

.dropdown-nav button {
  display: flex;
  align-items: center;
  border: none;
  background: transparent;
}

.dropdown-nav button .jh-p {
  color: #3B3B3B;
  font-family: Droid Sans;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.dropdown-nav button .av-p {
  color: #3B3B3B;
  font-family: Droid Sans;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

a:link,
a:visited {
  color: #008ccd;
  text-decoration: none;
}

a:hover {
  color: #00bced;
}

a:action {
  color: #008ccd;
}

/*******************************/
/********* USEFUL PART *********/
/*******************************/
#topBar {
  /* position: fixed; */
  width: 100%;
  padding: 0 15px;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 62px;
  border-radius: 8px;
  background: #FFF;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.14);
  padding: 11px;
}

#topBar ul li {
  position: relative;
  display: inline-block;
}

#topBar a {
  display: inline-block;
  padding: 0px 20px;
  line-height: 1.2rem;
  color: #3B3B3B;
  transition: 0.2s ease-out;
  color: #2C2C2C;
  font-family: Droid Sans;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#topBar a:hover,
#topBar>.navbar-items>li.active {
  border-radius: 4px;
  color: #e41674;
  background: linear-gradient(225deg, #e41674 0%, #e41674 99.2%);
  box-shadow: -1px 1px 8px 0px rgba(244, 38, 115, 0.58);
}

li:hover .fa-angle-down:before,
li.active .fa-angle-down:before {
  color: #E9E7FD;
}

#topBar>.navbar-items>li:hover svg path,
#topBar>.navbar-items>li.active svg {
  fill: #E9E7FD;
}

#topBar>.navbar-items>li:hover>a span,
#topBar>.navbar-items>li.active>a span {
  color: #E9E7FD;
}

#topBar>.navbar-items>li:active svg path,
#topBar>.navbar-items>li:hover svg rect,
#topBar>.navbar-items>li:hover svg circle,
#topBar>.navbar-items>li.active svg path {
  fill: #E9E7FD;
}

#topBar>.navbar-items>li:hover svg.ai-tools circle #topBar>.navbar-items>li.active svg.ai-tools circle {
  fill: white;

}

ul.subMenu {
  box-sizing: border-box;
  position: absolute;
  top: 100%;
  left: 0;
  width: 170%;
  border-radius: 4px;
  background: #FFF;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.14);
  padding-left: 0;
  opacity: 1;
  z-index: 1;
  display: none;
  max-height: 0;
  transition: max-height 0.3s ease;
}

li.active>ul.subMenu {
  max-height: fit-content;
  transition: max-height 0.3s ease;
  display: block !important;
  min-width: 200px;
  width: fit-content;
}

li.active:last-child>ul.subMenu,
li.active:nth-child(8)>ul.subMenu {
  right: 0;
  left: unset;
}

ul.subMenu li {
  width: 100%;
  border-radius: 4px;
  background: #FFF;
  color: #2C2C2C;
  font-family: Droid Sans;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  /* 285.714% */
}

#topBar ul.subMenu li a {
  width: 100%;
  padding: 0rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* white-space: nowrap; */
}

#topBar ul.subMenu li a:hover,
#topBar ul.subMenu li.active>a {
  background: #F2F4F4;
  color: black;
  padding-left: 1.1rem;
}

ul.subMenu ul.subMenu {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
}

.responsive-nav {
  margin-top: 26px;
  padding: 6px 8px;
  border-radius: 4.667px;
  background: #FFF;
  box-shadow: 0px 1.167px 4.667px 0px rgba(0, 0, 0, 0.14);
  display: none;
  gap: 50px;
}

.responsive-nav .bash-mob {
  display: flex;
  gap: 5px;
  align-items: center;
  border-radius: 2.392px;
  background: linear-gradient(225deg, #D096FF 0%, #65318F 99.2%);
  box-shadow: -0.598px 0.598px 4.784px 0px rgba(126, 114, 242, 0.58);
  color: #E9E7FD;
  font-family: Droid Sans;
  font-size: 9.739px;
  font-style: normal;
  font-weight: 400;
  line-height: 16.286px;
  width: fit-content;
  padding: 5px;
}

/*search-bar-icons  */
.search-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.secrh-input {
  position: absolute;
  right: 22px;
  transition: clip-path 0.9s ease;
  clip-path: polygon(100% 0, 100% 100%, 100% 100%, 100% 0);
}

.secrh-input input {
  border-radius: 6px;
  border: 1.201px solid var(--Gray-300, #73777c);
  background: var(--White, #FFF);
  box-shadow: 0px 1.201px 2.402px 0px rgba(9, 15, 29, 0.05);
  padding: 3px 5px 3px 10px;
  font-family: "Droid Sans";
  font-size: 12.213px;
  font-style: normal;
  font-weight: 400;
  line-height: 20.82px;
}

.secrh-input input::placeholder {
  color: #565660;
  /* 150% */
}

.secrh-input.show {
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
}

.search-icon.active .secrh-input {
  display: flex;
}

.search-icon button {
  background: transparent;
  border: none;
}

/*============== char--css=========== */
.chart-wrapper {
  /* width: 100%; */
  height: 100%;
  /* background-color: #0d0d0d; */
  /* position: absolute; */
}

.chart-wrapper path {
  /* stroke: #0d0d0d; */
  /* stroke-width: 5px; */
  cursor: pointer;
  transition: fill 250ms;
}

.chart-wrapper path:hover {
  /* stroke-width: 10px; */
  fill: #fff;
}



.chart-wrapper polyline {
  fill: none;
  stroke: #fff;
  stroke-width: 2px;
  stroke-dasharray: 5px;
}


/* chart-css-close */

#nav-toggler {
  color: blueviolet;
}

@media screen and (max-width: 1572px) {
  #topBar a {
    padding: 0 10px;
    gap: 6px;
  }

  .navbar-items {
    justify-content: space-between;
  }

  li.active:nth-child(7)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(7)>ul.subMenu li:nth-child(4) ul.subMenu,
  li.active:nth-child(8)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(8)>ul.subMenu li:nth-child(4) ul.subMenu {

    left: -100%;
  }
}

@media screen and (max-width: 1400px) {
  #topBar a {
    padding: 0 5px;
    gap: 6px;
  }

  .navbar-items {
    gap: 14px;
  }
}

@media screen and (max-width: 1200px) {
  #topBar a {
    gap: 5px;
    font-size: 12px;
  }

  .navbar-items li a svg {
    width: 12px;
  }

  .workshop-icon {
    width: 17px !important;
  }

  li.active:nth-child(6)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(6)>ul.subMenu li:nth-child(4) ul.subMenu {
    left: -100%;
  }
}

@media screen and (max-width: 992px) {
  .navbar-items a span {
    display: none;
  }

  .workshop-icon {
    width: 24px !important;
    height: 24px;
  }

  .navbar-items li a svg {
    width: 24px;
  }

  .navbar-items {
    gap: 17px;
    justify-content: space-between;
  }

  #topBar a {
    padding: 7px 10px;
  }

  li.active>ul.subMenu {
    min-width: 174px;
  }
}

@media screen and (max-width: 768px) {
  .navbar-items li a svg {
    width: 14px;
    height: 14px;
  }

  .navbar-items {
    gap: 8px;
  }

  li.active:nth-child(7)>ul.subMenu {
    right: 0;
    left: unset;
  }

  #topBar {
    height: fit-content;
  }

  .workshop-icon {
    width: 18px !important;
    height: 18px !important;
  }

  li.active:nth-child(5)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(5)>ul.subMenu li:nth-child(4) ul.subMenu {
    left: -100%;
  }
}

@media screen and (max-width: 550px) {
  .responsive-nav {
    display: flex;
  }

  .navbar-items {
    width: 100%;
    max-width: 185px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* #topBar{
    clip-path: polygon(0 0, 0 100%, 0 100%, 0 0);
    transition: clip-path .7s ease;
  }
  #topBar.show{
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
  } */
  #topBar {
    clip-path: polygon(0 0, 100% 0%, 100% 0, 0 0);
    transition: clip-path .7s ease;
  }

  #topBar.show {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);

  }

  #topBar {
    height: fit-content;
    position: absolute;
    top: -16px;
    width: 95%;
    margin: 0 10px;
  }

  ul.subMenu ul.subMenu {
    position: absolute;
    top: 43px;
    left: 0;
  }

  .navbar-items a span {
    display: block;
    line-height: normal;
  }

  .dropdown-nav button .jh-p {
    font-size: 12px;
    white-space: nowrap;
  }

  li.active:last-child>ul.subMenu,
  li.active:nth-child(7)>ul.subMenu,
  li.active:nth-child(8)>ul.subMenu {
    right: unset;
    left: 0;
  }

  li.active:last-child>ul.subMenu,
  li.active:nth-child(7)>ul.subMenu,
  li.active:nth-child(8)>ul.subMenu {
    top: unset;
    bottom: 0;
  }

  li.active:nth-child(5)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(5)>ul.subMenu li:nth-child(4) ul.subMenu,
  li.active:nth-child(6)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(6)>ul.subMenu li:nth-child(4) ul.subMenu,
  li.active:nth-child(7)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(7)>ul.subMenu li:nth-child(4) ul.subMenu,
  li.active:nth-child(8)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(8)>ul.subMenu li:nth-child(4) ul.subMenu {
    left: 0%;
  }

  .navbar-items {
    gap: 20px;
  }

  /* .workshop-icon{
  width:18px !important;
  height: 18px !important;
    } */
  .workshop-icon,
  .navbar-items li a svg {
    width: unset !important;
    height: unset !important;
  }
}

@media screen and (max-width: 420px) {
  .main-jhon-doe {
    display: flex;
    gap: 6px;
  }
}

@media screen and (max-width: 375px) {

  .main-jhon-doe {

    gap: 0px;
  }
}
/*  Lujain Added these */
.ellips-img img{
  border-radius: 50%;
  width:150px;
  height:150x;
  border: 2px solid #e41674;
  
}

.expert-card1 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

 
.expert-card1.show {
    opacity: 1 !important;
    transform: translateY(0);
}

      /* Spinner style */
        #spinner {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgb(255, 255, 255);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #spinner .loader {
            border: 16px solid #f3f3f3; /* Light grey */
            border-top: 16px solid #e41674; /* Blue */
            border-radius: 50%;
            width: 120px;
            height: 120px;
            animation: spin 2s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

  .course-card {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 30px;
            background-color: #fff;
        }

        .course-card:hover {
            transform: translateY(0px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        .course-card img {
            transition: transform 0.3s ease;
            width: 100%;
            /* height: 200px;  */
            object-fit: cover;
        }

        .course-card:hover img {
            transform: scale(1.1);
        }

        .course-overlay {
          position: absolute;
          bottom: 0;
          left: 0;
          right: 0;
          background: linear-gradient(to top, rgba(189, 21, 124, 0.9), rgba(196, 15, 134, 0.7));
          color: white;
          padding: 20px;
          transition: transform 0.3s ease;
      }

        .course-card:hover .course-overlay {
            transform: translateY(0px);
        }

        .course-title {
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 10px;
            color:white
        }

        .course-info {
            font-size: 0.9rem;
            margin-bottom: 15px;
            color:white
        }

        .progress {
            height: 6px;
            margin-bottom: 15px;
            background-color: rgba(255, 255, 255, 0.3);
        }

        .progress-bar {
            background-color: #ffffff;
        }

        .course-status {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .start-course {
            color: white;
            text-decoration: none;
            font-weight: bold;
            transition: transform 0.3s ease;
            display: inline-flex;
            align-items: center;
            color:white !important;
        }

        .start-course:hover {
            transform: translateX(5px);
        }

        .start-course i {
            margin-left: 5px;
            color:white;
        }

        .completed-ribbon {
            position: absolute;
            top: 15px;
            right: -35px;
            transform: rotate(45deg);
            background-color: #28a745;
            color: white;
            padding: 5px 40px;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .list-view .course-card {
            display: flex;
            flex-direction: row;
            height: 200px;
        }

        .list-view .course-card img {
            width: 35%;
            height: 100%;
        }

        .list-view .course-overlay {
            position: relative;
            width: 65%;
        }

        .default-main {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .search-bar {
            display: flex;
            align-items: center;
        }

        .search-bar input {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px 0 0 5px;
        }

        .search-bar button {
            padding: 10px;
            background-color: #700877;
            border: none;
            border-radius: 0 5px 5px 0;
        }

        .select-coursr, .filter-drop {
            position: relative;
        }

        .custom_select {
            cursor: pointer;
        }

        .select_title {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .select_menu {
            display: none;
            position: absolute;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 5px;
            list-style-type: none;
            padding: 0;
            margin: 0;
            z-index: 1;
        }

        .select_menu li {
            padding: 10px;
            cursor: pointer;
        }

        .select_menu li:hover {
            background-color: #f0f0f0;
        }

        .filter-drop button {
            background: none;
            border: none;
        }

        .view-toggle {
            display: flex;
            align-items: center;
        }
    .view-toggle button.active i {
         
            color: #700877;
        
        }
        .view-toggle button {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #700877;
            margin-left: 10px;
            cursor: pointer;
        }

        @media (max-width: 767px) {
            .course-card {
                margin-bottom: 20px;
            }
            .course-title {
                font-size: 1.1rem;
            }
            .course-info {
                font-size: 0.85rem;
            }
            .course-overlay {
                padding: 15px;
            }
            .list-view .course-card {
                flex-direction: column;
                height: auto;
            }
            .list-view .course-card img {
                width: 100%;
                height: 200px;
            }
            .list-view .course-overlay {
                width: 100%;
            }
            .default-main {
                flex-wrap: wrap;
            }
            .search-bar, .select-coursr, .filter-drop, .view-toggle {
                margin-bottom: 10px;
            }
        }
         .course-info span,.course-info span i, .course-status span{
            color:white;
            font-size: 14.5px;
        }

/* Lujain Added this  */
.custom-card {
  border: none;
  border-radius: 15px;
  transition: all 0.3s ease;
  background-color: #ffffff;
  overflow: hidden;
}
.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(159, 32, 99, 0.1);
}
.custom-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}
.custom-title {
  color: var(--primary-color);
  font-weight: bold;
}
.custom-text {
  color: #6c757d;
}
.custom-btn {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}
.custom-btn:hover {
  background-color: #7a1a4d;
  border-color: #7a1a4d;
  transform: translateY(-2px);
}