:root {
    --yellow: #ffb330;
    --blue: #0055a0;
    --dark-blue: #0a3559;
    --252525: #252525;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/Ubuntu-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

h1 {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 45px;
    line-height: 120%;
    text-transform: uppercase;
    color: #fff;
}

h1 span {
    color: var(--yellow);
}

p {
    font-family: 'Ubuntu';
    font-weight: 400;
    font-size: 16px;
    line-height: 135%;
    color: #fff;
}

.header {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    margin-top: 20px;
    top: 0;
    z-index: 3;

}

.logo {
    position: relative;
    margin-right: 100px;
}

.cloud {
    position: absolute;
    top: -38px;
    left: -96px;
    z-index: -1;
}

.contacts {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.contacts p {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 24px;
    line-height: 24px;
    text-transform: uppercase;
    color: #fff;
}

.links {
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 24px;
    line-height: 24px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

.links:active {
    opacity: 0.7;
    text-decoration: underline;
    transition: 0.3s ease;
}

.first-screen {
    position: relative;
}

.swiper {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;

}

.slide-1 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
        no-repeat url(../img/bg.webp);
    background-size: cover;

}

.slide-2 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        no-repeat url(../img/bg-1.webp);
    background-size: cover;

}

.slide-3 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
        no-repeat url(../img/bg-2.webp);
    background-size: cover;

}

.slide-4 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
        no-repeat url(../img/bg-3.webp);
    background-size: cover;

}

.slide-5 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
        no-repeat url(../img/bg-4.webp);
    background-size: cover;

}

.slide-6 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
        no-repeat url(../img/bg-5.webp);
    background-size: cover;

}

.slide-7 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
        no-repeat url(../img/bg-6.webp);
    background-size: cover;

}

.swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 42px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 1;

}

.swiper-pagination-bullet-active {
    width: 14px;
    height: 14px;
    background: var(--yellow);
}

.slider-cont {
    display: flex;
    max-width: 744px;
    flex-direction: column;
    gap: 24px;
    padding: 0 78px;
}

.btn {
    width: fit-content;
    font-family: 'Ubuntu';
    font-weight: 400;
    font-size: 16px;
    color: var(--dark-blue);
    background: var(--yellow);
    padding: 16px 30px;
    border-radius: 10px;
    flex-grow: 0;
    text-decoration: none;
    box-shadow: 0 0 0 rgba(255, 179, 48, 0.4);
    animation: pulseRing-btn 1.5s infinite;
}

@keyframes pulseRing-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 179, 48, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 179, 48, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 179, 48, 0);
    }
}


.btn:active {
    opacity: 0.5;
    transition: 0.3s ease;
    cursor: pointer;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
    background: rgb(0 0 0 / 50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 30px;
}

.swiper-button-next:active,
.swiper-button-prev:active {
    background: rgb(0 0 0 / 100%);
    transition: 0.3s ease;
}

.about {
    display: flex;
    justify-content: center;
    margin: 100px 0;
}

.container {
    display: flex;
    width: 1128px;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

h2 {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 38px;
    text-transform: uppercase;
    color: var(--252525);
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 50%;
}

.text-content p {
    color: var(--252525);
}

.about-photos {
    position: relative;
    width: 465px;
    height: 443px;
}

.img-1 {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 7px;
    width: 360px;
    height: 360px;
    box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.25);
}

.img-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 7px;
    width: 264px;
    height: 281px;
    box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.25);
}

