/* Google Font CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}


/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #6e93f7;
    border-radius: 12px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #4070f4;
}
/* navbar styling */
nav{
  position: fixed;
  width: 100%;
  padding: 20px 0;
  z-index: 998;
  transition: all 0.3s ease;
  font-family: 'Ubuntu', sans-serif;
}
nav.sticky{
  background: #4070f4;
  padding: 13px 0;
}
nav .navbar{
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
nav .navbar .logo a{
  font-weight: 500;
  font-size: 35px;
  color: #4070f4;
}
nav.sticky .navbar .logo a{
  color: #fff;
}
nav .navbar .menu{
  display: flex;
  position: relative;
}
nav .navbar .menu li{
  list-style: none;
  margin: 0 8px;
}
.navbar .menu a{
  font-size: 18px;
  font-weight: 500;
  color: #0E2431;
  padding: 6px 0;
  transition: all 0.4s ease;
}
.navbar .menu a:hover{
  color: #404cf4;
}
nav.sticky .menu a{
  color: #FFF;
}
nav.sticky .menu a:hover{
  color: #0E2431;
}
.navbar .media-icons a{
  color: #4070f4;
  font-size: 18px;
  margin: 0 6px;
}
nav.sticky .media-icons a{
  color: #FFF;
}

/* Side Navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn{
  position: absolute;
  color: #fff;
  right: 30px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}
nav .menu-btn{
  color: #4070f4;
}
nav.sticky .menu-btn{
  color: #FFF;
}
.navbar .menu .menu-btn{
  color: #fff;
}

/* home section styling */
.home{
  height: 100vh;
  width: 100%;
  background: url("Images/background-home.png") no-repeat;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Ubuntu', sans-serif;
}
.home .home-content{
  width: 90%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home .text-one{
  font-size: 25px;
  color: #0E2431;
}
.home .text-two{
  color: #0E2431;
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
}
.home .text-three{
  font-size: 40px;
  margin: 5px 0;
  color: #4070f4;
}
.home .text-four{
  font-size: 23px;
  margin: 5px 0;
  color: #0E2431;
}
.home .button{
  margin: 14px 0;
}
.home .button button{
  outline: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 25px;
  font-weight: 400;
  background: #4070f4;
  color: #fff;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}
.home .button button:hover{
  border-color: #4070f4;
  background-color: #fff;
  color: #4070f4;
}

/* About Section Styling */

section{
  background-color: #f9feff;
  padding-top: 30px;
}
section .content{
  width: 80%;
  margin: 40px auto;
  font-family: 'Poppins', sans-serif;
}
.about .about-details{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
section .title{
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
section .title span{
  color: #0E2431;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}
section .title span::before,
section .title span::after{
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: #f44040;
  left: 0;
  bottom: 0;
}
section .title span::after{
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}

/*EDUCATION----------------*/
section .edutitle{
  display: flex;
  justify-content:flex-start;
  margin-top: 10px;
  margin-bottom: 40px;
}
section .edutitle span{
  color: #0E2431;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}
section .edutitle span::before,
section .edutitle span::after{
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: #18f5e7;
  left: 0;
  bottom: 0;
}
section .edutitle span::after{
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}
.education img{
  height: 45px;
  width: 45px;
  object-fit:fill;
  border-radius: 0;
}
.edu{
  padding-left: 100px;
}
/*EDUCATION------------------*/
.about .about-details .left{
  width: 30%;
  margin-top: 10;
}
.pr-left img{
 object-position: top;
  
  height: 250px;
  width: 200px;
  border-radius: 40px;

}
.about-details .right{
  width: 55%;
}
section  .topic{
  color: #0E2431;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}
.about-details .right p{
  text-align: justify;
  color: #0E2431;
}
section .button{
  margin: 16px 0;
}
section .button button{
  margin: 15px 0 20px;
  outline: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 25px;
  font-weight: 400;
  background: #4070f4;
  color: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s ease;
}
section .button button:hover{
  border-color: #4070f4;
  background-color: #fff;
  color: #4070f4;
}

/* ADDED********************************************/

.tab-titles{
  display: flex;
  margin: 70px 0 25px;
  color: #18f5e7;
  }

.tab-titles :hover{
    color: #00d9ff;
  }
.tab-links{
  margin-right: 40px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}
.tab-links::after{
  content: '';
  width: 0;
  height: 3px;
  background: #00ff0d;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}
.tab-links.active-link::after{
  width: 50%;
}
.tab-contents ul li{
  list-style: square;
  margin: 10px 0;
}
.tab-contents ul li span{
  font-weight: 600;
  color:  #9700fc;
  font-size: 20px;
}
.tab-contents{
  display: none;
}
.tab-contents.active-tab{
  display: block;
}

 /* My Skills CSS */
 .skills{
  
  background: url("Images/bg2.png") no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  
 }
 .skills .content{
   padding: 40px 0;
 }
 .skills .skills-details{
   display: flex;
   justify-content: space-between;
   align-items:first baseline;
 }
 .skills-details .text{
   width: 50%;
 }
 .skills-details p{
   color: #0E2431;
   text-align: justify;
 }
.skills .skills-details .experience{
  display: flex;
  align-items: center;
  margin: 0 10px;
}
.skills-details .experience .num{
  color: #0E2431;
  font-size: 80px;
}
.skills-details .experience .exp{
  color: #0E2431;
  margin-left: 20px;
  font-size: 18px;
  font-weight: 500;
  margin: 0 6px;
}
.skills-details .boxes{
  width: 40%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.skills-details .box{
  width: calc(75% / 2 - 5px);
  margin: 20px 0;
}
.skills-details .boxes .topic{
  font-size: 20px;
  color: #0d3ec4;
}
.skills-details .boxes .per{
  font-size: 60px;
  color: #4070f4;
}
.skills-details .boxes .perpl{
  font-size: 22 px;
  color: #4070f4;
}

/* My Services CSS */
.projects .boxes{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.projects .boxes .box{
  margin: 20px 0;
  width: calc(100% / 3 - 20px);
  text-align: center;
  border-radius: 12px;
  padding: 30px 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
  cursor: default;
  transition: all 0.4s ease;
}
.projects .boxes .box:hover{
  background: #4070f4;
  color: #fff;
}
.projects .boxes .box .icon{
  height: 50px;
  width: 50px;
  background: #4070f4;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: #fff;
  margin: 0 auto 10px auto;
  transition: all 0.4s ease;
}
.boxes .box:hover .icon{
  background-color: #fff;
  color: #4070f4;
}
.projects .boxes .box:hover .topic,
.projects .boxes .box:hover p{
  color: #0E2431;
  transition: all 0.4s ease;
}
.projects .boxes .box:hover .topic,
.projects .boxes .box:hover p{
  color: #fff;
}
/* work*/

#works{
  
  background: url("Images/bg2.png") no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 75px 0;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  background-color: #F0F8FF;
}
div h1{
 
  font-size: 30px;
  text-align: center;
  color: #000000;
  

}
div h5{
  font-size: 22px;
  color: #e11545;
  font-weight: 800;
  margin-bottom: 5px;
}
div h6{
  font-size: 18px;
  color: #8abe8a;
  font-weight: 500;
  margin-bottom: 15px;
}
.tab-titles2{
  
  display: flex;
  text-align: center;
  margin: 70px 280px 40px;
  color: #000000;
  }

.tab-titles2 :hover{
    color: #00d9ff;
  }
.tab-links{
  margin-right: 40px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}
.container .tab-contents{
  margin-left: 200px;
}



a.work-link:link {color:#ff0000;}
a.work-link:visited {color:#0000ff;}
a.work-link:hover {color:#00ff00;
                   font-size:130%;}


/* Contact Me CSS */
.contact{
  background: #ffffff;
}

.contact-details{
  display: flex;
  align-items:center ;
  justify-content: space-around;
}

.icon{
  height: 40px;
  
}

.right{
  align-self: center;
  width: 55%;
}

 .right p{
  text-align: justify;
  color: #0E2431;
}
section  .topic{
  color: #0E2431;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}
.contact .right p{
  text-align: justify;
  color: #0E2431;
}
/* Footer CSS */
footer{
  background: #4070f4;
  padding: 15px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}
footer .text span{
  font-size: 17px;
  font-weight: 400;
  color: #fff;
}
footer .text span a{
  font-weight: 500;
  color: #FFF;
}
footer .text span a:hover{
  text-decoration: underline;
}
/* Scroll TO Top Button CSS */
.scroll-button a{
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fff;
  background: #4070f4;
  padding: 7px 12px;;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.15);
  display: none;
}

/* Responsive Media Query */
@media (max-width: 1190px) {
  section .content{
    width: 85%;
  }
}
@media (max-width: 1000px) {
  .about .about-details{
    justify-content: center;
    flex-direction: column;
  }
  .about .about-details .left{
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .about-details .right{
    width: 90%;
    margin: 40px 0;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }
 
}
@media (max-width: 900px) {
  .about .left img{
    height: 350px;
    width: 350px;
  }
 

  
}

@media (max-width: 750px) {
  nav .navbar{
    width: 40%;
  }
  nav .navbar .menu{
    position: fixed;
    left: -100%;
    top: 0;
    background: #0E2431;
    height: 100vh;
    max-width: 100px;
    width: 100%;
    padding-top: 60px;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
  }
  .navbar.active .menu{
    left: 0;
  }
  nav .navbar .menu a{
    font-size: 23px;
    display: block;
    color: #fff;
    margin: 10px 0;
  }
  nav.sticky .menu a:hover{
    color: #4070f4;
  }
  nav .navbar .media-icons{
    display: none;
  }
  nav .menu-btn,
  .navbar .menu .cancel-btn{
    display: block;
  }
  .home .text-two{
    font-size: 65px;
  }
  .home .text-three{
    font-size: 35px;
  }
  .skills .skills-details{
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .skills-details .text{
    width: 100%;
    margin-bottom: 50px;
  }
  .skills-details .boxes{
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: 100%;
  }
  .contact .text{
    width: 100%;
}

}

@media (max-width: 600px){
  .home{
    background: url("Images/bg-phone.png");
    
    object-fit: cover;
    object-position: right;
   

    }
    .home .text-two{
      color: #b7fcf3;
      font-size: 75px;
      font-weight: 600;
      margin-left: -3px;
    }

    .tab-links{
      margin-right: 20px;
      font-size: 12px;
      font-weight: 300;
      cursor: pointer;
      position: relative;
    }
    .tab-links::after{
      content: '';
      width: 0;
      height: 3px;
      background: #00ff0d;
      position: absolute;
      left: 0;
      bottom: -8px;
      transition: 0.5s;
    }
    .tab-links.active-link::after{
      width: 50%;
    }
    .tab-contents ul li{
      list-style: square;
      margin: 10px 0;
    }
    .tab-contents ul li span{
      font-weight: 600;
      color:  #9700fc;
      font-size: 20px;
    }
    .tab-contents{
      display: none;
    }
    .tab-contents.active-tab{
      display: block;
    }
    
    .tab-titles2{
  
      display: flex;
      text-align: center;
      margin: 5px 10px 10px;
      color: #000000;
      font-weight: 700;
      }
    .container .tab-contents{
      margin-left: 5px;
    }
    

}

@media (max-width: 500px){
  .home .text-two{
    font-size: 55px;
  }
  .home .text-three{
    font-size: 33px;
  }
  .skills-details .boxes .per{
    font-size: 50px;
    color: #4070f4;
  }
  
}
