* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: myfont;
    src: url(../fonts/poppins.medium.ttf);
}

p {
    font-family: myFont;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

h1 {
    font-size: 32px;
    font-weight: 600;
}

body {
    padding-top: 80px;
    font-family: myfont;
    overflow-x: hidden;
    color: #1d1e1f !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: subpixel-antialiased;
}

.section-title h1,
.section-title p {
    text-align: center;
}

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/

.navbar {
    background: #fff;
    transition: all 0.5s;
    z-index: 997;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    padding: 5px 10px !important;
    line-height: 21px;
    height: 70px;
    max-width: 200px;
    display: table;
}

.navbar .navbar-nav {
    padding: 15px 0px !important;
}

.navbar ul li a {
    color: #1d1e1f !important;
    transition: 0.3s;
    font-size: 14px;
    font-family: myfont;
    text-transform: uppercase;
    font-weight: 500;
}

.navbar ul li a:hover,
.navbar ul .active > a,
.navbar ul li:hover > a {
    background: #fff !important;
    color: #8e0e00 !important;
}

.navbar .navbar-toggle {
    border: none;
    margin-top: 8px;
}

.navbar .navbar-toggle:hover,
.navbar .navbar-toggle:focus {
    background: transparent;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

#hero {
    padding: 80px 25px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../../assets/img/background/hero-back.jpg);
    background-position: center center;
    background-size: cover;
}

#hero .hero-left h1 {
    margin-top: 50px;
    line-height: 45px;
    color: #fff;
}

#hero .hero-left h1 span {
    color: #8e0e00;
}

#hero .hero-left p {
    text-align: justify;
    color: #fff;
    margin-bottom: 15px;
}

#hero .hero-left .hero-btn {
    width: 150px;
    background: #8e0e00;
    color: #fff;
    padding: 9px;
    border: none;
    outline: none;
}

#hero .hero-left .hero-btn:hover {
    background: #a01c0d;
    color: #fff;
}

/*--------------------------------------------------------------
# Service Section
--------------------------------------------------------------*/

#service {
    padding: 80px 25px;
    color: #1d1e1f !important;
}

#service h1 {
    line-height: 40px;
}

#service p {
    margin-bottom: 30px;
}

#service .service-section {
    margin: 10px 0px;
    padding: 15px;
    border-radius: 4px;
    background: #fff;
    border: 1px dotted #8e0e00;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

#service .service-section h4 {
    text-align: center;
}

#service .service-section p {
    text-align: center;
    font-size: 13px;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

#about {
    padding: 80px 25px;
    background: url(../../assets/img/background/about-back.png) no-repeat;
}

#about .container {
    padding-top: 60px;
}

#about .about-right h1 {
    line-height: 40px;
}

#about .about-right p {
    text-align: justify;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
#portfolio {
    padding: 80px 25px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(../../assets/img/background/service-back.jpg);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

#portfolio h1 {
    color: #fff;
}

#portfolio p {
    color: #fff;
}

#portfolio .center-pills {
    display: inline-block;
    margin-top: 20px;
}

#portfolio .center-pills li {
    margin-right: 15px;
}

#portfolio .center-pills li a {
    padding: 15px 30px;
    color: #fff;
}

#portfolio ul .active > a,
#portfolio ul li a:hover,
#portfolio ul li:hover > a {
    background: #8e0e00 !important;
    color: #fff;
    border-radius: 50px;
}

#portfolio .tab-content .box {
    margin-top: 20px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 0 3px rgba(0, 0, 0, .3);
    position: relative;
}

#portfolio .tab-content .box img,
#portfolio .tab-content .box:after,
#portfolio .tab-content .box:before {
    width: 100%;
    transition: all .3s ease 0s;
}

#portfolio .tab-content .box:after,
#portfolio .tab-content .box:before {
    content: "";
}

#portfolio .tab-content .box1 .title {
    letter-spacing: 1px;
}

#portfolio .tab-content .box .icon,
#portfolio .tab-content .box .title {
    margin: 0;
    position: absolute;
    text-align: center;
}

#portfolio .tab-content .box:after,
#portfolio .tab-content .box:before {
    height: 50%;
    background: rgba(0, 0, 0, .5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transform-origin: 100% 0;
    transform: rotateZ(90deg);
}

#portfolio .tab-content .box:after {
    top: auto;
    bottom: 0;
    transform-origin: 0 100%;
}

#portfolio .tab-content .box:hover:after,
#portfolio .tab-content .box:hover:before {
    transform: rotateZ(0);
}

#portfolio .tab-content .box img {
    height: auto;
    transform: scale(1) rotate(0);
}

