/*--
    Common Css
--*/

body {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 25px;
    font: 14px/22px 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden !important;
    background-color: rgba(32, 31, 56, 1);

}

body::-webkit-scrollbar {
    display: none;
    /* for Chrome, Safari, and Opera */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
    margin: 0px;
    color: #a87fff;
}

h1 {
    font-size: 44px;
    line-height: 56px;
    color: rgb(102, 76, 157);
}

h2 {
    font-size: 30px;
    line-height: 35px;
}

h3 {
    font-size: 23px;
    line-height: 25px;
}

h4 {
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
}

p {
    font-size: 16px;
    line-height: 25px;
    margin: 0px;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

a {
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
}

a:focus,
.btn:focus,
.btn:active:focus {
    box-shadow: none;
    outline: 0 none;
}

a,
a:active,
a:focus,
a:active {
    text-decoration: none;
}


.section {
    background: linear-gradient(117deg, rgba(32, 31, 56, 1) 51%, rgba(6, 60, 106, 1) 100%, rgba(252, 176, 69, 1) 100%);
    padding: 100px 0;
}

/*--
    custom heading
--*/

.heading {
    text-align: center;
    color: #777777;
    padding-bottom: 70px;
}

.heading h2 {
    color: rgb(102, 76, 157);
    padding-bottom: 30px;
    text-transform: capitalize;
    font-weight: 300;
    font-size: 40px;
    line-height: 40px;
}

#hero-area .skills-tech-stack__title {
    color: #a87fff;
    padding-bottom: 30px;
    text-transform: capitalize;
    font-weight: 300;
    font-size: 30px;
    line-height: 40px;

    /* ✅ center inside the right column */
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.heading p {
    color: #fff;
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
}

.sub-heading {
    margin-bottom: 30px;
}

.sub-heading h3 {
    line-height: 40px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.sub-heading h3 small {
    font-weight: 300;
}

.sub-heading h4 {
    font-size: 25px;
    margin-bottom: 15px;
}

.sub-heading>p {
    font-size: 14px;
    color: #fff;
}

.btn {
    border-radius: 0;
}

.btn-home {
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 0px;
    color: #fff;
    font-size: 18px;
    padding: 10px 40px;
    margin-top: 30px;
    border-radius: 5px;
    opacity: 50%;
}

.cta {
    display: flex;
    align-items: center;
    color: white;
    background: none;
    border: none;
    padding: 12px 18px;
    position: relative;
}

.cta:before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(calc(100% + 4px));
    width: 45px;
    height: 45px;
    background: #614798;
    border-radius: 50px;
    transition: transform .25s .25s cubic-bezier(0, 0, .5, 2), width .25s cubic-bezier(0, 0, .5, 2);
    z-index: -1;
}

.cta:hover::before {
    width: 70%;
    transform: translateY(-50%) translateX(-18px);
    transition: transform .25s cubic-bezier(0, 0, .5, 2), width .25s .25s cubic-bezier(0, 0, .5, 2);
}


/*.btn-home:hover,*/
/*.btn-home:focus {*/
/*    background-color: #614798;*/
/*    color: rgb(255, 255, 255);*/
/*    opacity: 20%;*/
/*}*/

.btn-border {
    border: 1px solid #fff;
    padding: 13px 40px;
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    text-shadow: none;
}


/* Sweep To Right */
.hover-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.hover-right:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #2098d1;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.hover-right:hover,
.hover-right:focus,
.hover-right:active {
    color: white;
}

.hover-right:hover:before,
.hover-right:focus:before,
.hover-right:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}


/*Preloader*/

#preloader {
    background-color: rgba(32, 31, 56, 1);
    bottom: auto;
    height: 100%;
    left: auto;
    position: fixed;
    right: auto;
    top: auto;
    width: 100%;
    z-index: 9999;
}

