@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root{
    --bg-color: #feffff;
    --second-bg-color: #feffff;
    --text-color: #302c2c;
    --main-color: #EDC202;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
}
.section{
    min-height: 62.5%;
    overflow-x: hidden;   
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: #181717;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.header .sticky{
    border-bottom: 1rem solid rgba(0,0,0,.2);
}
.logo{
    font-size: 2.5rem;
    color:#fff;
    font-weight: 600;
    cursor: default;
}
.navbar a {
    font-size: 1.7rem;
    color:#fff;
    margin-left: 4rem;
    transition: .3s;
}
.navbar a:hover,
.navbar a.active{
    color: var(--main-color);
}
#menu-icon{
    font-size: 3.6rem;
    color: #fff;
    display: none;
}
.home{
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}
.home-img img{
    width: 350px;
    height: 380px;
    margin-top: 8rem;  
    margin-right: 1rem;  
    border: 2px #999999 solid;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
    border-radius: 10%;
    object-fit: cover;
}
.home-content{
    margin-left: 1rem;
    margin-top: 5rem;
}
.home-content h3{
    font-size: 3.2rem;
    font-weight: 700;
}
.home-content h3:nth-of-type(2){
    margin-bottom: 2rem;
}
span{
    color: var(--main-color)
}
.home-content h1{
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}
.home-content p{
    font-size: 1.6rem;
}
.social-meadia a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid #EDC202;
    border-radius: 50%;
    font-size: 2.2rem;
    color: #EDC202;
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
}
.social-meadia a:hover{
    background: #EDC202;
    color: #ffffff;
}
.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: linear-gradient(to right, #6b1b7a, #EDC202);
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--second-bg-color);
    letter-spacing: .1rem;
    font-weight: 55s0;
    transition: 2s ease;
}
.btn:hover{
    box-shadow: none;
}
.about{
    padding-top: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.about-content{
    margin-right: 1rem;
}
.about-img img{
    width: 350px;
    height: 380px;
    margin-left: 1rem;
    border:2px #999999 solid;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
    border-radius: 10%;
    object-fit: cover;  
}
.about .box-container .box p{
    color: #302a2a;
    text-transform: capitalize;
    font-size: 1.7rem;
}
.about .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0.5rem 0;
    border: .2rem #dddbdb solid;
    padding-left: .7rem;
    box-shadow: 0 .5rem 1rem rgb(109, 108, 108);
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    background: #EEE9FF;
}
.about  .box-container .box{
    flex: 1 1 20rem;
}
.about  .box-container .box span{
    color: #047a1e;
    text-transform: capitalize;
}

.heading{
    text-align: center;
    font-size: 4.5rem;
    padding-top: 4rem;
}
.about-content h2{
    text-align: left;
    line-height: 1.2;
}
.about-content h3{
    font-size: 2.6rem;
}
.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem ;
}

