@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
     /* main theme color */
     --first-color:#0e2431;
     --second-color:#251199;
     /* --second-color:#6a59d1; */
     --third-color:#777;

     /* Hover colors */
     --hover-color:#614fd0;

     /* Background colors */
     --body-bg-color:#fefefe;
     --card-bg-color:#fff;
     --modal-bg-color:#fff;
     --bg-transparent-color:rgba(0,0,0,0.1);
     --transparent-color-01:rgba(0,0,0,0.1);
     --transparent-color-02:rgba(106,89,209,0.1);
     --line-color:#d7d7d7;
    /* color filter */
    --color-filter:invert(1);

    /*box shadow */
    --box-shadow:0px 0px 20px rgb(0 0 0/10%);
    /*font size */
    --small-font-size:0.9em;
    --normal-font-size:1em;

    /*scroll bar */
    --scroll-bar-color:#c5cadf;
    --scroll-thumb-color:#70768a;
    --scroll-thumb-hover-color:#454f6b;


}
/* dark theme style */

.dark-theme{
    /* main theme color */
    --first-color:white;
    --second-color:#251199;
    --third-color:#a9afc3;

    /* Background colors */
    --body-bg-color:#0e1b31;
    --card-bg-color:#132347;
    --modal-bg-color:#102048;
    --bg-transparent-color:rgba(255,255,255,0.1);
    --transparent-color-01:rgba(255,255,255,0.1);

    --line-color:#454f6b;
   /* color filter */
   --color-filter:invert(0);

   /*scroll bar */
   --scroll-bar-color:#c1ceff;
   --scroll-thumb-color:#282f4e;
   --scroll-thumb-hover-color:#454f6b;





}
/* section, footer{
    width: 1250px;
} */

/* Scroll bar colors */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; 
}
html{
    scroll-behavior: smooth;
    /* width: 1250px; */

}
body{
    color:var(--first-color);
    background: var(--body-bg-color);
    margin: 2rem 0 0 0;
    transition: .5s ease;
}
/* Important code code when total body move towards one side -------------------> */
html, body {
    width: auto!important; 
    overflow-x: hidden!important
} 
/* ----------------------------------> */
a{
    text-decoration: none;
}

/* scroll to top  */

.scrollToTop-btn{
    z-index: 999999;
    position: fixed;
    right: 0;
    bottom: 20px;
    width: 30px;
    height: 25px;
    background-color: var(--second-color);
    color: white;
    font-size: var(--small-font-size);
    border-radius: 3px;
    cursor: pointer;
    opacity: 0;
    transition: .5s ease;
}
.scrollToTop-btn.active{
    right: 20px;
    pointer-events: all;
    opacity: 1;

}
/* theme */

.theme-btn{
    z-index: 999999;
    position: fixed;
    right: 0;
    top: 100px;
    background: var(--transparent-color-01);
    backdrop-filter: blur(20px);
    display: flex;
    width: 30px;
    height: 30px;
    padding: 6px;
    font-size: 1.2em;
    border-radius: 5px 0 0 5px;
    box-shadow: var(--box-shadow);
    cursor: pointer;
}
.theme-btn .fa-sun, .theme-btn.sun .fa-moon{
    display: none;
}
.theme-btn.sun .fa-sun{
    display: block;
}


/* scroll bar 

--scroll-bar-color:#c1ceff;
--scroll-thumb-color:#282f4e;
--scroll-thumb-hover-color:#454f6b;

*/
/* ::-webkit-scrollbar{
    width: 10px;
    background-color: #251199;
    background: #c1ceff;
}

::-webkit-scrollbar-thumb{
    background: #282f4e;
    border-radius: 2rem;
}
::-webkit-scrollbar-thumb:hover{
    background:#454f6b;
} */

::-webkit-scrollbar{
    width: 10px;
    background-color: #251199;
    background: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb{
    background: var(--scroll-thumb-color);
    border-radius: 2rem;
}
::-webkit-scrollbar-thumb:hover{
    background: var(--scroll-thumb-hover-color);
}


ul{
    list-style: none;
}
h3{
    font-weight: bold;
}

/* header */
header{
    z-index: 999999;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(20px);
    transition: .6s ease;
    border-radius: 5px;

}
header .sticky{
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow);
}
.nav-bar{
    position: relative;
    height: calc(2rem + 1rem);
    max-width: 1250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    transition: .6 ease;
}

