/***Poppins Font***/
@import url('https://fonts.googleapis.com/css2?family=Coda:wght@800&family=IBM+Plex+Sans&family=Montserrat:wght@200;700&family=Noto+Sans+JP&family=Nunito&family=Poppins:ital,wght@0,200;0,400;1,300;1,400&family=Roboto&display=swap');

/*Global Variable*/
:root{
    --sideBgColor: #040b14;
    --themeColor: #00A78E;
    --iconBgColor: #2c2F3F;
    --textColor: #525252;
    --bgColor: #F7F7F7;
}
/**CSS reset**/
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}


body{
    width: 100%;
    font-family: 'poppins';
}
.container-fluid{
    width: 100%;
    background-color: var(--bgColor);
}

/*header*/
header{
    height: 100vh;
    width: 300px;
    padding: 15px 30px;
    background-color: var(--sideBgColor);
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: 0;
    transition: 0.4s all ease-in-out;
    z-index: 99;
    border-right: 5px solid var(--themeColor);
}
header .profile{
    text-align: center;
    margin: 10px 0;
}
header .profile img{
    width: 120px;
    border-radius: 50%;
    border: 8px solid var(--iconBgColor);
    margin-bottom: 15px;
}
header .profile h2{
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
header .profile .social-icons a{
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    background-color: var(--iconBgColor);
    color: #fff;
    font-size: 18px;
    margin: 1.5px;
    transition: 0.4s all ease-in-out;
}
header .profile .social-icons .facebook:hover{
    background-color: rgb(63, 63, 255);
}
header .profile .social-icons .linkedin:hover{
    background-color: rgb(0, 0, 255);
}
header .profile .social-icons .gmail:hover{
    background-color: rgb(255, 0, 0) ;
}
header .profile .social-icons .github:hover{
    background-color: black;
}
header .profile .social-icons .phone:hover{
    background-color: blue;
}

/*Nav bar*/
header nav{
    margin-top: 20px;
}
header nav ul li{
    list-style: none;
}
header nav ul li a{
    display: flex;
    text-decoration: none;
    padding: 7px 10px;
    margin: 2px 0;
    color: lightgray;
    font-size: 15px;
    letter-spacing: 0.6px;
}
header nav ul li a i{
    margin-right: 10px;
    font-size: 20px;
    transition: 0.4s all ease-in-out;
}
header nav ul li a:hover{
    color: lightgray;
}
header nav ul li a:hover i{
    color: var(--themeColor);
}
header nav ul li a.active i{
    color: var(--themeColor);
}


@media (max-width:500px) {
    header{
        width: 100px;
    }
    .profile h2{
        display: none;
    }
    header .profile img{
        width: 50px;
    }
    .social-icons{
        display: none;
    }
    nav ul li{
        margin-bottom: 50px;
    }
    nav ul li a p{
        display: none;
    }
    header .footer{
        display: none;
    }
}


/*footer*/
header .footer{
    text-align: center;
    background-color: var(--sideBgColor);
    color: lightgray;
    font-size: 14px;
    letter-spacing: 1px;
    transition: 0.4s all ease-in-out;
    margin-top: 20px;
    
}
.footer p a{
    color: var(--themeColor);
}

/*small screen Toggle bar*/
.hamburger{
    position: fixed;
    top: 25px;
    right: 25px;
    width: 28px;
    height: 25px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    z-index: 999;
    display: none;
}
.hamburger::after, .hamburger::before{
    content: "";
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: #fff;
    left: 0px;
    transition: .4s all ease-in-out;
}
.hamburger::after{
    top: 0;
}
.hamburger::before{
    bottom: 0;
}
.hamburger .bar{
    width: 28px;
    height: 3px;
    background-color: #fff;
    transition: .4s all ease-in-out;
}
.hamburger.active .bar{
    display: none;
}
.hamburger.active::after{
    transform: rotate(45deg) translate(9px, 9px);
}
.hamburger.active::before{
    transform: rotate(-45deg) translate(6px, -7px);
}
.hamburger.dark .bar{
    background-color: #000;
}
.hamburger.dark::after, .hamburger.dark::before{
    background-color: #000;
}
@media (max-width: 1200px) {
    header{
        transform: translate(-300px);
    }
    header.active{
        transform: translate(0);
    }
    header .footer{
        transform: translate(-300px);
    }
    header .footer{
        transform: translate(0);
    }
    .hamburger{
        display: block;
    }
}
.whatsapp-chat{
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 999;
}
.whatsapp-chat i{
    font-size: 35px;
    color: rgb(45, 255, 45);
}

/*-----------------------------------------*/

#home{
    width: 100%;
    height: 100vh;
    background-image: url("FILE/flat-lay-workstation-with-copy-space-laptop.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}
#home::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: -1;
}
#home .home-heading{
    padding-left: 50px;
}
#home .home-heading h1{
    color: #fff;
    font-size: 60px;
    letter-spacing: 1px;
    line-height: 60px;
    padding-bottom: 15px;
}
#home .home-heading h1 span{
    color: var(--themeColor);
}
#home .home-heading p{
    color: whitesmoke;
    font-size: 25px;
    font-weight: 500;
}
#home .home-heading p .profession{
    color: var(--themeColor);
    padding-left: 10px;
}
#home .home-heading button{
    padding: 10px 20px;
    border: 2px solid var(--themeColor);
    border-radius: 50px;
    background-color: transparent;
    color: #fff;
    margin-top: 25px;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}
