/*
* Aflatonz  Template
* Author: AflatonKinz
*/


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600;700&display=swap');
/*
   2. GENERAL
   */

.theme-dark {
  
  --color-primary: rgb(31, 39, 51);
  --font-color:  #d8e8f6;
  --shadow-outer:  5px 5px 10px #171d26, -5px -5px 10px  #273140, inset 0px 0px 0px  #171d26, inset 0px 0px 0px  #273140;
;
  --shadow-inner:  0px 0px 0px  #171d26, 0px 0px 0px #273140, inset 5px 5px 10px  #171d26, inset -5px -5px 10px #273140;
 }

.theme-light {
  --color-primary: #f1f3f6;
  --font-color: #4c4a4a;
  --shadow-outer:  inset 0 0 15px rgba(55, 84, 170,0),
    inset 0 0 20px rgba(255, 255, 255,0),
    7px 7px 15px rgba(55, 84, 170,.15),
    -7px -7px 20px rgba(255, 255, 255,1),
    inset 0px 0px 4px rgba(255, 255, 255,.2);
  --shadow-inner: inset 7px 7px 15px rgba(55, 84, 170,.15),
      inset -7px -7px 20px rgba(255, 255, 255,1),
      0px 0px 4px rgba(255, 255, 255,.2);
   
}
 
 


*{
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;

}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--font-color);
  font-size: 16px;
  font-weight: 300;
  margin: 0px;
  padding: 0px;
  background: var(--color-primary);
  overflow-x: hidden;
}
body.hideScrol{
    overflow-y: hidden!important;
}



p {
  font-size: 18px;
  font-weight: 200;
  line-height: 1.5;
}

a:hover, a:focus {
  text-decoration: none;
  color:var(--contrast-color);
}

a {
text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

 li {
  list-style: none;
}


img{
  width: 100%;
}
section{
  display: none;

}
section.active{
   display: block;
   z-index: 1;
}

/*color switcher*/
 

.style-switcher{
    position: fixed;
    top: 30%;
    right: 0;
    z-index: 10;
    background-color: var(--color-primary);
    box-shadow: var(--shadow-outer);
    padding: 15px;
    border-radius: 0 0 0 5px;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}
.style-switcher.open{
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
}
.style-switcher h5{
    font-size: 16px;
    color: var(--font-color);
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--contrast-color);
}
.style-switcher .bdy-theme{
  border: none;
}
.style-switcher ul{
    margin: 0;
    padding: 0;
    list-style: none;   
    display: block;
    margin-bottom: 5px;
}
.style-switcher ul li{
    display: inline-block;
}
.style-switcher ul li a{
    height: 30px;
    width: 30px;
    display: block;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    margin-right: 2px;
}
.style-switcher .toggle-style-switcher{
    position: absolute;
    height: 45px;
    width: 45px;
    background-color: var(--color-primary);
    left: -46px;
    top: -1px;
    box-shadow: var(--shadow-outer);
    border-right: none;
    text-align: center;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
}
.style-switcher .toggle-style-switcher .fa{
    font-size: 20px;
    color: var(--font-color);
    line-height: 43px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 40px;
}


.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color:var(--color-primary);
  box-shadow: var(--shadow-inner);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 40px;
  width: 40px;
  left: 0px;
  bottom: 4px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
   background-image:url("../img/moon.png"); 
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}


input:checked + .slider:before {
  -webkit-transform: translateX(34px);
  -ms-transform: translateX(34px);
  transform: translateX(34px);
   background-image:url("../img/sun.png"); 
  background-repeat: no-repeat;
  background-position: center;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.container{
  max-width:1200px;
  margin: auto;
}
.row{
  display: flex;
  flex-wrap: wrap;
}
.min-vh-100{
  min-height: 100vh;
}
/*scrolbar*/
::-webkit-scrollbar {
  width: 5px;
  background: var(--color-primary);
}

/* Track */
::-webkit-scrollbar-track {
  border-radius: 25px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--contrast-color);
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background:; 
}



.flex-end{
  justify-content: flex-end;
}
.w-100{
  width: 100%;
}