header .sticky .nav-bar{
    height: calc(2.5rem + 1rem);
}
.nav-bar .logo{
    color: var(--first-color);
    font-size: 2rem;
    font-weight: bold;
}
.nav-items a{
    color: var(--first-color);
    font-size: var(--normal-font-size);
    font-weight: 500;
}
.nav-items a.active{
    color: var(--second-color);
}
.nav-items a:not(:last-child){
    margin-right: 50px;
}
.nav-items a:hover{
    color: var(--second-color);
}
.nav-menu-btn{
    display: none;
}
/* home section */

.home{
    position: relative;
    /* width: 1250px; */
    width: 100%;
    /* min-height: 100vh; */
    margin-left: auto;
    margin-right: auto;
    /* padding: 4rem 2rem; */
    padding: 2rem 2rem;
    flex-direction: column;

}
.home .home-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

}
.home-container .media-icons{
    display: flex;
    flex-direction: column;
    margin-right: 40px;
}

.home-container .media-icons a{
    color: var(--second-color);
    font-size: 1.5rem;
    margin: 10px 0;
}

.home-container .media-icons a:hover{
    color: var(--hover-color);
}

.home-container .info h2{
    font-size: 4rem;
    font-weight: 600;
    line-height: 70px;  
}

.home-container .info h3{
    color: var(--third-color);
    font-feature-settings: 1.3rem;
    font-weight: 600;
    line-height: 50px;

}

.home-container .info p{
    color: var(--third-color);
    font-size: var(--normal-font-size);
    max-width: 350px;
}
.btn{
    background: var(--second-color);
    color: white;
    font-size: var(--normal-font-size);
    font-weight: 500;
    display: inline-block;
    margin-top: 25px;
    padding: 20px 30px;
    letter-spacing: 1px;
    border-radius: 10px;
}

.btn:hover{
    background:var(--hover-color);
}

.home-container .home-img{
    position: relative;   
}
.home-container .home-img img{
    width: 90%;
    transform: translate(0,0);
    border-radius: 50%;
}

.home .scroll-down{
    color: var(--first-color);
    font-size: var(--normal-font-size);
    font-weight: 500;
    margin-top: 50px;
}

.home  .scroll-down i{
    color: var(--second-color);
    font-size: 1.2rem;
    animation: arrow-down ease 2s infinite; 
}

@keyframes arrow-down{
    0%{
        transform: translateY(0);
    }
    30%{
        transform: translateY(10px);
    }
    
}

/* common styles for all sections */
.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.section{
    position: relative;
    /* max-width: 1150px; */
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 2rem 2rem;

}
.sub-section{
    position: relative;
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    padding: 6rem 0;

}
.section-title-01{
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(to top, transparent 0%, var(--first-color) 70%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    opacity: .1;
}

.section-title-02{
    font-size: 2.5rem;
    font-weight: 700;
    transform: translateY(-80px);
}
.section-title-02:before{
    content: '';
    position: absolute;
    width: 70px;
    height: 5px;
    right: 0;
    bottom: 0;
    background: var(--second-color);

}

.container{
    position: relative;
    flex-direction: column;
}

/* about section */
.about .container .content{
    column-gap: 40px;
    width: 100%;
}
.about-img{
    position: relative;
}
.about-img img{
    /* max-width: 100%; */
    width: 300px;
    border-radius: 20px;
}

.about-info .description{
    max-width: 600px;
}

.about-info .description h3{
    font-size: 2rem;
    font-weight: 600;
    margin-bottom :10px;

}
.about-info .description h4{
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.about-info .description h4 span{
    color: var(--second-color);

}
.about-info .description p{
    color: var(--third-color);
    font-size: var(--normal-font-size);
    margin-bottom: 15px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--line-color);
}
.about-info .professional-list{
    display: flex;
    column-gap: 40px;
    list-style: none;
}
.about-info .professional-list .list-item{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 15px;
    margin-bottom: 20px;
}
.about-info .professional-list .list-item h3{
    font-size: 2.5rem;
    font-weight: 700;
}
.about-info .professional-list .list-item span{
    color: var(--third-color);
    font-size: var(--small-font-size);
}
/* skills */
.skills .container .content{
    width: 100%;   

}

.skills-description{
    max-width: 700px;
    margin-bottom: 50px;
}

.skills-description h3{
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}
.skills-info{
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
    gap: 20px;
    margin: 0 auto;
}
.skills-info-2{
    max-width: 100%;
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(400px,1fr)); */
    gap: 20px;
    margin: 0 auto;
}
.skills-info h4{
    margin-bottom: 20px;
}

.skills-info h4 label,.skills-info-2 h4 label{
    background: var(--second-color);
    color: white;
    font-size: var(--normal-font-size);
    font-weight: 400;
    padding: 5px 15px;
    border-radius: 5px;
}

