/*
    Template Name: Portfolio 1
    Author: Tanveer Ahmed

    Index
    ====
    00. Base
    01. Header
    02. Banner
    03. Achivement
    04. About
    05. Features
    06. About 2
    07. Services
    08. Skills
    09. Timelines
    10. Projects
    11. Prices
    12. Reviews
    13. Blogs
    14. Hire
    15. Contact
    16. Footer
*/

/* 01. Base */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #ff7a57;
    --primary-hover:#f25a33;
    --secondary: #6c757d;
    --white: #fff;
    --light-grey: #ddd;
    --light-grey2: #a4a4a4;
    --light-dark: #4a4a4a;
    --dark: #333;
    }

/* Universal Styles */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
ul{
    list-style: none;
    margin: 0;
}
a{
    text-decoration: none;
    transition: .3s ease-in-out;
}
img{
    max-width: 100%;
    vertical-align: middle;
    border-radius: 10px;
}
body{
    font-family: 'Poppins', sans-serif;
    line-height: 24px;
    font-weight: 400;
}
h1,h2,h3,h4,h5,h6,p{
    color: var(--light-dark);
}
.container{
    width: 1170px;
    margin: 0 auto;
}
.fix::before, .fix::after{
    content: "";
    display: table;
    clear: both;
}
.float-l{
    float: left;
}
.float-r{
    float: right;
}
.pt{
    padding-top: 80px;
}
.pb{
    padding-bottom: 80px;
}
.txt-cntr{
    text-align: center;
}
.btn{
    display: inline-block;
    padding: 5px 15px;
    line-height: 33px;
    border-radius: 20px;
    background-color: var(--primary);
    color: var(--white) !important;
}
.btn:hover{
    background-color: var(--primary-hover);
}
.section-title{
    text-align: center;
    padding: 60px;
}
.section-title h6{
    font-size: 15px;
    color: var(--secondary);
}
.section-title h2{
    font-size: 40px;
    margin: 20px 0;
    padding-bottom: 40px;
    position: relative;
}
.section-title h2::before{
    content: "";
    width: 100px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    transition: .3s;
}
.section-title:hover.section-title h2::before{
    width: 200px;
}
.section-title h2::after{
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background-color: var(--primary);
}
.section-title h4{
    font-size: 20px;
    font-weight: 450;
    color: var(--secondary);
}

/* 01. Header */

header{
    position: sticky;
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
}
.header{
    margin-top: 20px;
}
.logo{
    width: 100px;
    margin-right: 30px;
}
.navigation-bar{
    width: 1040px;
    text-align: right;
    margin-top: 20px;
}
.navigation-bar ul li{
    display: inline-block;
}
.navigation-bar ul li a{
    margin-left: 18px;
    color: var(--secondary);
    font-size: 15px;
    font-weight: 550;
}
.navigation-bar ul li a:hover{
    color: var(--primary);
}
.active{
    color: var(--primary) !important;
}
.components{
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 12px 16px;
    border-radius: 20px;
}

/* 02.Banner */

.banner{
    position: relative;
}
.banner-left{
    width: 510px;
    position: absolute;
    top: 25%;
    left: 0;
    line-height: 66px;
}
.banner-left h4{
    font-size: 25px;
    font-weight: 550;
    color: var(--secondary);
}
.banner-left h1{
    font-size: 75px;
    font-weight: 700;
}
.banner-left h6{
    font-size: 22px;
    font-weight: normal;
}
.banner-right{
    width: 650px;
    margin-left: 10px;
}
.banner-right img{
    width: 100%;
}
.banner-left .btn{
    padding: 5px 15px;
    line-height: 33px;
}
.cv{
    background-color: var(--light-dark) !important;
    margin-left: 2px;
}
.cv:hover{
    background-color: var(--dark) !important;
}
.social-icon i{
    display: inline-block;
    text-align: center;
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 20px;
    margin-right: 4px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background-color: transparent;
    color: var(--primary);
    transition: .3s;
}
.social-icon i:hover{
    background-color: var(--primary);
    color: var(--white);
}

