*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 body{
     font-family: 'Jost', sans-serif;
}
/*Navigation bar*/
nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 5px;
  width:100%;
  padding-left: 10%;
  padding-right: 10%;
  font-family:"Red Hat Text";
  transition: background-color .5s ease;
	position: fixed;
	z-index:3;
}

nav img{
  height: 75px;
  width: 75px;
}

nav ul li{
  list-style-type: none;
  display: inline-block;
  padding: 10px 20px;
}

nav ul li a{
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover{
  color: #fff;
  transition: 0.3s;
}
.checkbtn{
    font-size:30px;
    color:#000;
    float:right;
    line-height:80px;
    cursor:pointer;
		display:none;
}
#check{
    display:none;
}
.button{
  border: none;
  background: #000;
  padding: 12px 30px;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  transition: 0.4s;
	text-decoration: none;
}

.button:hover{
  cursor: pointer;
}
.scroll{
	background-color: #fff;
	box-shadow: 0 3px 1rem rgba(0,0,0,.1);
}
.Main-header{
  text-align:center;
  font-size:65px;
  padding-top:100px;
}
.header-text{
    text-align:center;
    font-size:45px;
    font-weight:600;
    padding-bottom: 45px;
}
.nav-header{
  font-size:20px;
  font-family: 'Red hat text';
  font-weight: 500;
  text-transform: uppercase;
}
.timeline{
  max-width: 1000px;
  width: 100%;
  margin: 10px auto;
  padding: 5px 30px 5px 30px;
  border-radius: 5px;
}
.timeline header{
  font-size: 30px;
  font-weight: 600;
  padding-bottom: 20px;
}
.timeline nav{
  position: relative;
  width: 100%;
  height: 5px;
  display: flex;
  align-items: center;
}
.timeline nav label{
  display: block;
  height: 5px;
  width: 100%;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  color: #000;
  font-size: 17px;
  border-radius: 5px;
  margin: 0 5px;
  transition: all 0.3s ease;
}