#portfolio .tab-content .box:hover img {
    filter: grayscale(80%);
    transform: scale(1.3) rotate(10deg);
}

#portfolio .tab-content .box .title {
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 1px #004cbf;
    bottom: 20px;
    left: 10px;
    opacity: 0;
    z-index: 2;
    transform: scale(0);
    transition: all .5s ease .2s;
}

#portfolio .tab-content .box:hover .title {
    opacity: 1;
    transform: scale(1);
}

#portfolio .tab-content .box .icon {
    padding: 7px 5px;
    list-style: none;
    background: #8e0e00;
    top: -100%;
    right: 0;
    z-index: 2;
    transition: all .3s ease .2s;
}

#portfolio .tab-content .box:hover .icon {
    top: 0
}

#portfolio .tab-content .box .icon li {
    display: block;
    margin: 10px 0;
}

#portfolio .tab-content .box .icon li a {
    display: block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 18px;
    color: #fff;
    transition: all .3s ease 0s;
}

#portfolio .tab-content .box .icon li a:hover {
    color: #fff;
    border: 1px solid #fff;
}

#portfolio .tab-content .swiper-container {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 150px;
}

#portfolio .tab-content .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 350px;
    height: 350px;
    -webkit-box-reflect: below 1px linear-gradient(transparent, transparent, #0006);
}

/*--------------------------------------------------------------
# Testimonial Section
--------------------------------------------------------------*/
#testimonial {
    padding: 80px 25px;
    background: url(../../assets/img/background/testi-back.png);
    background-repeat: no-repeat;
    background-position: bottom left;
}

#testimonial h1 {
    line-height: 40px;
}

#testimonial p {
    margin-bottom: 30px;
}

#testimonial .owl-carousel img {
    width: 80px;
    height: 80px;
}

#testimonial .owl-carousel h5 {
    font-size: 12px;
}

#testimonial .owl-carousel h2 {
    font-size: 18px;
}

#testimonial .owl-carousel p {
    font-size: 14px;
    color: #1d1e1f;
    font-weight: 300;
    margin-top: 15px;
    margin-bottom: 5px;
    text-align: center;
}

#testimonial .item {
    padding: 15px 0px;
    background: rgb(247 247 247 / 31%);

}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
#why {
    padding: 80px 25px;
}

#why .why-right h1 {
    margin-top: 50px;
    line-height: 40px;
}

#why .why-right p {
    text-align: justify;
}

#why .why-right ul li {
    font-size: 17px;
    font-weight: 300;
    color: #1d1e1f !important;
    text-transform: uppercase;
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
#process {
    padding: 120px 25px;
    height: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(../../assets/img/background/process-back.jpg);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

#process h1 {
    line-height: 40px;
    color: #fff;
}

#process p {
    color: #fff;
    margin-bottom: 100px;
}

#process .process-section {
    color: #fff;
}

#process .process-section img {
    margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
#contact {
    padding: 80px 25px;
    background: #fff;
}

#contact h1 {
    line-height: 40px;
}

#contact p {
    margin-bottom: 30px;
}

#contact .info-box {
    color: #1d1e1f;
    text-align: center;
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 20px 0 30px 0;
    background: #fff;
    margin-bottom: 10px;
}

#contact .info-box .fa {
    font-size: 22px;
    width: 50px;
    height: 50px;
    line-height: 27px;
    color: #8e0e00;
    border-radius: 50%;
    padding: 10px;
    border: 2px dotted #8e0e00;
    margin-bottom: 5px;
}

#contact .info-box h3 {
    font-size: 20px;
    color: #1d1e1f !important;
    font-weight: 700;
    margin: 10px 0;
}

#contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

#contact .contact-box {
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 40px;
    border-radius: 4px;
}

#contact .contact-box .btn {
    background: #8e0e00;
    border: 0;
    padding: 10px 32px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

#contact .contact-box .btn:hover {
    background: #b52616;
    color: #fff;
}

#contact .contact-box select{
    color:#999 !important;
}

#contact .contact-box .info {
    font-size: .8em;
    color: #e66262;
    letter-spacing: 1px;
    font-family: tahoma;
}

#contact .contact-box .errorMessage {
    background-color: #e66262;
    border: #AA4502 1px solid;
    padding: 5px 10px;
    color: #FFFFFF;
    border-radius: 3px;
    text-align: center;
    margin-top: 10px;
}

#contact .contact-box .successMessage {
    text-align: center;
    background-color: #9fd2a1;
    border: #91bf93 1px solid;
    padding: 5px 10px;
    color: #3d503d;
    border-radius: 3px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 0.9em;
}

.footer-top {
    background: #303036;
    padding: 60px 0;
}

