/*Font Awesome Free Icon*/
@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
/*Google fonts*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Rubik:500,700,900&display=swap');
@import url('https://www.1001fonts.com/dr-sugiyama-font.html?text=N.F&size=106&page=3');

:root{
    --background-dark:#fef2ff;
   --background-light:#fdf9ff;
    --heading:#302e4d;
    --text:#504e70;
    --border-dark:#d4d4e3;
    --border-light:#e8dfec;
    --pink:#ec1839 ;
}

/* Preloader */
@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);
    }
}
.preloader {
    background-color: transparent;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 150;
    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: 40px;
    width: 40px;
    border: 4px solid var(--heading);
    border-radius: 50%;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    animation: spin 2s linear infinite;
    -webkit-animation: spin 2s linear infinite;
}



/*---------------------
global css
---------------------*/
body{
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
    background-color: var(--background-dark);
    line-height: 1.5;
}
*{
    margin: 0;
    padding: 0;
    outline: none !important;
}
.btn {
    font-size: 16px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    padding: 10px ;
    border-radius: 40px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    border: var(--background-dark) 1px solid;
    cursor: pointer;
}

.btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}
/*--------------------
navbar
---------------------*/
.navbar{
    background-color: var(--background-light);
    padding: 0px;  
}
.navbar .navbar-brand{
    width: 95px;
    padding-left: 5%;
    height: auto;
    max-width: 100%;
}
.navbar .nav-item{ margin-left: 30px;}
.navbar .nav-item .nav-link{
color: var(--heading);
text-transform: capitalize;
font-size: 16px;
font-weight: 400;
padding: 5px 0;
position: relative;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.navbar .nav-item .nav-link:hover{ color: var(--pink); transform: scale(1.1); }

.navbar .nav-item .nav-link::before{
  
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 1px;
    background-color:var(--heading);
    transition: all 0.5s ease;
    transform: scale(0);}
.navbar .nav-item .nav-link:hover::before{

transform: scale(1);
background-color:var(--pink);}
.danger-custum{
    color: var(--pink);}
/* About Section */
.about .container{
    padding-top: 50px;
}

.about .about-content {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--heading);
}

.about .about-content .about-text p {
    font-size: 16px;
    line-height: 25px;
    color: var(--heading);;
    margin: 0;
}

.about .about-content .personal-info {
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
    margin-top: 40px;
}