/* 03. Achivement */

.achievements-area{
    position: relative;
}
.achievements-area::before{
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--light-grey);
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -1;
}
.achievements{
    padding: 22px 10px;
    border: 1px solid var(--light-grey);
    border-radius: 50px;
    box-shadow: 0 12px 15px var(--light-grey);
    width: 770px;
    margin: 0 auto;
    background-color: var(--white);
}
.achievement{
    width: 249px;
    line-height: 33px;
    border-right: 1px solid var(--light-grey);
}
.achievement:last-child{
    border-right: 0;
}
.achievement h2{
    font-size: 33px;
    font-weight: 550;
}
.achievement h4{
    font-size: 16px;
    color: var(--secondary);
}
.achievement h2 i{
    font-size: 20px;
}

/* 04. About */
.about{
    padding-top: 40px;
}
.about-image{
    width: 300px;
    margin-right: 30px;
    border: 1px solid var(--light-grey) ;
    padding: 5px;
    border-radius: 10px;
}
.about-image img{
    width: 100%;
}
.about-text{
    width: 840px;
}
.about-text h3{
    font-size: 27px;
    margin-top: 10px;
}
.about-text h5{
    font-size: 18px;
    font-weight: normal;
    margin: 10px 0;
    color:  var(--secondary);
}
.about-text p{
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0;
    line-height: 30px;
}
.about-text .btn{
    font-weight: 550;
}

/* 05. Features */

.features-area h4{
    font-size: 22px;
    font-weight: 500;
    text-align: center;
}
.features-area h2{
    text-align: center;
    font-size: 30px;
    line-height: 36px;
    font-weight: 550;
    padding-bottom: 10px;
    margin-bottom: 30px;
    position: relative;
}
.features-area h2::after{
    content: '';
    width: 50px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translatex(-50%);
    background-color: var(--primary);
}
.features-area{
    position: relative;
}
.features-area::before{
    content: '';
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../images/feature-1.jpg);
    background-size: cover;
    background-position: center;
}
.features-area::after{
    content: '';
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #333;
    opacity: 0.6;
}
.features-box{
    width: 50%;
    float: left;
    padding: 150px 100px;
}
.single-feature{
    width: 338px;
    margin: 0 20px 20px 0;
    text-align: left;
}
.single-feature:last-child{
    margin-right: 0;
}
.single-feature i{
    font-weight: 550;
    font-size: 25px;
    margin-bottom: 10px;
}
.single-feature h3{
    color: var(--primary);
    font-weight: 600;
    font-size: 20px;
}
.single-feature P{
    color: var(--secondary);
    font-size: 16px;
    word-spacing: 2px;
}

/* 06. About 2 */

.about2 .about-image{
    width: 300px;
    border: none;
}
.about2 .about-text{
    width: 840px;
}
.about2 .about-text h3{
    color: var(--primary);
    font-size: 33px;
}
.about2 .about-text h4{
    margin: 10px 0 20px 0;
    font-size: 22px;
    font-weight: 500;
}
.about2 .about-text ul{
    width: 260px;
    margin-right: 20px;
}
.about2 .about-text ul:last-child{
    margin-right: 0;
}
.about2 .about-text ul li i{
    color: var(--primary);
    padding-right: 10px;
}
.about2 .btn{
    margin-top: 20px;
    padding: 10px 40px;
    border-radius: 5px;
}

/* 07. Services*/

.single-service{
    width: 270px;
    line-height: 50px;
    border: 1px solid var(--light);
    box-shadow: 4px 6px 12px var(--light-grey);
    padding: 50px;
    margin: 0 20px 30px 0;
    transition: .3s;
    cursor: pointer;
}
.single-service:last-child{
    margin-right: 0;
}
.single-service:hover{
    background-color: var(--primary);
}
.single-service:hover i, .single-service:hover h3{
    color: var(--white);   
}
.single-service i{
    font-size: 33px;
    color: var(--primary);
}
.single-service h3{
    font-size: 22px;
    font-weight: 500;
}