.footer {
    background: var(--dark-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.foot {
    align-items: start;
    margin: 40px 0;
}

h3 {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    color: #fff;
}

.centering {
    text-align: center;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.foot-links {
    font-family: 'Ubuntu';
    font-weight: 400;
    font-size: 16px;
    line-height: 135%;
    color: #fff;
    text-decoration: none;
}

.foot-links:active {
    opacity: 0.7;
    text-decoration: underline;
    transition: 0.3s ease;
}

.mess {
    display: flex;
    gap: 10px;
}

.mess img {
    width: 30px;
    height: 30px;
}

.mess img:active {
    opacity: .5;
    transition: 0.3s ease;
}

.copyright {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    border-top: 1px solid #6a9ac3;
    ;
}

.copyright a {
    font-family: 'Ubuntu';
    font-weight: 400;
    font-size: 14px;
    line-height: 135%;
    color: #fff;
    text-decoration: none;
}

.copyright a:active {
    opacity: 0.7;
    text-decoration: underline;
    transition: 0.3s ease;
}

.backcallopen {
    position: fixed;
    width: 64px;
    height: 64px;
    background: var(--blue) url(../img/phone.svg) center no-repeat;
    background-size: 30px 30px;
    color: #fff;
    z-index: 10;
    bottom: 50px;
    right: 50px;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(0, 153, 255, 0.4);
    animation: pulseRing 1.5s infinite;
}

@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 153, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 30px rgba(0, 153, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 153, 255, 0);
    }
}


.backcallbtn {
    display: flex;
    flex-direction: column-reverse;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease 0s;
}

.backcallbtn.active {
    opacity: 1;
    visibility: visible;
}

.backcallopen.hidden {
    display: none;
}

.backcallbtn a {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.backcallclose {
    background: #D33E3E url(../img/x-cross.svg) center no-repeat;
    background-size: 30px 30px;
}

.backcalldef {
    background: var(--blue) url(../img/phone.svg) center no-repeat;
    background-size: 30px 30px;
}

.backcall-tg {
    background: url(../img/telegram.png) center no-repeat;
    background-size: 64px 64px;
}

.backcallviber {
    background: url(../img/viber.png) center no-repeat;
    background-size: 64px 64px;
}

.popup {
    position: fixed;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease 0s;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup__area {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: default;
}

.popup__body {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
}

.popup__content {
    background: #b2dbff;
    color: #0b2942;
    max-width: 620px;
    padding: 30px 20px;
    border-radius: 15px 0 15px 15px;
    position: relative;
}

.popup__close {
    position: absolute;
    top: -36px;
    right: 0;
    border-radius: 5px 5px 0 0;
    width: 36px;
    height: 36px;
    background: var(--blue) url(../img/x-cross.svg) no-repeat center;
}

.popup__close:active {
    background-color: #D33E3E;
    transition: 0.3s ease;
}

.popup__title {
    font-family: 'Ubuntu';
    font-weight: 400;
    font-size: 50px;
    line-height: 100%;
}

.popup__subtitle {
    font-family: 'Ubuntu';
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
    margin-top: 16px;
    margin-bottom: 40px;
}

.btn.form {
    background: var(--blue);
    color: #fff;
    border: none;
}

.callbackForm {
    display: flex;
    gap: 20px;
}

.callbackForm input {
    flex-grow: 1;
    border: 2px solid #c7e5ff;
    border-radius: 5px;
    font-family: 'Ubuntu';
    font-weight: 400;
    font-size: 18px;
    color: #3f5b72;
    padding: 14px 20px;
}

.btn__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.mess.form img {
    width: 40px;
    height: 40px;
}

.info {
    gap: 20px;
}

.dark p {
    color: var(--252525);
}

.dark a {
    color: var(--252525);
}

.privacy-policy {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 140px 0 100px;
}

.policy {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 16px;
}

.policy h1 {
    color: var(--252525);
    hyphens: manual;
}

.policy h2 {
    font-size: 24px;
}

.policy p {
    color: var(--252525);
}

.crunch a {
    color: var(--dark-blue);
    text-decoration: none;
}

.crunch {
    color: var(--yellow);
}

@media (hover: hover) {
    .links:hover {
        opacity: 0.7;
        text-decoration: underline;
        transition: 0.3s ease;
    }

    .btn:hover {
        opacity: 0.5;
        transition: 0.3s ease;
        cursor: pointer;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: rgb(0 0 0 / 100%);
        transition: 0.3s ease;
    }

    .foot-links:hover {
        opacity: 0.7;
        text-decoration: underline;
        transition: 0.3s ease;
    }

    .mess img:hover {
        opacity: .5;
        transition: 0.3s ease;
    }

    .copyright a:hover {
        opacity: 0.7;
        text-decoration: underline;
        transition: 0.3s ease;
    }

    .popup__close:hover {
        background-color: #D33E3E;
        transition: 0.3s ease;
    }

}

@media screen and (max-width: 1167px) {
    .container {
        width: 100%;
        box-sizing: border-box;
        padding: 0 20px;
    }
}


@media screen and (max-width: 1024px) {
    .cloud {
        max-width: 400px;
        left: -112px;
    }

    .container {
        box-sizing: border-box;
        width: 100%;
        padding: 0 20px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 58px;
        height: 58px;

    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 24px;
    }

    .about-photos {
        width: 475px;
        height: 378px;
        margin-left: 20px;
    }

    .img-1 {
        width: 309px;
        height: 309px;
    }

    .img-2 {
        width: 225px;
        height: 239px;
    }

}

@media screen and (max-width: 960px) {
    .foot {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        justify-content: space-between;
        row-gap: 20px;
    }

    .logo-foot {
        width: 144px;
    }

    .special {
        grid-column: 1;
        grid-row: 2;
    }

    .column p {
        width: 150px;
    }

}

@media screen and (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev {
        width: 78px;
        height: 78px;

    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 34px;
    }

    .swiper-button-prev {
        top: auto;
        bottom: 16px;
        right: 110px;
        left: auto;
    }

    .swiper-button-next {
        top: auto;
        bottom: 16px;
        right: 20px;
    }

    .logo {
        margin-right: 0;
    }

    .slider-cont {
        padding: 0 20px;
    }

    .flex-column {
        flex-direction: column;
        gap: 40px;
    }

    .text-content {
        width: 100%;
    }

    .about-photos {
        width: 100%;
        margin-left: 0;
        height: auto;
        aspect-ratio: 465 / 443;
        position: relative;
    }

    .img-1 {
        width: 64%;
        height: auto;
        position: absolute;
        top: 0;
        right: 0;
    }

    .img-2 {
        width: 64%;
        height: auto;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .popup__content {
        width: 100%;
    }

    .popup__body {
        padding: 30px 16px;
    }

    .callbackForm {
        flex-direction: column;
        gap: 10px;

    }

    .backcallopen {
        display: none !important;
    }
}


@media screen and (max-width: 480px) {
    .cloud {
        left: -160px;
        ;
    }

    h1 {
        font-size: 40px;
        hyphens: manual;
    }

    p {
        font-size: 14px;
    }

    .btn {
        font-size: 14px;
    }

    .swiper-pagination {
        width: auto !important;
        left: 16px !important;
    }

    .slider-cont {
        padding: 0 16px;
    }

    .img-1 {
        width: 64%;
        height: auto;
    }

    .img-2 {
        width: 64%;
    }

    h2 {
        font-size: 36px;
    }

    .row3 {
        grid-row: 3;
        grid-column: span 2;
    }

    .row2 {
        grid-column: span 2;
    }

    .special {
        grid-column: 2;
        grid-row: 1;
    }

    .foot {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }

    .popup__title {
        font-size: 40px;
    }

    .popup__subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .callbackForm input {
        font-size: 16px;
    }

    .policy h2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 440px) {
    .container {
        padding: 0 16px;
    }

    .logo-img {
        width: 155px;
    }

    .contacts p {
        font-size: 19px;
        line-height: 23px;
    }

    .links {
        font-size: 19px;
        line-height: 23px;
    }

    .cloud {
        left: -175px;
    }

    h1 {
        font-size: 33px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 70px;
        height: 70px;

    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 30px;
    }

    .btn__wrapper {
        flex-direction: column-reverse;
        justify-content: center;
        gap: 16px;
    }

    .btn.form {
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 360px) {
    .foot-links {
        font-size: 14px;
    }

    .info {
        font-size: 12px;
        gap: 20px;
    }
}