/* GENERAL */
@font-face {
    font-family: "MontserratMedium";
    src: url("/assets/fonts/Montserrat-Medium.ttf");
}

@font-face {
    font-family: "MontserratRegular";
    src: url("/assets/fonts/Montserrat-Regular.ttf");
}

@font-face {
    font-family: "MontserratBold";
    src: url("/assets/fonts/Montserrat-Bold.ttf");
}

@font-face {
    font-family: "SFPRO";
    src: url("/assets/fonts/SFPRODISPLAYBOLD.OTF");
}

:root {
    --ft-med: "MontserratMedium";
    --ft-reg: "MontserratRegular";
    --ft-bold: "MontserratBold";
    --cl-main: #002142;
    --cl-sec: #706cff;
    --cl-white: #fff;
}

body {
    box-sizing: border-box;
    font-family: var(--ft-med);
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

button {
    outline: none;
    border: none;
    background: none;
}

section {
    margin-bottom: 80px;
}

.tabold-btn {
    display: inline-block;
    padding: 15px 15px;
    border-radius: 50px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tabold-btn:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cl-sec);
    border-radius: 50px;
    z-index: -2;
}

.tabold-btn:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #403d91;
    transition: all 0.3s;
    border-radius: 50px;
    z-index: -1;
}

.tabold-btn:hover {
    color: #fff;
}

.tabold-btn:hover:before {
    width: 100%;
}

.tabold-btn-second svg {
    height: 53px;
    width: 53px;
}

.section-background {
    padding-top: 110px;
    position: relative;
}

.transition-block {
    height: 75px;
    display: block;
    background: linear-gradient(to top, white, transparent);
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: -1;
}

/* NAVBAR */
.navbar {
    height: 60px;
    background: transparent;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.navbar,
.mnavigation {
    margin-bottom: 0;
}

.navbar-container,
.navbar-logo a,
.navbar-links,
.navbar-actions {
    display: flex;
    align-items: center;
}

.navbar-link {
    transition: 0.3s all;
}

.navbar-link:hover {
    color: var(--cl-sec);
}

.navbar-container {
    justify-content: space-between;
    width: 100%;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--cl-main);
}

.navbar-logo a {
    gap: 10px;
}

.circle {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background: var(--cl-sec);
}

.navbar-logo-title {
    font-family: "SFPRO";
    font-size: 20px;
    color: var(--cl-main);
}

.navbar-links {
    gap: 20px;
}

.navbar-link {
    font-size: 16px;
    color: var(--cl-main);
    position: relative;
}

.navbar-link-line {
    position: absolute;
    bottom: -21px;
    height: 2px;
    background: var(--cl-sec);
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s;
}

.navbar-link:hover .navbar-link-line {
    opacity: 1;
}

.navbar-actions {
    gap: 10px;
}

.mnavigation {
    display: none;
}

.menu img {
    width: 40px;
    height: 40px;
}

/* WELCOME */
.welcome {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    padding-top: 80px;
}

.welcome-container {
    display: grid;
    place-items: center;
    gap: 20px;
}

.welcome-title {
    font-size: 70px;
    text-align: center;
    color: var(--cl-main);
    line-height: 1.2;
}

.welcome-subtitle {
    font-size: 14px;
    color: var(--cl-main);
    text-align: center;
}

.welcome-video {
    width: 100%;
}

.welcome-video video {
    height: 450px;
    width: 100%;
    border-radius: 50px;
    object-fit: cover;
}

/* SERVICES */
.service-card {
    height: 400px;
    width: 100%;
    position: relative;
    border-radius: 50px;
    padding: 30px;
    display: grid;
    place-content: end;
    gap: 10px;
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 27px;
    cursor: pointer;
}

.news-container .service-card-image {
    width: 100%;
    object-fit: cover;
    height: 100%;
    position: absolute;
    border-radius: 50px;
    z-index: -1;
}

.news-container .service-card::before {
    content: "";
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    background: linear-gradient(
        0deg,
        rgba(112, 108, 255, 0.5) 0%,
        rgba(51, 51, 51, 0.5) 100%
    );
    border-radius: 50px;
}

.news-container .service-card-title {
    z-index: 1;
    font-family: var(--ft-bold);
    color: var(--cl-white);
}

.service-card .tabold-btn-second {
    position: absolute;
    top: 20px;
    right: 20px;
}

.service-card-image svg {
    height: 50px;
    width: 50px;
}

.service-card-title {
    font-size: 20px;
    color: var(--cl-main);
}

.service-card-text {
    font-size: 14px;
    color: var(--cl-main);
}

#service-card-services {
    display: none;
}