/* 08. Skills*/

.skills-area{
    background-color: #F9F5F6;
}
.single-skill{
    width: 585px;
    padding: 20px;
    position: relative;
}
.single-skill::before{
    content: "";
    width: 90%;
    height: 3px;
    background-color: var(--light-grey);
    position: absolute;
    bottom: 0;
    left: 3.5%;
}
.single-skill::after{
    content: "";
    width: 70%;
    height: 3px;
    background-color: var(--primary);
    position: absolute;
    bottom: 0;
    left: 3.5%;
}
.single-skill:nth-child(2)::after{
    width: 80%;
}
.single-skill:nth-child(3)::after{
    width: 33%;
}
.single-skill:nth-child(4)::after{
    width: 55%;
}
.single-skill h5{
    font-size: 15px;
    font-weight: 550;
}

/* 09. Timelines */

.timelines{
    position: relative;
}
.timelines::after{
    content: '';
    width: 2px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translatex(-50%);
    background-color: var(--primary);
}
.timelines li{
    content: '';
    display: table;
    clear: both;
    position: relative;
    width: 100%;
}
.timelines li::after{
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.timelines li:nth-child(odd):before{
    content: '';
    width: 50px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 48%;
    transform: translate(-50%,-50%);
    background-color: var(--primary);
}
.timelines li:nth-child(even):before{
    content: '';
    width: 50px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%,-50%);
    background-color: var(--primary);
}
.single-timeline{
    width: 46%;
    border: 2px solid var(--primary);
    padding: 30px;
    float: left;
    text-align: left;
}
.timelines li:nth-child(even) .single-timeline{
    float: right;
    text-align: right;
}
.single-timeline h3{
    color: var(--primary);
}
.single-timeline h4{
    font-size: 18px;
    margin: 10px 0;
}

/* 10. Projects */