.education-all{
    margin-bottom: 80px;

}
.edu-list .item{
    background: var(--card-bg-color);
    box-shadow: var(--box-shadow);
    border-bottom: 3px solid var(--second-color);
    padding: 20px;
    margin-top: 15px;
    border-radius: 6px;
    transition: .3s ease; 
}
.edu-list .item .year{
    font-size: var(--small-font-size);
    margin-bottom: 5px;
}
.edu-list .item p{
    color: var(--third-color);
    font-size: var(--small-font-size);

}
.edu-list .item p span{
    color: var(--first-color);
    font-size: var(--normal-font-size);
    font-weight: 500;
}
/* .skills-info .certifications .certification-list{
    
    display: flex;
   
}
.skills-info .certifications .certification-list .item{
    margin-right: 20px;
    width: 500px;
    background: var(--card-bg-color);
    box-shadow: var(--box-shadow);
    border-bottom: 3px solid var(--second-color);
    padding: 20px;
    margin-top: 15px;
    border-radius: 6px;
    transition: .3s ease; 
} */

.bar{
    background: var(--card-bg-color);
    box-shadow: var(--box-shadow);
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 6px;
    transition: .3s ease;
}
.bar .info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: var(--small-font-size);
}

.bar .info span{
    font-weight: 500;
}
.bar .line{
    position: relative;
    width: 100%;
    height: 7px;
    background:#c5cadf;
    border-radius: 2px;
}
.bar .line:before{
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    height: 100%;
    background: var(--second-color);
    border-radius: 2px;

}
.bar .html:before{
    width: 90%;
}
.bar .css:before{
    width: 70%;
}
.bar .js:before{
    width: 50%;
}
.bar .angular:before{
    width: 80%;
}
.bar .java:before{
    width: 85%;
}
.bar .springboot:before{
    width: 70%;
}
.bar .python:before{
    width: 50%;
}

.experience-card{
    background: var(--card-bg-color);
    border-bottom:  3px solid var(--second-color);
    padding: 35px;
    border-radius: 6px;
    box-shadow: var(--box-shadow);
    transition: .3s ease;
}
.experience-card .upper{
    line-height: 30px;
}
.experience-card h3{
    font-size: 1.3rem;
    font-weight: 700;
}

.experience-card h5{
    font-size: var(--small-font-size);
    font-weight: 500;
    font-style: italic;
}

.experience-card span{
    color: var(--third-color);
}

.experience-card .hr{
    width: 100%;
    height: 2px;
    background-color: var(--line-color);
    margin: 10px 0 22px;
} 
.experience-card .res-heading{
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
    
}
.experience-card .responsibilities-section .role{
    font-weight: 600;
    color: var(--first-color);
}
.experience-card .responsibilities-section ul{
    margin: 0;
    list-style: disc;
    color: var(--third-color);
    text-align: justify;
    font-size: var(--small-font-size);
    
}

.edu-list .item:hover, .bar:hover, .experience-card:hover{
    transform: scale(1.03);
}
/* services  */

.services .container .content{
    width: 100%;
}

.service-description h3{
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 50px;
}
.service-list{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(225px,1fr));
    max-width: 100%;
    margin: 0 auto;
    gap: 20px;
}

.service-card{
    background: var(--card-bg-color);
    border-bottom: 3px solid var(--second-color);
    padding: 50px;
    border-radius: 6px;
    box-shadow: var(--box-shadow);

}
.service-card > i{
    color: var(--second-color);
    font-size: 3em;
    margin-bottom: 30px;
}
.service-card h3{
    font-size: 1.5em;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 20px;
}
.service-card .learn-more-btn{
    cursor: pointer;
    color: var(--second-color);
    transition: .3s ease;
}
.service-card .learn-more-btn i{
    transition: .3s ease;
}
.service-card:hover .learn-more-btn i{
    transform: translateX(10px);
}
.service-modal{
    z-index: 999999;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: var(--bg-transparent-color);
    backdrop-filter: blur(10px);
    visibility: hidden;
    opacity: 0;
    transition: .3s ease;
}
.service-modal.active{
    visibility: visible;
    opacity: 1;
}


.service-modal-body{
    position: relative;
    background: var(--modal-bg-color);
    max-width: 600px;
    margin: 20px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transform: translateY(-50px);
    transition: .5s ease;
}

.service-modal.active .service-modal-body{
    transform: translateY(0);

}
.service-modal-body .modal-close-btn{
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
    cursor: pointer;
}
.service-modal-body h3{
    font-size: 2em;
}
.service-modal-body h4{
    font-size: 1.3em;
    font-weight: 600;
    margin: 15px 0 10px;
}
.service-modal-body ul li{
    margin-top: 15px;
}
.service-modal-body ul li i{
    color: var(--second-color);
}

