/* Hero */

.hero {
    position: relative;

    padding: 56px 0 72px;

    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;

    max-width: 1410px;
    padding-right: 0;
    padding-left: 0;
}

.hero .container:before {
    content: url('../img/PP/element2.svg');

    position: absolute;
    left: -429px;
    bottom: 56px;
    z-index: -1;

    width: 360px;
    height: 360px;

    pointer-events: none;
    
}

.hero .container:after {
    content: url('../img/PP/element3.svg');

    position: absolute;
    left: 1422px;
    bottom: 337px;
    z-index: -1;

    width: 360px;
    height: 360px;

    pointer-events: none;
}


/* Hero top */

.hero__top {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 24px;

    margin-bottom: 32px;
}

.hero__top > * {
    padding-right: 0;
    /* padding-left: 0; */
}

.hero__top .col-lg-3 {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    height: 100%;
}

.hero__title {
    margin: 0;
    max-width: 480px;
    font-family: 'RoadRadio', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #1D3F77;
}

.hero__text {
    margin: 0;
    margin-left: auto;
    padding: 10px 20px 10px 20px;
    max-width: 470px;

    border-radius: 18px;
    background: #ffffff;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.45;

    color: #454545;
}

.hero__text a {
    font-weight: 500;

    color: #1D3F77;
}

.hero__presentation {
    display: inline-flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px;
    height: 86px;
    width: 100%;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    margin-top: auto;
    color: #F7941D;
}

.hero__presentation img {
    width: 32px;
    height: 32px;

    flex-shrink: 0;
}


/* Hero body */

.hero__body {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 30px;

    position: relative;
    z-index: 2;

    margin-bottom: 25px;
}

.hero-slider {
    position: relative;

    height: 470px;

    overflow: hidden;
    border-radius: 10px;
}

.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
    height: 100%;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: grayscale(1);
}


/* Slider arrows */

.hero-slider__prev,
.hero-slider__next {
    position: absolute;
    top: 50%;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 94px;

    border: none;

    background: #1D3F77;

    font-size: 36px;
    line-height: 1;

    color: #ffffff;

    transform: translateY(-50%);
}

.hero-slider__prev {
    left: 0;

    border-radius: 0 10px 10px 0;
}

.hero-slider__next {
    right: 0;

    border-radius: 10px 0 0 10px;
}


/* Slider pagination */

.hero-slider__pagination {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    width: fit-content;
    
    max-width: 300px;
    height: 40px;
    padding: 0 24px;

    border-radius: 999px;
    background: rgba(0, 0, 0, 0.2);

    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);

}

.hero-slider__pagination .swiper-pagination-bullet {
    width: 22px;
    height: 3px;

    margin: 0;

    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;

    transition: width .3s ease, background-color .3s ease;
}

.hero-slider__pagination .swiper-pagination-bullet-active {
    width: 40px;

    background: #F7941D;
}

/* Hero stats */

.hero__stats {
    display: flex;
    flex-direction: column;
    gap: 10px;

    height: 470px;
}

.hero-stat {
    flex: 1;

    padding: 27px 30px;

    overflow: hidden;

    border-radius: 10px;
    background: #1D3F77;

    color: #ffffff;
}

.hero-stat__value {
    margin-bottom: 16px;

    font-family: 'RoadRadio', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.hero-stat__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.3;
}


/* Hero categories */

.hero__categories {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 10px;
}

.hero-category {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: 200px;
    padding: 16px 18px 14px;

    border-radius: 10px;
    background: #ffffff;

    transition: transform .2s ease;
}

.hero-category:hover {
    transform: translateY(-2px);
}

.hero-category__title {
    display: block;

    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;

    color: #1D3F77;
}

.hero-category__picture {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1;

    margin: 8px 0;
}

.hero-category__picture img {
    width: auto;
    max-width: 100px;
    max-height: 100px;

    object-fit: contain;
}

.hero-category__line {
    display: block;

    width: 60px;
    height: 3px;

    margin: 0 auto;

    border-radius: 100px;
    background: #F7941D;
}


/* About company */

.about-company {
    position: relative;

    padding: 80px 0;

    background: #ffffff;
    overflow: hidden;
}

.about-company .container {
    position: relative;
    z-index: 2;

    max-width: 1410px;
}

.about-company__title {
    margin: 0 0 40px;

    font-family: 'RoadRadio', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;

    color: #1D3F77;
}

.about-company__panel {
    min-height: 282px;
    padding: 50px;
    margin-bottom: 30px;

    border-radius: 10px;
    background: #F5F5F5;
}

.about-company__panel-row {
    --bs-gutter-x: 50px;
    --bs-gutter-y: 40px;
}

.about-company__content {
    max-width: 760px;
}

.about-company__subtitle {
    margin: 0 0 34px;

    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;

    color: #1D3F77;
}

.about-company__text {
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.45;

    color: rgba(29, 63, 119, 0.65);
}