/* Preloader */
.preloader {
    background-color: var(--color-primary);
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 10000;
    display: flex;
    display: -ms-flexbox;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    align-items: center;
    justify-content: center;
    transition: all 1s ease;
    -webkit-transition: all 1s ease;
}

.preloader.opacity-0 {
    opacity: 0;
}

.preloader .loader {
    height: 200px;
    width: 200px;
   clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    background: var(--contrast-color);
    animation: spin 2s linear infinite;
    -webkit-animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}


/*section title*/ 
.section-title {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 60px;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    color: var(--font-color);
    text-transform: capitalize;
    font-weight: 700;
    margin: 0;
    position: relative;
}

.section-title h2::before {
    content: '';
    height: 4px;
    width: 50px;
    background: var(--contrast-color);
    position: absolute;
    top: 100%;
    left: 0;
}

.section-title h2::after {
    content: '';
    height: 4px;
    width: 25px;
    position: absolute;
    top: 100%;
   background: var(--contrast-color);
    left: 0;
    margin-top: 8px;
}


 /*btns*/
.btn {
  border-radius:16px;
  width: 50px;
  height: 50px;
  display: flex;
  outline: none;
  margin: 5px;
  justify-content: center;
  align-items: center;
  color: rebeccapurple;
  box-shadow: var(--shadow-outer);
  transition: background 700ms ease, box-shadow 700ms ease!important;
}

.btn:hover,
.btn:focus {
  box-shadow: var(--shadow-inner);
  transition: box-shadow 700ms ease;
}

.btn i {
  color: var(--font-color);
  cursor: pointer;
  font-size: 36px;
}
.btn i:hover{
  color: var(--contrast-color);
}

.btn-1{
 border-radius:10px;
  padding: 14px 32px;
  display: flex;
  font-size: 18px;
  font-weight: 400;
  outline: none;
  margin: 5px;
  justify-content: center;
  align-items: center;
  color: var(--font-color);
  box-shadow: var(--shadow-outer);
  transition: background 700ms ease, box-shadow 700ms ease!important;
}
.btn-1:hover{
  box-shadow: var(--shadow-inner);
  color: var(--contrast-color);
}
 
.hover1:hover {
  transform: translateY(-5%);
}
 
.overlay{
   position: fixed;
   top: 0;
   left: 0;
   height: 100%;
   width: 100%;
   z-index: 99;
   visibility: hidden;
   background-color:var(--contrast-color);
 }

 .overlay.active{
   visibility: visible;
   position: fixed;
   display: flex;
   flex-direction: column-reverse;
 }
 .overlay-effect{
   height: 10vh;
   background-color:black;
   transition: all .5s ease-in-out;
 }

 .overlay-effect:nth-child(even){
   transform: translateX(100%);
 }
 .overlay-effect:nth-child(odd){
  transform: translateX(-100%);
}
.overlay.active .overlay-effect{
  transform: translateX(0%);
}

.overlay-effect:nth-child(2){
  transition-delay: 0.05s;
}
.overlay-effect:nth-child(3){
  transition-delay: 0.10s;
}
.overlay-effect:nth-child(3){
  transition-delay: 0.15s;
}
.overlay-effect:nth-child(4){
  transition-delay: 0.20s;
}
.overlay-effect:nth-child(5){
  transition-delay: 0.25s;
}
.overlay-effect:nth-child(6){
  transition-delay: 0.30s;
}
.overlay-effect:nth-child(7){
  transition-delay: 0.35s;
}
.overlay-effect:nth-child(8){
  transition-delay: 0.40s;
}
.overlay-effect:nth-child(9){
  transition-delay: 0.45s;
}


.bg-animations{
  position: absolute;
  width: 100%;
  z-index: -100;
  height: 100vh;
  top: 0; 
  left: 0;
  z-index:;
  position: fixed;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
 }