#home .home-heading button::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--themeColor);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: .5s;
}
#home .home-heading button:hover::after{
    transform: scaleX(100%);
}
.slide{
    animation: slide 1s forwards linear;
    opacity: 0;
}
h1.slide{
    animation-delay: 1s;
}
p.slide{
    animation-delay: 2s;
}
button.slide{
    animation-delay: 3s;
}
@keyframes slide{
    0%{transform: translateX(-200px);
       opacity: 0;
    }
    100%{transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width:1200px) {
    #home .home-heading h1{
        font-size: 50px;
    }
}
@media (max-width:500px) {
    #home .home-heading h1{
        font-size: 40px;
    }
    #home button{
        padding: 8px 20px;
    }
}



/***default css start***/

.margin{
    margin-left: 300px;
}
.heading{
    font-size: 40px;
    position: relative;
    margin-bottom: 20px;
}
.heading::before{
    content: "";
    position: absolute;
    width: 30px;
    height: 4px;
    bottom: 0px;
    left: 0;
    background-color: var(--themeColor);
}
@media (max-width: 1200px) {
    .heading{
        margin-left: 0;
    }
}

/**default css end**/


/**============AboutMe Section===============**/
#about-me{
    width: 100%;
    height: 100vh;
    background-color: var(--bgColor);
    display: flex;
    flex-direction: column;
    padding: 70px 30px;
}
#about-me .heading::before{
    width: 110px;
}
#about-me p{
    font-size: 18px;
    opacity: .7;
}
.about-content{
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}
.profile-photo img{
    width: 180px;
}
.information{
    display: flex;
    align-items: center;
    gap: 30px;
}
.information ul li{
    list-style: none;
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 20px;
}
.information ul li span{
    opacity: .7;
}
.information ul li i{
    color: var(--themeColor);
    margin-right: 5px;
}
.information h2{
    font-size: 25px;
    color: var(--themeColor);
    margin-bottom: 8px;
}
@media (max-width:1200px) {
    #about-me{
        padding: 30px;
        height: min-content;
    }
    #about-me p{
        margin-left: 0;
        margin-bottom: 20px;
    }
    .about-content{
        margin-left: 0;
        display: flex;
        flex-direction: column;
    }
    .information{
        width: 90%;
        justify-content: space-between;
    }
}
@media (max-width:500px) {
    .about-content{
        align-items: center;
    }
    .information{
        flex-direction: column;
        align-items: start;
        gap: 0;
    }
}

/**==========Skill section===========**/