.about .about-content .personal-info .info-item {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.about .about-content .personal-info .info-item p {
    font-weight: 600;
    padding: 10px 0;
    font-size: 16px;
    margin: 0;
    color: var(--heading);
    border-bottom: 1px solid var(--background-dark);
}

.about .about-content .personal-info .info-item p span {
    font-weight: 400;
    color: var(--text);
    margin-left: 4px;
    display: inline-block;
}

.about .about-content .personal-info .buttons {
    margin-top: 30px;
}

.about .about-content .personal-info .buttons .btn {
    margin-right: 15px;
    margin-top: 10px;
    
}

.about .about-content .skills {
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
    margin-top: 40px;
}

.about .about-content .skills .skill-item {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .skills .skill-item h5 {
    line-height: 40px;
    font-weight: 600;
    font-size: 16px;
    color: var(--heading);
    text-transform: capitalize;
    margin: 0;
}

.about .about-content .skills .skill-item {
    margin-bottom: 30px;
}

.about .about-content .skills .skill-item .progress {
    background-color: var(--background-light);
    height: 8px;
    border-radius: 4px;
    width: 100%;
    position: relative;
}

.about .about-content .skills .skill-item .progress .progress-in {
    position: absolute;
    left: 0;
    background-color: var(--pink);
    top: 0;
    height: 100%;
    border-radius: 4px;
}

.about .about-content .skills .skill-item .skill-porcent {
    line-height: 40px;
    position: absolute;
    right: 0;
    top: -40px;
    font-weight: 400;
    color: var(--heading);
}

/* Services Section */
.service .container-lg{
    padding-top: 40px;
}

.service .service-item {
    flex: 0 0 33.33%;
    -ms-flex: 0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 30px;
    display: flex;
    display: -ms-flexbox;
    
}

.service .service-item .service-item-inner {
    background-color: var(--background-light);
    border: 1px solid var(--border-dark);
    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 {
    -webkit-box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

.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 {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    font-size: 40px;
    line-height: 60px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    color: var(--pink);
}

.service .service-item .service-item-inner:hover .icon .fa {
    font-size: 25px;
    color: var(--background-light);
    height: 60px;
    width: 60px;
    background-color: var(--pink);
    display: block;
    margin: 0 auto 30px;
    text-align: center;
    border-radius: 50%;
   
    
}

.service .service-item .service-item-inner h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #302e4d;
    font-weight: 700;
    text-transform: capitalize;
}

.service .service-item .service-item-inner p {
    font-size: 16px;
    color: #504e70;
    line-height: 25px;
    margin: 0;
}

    /* Portfolio Section */

.portfolio  {
    padding-top: 100px;
}

.portfolio .portfolio-filter {
    flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.portfolio .portfolio-filter button {
    border: none;
    background-color: transparent;
    font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
    margin: 0 10px;
    color: #302e4d;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}
.portfolio .portfolio-filter button.active,
body.dark .portfolio .portfolio-filter button.active{
    color: var(--pink);
    border-color: var(--pink);
}

.portfolio  .portfolio-item {
    flex: 0 0 33.33%;
    -ms-flex: 0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 30px;
}

.portfolio   .portfolio-item.hide {
    display: none;
}

.portfolio  .portfolio-item.show {
    display: block;
    animation: showItem 0.5s ease; 
}

@keyframes showItem {
    0% {
        transform: scale(0.8);
        -webkit-transform: scale(0.8);
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

@-webkit-keyframes showItem {
    0% {
        transform: scale(0.8);
        -webkit-transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        opacity: 1;
    }
}

.portfolio  .portfolio-item-inner {
    border: 6px solid #fdf9ff;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.portfolio  .portfolio-item-inner .portfolio-img img {
    width: 100%;
    display: block;
}

.portfolio  .portfolio-item .portfolio-info {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    height: 100%;
    width: 100%;
    z-index: 1;
    padding: 30px;
    opacity: 0;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.portfolio  .portfolio-item-inner:hover .portfolio-info {
    opacity: 1;
}

.portfolio  .portfolio-item .portfolio-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-transform: capitalize;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transform: translate(-20px);
    -webkit-transform: translate(-20px);
    opacity: 0;
}

.portfolio  .portfolio-item-inner:hover .portfolio-info h4 {
    transform: translate(0px);
    -webkit-transform: translate(0px);
    opacity: 1;
}

.portfolio  .portfolio-item .portfolio-info .icon {
    height: 40px;
    width: 40px;
    background-color: #ffffff;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    right: 30px;
    bottom: 30px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transform: translate(20px);
    -webkit-transform: translate(20px);
    opacity: 0;
}

.portfolio  .portfolio-item-inner:hover .portfolio-info .icon {
    transform: translate(0px);
    -webkit-transform: translate(0px);
    opacity: 1;
}

.portfolio  .portfolio-item .portfolio-info .icon .fa {
    line-height: 40px;
}

/* testimonial Section */
.testimonials{
    padding-top: 70px;
}

/* Contact Section */
.contact{
    padding-top: 115px;
}

.contact .contact-info-item {
    flex: 0 0 33.33%;
    -ms-flex: 0 0 33.33%;
    max-width: 33.33%;
    text-align: center;
    margin-bottom: 40px;
}

.contact .contact-info-item .icon {
    display: inline-block;
}

.contact .contact-info-item .icon .fa {
    color: var(--pink);
    font-size: 40px;
}

.contact .contact-info-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #302e4d;
    text-transform: capitalize;
    margin: 15px 0 5px;
}

.contact .contact-info-item p {
    font-size: 16px;
    line-height: 25px;
    color: #504e70;
    margin: 0;
    font-weight: 400;
}

.contact .contact-form {
    flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    max-width: 100%;
}

.contact .contact-form .col-6 {
    flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    max-width: 50%;
}

.contact .contact-form .col-12 {
    flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    max-width: 100%;
}

.contact .contact-form .form-item {
    margin-bottom: 30px;
}

.contact .contact-form .form-item .form-control {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    border: 1px solid #d4d4e3;
    padding: 10px 25px;
    font-size: 16px;
    color: #504e70;
}

.contact .contact-form .form-item .form-control:focus {
    -webkit-box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.contact .contact-form .form-item textarea.form-control {
    height: 140px;
}




/*------------------
media
-----------------*/
@media(max-width: 991px) {


    .contact .contact-info-item,
    .service .service-item,
    .blog .blog-item,
    .portfolio  .portfolio-item {
        flex: 0 0 50%;
        -ms-flex: 0 0 50%;
        max-width: 50%;
    }
}

@media(max-width: 767px) {
  
    .about .about-content .personal-info,
    .contact .contact-form .col-6,
    .service .service-item,
    .blog .blog-item,
    .about .about-content .skills,
    .about .about-content .education,
    .about .about-content .experience {
        flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        max-width: 100%;
    }

    .portfolio .portfolio-filter button {
        margin-bottom: 10px;
    }
}

    @media(max-width: 575px) {
       
        .contact .contact-info-item,
        .portfolio  .portfolio-item {
            flex: 0 0 100%;
            -ms-flex: 0 0 100%;
            max-width: 100%;
        }
    }