#home:checked ~ nav label.home,
#blog:checked ~ nav label.blog{
 color:#4568dc;
}
nav label i{
  padding-right: 7px;
}
nav .first-slider{
  position: absolute;
  height: 100%;
  width: 50%;
  left: 0;
  bottom: 0;
  z-index: 0;
  border-radius: 5px;
  background: linear-gradient(to left,#b06ab3,#4568dc);
  transition: all 0.3s ease;
  bottom:-47px;
}
.timeline input[type="radio"]{
  display: none;
}
#blog:checked ~ nav .first-slider{
  left: 50%;
}
section .content{
  display: none;
  background: rgba(0,0,0,0);
  padding-top: 30px;
}
#home:checked ~ section .content-1,
#blog:checked ~ section .content-2{
  display: block;
}
section .content .title{
  font-size: 21px;
  font-weight: 500;
  margin: 30px 0 10px 0;
}
section .content p{
text-align: justify;
}
html{
  scroll-behavior: smooth;
}
  .wrapper{
    max-width: 1080px;
    margin: 50px auto;
    padding: 0 20px;
    position: relative;
  }
  .wrapper .center-line{
    position: absolute;
    height: 100%;
    width: 4px;
    background: linear-gradient(to top,#b06ab3,#4568dc);
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
  }
  .wrapper .row{
    display: flex;
  }
  .wrapper .row-1{
    justify-content: flex-start;
  }
  .wrapper .row-2{
    justify-content: flex-end;
  }
  .wrapper .row section{
    background: #f7f5ec;
    border-radius: 5px;
    width: calc(50% - 40px);
    padding: 20px;
    position: relative;
  }
  .wrapper .row section::before{
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    background: #f7f5ec;
    top: 28px;
    z-index: -1;
    transform: rotate(45deg);
  }
  .row-1 section::before{
    right: -7px;
  }
  .row-2 section::before{
    left: -7px;
  }
  .row section .icon,
  .center-line .scroll-icon{
    position: absolute;
    background:#f7f5ec;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #000;
    font-size: 17px;
    box-shadow: 0 0 0 4px #4568dc, inset 0 2px 0 rgba(0,0,0,0.08), 0 3px 0 4px rgba(0,0,0,0.05);
  }
  .center-line .scroll-icon{
    bottom: 0px;
    left: 50%;
    font-size: 25px;
    transform: translateX(-50%);
  }
  .row-1 section .icon{
    top: 20px;
    right: -60px;
  }
  .row-2 section .icon{
    top: 20px;
    left: -60px;
  }
  .row section .details,
  .row section .bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .row section .details .title{
    font-size: 22px;
    font-weight: 600;
  }
  .row section p{
    margin: 10px 0 17px 0;
  }
  .row section .bottom a{
    text-decoration: none;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 7px 15px;
    border-radius: 5px;
    /* font-size: 17px; */
    font-weight: 400;
    transition: all 0.3s ease;
  }
  .row section .bottom a:hover{
    transform: scale(0.97);
  }
.counter-up{
  min-height: 50vh;
  background-size: cover;
  background-attachment: fixed;
  padding: 0 50px;
  position: relative;
  display: flex;
  align-items: center;
}
.counter-up::before{
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #fff;
}
.counter-up .content{
  z-index: 1;
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.counter-up .content .box{
  border: 1px solid #000;
  width: calc(25% - 30px);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  padding: 20px;
  border-bottom: 10px solid transparent;
border-image: linear-gradient(to left, #b06ab3,#4568dc);
border-image-slice: 1;
}
.content .box .icon{
  font-size: 48px;
  color: #000;
}
.content .box .counter{
  font-size: 50px;
  font-weight: 500;
  color: #000;
  font-family: sans-serif;
}
.content .box .text{
  font-weight: 400;
  color: #000;
}
.main-header{
    text-align:center;
  font-size: 3rem;
  }

#carousel-slider {
    position: relative;
    width: 50%;
    height: 32vw;
    margin: 150px auto;
    font-family: 'Helvetica Neue', sans-serif;
    perspective: 1400px;
    transform-style: preserve-3d;
  }

  .event-gallery input[type=radio] {
    position: relative;
    top: 108%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: 0 15px 0 0;
    opacity: 0.4;
    transform: translateX(-83px);
    cursor: pointer;
  }


  .event-gallery input[type=radio]:nth-child(5) {
    margin-right: 0px;
  }

 .event-gallery input[type=radio]:checked {
    opacity: 1;
  }




  #carousel-slider label,
  #carousel-slider label img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    color: white;
    font-size: 70px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 400ms ease;
  }



  /* Slider Functionality */

  /* Active Slide */
  #s1:checked ~ #slide1,
   #s2:checked ~ #slide2,
    #s3:checked ~ #slide3,
     #s4:checked ~ #slide4,
      #s5:checked ~ #slide5 {
    box-shadow: 0 13px 26px rgba(0,0,0, 0.3), 0 12px 6px rgba(0,0,0, 0.2);
    transform: translate3d(0%, 0, 0px);
  }

  /* Next Slide */
  #s1:checked ~ #slide2,
   #s2:checked ~ #slide3,
    #s3:checked ~ #slide4,
     #s4:checked ~ #slide5,
      #s5:checked ~ #slide1 {
    box-shadow: 0 6px 10px rgba(0,0,0, 0.3), 0 2px 2px rgba(0,0,0, 0.2);
    transform: translate3d(20%, 0, -100px);
  }


  /* Next to Next Slide */
  #s1:checked ~ #slide3,
   #s2:checked ~ #slide4,
    #s3:checked ~ #slide5,
     #s4:checked ~ #slide1,
      #s5:checked ~ #slide2 {
    box-shadow: 0 1px 4px rgba(0,0,0, 0.4);
    transform: translate3d(40%, 0, -250px);
  }

  /* Previous to Previous Slide */
  #s1:checked ~ #slide4,
   #s2:checked ~ #slide5,
    #s3:checked ~ #slide1,
     #s4:checked ~ #slide2,
      #s5:checked ~ #slide3 {
    box-shadow: 0 1px 4px rgba(0,0,0, 0.4);
    transform: translate3d(-40%, 0, -250px);
  }

  /* Previous Slide */
  #s1:checked ~ #slide5,
   #s2:checked ~ #slide1,
    #s3:checked ~ #slide2,
     #s4:checked ~ #slide3,
      #s5:checked ~ #slide4 {
    box-shadow: 0 6px 10px rgba(0,0,0, 0.3), 0 2px 2px rgba(0,0,0, 0.2);
    transform: translate3d(-20%, 0, -100px);
  }

  /* footer-section */
  .container-footer{
  	max-width: 1170px;
  	margin:auto;
  }
  .row{
  	display: flex;
  	flex-wrap: wrap;
  }
  .footer-col ul{
  	list-style: none;
  }

  /*Footer*/
  .footer{
  	background-color: #24262b;
      padding: 70px 0;
  }
  .footer-col{
     width: 25%;
     padding: 0 15px;
  }
  .footer-col h4{
  	font-size: 18px;
  	color: #ffffff;
  	text-transform: capitalize;
  	margin-bottom: 35px;
    font-family: 'Jost', sans-serif;
  	font-weight: 500;
  	position: relative;
  }
  .footer-col ul li:not(:last-child){
  	margin-bottom: 10px;
  }
  .footer-col ul li a{
  	font-size: 16px;
  	text-transform: capitalize;
  	color: #ffffff;
  	text-decoration: none;
    font-family: 'Jost', sans-serif;
  	font-weight: 400;
  	color: #bbbbbb;
  	display: block;
  	transition: all 0.3s ease;
  }
  .footer-col ul li a:hover{
  	color: #ffffff;
  	padding-left: 8px;
  }
  .footer-col .social-links a{
  	display: inline-block;
  	height: 40px;
  	width: 40px;
  	background-color: rgba(255,255,255,0.2);
  	margin:0 10px 10px 0;
  	text-align: center;
  	line-height: 40px;
  	border-radius: 50%;
  	color: #ffffff;
  	transition: all 0.5s ease;
  }
  .footer-col .social-links a:hover{
  	color: #24262b;
  	background-color: #ffffff;
  }

  /*responsive*/
  @media(max-width: 767px){
    .footer-col{
      width: 50%;
      margin-bottom: 30px;
  }
  }
  @media(max-width: 574px){
    .footer-col{
      width: 100%;
  }
  }
