@font-face {
    font-family: 'Sailec';
    src: url('../fonts/Sailec/Sailec-Light.woff2') format('woff2'),
        url('../fonts/Sailec/Sailec-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sailec';
    src: url('../fonts/Sailec/Sailec-Medium.woff2') format('woff2'),
        url('../fonts/Sailec/Sailec-Medium.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sailec';
    src: url('../fonts/Sailec/Sailec-Bold.woff2') format('woff2'),
        url('../fonts/Sailec/Sailec-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PolySans Median';
    src: url('../fonts/PolySans/PolySans-Median.woff2') format('woff2'),
        url('../fonts/PolySans/PolySans-Median.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --yellow: #eaaf00;
    --dark-blue: #14234a;
    --white: #ffffff;
    --heading-font: 'PolySans Median', sans-serif;
    --body-font: 'Sailec', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    color: var(--dark-blue);
}

main {
    overflow: hidden;
}

body,
a,
button,
input,
textarea,
label,
select,
option {
    font-family: var(--body-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
}

.display-1 {
    font-size: 60px;
}

.display-2 {
    font-size: 45px;
}

h1 {
    font-size: 42px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 34px;
}

h4 {
    font-size: 28px;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 18px;
}

p {
    line-height: 1.5;
}

textarea {
    resize: none;
}

.container {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.container-narrow {
    max-width: 900px;
}

.d-block {
    display: block;
}

.unstyled-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.img-full {
    display: block;
    width: 100%;
    height: 100%;
}

.object-fit-cover {
    object-fit: cover;
}

.object-fit-contain {
    object-fit: contain;
}

.text-center {
    text-align: center;
}

.overflow-hidden {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: currentColor;
    outline: none;
}

select {
    cursor: pointer;
}

.btn {
    position: relative;
    display: inline-block;
    padding: 12px 30px;
    text-align: center;
    font-weight: 600;
    background-color: var(--yellow);
    color: var(--dark-blue);
    cursor: pointer;
    outline: none;
    border: none;
    transition: background-color .1s, color .1s, border-color .1s, opacity .1s, transform 50ms;
}

.btn .btn-text {
    pointer-events: none;
    display: inline-block;
    transition: all .5s cubic-bezier(.19, 1, .22, 1);
}

.btn::after {
    content: "";
    position: absolute;
    top: calc(50% - 8px);
    right: 16px;
    opacity: 0;
    width: 18px;
    height: 18px;
    background-size: 100%;
    background-repeat: no-repeat;
    transform: translate(-7px);
    transition: all .5s cubic-bezier(.19, 1, .22, 1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='-1 0 23 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3Cpolyline points='3 12 14 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.btn:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

.btn:hover .btn-text {
    transform: translate(-9px);
}

.btn:hover::after {
    opacity: 1;
    transform: translate(0);
}

.btn-white,
.read-more-btn:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

.btn-blue {
    background-color: var(--dark-blue);
    color: var(--white);
}

.btn-white::after,
.btn-blue::after,
.bg-dark-blue .btn::after,
.read-more-btn:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='-1 0 23 24' fill='none' stroke='rgb(20, 35, 74)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3Cpolyline points='3 12 14 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.btn-white:hover,
.btn-blue:hover {
    background-color: var(--yellow);
    color: var(--dark-blue);
}

.btn-small {
    padding: 9px 20px;
    font-size: 14px;
}

.btn-small::after {
    right: 8px;
}

.text-link,
.footer-block__menu-list-item-link {
    transition: all 0.2s ease;
}

.text-link:hover,
.footer-block__menu-list-item-link:hover {
    color: var(--yellow);
}

.bg-dark-blue .btn:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

.border-top {
    border-top: 1px solid !important;
}

.border-right {
    border-right: 1px solid !important;
}

.border-bottom {
    border-bottom: 1px solid !important;
}

.border-left {
    border-left: 1px solid !important;
}

.grey-border {
    border-color: #dcdee4 !important;
}

.form-field {
    width: 100%;
    padding: 10px;
    border: none;
    font-size: 16px;
    outline: none;
}

.form-field::placeholder {
    color: rgba(0, 0, 0, 0.7);
}

.show_error {
    color: #FF3333;
    font-size: 12px;
    margin-top: 6px;
}

.form-field__wrap-phone {
    position: relative;
}

.form-field__wrap-phone input:first-child {
    padding-left: 60px;
}

form .form-field.form-field__countrycode {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    border-right: 1px solid #e4e4e4;
    background-color: #f3f3f3;
    padding: 10px !important;
}

form.contact-form .form-field.form-field__countrycode {
    border-right: none;
    background-color: rgb(223 166 0);
}


.swiper-free-mode > .swiper-wrapper {
    align-items: center;
    transition-timing-function: linear;
}

.section-header {
    margin-bottom: 40px;
}

.section-heading {
    margin-bottom: 15px;
}

.section-description p {
    margin-bottom: 10px;
}

.rotating-image__wrapper {
    width: 95px;
    height: 95px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rotating-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.rotating-image__wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/rotating-text-light.webp") no-repeat center/contain;
    animation: 8s linear infinite normal none running rotation;
}

.rotating-image__yellow::after {
    background: url("../images/rotating-text-yellow.webp") no-repeat center/contain;
}

.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    background-color: #0006;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.page-overlay__visible {
    opacity: 1;
    visibility: visible;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.rte p {
    margin-bottom: 15px;
}

.rte blockquote {
    background-color: #dcdee4;
    padding: 20px;
    font-size: 18px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.5;
    margin: 20px 0;
}

.rte h2,
.rte h3,
.rte h4,
.rte h5,
.rte h6 {
    margin: 25px 0 12px;
}

.rte ul,
.rte ol {
    list-style-position: inside;
    margin: 18px 0;
}

.rte li {
    margin-bottom: 10px;
}

@media screen and (min-width: 1440px) {
    .container-narrow {
        max-width: 1000px;
    }

    .display-1 {
        font-size: 72px;
    }

    .display-2 {
        font-size: 54px;
    }

    h2 {
        font-size: 48px;
    }

    h3 {
        font-size: 38px;
    }

    h4 {
        font-size: 30px;
    }

    h5 {
        font-size: 28px;
    }

    h6 {
        font-size: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .display-1 {
        font-size: 50px;
    }

    .display-2 {
        font-size: 40px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 26px;
    }

    h5 {
        font-size: 22px;
    }

    h6 {
        font-size: 18px;
    }
}

@media screen and (max-width: 991px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .display-1 {
        font-size: 42px;
    }

    .display-2 {
        font-size: 34px;
    }

    h2 {
        font-size: 32px;
    }
}

@media screen and (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .btn {
        padding: 11px 22px;
        font-size: 14px;
    }

    .btn::after {
        right: 9px;
    }

    .display-1 {
        font-size: 36px;
    }

    .display-2 {
        font-size: 28px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 24px;
    }

    .rotating-image__wrapper {
        width: 85px;
        height: 85px;
    }
}