@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ---- Comon Css ----- */
*{
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
html{scroll-behavior: smooth;}
body{
	font-family: 'Poppins', sans-serif;
	font-size: 100%;
	font-weight: 400;
  background-color: #ecf0f3;
  line-height: 1.6;
}
.section{
	margin-bottom: 70px;
  scroll-margin-top: 82px;
  overflow: clip;
}
img{
	max-width:100%;
	height:100%;
}
a{
  font-family: 'Poppins', sans-serif;
	font-size: 100%;
	font-weight: 400;
	text-decoration: none;
  outline: none;
	color: #04000b;
  cursor: pointer;
}
a:hover {
  text-decoration: none;
}
h1, h2, h3, h4{
  font-family: 'Poppins', sans-serif;
  font-size: 100%;
  color: #010417;
}
p{
  font-size: 15px;
  font-weight: 400;
  color: #666666;
  padding-bottom: 5px;
}
span.sub-hadding{
  font-size: 24px;
  font-weight: 600;
  display: block;
  position: relative;
  padding-left: 48px;
  z-index: 1;
}
span.sub-hadding::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 50%;
  width: 8%;
  border-bottom: 2px solid #ffbd05;
  z-index: -1;
}
h1{
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
h2{
  font-size: 38px;
  font-weight: 600;
}
h3{
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 15px;
  color: #ffbd05;
}
h4{
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 2px;
  color: #ffbd05;
}
.custom-title{
  box-shadow: 0 0.125rem 0.25rem #ffffff;
}
.custom-title span{
  font-size: 18px;
  color: #ffbd05;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}
h1 .hadding-name{
  font-size: 16px;
  color: #ffbd05;
}
p.hadding-text::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  height: 100%;
  background: #ffbd05;
}
a.button-color{
  display: inline-block;
  min-width: 130px;
  height: 50px;
  background: #ffbd05;
  border-radius: 3px;
  text-align: center;
  line-height: 50px;
  font-size: 16px;
  color: #ffffff;
}
a.button-border{
  display: inline-block;
  min-width: 130px;
  height: 50px;
  border: 2px solid #ffbd05;
  border-radius: 3px;
  text-align: center;
  line-height: 50px;
  font-size: 16px;
  color: #ffbd05;
}
.card{
  background: linear-gradient(-130deg, #ffffff 20%, #ECF0F3 80%);
  box-shadow: 0 0.125rem 0.25rem #ffffff;
}
.card .custom-img{
  max-width: 85px;
  border-radius: 50%;
  margin-bottom: 35px;
}
.custom-link a{
  position: relative;
  display: inline-block;
  padding-left: 45px;
  font-weight: 500;
  text-decoration: underline;
  font-size: 15px;
}
.custom-link a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 50%;
  width: 25%;
  border-bottom: 2px solid #ffbd05;
}
/* ----- Navbar ------ */
.navbar-brand img{
	max-width: 180px;
}
.social-icon img{
	max-width: 22px;
}
nav{
  animation: scroll-transition;
  animation-timeline: scroll(root);
}
@keyframes scroll-transition {
  0%{
    background-color: #ecf0f3;
  }
  100%{
    box-shadow: 0px 0.5rem 1rem 0px #ffffff;
    background-color: #ffffff;
  }
}
/* ----- FunFact ------ */
.custom-background{
  background: linear-gradient(10deg, #ffffff 40%, #ECF0F3 60%);
  box-shadow: 0 0.125rem 0.25rem #ffffff;
}
/* ----- Portfolio ------ */
.carousel .card {
  margin: 0 0.5em;
  border: 0;
}
.carousel-control-prev,
.carousel-control-next {
  width: 3rem;
  height: 3rem;
  background-color: grey;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
/* ----- Certificate ------ */
.course img{
  max-width: 110px;
}
/* ----- Testimonial ------ */
.tes-ratings[data-tes-star="5"]:before {
  color: #ffbd05;
  font-size: 20px;
  content: "★★★★★";
}
.tes-ratings[data-tes-star="4"]:before {
  color: #ffbd05;
  font-size: 20px;
  content: "★★★★";
}
.tes-ratings[data-tes-star-off="1"]:after {
  color: #666666;
  font-size: 20px;
  content: "★";
}
/* ----- Footer ------ */
footer{
  box-shadow: 0px -1rem 1rem 0px #ffffff;
  background-color: #ffffff;
}

/* ----- Responsive design code ------ */
@media screen and (min-width: 768px) {
  span.sub-hadding{
    font-size: 28px;
    padding-left: 70px;
  }
  h1{
    font-size: 68px;
  }
  h1 .hadding-name{
    font-size: 20px;
  }
  .title h2 span{
    display: inline-block;
    padding: 4px 92px;
  }
  a.button-color{
    min-width: 162px;
    height: 52px;
    line-height: 52px;
  }
  a.button-border{
    min-width: 162px;
    height: 52px;
    line-height: 52px;
  }
  .carousel-inner {
    display: flex;
  }
  .carousel-item {
    display: block;
    margin-right: 0;
    flex: 0 0 calc(100% / 3);
  }
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}
@media screen and (min-width: 992px) {
  h1{
    font-size: 92px;
  }
  .carousel-item {
    flex: 0 0 calc(100% / 5);
  }
}