@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary: #3e64ff;
  --secondary: #ff5c8d;
  --bg-color: #f9fafb;
  --text-color: #2b2d42;
  --link-color: #0e6fff;
  --dark-bg: #1c1c28;
}
body{
  padding: 0;
  margin: 0;
  /* box-sizing: border-box; */
}
::selection{
  background-color: var(--secondary);
  color: var(--bg-color);
}

::-webkit-scrollbar{
  width: 0.6rem;
  height: 1rem;
}

::-webkit-scrollbar-track{
  background-color: transparent;
  border-radius: 10rem;
}

::-webkit-scrollbar-thumb{
  background-color: var(--secondary);
}

::-webkit-scrollbar-thumb:hover{
  background-color: var(--primary);
}
body {
  background: var(--bg-color);
  font-family: "poppins";
  color: var(--text-color);
  overflow-x: hidden;
}

.navbar-nav li a{
  border-radius: 0.4rem;
  padding: 0.8rem 1rem;
}

.navbar-nav  li .active,
.navbar-nav  li a:hover{
  color: var(--secondary);
}

.navbar{
  z-index: 999;
}

.hero{
  background: url(/assets/images/hero-bg.jpg);
  width: 100%;
  padding: 10rem 0;
  background-size: cover;
  animation: slidein 1s ease-in;
}

@keyframes slidein{
  from{
    opacity: 0;
    transform: translateY(-100px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text{
  width: 50%;
  height: 100%;
  padding-top: 2rem;
}
.hero-text h2{
  font-size: 3.5rem;
  color: var(--bg-color);
  font-weight: 700;
  line-height: 5rem;
  margin-bottom: 3rem;
}

span{
  color: var(--secondary);
}
.divider{
  height: 0.5rem;
  width: 5rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  background-color: var(--bg-color);
}

.hero-text p{
  color: var(--bg-color);
  margin: 0 3.5rem 3rem 0;
}

.services{ 
  padding: 5rem 0;
}
.label{
  color: var(--secondary);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.title{
  color: var(--text-color);
  margin-top: 0;
  font-size: 2.5rem;
  font-weight: 700;
}

.card-text{
  color: var(--secondary);
}
.card-image{
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.banner{
  background: url(/assets/images/banner-bg.jpg)  ;
  padding: 6rem 0;
  background-size: cover;
  background-repeat: no-repeat;
}
.banner-display{
  display: flex;
  align-items: center;
  width: 100%;
}
.banner-head{
  font-size:clamp(1.3rem , 1.5vw, 2rem );
}

.banner-btn1{
  background-color: var(--bg-color);
  padding: 0.6rem 1.4rem;
  border: none;
  color: var(--primary);
  margin-right: 1rem;
  transition: all ease-in-out 0.15s;
}

.banner-btn1:hover{
  background-color: #f9fafbd0;
  transform: scale(1.06);
}

.banner-btn2{
  background-color: var(--primary);
  padding: 0.6rem 1.4rem;
  border: none;
  color: var(--bg-color);
  transition: all ease-in-out 0.15s;
}

.banner-btn2:hover{
  transform: scale(1.06);
}

.about-btn{
  background-color: var(--link-color);
  border: none;
  padding: 0.6rem 1.2rem;
  color: var(--bg-color);
}

table{
  border-collapse: collapse !important;  
  margin-top: 2rem;
}

table tr th{
  text-align: center;
}

table td{
  text-align: center;
  padding: 1rem !important;
}

.learning-plan{
  background-image: url(/assets/images/plan-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.learning-plan img{
  width: 80%;
  height: 80%;
}

.submit-btn{
  background-color: var(--primary);
  width: 90%;
  padding: 0.6em 0;
  border-radius: 0.3rem;
  border: none;
  color: var(--bg-color);
  font-weight: 500;
  transition: all ease-in-out 0.15s;

}

.submit-btn:hover{
  transform: scaleX(1.1 );
}

.form-input  ,
.form select{
  background-color: #f9fafb84;
  border: none;
  padding: 0.6rem 1rem;
}

.card-text{
  font-size: clamp(1rem , 1vw , 2rem)
}


.testimonials-img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: 5%;
}

.carousel-control-prev{
  left: -10%;
  
}

.carousel-control-next{
  right: -10%; 
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
  filter: invert(1);
}


.i-class-icon{
  font-size: 2rem;
  color: var(--link-color);
  margin: 1.5rem 0;
}

.contact{
  font-size: 1.2rem;
  color: var(--primary);
}

.contact-card{
  transition: all ease-out 0.15s;
}
.contact-card:hover{
  transform: translateY(-15px);
}

.know-more-text , .title{
    font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
}

#floatingMessage{
  height: 200px !important;
}


@media screen and (max-width:990px){

  .hero-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-text h2{
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  .divider{
    height: 0.4rem;
    width: 20rem;
  }
}

@media screen and (max-width:767px) {


    .navbar-brand img{
      height: 4rem;
    }

    .navbar-nav li a{
      font-size: 0.8rem;
      white-space: nowrap;
    }
    .divider{
      width: 12rem;
    }

    .learning-plan img{
      display: none;
    }
    .testimonials-img{
      height: 20%;
      width: 20%;
      position: absolute;
      top: 0;
      right: 0;
    }

    .carousel-control-next,
    .carousel-control-prev{
      display: none;
    }
}

@media screen and (max-width:560px) {
    .hero-text>p ,
    .hero-text>.divider{
      display: none;
    }
    .hero-text h2{
      line-height: 2.5rem;
      width: 100%;
      font-size: 2rem;
    }
}