.book {
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    position: relative;
    margin: 0 auto;
    border: 5px solid #ecf0f1;
    width: 100px;
    height: 60px;
}

.book__page {
    position: absolute;
    left: 50%;
    top: -5px;
    margin: 0 auto;
    border-top: 5px solid #ecf0f1;
    border-bottom: 5px solid #ecf0f1;
    border-right: 5px solid #ecf0f1;
    background: #41aba0;
    width: 50px;
    height: 60px;
    -webkit-transform-origin: 0% 50%;
    -ms-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-animation: flip 1.2s infinite linear;
    animation: flip 1.2s infinite linear;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.book__page:nth-child(1) {
    z-index: -1;
    -webkit-animation-delay: 1.4s;
    animation-delay: 1.4s;
}

.book__page:nth-child(2) {
    z-index: -2;
    -webkit-animation-delay: 2.8s;
    animation-delay: 2.8s;
}

.book__page:nth-child(3) {
    z-index: -3;
    -webkit-animation-delay: 4.2s;
    animation-delay: 4.2s;
}

@-webkit-keyframes flip {
    0% {
        -webkit-transform: perspective(600px) rotateY(0deg);
        transform: perspective(600px) rotateY(0deg);
    }

    20% {
        background: #41aba0;
    }

    29.9% {
        background: #41aba0;
    }

    30% {
        -webkit-transform: perspective(200px) rotateY(-90deg);
        transform: perspective(200px) rotateY(-90deg);
        background: #41aba0;
    }

    54.999% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }

    60% {
        -webkit-transform: perspective(200px) rotateY(-180deg);
        transform: perspective(200px) rotateY(-180deg);
        background: #41aba0;
    }

    100% {
        -webkit-transform: perspective(200px) rotateY(-180deg);
        transform: perspective(200px) rotateY(-180deg);
        background: #41aba0;
    }
}

@keyframes flip {
    0% {
        -webkit-transform: perspective(600px) rotateY(0deg);
        transform: perspective(600px) rotateY(0deg);
    }

    20% {
        background: #41aba0;
    }

    29.9% {
        background: #41aba0;
    }

    30% {
        -webkit-transform: perspective(200px) rotateY(-90deg);
        transform: perspective(200px) rotateY(-90deg);
        background: #41aba0;
    }

    54.999% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }

    60% {
        -webkit-transform: perspective(200px) rotateY(-180deg);
        transform: perspective(200px) rotateY(-180deg);
        background: #41aba0;
    }

    100% {
        -webkit-transform: perspective(200px) rotateY(-180deg);
        transform: perspective(200px) rotateY(-180deg);
        background: #41aba0;
    }
}


/*--
    divider
--*/