@media screen and (max-width: 1036px) {
  .counter-up{
    padding: 50px 50px 0 50px;
  }
  .counter-up .content .box{
    width: calc(50% - 30px);
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 580px) {
  .counter-up .content .box{
    width: 100%;
  }
}
@media screen and (max-width: 500px) {
  .wrapper{
    padding: 20px;
  }
  .counter-up{
    padding: 30px 20px 0 20px;
  }
  @media(max-width: 790px){
    .wrapper .center-line{
      left: 40px;
    }
    .wrapper .row{
      margin: 30px 0 3px 60px;
    }
    .wrapper .row section{
      width: 100%;
    }
    .row-1 section::before{
      left: -7px;
    }
    .row-1 section .icon{
      left: -50px;
    }
  }

  @media(max-width: 440px){
    .wrapper .center-line,
    .row section::before,
    .row section .icon{
      display: none;
    }
    .wrapper .row{
      margin: 10px 0;
    }
      .event-gallery input[type=radio] {
    width: 10px;
    height: 10px;
    margin: 15px 5px 0 0;
    transform: translateX(-41px);
  }
    #carousel-slider {
    margin-top: 10px;
  }
  }
  @media(max-width:800px){
      .checkbtn{
          display:block;
      }
  		.hero nav{
  			flex-direction: row-reverse;
  		}
      .hero ul{
          position:fixed;
          width:100%;
          height:100vh;
          top:80px;
          left:-100%;
          text-align:center;
  				transition:all .5s ease;
      }
      .hero nav ul li{
          display:block;
          margin:25px 0;
          line-height:30px;
      }
      .hero a.active{
          color:blue;
      }
      #check:checked ~ .hero-ul{
          left:0;
      }
  }
