
@font-face {
    font-family: 'Thomsan-Regular';
    src: url('./Fonts/Thomsan.woff2') format('woff2'),
         url('./Fonts/Thomsan.woff') format('woff'),
         url('./Fonts/Thomsan.ttf') format('truetype'),
         url('./Fonts/Thomsan.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Qubic-Grid';
    src: url('./Fonts/Qubic-Grid-Regular.woff2') format('woff2'),
         url('./Fonts/Qubic-Grid-Regular.woff') format('woff'),
         url('./Fonts/Qubic-Grid-Regular.ttf') format('truetype'),
         url('./Fonts/Qubic-Grid-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --base-text-color: #424761;
    --heading-color:#2A4291;
    --acsent-blue: #418EBB;
    --acsent-pink: #FF556D;
    --base-white: #FEFFFE;
    --font-primary: 'Thomsan-Regular', sans-serif;
    --font-secondary: 'Qubic-Grid', sans-serif;
}

/* 
var(--base-text-color);
var(--base-white);
var(--acsent-pink);
var(--acsent-blue);
var(--heading-color); 
*/


body {
    font-family: var(--font-secondary);
    color:var(--base-text-color);
    background-color: var(--base-white);
}

/* Заголовки и элементы интерфейса (используют Thomsan) */
h1, h2, h3, h4, h5, h6,
.logo h1,
.nav a,
.header-button,
.header-button-2,
.cta-button,
.show-more-button {
    font-family: var(--font-primary);
}

* {
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.main-container {
    max-width: 1600px;
    margin: 90px auto 0;
    padding: 0 20px;
}

.header {
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    width: 100vw;
    position: fixed;
    z-index: 10;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрирование контейнеров внутри header */
}

.header.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items:flex-start;
    background-color: var(--base-white);
    width: 100%; /* Растягивание содержимого на всю ширину контейнера */
    max-width: 1600px; /* Ограничение максимальной ширины */
    padding: 0 20px; /* Отступы по краям */
    /* gap: 10px; */
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
}

.logo, .nav {
    flex: 1; /* Растягивание элементов на всю доступную ширину */
    display: flex;
    justify-content: space-between; /* Равномерное распределение содержимого */
}

.top-bar-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 10px 0;
}

.nav div {
    display: flex;
    justify-content: flex-end; /* Равномерное распределение ссылок */
    gap: 20px;
    width: 100%; /* Растягивание на всю ширину */
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: var(--base-text-color);
    align-self: center;
}

.top-bar-buttons a {
    text-decoration: none;
    font-family: var(--font-primary);
}

.logo {
    gap: 10px;
}

.logo, .nav-toggle, .nav {
    flex-grow: 1;
}

.logo img {
    max-height: 80px;
    max-width: 100%;
    margin: 5px;
    position: relative;
    top: 0;
    left: 0;
}

.logo h1 {
    font-size: 1.8em;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--base-text-color);
}

.logo p {
    font-size: 0.9em;
    color: var(--base-text-color);
    margin-top: 6px;
}

.header-button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--base-white)!important;
    background-color: var(--heading-color);
    font-size: 19px;
    padding: 5px 10px;
    border-radius: 20px;
    font-family: var(--font-primary);
}

.header-button-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--base-white) !important;
    background-image: linear-gradient(to right, #03BA25, #61FC70);
    padding: 5px 25px;
    border-radius: 10px;
    border-color: #61FC70;
    border: #03BA25;
    border-width: 1px;
    border-style: solid;
    font-size: 2rem !important;
    max-width: 100px;
    margin: auto;
    position: relative; /* Для псевдоэлемента */
    overflow: hidden; /* Скрыть блик, выходящий за границы */
    font-family: var(--font-primary);
}

.header-button-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.2)
    );
    transition: opacity 0.9s ease;
    animation: glossy-effect 4s infinite;
}