.welcome:before,
.service-card-count:before,
.service-card-staff:before,
.service-card-fiscal:before,
.service-card-consultation:before,
.service-card-evidence:before,
.section-background:before,
.advantage-card:before,
.price-card:before,
.contact-card:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    z-index: -1;
}

.welcome:before {
    opacity: 0.3;
    border-radius: 0;
    background: url("/assets/images/welcome-background.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.contact-card:before {
    opacity: 0.5;
    background: url("/assets/images/cards-background/first-card.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: 0.3s all;
}

.price-card:before {
    opacity: 0.5;
    background: url("/assets/images/cards-background/first-card.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: 0.3s all;
}

.advantage-card:before {
    opacity: 0.5;
    background: url("/assets/images/cards-background/first-card.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: 0.3s all;
}

.section-background:before {
    opacity: 0.1;
    border-radius: 0;
    background: url("/assets/images/welcome-background.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.service-card-count:before {
    opacity: 0.5;
    background: url("/assets/images/cards-background/first-card.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: 0.3s all;
}

.service-card-staff:before {
    opacity: 0.2;
    z-index: -1;
    background: url("/assets/images/cards-background/second-card.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: 0.3s all;
}

.service-card-fiscal:before {
    opacity: 0.4;
    z-index: -1;
    background: url("/assets/images/cards-background/third-card.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: 0.3s all;
}

.service-card-consultation:before {
    opacity: 0.4;
    z-index: -1;
    background: url("/assets/images/cards-background/fourth-card.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: 0.3s all;
}

.service-card-evidence:before {
    opacity: 0.6;
    z-index: -1;
    background: url("/assets/images/cards-background/fifth-card.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: 0.3s all;
}

.service-card-contact {
    background-color: var(--cl-sec);
    background-image: url("/assets/images/cards-background/contact-card.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.service-card-count:hover:before,
.service-card-staff:hover:before,
.service-card-fiscal:hover:before,
.service-card-consultation:hover:before,
.service-card-evidence:hover:before {
    opacity: 1;
}

.service-card-contact {
    place-content: space-between;
}

.service-card-contact .service-card-title,
.service-card-contact .service-card-text {
    color: var(--cl-white);
}

.service-card-contact .service-card-title {
    margin-top: 50px;
    text-transform: uppercase;
}

.service-card-contact .tabold-btn-second,
.tabold-actions .tabold-btn-second {
    position: unset;
    width: 20%;
}

.service-card-contact .tabold-btn,
.tabold-actions .tabold-btn {
    background: var(--cl-white);
    color: var(--cl-sec);
    width: 78%;
}

.service-card-contact .tabold-btn:after {
    background-color: var(--cl-white);
}

.service-card-contact .tabold-btn:before {
    background-color: #dedcdc;
}

.service-card-number {
    height: 50px;
    width: 50px;
    background: var(--cl-main);
    color: var(--cl-white);
    font-size: 20px;
    font-family: var(--ft-bold);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
}

/* AREAS */
.areas-container {
    background: var(--cl-main);
    border-radius: 50px;
    padding: 30px;
}

.areas-title-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.areas-title {
    color: var(--cl-white);
    text-transform: uppercase;
    font-size: 20px;
    font-family: var(--ft-bold);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}

.slider {
    border-top: 2px solid var(--cl-white);
    border-bottom: 2px solid var(--cl-white);
    height: 100px;
    margin: auto;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

.slider::before,
.slider::after {
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

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

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

.slider .slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(300px * 14);
}

.slider .slide {
    height: 100px;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.slide .circle {
    background: var(--cl-white);
}

.slide-title {
    color: var(--cl-white);
    font-family: var(--ft-bold);
    font-size: 20px;
    text-transform: uppercase;
}

.areas-advantages {
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--cl-white);
}

.area-advantage-block {
    display: grid;
    gap: 15px;
    margin-bottom: 26px;
}

.area-header-img svg {
    height: 30px;
    width: 30px;
}

.area-block-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.area-header-title {
    font-size: 18px;
    color: var(--cl-white);
    text-transform: uppercase;
}

.area-block-body {
    color: var(--cl-white);
    font-size: 14px;
}

.areas-advantages-image img {
    width: 100%;
    height: 300px;
    object-fit: contain;
}

.experience {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.experience-block {
    display: grid;
}

.experience-header {
    font-size: 70px;
    font-family: var(--ft-med);
    color: var(--cl-white);
    line-height: 1;
}

.experience-header span,
.experience-body {
    font-family: var(--ft-reg);
    color: var(--cl-white);
}

.experience-header span {
    font-size: 20px !important;
}

.experience-body {
    font-size: 15px;
}

/* STEPS */
.steps .service-card {
    place-content: center;
}

.owl-steps {
    display: none !important;
}

.owl-steps .service-card {
    box-shadow: none;
}

.owl-steps .item {
    margin: 15px;
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
}

/* TABOLD */
.tabold-container {
    background: var(--cl-main);
    border-radius: 50px;
    padding: 30px;
}

.tabold-container-image img {
    height: 300px;
    width: 100%;
    object-fit: contain;
}

.tabold-block {
    display: grid;
    place-content: space-between;
    height: 100%;
}

.tabold-header {
    font-size: 40px;
    color: var(--cl-white);
    text-transform: uppercase;
    line-height: 1.2;
}

.tabold-body {
    font-size: 16px;
    color: var(--cl-white);
}

.tabold-actions .tabold-btn {
    background: var(--cl-white);
    color: var(--cl-main);
    padding: 15px 15px;
}

.tabold-actions .tabold-btn:after {
    background-color: var(--cl-white);
}

.tabold-actions .tabold-btn:before {
    background-color: #dedcdc;
}

/* NEWS */
.news-container {
    display: block;
}

/* .news-card-less-tax {
    background: url("/assets/images/cards-background/working-alone.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.news-card-startup {
    background: url("/assets/images/cards-background/man-working.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.news-card-services {
    background: url("/assets/images/cards-background/team-metting.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.news-card-less-tax:before,
.news-card-startup:before,
.news-card-services:before {
    content: "";
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    background: linear-gradient(
        0deg,
        rgba(112, 108, 255, 0.5) 0%,
        rgba(51, 51, 51, 0.5) 100%
    );
    border-radius: 50px;
} */

.news .service-card .service-card-title {
    position: absolute;
    left: 30px;
    bottom: 30px;
    color: var(--cl-white);
    font-size: 18px;
    font-family: var(--ft-bold);
    text-transform: uppercase;
    line-height: 1.2;
}

/* FOOTER */
footer {
    background: var(--cl-main);
}

.footer-container {
    padding: 20px 0;
}

.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--cl-white);
}

footer .navbar-logo-title,
footer .navbar-link,
.footer-rights,
.footer-company {
    color: var(--cl-white);
}

.footer-rights,
.footer-company {
    font-family: var(--ft-reg);
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-action svg {
    height: 36px;
    width: 36px;
}

.footer-footer {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* SERVICES PAGE */
.page-title,
.page-subtitle {
    color: var(--cl-main);
}

.page-title {
    margin-bottom: 10px;
    font-size: 35px;
    font-family: var(--ft-bold);
}

.page-subtitle {
    font-size: 14px;
    font-family: var(--ft-med);
    margin-bottom: 20px;
}

/* ABOUT-US PAGE */
.about-us-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 50px;
}

.about-us-text {
    height: 100%;
    display: grid;
    place-content: center;
    gap: 20px;
}

.about-us-title {
    font-size: 28px;
    font-family: var(--ft-bold);
    color: var(--cl-main);
}

.about-us-paragraph {
    font-size: 16px;
    font-family: var(--ft-med);
    color: var(--cl-main);
}

.about-us-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.advantage-card {
    height: 175px;
    position: relative;
    border-radius: 50px;
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 27px;
    display: grid;
    place-content: center;
    padding-right: 13px;
}

.advantage-card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-left: 20px;
}

.advantage-card-header-img {
    height: 45px;
    width: 45px;
}

#advantage-card-header-img {
    height: 300px;
    width: 300px;
    object-fit: cover;
}

#advantage-card-header-img img {
    width: 100%;
    border-radius: 50%;
}

.advantage-card-header-title {
    font-size: 20px;
    font-family: var(--ft-bold);
    color: var(--cl-main);
}

.advantage-card-body {
    padding-left: calc(13px + 45px + 20px);
    padding-right: 20px;
    font-size: 14px;
    color: var(--ft-med);
}

.ceo-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ceo-card-header-img {
    height: 200px;
    width: 200px;
}

.ceo-card-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.ceo-card-header-title {
    font-size: 20px;
    font-family: var(--ft-bold);
    color: var(--cl-main);
}

.ceo-text {
    margin: 40px 0;
}

.page-advantages .page-title {
    font-size: 25px;
}

/* PRICE PAGE */
.price-range {
    font-size: 35px;
    font-family: var(--ft-bold);
    color: var(--cl-main);
}

.price-factors {
    font-family: var(--ft-bold);
    font-size: 16px;
    margin-bottom: 20px;
}

.price-card {
    height: 200px;
    display: grid;
    place-content: center;
    position: relative;
    gap: 15px;
    padding: 0 25px;
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
}

.price-header {
    font-size: 20px;
    font-family: var(--ft-bold);
    color: var(--cl-main);
}

.price-body {
    font-size: 14px;
    font-family: var(--ft-med);
    color: var(--cl-main);
}

.price-text {
    margin-top: 30px;
}

.price-text div {
    font-size: 16px;
    font-family: var(--ft-med);
    margin-bottom: 10px;
}

/* CONTACTS PAGE */
#map {
    height: 400px;
    border-radius: 50px;
}

.gm-style .gm-style-iw-c {
    border-radius: 50px !important;
}

.gm-style-iw button {
    display: none !important;
}

.contact-link {
    text-transform: none;
    color: inherit;
}

.contact-card {
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 50px;
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.1);
    justify-content: center;
}

.contact-card-location {
    padding-left: 50px;
}

.contact-card-img svg {
    height: 45px;
    width: 45px;
    position: absolute;
    top: 25%;
    left: 15px;
}

.contact-card-link {
    font-size: 15px;
    font-family: var(--ft-bold);
}

.contact-card:hover .contact-card-link {
    color: var(--cl-second);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    /* GENERAL */
    section {
        margin-bottom: 50px;
    }

    .page-title {
        font-size: 27px;
    }

    /* NAVBAR */
    .navbar {
        display: none;
    }

    .mnavigation,
    .mnavigation-container {
        display: flex;
        align-items: center;
    }

    .mnavigation {
        height: 70px;
        background: transparent;
    }

    .mnavigation-container {
        justify-content: space-between;
        padding-bottom: 10px;
    }

    .offcanvas .offcanvas-body .navbar-links {
        align-items: start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    /* FOOTER */
    footer .navbar-links,
    .footer-header,
    .footer-footer {
        flex-direction: column;
    }

    footer .navbar-links {
        align-items: start;
        gap: 20px;
    }

    .footer-actions {
        gap: 25px;
    }

    .footer-header {
        align-items: start;
        gap: 20px;
        padding-bottom: 35px;
        border-bottom: 1px solid var(--cl-white);
    }

    .footer-action svg {
        height: 30px;
        width: 30px;
    }

    .footer-footer {
        gap: 15px;
        flex-direction: column-reverse;
        align-items: start;
        margin-top: 35px;
    }

    .footer-rights {
        font-size: 12px;
    }

    /* WELCOME */
    .welcome {
        padding-top: 0;
        display: grid;
        place-items: center;
        margin-bottom: 0;
    }

    .services-page {
        margin-top: -20px;
    }

    .services-page,
    .about-us-page,
    .price-page,
    .contacts-page {
        padding-top: 20px;
    }

    .welcome:before {
        opacity: 1;
    }

    .welcome-title {
        font-size: 40px;
        font-family: var(--ft-bold);
    }

    .welcome-actions .tabold-btn-second {
        display: none;
    }

    /* SERVICES */
    #service-card-services {
        display: block;
    }

    #service-card-contact {
        display: none;
    }

    /* AREAS */
    .areas-container {
        position: relative;
        overflow: hidden;
    }

    #areas-advantages-image {
        position: absolute;
        bottom: 10%;
        right: -50%;
    }

    .areas-advantages-image {
        opacity: 0.3;
    }

    .areas-advantages {
        padding-bottom: 0;
        border-bottom: none;
    }

    .area-header-title {
        font-size: 17px;
    }

    .area-block-body {
        font-family: var(--ft-reg);
    }

    .experience {
        flex-direction: column;
        margin-top: 0;
        align-items: start;
        gap: 30px;
    }

    /* STEPS */
    .owl-steps {
        display: block;
    }

    .steps-container {
        display: none;
    }

    /* TABOLD */
    .tabold-header {
        font-size: 21px;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .tabold-body {
        margin-bottom: 25px;
        font-family: var(--ft-reg);
        font-size: 15px;
    }

    .tabold-actions {
        margin-bottom: 40px;
    }

    /* NEWS */
    .news-container {
        display: none;
    }

    /* PAGES */
    .about-us-title {
        font-size: 24px;
        margin-top: 20px;
    }

    .advantage-card {
        height: 200px;
    }

    .advantage-card-header-img {
        height: 37px;
        width: 37px;
    }

    .advantage-card-header-title {
        font-size: 17px;
    }

    .advantage-card-body {
        padding-left: calc(13px + 37px + 20px);
    }

    /* CONTACTS */
    .contact-card {
        margin-bottom: 27px;
    }
}

@media (min-width: 1300px) and (max-width: 1660px) {
    .welcome-video video {
        height: 300px;
        border-radius: 50px;
        object-fit: cover;
    }

    .welcome-video {
        display: grid;
        place-items: center;
    }

    .welcome-title {
        font-size: 55px;
    }
}
