/*Header css start*/

header.backImage {
    background-image: url("../../img/header.jpeg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
}

header.backImage .backImage-sub {
    font-size: 1.5rem;
    line-height: 1.5rem;
    font-style: italic;
    font-family: "Roboto Slab", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

header.backImage .backImage-heading {
    font-size: 3rem;
    font-weight: 700;
    line-height: 3rem;
    margin-bottom: 2rem;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/*navbar css start*/

#mainNavbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #212529;
}

#mainNavbar .navbar-brand {
    color: #de3545;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    letter-spacing: 0.063em;
}

#mainNavbar .navbar-nav .nav-item .nav-link {
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 0.06em;
}

#mainNavbar .navbar-nav .nav-item .nav-link.active,
#mainNavbar .navbar-nav .nav-item .nav-link:hover {
    color: #fa836a;
}

/*Services css start*/

.mySection {
    padding: 6rem 0;
}

.mySection h2.s-heading {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    font-family: "Roboto Slab",system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.mySection h3.s-subheading {
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    font-family: "Roboto Slab", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/*portfolio css start*/

#portfolio .p-item {
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
}

#portfolio .p-item .p-link {
    position: relative;
    display: block;
    margin: 0 auto;
}

#portfolio .p-item .p-link .p-hover {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(21, 22, 23, 0.75);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity ease-in-out 0.3s;
    -webkit-transition: opacity ease-in-out 0.3s;
    -moz-transition: opacity ease-in-out 0.3s;
    -ms-transition: opacity ease-in-out 0.3s;
    -o-transition: opacity ease-in-out 0.3s;
}

#portfolio .p-item .p-link .p-hover .ph-content {
    font-size: 6rem;
}

#portfolio .p-item .p-link:hover .p-hover {
    opacity: 1;
}

#portfolio .p-item .p-caption .pc-heading {
    font-size: 1.5rem;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-bottom: 0;
    font-weight: 700;
}

#portfolio .p-item .p-caption .pc-subheading{
    font-style: italic;
    font-family: "Roboto Slab",system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.p-modal .modal-dialog{
    margin: 1rem;
    max-width: 100vw;
}


.p-modal .modal-content h2{
    font-size: 3rem;
    line-height: 3rem;
}

.p-modal .modal-content .intro{
    font-family: "Roboto Slab",system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.p-modal .close-modal{
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    background-color: transparent;
}

.p-modal .close-modal:hover{
    opacity: 0.5;
}

@media(max-width:991.98px) {
    header.backImage {
        padding-top: 11rem;
        padding-bottom: 13rem;
    }

    header.backImage .backImage-heading {
        font-size: 2rem;
        line-height: 2rem;
    }

    #mainNavbar .navbar-nav .nav-item .nav-link {
        color: #212529;
    }
    .p-modal .modal-content h2{
        font-size: 2rem;
        line-height: 3rem;
    }
    .p-modal .close-modal{
        width: 2rem;
        height: 2rem;
    }
}

@media (min-width:992px) {
    header.backImage {
        padding-top: 15rem;
        padding-bottom: 15rem;
    }

    #mainNavbar {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        border: none;
        background-color: transparent;
        transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
        -webkit-transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
        -moz-transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
        -ms-transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
        -o-transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
    }

    #mainNavbar .navbar-brand {
        font-size: 1.5rem;
        transition: fontsize 0.3s ease-in-out;
        -webkit-transition: fontsize 0.3s ease-in-out;
        -moz-transition: fontsize 0.3s ease-in-out;
        -ms-transition: fontsize 0.3s ease-in-out;
        -o-transition: fontsize 0.3s ease-in-out;
    }

    #mainNavbar .navbar-nav .nav-item {
        margin-right: 1rem;
    }

    #mainNavbar .navbar-nav .nav-item:last-child {
        margin-right: 0;
    }

    #mainNavbar.navbar-mobile .navbar-brand {
        font-size: 1.20em;
    }

    #mainNavbar.navbar-mobile {
        padding-top: 1rem;
        padding-bottom: 1rem;
        background-color: #212529;
    }

}