.single-project{
    width: 370px;
    margin: 10px;
    position: relative;
}
.single-project img{
    width: 100%;
}
.project-overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    transition: .3s;
    z-index: 2;
}
.project-overlay::before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary);
    border-radius: 10px;
    opacity: .8;
    z-index: -1;
}
.single-project:hover .project-overlay{
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.project-content{
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.project-content h3{
    font-size: 30px;
    color: var(--white);
}
.project-content i{
    font-size: 25px;
}
.project-content a{
    color: var(--white);
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    border: 1px solid var(--white);
    margin: 20px 5px 0 0;
    display: inline-block;
}
.project-content a:hover{
    color: var(--primary-hover);
    background-color: var(--white);
}

/* 11. Prices */

.single-price{
    width: 350px;
    padding: 30px 20px;
    margin: 0 20px;
    box-shadow: 8px 5px 22px var(--light-grey);
    border-radius: 10px;
    transition: .3s;
}
.single-price:hover, .single-blog:hover{
    box-shadow: 15px 20px 20px var(--light-grey);
}
.single-price span{
    display: block;
    border-bottom: 1px dashed var(--light-grey);
    margin-bottom: 20px;
    padding-bottom: 20px;
    font-size: 20px;
    color: var(--light-dark);
}
.single-price h3{
    font-size: 22px;
}
.single-price h2{
    font-size: 40px;
    margin: 30px 0;
    padding: 25px;
    background-color: var(--primary);
    color:  var(--white);
}
.single-price .btn{
    width: 100%;
    padding: 10px;
    font-weight: 550;
    border-radius: 5px;
}

/* 12. Reviews */

.reviews-area{
    background-color: #F9F5F6;
}
.single-review{
    width: 770px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid var(--light-grey);
    box-shadow: 5px 5px 22px var(--light-grey);
    padding: 50px;
}
.single-review img{
    text-align: center;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
}
.single-review h4{
    font-weight: 500;
}
.single-review h2{
    font-size: 20px;
    color: var(--dark);
    line-height: 25px;
    margin-top: 20px;
}
.single-review h2 span{
    display: block;
    color: var(--light-dark);
    font-weight: 550;
}

/* 13. Blogs */

.single-blog{
    width: 350px;
    margin: 0 20px;
    box-shadow: 2px 2px 25px var(--light-grey);
    transition: .3s;
}
.blog-content{
    padding: 20px 15px; 
}
.blog-content h3{
    font-weight: 500;
    font-size: 20px;
}
.blog-content span{
    display: block;
    margin: 15px 0;
    color: var(--light-grey2);
    font-size: 15px;
    cursor: pointer;
}
.blog-content .post{
    display: inline-block;
    color: var(--light-grey2) !important;
    margin-right: 8px;
}
.blog-content .post:hover, .blog-content i:hover{
    text-decoration: underline;
}
.blog-content span i{
    font-size: 14px;
    margin: 0 4px;
}
.blog-content p{
    line-height: 28px;
    margin-bottom: 10px;
}
.blog-content a{
    color: var(--primary);
    transition: 0s;
}
.blog-content a:hover{
    color: var(--primary-hover);
    text-decoration: underline;
}

/* 14. Hire */

.hire{
    padding: 35px;
    background-color: var(--primary);
    border-radius: 10px;
}
.hire h3{
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--white);
}
.hire h6{
    font-size: 17px;
    font-weight: normal;
    color: var(--white);
}
.hire .btn{
    background-color: var(--white);
    border: none;
    font-weight: 550;
    color: var(--dark) !important;
    text-align: center;
}
.hire .btn:hover{
    background-color: var(--light-grey);
}

/* 15. Contact */

.contact-area{
    background-image: url(../images/contact-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
}
.contact{
    width: 1000px;
    box-shadow: 2px 8px 15px var(--light-grey2);
    margin: 0 auto;
    padding: 20px;
}
.contact-form{
    width: 530px;
    margin-right: 20px;
}
.contact-form h6{
    font-size: 18px;
    color: var(--secondary);
}
.contact-form h2{
    font-size: 30px;
    margin: 10px 0;
}
.contact-form input{
    display: block;
    width: 100%;
    padding: 15px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--light-grey);
    margin: 20px 0;
    border: 1px solid var(--light-grey);
    border-radius: 6px;
}
.contact-form textarea{
    width: 100%;
    padding: 5px 0 60px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid var(--light-grey);
    border-radius: 6px;
}
.contact-form input[type='button']{
    transition: .3s;
    padding: 6px 0;
    border-radius: 20px;
}
.contact-info{
    width: 408px;
    border-left: 1px dashed var(--light-grey2);
}
.single-info{
    position: relative;
    padding: 0 0 50px 50px;
    margin: 0 0 20px 30px;
}
.single-info h5{
    font-size: 22px;
    line-height: 30px;
}
.single-info p{
    font-weight: 500;
}
.contact-info i{
    color: var(--primary);
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 22px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

/* 16. Footer */

footer{
    background-color: var(--dark);
    color: var(--white);
}
.single-footer{
    width: 330px;
    margin-right: 20px;
    padding: 10px;
}
.single-footer:first-child{
    width: 450px;
}
.single-footer:last-child{
    margin-right: 0;
}
.single-footer i{
    margin-bottom: 10px;
    padding-bottom: 10px;
    font-size: 33px;
    color: var(--white);
    margin-right: 15px;
}
.single-footer h2, .single-footer h3,.single-footer ul li a{
    color: var(--white);
}
.single-footer h2{
    padding-bottom: 10px;
    border-bottom: 1px solid var(--white);
}
.single-footer ul li{
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 500;
}
.single-footer ul li a:hover{
    text-decoration: underline;
    color: var(--primary);
}

.social-footer{
    width: 100%;
    display: inline-block;
    text-align: center;
    color: var(--white);
}
.social-footer i{
    color: var(--white);
    font-size: 20px;
    transition: .3s;
}
.social-footer a{
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border: 1px solid var(--light-grey);
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
}
.social-footer a:hover{
    border: none;
    background-color: var(--primary);
    color: var(--white);
}

/* End */




