/********** Template CSS **********/
:root {
    --primary: #2124B1;
    --secondary: #4777F5;
    --light: #F7FAFF;
    --dark: #1D1D27;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Hero Header ***/
.hero-header {
    background:
        url(../img/bg-dot.png),
        url(../img/bg-dot.png),
        url(../img/bg-round.png),
        url(../img/bg-tree.png),
        url(../img/bg-bottom-hero.png);
    background-position:
        10px 10px,
        bottom 190px right 10px,
        left 55% top -1px,
        left 45% bottom -1px,
        center bottom -1px;
    background-repeat: no-repeat;
}

nav.navbar.sticky-top.admin{
    top: 32px;
}

div#home {
    width: 100%;
    max-width: 100%;
}

div#home .bg-primary {
    width: 100%;
    max-width: 100%;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}


/*** Service ***/
.service-item {
    position: relative;
    height: 100%;
    padding: 30px 25px;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: url(../img/icon-shape-primary.png) center center no-repeat;
    transition: .5s;
}

.service-item:hover .service-icon {
    color: var(--primary);
    background: url(../img/icon-shape-white.png);
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p,
.service-item:hover span {
    color: var(--light);
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: #DDDDDD;
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}

span.services-price {
    color: #1D1D27;
    font-size: 20px;
    margin-bottom: 15px;
}

.service-item p {
    height: inherit;
}

/*** Get started ***/
div#wpcf7-f92-o1 .my-custom-button {
    background: transparent; /* Set the background to transparent */
    border: none; /* Remove the border */
    cursor: pointer; /* Change the cursor to a pointer on hover */
}

div#wpcf7-f92-o1 button.wpcf7-submit.my-custom-button {
    color: #2124B1;
    font-size: 23px;
    padding: 8px;
}

div#wpcf7-f92-o1 form.wpcf7-form.init p {
    align-items: center;
    display: flex;
}
div#wpcf7-f92-o1 input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email{
    border: 0;
    height: 48px;
    padding-left: 1.5rem;
    padding-right: 3rem;
    border-radius: 50px;
}

div#wpcf7-f92-o1 form.wpcf7-form.init{
    display: flex;
    position: relative;
}

div#wpcf7-f92-o1 .custom-contact-button-class {
    position: absolute;
    right: 9px;
    top: 0;
}

div#wpcf7-f92-o1 .wpcf7-response-output {
    position: absolute;
    top: 38px;
    color: #fff;
    border-color: #fff;
}

div#wpcf7-f92-o1 span.wpcf7-not-valid-tip {
    margin-left: 8px;
}

div#ready-to-get-started {
    width: 100%;
    max-width: 100%;
}

@media screen and (max-width: 500px) {
    div#wpcf7-f92-o1 input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email{
        padding-right: unset;
    }
}

/*** Testimonial ***/
.newsletter,
.testimonial {
    background:
        url(../img/bg-top.png),
        url(../img/bg-bottom.png);
    background-position:
        left top,
        right bottom;
    background-repeat: no-repeat;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--light) !important;
    border-color: var(--light);
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #888888;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item h6 {
    color: var(--dark) !important;
}

.bg-primary.testimonial {
    width: 100%;
    max-width: 100%;
}

p.testimonial-text{
    height: 192px;
}

@media screen and (max-width: 500px){
    p.testimonial-text{
        height: 100px;
    }
}


/*** About me ***/
.team-item {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.team-item::after {
    position: absolute;
    content: "";
    top: 3rem;
    right: 3rem;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    background: var(--primary);
}

.team-item h5,
.team-item small {
    transition: .5s;
}

.team-item:hover h5,
.team-item:hover small {
    color: var(--light);
}

.image-about-me-section{
    object-fit: cover;
}

@media screen and (max-width: 500px) {
    .team-item .d-flex{
        flex-wrap: wrap-reverse;
    }
    .team-item .d-flex .flex-shrink-0{
        width: 100%!important;
    }
    .team-item::after{
        right: 0;
    }
    .about-block-1{
        justify-content: center;
    }
    .about-block-1 a{
        font-size: 20px;
    }
}



/*** Project Portfolio ***/
#portfolio-flters .btn {
    position: relative;
    display: inline-block;
    margin: 10px 4px 0 4px;
    transition: .5s;
}

#portfolio-flters .btn::after {
    position: absolute;
    content: "";
    right: -1px;
    bottom: -1px;
    border-left: 20px solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 50px solid #FFFFFF;
}

#portfolio-flters .btn:hover,
#portfolio-flters .btn.active {
    color: var(--light);
    background: var(--primary);
}

.portfolio-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    top: 0;
    left: 0;
    background: #00000060;
    transition: .5s;
    z-index: 1;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item .btn {
    position: absolute;
    width: 90px;
    height: 90px;
    top: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/icon-shape-white.png) center center no-repeat;
    border: none;
    transition: .5s;
    opacity: 0;
    z-index: 2;
}

.portfolio-item:hover .btn {
    opacity: 1;
    transition-delay: .15s;
}