.divider-hero-home {
    width: 100%;
    height: 5px;
    background-image: -webkit-gradient(linear, left top, right top, from(#7669ed), to(#65b7d3));
    background-image: linear-gradient(90deg, #7669ed, #65b7d3);
    /* background-position: 0 0; */
    /* overflow: hidden;
    overflow-x: hidden; */

}

/*--
    divider animation
--*/

.infinite-line1 {

    background-image: linear-gradient(to right, 90deg, #7669ed, #65b7d3);
    height: 100%;
    width: 100%;
    animation: 5s linear 0s infinite move_eye;

}

@keyframes move_eye {
    from {
        margin-left: -100%;
    }

    to {
        margin-left: 100%;
    }
}

.infinite-line2 {

    background-image: linear-gradient(to right, 90deg, #7669ed, #65b7d3);
    height: 100%;
    width: 100%;
    animation: 5s linear 0s infinite move_eye2;

}

@keyframes move_eye2 {
    from {
        margin-left: 100%;
    }

    to {
        margin-left: -100%;
    }
}

.infinite-line3 {

    background-image: linear-gradient(to right, 90deg, #7669ed, #65b7d3);
    height: 100%;
    width: 100%;
    animation: 5s linear 0s infinite move_eye3;

}

@keyframes move_eye3 {
    from {
        margin-left: -100%;
    }

    to {
        margin-left: 100%;
    }
}

.infinite-line4 {

    background-image: linear-gradient(to right, 90deg, #7669ed, #65b7d3);
    height: 100%;
    width: 100%;
    animation: 5s linear 0s infinite move_eye4;

}

@keyframes move_eye4 {
    from {
        margin-left: -100%;
    }

    to {
        margin-left: 100%;
    }
}


/*--
    #hero-area start
--*/


#hero-area {
    padding: 180px 0;
    background: linear-gradient(117deg, rgba(32, 31, 56, 1) 68%, rgba(6, 60, 106, 1) 100%, rgba(252, 176, 69, 1) 100%);
}

#hero-area:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url(../img/header-overlay.png);
    opacity: 0.9;
}

#hero-area .block {
    padding-top: 100px;
}

#hero-area .block h1 {
    margin-bottom: 35px;
    text-transform: uppercase;
    font-size: 40px;
    letter-spacing: 6px;
    position: relative;
}

#hero-area .block h1:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    background: #fff;
    height: 3px;
    width: 110px;

}

#hero-area .intro p {
    color: #f5f5f5;
}




.navbar-default {
    padding: 20px;
}



/* #hero-area  */


.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default.animated .navbar-nav>li>a:hover {
    color: #009ee5;
}

.navbar-default {
    background-color: transparent;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.navbar-default.is-scrolled {
    background: radial-gradient(circle, rgba(32, 31, 56, 1) 0%, rgba(6, 60, 106, 1) 75%);
    box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.15);
    padding: 20px;
}

.navbar-default {
    background-color: transparent;
    border: 0;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.navbar-default .navbar-nav>li>a,
.navbar-default .navbar-nav>li>a:hover {
    color: #fff;
    position: relative;
}

.navbar-default.is-scrolled .navbar-nav>li>a,
.navbar-default.is-scrolled .navbar-nav>li>a:hover {
    color: #000;
}

.navbar-default .navbar-nav>li.current>a {
    color: #fff;
}

.navbar-default.is-scrolled .navbar-nav>li.current>a {
    color: #409fce;
}

/* --- FIX: prevent navbar reflow when swapping logos (keeps hamburger fixed) --- */

.navbar-default .navbar-brand {
    position: relative;
    display: inline-block;
    color: #777;
    padding: 5px 0; /* keep your existing spacing */
}

/* Logo 1 stays in normal flow -> defines the brand size (no reflow) */
.navbar-default .navbar-brand img.logo-1 {
    display: block;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

/* Logo 2 is overlayed -> does NOT affect layout width/height */
.navbar-default .navbar-brand img.logo-2 {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

/* When navbar becomes "animated", only fade (don’t hide/remove) */
.navbar-default.is-scrolled .navbar-brand img.logo-1 {
    opacity: 0; /* still takes space, so header doesn't move */
}

.navbar-default.is-scrolled .navbar-brand img.logo-2 {
    opacity: 1;
}

@media (min-width: 768px) {
    #hero-area .navbar-default .navbar-nav {
        padding-top: 11px;
        padding-right: 60px;
    }
}

@media (max-width: 767px) {
    #hero-area .navbar-default .navbar-nav {
        padding-top: 11px;
        padding-right: 0;
    }
}

#hero-area .navbar-default .navbar-nav li {
    padding: 0px 15px;
}

#hero-area .navbar-default .navbar-nav li a {
    color: #fff;
    padding: 10px 0px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

#hero-area .navbar-default .navbar-nav li a:hover {
    position: relative;
    color: #fff;
}

#hero-area .navbar-default .navbar-nav li a:hover:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #fff;
}

#hero-area .navbar-default .navbar-nav>.active>a,
#hero-area .navbar-default .navbar-nav>.active>a:hover,
#hero-area .navbar-default .navbar-nav>.active>a:focus {
    position: relative;
    background: none;
    color: #fff;
}

