body{
  overflow-x: hidden;
}
#top{
  font-size:0.85rem
  }
#top >div:first-of-type{
  height: 50px;
}
#top a{
  color: white;
  text-decoration: none
}
#data .col{
  flex: 0 1 fit-content;
}
#socialhead{
  position: relative;
  background: var(--bs-warning);
}
#socialhead:before{
  content:
  '';
  position: absolute;
  width: 50%;
  height: 100%;
  top:0;
  left: -42px;
  border-left: 2px solid white;
  transform-origin: bottom;
  transform: skew(-40deg, 0);
  background: var(--bs-warning);
  z-index: 0
}
.social-links{
  /* margin-right: 16px; */
  /* z-index: 1000; */
}
@media (max-width:768px){
  #top {
   height:0;
    width:0;
  }
}
/**************************************************************/
/*Navbigation bar*/
#mainNav{
  width: 50%;
}
#mainNav .nav-item .nav-link:hover {
  border-bottom: 2px solid black;
  padding-bottom: 2px;
}

#mainNav .nav-link.active:focus {
  background: white;
}

#mainNav .nav-link.active {
  font-weight: bold;
  color: #000000;
}

#mainNav .nav-item.active {
  text-decoration: underline;
}

/***Burguer button ***/
.navbar-toggler.burgerBtn {
  color: transparent;
  border-color:transparent;
  width: 30px;
  height: 30px;
  margin: 10px 10px;
  position: relative;
  cursor: pointer;
}
.burgerBtn span {
  background-color: #808080;
  position: absolute;
  border-radius: 2px;
  -webkit-transition: .3s cubic-bezier(.8, .5, .2, 1.4);
  -o-transition: .3s cubic-bezier(.8, .5, .2, 1.4);
  transition: .3s cubic-bezier(.8, .5, .2, 1.4);
  width: 100%;
  height: 2px;
  left: 0px;
}

.burgerBtn:not(.collapsed) span:nth-child(1) {
  -webkit-transform: rotate(-45deg) scaleY(1.1);
      -ms-transform: rotate(-45deg) scaleY(1.1);
          transform: rotate(-45deg) scaleY(1.1);
  top: 6.6px;
}
button{
  color:transparent
}
.burgerBtn:not(.collapsed) span:nth-child(2) {
  -webkit-transform: rotate(45deg) scaleY(0);
      -ms-transform: rotate(45deg) scaleY(0);
          transform: rotate(45deg) scaleY(0);
}

.burgerBtn:not(.collapsed) span:nth-child(3) {
  -webkit-transform: rotate(45deg) scaleY(1.1);
      -ms-transform: rotate(45deg) scaleY(1.1);
          transform: rotate(45deg) scaleY(1.1);
   top: 6.6px;
}

.burgerBtn.collapsed span:nth-child(1) {
  -webkit-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
          transform: rotate(0deg);
  top: 0px;
}

.burgerBtn.collapsed span:nth-child(2) {
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
  top: 10px;
}

.burgerBtn.collapsed span:nth-child(3) {
  -webkit-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
          transform: rotate(0deg);
  top: 20px;
}

/**************************************************************/
/* section offset for scroll and separaton between sections*/
.offset-top {
  scroll-margin-top: 102px;
}

/*Hero section carousel*/
#hero{
    clip-path: ellipse(140% 100% at 50% 0%);
}
#hero .carousel {
  height: calc(100vh - 102px);
}
@media (min-width: 769px){
  #hero .carousel {
    height: calc(100vh - 162px);
  }
}

#heroCarousel .textSlide h1{
  opacity:0;
  position: relative;
  top: -200px;
  max-width: 350px;
  transition: all 300ms 200ms;
}

#heroCarousel .carousel-item.active .textSlide h1{
  top: 0;
  opacity: 1;
}

#heroCarousel .textSlide p{
  opacity:0;
  position: relative;
  left: -200px;
  max-width: 350px;
  transition: all 300ms 200ms;
}

#heroCarousel .carousel-item.active .textSlide p{
  left: 0;
  opacity: 1;
}
#heroCarousel  .bi{
  font-size: 1.2rem;
  width: 1.6rem;
  color: white;
  background:transparent;
}
#heroCarousel :is(.carousel-control-prev, .carousel-control-next){
  width: fit-content;
  height: fit-content;
  position: absolute;
  right: 0;
  left: auto;
  opacity:1;
}
#heroCarousel :is(.carousel-control-prev, .carousel-control-next):hover{
  background: orange;
}
#heroCarousel .carousel-control-prev{
  right: 2.4rem;
}
.fit-cover {
  object-fit: cover;
}