#skill{
    width: 100%;
    height: 100vh;
    background-color: var(--bgColor);
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
}
#skill .skill-progress{
    margin-top: 10px;
}
#skill .skill-progress .progress{
    margin-bottom: 25px;
    width: 100%;
}
.skill-progress h4{
    font-weight: 400;
    font-size: 20px;
    color: var(--textColor);
}
.skill-progress .progress #progress-bar{
    width: 90%;
    appearance: none;
    height: 20px;
    border-radius: 50px;
    overflow: hidden;
    outline: none;
    box-shadow: 0px 10px 15px rgba(0,0,0,0.25);
}
.skill-progress .progress #progress-bar::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    background-color: var(--themeColor);
    box-shadow: -90vw 0 0 90vw var(--themeColor);
}
@media (max-width:1200px) {
    #skill .skill-progress{
        margin: 0;
    }
}

/*=====portfolio section=====*/

#portfolio{
    padding: 20px 30px;
    width: 100%;
    height: min-content;
    overflow: hidden;
}
#portfolio .heading::before{
    width: 75px;
}
#portfolio p{
    font-size: 18px;
}
.projects{
    width: calc(100% - 300px);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}
.each-project{
    width: 32%;
    height: min-content;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}
.each-project img{
    width: 100%;
}
.each-project::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000000c5;
    opacity: 0;
    transition: .4s all ease-in-out;
    z-index: 0;
}
.each-project:hover::after{
    opacity: 1;
}
.each-project a{
    position: absolute;
    text-decoration: none;
    color: #fff;
    z-index: -1;
}
.each-project a i{
    color: var(--themeColor);
    margin-left: 5px;
    font-size: 18px;
}
.each-project:hover a{
    z-index: 1;
}
@media (max-width:1200px) {
    #portfolio p{
        margin-left: 0;
        margin-bottom: 20px;
    }
    .projects{
        width: 100%;
        margin: 0;
    }
    .each-project{
        width: 48%;
    }
}
@media (max-width:500px) {
    .each-project{
        width: 98%;
    }
}

/**====Contact section=====**/

#contact{
    width: 100%;
    height: 100vh;
    padding: 10px 30px;
    overflow: hidden;
}
#contact .heading::before{
    width: 80px;
}
.contact-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}
#contact .info-col{
    width: 45%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px;
}
#contact .info-col .contact-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 98%;
}
#contact .info-col .contact-box .contact-link{
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.contact-link a{
    color: var(--textColor);
}
.contact-link i{
    color: var(--themeColor);
    font-size: 18px;
    margin-right: 5px;
    border-radius: 50%;
    border: 1px solid var(--themeColor);
    padding: 6px;
}
.map i{
    color: var(--themeColor);
    font-size: 18px;
    padding: 6px 8px;
    border-radius: 50%;
    border: 1px solid var(--themeColor);
}
.map span{
    font-weight: 600;
}
.info-col .map iframe{
    width: 98%;
    height: 180px;
    border-radius: 12px;
    margin-top: 10px;
}
.form-col{
    width: 45%;
}
.form-col form{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
}
form input, textarea{
    width: 90%;
    height: 45px;
    border-radius: 5px;
    border: none;
    padding: 10px 12px;
    color: var(--textColor);
    font-size: 14px;
    outline: none;
    border: 1px solid var(--themeColor);
}
form input::placeholder, textarea::placeholder{
    color: var(--textColor);
    font-size: 14px;
    font-family: 'poppins';
}
form button{
    width: 90%;
    padding: 12px 25px;
    border: none;
    background-color: var(--themeColor);
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

@media (max-width:1200px) {
    #contact p{
        margin-left: 0px;
    }
    .contact-container{
        margin-left: 0px;
    }
    .contact-link a{
        font-size: 16px;
    }
    .contact-link strong{
        font-size: 14px;
    }
    .contact-link i, .map i{
        padding: 4px;
        font-size: 16px;
        margin: 0;
    }
    .map span{
        font-size: 14px;
    }
    .map iframe{
        height: 150px;
    }
}
@media (max-width:600px) {
    #contact{
        height: min-content;
    }
    .contact-container{
        flex-direction: column;
    }
    #contact .info-col{
        width: 90%;
    }
    #contact .form-col{
        width: 90%;
    }
    .form-col form{
        align-items: center;
    }
}