#hero-area .navbar-default .navbar-nav>.active>a:before,
#hero-area .navbar-default .navbar-nav>.active>a:hover:before,
#hero-area .navbar-default .navbar-nav>.active>a:focus:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #fff;
}

#hero-area .block p {
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    line-height: 30px;
}

#hero-area .block .counter {
    background: rgba(255, 255, 255, 0.2);
    padding: 18px;
}

#hero-area .block .counter h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 5px;
    padding-bottom: 19px;
    text-align: center;
}

#hero-area .block .counter ul li {
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    display: inline-block;
    line-height: 25px;
    padding: 25px 28px 20px;
    text-align: center;
    width: 49%;
    margin-bottom: 3px;
}

#hero-area .block .counter ul li span {
    display: block;
    font-size: 16px;
    font-weight: 300;
}

#hero-area .block .counter ul li .digit {
    display: inline-block;
    font-size: 50px;
    font-weight: 300;
    line-height: 50px;
    position: relative;
    overflow: hidden;
    height: 60px;
}

/*--
    service start
--*/

#service {
    text-align: center;
    background: linear-gradient(117deg, rgba(32, 31, 56, 1) 35%, rgba(6, 60, 106, 1) 100%, rgba(252, 176, 69, 1) 100%);
}

.service {
    text-align: left;
}

.service .caption {
    text-align: center;
}

.service .caption h3 {
    margin: 0 0 10px;
    color: rgb(102, 76, 157);
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: normal;
    text-transform: uppercase;
}

.service .icon-box {
    display: inline-block;
    margin-bottom: 15px;
    overflow-y: hidden;
    position: relative;
    width: 100%;
}

.service .icon-box:before {
    display: block;
    content: '';
    position: relative;
    top: 75px;
    width: 100px;
    height: 1px;
    display: block;
    margin: 0 auto;
    background-color: #cbcbcd;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -khtml-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.service .icon-box .icon {
    background-color: #26282b;
    border-radius: 5px;
    display: inline-block;
    height: 75px;
    left: 36%;
    position: relative;
    top: 12px;
    width: 75px;
    -webkit-transform: rotate(50deg);
    -moz-transform: rotate(50deg);
    -ms-transform: rotate(50deg);
    -o-transform: rotate(50deg);
    transform: rotate(50deg);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #8ec64e), color-stop(100%, #41aba0));
    background: -webkit-linear-gradient(-45deg, #8ec64e 0%, #41aba0 100%);
    background: -o-linear-gradient(-45deg, #8ec64e 0%, #41aba0 100%);
    background: -ms-linear-gradient(-45deg, #8ec64e 0%, #41aba0 100%);
    background: linear-gradient(135deg, #8ec64e 0%, #41aba0 100%);
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -khtml-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.service:hover .icon-box .icon {
    background-color: #41aba0;
}

.service .icon-box .icon i {
    color: #fff;
    font-size: 30px;
    height: 75px;
    line-height: 70px;
    text-align: center;
    width: 75px;
    display: inline-block;
    -webkit-transform: rotate(-50deg);
    -moz-transform: rotate(-50deg);
    -ms-transform: rotate(-50deg);
    -o-transform: rotate(-50deg);
    transform: rotate(-50deg);
}

#service .thumbnail {
    border: 2px solid #DEDEDE;
    border-radius: 0px;
    padding: 40px 0;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#service .thumbnail:hover {
    background-color: #41aba0;
    border: 2px solid #41aba0;
    opacity: 1;
}

.thumbnail .icon {
    font-size: 50px;
}

#service .thumbnail:hover .icon,
#service .thumbnail:hover .caption h3,
#service .thumbnail:hover .caption p {
    color: #fff;
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
}

#service .thumbnail img {
    padding-bottom: 20px;
}

#service .thumbnail .img-adjust {
    margin-top: 10px;
    position: relative;
}

#service .thumbnail .caption h3 {
    color: #333333;
    font-weight: 300;
    font-size: 25px;
    padding-bottom: 22px;
}