/**************************************************************/
/*Features*/
.service-item {
    background-color: rgba(var(--bs-info-rgb), 0.13);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--bs-primary);
    color: var(--bs-white);
}

/*Why section*/

#why:after {
    content: '';
    position: absolute;
    height: 0;
    aspect-ratio: 1/1;
    top: 70%;
    right: 0;
    background: transparent;
    border: 4rem solid transparent;
    border-right: 4rem solid var(--bs-orange);
    transition: all 500ms;
}

#why:hover:after{
  top: 6rem;
}

#why .rounded-3{
  border-radius: 4px !important;
}

.pop span{
  display: none;
 }
.feature-item li div{
  display: inline-block;
}

/*strips colors*/
#courses, #contact, #team{
  background-color: var(--bs-gray-100);
}

/**************************************************************/
/*Courses and course cards */
#courses  {
  position:relative;
}

@media(min-width: 768px){
  #courses  {
  position:relative;
  
  }
  #courses:before{
    content: '';
    position: absolute;
    width: 40%;
    max-width: 95vw;
    height: 100%;
    top: 0%;
    right: 5%;
    background: #00ffff4a;
    opacity: 0.5;
    transform-origin: bottom;
    transform: skew(35deg, 0deg);
    z-index:0;
  }
  
}

#courses .btn{
   padding-left:2rem;
  padding-right:2rem;
  margin-bottom: 32px;
}

.noscrollx {
  overflow-x: hidden;
}

.imghead {
  overflow: hidden;
}

.imghead img {
  transition: transform 300ms;
}

.imghead img:hover {
  transform: scale(1.2);
}


@media (min-width: 768px){
  #courses a{
    font-size: 16px;
    padding-right: 16px;
    padding-left: 16px;
  } 
}
/*Course card*/
.course{
 --displ: 80px;
}
.course{
  overflow: hidden;
  position: relative;
  transition: all 500ms;
  padding: 4px;
}

.course-top{
  position: static;
  transition: all 500ms;
}

.course-caption{
 position: absolute;
 background: transparent;
 bottom: calc(-1 * var(--displ));
 height: var(--displ);
 width: 100%;
 transition: all 500ms;
 display: flex;
 align-items: center;
}
.course .img{
  position: relative;
  top: 0;
  transition: 500ms;
  z-index: 100
}
.course .card-img-overlay{
  position: absolute;
  top: 0;
  height: 100%;
  transition: 500ms;
  z-index: 100
}
.course-inner .fw-bold{
    position: relative; 
    right: 20px;
    width: 72px;
    height: 72px;
    z-index: 5;
    -webkit-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    border: none;
    text-align: center;
    line-height: 68px;
    font-size: 24px;
    font-weight: 800;
    background-color: #fecb17;
  margin: 0 0 0 auto
}
@media (min-width:992px ) and (max-width: 1200px) {
  .course-inner h4{
    font-size: 1.2rem;
    height: 4rem;
    width: 4rem;
    top: -50px;
    left: 20%;
    margin: 0 0 0 auto;
  }
  .course-inner h4 ~ p{
    top: -75px;
    position: relative;
  }  
}

/*Course hover effects*/
.course:hover {
     box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important
}
.course:hover .img{
  top: calc(-1 * var(--displ))
}
.course:hover .course-caption {
  bottom: 0px;
}

.course:hover .card-img-overlay{
 padding-top: 0 !important;
}
/**************************************************************/
/*Staff* Animated staff member resume card*/
#team .col .card-body{ position: relative}
#team .col .card-body .resumeTeam{
  display: block;
  position: absolute;
  width: 100%;
  height: 0;
  overflow: hidden;
  top: 0%;
  left: 0%;
  border: 0;
  background: rgba(var(--bs-dark-rgb), 0.7);
  color: white;
  transition: height 400ms;
}
#team .col .card-body .resumeTeam .card-header{
  font-weight:bold;
  font-size: 1.1rem;
  padding:0;
  background: rgba(250,250,250,0.4);
  border-radius: 1rem
}
#team .col .card-body:hover .resumeTeam{
  height: 100%;
}
/**************************************************************/
/*Testimonials */
#testimonials .col:first-of-type{position: relative}
#testimonials .col:first-of-type:after{
  content:'';
  position: absolute;
  height: 0;
  aspect-ratio: 1/1;
  bottom: 0;
  left: 0;
  background: tranasparent;
  border: 4rem solid transparent;
  border-bottom: 4rem solid orange;
  transform: rotate(90deg);
}