.skill .raw-2{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-left: 1rem;
}
.skill .raw-2 .skills{
    flex:1 1 40rem;
}
.skill .raw-2 .skills .progress{
    padding: 1rem 0;
} 
.skill .raw-2 .skills .progress h3{
    display: flex;
    justify-content: space-between;
    padding: .7rem 0;
    font-size: 1.7rem;
    color: #111;
    font-weight: 400;
    text-transform: capitalize;
}
.skill .raw-2 .skills .progress .bar{
    width: 100%;
    background: #757575;
    overflow: hidden;
    height: 1rem;
    border-radius: 1rem;
}
.skill .raw-2 .skills .progress .bar span{
    display: block;
    height: 100%;
    background: #EDC202;
}
.skill .raw-2 .skills .progress:nth-child(1) .bar span{
    width: 95%;
}
.skill .raw-2 .skills .progress:nth-child(2) .bar span{
    width: 80%;
}
.skill .raw-2 .skills .progress:nth-child(3) .bar span{
    width: 75%;
}
.skill .raw-2 .skills .progress:nth-child(4) .bar span{
    width: 85%;
}
.skill .raw-2 .box-container{
    flex: 1 1 40rem;
}
.skill .raw-2 .box-container{
    flex: 1 1 40rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.skill .raw-2 .box-container .box{
    flex: 1 1 15rem;
    background: #eff0fa;
    padding: 2rem;
    border-radius: .5rem;
    box-shadow: 0 .5 1rem rgba(0, 0, 0, 0.4);
}
.skill .raw-2 .box-container .box h3{
    color: #EDC202;
    font-size: 3rem;
}
.skill .raw-2 .box-container .box p{
    color: #666;
    font-size: 1.7rem;
    text-transform: capitalize;
}
.services h2{
    margin-bottom: 5rem;
}
.services-container{
    display: flex;    
    justify-content: center;
    align-items: center;    
    flex-wrap: wrap;
    gap: 2rem;
    margin-left: 1rem;
    margin-right: 1rem;
}
.services-container .services-box {
    flex: 1 1 20rem;
    background: #eff0fa;
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
    transition: .5s ease;
}
.services-container .services-box:hover{
    border-color: var(--main-color);
    transform: scale(1.02);
}
.services-box i{
    font-size: 7rem;
    color: var(--main-color);
}
.services-box h3{
    font-size: 2.6rem;
}
.services-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}
.portfolio{
    background: var(--second-bg-color);
}
.portfolio h2{
    margin-top: 5rem;
    margin-bottom: 5rem;
}
.portfolio-container{
    margin-top: 4rem;
    margin-right: 2rem;
    margin-left: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem;
}
.portfolio-container .portfolio-box{
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex;
}
.portfolio-box img{
    width: 100%;
    transition: 2s ease;
}
.portfolio-box:hover img{
    transform: scale(1.1);
}
.portfolio-box .portfolio-layer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.1), var(--main-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: .2s ease;
}
.portfolio-box:hover .portfolio-layer{
    transform: translateY(0);
}
.portfolio-layer{
    font-size: 3rem;
}
.portfolio-layer p{
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}
.portfolio-layer a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--text-color);
    border-radius: 50%;
}
.portfolio-layer a i {
    font-size: 1.6rem;
    color: var(--second-bg-color)
}
.contact h2{
    margin-top: 4rem;
    margin-bottom: 3rem;
}
.contact form{
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}
.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: #eee9ff;
    border-radius: .8rem;
    margin: .7rem 0;
}
.contact form .input-box input{
    width: 49%;
}
.contact form textarea{
    resize: none;
}
.contact form .btn{
    margin-top: 2rem;
    cursor: pointer;
}
.footer-container{
    max-width: 100%;
    bottom: 0;
    margin: auto;
    background: linear-gradient(to right, #00072b, #2d0b00);
    padding: 35px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 20px;
}
.col-1{
    width: 25%;
    padding: 0 15px;
}
.col-2{
    width: 25%;
    padding: 0 15px;
}
.col-3{
    width: 25%;
    padding: 0 15px;
}
.cont ul{
    list-style: none;
    margin-top: 10px;
}
.cont ul li a{
    font-size: 12px;
    text-decoration: none;
    color: #bbbbbb;
}
.footer-container h4{
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 500;
    position: relative;
}
.footer-container h4::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background: #626362;
    height: 2px;
    box-sizing: border-box;
    width: 55px;
}
.col ul{
    list-style: none;
}
.col ul li a{
    font-size: 14px;
    text-decoration: none;
    color: #bbbbbb;
    display: block;
    transition: all .3s ease;
}
.col ul li a:hover{
    color: #bbbbbb;
    padding-left: 6px;
}
.footer-container .social-meadia1 a{
    display: inline-block;
    height: 40px;
    width: 40px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10 0px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #fff;
    transition: all .5s ease;
    font-size: 2rem;
}
.footer-container .social-meadia1 a:hover{
    color: #24262b;
    background: #bbbbbb;
}
.copyright{
    width: 100%;
    border: 0;
    background: linear-gradient(to right, #00072b, #2d0b00);    
}
.copyright p{
    text-align: center;
    color: #bbbbbb;
    font-size: 12px;
}

        /*Meadia Quary for screen*/

    @media (max-width: 1200px){
        html{
            font-size: 55%;
        }
    }
    @media (max-width: 991px){
        .header{
            padding: 2rem 3%;
        }
        section{
            padding: 10rem 3% 2rem;
        }
        .services{
            padding-bottom: 7rem;
        }
        .portfolio{
            padding-bottom: 7rem;
        }
        .contact{
            min-height: auto;
        }
        .col-1{
            width: 20%;
        }
        .col-2{
            width: 30%;
        }
        .col-3{
            width: 30%;
        }
    }
    @media (max-width:768px){
        #menu-icon{
            display: block;
        }
        .navbar{
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            padding: 1rem 3%;
            background: #181717;
            border-top: 1rem solid rgba(0,0,0,.2);
            box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
            display: none;
        }
        .navbar.active{
            display: block;
        }
        .navbar a{
            display: block;
            font-size: 2rem;
            margin: 3rem 0;
        }
        .home{
            flex-direction: column;
        }
        .home-content h3{
            font-size: 2.6rem;
        }
        .home-content h1{
            font-size: 5rem;
        }
        .home-img img{
            width: 40vw;
            margin-top: 4rem;
        }
        .about{
            flex-direction: column-reverse;
        }
        .about img{
            width: 40vw;
            margin-top: 4rem;
        }
        .services h2{
            margin-bottom: 3rem;
        }
        .services{
            padding-bottom: 7rem;
        }
        .portfolio h2{
            margin-bottom: 3rem;
        }
        .portfolio-container{
            grid-template-columns: repeat(2, 1fr);
        }
        .row{
            width: 100%;
            margin-bottom: 30px;
        }
        .footer-container{
            padding: 35px 0;
            display: flex;
        }
        .col-1{
            width: 50%;
        }
        .col-2{
            width: 50%;
            margin-bottom: 30px;
        }
        .col-3{
            width: 100%;
        }
        .footer-container .social-meadia1 a{
            display: inline-block;
            height: 35px;
            width: 35px;
            font-size: 20px
        }

    }

    @media (max-width: 617px){
        .home-img img, .about-img img{
            width: 250px;
            height: 280px;
        }
        .portfolio-container{
            grid-template-columns: 1fr;
        }
        .services{
            padding-bottom: 7rem;
        }
        .col-1{
            width: 50%;
        }
        .col-2{
            width: 50%;
            margin-bottom: 30px;
        }
        .col-3{
            width: 100%;
        }

    }
    @media (max-width: 450px){
        html{
            font-size: 50%;
        }
        .home-img img, .about-img img{
            width: 190px;
            height: 220px;
        }
        .contact form .input-box input{
            width: 100%;
        }
        .emailtxt{
            width: 100%;
        }
        .services{
            padding-bottom: 7rem;
        }
        .copyright p{
            font-size: 10px;
        }
        .footer-container .social-meadia1 a{
            display: inline-block;
            height: 30px;
            width: 30px;
            font-size: 20px
        }
        .col-1{
            width: 100%;
            margin-bottom: 30px;
        }
        .col-2{
            width: 100%;
            margin-bottom: 30px;
        }
        .col-3{
            width: 100%;
            margin-bottom: 30px;
        }

    }
    @media (max-width: 365px){
        
        .col-3{
            width: 100%;
            margin-bottom: 35px;
        }

    }