#service .caption p {
    line-height: 1.5;
    font-size: 15px;
    color: #fff;
}

/*--
    About start
--*/

.about-text h1 {
    font-weight: 700;
    font-size: 36px;
    color: rgb(102, 76, 157);
    line-height: 1;
    margin-bottom: 5px;
}

.about-item img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 3px;
    transition: transform 1s;
}

.about-item img:hover {
    transform: translateZ(10px);
    box-shadow: 2px 2px 15px 3px rgb(255, 255, 255, 0.4);
}

/* #about h2 {
    font-weight: 700;
    font-size: 16px;
    color: #ccb6b6;
    line-height: 1;
    letter-spacing: 3px;
    margin-bottom: 18px;
} */
#about .heading p {
    font-size: 18px;
    color: #898989;
}

#about .block p {
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin-top: 20px;
}

#about .block .bottom-text {
    padding-right: 20px;
}

#about .block img {
    width: 100%;
}

#about .block a {
    margin-top: 10px;
}



.init-slider .owl-dots {
    margin-top: -25px;
    position: relative;
    text-align: center;
    z-index: 9;
}

.init-slider .owl-dot {
    background-color: #41aba0;
    border-radius: 50px;
    display: inline-block;
    height: 10px;
    margin: 0 5px;
    opacity: 0.6;
    width: 10px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.init-slider .owl-dot.active {
    opacity: 1;
}


/*--
    call-to-action start slider
--*/

/*--
    call-to-action start slider (JS-driven marquee + hover scrub)
--*/

.slider {
    height: 250px;
    margin-left: 0%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    user-select: none;
    cursor: default;
}

/* let clicks pass through gradient overlays */
.slider::before,
.slider::after {
    pointer-events: none;
    background: linear-gradient(to right, rgba(32, 31, 56, 1) 0%, rgba(255, 255, 255, 0) 100%);
    content: '';
    height: 100%;
    position: absolute;
    width: 10%;
    z-index: 2;
}

.slider::before {
    left: 0;
    top: 0;
}

.slider::after {
    right: -1%;
    top: 0;
    transform: rotateZ(180deg);
}

.slide-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    /* no hard-coded calc */
    will-change: transform;
    transform: translateX(0);
}

/* pause feeling on hover + indicate interaction */
.slider:hover {
    cursor: grab;
}

.slider.is-dragging {
    cursor: grabbing;
}

/* prevent opening links while dragging */
.slider.is-dragging a {
    pointer-events: none;
}

.slide {
    height: 200px;
    width: 250px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 15px;
}

/* --- Slider slide/link normalization --- */
#call-to-action .slide {
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform 300ms ease;
    transform: translateZ(0);
}

/* Make the <a> a proper box and center its content */
#call-to-action .slide>a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 0;
    /* removes baseline/inline offset */
}

/* THE HOVER ZOOM (wrapper-proof) */
#call-to-action .slide:hover {
    transform: scale(1.06);
    z-index: 5;
}

#call-to-action .slide:hover>img.bordershadow,
#call-to-action .slide:hover>a>img.bordershadow {
    box-shadow: 2px 2px 15px 3px rgba(255, 255, 255, 0.4);
}

/* === Force all logos to render inside the same box (Vertex size) === */
#call-to-action .slide {
    justify-content: center;
    /* center the frame in the slide */
    align-items: center;
}

#call-to-action .slide>a,
#call-to-action .slide>img.bordershadow {
    width: 220px;
    height: 146.667px;
    /* 220 x 146.667 */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

/* Make BOTH cases (direct img and img inside a) fill the same frame */
#call-to-action .slide>img.bordershadow,
#call-to-action .slide>a>img.bordershadow {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* keeps logo intact */
    display: block;
}