/*about start*/


.timeline{
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline:before{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    margin-left: -1px;
    content: "";
    background-color: #e9ecef;
}

.timeline>li{
    margin-bottom: 50px;
}

.timeline>li:after,
.timeline>li:before{
    display: table;
    content: "";
}

.timeline>li:after{
    clear: both;
}

.timeline>li .t-panel{
    padding: 0 20px 0 100px;
    text-align: left;
}

.timeline>li .t-image{
    position: absolute;
    z-index: 10;
    width: 80px;
    height: 80px;
    margin-left: 0;
    text-align: center;
    color: white;
    border: 7px solid #dadde0;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}


.timeline>li .t-image:last-child{
    background-color: #de3545;
}

.timeline>li .t-image h4{
    font-size: 10px;
    line-height: 16px;
    margin-top: 12px;
}

.timeline .t-heading h4{
    margin-top: 0;
    color: inherit;
    font-weight: bold;
    font-family: "Roboto Slab",system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.timeline .t-body>ul,
.timeline .t-body>p{
    margin-bottom: 0;
}

@media (min-width:768px){
    .timeline:before{
        left: 50%;
    }
    .timeline>li{
        min-height: 100px;
        margin-bottom: 100px
    }
    .timeline>li .t-panel{
        float: left;
        width: 40%;
        padding: 0 20px 20px 30px;
        text-align: right;
    }
    .timeline>li .t-image{
        left: 50%;
        width: 100px;
        height: 100px;
        margin-left: -50px;
    }
    .timeline>li .t-image h4{
        font-size: 13px;
        line-height: 17px;
        margin-top: 18px;
    }
    .timeline>li.t-inverted>.t-panel{
        float: right;
        padding: 0 30px 20px 20px;
        text-align: left;
    }
}

@media(min-width:992px){
    .timeline>li{
        min-height: 150px;
    }
    .timeline>li .t-panel{
        padding: 0 20px 20px;
    }
    .timeline>li .t-image{
        width: 150px;
        height: 150px;
        margin-left: -75px;
    }
    .timeline>li .t-image h4{
        font-size: 19px;
        line-height: 25px;
        margin-top: 31px;
    }
    .timeline>li.t-inverted>.t-panel{
        padding: 0 20px 20px ;
    }
}

@media(min-width:1200px){
    .timeline>li{
        min-height: 170px;
    }
    .timeline>li .t-panel{
        padding: 0 20px 20px 10px;
    }
    .timeline>li .t-image{
        width: 170px;
        height: 170px;
        margin-left: -89px;
    }
    .timeline>li .t-image h4{
        margin-top: 40px;
        font-size: 22px;
        line-height: 30px;
    }
    .timeline>li.t-inverted>.t-panel{
        padding: 0 100px 20px 20px;
    }
}

/*Team start*/


.t-member{
    margin-bottom: 3rem;

}

.t-member img{
    width: 14rem;
    height: 14rem;
    border: 0.5rem solid rgba(0, 0, 0, 0.1);
}

.t-member h4{
    margin-top: 1.7rem;
    margin-bottom: 0;
    font-family: "Montserrat",system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
}

.t-member p{
    font-family: "Roboto Slab",system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.btn-social{
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}

.img-logo{
    height: 2.6rem;
}

/*Contact Start*/


#contact{
    background-color: #432630;
    background-repeat: no-repeat;
    background-image: url("../../img/header.jpeg");
    background-position: center;
}

#contact  input{
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
}

#contact .form-textarea{
    height: 91.5%;
}

#contact .form-textarea textarea{
    height: 100%;
    min-height: 10rem;
}

#contact .form-control:focus{
    box-shadow: 1px 1px 12px #d8df0b;
}