﻿@font-face {
    font-family: 'MidasEv';
    font-style: normal;
    font-weight: normal;
    src: local('MidasEv'), url('../assets/fonts/drukwidecyr-medium.woff') format('woff');
}

/* Сброс стилей для браузеров */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}

html {
    scroll-behavior: smooth;
}

/* Общие стили */
body {
    font-family: "MidasEv", 'Arial', sans-serif;
    line-height: 1.2;
    background-color: #000; /* Цвет фона страницы */
    color: #333; /* Цвет текста */
    counter-reset: case-teambuildings-item-counter;
}

a {
    text-decoration: none;
    transition: color 0.3s;
    color: unset;
}

a:hover {
    color: #07ECBC;
}

h1 {
    font-family: "MidasEv", "Arial", serif;
    text-align: center;
    font-size: 45px;
    background: linear-gradient(to right , #00F9B2 , #2BB3E2, #7447E2 140%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 100px;
}

h2 {
    font-family: "MidasEv", "Arial", serif;
    text-align: center;
    font-size: 56px;
    background: linear-gradient(90deg, rgba(18,213,205,1) 15%, rgba(0,249,178,1) 87%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    text-transform: uppercase;
}

iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Контейнер */
.container {
    width: 90%;
    max-width: 1275px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    position: relative;
}

.back-to-home {
    padding: 0;
    margin-bottom: 0;
}

.back-to-home .container {
    padding: 0;
}

.cover {
    padding-top: 120px;
    padding-bottom: 60px;
}

.cover .container {
    flex-flow: column;
}
.cases .swiper-number-cases {
    position: relative;
    right: 0;
    top: 0;
    font-family: "MidasEv", "Arial", serif;
    text-align: center;
    font-size: 24px;
    background: linear-gradient(90deg, rgba(18,213,205,1) 15%, rgba(0,249,178,1) 87%);
    background-clip: border-box;
    background-clip: border-box;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.gallery .swiper-number-gallery {
    position: relative;
    right: 0;
    left: 0;
    bottom: 0;
    font-family: "MidasEv", "Arial", serif;
    text-align: center;
    font-size: 24px;
    background: linear-gradient(90deg, rgba(18,213,205,1) 15%, rgba(0,249,178,1) 87%);
    background-clip: border-box;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.services .container {
    flex-flow: column;
}

.services .bg-art {
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
}

.services .bg-art-reverse {
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    transform: scaleX(-1);
}

.services-teambuildings .container {
    flex-flow: column;
}

.cases-teambuildings .container {
    flex-flow: column;
}

.about .container {
    flex-flow: column;
}

.cases .container {
    flex-flow: column;
}

.gallery .container {
    flex-flow: column;
}

.partners .container {
    flex-flow: column;
}

.about-teambuildings .container {
    flex-flow: column;
    align-items: flex-start;
}


.about-corporate .container {
    flex-flow: column;
}

.corporate-gallery .container {
    flex-flow: column;
}

.corporate-features .container {
    flex-flow: column;
    align-items: flex-start;
}

.corporate-list .container {
    flex-flow: column;
    align-items: flex-start;
}

.corporate-images .container {
    flex-flow: column;
    align-items: flex-start;
}

.page-teambuilding .recommendations-letters .container {
    flex-flow: column;
    align-items: center;
}

.page-teambuilding .recommendations-letters {
    justify-content: center;
}

.page-corporative .recommendations-letters .container {
    flex-flow: column;
    align-items: center;
}

.page-corporative .recommendations-letters {
    justify-content: center;
}

.form .container {
    flex-flow: column;
    align-items: baseline;
}

footer .container {
    align-items: flex-start;
}


.partners-block {
    display: grid;
    margin-top: 85px;
    align-items: center;
    justify-content: space-between;
    justify-items: center;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.partner {
    text-align: center;
    margin-bottom: 80px;
    transition: transform 0.4s ease-in-out;
}

.partner:hover {
    transform: scale(1.05);
}

header {
    position: fixed;
    width: 100%;
    z-index: 999999;
    background-color: #000;
    padding: 0 !important;
    top: 0;
}

.fancybox__container {
    z-index: 999999 !important;
}

/* Хедер */
header, section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 0;
}

section {
    padding-top: 60px;
    padding-bottom: 30px;
}

/* Логотип */
.logo {
    width: 157px;
    height: 52px;
}
.logo a {
    display: block;
}

img {
    max-width: 100%;
}

.burger-icon {
    display: none;
}

/* Навигация */
nav {
    width: 100%;
    max-width: 615px;
}

nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
}

nav ul li {
    display: inline;
}

nav ul li a {
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
    font-weight: 200;
}

nav ul li a:hover {
    color: #07ECBC;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone {
    font-size: 14px;
    color: #fff;
    margin-right: 10px;
}

.social-icon a {
    display: block;
    width: 70px;
    height: 70px;
}

.social-icon img {
    width: 60px;
    height: 60px;
}

/* Основные секции */
main {
    margin-top: 98px;
}

.frame-group {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 100px;
}

.frame {
    position: relative;
    display: flex;
    flex-flow: column;
    color: #fff;
}

.frame img {
    display: block;
}

.frame-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 500;
    line-height: 21px;
    color: #fff;
    text-align: center;
    width: 100%;
    font-family: "Arial", sans-serif;
    padding: 20px;
}

.frame-title {
    font-family: "MidasEv", "Arial", serif;
    text-align: center;
    font-size: 28px;
    background: linear-gradient(90deg, rgba(18,213,205,1) 15%, rgba(0,249,178,1) 87%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.services-rows {
    display: grid;
    gap: 45px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 85px;
}

.service-item {
    margin-bottom: 35px;
    transition: transform 0.4s ease-in-out;
}

.service-item:hover {
    transform: scale(1.05);
}

.service-item img {
    margin-bottom: 32px;
}

.service-item .service-btn {
    font-size: 25px;
    color: #ffffff;
    border: 3px solid #07ECBC;
    display: block;
    text-align: center;
    width: 100%;
    padding: 10px;
    transition: color 0.3s, background-color 0.3s;
}

.service-item .service-btn:hover {
    color: #000000;
    background: #07ECBC;
}

.about-section {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 55px;
    margin-bottom: 95px;
    margin-top: 85px;
}

.about-section-text {
    width: 80%;
    color: #ffffff;
    font-size: 22px;
    font-family: "MidasEv", "Arial", serif;
}

.about-section-text p {
    margin-bottom: 50px;
}

.advantage-step {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: baseline;
}

.line {
    width: 100%;
    max-width: 1100px;
    height: 4px;
    background-color: #ffffff;
    margin-bottom: 65px;
}

.step-item {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-family: "MidasEv", "Arial", serif;
    text-align: center;
}

.step-item h3 {
    font-size: 52px;
    font-weight: 500;
}

.step-item p {
    font-size: 24px;
    color: #12D5CD;
}

.arrow {
    width: 74px;
    height: 16px;
    background-image: url('../assets/icons/arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.why-trust {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: baseline;
    width: 100%;
}

.recommendations-letters {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
}

.recommendations-letters .image-left img {
    width: 100%;
    max-width: 500px;
}

.letter-container {
    width: 50%;
    max-width: 660px;
    margin: 0 auto;
    text-align: center;
}

.recommendations-letters h3 {
    font-size: 29px;
    color: #09ECBD;
    margin-bottom: 65px;
}

.form form.need-event {
    display: flex;
    flex-flow: column;
    width: 100%;
    max-width: 550px;
    gap: 5px;
    border: 8px solid #12D5CD;
    padding: 20px 20px;
}

.form h2 {
    margin-bottom: 13px;
}

.form .subtitle {
    font-size: 30px;
    color: #fff;
    font-family: "MidasEv", "Arial", serif;
    margin-bottom: 35px;
}

.form .form-screen {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.form .form-screen .image-section {
    position: relative;
    top: -150px;
    margin-bottom: -150px;
    z-index: -5;
}

input {
    background-color: transparent;
    color: #fff;
    border: 3px solid #12D5CD;
    border-radius: 10px;
    padding: 24px 27px;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 25px;
    outline: 0;
}

select {
    background-color: #07ECBC;
    color: #000;
    border: 0;
    border-radius: 10px;
    padding: 20px 40px;
    font-size: 25px;
    line-height: 1;
    margin-bottom: 22px;
    cursor: pointer;
}

button {
    background-color: #07ECBC;
    color: #000;
    border: 0;
    border-radius: 10px;
    padding: 20px 40px;
    font-size: 25px;
    line-height: 1;
    margin-bottom: 13px;
    cursor: pointer;
}

.privacy-text {
    color: #fff;
    font-size: 14px;
    font-family: "MidasEv", "Arial", serif;
    text-align: center;
}


/* Стили для кнопок */
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to right , #00F9B2 , #2BB3E2, #7447E2 140%);
    color: #000000;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 30px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    max-width: 485px;
    line-height: 64px;
}

.cta-button:hover {
    color: #000000;
    background: linear-gradient(90deg, rgba(18,213,205,1) 15%, rgba(0,249,178,1) 87%);
}

/* Футер */
footer {
    background: #07ECBC;
    color: #000;
    padding: 60px 0 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Arial", serif;
    max-height: 600px;
}

/* Контактная информация */
footer .contact-info {
    display: flex;
    align-items: start;
    flex-flow: column;
    width: 60%;
}
footer .contact-info a:hover {
    color: unset;
}

/* Контактная информация */
footer .contact-info h2 {
    color: #000000;
    font-family: "Arial", serif;
}

footer .contact-info p {
    font-size: 39px;
    margin-bottom: 22px;
}

footer .social-media {
    display: flex;
    flex-flow: column;
    align-items: end;
    width: 40%;
    text-align: right;
    margin-top: 107px;
}

footer .social-media .social-icons {
    display: flex;
    gap: 44px;
    margin-bottom: 62px;
}

footer .social-media p {
    font-size: 25px;
    margin-bottom: 16px;
}

footer .social-media p strong {
    font-size: 38px;
    margin-bottom: 0;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #000;
    background-color: #07ECBC;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    font-family: "MidasEv", "Arial", serif;
    width: 100%;
    max-width: 285px;
    text-align: center;
    height: 48px;
}

.back-button:hover {
    color: #000;
}

.page-teambuilding .cover .container {
    align-items: flex-start;
}

.page-teambuilding h1 {
    text-align: left;
    font-size: 46px;
    flex: 1;
}

.page-teambuilding .frame-single {
    transform: rotate(21deg);
    margin-bottom: -140px;
    top: -140px;
    position: relative;
}

.page-teambuilding .left-side {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
}

.page-corporative .cover .container {
    align-items: flex-start;
}

.page-corporative h1 {
    text-align: left;
    font-size: 40px;
    flex: 1;
}

.page-corporative .frame-single {
    transform: rotate(21deg);
    margin-bottom: -140px;
    top: -140px;
    position: relative;
}

.page-corporative .left-side {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
}

.services-teambuildings {
    margin-bottom: 160px;
}

.services-teambuildings h2 {
    font-size: 62px;
    text-transform: capitalize;
    margin-bottom: 88px;
}

.services-teambuildings .services-teambuildings-rows {
    display: flex;
    flex-flow: column;
    gap: 150px;
}

.services-teambuildings .services-teambuildings-rows .service-teambuildings-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 62px;
}

.services-teambuildings .services-teambuildings-rows .service-teambuildings-item img {
    border-radius: 21px;
}

.services-teambuildings .services-teambuildings-rows .service-teambuildings-item p {
    font-size: 26px;
    line-height: 1.2;
    color: #fff;
    font-family: "Arial", serif;
}

.cases-teambuildings {
    margin-bottom: 160px;
    font-family: "Arial", "sans-serif";
}

.cases-teambuildings h2 {
    font-size: 62px;
    text-transform: capitalize;
    margin-bottom: 88px;
}

.cases-teambuildings .cases-teambuildings-rows {
    display: flex;
    flex-flow: column;
    gap: 49px;
    width: 100%;
}

.cases-teambuildings .cases-teambuildings-rows .case-teambuildings-item {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 49px;
    flex-flow: column;
}

.cases-teambuildings .cases-teambuildings-rows .case-teambuildings-item .case-title {
    font-size: 50px;
    color: #ffffff;
    position: relative;
    padding-left: 90px;
}

.cases-teambuildings .cases-teambuildings-rows .case-teambuildings-item .case-title:before {
    counter-increment: case-teambuildings-item-counter;
    content: counter(case-teambuildings-item-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background-color: #57e0b3; /* Цвет круга */
    border-radius: 50%; /* Закругляем края до круга */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white; /* Цвет текста внутри круга */
}

.cases-teambuildings .cases-teambuildings-rows .case-teambuildings-item .case-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 59px;
    width: 100%;
}

.cases-teambuildings .cases-teambuildings-rows .case-teambuildings-item .case-content iframe {
    width: 100%;
    max-width: 650px;
    height: 400px;
}

.cases-teambuildings .cases-teambuildings-rows .case-teambuildings-item .case-content p {
    font-size: 20px;
    line-height: 1.2;
    color: #fff;
    width: 36rem;
}

.about-teambuildings h2 {
    font-size: 63px;
    text-transform: capitalize;
    margin-bottom: 50px;
}

.about-teambuildings-section {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.about-teambuildings-section #swiper-teambuildings {
    margin-bottom: 49px;
}

.about-teambuildings-section-text {
    color: #ffffff;
    font-size: 20px;
    font-family: "MidasEv", "Arial", serif;
    text-align: center;
    margin-bottom: 49px;
}

.about-teambuildings-section p:not(:last-child) {
    margin-bottom: 38px;
}

.about-teambuildings-section .advantage-h2 {
    font-size: 48px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.about-corporate h2 {
    font-size: 62px;
}

.about-corporate-section {
    display: flex;
    font-family: "Arial", serif;
    position: relative;
}

.about-corporate-section .text-section {
    max-width: 60%;
    font-size: 35px;
    font-weight: bold;
    color: #fff;
    margin-top: 56px;
}

.about-corporate-section .image-section {
    max-width: 480px;
}

.about-corporate-section .image-section img {
    height: 100%;
}

.corporate-features {
    font-family: "MidasEv", "Arial", serif;
}


.corporate-features h2 {
    font-size: 52px;
    text-align: left;
    text-transform: none;
    margin-bottom: 60px;
}

.corporate-features ul {
    padding-left: 53px;
}

.corporate-features ul li {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 60px;
    line-height: 1.2;
}

.corporate-features .discount {
    font-size: 30px;
    color: #ffffff;
    padding: 28px 15px;
    border: 4px solid #07ECBC;
    margin-bottom: 102px;
}

.corporate-features .quality {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    width: 100%;
}

.corporate-features .quality .quality-text-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: column;
    gap: 82px;
}

.corporate-features .quality .quality-text-btn .frame-text {
    font-size: 32px;
    line-height: 1;
    font-family: "MidasEv", "Arial", serif;
    padding: 60px;
}

.corporate-features .quality .quality-text-btn button {
    margin-bottom: 0;
    font-size: 32px;
    font-family: "MidasEv", "Arial", serif;
}

.corporate-list h2 {
    text-align: left;
    font-size: 44px;
    text-transform: none;
    margin-bottom: 52px;
}

.corporate-list .corporate-list-rows {
    display: flex;
    flex-flow: column;
    gap: 52px;
}

.corporate-list .corporate-list-rows .corporate-list-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 44px;
    font-size: 18px;
    color: #fff;
}

.corporate-list .corporate-list-rows .corporate-list-item img {
    width: 50%;
    border-radius: 20px;
    max-height: 400px;
    object-fit: contain;
}

.corporate-list .corporate-list-rows .corporate-list-item .text {
    flex: 1;
}

.corporate-images .corporate-images-rows {
    display: grid;
    gap: 52px;
    grid-template-columns: repeat(3, 1fr);
}

.corporate-images .corporate-images-rows .item img {
    border-radius: 20px;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-thanks .thanks-text {
    font-size: 24px;
    color: #fff;
    font-family: "MidasEv", "Arial", serif;
    font-weight: bold;
    display: block;
}

.page-thanks .cover .container {
    align-items: flex-start;
}

.popup-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: transform 0.5s ease;
}

.popup-text-container {
    background: linear-gradient(to right , #00F9B2 , #2BB3E2, #7447E2 140%);
    text-align: center;
    margin-right: 15px;
    padding: 5px;
    border-radius: 20px;
    cursor: pointer;
}

.popup-text-container:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Увеличение тени */
}

.popup-text {
    font-size: 14px;
    color: #000000;
    line-height: 1.5; /* Убираем возможные проблемы с вертикальным выравниванием */
    font-family: "Arial", sans-serif;
    font-weight: 600;
}

.popup-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #07ECBC;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.popup-trigger:hover {
    background-color: #06D2A9; /* Изменение цвета при наведении */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Увеличение тени */
}

.popup-button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
}

/* Стиль для попапа */
.popup-form {
    display: none; /* Изначально скрыт */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.popup-content {
    background-color: #000000;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    text-align: center;
    border: 8px solid #12D5CD;
}

.popup-content h3 {
    background: linear-gradient(to right , #00F9B2 , #2BB3E2, #7447E2 140%);
    background-clip: border-box;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.icon-pencil {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #000;
    mask: url('../assets/icons/icon-pencil.svg') no-repeat center;
    -webkit-mask: url('../assets/icons/icon-pencil.svg') no-repeat center;
    mask-size: contain;    /* Масштабирование иконки */
    -webkit-mask-size: contain; /* Масштабирование для WebKit */
    transition: all 0.3s ease; /* Анимация при наведении */
}


.popup-close {
    background: none;
    border: none;
    font-size: 24px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.popup-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-form input,
.popup-form textarea {
    font-size: 14px;
    margin-bottom: 0;
}
.popup-form select {
    font-size: 16px;
    margin-bottom: 0;
}