.portfolio-item {
    height: 205px;
}

.portfolio-item .position-relative.rounded.overflow-hidden{
    height: 100%;
}

.portfolio-item img.img-fluid {
    object-fit: cover;
    height: 100%;
    border: 1px solid #d4d4d4;
    border-radius: 15px;
}


/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}



div#wpcf7-f92-o3 .my-custom-button {
    background: transparent; /* Set the background to transparent */
    border: none; /* Remove the border */
    cursor: pointer; /* Change the cursor to a pointer on hover */
}

div#wpcf7-f92-o3 button.wpcf7-submit.my-custom-button {
    color: #2124B1;
    font-size: 23px;
    padding: 8px;
}

div#wpcf7-f92-o3 form.wpcf7-form.init p {
    align-items: center;
    display: flex;
}
div#wpcf7-f92-o3 input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email{
    border: 0;
    height: 48px;
    padding-left: 1.5rem;
    padding-right: 3rem;
    border-radius: 50px;
}

div#wpcf7-f92-o3 form.wpcf7-form.init{
    display: flex;
    position: relative;
}

div#wpcf7-f92-o3 .custom-contact-button-class {
    position: absolute;
    right: 9px;
    top: 0;
}

div#wpcf7-f92-o3 .wpcf7-response-output {
    position: absolute;
    top: 38px;
    color: #fff;
    border-color: #fff;
}

div#wpcf7-f92-o3 span.wpcf7-not-valid-tip {
    margin-left: 8px;
}

.footer-social{
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}
.footer-social:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--light);
}

@media screen and (max-width: 500px) {
    div#wpcf7-f92-o3 input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email{
        padding-right: unset;
    }
    .footer .btn.btn-link{
        text-align: center;
    }
    .footer h5.text-white.mb-4 {
        text-align: center;
    }
    .footer .footer-social{
        text-align: center;
    }
    .footer .d-flex.pt-2{
        justify-content: center;
    }
}



/*** 404 page ***/

body.error404 section.error-404.not-found {
    padding: 100px 0;
}

body.error404 nav.navbar{
    background: #fff;
}

.error404 .navbar-light .navbar-brand h1{
    color: #2124b1;
}

.error404 .navbar-light .navbar-nav .nav-link{
    color: #1d1d27!important;
}


/*** contact popup ***/

.popup-main-block {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
}

.popup-background{
    background: #0000008f;
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;
}

.popup-main {
    background: #fff;
    width: 55%;
    height: fit-content;
    display: flex;
    justify-content: center;
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    z-index: 999;
    position: relative;
}

.main-popup-content-block {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.main-popup-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.main-popup-content .popup-button{
    width: 100%;
}

.main-popup-content input.wpcf7-form-control.wpcf7-submit {
    color: #fff;
    background-color: #2124B1;
    border-color: #2124B1;
    font-weight: 500;
    transition: .5s;
    border-radius: 10px;
    padding: 0.5rem 1.5rem;
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
    height: 58px;
    width: 100%;
}

.popup-close {
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 18px;
    cursor: pointer;
    color: #0003;
}

h3.popup-title {
    padding-bottom: 5px;
}

.popup-main input.wpcf7-form-control,
.popup-main textarea.wpcf7-form-control{
    border-radius: 3px;
    border: 1px solid #00000042;
    padding: 7px;
}

.main-popup-content-name-email {
    width: 50%;
    display: flex;
}

.main-popup-content-name-email input.wpcf7-form-control.wpcf7-text{
    width: 100%;
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
    border-radius: 3px;
}

.main-popup-content-name-email:first-child {
    padding-right: 6px;
}

.main-popup-content-name-email:last-child {
    padding-left: 6px;
}
.main-popup-content p {
    width: 100%;
}

.main-popup-content .wpcf7-spinner{
    position: absolute;
}

.main-popup span {
    color: #000;
}

span.popup-text-or,
span.popup-text-messenger{
    display: flex;
    justify-content: center;
    color: #000;
    font-size: 18px;
}

span.popup-text-messenger{
    margin-top: 1rem;
    font-size: 16px;
}

.popup-contact-block{
    margin-top: 1rem;
}

.popup-contact-block a.contact-item {
    color: #000;
    padding: 0 12px;
    font-size: 36px;
    outline: none;
}

.main-popup .wpcf7-response-output {
    margin: 0!important;
}

input.wpcf7-form-control.wpcf7-text.popup-tracker-button {
    display: none;
}

/*** Why do you need a website ***/

a.contact-item {
    font-size: 30px;
    padding: 0 8px;
}

/*** Contact us ***/
div#wpcf7-f150-o2 input {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}
div#wpcf7-f150-o2 textarea {
    padding: 1rem 0.75rem;
}
div#wpcf7-f150-o2 .popup-button {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
}
div#wpcf7-f150-o2 input.wpcf7-form-control.wpcf7-submit{
    justify-content: center;
    width: 100%;
    border-radius: 10px;
}

