:root {
    --primary: #C22937;
    --secondary: #c2293708;
    --color: #171717;
    --font-family: 'Nunito', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--color);
    overflow-x: hidden;
    position: relative;
    height: 100%;
}

#overlayer {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 9999;
    background: #ffcccc;
}

.loader {
    position: fixed;
    z-index: 9999;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: inline-block;
    background: url("../images/kp-loader.png");
    background-repeat: no-repeat;
    background-position: center;
    -webkit-animation-name: spinner;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 2s;
    animation-name: spinner;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 2s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

/* WebKit and Opera browsers */
@-webkit-keyframes spinner {
    from {
        -webkit-transform: rotateY(0deg);
    }

    to {
        -webkit-transform: rotateY(-360deg);
    }
}

/* all other browsers */
@keyframes spinner {
    from {
        -moz-transform: rotateY(0deg);
        -ms-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    to {
        -moz-transform: rotateY(-360deg);
        -ms-transform: rotateY(-360deg);
        transform: rotateY(-360deg);

    }
}

.container {
    max-width: 1320px;
}

/*** Header css ***/
.top-header .nav-link.nav-active {
    color: var(--primary) !important;
    font-weight: 700;
}

.nav-fix nav {
    position: fixed;
    width: 100%;
    background: #fff;
    box-shadow: 0px 0px 10px 2px #d3d3d3;
    z-index: 9999;
    transition: 0.5s;
    transform: translateY(0);
}

.top-header {
    background-color: var(--secondary);
    overflow: hidden;
    position: relative;
    padding-bottom: 8%;
}

.top-header:before {
    content: "";
    position: absolute;
    background-image: url(../images/bg-hero.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
}

.top-header .btn-ui {
    color: #fff !important;
}

.top-header .btn-ui:hover {
    color: #000 !important;
}

.top-header .navbar .nav-item {
    padding: 10px 12px;
}

.navbar .navbar-brand {
    font-size: 30px;
}

.navbar .nav-item {
    padding: 10px 20px;
}

.navbar .nav-link {
    font-size: 20px;
    margin-left: 10px;
}

.top-header .nav-link {
    font-size: 18px;
    font-weight: 600;
    color: var(--color) !important;
}

.top-header .nav-link:hover {
    color: var(--primary) !important;
    font-weight: 700;
}

.btn-ui {
    background: var(--primary);
    color: #fff;
    padding: 12px 32px;
    font-size: 18px;
    border-radius: 100px;
    box-shadow: 1px 1px 15px 0px rgba(0, 0, 0, 0.25);
    border: 1px solid #fff;
}

.btn-ui:hover {
    background: #fff;
    color: var(--primary);
    font-weight: 800;
    border: 1px solid var(--primary);
}

.hero-txt h2 {
    font-size: 45px;
    color: var(--color);
    font-weight: 800;
    line-height: 50px;
}

.d-color {
    color: var(--primary);
}

.hero-txt h1 {
    font-size: 86px;
    font-weight: 700;
    line-height: 104px;
}

.hero-txt a:hover {
    color: var(--primary);
    text-decoration: none;
}

/*** Header css ***/

/*** Social icon ***/
.s-bg {
    background: #fff;
    padding: 22px;
    border-radius: 100px;
    width: 105px;
    height: 105px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(1.389135718345642px 1.389135718345642px 34.728397369384766px rgba(188, 188, 188, 0.20));
    margin-left: 25px;
    transition: all 0.5s;
}

.social-icon a {
    display: contents;
}

.s-bg:hover svg path {
    fill: #fff;
}

.dribbble:hover {
    background: #e94c89;
}

.behance:hover {
    background: #2069fa;
}

.instagram:hover {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f09433', endColorstr='#bc1888', GradientType=1);
}

.linkedin:hover {
    background: #0a77b3;
}

.skype:hover {
    background: #109cd7;
}

.skype:hover svg .s {
    fill: #109dd8;
}

.mail:hover {
    background: linear-gradient(118deg, #4285F4 -1.62%, #C5221F 28.55%, #EA4335 58.18%, #FBBC04 80.4%, #34A853 99.98%);
}

.s-bg svg {
    transition: all 0.5s;
}

.s-bg:hover svg {
    transform: scale(1.2);
}

/*** Social icon ***/

/*** About Us ***/
.about-us {
    padding-top: 65px;
}

.title h4 {
    color: var(--primary);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
}

.title p {
    color: #3A3A3C;
    font-size: 20px;
}

.ab-left img {
    margin-right: 15px;
}

.ab-left p {
    font-size: 18px;
    font-weight: 600;
}

.ab-img img {
    margin-top: -40px;
}

/*** About Us ***/

/*** Social Media ***/
.dribbble-b {
    background: #dc3c7a;
}

.behance-b {
    background: #005cff;
}

.linkedin-b {
    background: #f7f7f7;
}

.skype-b {
    background: #11afed;
}

.gmail-b {
    background: #000;
}

.title-b {
    background: #fdf5f6;
    height: 100%;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 40px;
    border: 1px solid var(--primary);
}

.title-b h4 {
    color: var(--primary);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.title-b p {
    color: #3A3A3C;
    font-size: 20px;
}

.social-block {
    padding: 50px;
    height: 100%;
    display: block;
    text-decoration: none !important;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.social-block p {
    font-size: 32px;
    font-weight: 800;
    line-height: normal;
    margin: 20% 0 10%;
    color: #fff;
    transition: all 0.5s;
}

.linkedin-b p {
    color: #1266bf;
}

.social-block img {
    width: 150px;
    max-width: 100%;
}

.social-block:hover.social-block p {
    transform: translateY(-65%);
}

/*** Social Media ***/
/*** Services css ***/
.services {
    background: var(--secondary);
    padding-top: 60px;
}

.services:before {
    content: "";
    background-image: url("../images/services.png");
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.services-blk {
    box-shadow: 2px 2px 15px 0px rgba(201, 201, 201, 0.30);
    background: #fff;
    border-radius: 8px;
    padding: 15px 15px 30px 15px;
    width: 100%;
}

.services-blk h5 {
    color: #3A3A3C;
    font-weight: 800;
    font-size: 22px;
}

.services-blk p {
    font-size: 18px;
}

.blk-icon {
    background: var(--primary);
    width: 102px;
    height: 102px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    margin: auto;
    margin-top: -70px;
    margin-bottom: 20px;
}

.services-blk:hover .blk-icon svg {
    transform: rotate(360deg);
}

.blk-icon svg {
    transition: transform .7s ease-in-out;
}

.s-space {
    margin-top: 10px;
    margin-bottom: 90px;
}

/*** Services css ***/

/*** Portfolio css ***/
.portfolio {
    padding: 80px 0 30px;
}

.slick-initialized {
    overflow: visible !important;
}

.slick-arrow {
    z-index: 1;
    width: 60px !important;
    height: 60px !important;
    background: #fff !important;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.20));
    border-radius: 100px;
}

.slick-next {
    right: -6% !important;
}

.slick-prev {
    left: -6% !important;
}

.slick-arrow:hover {
    background-color: var(--primary) !important;
}

.slick-arrow:hover::before {
    filter: brightness(0) invert(1);
}

.slick-prev:before {
    background-image: url("../images/left.png");
    font-size: 0 !important;
    display: block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    opacity: 1 !important;
    margin: auto;
}

.slick-next:before {
    background-image: url("../images/right.png");
    font-size: 0 !important;
    display: block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    opacity: 1 !important;
    margin: auto;
}

.pf-bg {
    box-shadow: 2px 2px 15px 0px rgba(201, 201, 201, 0.30);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.pf-img {
    overflow: hidden;
}

.pf-bg img {
    width: 100%;
    transition: all 0.3s;
}

.portfolio .slick-slide>div:hover .pf-img img {
    transform: scale(1.3);
}

.portfolio .slick-slide>div {
    margin: 12px 12px 22px 12px;
    cursor: pointer;
}

.pf-bg h6 {
    margin-top: 12px;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 0;
    padding: 0 15px;
}

.pf-bg p {
    font-size: 14px;
    padding: 0 15px;
    color: #3A3A3C;
}

.client .slick-track {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client .slick-track img {
    margin: auto;
    max-width: 80%;
}

/*** Portfolio css ***/

/*** Testimonials css ***/
.testimonials {
    background-color: var(--secondary);
    padding: 60px 0 40px;
    overflow: hidden;
}

.testimonials .slick-list {
    width: 60%;
    margin: auto;
}

.review {
    text-align: center;
    margin: auto;
}

.review img {
    margin: auto;
    border-radius: 100px;
}

.review h5 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 5px;
}

.review p {
    font-size: 18px;
    color: #000;
    margin: 20px 0 0 0;
}

/*** Testimonials css ***/

/*** Contact Us css ***/
.contact {
    padding: 60px 0;
}

.contact-div {
    background: #fff;
    box-shadow: 1px 1px 15px 0px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 24px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.form-div label {
    font-size: 20px;
    font-weight: 700;
}

.form-div .mc-field-group {
    margin-bottom: 25px;
    padding-bottom: 0 !important;
    width: 100% !important;
}

.form-div .mc-field-group input {
    height: 50px;
}

.form-div .mc-field-group input::placeholder {
    color: #3A3A3C;
}

#mc_embed_signup form {
    margin: 0 !important;
}

textarea {
    resize: none;
}

.optionalParent input {
    cursor: pointer;
}

.form-div .mc-field-group input:focus,
.form-div .mc-field-group textarea:focus {
    border: 1px solid var(--primary);
    box-shadow: none;
}

.form-div button {
    font-weight: 800;
}

.play {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    object-fit: contain;
    cursor: pointer;
}

.video-div>img:nth-child(1) {
    width: 100%;
    object-fit: cover;
    height: 100%;
    border-radius: 8px;
}

/*** Contact Us css ***/

/*** Footer css ***/
.footer {
    background: var(--primary);
    margin-top: 100px;
}

.wave {
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("../images/wave.png");
    background-size: 1000px 100px;
}

.wave#wave1 {
    z-index: 1000;
    opacity: 1;
    bottom: 0;
    animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
    z-index: 999;
    opacity: 0.5;
    bottom: 10px;
    animation: animate 4s linear infinite !important;
}

.wave#wave3 {
    z-index: 1000;
    opacity: 0.2;
    bottom: 15px;
    animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
    z-index: 999;
    opacity: 0.7;
    bottom: 20px;
    animation: animate 3s linear infinite;
}

@keyframes animateWaves {
    0% {
        background-position-x: 1000px;
    }

    100% {
        background-positon-x: 0px;
    }
}

@keyframes animate {
    0% {
        background-position-x: -1000px;
    }

    100% {
        background-positon-x: 0px;
    }
}

.foot-content {
    padding-top: 40px;
}

.foot-content p {
    color: #fff;
    font-size: 22px;
    margin-bottom: 5px;
}

.foot-content h2 {
    color: #fff;
    font-size: 40px;
}

.footer .s-bg {
    width: 71px;
    height: 71px;
    padding: 15px;
}

.copyright {
    border-color: #D9D9D9 !important;
}

.copyright p {
    color: #fff;
    font-weight: 500;
}

/*** Footer css ***/


/***** Responsive Design *****/
@media only screen and (max-width: 1460px) {

    .portfolio .slick-list,
    .testimonials .slick-testimonials {
        width: 90%;
        margin: auto !important;
    }
}

@media only screen and (max-width: 1366px) {
    .top-header:before {
        opacity: 0.2;
    }
}

@media only screen and (max-width: 991px) {
    .hero-txt h2 {
        font-size: 35px;
    }

    .hero-txt h1 {
        font-size: 66px;
        line-height: 100px;
    }

    .s-bg svg {
        width: 35px;
    }

    .s-bg {
        width: 75px;
        height: 75px;
    }

    .top-header .navbar .nav-item {
        padding: 10px 0px;
    }

    .navbar .nav-link {
        margin-left: 0;
    }

    .top-header .navbar-toggler {
        background: var(--primary);
    }

    .top-header .navbar-toggler span {
        filter: brightness(0) invert(1);
    }
}

@media only screen and (max-width: 767px) {
    .hero-txt {
        text-align: center !important;
        padding-top: 0 !important;
    }

    .hero-txt h2 {
        font-size: 25px;
        line-height: normal;
    }

    .hero-txt h1 {
        font-size: 45px;
        line-height: normal;
    }

    .social-icon {
        justify-content: center !important;
    }

    .s-bg {
        margin: 0 10px;
    }

    .ab-img img {
        margin-top: 0;
    }

    .social-block p {
        font-size: 28px;
        margin: 20% 0 6%;
    }

    .social-block:hover.social-block p {
        transform: translateY(-40%);
    }
}

@media only screen and (max-width: 575px) {
    .hero-txt h2 {
        font-size: 18px;
    }

    .hero-txt h1 {
        font-size: 26px;
    }

    .social-icon {
        display: inline-block !important;
        text-align: center;
        width: 100%;
    }

    .s-bg {
        width: 45px;
        height: 45px;
        padding: 10px;
        margin: 0 5px;
        display: inline-block;
        vertical-align: middle;
        line-height: 34px;
        margin-bottom: 8px;
    }

    .s-bg svg {
        width: 100%;
        height: auto;
    }

    .slick-arrow {
        z-index: 1;
        width: 30px !important;
        height: 30px !important;
    }

    .slick-prev:before,
    .slick-next:before {
        width: 14px;
        height: 14px;
        background-size: 100%;
    }

    .testimonials .slick-testimonials {
        width: 100%;
    }

    .testimonials-design .review {
        background: #fff;
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 8px;
        box-shadow: 2px 2px 15px 0px rgba(201, 201, 201, 0.30);
    }

    .review img {
        width: 75px;
    }

    .review p {
        font-size: 15px;
    }

    .play {
        width: 80px;
    }

    .footer .s-bg {
        width: 45px;
        height: 45px;
        padding: 10px;
    }

    .foot-content h2 {
        font-size: 30px;
    }

    .social-block p {
        font-size: 24px;
        margin: 20% 0 0%;
    }
}