.about-company__side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    margin-left: auto;
    max-width: 315px;
}

.about-company__logo {
    display: flex;
    justify-content: center;

    width: 100%;
}

.about-company__logo img {
    width: 150px;
    height: auto;
}

.about-company__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    width: 315px;
    height: 58px;
    padding: 0 10px 0 28px;

    border-radius: 999px;

    background: #F7941D;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #ffffff;
}

.about-company__button span {
    white-space: nowrap;
}

.about-company__button img {
    width: 38px;
    height: 38px;

    flex-shrink: 0;
}


/* About slider */

.about-company__slider {
    position: relative;

    overflow: hidden;
}

/* .about-company__slider .swiper-slide {
    width: 340px;
    
} */

.about-company-card {
    position: relative;

    display: block;

    /* width: 340px; */
    width: 100%;
    height: 450px;

    overflow: hidden;
    border-radius: 10px;

    background: #C9C9C9;
}

.about-company-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    filter: grayscale(1);
}

.about-company-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.15) 45%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.about-company-card span {
    position: absolute;
    left: 24px;
    top: 24px;
    z-index: 2;

    max-width: 260px;

    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;

    color: #ffffff;
}

.about-company__prev,
.about-company__next {
    position: absolute;
    top: 50%;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 64px;

    border: none;

    background: #1D3F77;

    font-size: 36px;
    line-height: 1;

    color: #ffffff;

    transform: translateY(-50%);
}

.about-company__prev {
    left: 0;

    border-radius: 0 8px 8px 0;
}

.about-company__next {
    right: 0;

    border-radius: 8px 0 0 8px;
}

/* Partners */

.partners {
    padding: 80px 0;

    overflow: hidden;
    background: #07357A;
}

.partners .container {
    max-width: 1410px;
}

.partners__title {
    margin: 0 0 40px;

    font-family: 'RoadRadio', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #ffffff;
}


/* marquee */

.partners__marquee {
    overflow: hidden;
}

.partners__track {
    display: flex;
    align-items: center;
    gap: 20px;

    width: max-content;

    animation: partners-marquee 30s linear infinite;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    height: 90px;
}

.partner-item img {
    width: auto;
    max-width: 180px;
    max-height: 70px;

    object-fit: contain;
}


/* animation */

@keyframes partners-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =========================
   Index adaptive
========================= */

