.grd-orenge {background: linear-gradient(0deg, rgb(255 213 104) 11.2%, rgb(255 147 0) 91.1%)}

.bg-purple{ background: #8764f2;}
.bg-purple-light{ background: #c3b2f8;}
.bg-greenBlue{ background: #32bfc8;}
.bg-orenge{ background: #e4962a;}
.bg-green{ background: #35bf6a;}
.bg-red{ background: #d44245;}
.bg-blue{ background: #2c65be;}
.bg-blue-light{ background: #6493ff;}
.bg-orenge-light{ background: #f1aa00;}
.bg-gray-light{ background: #ececec;}
.bg-violet{ background: #23408f;}
.bg-light-violet{ background: #b5b5b5;}
.bg-light-blum{ background: #a0a596;}
.bg-light-grum{ background: #97b7ad;}

.text-blue{ color: #2c65be;}
.text-orenge{ color: #e4962a;}
.text-orenge2{ color: #ec6f39;}
.text-red{ color: #d44245;}

.title-sm{ font-weight: 600;font-size: 22px;color: #fff;}
.text-small{ font-size: 0.7rem;}
.font-13{ font-size: 16px;color: #fff;}
.grid-flex-2  > div { flex-basis: 50%; margin: 0px 20px 0px 20px;}
b{ font-weight: 500;}
.btn-primary{
    background: #ebc534;
    border-color: #ebc534;
}
.mt-xlonly-5{ margin-top: 3rem!important;}


@media (max-width: 768px) {
    .grid-flex-2  { flex-direction: column;}
    .p-xs-4{ padding: 1.5rem!important;}
    .pt-sx-4{ padding-top: 1.5rem!important;}
    .mt-xlonly-5{ margin-top: 1rem!important;}
    

}


  /* Custom styles for the sliding menu */
  .offcanvas-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 100%;
    padding: 1rem;
    background-color: #fff;
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 1040;
}
.offcanvas-collapse.open {
    transform: translateX(-100%);
}
.nav-item .dropdown-menu {
    position: static;
    float: none;
}
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}
.dropdown-submenu:hover .dropdown-menu {
    display: block;
}
.list-group-item {
    background-color: transparent;
}



/* landing page courses section */
.grid {
    position: relative;
    margin: 0 auto;
    padding: 1em 0 4em;
    max-width: 1000px;
    list-style: none;
    text-align: center;
}

/* Common style */
.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    min-width: 320px;
    max-width: 480px;
    max-height: 360px;
    width: 48%;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
}

.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.grid figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}

.grid figure h2 span {
    font-weight: 800;
}

.grid figure h2,
.grid figure p {
    margin: 0;
}

.grid figure p {
    letter-spacing: 1px;
    font-size: 68.5%;
}
/*---------------*/
/***** Dexter *****/
/*---------------*/

figure.effect-dexter {
    background: -webkit-linear-gradient(top, rgba(37,141,200,1) 0%, rgba(104,60,19,1) 100%);
    background: linear-gradient(to bottom, rgba(37,141,200,1) 0%,rgba(104,60,19,1) 100%); 
}

figure.effect-dexter img {
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

figure.effect-dexter:hover img {
    opacity: 0.4;
}

figure.effect-dexter figcaption::after {
    position: absolute;
    right: 30px;
    bottom: 30px;
    left: 30px;
    height: -webkit-calc(50% - 30px);
    height: calc(50% - 30px);
    border: 7px solid #fff;
    content: '';
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0,-100%,0);
    transform: translate3d(0,-100%,0);
}

figure.effect-dexter:hover figcaption::after {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

figure.effect-dexter figcaption {
    padding: 3em;
    text-align: center;
}

figure.effect-dexter p {
    position: absolute;
    right: 60px;
    bottom: 60px;
    left: 60px;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,-100px,0);
    transform: translate3d(0,-100px,0);
}

figure.effect-dexter:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
/*testimonial*/

  .testimonial-carousel {
      width: 100%;
      max-width: 1200px;
      margin: 40px auto;
      text-align: center;
      position: relative;
      padding: 30px;
      border-radius: 10px;
      background-color: #20397e;
    }

    .testimonial {
      display: none;
    }

    .testimonial.active {
      display: block;
      animation: fade 0.5s ease-in-out;
    }

    @keyframes fade {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .testimonial img {
      border-radius: 50%;
      margin-bottom: 15px;
      max-width: 200px;
      border: 2px dashed #fff;
      outline: 2px solid #fff;
    }

    .testimonial p {
      font-size: 1.1em;
      color: #fff;
    }

    .testimonial h4 {
      margin-top: 10px;
      color: #fff;
      font-size: 1.2rem;
      font-weight: bold;
    }
    
    .testimonial h4 span {
      display: block;
      font-size: .8rem;
      font-weight: normal;
    }

.testimonialnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  padding: 0 15px;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease; /* Smooth transition for color change */
}

.testimonialnav:hover {
  color: #000; /* Color change on hover */
}

.testimonialnav i {
  margin-right: 10px;
}

.testimonialnav.prev { left: 10px; }
.testimonialnav.next { right: 10px; }