.bg-animations div{
  background-color:var(--contrast-color);
  opacity: .3;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-left: calc((100% - 40px) / 11);
 }
 .bg-animations div:nth-child(even){
   animation: eventItem 5s linear infinite;
 }
 .bg-animations div:nth-child(odd){
   animation: oddtItem 5s linear infinite;
 }
 @keyFrames eventItem{
    0%{
      transform: translateY(0vh);
    }
   100%{
      transform: translateY(12.5vh);
    }
 }
  @keyFrames oddtItem{
    0%{
      transform: translateY(0vh);
    }
   100%{
      transform: translateY(-12.3vh);
    }
 }

/*header*/
.header{
    padding: 24px 0px 0px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
   }
   .logo{
    z-index: 100;
    width: 50px; 
    z-index: 0;
    top: 20px;
    align-self: flex-start;
    position: absolute;
    left:45px;
   }
   .effect{
  z-index: -1;
  position:absolute;top: 0px;
}
.effect-1{
 position: absolute;
background: var(--contrast-color); 
 clip-path: circle(68.6% at 20% 11%);
 left: 0px;
 top: 0px;
  height: 150px;
  width: 150px;
}
.header .nav-toggler{
   width: 45px;
   height: 45px;
   box-shadow: var(--shadow-outer);
   background: transparent;
   border: none;
   position: fixed;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 110;
}
.header .nav-toggler  span{
height: 2px;
width: 30px;
background: var(--contrast-color);
position: relative;

}
.header .nav-toggler  span::before,
.header .nav-toggler  span::after{
  content: '';
  position: absolute;
  top: 0;
  height: 2px;
  width: 50%;
  background: var(--contrast-color);
  transition: all .3s ease ;
} 
.header .nav-toggler:hover  span::before,
.header .nav-toggler:hover  span::after{
  width: 100%;
}
 .nav-toggler.active{
  box-shadow: none;
  border: 1px solid var(--contrast-color);
 }
 .nav-toggler.active span{
  box-shadow: none;
   background: transparent;
}

.header .nav-toggler.active  span::before{
  width: 100%;
  transform: rotate(45deg);
}
.header .nav-toggler.active  span::after{
  width: 100%;
  transform: rotate(-45deg);
}
.header .nav-toggler.active  span::before,
.header .nav-toggler.active  span::after{
  
}
.header .nav-toggler  span::before{
  left: 0;
  transform: translateY(-8px);
}

.header .nav-toggler  span::after{
  right: 0;
  transform: translateY(8px);
}
.nav{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  z-index: 100;
  }
.nav .nav-inner{
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: scale(0); 
  opacity: 0;
  align-items: center;
  transition: all .5s ease;
  transition-delay: .5s;
}
.nav .nav-item{
  font-size: 36px;
  text-transform: capitalize;
  padding: 8px;
  margin-bottom: 22px;
  font-weight: 400;
  width: 250px;
  color: #ffff;
  display: block;
  border: 1px solid var(--contrast-color);
  transition: all .4s ease;
}
.nav .nav-item:hover {
 color: var(--contrast-color);
 padding-left: 45px;
}
.nav .nav-item.active{
  color: var(--contrast-color);
}
.nav.show .nav-inner{
  transform: scale(1.0);
  opacity: 1;
}
.nav.show {
  visibility: visible;
}

 /*hero section */
.home{
  min-height: 100vh;
  width: 100%;
  display: flex;
  padding: 0px;
  margin-bottom: 0px;
}
.home .inner-page{
 display: flex;
 justify-content: space-between;
 height: 100vh;  
   
}
.home-info{
  max-width: 50%;
  display: flex;
  position: relative;
  align-items: center;
  padding-left: 30px;
}
.home-img{
  max-width: 50%;
  overflow: hidden;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
   
}
.home-img .round{
  position: absolute;
  right: 0px;
  border-radius: 100%;
  width: 200%;
  height: 200%;
  border-right: 10px solid var(--contrast-color);
  z-index: -1;
}

.home-img img{
 width: 100%; 
}



.text p{
  display: inline-block;
  vertical-align: top;
  
}
.text .name{
  font-size: 56px;
  margin-right: 20px;
 
}
 .home-info h2{ 
display: none; }
.word {
  position: absolute;
  font-size: 56px;
  opacity: 0;
  font-weight: 600;
  color: var(--contrast-color);
}