/* portfolio */

.portfolio .container .content{
    width: 100%;
}
.portfolio-ist{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
    margin: 0 auto;
}
.portfolio-ist .img-card{
    position: relative;
    max-width: 100%;
    height: 360px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    cursor: pointer;


}
.portfolio-ist .img-card .overlay{
    transition: 1s ease;
}
.portfolio-ist .img-card:hover .overlay{
    z-index: 777;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);

}
.portfolio-ist .img-card .info{
    z-index: 777;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 20px;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: .5s ease;
}
.portfolio-ist .img-card:hover .info{
    transform: translateY(0);
    opacity: 1;
}
.portfolio-ist .img-card .info h3{
    font-size: 1.5em;

}
.portfolio-ist .img-card .info span{
    font-size: 1.2em;
}
.portfolio-ist .img-card img{
    width: 100%;
    height: 100%;

}
.portfolio-model{
    z-index: 999999;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: var(--transparent-color-01);
    backdrop-filter: blur(20px);
    visibility: hidden;
    opacity: 0;
    transition: .3s ease;

}
.portfolio-model.active{
    visibility: visible;
    opacity: 1;
}
.portfolio-model-body{
    position: relative;
    background: var(--modal-bg-color);
    max-width: 600px;
    margin: 20px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transform: translateY(-50px);
    transition: .5s ease;
}
.portfolio-model.active .portfolio-model-body{
    transform: translateY(0);
}

.portfolio-close-btn{
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
    cursor: pointer ;
}
.portfolio-model-body h3{
    font-size: 1.5em;

}
.portfolio-model-body img{
    width: 100%;
    margin: 20px 0;
    border-radius: 10px;
}
footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--second-color);
    width: 100%;
    margin-top: 50px;
    padding: 3rem 2rem;
    color: white;

}
footer a{
    color: white;
}
.footer-container{
    display: flex;
    justify-content: space-between;
    width: 100%;
    /* max-width: 1150px; */

}
.footer-container .about h2{
    font-size: 3em;
    font-weight: 600;
    background:linear-gradient(to top,transparent 0%, white 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color:transparent;
    opacity: .8;
}
.footer-container .about p{
    font-size: var(--normal-font-size);
    font-weight: 300;
    margin-bottom: 30px;
}
.footer-container .info, .footer-container .follow{
    display: flex;
    align-items: center;
    flex-direction: column;

}

.footer-container .info h3, .footer-container .follow h3{
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 30px;

}
.footer-container .info ul, .footer-container .follow ul{
    display: flex;
}
.footer-container .info a{
    margin: 20px;
}
.footer-container .follow a{
    margin: 20px;
    font-size: 1.5em;
}
.footer-copyright p{
    font-size: var(--normal-font-size);
    font-weight: 300;
    margin-top: 50px;
}


@media screen and (max-width:1070px) {

    /* header nav bar */
    .navigation{
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--transparent-color-01);
        visibility: hidden;
        opacity: 0;
        transition: .3s ease;
    }
    .navigation.active{
        visibility: visible;
        opacity: 1;
    }
    .nav-items{
        position: relative;
        background: var(--modal-bg-color);
        width: 600px;
        max-width: 600px;
        display: flex;
        align-items: center;
        flex-direction: column;
        margin: 20px;
        padding: 40px;
        border-radius: 10px;
        box-shadow: var(--box-shadow);
        transform: translateY(-50px);
        transition: .3s ease;
    }
    .navigation.active .nav-items{
        transform: translateY(0);
    }

    .nav-items a{
        margin: 15px 50px;
    }
    .nav-close-btn{
        position: absolute;
        /* filter: var(--color-filter); */
        background: url(./menu-close.png)no-repeat;
        background-size: 12px;
        background-position: center;
        width: 40px;
        height:40px ;
        top: 0;
        right: 0;
        margin: 10px;
        cursor: pointer;

    }

    .nav-menu-btn{
        background: url(./menu.png)no-repeat;
        /* filter: var(--color-filter); */
        display: block;
        background-size: 30px;
        background-position: center;
        width: 40px;
        height: 40px;
        cursor: pointer;

    }
    .home .home-container .info{
        font-size: 0.85em;
    }
    .about .content{
        flex-direction: column;
        margin-top: 50px;
        /* font-size: 1.2em; */
    }
    .footer-container{
        flex-direction: column;
    }
    .footer-container .about{
        text-align: center;
    }
}

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