#carTestimonials {
  height: 100%;
}

#carTestimonials .carousel-inner {
  height: 100%;
  width: 75%;
  float: right;
}

#carTestimonials .carousel-item, ##carTestimonials .carousel-item .card {
  height: 100%;
}


@media (max-width: 375px) {
  #langs .nav-link {
    font-size: 14px;
    padding: 8px;
  }
}

#langs img {
  max-width: 300px !important;
  max-height: 200px;
  aspect-ratio: 3/2;
  margin: 0 auto;
}

#carTestimonials img {
  width: 150px;
  height: 150px;
  display: block;
  margin: 2px 0 8px auto;
}


/**************************************************************/
/* Stats numbers animated*/
#numbers{
  background: url("../img/learn-game.jpg") no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  background-color: #2f4f4fb3;
  background-blend-mode: overlay;
  color: white;

}
.all-capital {
  text-transform: uppercase;
}

.counter-font {
  font-size: 60px;
  font-weight: 500;
  line-height: 76px;
  letter-spacing: 0px;
  text-align: center;
}

span.plus-k::after {
  content: 'K +';
}

span.plus::after {
  content: '+';
}

.Justify-Flex-Center {
  display: flex;
  justify-content: center;
}

.font-dark {
  color: var(--primary-color);
}

.Justify-Flex-Center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*******************************************************************/
/*Contact section */
#contact{
  position:relative;
}
#contact:before{
  content:'';
  object-fit: contain;
  position: absolute;
  width: 100%;
  height: 100%;

  opacity:0.1;
  background: url("../img/love-learn.jpg") no-repeat scroll center;
  background-size: cover;
  background-color: gray;
  mix-blend-mode: multiply;
}

/************************************************************/
/* Styles for icons */
.bs-icon {
  --bs-icon-size: .75rem;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: var(--bs-icon-size);
  width: calc(var(--bs-icon-size) * 2);
  height: calc(var(--bs-icon-size) * 2);
  color: var(--bs-primary);
}

.bs-icon-xs {
  --bs-icon-size: 1rem;
  width: calc(var(--bs-icon-size) * 1.5);
  height: calc(var(--bs-icon-size) * 1.5);
}

.bs-icon-sm {
  --bs-icon-size: 1rem;
}

.bs-icon-md {
  --bs-icon-size: 1.5rem;
}

.bs-icon-lg {
  --bs-icon-size: 2rem;
}

.bs-icon-xl {
  --bs-icon-size: 2.5rem;
}

.bs-icon.bs-icon-primary {
  color: var(--bs-white);
  background: var(--bs-primary);
}

.bs-icon.bs-icon-primary-light {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .2);
}

.bs-icon.bs-icon-semi-white {
  color: var(--bs-primary);
  background: rgba(255, 255, 255, .5);
}

.bs-icon.bs-icon-rounded {
  border-radius: .5rem;
}

.bs-icon.bs-icon-circle {
  border-radius: 50%;
}


/**************************************************************/

.carousel-indicators [data-bs-target]{
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #ffe600;
  opacity: 1;
}
.carousel-indicators [data-bs-target].active{
  background-color: white
}

/**********************************************************************/
/*General*/
section:not(#hero, #contact){
  padding: 49px 0
}

#btn-back-to-top {
position: fixed;
bottom: 0px;
right: 10px;
display: none;
cursor: pointer;  
background: white;
border: 2px solid gray;
font-size: 24px;
line-height: 3rem;
width: 3rem;
height: 3rem;   
text-align: center;  
border-radius: 25%;  
}
/***********************************************************************************************/
/*Button in  hero area*/
.btn-more{
  background: var(--bs-primary);
  color: white;
  position: relative; 
  border-radius: 15px;
  z-index:10;
}

.btn-more:before{
  content: '';
  position: absolute;
  display:  block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform: scale(0);
  transition: transform 300ms;
  background: var(--bs-orange);
  z-index:-1;
}


.btn-send{
  background: var(--bs-danger);
  color: white;
  border-radius: 18px; 
  position: relative;
  z-index:10;
}

.btn-send:before{
  content: '';
  border-radius: inherit;
  position: absolute;
  display:  block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(0);
  transition: transform 300ms;
  background: var(--bs-primary);
  z-index:-1;
}

.btn-send:hover{
  background: var(--bs-danger);
  opacity: 0.7;
  color: white
}

.btn-send:hover:before, .btn-more:hover:before{
  width: 100%;
  height:  100%;
  transform: scale(1);
}