.footer-top p {
    color: #fff;
    line-height: 25px;
    font-size: 14px;
}

.footer-top h2,
h3 {
    color: #fff;
}

.footer-top h2 {
    font-size: 18px;
}

.footer-top .segment-one blockquote {
    height: 20px;
    border-left: 4px solid #8e0e00;
    padding: 0px 15px;
}

.footer-top .segment-one h3 {
    color: #fff;
    letter-spacing: 3px;
    margin: 10px 0;
}

.footer-top .segment-one p {
    margin-bottom: 20px;
}


.footer-top .segment-one a {
    background: #494848;
    padding: 8px 12px;
    border-radius: 50%;
    color: #fff;
    margin-top: 50px;
}

.footer-top .segment-one a:hover {
    background: #8e0e00;
    color: #fff;
    transition: 0.5s all;
}

.footer-top .segment-one a i {
    font-size: 18px;
    color: #fff;
}


.footer-top .segment-two h2 {
    text-transform: uppercase;
}

.footer-top .segment-two blockquote {
    height: 20px;
    border-left: 4px solid #8e0e00;
    padding: 0px 15px;
}

.footer-top .segment-two ul,
.footer-top .segment-three ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-top .segment-two ul li,
.footer-top .segment-three ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    line-height: 40px;
}

.footer-top .segment-two ul li .fa,
.footer-top .segment-three ul li .fa {
    font-size: 14px;
}

.footer-top .segment-two ul li a,
.footer-top .segment-three ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-top .segment-two ul li a:hover,
.footer-top .segment-three ul li a:hover {
    color: #8e0e00;
    transition: 0.5s all;
}

.footer-top .segment-three h2 {
    text-transform: uppercase;
}

.footer-top .segment-three blockquote {
    height: 20px;
    border-left: 4px solid #8e0e00;
    padding: 0px 15px;
}

.footer-top .segment-four h2 {
    text-transform: uppercase;
}

.footer-top .segment-four blockquote {
    height: 20px;
    border-left: 4px solid #8e0e00;
    padding: 0px 15px;
}

.footer-top .segment-four .media .media-left .fa {
    border: 1px solid red;
}

.footer-top .segment-four .media .media-body h4 {
    color: #fff;
}

.footer-top .segment-four .media .media-body p {
    margin-bottom: 0px !important;
}

.footer-top .segment-four .media .media-body p a {
    color: #fff;
    text-decoration: none;
}

.footer-top .segment-four .media .media-body p a:hover {
    color: #a29f9e;
}

.footer-bottom-text {
    text-align: center;
    background: #404048;
    line-height: 75px;
    color: #fff;
    font-size: 12px;
}

.footer-bottom-text a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom-text a:hover {
    color: #a29f9e;
}

a.back-to-top {
    display: none;
    position: fixed;
    bottom: 18px;
    right: 15px;
    text-decoration: none;
    z-index: 999;
}

a.back-to-top i {
    display: block;
    font-size: 22px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    background: #8e0e00;
    border-radius: 2px;
    text-align: center;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
}

a.back-to-top:hover,
a.back-to-top:focus {
    text-decoration: none;
    background: #b52616;
}

@media only screen and (min-width: 768px) and (max-width:991px) {
    .md-mb-30 {
        margin-bottom: 30px;
    }

    #portfolio .tab-content .box {
        margin-bottom: 30px
    }

}

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

    nav {
        margin: 0px;
    }

    h1 {
        font-size: 26px;
    }

    p {
        font-size: 12px;
    }

    #hero {
        padding: 30px 5px;
    }

    #hero .hero-left {
        text-align: center;
    }

    #hero .hero-left h1 {
        line-height: 32px;
    }

    #service {
        padding: 40px 5px;
    }

    #about {
        padding: 15px 5px;
        background-position: top center;
    }

    #portfolio {
        padding: 30px 0px;
    }

    #portfolio .center-pills {
        display: block;
        margin-top: 20px;
    }

    #portfolio .center-pills li {
        margin-right: 5px;
    }

    #portfolio .center-pills li a {
        padding: 10px 20px;
        color: #fff;
        font-size: 10px;
    }

    #testimonial {
        padding: 30px 5px;
    }

    #why {
        padding: 30px 5px;
    }

    #why .why-left img {
        margin-bottom: -20px;
    }

    #why .why-right ul li {
        font-size: 14px;
    }

    #process {
        padding: 30px 5px;
    }

    #process p {
        margin-bottom: 50px;
    }

    #contact {
        padding: 30px 5px;
    }

    #contact .contact-box {
        padding: 20px;
    }

    .sm-mb-30 {
        margin-bottom: 30px;
    }

    .footer-top {
        padding: 50px 0px;
    }
}
