@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;600;800;900&family=Poppins:wght@300;400;500;600&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #2a2a2a;
    --second-bg-color: #202020;
    --text-color: #fff;
    --second-color: #ccc;
    --main-color: #05b4ff;
    --big-font: 5rem;
    --h2-font: 3rem;
    --p-font: 1.1rem;
}

body {
    background: var(--text-color);
    color: var(--bg-color);
}
.wrapper{
    margin: 0 auto;
    width:80%;
    max-width: 1450px;
}
header {
    position: fixed;
    width: 100%;
    height: 90px;
    top: 0;
    right: 0;
    left:0;
    z-index: 99;
   
    transition: all .45s ease;
    background:var(--text-color);
    
}
.headborder{
    background-color: #05b4ff;
    width:90%;
    height: 3px;
    margin-left: 80px;
}
header .wrapper{
    display: flex;
    align-items: center;
    justify-content:space-between;
    height: 90px;
}

.logo {
    color: var(--bg-color);
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 1px;
}

span {
    color: var(--main-color);
}

.navlist {
    display: flex;
  
}
.navlist{
    transition: all 1s ease-in-out;
}
.navlist i{
    display: none;

}

.navlist a {
    color: var(--second-color);
    font-size: 18px;
    font-weight: 600;
    margin: 0 25px;
    transition: all .45s ease;
}

.navlist a:hover {
    color: var(--main-color);
}

.navlist a.active {
    color: var(--main-color);
}

#menu-icon {
    font-size: 35px;
    color: var(--bg-color);
    z-index: 1000;
    cursor: pointer;
    margin-left: 25px;
    display: none;
}