#call-to-action .heading h2 {
    color: rgb(102, 76, 157);
    padding-bottom: 30px;
    padding-top: 100px;
    text-transform: capitalize;
    font-weight: 300;
    font-size: 40px;
    line-height: 40px;
}

/*--
    gradient-shadow
--*/


#call-to-action {
    padding: 0px 0px;
    /* background-repeat: no-repeat; */
    /* background-size: cover; */
    /* position: relative; */
    background: linear-gradient(117deg, rgba(32, 31, 56, 1) 20%, rgba(6, 60, 106, 1) 100%, rgba(252, 176, 69, 1) 100%);
}

#call-to-action .block h2 {
    font-size: 25px;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: uppercase;
}

#call-to-action .block p {
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    line-height: 30px;
}

#call-to-action .block input {
    width: 40%;
    height: 40px;
    border-radius: 0;
    display: inline-block;
    box-shadow: none;
    vertical-align: middle;
}


hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0 0 24px 0;
    width: 100%;
}

.address p {
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 22px;
    color: #fff;
}

#contact {
    background: linear-gradient(117deg, rgba(32, 31, 56, 1) 10%, rgba(6, 60, 106, 1) 100%, rgba(252, 176, 69, 1) 100%);
}

/* New contact form card styles */

#contact .wrapper {
    --input-focus: #2d8cf0;
    --font-color: #323232;
    --font-color-sub: #666;
    --bg-color: #fff;
    --bg-color-alt: #666;
    --main-color: #323232;

    display: flex;
    justify-content: center;
}

/* switch card (you can use later if you want flip behaviour) */

#contact .flip-card__front {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: #d3d3d370;
    border-radius: 5px;
    border: 2px solid var(--main-color);
    box-shadow: 4px 4px var(--main-color);
    max-width: 350px;
    width: 100%;
}

#contact .flip-card__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#contact .title {
    margin: 20px 0 20px 0;
    font-size: 25px;
    font-weight: 900;
    text-align: center;
    color: var(--main-color);
}

#contact .flip-card__input {
    width: 250px;
    min-height: 40px;
    border-radius: 5px;
    border: 2px solid var(--main-color);
    background-color: var(--bg-color);
    box-shadow: 4px 4px var(--main-color);
    font-size: 15px;
    font-weight: 600;
    color: var(--font-color);
    padding: 5px 10px;
    outline: none;
    resize: vertical;
}

#contact .flip-card__input::placeholder {
    color: var(--font-color-sub);
    opacity: 0.8;
}

#contact .flip-card__input:focus {
    border: 2px solid var(--input-focus);
}

#contact .flip-card__btn:active {
    box-shadow: 0px 0px var(--main-color);
    transform: translate(3px, 3px);
}

#contact .flip-card__btn {
    margin: 20px 0 20px 0;
    width: 120px;
    height: 40px;
    border-radius: 5px;
    border: 2px solid var(--main-color);
    background-color: var(--bg-color);
    box-shadow: 4px 4px var(--main-color);
    font-size: 17px;
    font-weight: 600;
    color: var(--font-color);
    cursor: pointer;
}

/* keep success/error hidden initially */
#success,
#error {
    display: none;
}


footer {
    text-align: center;
    background: #272727;
    padding: 27px 0px;
}

footer p {
    font-weight: 300;
    font-size: 12px;
    color: #dfdfdf;
    letter-spacing: 3px;
}

footer p a {
    color: #fff;
}

footer p a:hover {
    color: #fff;
}

/* skills */

.skills {
    width: 500px;

}

.skills li {
    margin: 20px 0;
}

.skills li h5 {
    float: left;
    width: 100%;
    position: relative;
    text-align: right;
    font-size: 14px;
    font-weight: 400;
    top: -13px;
}

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

    .skills {
        width: 70%;
    }
}