@media (max-width: 1199px) {
    .hero .container,
    .about-company .container,
    .partners .container {
        max-width: 960px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero-slider,
    .hero__stats {
        height: 420px;
    }

    .hero-stat {
        padding: 24px 22px;
    }

    .hero-stat__value {
        font-size: 32px;
    }

    .hero-category {
        height: 185px;
    }

    .about-company__panel {
        padding: 40px;
    }
}

@media (max-width: 991px) {
    .hero {
        padding: 40px 0 60px;
    }

    .hero .container {
        max-width: 720px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .hero .container::before,
    .hero .container::after {
        display: none;
    }

    .hero__top {
        --bs-gutter-x: 24px;
        --bs-gutter-y: 20px;

        margin-bottom: 24px;
    }

    .hero__top > * {
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
    }

    .hero__top .col-lg-3 {
        justify-content: flex-start;
    }

    .hero__title {
        max-width: 100%;

        font-size: 34px;
    }

    .hero__text {
        max-width: 100%;
        margin-left: 0;
    }

    .hero__presentation {
        justify-content: flex-start;
        align-items: center;

        width: auto;
        height: auto;
    }

    .hero__body {
        --bs-gutter-x: 24px;
        --bs-gutter-y: 20px;

        margin-bottom: 20px;
    }

    .hero-slider {
        height: 390px;
    }

    .hero__stats {
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-stat {
        flex: 0 0 calc(50% - 5px);
        min-height: 150px;
    }

    .about-company {
        padding: 60px 0;
    }

    .about-company .container,
    .partners .container {
        max-width: 720px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .about-company__panel {
        padding: 35px 30px;
    }

    .about-company__side {
        align-items: flex-start;

        margin-left: 0;
    }

    .about-company-card {
        height: 380px;
    }

    .partners {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 24px 0 40px;
    }

    .hero .container {
        width: 100%;
        max-width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .hero__top,
    .hero__body,
    .hero__categories {
        --bs-gutter-x: 0;

        margin-right: 0;
        margin-left: 0;
    }

    .hero__top > *,
    .hero__body > *,
    .hero__categories > * {
        padding-right: 0;
        padding-left: 0;
    }

    .hero__top {
        --bs-gutter-y: 16px;

        margin-bottom: 18px;
    }

    .hero__title {
        max-width: 340px;

        font-size: 34px;
        line-height: .95;
    }

    .hero__text {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 16px 18px;

        border-radius: 10px;

        font-size: 15px;
        line-height: 1.45;
    }

    .hero__presentation {
        gap: 8px;

        width: 100%;
        margin-top: 0;

        font-size: 12px;
        line-height: 1.2;
    }

    .hero__presentation img {
        width: 28px;
        height: 28px;
    }

    .hero__body {
        --bs-gutter-y: 14px;

        margin-bottom: 14px;
    }

    .hero-slider {
        width: 100%;
        max-width: 100%;
        height: 290px;

        border-radius: 10px;
    }

    .hero-slider__prev,
    .hero-slider__next {
        width: 42px;
        height: 70px;

        font-size: 32px;
    }

    .hero__stats {
        flex-direction: column;
        gap: 10px;

        width: 100%;
    }

    .hero-stat {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-height: 116px;
        padding: 24px 20px;
    }

    .hero-stat__value {
        margin-bottom: 10px;

        font-size: 30px;
    }

    .hero-stat__text {
        max-width: 270px;

        font-size: 13px;
        line-height: 1.25;
    }

    .hero__categories {
        --bs-gutter-y: 10px;
    }

    .hero__categories > [class*="col"] {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .hero-category {
        width: 100%;
        height: 170px;
        padding: 18px 20px;

        border-radius: 10px;
    }

    .hero-category__title {
        font-size: 12px;
        line-height: 1.2;
    }

    .hero-category__picture {
        margin: 10px 0;
    }

    .hero-category__picture img {
        max-width: 120px;
        max-height: 95px;
    }

    .hero-category__line {
        width: 70px;
    }

    /* .about-company {
        padding: 40px 0;
    }

    .about-company .container {
        max-width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .about-company__title {
        margin-bottom: 24px;

        font-size: 28px;
    }

    .about-company__panel {
        min-height: 0;
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .about-company__panel-row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 24px;

        margin-right: 0;
        margin-left: 0;
    }

    .about-company__panel-row > * {
        padding-right: 0;
        padding-left: 0;
    }

    .about-company__subtitle {
        margin-bottom: 18px;

        font-size: 18px;
    }

    .about-company__text {
        font-size: 14px;
    }

    .about-company__side {
        width: 100%;
        max-width: none;
    }

    .about-company__button {
        width: 100%;
        max-width: 315px;
    }

    .about-company-card {
        height: 300px;
    }

    .about-company-card span {
        left: 20px;
        top: 20px;

        font-size: 13px;
    }

    .about-company__prev,
    .about-company__next {
        width: 40px;
        height: 58px;

        font-size: 30px;
    } */

    .partners {
        padding: 40px 0;
    }

    .partners .container {
        max-width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .partners__title {
        margin-bottom: 24px;

        font-size: 28px;
    }

    .partners__track {
        gap: 14px;
    }

    .partner-item {
        height: 70px;
    }

    .partner-item img {
        max-width: 140px;
        max-height: 55px;
    }
}


@media (max-width: 767px) {

    .about-company {
        padding: 40px 0;
    }

    .about-company .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .about-company__title {
        margin-bottom: 20px;

        font-size: 28px;
        line-height: 1;
    }

    .about-company__card {
        padding: 22px 16px 18px;

        border-radius: 12px;
    }

    .about-company-card {
        height: 320px;
    }

    .about-company__subtitle {
        max-width: 260px;
        margin-bottom: 18px;

        font-size: 16px;
        line-height: 1.3;
    }

    .about-company__text {
        margin-bottom: 24px;

        font-size: 14px;
        line-height: 1.45;

        color: rgba(29, 63, 119, 0.7);
    }

    .about-company__image {
        display: flex;
        justify-content: center;

        margin-bottom: 22px;
    }

    .about-company__image img {
        max-width: 180px;
        width: 100%;
        height: auto;
    }

    .about-company__button {
        width: 100%;
        min-width: 0 !important;
        height: 58px;

        padding: 0 8px 0 22px;

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;

        overflow: hidden;
    }

    .about-company__button span {
        min-width: 0;
        flex: 1;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        font-size: 10px;
    }

    .about-company__button img {
        width: 34px;
        height: 34px;

        flex: 0 0 34px;
    }
}

@media (max-width: 767px) {
    .hero-slider__pagination {
        left: 50% !important;
        bottom: 12px;

        width: auto !important;
        min-width: unset;
        max-width: max-content;

        height: 22px;
        padding: 0 14px;

        display: inline-flex;
        align-items: center;
        gap: 8px;

        transform: translateX(-50%);
    }

    .hero-slider__pagination .swiper-pagination-bullet {
        flex: 0 0 auto;

        width: 16px;
        height: 2px;
    }

    .hero-slider__pagination .swiper-pagination-bullet-active {
        width: 28px;
    }
}

@media (max-width: 374px) {
    .hero .container,
    .about-company .container,
    .partners .container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .hero__title {
        font-size: 30px;
    }

    .hero__text {
        font-size: 14px;
    }

    .hero-slider {
        height: 265px;
    }

    .hero-stat {
        min-height: 110px;
    }

    .hero-stat__value {
        font-size: 28px;
    }
}