.letter {
  display: inline-block;
  position: relative;
  float: left;
  transform: translateZ(25px);
  transform-origin: 50% 50% 25px;
}

.letter.out {
  transform: rotateX(90deg);
  transition: transform 0.32s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.letter.behind {
  transform: rotateX(-90deg);
}

.letter.in {
  letter-spacing: 3px;
  transform: rotateX(0deg);
  transition: transform 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

 .home .home-text{
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 18px;
    font-weight: 200;
    color: var(--font-color);
    opacity: ;
}

.home .cta .btn-1{
  margin-top: 18px;
  padding: 12px 38px;
 display: inline-block;
}

.social-icons {
  display: flex;
  position: absolute;
  bottom: 10px;
  right: 0px;
}
.social-icons .btn{
 margin-left: 10px;
}



/*about*/

.about .about-img{
  max-width: 35%;
  box-shadow: var(--shadow-outer);
}
.about .about-img img{
 box-shadow: var(--shadow-inner);
}
.about .content{
  max-width: 65%;
  padding-left: 36px;
}
.about .content h3{
  font-size: 22px;
  color: var(--contrast-color);
}
.about .content p{
  font-size: 18px;
  padding: 16px 0px;
}
.about .content .info-1{
  width: 50%;
}
.about .content .info-1 ul li{
  margin-bottom: 8px;
}
.about .content .info-1 ul li i{
  color: var(--contrast-color);
  font-weight: 300;
}
.about .content .info-1 ul li strong{
  font-size: 18px;
  font-weight: 400;
}
.about .content .cta{
  display: flex;
  margin-top: 24px;
}
.about .content .cta .btn-1:nth-child(2){
   margin-left: 24px;
}
/* Services Section */
.service{
  justify-content: space-between;
}

.service .container {
    padding-bottom: 40px;
}

.service .service-item {
    max-width: 30%;
    margin-bottom: 40px;
   cursor: pointer;
    display: flex;
}

.service .service-item .service-item-inner {
    background-color: var(--color-primary);
    padding: 15px;
    box-shadow: var(--shadow-outer);
    border-radius: 10px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.service .service-item .service-item-inner:hover {
   box-shadow: var(--shadow-inner);
}

.service .service-item .service-item-inner .icon {
    height: 60px;
    width: 60px;
    display: block;
    margin: 0 auto 30px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.service .service-item .service-item-inner .icon .fa {
    font-size: 40px;
    line-height: 60px;
    color: var(--contrast-color);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.service .service-item .service-item-inner:hover .icon .fa {
    font-size: 25px;
   color: var(--contrast-color);

}

.service .service-item .service-item-inner h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color:var(--font-color);
    font-weight: 700;
    text-transform: capitalize;
}

.service .service-item .service-item-inner p {
    font-size: 16px;
    color: var(--font-color);
    line-height: 25px;
    margin: 0;
}



/* Timeline */
.timeline-box{
  justify-content: space-between;
}
.education,.experience{
  max-width: 48%;
}
.timeline {
  border-left: 2px solid var(--contrast-color);
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  box-shadow: var(--shadow-outer);  
  position: relative;
  padding: 50px;
  list-style: none;
}
.timelin-title,.progress-title{
  font-size: 22px;
  font-weight: 400;
  text-transform: capitalize;
  margin-bottom: 26px;
  position: relative;
}
.timelin-title::after,.progress-title::after{
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 4px;
  border-radius: 5px;
  background: var(--contrast-color);
}
.line-title{
  font-size: 22px;
    font-weight: 400;
}
.line-text{
  font-size: 16px;
}
.timeline .event {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  padding-bottom: 16px;
  margin-bottom: 50px;
  position: relative;
}
.timeline .event:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;

}
.timeline .event:before,
.timeline .event:after {
  position: absolute;
  display: block;
  top: 0;
}
.timeline .event:before {
  left: -217.5px;
  color:var(--color-primary);
  min-width: 120px;
}
.timeline .event:after { 
  content: "";
  left: -50.85px;
  background: var(--contrast-color);
  height: 20px;
  width: 20px;
  top: 5px;
  -webkit-clip-path:polygon(0% 0%, 64% 0, 100% 50%, 71% 100%, 0% 100%);
 clip-path: polygon(0% 0%, 64% 0, 100% 50%, 71% 100%, 0% 100%);
}
.content-text span{
   padding: 16px 0px 8px 0px;
   font-size: 12px;
}

/*progress Bars*/
.progress-bars{
  justify-content: space-between;
}
.progress-container{
  width: 48%;
}
.progress-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 32px;
}
.progress-wrapper:nth-child(2){
  margin-top: 20px;
} 

.progress-bar {
    height: auto;
    border-radius: 0.55rem;
}

.progress {
    background: var(--color-primary);
    margin-bottom: 16px;
    box-shadow: var(--shadow-inner);
}
.progress-lg {
    height: 10px;
    border-radius: 10px;
}

.progress-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.progress-info .progress-label span {
    display: inline-block;
    font-size: 18px;
    color: var(--font-color);
    font-weight: 300;
}

.progress-info .progress-percentage {
    text-align: right;
    color: var(--font-color);
}

.progress-info .progress-percentage span {
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.progress-bar{
  background: var(--contrast-color);
  height: 8px;
  opacity: 1;
}




/* Portfolio Section */
.portfolio.container {
    padding-bottom: 40px;
}
.p-container{
    display: flex;
    flex-wrap: wrap;
 
}
.portfolio .portfolio-filter {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.portfolio .portfolio-filter button {
    border: none;
    margin-top: 100px;
    margin-bottom: 16px;
    background-color: transparent;
    font-size: 18px;
    font-weight: 400;
    z-index: 100;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 10px;
    box-shadow: var(--shadow-outer);
    text-transform: capitalize;
    margin: 0 10px;
    color: var(--font-color);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.portfolio .portfolio-filter button:hover{
  box-shadow: var(--shadow-inner);
  color: var(--contrast-color);
}

.portfolio .p-item {
    max-width: calc((100% - 60px) / 3);
    margin: 10px;
    animation: showItem 0.3s ease;
}

.portfolio .p-item.hide {
    display: none;
}

.portfolio .p-item.show {
    display: block;
    animation: showItem .6s ease;
}

@-webkit-keyframes showItem {
    0% {
        -webkit-transform: scale(0.3);
        transform: scale(0.3);
        opacity: 0;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes showItem {
    0% {
        -webkit-transform: scale(0.3);
        transform: scale(0.3);
        opacity: 0;
     }
     100% {
        -webkit-transform: scale(1);
        transform: scale(1);
         opacity: 1;
        
    }
}

.portfolio .p-item-inner {
    border-radius: px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.portfolio .p-item-inner .p-img img {
    width: 100%;
    display: block;
    transition: all .5s ease;
}
.portfolio .p-item-inner .p-img:hover img {
    width: 100%;
    transform: scale(1.1);
    display: block;
}

.portfolio .p-item .p-info {
   display: none;
}
.hidden {
    display: none !important;
}



/* popupbox */
.popupbox {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;  
    background:var(--color-primary);
    z-index: 1001;
    display: none;
    justify-content: center;
    overflow-y: auto;
     
}

.popupbox.open {
    display: -ms-flexbox;
    display: flex;
}
.popupbox .popupbox-content{
  width: 80vw;
  color: var(--font-color);
}
.popupbox .popupbox-content .p-img1{
     max-height:80vh;
    overflow-y: hidden;
    max-width: 100%;
}
.popupbox .popupbox-content img {
    height: auto;
    width: auto;
    max-height:100%;
    max-width: 100%;
    cursor: pointer;
    display: block;
    padding: 40px 0px 30px;
}

.popupbox .popupbox-content {
    position: relative; 
}

.popupbox.open .popupbox-content {
    animation: popupboxImage .5s ease;
}

@-webkit-keyframes popupboxImage {
    0% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes popupboxImage {
    0% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.popupbox .popupbox-content .popupbox-close {
    position: absolute;
    height: 40px;
    width: 40px;
    top: 0;
    right: 0;
    text-align: right;
    color: var(--font-color);
    line-height: 40px;
}

.popupbox .popupbox-content .popupbox-caption {
    position: absolute;
    }
.popupbox .popupbox-content .popupbox-caption .caption-text{
    background: ;
    display: block;
   }
.popupbox .popupbox-content .popupbox-caption .caption-counter{
    display: inline-block;
    top: 0px;
   margin-left: 92%;
    position: absolute;
    height: 40px;
    width: 40px;
    top: 0;
    right: 0;
    font-size: 16px;
    text-align: right;
    color: var(--font-color);
    line-height: 40px;
}
.popupbox .popupbox-controls .prev-item,
.popupbox .popupbox-controls .next-item {
    position: absolute;
    height: 40px;
    width: 40px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    top: 50%;
    margin-top: -20px;
    z-index: 110;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.popupbox .popupbox-controls .prev-item:hover,
.popupbox .popupbox-controls .next-item:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.popupbox .popupbox-controls .prev-item:active,
.popupbox .popupbox-controls .next-item:active {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.popupbox .popupbox-controls .prev-item {
    left: 30px;
}

.popupbox .popupbox-controls .next-item {
    right: 30px;
}

.popupbox .popupbox-controls .prev-item .fa,
.popupbox .popupbox-controls .next-item .fa {
    font-size: 32px;
    line-height: 40px;
}

.heading{
    font-size: 32px;
    font-weight: 400;
    padding: 16px 0px 10px 0px;
    position: relative;
    margin-bottom: 27px;
}
.heading::after{
    content: '';
    height: 2px;
    width: 100%;
    bottom: 0%;
    left: 0;
    position: absolute;
    background: var(--contrast-color);
}
.details{
    font-size: 16px;
    padding: ;
}

.ul-list{
     padding-top: 16px;
     margin-bottom: 50px;
}

 .ul-list span{
  font-size: 14px;
  margin-left: 6px;
}
 
/* Blog Section */

.blog .container {
    padding-bottom: 40px;
}

.blog .blog-item {
    max-width: calc((100% - 120px) / 3);
    margin: 20px;
      box-shadow: var(--shadow-outer);
}

.blog .blog-item-inner {
    border-radius: 10px;
    overflow: hidden;
}

.blog .blog-item-inner .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item-inner .blog-img img {
    width: 100%;
    display: block;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.blog .blog-item-inner:hover .blog-img img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.blog .blog-item-inner .blog-img .blog-date {
    position: absolute;
    padding: 4px 10px;
    border-radius: 5px;
    color: var(--font-color);
    font-size: 14px;
    font-weight: 600;
    left: 15px;
    bottom: 15px;
}

.blog .blog-item-inner .blog-info {
    padding: 30px 15px;
    background: var(--color-primary);
}

.blog .blog-item-inner .blog-info .blog-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--font-color);
    text-transform: capitalize;
    margin-bottom: 10px;
}

.blog .blog-item-inner .blog-info .blog-description {
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
    margin-bottom: 15px;
}

.blog .blog-item-inner .blog-info .blog-tags {
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
    text-transform: capitalize;
    font-size: 14px;
}

.blog .blog-item-inner .blog-info .blog-tags a {
    text-decoration: none;
    font-weight: 600;
}


/*
  14. Contact Us
  */
.flwr{
  flex-wrap: wrap;
}
.contact-form{
  width: 70%;
}
.input-width{
  width: 45%;
}
.input-width:nth-child(2){
  margin-left: 40px;
}
.input-width:nth-child(3),.input-width:nth-child(4){
  width: calc( 90% + 40px);
}

input,textarea{
  outline: none!important;
}
.form-control {
  width: 100%;
  margin-bottom: 26px;
  padding: 14px;
  box-shadow: var(--shadow-inner);
  border-radius: 10px;
   color:var(--font-color);
  background: var(--color-primary);
  font-size: 18px;
  border: none;
  outline: none!important;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.form-control:focus,.form-control:active {
  box-shadow: none;
  background: var(--color-primary);
  color:var(--font-color);
  border:1px solid var(--contrast-color);
  font-size: 18px;
  background: var(--color-primary);
  outline: none;
}


.contact-info {
  margin-bottom: 15px;
  display: flex;
  }

.contact-info i {
  font-size: 20px;
  margin: 10px 10px 0px 0px;
  color: var(--contrast-color);
}

.contact-info h5 {
  margin-top: 5px;
  font-size: 18px;
  font-weight: 400;
}

.contact-info p {
  font-size: 14px;
  margin-bottom: 0;
}
.icons{
  margin-top: 20px;
  display: flex;
}
/*
15. Footer Style
 */
footer {
  background: var(--color-primary);
  box-shadow: var(--shadow-inner);
  padding: 20px 0;
  margin-top: 36px;
}


.copyright {
  margin-top: 10px;
  float: right;
}

.copyright p {
  color: var(--font-color);
  font-size: 16px;
}

.copyright p a {
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--contrast-color);
}

.copyright p a:hover {
  color: var(--font-color);
}

@media(max-width: 1170px) {
 .home-img .round{
  display: none;
 }

  .container{
    padding: 16px;
  }
.home-img{
  clip-path: none;
  background: var(--color-primary);
  max-width: 40%;
  overflow: visible;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
   
}
.home-img div{
  clip-path: none;
  margin-left: 30px;
   margin-top: 60px;
   border-radius: 50%;
   padding: 16px;
  box-shadow: var(--shadow-inner);
}
.home-img img{
  box-shadow: var(--shadow-outer);
 border-radius: 50%;
 max-width: 100%; 
}



}

@media(max-width: 991px) {
.home{
  min-height: 100vh;
  width: 100%;
  display: flex;
  padding: 0px;
  margin-bottom: 0px;
}
.home .inner-page{
 box-shadow: none;   
}

.home-info{
  order: 1;
  margin-top: 80px;
  max-width: 100%;
  padding: 60px;
}
.social-icons{
  display: none;
}
.home-img{
  order: 2;
   height: 70%;
   max-width: 100%;
}
.home-img div{
   width: 60%;
   border-radius: 50%;
 
}
.home-img img{
 max-width: 100%; 
}
.about-img{
  display: none;
}

.about .content{
  max-width: 100%;
  padding: 0px 0px 0px 22px;
}
.timeline-container{
 display: none;
}
.blog .blog-item {
    max-width: calc((100% - 120px) / 2);
     
}
.service .service-item, .portfolio .p-item {
        flex: 0 0 50%;
        margin: 0px;
        border: 10px solid transparent;
        -ms-flex: 0 0 50%;
        max-width: 50%;
    }
}
@media(max-width: 775px) {
.contact-form,.input-width,.input-width:nth-child(3),.input-width:nth-child(4){
  width: 100%;
}
.input-width:nth-child(2){
  margin-left: 0px;
}
.portfolio .portfolio-filter button{
  margin-bottom: 20px;
}
}
 

@media(max-width: 575px) {
     .container{
    padding: 16px;
  }
  p{
    font-size: 16px!important;
  }
  .home-info{
    text-align: center;
  padding: 0px;
}

.home-info p{
  font-size: 16px;
}

 .text{
 display: none;
 }
.home-info h2{ 
font-size: 36px;
display: block;
 }
.home-info span{ 
color: var(--contrast-color);
 }
.social-icons{
  display: none;
}
.home-img{
  order: 2;
   height: 100%;
   max-width: 100%;
}
.home-img div{
   width: 100%;
   margin-top: 50px;
   padding: 0px;
   margin-left: 0px;
   border-radius: 50%;
 
}
.about .content .cta{
 display: block;
}
.about .content .cta .btn-1:nth-child(2){
   margin-top: 24px;
   margin-left: 0px;
}
.education,.experience{
  width: 100%;
  background: aliceblue;
}
.input-width{
  width: 100%;
}
.input-width:nth-child(2){
  margin-left: 0px;
}
.input-width:nth-child(3),.input-width:nth-child(4){
  width: calc( 90% + 40px);
}
.blog .blog-item ,.input-width,.contact-form,.progress-container,.service .service-item, .portfolio .p-item {

        flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        max-width: 100%;
    }
}