@keyframes glossy-effect {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Убираем max-height и overflow для широкой версии меню */
.nav.open {
    max-height: none; /* не ограничиваем высоту, чтобы меню было всегда видно */
    padding: 0;
}

.nav a {
    text-decoration: none;
    text-align: center;
    font-weight: 400;
    font-size: 19px;
    color: var(--base-text-color);
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav a:hover, .nav a:focus, .nav a.active {
    color: var(--secondary-color);
    /* background-color: rgba(0, 0, 0, 0.05); */
}

.nav a:focus {
    outline: 2px dashed var(--base-text-color);
}

@media (max-width: 1024px) {
    /* .logo {
        max-width: 40%;
    } */
    /* .logo img {
        width: 100%;
    } */
}

/* @media (min-width: 768px) and (max-width: 1024px) {
    .logo img {
        width: 100%;
    }
} */

 /* Стили для экранов меньше 768px */
 @media (max-width: 768px) {
    .nav {
        display: flex;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
        width: 100%;
        justify-content: space-around;
        margin-top: 10px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .nav div {
        display: flex;  /* Добавляем flex для отображения меню по умолчанию */
        flex-direction: column;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
        position: absolute;
        top: 10px;
        right: 0;
    }

    .nav.open {
        max-height: 480px;
        padding: 10px 0;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .logo img {
        height: auto;
        max-width: 60%;
    }

    .top-bar-buttons {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5em;
    }

    .nav a {
        font-size: 1em;
        gap: 15px;
        padding: 10px;
    }

    /* .logo img {
        height: 50px;
    } */
}

.hero-section {
    display: flex;
    /* flex-direction: row-reverse; */
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--base-text-color);
    margin: 20px 0;
    font-family: var(--font-primary);
}

.hero-text h1 span.blue {
    color: var(--acsent-blue);
}

.hero-text h1 span.red {
    color: var(--acsent-pink);
}

.hero-text p {
    font-size: 20px;
    font-weight: 400;
    color: var(--base-text-color);
    font-family: var(--font-primary);
    line-height: 1.6;
    /* margin-bottom: 30px; */
}

.hero-text .cta-button {
    display: flex;
    align-items: center;
    padding: 20px 15px 20px 15px;
    font-size: 18px;
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--base-white);
    background: var(--heading-color);
    text-decoration: none;
    border-radius: 20px;
    transition: background 0.3s ease;
    width: 204px;
    height: 53px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .hero-text .cta-button {
        margin-top: 0;
    }
}

.hero-text .cta-button:hover {
    background: var(--acsent-blue);
}

.hero-image {
    /* flex: 1; */
    width: 50%;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 80%;
    height: auto;
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        /* margin: 40px 0 0; */
        /* padding: 80px 0 0; */
    }

    .hero-text, .hero-image {
        flex: unset;
        width: 100%;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .partners {
        flex-direction: column;
    }
}

.logo-section {
    max-width: 1600px;
    margin: 0 auto 60px;
    background: var(--base-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.logo-section h2 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 0;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
}

.logo-section img {
    width: 240px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.logo-section img:hover {
    opacity: 1;
}

.partners {
    display: flex;
    gap: 15px;
    margin: 0 auto 20px;
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-text, .hero-image {
        flex: unset;
    }
}

/* .services-section {
    max-width: 1600px;
    margin: 60px auto;
    padding: 60px 20px;
    text-align: center;
}

.services-section h2 {
    font-size: 30px;
    font-weight: 400;
    color: var(--base-text-color);
    margin-bottom: 10px;
}

.services-section h3 {
    font-size: 1em;
    color: var(--acsent-pink);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.services-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.service-card {
    background: var(--base-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
    flex: 1;
    max-width: calc(25% - 20px);
}

.service-card img {
    height: 80px;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--base-text-color);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1em;
    color: var(--base-text-color);
} */

.expanded-services-section {
    max-width: 1600px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
    text-align: center;
}

.ourservices {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.ourservices p {
    max-width: 400px;
    text-align: left;
}

.services-header {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin: 40px 0;
}

.services-header h1, h2 {
    font-size: 30px;
    font-weight: 400;
    font-family: var(--font-primary);
    /* text-align: center; */
    max-width: 800px;
}

.services-section {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--base-white);
    color: #404B67;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: var(--base-white);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin: 20px 80px;
    max-width: 550px;
    flex: 1 1 300px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
    .service-card {
        margin: 20px 0;
    }
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 100%;
    max-width: 400px;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--base-text-color);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    font-size: 17px;
    font-weight: 400;
    color: var(--base-text-color);
    line-height: 1.6;
}

.service-card ul {
    list-style-type: disc;
    padding: 0 20px;
    margin: 1rem 0;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    font-size: 17px;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--base-white) !important;
    background-color: var(--heading-color);
    font-size: 19px;
    padding: 10px 10px;
    border-radius: 20px;
    border: none;
    font-family: var(--font-primary);
}

.contact-button:hover {
    background-color: var(--acsent-blue);
}

.align-self-center {
    align-self: center!important;
}

.expanded-services-section h2 {
    float: left;
    font-size: 30px;
    font-weight: 400;
    color: var(--base-text-color);
    margin-bottom: 10px;
    max-width: 900px;
    text-align: left;
}

.expanded-services-section h3 {
    float: left;
    font-size: 20px;
    font-weight: 400;
    color: var(--acsent-pink);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.expanded-services-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.expanded-service-card {
    background: var(--base-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 25px 135px;
    display: flex;
    gap: 112px;
    margin-bottom: 5px;
}

.expanded-service-card img {
    height: 300px;
    width: auto;
    max-width: 100%;
}

.expanded-service-text {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.expanded-service-text h4 {
    font-size: 30px;
    font-weight: 400;
    color: var(--base-text-color);
    margin-bottom: 10px;
}

.expanded-service-text h3 {
    font-size: 24px;
    font-weight: 400;
    color: var(--base-text-color);
    margin-bottom: 10px;
}

.expanded-service-text p {
    font-size: 17px;
    font-weight: 400;
    color: var(--base-text-color);
    margin-bottom: 20px;
}

.expanded-service-text ul, li {
    margin-bottom: 20px;
}

.expanded-service-text .cta-button {  
    display: flex;
    align-items: center;
    padding: 20px 15px 20px 15px;
    font-size: 18px;
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--base-white);
    background: var(--heading-color);
    text-decoration: none;
    border-radius: 20px;
    transition: background 0.3s ease;
    max-width: 226px;
    height: 53px;
    margin: 20px 0;
}

.flex-end {
    display: flex!important;
    align-self: flex-end!important;
}

.flex-reverse {
    display: flex!important;
    flex-direction: row-reverse;
}

@media (max-width: 768px) {

    .expanded-service-text .cta-button {
        align-self: center!important;
        display: flex;
        align-items: center;
        padding: 20px 15px 20px 15px;
        font-size: 18px;
        font-family: var(--font-primary);
        font-weight: 400;
        color: var(--base-white);
        background: var(--heading-color);
        text-decoration: none;
        border-radius: 20px;
        transition: background 0.3s ease;
        /* width: 204px; */
        height: 53px;
        margin: 20px 0;
    }

    .flex-end {
        align-self: center!important;
    }

    .flex-reverse {
        display: flex!important;
        flex-direction: column;
    }
}

.expanded-service-text .cta-button:hover {
    background: var(--heading-color);
}

.show-more-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1em;
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--base-text-color);
    background: #2A42911A;
    text-decoration: none;
    border-radius: 20px;
    margin-top: 20px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.show-more-button:hover {
    background: var(--acsent-blue);
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-text, .hero-image {
        flex: unset;
    }

    .logo-section {
        flex-direction: column;
        gap: 15px;
    }

    .services-cards {
        flex-direction: column;
        gap: 30px;
    }

    .service-card {
        max-width: 100%;
    }

    .expanded-services-cards {
        gap: 20px;
    }

    .expanded-service-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
        gap: 20px;
        align-items: center;
    }

    .expanded-service-card img {
        height: 200px;
        width: auto;
        max-width: 100%;
    }
}

.summary-section {
    max-width: 1600px;
    margin: 60px auto;
    padding: 60px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.summary-text {
    flex: 1;
}

.summary-text h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--acsent-pink);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.summary-text h2 {
    font-size: 20px;
    font-weight: 400;
    color: var(--base-text-color);
    margin-bottom: 20px;
}

.summary-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    /* text-align: center; */
    margin-bottom: 20px;
}

.reverse {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    justify-content: center;
}


.stat-item h4 {
    font-size: 30px;
    font-weight: 400;
    color: var(--base-text-color);;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 20px;
    font-weight: 400;
    color: var(--base-text-color);
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-text, .hero-image {
        flex: unset;
    }

    .logo-section {
        flex-direction: column;
        gap: 15px;
    }

    .services-cards {
        flex-direction: column;
        gap: 30px;
    }

    .service-card {
        max-width: 100%;
    }

    .summary-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .summary-stats {
        flex-direction: column;
        gap: 0;
    }
}

.sumflex {
    display: flex;
    flex-direction: column;
    width: 50%;
}

@media (max-width: 768px) {
    .sumflex {
        width: 100%;
    }
}

.how-it-works {
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.how-it-works h2 {
    color: var(--acsent-blue);
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 10px;
}

.how-it-works p {
    color: var(--base-text-color);;
    font-size: 17px;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 40px;
}

.steps-container {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}

.step {
    display: flex;
    background-color: var(--base-white);
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 385px;
    text-align: left;
    flex-direction: column;
    align-items: center;
}

.step img {
    max-width: 100%;
}

.step-icon {
    background-color: var(--base-white);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--acsent-blue) !important;
    border-radius: 50%;
    font-size: 45px;
    font-weight: 400;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 24px;
    font-weight: 400;
    color: var(--base-text-color);
    margin-bottom: 30px;
}

.step ul {
    list-style-type:disc;
    color: var(--base-text-color);
    margin: 30px 0 0;
}

.step ul li {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.5;
}

@media (max-width: 1600px) {
    .steps-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {

    how-it-works {
        text-align: center;
        padding: 10px;
    }

    .steps-container {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .step {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}

.testimonial-section {
    padding: 40px 20px 0 20px;
    margin-bottom: 80px;
    background-color: #FF556D26;
    text-align: center;
    border-radius: 20px;
}

.section-tag {
    color: var(--acsent-pink);
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    color: var(--base-text-color);
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 20px;
    max-width: 790px;
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    color: var(--base-text-color);
    font-family: var(--font-secondary);
    font-size: 17px;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card-wrapper {
    position: relative;
    margin: 100px;
}

.testimonial-card {
    background: var(--base-white);
    border-radius: 20px;
    padding: 30px 30px 60px; /* Увеличиваем padding снизу */
    text-align: left; /* Выравнивание по левому краю */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
}

.testimonial-text {
    color: var(--base-text-color);;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.testimonial-image {
    border-radius: 50%;
    /* overflow: hidden; */
    position: absolute;
    right: 0;
    top: 15%;
    z-index: 1;
    /* transform: translateY(-50%); */
    transform: translate(50%);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    color: var(--base-text-color);;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.explore-btn {
    background: var(--heading-color);
    font-family: var(--font-primary);
    color: var(--base-white) !important;
    padding: 16px 32px;
    border-radius: 20px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
    position: absolute;
    bottom: -25px;
    left: 75px;
    white-space: nowrap;
}

.explore-btn:hover {
    background: var(--acsent-blue);
}

.swiper-pagination {
    position: relative;
    margin-bottom: -40px!important;
    z-index: 20!important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--heading-color); ;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper-button-prev,
.swiper-button-next {
    bottom: 0;
    color: var(--heading-color); ;
    background: var(--base-white) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 18px;
}

/* Ограничиваем ширину текстового контента */
.testimonial-content {
    max-width: 65%;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 40px;
}

.swiper-pagination {
    position: relative;
    display: inline-block;
    margin: 0;
    bottom: 0;
}

/* Контейнер для навигации */
.swiper-navigation-container {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Расстояние между элементами */
}

.swiper-button-prev,
.swiper-button-next {
    padding: 20px !important;
    color: gray !important;
    background: var(--base-white) !important;
    width: 15px !important;
    height: 15px !important;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button-prev {
    margin-left: 200px;
}

.swiper-button-next {
    margin-right: 200px;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 18px!important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--heading-color); ;
    opacity: 0.3;
    margin: 0 5px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Медиа-запросы для адаптивности */

/* Планшеты */
@media screen and (max-width: 1024px) {
    .section-title {
        font-size: 20px;
        padding: 0 20px;
    }
    
    .testimonial-card-wrapper {
        margin: 60px 40px;
    }
    
    .swiper-button-prev {
        margin-left: 0;
    }
    
    .swiper-button-next {
        margin-right: 0;
    }
    
    .testimonial-content {
        max-width: 80%;
    }
}

/* Маленькие планшеты */
@media screen and (max-width: 768px) {
    .section-title {
        font-size: 20px;
    }
    
    .testimonial-card-wrapper {
        margin: 40px 20px;
    }
    
    .testimonial-content {
        max-width: 100%;
    }
    
    .testimonial-image {
        position: static;
        transform: none;
        margin: 20px auto;
        width: 120px;
        height: 120px;
    }
    
    .testimonial-card {
        padding: 20px 20px 50px;
        text-align: center;
    }
    
    .explore-btn {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

/* Мобильные устройства */
@media screen and (max-width: 480px) {
    .section-title {
        font-size: 20px;
    }
    
    .section-description {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .testimonial-card-wrapper {
        margin: 30px 10px;
    }
    
    .testimonial-name {
        font-size: 18px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .explore-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .testimonial-image {
        width: 100px;
        height: 100px;
    }

    .swiper-pagination {
        margin-bottom: 30px;
    }
}

.footer {
    background-color: var(--heading-color);
    color: var(--base-white);
    padding: 45px 20px 20px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    width: 100vw;
    flex-wrap: wrap;
    align-content: stretch;
    align-items: center;
}

.footer-container {
    display: flex;
    width: 100%;
    max-width: 1600px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    color: var(--base-white);
}

.footer-about, .footer-links, .footer-contact {
    flex: 1;
    margin-bottom: 20px;
    width: 100%;
}

.footer-logo {
    width: 75%;
    margin-bottom: 10px;
}

.footer-about p {
    color: var(--base-white);
    max-width: 250px;
}

.footer-hours h4 {
    margin-top: 10px;
    font-size: 1.1em;
}

.footer-hours p {
    color: var(--base-white);
    margin: 5px 0;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: var(--base-white);
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: var(--base-white);
}

.footer-contact h4 {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.footer-contact a {
    text-decoration: none;
    color: var(--base-white);
}

.footer-contact a:hover {
    text-decoration:underline;
    color: var(--acsent-pink);
}

.footer-contacts {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* .footer-contacts span {
} */

.contact-icon {
    font-size: 1.2em;
    margin-right: 10px;
}

.footer-bottom {
    display: flex;
    padding-top: 40px;
    padding-bottom: 40px;
    width: 100%;
    max-width: 1600px;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid var(--base-white);
    color: var(--base-white);
}

.footer-social a {
    color: var(--base-white);
    margin-left: 15px;
    text-decoration: none;
    font-size: 1.1em;
}

.footer-social a:hover {
    color: var(--base-white);
}

@media (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .footer-bottom {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-evenly;
        border-top: 1px solid var(--base-white);
        color: var(--base-white);
        padding: 50px 0;
    }

    .footer-logo {
        width: 100%;
    }

    .footer-about p {
        max-width: 100%;
    }
}

.header-button {
    background-color: var(--heading-color); /* Темно-синий */
    font-family: var(--font-primary);
}

.header-button-2 {
    color: var(--heading-color); /* Темно-синий */
    /* border-color: var(--heading-color); */
    font-family: var(--font-primary);
}

.stat-item h4 {
    color: var(--heading-color); /* Темно-синий */
}

.footer {
    background-color: var(--heading-color); /* Темно-синий */
}

.section-tag {
    color: var(--acsent-pink); /* Розовый красный */
}

.hero-text h1 span.red {
    color: var(--acsent-pink); /* Розовый красный */
}

.services-header h1 span.red, .services-header h2 span.red  {
    color: var(--acsent-pink); /* Розовый красный */
}

.services-header h1 span.blue, .services-header h2 span.blue {
    color: var(--acsent-blue);
}

.services-header h1 span.darkblue, .services-header h2 span.darkblue {
    color: var(--heading-color); /* Тёмно-синий */
}


.expanded-services-section h3,
.summary-text h3 {
    color: var(--acsent-pink); /* Розовый красный */
}

.how-it-works h2 {
    color: var(--acsent-pink); /* Розовый красный */
}

.nav a:hover, .nav a:focus, .nav a.active {
    color: var(--acsent-blue) !important; /* Голубой */
}

.nav a:focus {
    outline-color: var(--acsent-blue) !important; /* Голубой */
}

.step-icon {
    color: var(--acsent-blue) !important; /* Голубой */
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--acsent-blue) !important; /* Голубой */
}

.testimonial-name {
    color: var(--acsent-blue) !important; /* Голубой */
}

.footer-social a:hover {
    color: var(--acsent-blue) !important; /* Голубой */
}

.header {
    background-color: var(--base-white); /* Почти белый */
}

.footer-about p,
.footer-column ul li a,
.footer-contact h4 {
    color: var(--base-white); /* Почти белый */
}

.explore-btn {
    background: var(--heading-color); /* Почти белый */
}

.services-section {
    padding: 60px 0 0;
    max-width: 1600px;
    margin: auto;
}

.breadcrumb {
    color: var(--base-text-color);
    position: absolute;
}

.breadcrumb a {
    color: var(--base-text-color);
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.content {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    align-items: center;
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
        margin-bottom: 0;
    }
}

.text-content {
    max-width: 500px;
}

.text-content h1 {
    font-size: 30px;
    font-weight: 400;
    color: var(--base-text-color);
    margin: 25px 0;
    text-align: left;
}

.text-content p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--base-text-color);
    text-align: left;
}

.image-content {
    max-width: 500px;
}

.illustration {
    width: 100%;
    height: auto;
}

.styled-heading {
    font-size: 2.5rem; /* Размер шрифта */
    color: var(--base-text-color); /* Основной цвет текста */
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    margin: 20px 0;
}

.highlight-red {
    color: var(--acsent-pink); /* Цвет для слова "amazing" */
    /* font-weight: bold; */
}

.highlight-blue {
    color: var(--heading-color); /* Цвет для слова "enjoy" */
    /* font-weight: bold; */
}

.form-container {
    max-width: 1600px;
    margin: 4rem auto;
    padding: 1rem 100px;
    background: var(--base-white) !important;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-title {
    color: var(--acsent-pink);
    margin: 2rem 0;
    font-size: 1.5rem;
}

.form-section {
    display: flex;
    padding-bottom: 40px;
    gap: 5px;
    flex-direction: column;
}

.form-line {
    flex-grow: 1;
    height: 1px;
    background-color: #42476150;
}

.form-line-blog {
    flex-grow: 1;
    height: 1px;
    background-color: var(--acsent-pink);
    width: 300px;
    margin: auto;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--acsent-blue) !important;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.form-section-title img {
    overflow: hidden;
    height: 44px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.form-group p {
    color: var(--acsent-blue);
}

.form-group-input {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    justify-content: space-between;
}

.form-group span {
    border: 1px solid #42476150;
    border-radius: 4px;
    font-size: 21px;
    max-width: 300px;
    display: flex;
}

.form-group span i, .form-group span img {
    color: var(--base-text-color);
    padding: 10px;
    height: 100%;
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
    padding: 0.75rem;
    border: 1px solid #42476150;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Qubic-Grid', sans-serif;
}

select {
        padding: 0.75rem;
        border: none;
        font-size: 1rem;
        width: 100%;
        font-family: 'Qubic-Grid', sans-serif;
    }

.time-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.time-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #FF556D50;
    border-radius: 4px;
    cursor: pointer;
}

.time-option input[type="radio"] {
    margin-right: 0.5rem;
}

.additional-info {
    width: 100%;
    min-height: 200px;
    padding: 0.75rem;
    border: 1px solid #42476150;
    background-color: #2A429110;
    border-radius: 20px;
    resize: vertical;
}

.privacy-notice {
    font-size: 0.85rem;
    color: var(--base-text-color);;
    margin: 1rem 0;
}

.submit-btn {
    background: var(--heading-color);
    font-family: var(--font-primary);
    color: var(--base-white) !important;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: auto;
}

.submit-btn:hover {
    background: var(--base-text-color);
}

.form-group-input {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.input-icon {
    position: relative;
    min-width: 25%; /* Устанавливаем ширину 25% */
}

@media (max-width: 768px) {
    .form-container  {
        padding: 1rem 10px;
    }

    .form-section {
        padding-bottom: 0; 
        gap: 0;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 10px 0;
    }

    .input-icon {
        min-width: 100%;
    }
}

.input-icon input {
    width: 100%; /* Занимает всю ширину контейнера .input-icon */
    padding-left: 60px; /* Отступ для иконки */
}

.input-icon i {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 21px;
    color: var(--base-text-color);
    border-right: 1px solid #42476150;
    padding: 13px!important;
    /* height: 100%; */
}

.procedures-section {
    padding: 2rem 1rem;
    background-color: #FFFFFF;
    text-align: center;
}

.procedures-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    max-width: 1600px;
}

.procedure-card {
    border-radius: 17px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 5rem;
    max-width: 750px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* flex: 1 1 300px; */
}

.procedure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.procedure-image {
    width: 100%;
    height: auto;
    /* max-height: 150px; */
    object-fit: contain;
    margin-bottom: 1rem;
}

.procedure-card h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--base-text-color);
    margin-bottom: 0.5rem;
}

.procedure-card p {
    font-size: 17px;
    color: var(--base-text-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.consultation-button {
    font-family: var(--font-primary);
    padding: 0.75rem 1.5rem;
    color: var(--base-white);
    background-color: var(--heading-color);
    border: none;
    border-radius: 20px;
    font-size: 19px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
    text-decoration: none;
}

.consultation-button:hover {
    background-color: #2d3a54;
}

@media (max-width: 768px) {
    .procedure-card {
        padding: 1rem;
    }
}

.invalid {
    border-color: red;
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.input-icon > span {
    border: none;
}

textarea {
    font-family:var(--font-secondary);
}

.header-button-lang {
    align-self: center;
    margin-right: 30px;
}

@media (max-width: 768px) {
    .header-button-lang {
        margin: 0;
    }
}

.header-button-lang {
    align-self: center;
    margin-right: 30px;
}

@media (max-width: 768px) {
    .header-button-lang {
        margin: 0;
    }
}

.header-button-lang span {
    font-size: 24px;
    color: #424761;
    padding: 5px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

/* Скрываем чекбокс */
.dropdown input[type="checkbox"] {
    display: none;
}

/* Стили для ярлыка, по которому будет происходить переключение */
.dropdown label {
    cursor: pointer;
    display: flex;
    align-items: center;
    user-select: none;
}

/* .dropdown label img {
    width: 20px;
    height: auto;
    margin-right: 5px;
  } */
.dropdown label span {
    font-size: 24px;
    color: #424761;
    margin-left: 5px;
}

/* Стили для выпадающего меню */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 120px;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
}

/* При активном чекбоксе показываем меню */
.dropdown input[type="checkbox"]:checked~.dropdown-menu {
    display: block;
}