.home {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.home-hr{
    width:94px;
    height: 6px;
    background: var(--second-color);
    border: none;
  
    position: absolute;
    top:180px;
    left:155px;
}

.home-hr1{
    width:6px;
    height: 90px;
    background: var(--second-color);
    border: none;
 
    position: absolute;
    top: 180px;
}
.home-text{
    margin-left: 45px;
    margin-top: 70px;
}
.home .wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.slide {
    margin-bottom: 20px;
    margin-top: 60px;
}



.two-1 {
    display: inline-block;
    color: var(--second-bg-color);
    font-size: 35px;
    font-weight: 600;
    text-transform: capitalize;
    margin-top: 20px;
}
.two-2 {
    display: inline-block;
    color: var(--second-bg-color);
    font-size: 35px;
    font-weight: 600;
    text-transform: capitalize;
    
}
.home-text h1 {
    font-size: 43px;
    font-weight: 700;
    color:#404040;
    margin-top: -15px;
    margin-bottom: 15px;
    line-height: 1.1;

    
}
.home-text h1 .hello{
    margin-top: 20px;
   
}

.home-text h3 {
    color: var(--second-bg-color);
    margin: 0 0 35px;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
}
.home .myimg{
    background: #c0e4ff;
    width:298px;
    height: 280px;  
    border-radius: 50px;
    position:absolute;
    right:120px;
    top:270px;
}
.home .myimg .profimg{
   width:280px;
   display: block;
   border-radius: 15px;
   position: absolute;
   right:50px;
   top:-40px;
}
.home .myimg .profimg img{
    width:100%;
    border-radius: 45px;
 
}
.home-text p {
    color: var(--second-color);
    font-size:20px;
    line-height:30px;
    margin-bottom: 40px;
    width:600px;
}

.button {
    display: inline-block;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px;
    background: var(--main-color);
    border-radius: 10px;
    color: var(--bg-color);
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all .45s ease;
}

.btn:hover {
    transform: scale(0.9);
}
.about{
    margin-top: 60px;
    margin-bottom: 80px;
}
.about .wrapper{
 display: flex;
 align-items: center;
 justify-content:space-around;

}
.about-img{
    width: 360px;
    height: 350px;
    display: block;
    margin-left: -80px;
}
.about-img img {
    
    height:100%;
    width: 100%;
    border-radius: 25px;
    box-shadow: rgb(188, 232, 248) 0px 10px 22px -2px, rgba(155, 244, 250, 0.769) 0px 10px 20px -2px;
    transition:  all 1s ease-in-out;

}
.about-img img:hover{
    transform: scale(1.05);
}

.about-text h2 {
    font-size: var(--h2-font);
    line-height: 1;
    text-align:left;
}
.about-text {
    margin-left:-140px;
}

.about-text h4 {
    font-size: 24px;
    font-weight: 600;
    color:#1500ff;
    line-height: 1.7;
    margin: 15px 0 30px;

}
.about-text h4 b{
    color:var(--second-color);
}

.about-text p {
    color: var(--second-color);
    font-size: var(--p-font);
    font-family: 'poppins';
    line-height: 1.8;
    margin-bottom: 4rem;
    text-align: justify;
    text-justify: inter-word;
    
   
    width:650px;
    margin-right: -40px;
}
.about-text a{
    margin-top: -40px;
}
.skills {
    padding-top: 60px;
    padding-bottom: 60px;
}
.skills .wrapper h1{
    font-size: 45px;
    font-weight: 800;
    text-transform: capitalize;
    color: #000000;
    letter-spacing: 2px;
    margin-bottom: 40px;
   
} 

.skills .wrapper .myskills{
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    margin-left:20px;
    

}
.skills .wrapper .myskills .front{
    width:350px;
    margin-right: 40px;
    margin-top: 10px;
    position: relative;
}
.skills .wrapper .myskills .front .skill-front{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg,#e6f6ff,#e6e6e6);
    padding: 15px;
    border-radius:10px ;
}
.skills .wrapper .myskills .front .skill-front i{
    font-size: 30px;

  
}
.skills .wrapper .myskills .front .skill-front h3{
  font-size: 20px;
  font-weight: 600;
  text-transform: capitalize;
  color: #636363;
}
.skills .wrapper .myskills .front .skill-frontitem{
  padding: 20px;
  background:linear-gradient(180deg,#f8f7ff,#ffffff);
  margin-top: 5px;
  border-radius: 10px;
  box-shadow: rgb(87, 87, 87) 0px 5px 6px -2px, rgba(152, 152, 152, 0.769) 0px 3px 5px -2px;
  visibility: hidden;
  height: 0;
  transition:all 1s ease-in;
}

.skills .wrapper .myskills .front .skill-frontitem h3{
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 40px;
    opacity: 0;
    height: 0;
    transition:all 1s ease-in;
}

.skills .wrapper .myskills .front .skill-frontitem.active{
   transition:all 2s ease-in;
   
    visibility: visible;
    height: 300px;
  

}
.skills .wrapper .myskills .front .skill-frontitem.active h3{
    transition:all 2s ease-in;
    
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 40px;
    opacity: 1;
    height: 45px;
}



.skills .wrapper .myskills .front .skill-frontitem2{
    padding: 20px;
    background:linear-gradient(180deg,#f8f7ff,#ffffff);
    margin-top: 5px;
    border-radius: 10px;
    box-shadow: rgb(87, 87, 87) 0px 5px 6px -2px, rgba(152, 152, 152, 0.769) 0px 3px 5px -2px;
    visibility: hidden;
    height: 0;
    transition:all 1s ease-in;

  }
  
  .skills .wrapper .myskills .front .skill-frontitem2 h3{
      font-size: 20px;
      font-weight: 500;
      text-transform: uppercase;
      line-height: 40px;
      visibility: hidden;
      height: 0;
      transition:all 1s ease-in;
  }
  
.skills .wrapper .myskills .front .skill-frontitem2.active {
    transition: all 0.5s ease-in;
    visibility: visible;
    height: 158px;
}
  .skills .wrapper .myskills .front .skill-frontitem2.active h3{
      transition:all 1s ease-in;
      
      font-size: 20px;
      font-weight: 500;
      text-transform: uppercase;
      line-height: 40px;
      visibility: visible;
      height: 45px;
  }
  



  .skills .wrapper .myskills .front .skill-frontitem3{
    padding: 20px;
    background:linear-gradient(180deg,#f8f7ff,#ffffff);
    margin-top: 5px;
    border-radius: 10px;
    box-shadow: rgb(87, 87, 87) 0px 5px 6px -2px, rgba(152, 152, 152, 0.769) 0px 3px 5px -2px;
    visibility: hidden;
    height: 0;
    transition:all 1s ease-in;
  }
  
  .skills .wrapper .myskills .front .skill-frontitem3 h3{
      font-size: 20px;
      font-weight: 500;
      text-transform: uppercase;
      line-height: 40px;
     visibility: hidden;
      height: 0;
      transition:all 1s ease-in;
  }
  
  .skills .wrapper .myskills .front .skill-frontitem3.active{
    transition:all 0.5s ease-in;
     
      visibility: visible;
      height: 80px;
    
  
  }
  .skills .wrapper .myskills .front .skill-frontitem3.active h3{
      transition:all 1s ease-in;
      
      font-size: 20px;
      font-weight: 500;
      text-transform: uppercase;
      line-height: 40px;
     visibility: visible;
      height: 45px;
  }
  


  .skills .wrapper .myskills .front .skill-frontitem4{
    padding: 20px;
    background:linear-gradient(180deg,#f8f7ff,#ffffff);
    margin-top: 5px;
    border-radius: 10px;
    box-shadow: rgb(87, 87, 87) 0px 5px 6px -2px, rgba(152, 152, 152, 0.769) 0px 3px 5px -2px;
    visibility: hidden;
    height: 0;
    transition:all 1s ease-in;
  }
  
  .skills .wrapper .myskills .front .skill-frontitem4 h3{
      font-size: 20px;
      font-weight: 500;
      text-transform: uppercase;
      line-height: 40px;
     visibility: hidden;
      height: 0;
      transition:all 1s ease-in;
  }
  
  .skills .wrapper .myskills .front .skill-frontitem4.active{
     transition:all 0.5s ease-in;
     
      visibility: visible;
      height: 80px;
    
  
  }
  .skills .wrapper .myskills .front .skill-frontitem4.active h3{
      transition:all 1s ease-in;
      
      font-size: 20px;
      font-weight: 500;
      text-transform: uppercase;
      line-height: 40px;
      visibility: visible;
      height: 45px;
  }
  

.services {
    background: var(--second-bg-color);
    padding-top: 40px;
    padding-bottom: 80px;
}
.services .services-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.main-text {
    text-align: center;
}

.main-text p {
    color: var(--second-color);
    font-size: 15px;
    margin-bottom: 15px;
}

.main-text h2 {
    font-size: var(--h2-font);
    line-height: 1;
    color:var(--text-color);
}



.box {
    background:linear-gradient(90deg,#c6eaff,#eef9fd);
    padding: 20px;
    border-radius: 20px;
    transition: all .45s ease;
    width:300px;
    margin-right: 30px;
    margin-top: 50px;
   
}
.s-icons{
    background: #87ccf2;
    width: fit-content;
    border-radius: 12px;
    margin-bottom: 20px;
    margin: 0 auto;
}
.s-icons i {
    font-size: 30px;
    padding: 10px;

}

.box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--bg-color);
    margin-bottom: 15px;
    text-align: center;
    margin-top: 20px;
}



.box:hover {
    transform: translateY(-8px);
    cursor: pointer;
}


.portfolio{
    padding-top: 80px;
    padding-bottom: 60px;
}



.portfolio .wrapper .main-text h2{
  color:var(--bg-color);
}
.portfolio .wrapper .portfolio-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 70px;
}
.row {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    margin-right: 30px;
    margin-top: 30px;
    box-shadow: rgb(87, 87, 87) 0px 5px 6px -2px, rgba(152, 152, 152, 0.769) 0px 3px 5px -2px;
}
.row .proimg{
    width:350px;
    height: 240px;
    display: block;
    
}
.row img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
   
    transition: transform 0.5s;
}

.layer {
    width:355px;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.1), #00a6ff);
    position: absolute;
    border-radius: 8px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
    transition: height 0.5s;
}

.layer h5 {
    font-size:18px;
    font-weight: 700;
    margin-top: 24px;
    color:#ffffff;
    margin-bottom: 10px;
}

.layer p {
    color: #000000;
    font-size:16px;
    line-height: 1.3;
    font-weight: 600;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
   

}

.layer i {
    color: var(--main-color);
    margin-top: 15px;
    font-size: 18px;
    background: var(--text-color);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;

}

.row:hover img {
    transform: scale(1.05);

}

.row:hover .layer {
    height: 100%;
}
.contact{
    width:100%;
    padding-top: 150px;
    padding-bottom:90px;

}
.contact .wrapper {
   display: flex;
  
   justify-content: space-between;
}
.contact-text{
    width:50%;
    margin-top: -50px;
}

.contact-text h4 {
    color: var(--second-color);
    
    font-size: 20px;
    font-weight: 600;
    margin-top: 50px;
    margin-left: 20px;
}

.contact .wrapper .contact-text h2 {
    font-size: var(--h2-font);
    line-height: 1;
}



.list {
    margin-bottom: 2.8rem;
    margin-left: 20px;
    margin-top: 40px;

}

.list li {
    margin-bottom: 12px;
    margin-top: 40px;
    display: flex;
    align-items: center;

    
}
.list li i{
    font-size: 30px;
}

.list li a {
    display: block;
    color: var(--second-bg-color);
    font-size: 16px;
    transition: all .45s ease;
    margin-left: 20px;
}

.list li a:hover {
    color: var(--second-color);
    transform: translateY(5px);

}
.contact-icons{
    margin-left: 50px;
    margin-top: 60px;
}
.contact-icons a{
    margin-right: 30px;
}
.contact-icons i {
    font-size: 35px;
    color: var(--bg-color);

    display: inline-block;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-right: 15px;
    transition: all .45s ease;
    padding: 10px;
    background: #e4f6ff;
   
}

.contact-icons i:hover {

    color: var(--main-color);
}


.contact-form{
  width:50%;
  margin-left: -50px;
}

.contact-form form input,
form textarea {
    padding: 14px;
    background:#f0f0f0;
    color: var(--bg-color);
    border: none;
    outline: none;
    font-size: 19px;
    border-radius: 10px;
    margin-bottom: 10px;
    width:490px;
    box-shadow: rgb(87, 87, 87) 0px 5px 6px -2px, rgba(152, 152, 152, 0.769) 0px 3px 5px -2px;
}




.contact-form textarea {
    height: 170px;
}

.contact-form .submit {
   width:130px;
   margin-top: 20px;
   background: #c4eaff;
   font-size:20px ;
   font-weight: 600;
   padding: 10px;
}

.contact-form .submit:hover {
    transform: scale(1.1);
    cursor: pointer;
    background: #161870;
    color: var(--text-color);
}

.end {
    padding: 15px 0 15px 0;
    background: var(--bg-color);
}
.end .wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.last-text{
    display:flex;
    align-items: center;
}

.last-text p {
    color: var(--second-color);
    font-size: 18px;
    letter-spacing: 2px;

}
.last-text .coright{
    display: flex;
    align-items: center;
}
.last-text .coright i{
    font-size: 25px;
    color:white;
    margin-right: 10px;
}


.top i {
    padding: 10px;
    border-radius: 8px;
    font-size: 18px;
    color: var(--text-color);
    background: var(--main-color);
}