.bar {
    background: #353b48;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 10px #2187e7b3;
}

.bar span {
    height: 2px;
    float: left;
    background: #2187e7;
}

.html {
    width: 90%;
    animation: html 2s;
}

.css {
    width: 80%;
    animation: css 2s;
}

.php {
    width: 85%;
    animation: php 2s;
}

.mysql {
    width: 75%;
    animation: mysql 2s;
}

.laravel {
    width: 90%;
    animation: laravel 2s;
}

.wordpress {
    width: 90%;
    animation: wordpress 2s;
}

.javascript {
    width: 70%;
    animation: javascript 2s;
}

.vuejs {
    width: 75%;
    animation: vuejs 2s;
}

.nodejs {
    width: 75%;
    animation: nodejs 2s;
}

@keyframes html {
    0% {
        width: 0%;
    }

    100% {
        width: 90%;
    }
}

@keyframes css {
    0% {
        width: 0%;
    }

    100% {
        width: 90%;
    }
}

@keyframes php {
    0% {
        width: 0%;
    }

    100% {
        width: 90%;
    }
}

@keyframes mysql {
    0% {
        width: 0%;
    }

    100% {
        width: 90%;
    }
}

@keyframes laravel {
    0% {
        width: 0%;
    }

    100% {
        width: 90%;
    }
}

@keyframes wordpress {
    0% {
        width: 0%;
    }

    100% {
        width: 90%;
    }
}

@keyframes javascript {
    0% {
        width: 0%;
    }

    100% {
        width: 90%;
    }
}

@keyframes nodejs {
    0% {
        width: 0%;
    }

    100% {
        width: 90%;
    }
}

@keyframes vuejs {
    0% {
        width: 0%;
    }

    100% {
        width: 90%;
    }
}



/* rainbow text */

.rainbow-text {
    /* Create a conic gradient. */
    /* Double percentages to avoid blur (#000 10%, #fff 10%, #fff 20%, ...). */
    background: #CA4246;
    background-color: #CA4246;
    background: conic-gradient(#CA4246 16.666%,
            #E16541 16.666%,
            #E16541 33.333%,
            #F18F43 33.333%,
            #F18F43 50%,
            #8B9862 50%,
            #8B9862 66.666%,
            #476098 36.666%,
            #476098 43.333%,
            #A7489B 83.333%);
    text-transform: uppercase;


    /* Set thee background size and repeat properties. */
    background-size: 67%;
    background-repeat: repeat;

    /* Use the text as a mask for the background. */
    /* This will show the gradient as a text color rather than element bg. */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Animate the text when loading the element. */
    /* This animates it on page load and when hovering out. */
    animation: rainbow-text-animation-rev 0.5s ease forwards;

    cursor: none;
}

/* Add animation on hover. */
.rainbow-text:hover {
    animation: rainbow-text-animation 0.5s ease forwards;
}

/* Move the background and make it larger. */
/* Animation shown when hovering over the text. */
@keyframes rainbow-text-animation {
    0% {
        background-size: 57%;
        background-position: 0 0;
    }

    20% {
        background-size: 57%;
        background-position: 0 1em;
    }

    100% {
        background-size: 200%;
        background-position: -9em 1em;
    }
}

/* Move the background and make it smaller. */
/* Animation shown when entering the page and after the hover animation. */
@keyframes rainbow-text-animation-rev {
    0% {
        background-size: 200%;
        background-position: -9em 1em;
    }

    20% {
        background-size: 57%;
        background-position: 0 1em;
    }

    100% {
        background-size: 57%;
        background-position: 0 0;
    }
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    #navigation .navbar-toggle {
        display: none !important;
    }

    html,
    body {
        overflow-x: hidden;
    }

    #navigation {
        left: 0;
        right: 0;
        width: 100%;
    }

    #navigation img {
        max-width: 100%;
        height: auto;
    }

}