/* Основные стили */
:root {
    --primary-color: #282B47;
    --secondary-color: #FFFFFF;
    --accent-color: #282B47;
    --text-color: rgba(40, 43, 71, 0.7);
    --background-color: #F9FAFB;
    --white-color: #fff;
    --button-hover: #333;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Syne', sans-serif;
    background-color: var(--background-color);
    color: var(--primary-color);

}

/* Анимации загрузки */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp{
    from{opacity:0;transform:translateY(100px)}
    to  {opacity:1;transform:none}
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Скрытие/показ контента при загрузке */
.hero::before {
    display: none;
}

.hero {
    height: 560px;
    position: relative;
    background-image: url('images/BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.container.hero__container{
    padding-top: 122px;
}

.hero.loaded {
    visibility: visible;
    opacity: 1;
}

.hero__title {
    visibility: hidden;
    opacity: 0;
}

.hero__description {
    visibility: hidden;
    opacity: 0;
    transform: translateY(100px);
}

.button--hero {
    visibility: hidden;
    opacity: 0;
    transform: translateY(100px);
}

/* Анимации после загрузки */
.hero.loaded .hero__title--first {
    animation: fadeInLeft 2s ease forwards;
    visibility: visible;
}

.hero.loaded .hero__title--second {
    animation: fadeInRight 2s ease forwards;
    visibility: visible;
}

.hero.loaded .hero__description {
    animation: fadeInUp 2s ease both 0.5s;
    visibility: visible;
}

.hero.loaded .button--hero {
    animation: fadeInUp 2s ease both 1s;
    visibility: visible;
}

/* Ключевые кадры - доступны всегда */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp{
    from{opacity:0;transform:translateY(100px)}
    to  {opacity:1;transform:none}
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.header__container.animate {
    animation: fadeInDown 2s ease both 0s;
}

.hero__title--first.animate {
    animation: fadeInLeft 2s ease forwards;
}

.hero__title--second.animate {
    animation: fadeInRight 2s ease forwards;
}

.hero__description.animate{
    animation: fadeInUp 2s ease both .5s;
}

.button--hero.animate{
    animation: fadeInUp 2s ease both 1s;
}

/* Анимации для "Who We Are?" секции - только от 640px */
@media (min-width: 640px) {
    .who-we-are .section-title.animate{
        animation: fadeInDown 2s ease;
    }
    
    .who-we-are__subtitle.animate{
        animation: fadeInUp 2s ease both 0.2s; 
    }
    
  .text-columns.animate {
    animation: fadeInUp 2s ease both 0.3s;
  }
    

}

/* Остальные анимации - только от 1024px */
@media (min-width: 1024px) {
    .offer .section-title{
        margin-bottom: 40px;
    }
    .who-we-are .image-column.animate{
        animation: fadeInUp 2s ease both 0.3s;
    }
    
    .who-we-are .image-column.animate:nth-child(2){
        animation: fadeInUp 2s ease both 0.5s;
    }
    
    .image-column-adaptiv.animate{
        animation: fadeInUp 2s ease both 0.2s; 
    }
    .section-title.animate{
        animation: fadeInDown 2s ease;
    }
    
    .why-uae__image.animate{
        animation: fadeInRight 2s ease both 0.3s;
    }
    
    .slider-container.animate{
        animation: fadeInUp 2s ease both 0.3s;
    }
    
    .offer-section-divider.animate {
        animation: fadeInUp 2s ease both 0.3s;
    }
    
    .feature-card.animate {
        animation: fadeInUp 2s ease both 0.3s;
    }
    

    
    .contact__item.animate:nth-child(1) {
        animation: fadeInUp 2s ease both 0.3s;
    }
    
    .contact__item.animate:nth-child(2) {
        animation: fadeInUp 2s ease both 0.4s;
    }
    
    .contact__item.animate:nth-child(3) {
        animation: fadeInUp 2s ease both 0.5s;
    }
    
    .contact__item.animate:nth-child(4) {
        animation: fadeInUp 2s ease both 0.6s;
    }
    
    .contact__item.animate:nth-child(5) {
        animation: fadeInUp 2s ease both 0.7s;
    }
    
    h2.animate {
        animation: fadeInDown 2s ease;
    }
    
    .contact__content.animate {
        animation: fadeInLeft 2s ease both 0.3s;
    }
    
    .footer__address.animate {
        animation: fadeInUp 2s ease both 0.3s;
    }
    

    
    .footer__bottom.animate {
        animation: fadeInUp 2s ease both 0.3s;
    }
    
    
    .feature-card.animate:nth-child(1) {
        animation-delay: 0.1s;
    }
    
    .feature-card.animate:nth-child(2) {
        animation-delay: 0.2s;
    }
    
    .feature-card.animate:nth-child(3) {
        animation-delay: 0.3s;
    }
    
    .feature-card.animate:nth-child(4) {
        animation-delay: 0.4s;
    }
    

    
    .offer-section-divider.animate:nth-child(1) {
        animation-delay: 0.1s;
    }
    
    .offer-section-divider.animate:nth-child(2) {
        animation-delay: 0.2s;
    }
    
    .offer-section-divider.animate:nth-child(3) {
        animation-delay: 0.3s;
    }
    
    .offer-section-divider.animate:nth-child(4) {
        animation-delay: 0.4s;
    }
}

.who-we-are h2{
    margin-bottom: 40px;
}

@media (max-width: 1024px) and (min-width: 640px) {
    .who-we-are h2{
        margin-bottom: 20px;
    }
    .offer{
        padding-top: 0px !important;
    }
    
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    padding: 20px 0;
    background: var(--background-color);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo__text {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--primary-color);
}

.menu {
    display: flex;
    gap: 30px;
}

.menu__item {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    padding: 5px 0;
}

.menu__item .text-wrapper {
    position: relative;
    display: inline-block;
}

.menu__item .text-block {
    position: absolute;
    left: 0;
    width: 100%;
    display: flex;
    transition: transform 0.3s ease;
}

.menu__item .text-block--top {
    position: relative;
    transform: translateY(0);
    z-index: 2;
}

.menu__item .text-block--bottom {
    transform: translateY(110%);
    color: rgba(40, 43, 71, 0.5);
    z-index: 1;
}

.menu__item .menu-letter {
    display: inline-block;
    transition: transform 0.5s ease;
}

.menu__item:hover .menu-letter {
    transform: translateY(-120%);
}

.menu__item .text-block--bottom .menu-letter {
    transform: translateY(30%);
}

.menu__item:hover .text-block--bottom .menu-letter {
    transform: translateY(-220%);
}

.menu__item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}

.menu__item:hover::after {
    opacity: 1;
    display: none;
}

/* Адаптивные стили для меню */
@media (max-width: 1024px) {
    .menu {
        gap: 30px;
    }
    
    .menu__item {
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .menu {
        display: none;
    }
}

/* Герой секция */
.hero__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding-left: 0;
}

@media (max-width: 640px) {
    .hero {
        padding: 0;
        max-width: 100vw;
        min-height: calc(100vh - 80px);
    }
    .hero__container {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        width: 100%;
        padding-left: 0;
        min-height: 100vh;
        padding-top: 72px;
        padding-bottom: 20px;
        box-sizing: border-box;
    }

    .button--hero {
        min-width: 100% !important;
        max-width: 1020px;
        margin-bottom: 120px !important;
        margin-top: auto;
    }

    .hero__title {
        font-size: 30px;
    }
    
    .hero__title--first{
        margin-top: 159px;
    }

    .hero__description {
        font-size: 18px;
        margin-bottom: 32px;
    }
}

.hero__content {
    max-width: 800px;
    text-align: left;
    padding-left: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
    flex: 1;
}

.hero__title-wrapper {
    margin-bottom: 16px;
    width: 100%;
}

.hero__title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.2;
    color: var(--primary-color);
    text-align: left;
    width: 100%;
    margin: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero__title--first {
   min-width: 130%; 
}

.hero__title--second {
    margin-top: 0;
}

/* 1. БАЗОВЫЙ СТИЛЬ ЭЛЕМЕНТА (включая скрытое состояние) */
.hero__description{
    /* — ваши «визуальные» свойства — */
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 48px;
    color: var(--primary-color);
    max-width: 600px;
    text-align: left;
    width: 100%;

    /* — стартовое «невидимое» состояние — */
    opacity: 0;
    transform: translateY(100px);
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.button {
    display: inline-block;
    padding: 19px 62px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.4;
    text-align: center;
    color: var(--secondary-color);
    background-color: var(--primary-color);
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease;
    height: 60px;
}

.button--hero {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
    padding: 12px 100px;
    min-width: 240px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    max-width: 270px;
    margin-top: auto;
    margin-bottom: 0;

    /* — стартовое «невидимое» состояние — */
    opacity: 0;
    transform: translateY(100px);
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.button--hero .button__wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    overflow: hidden;
}

.button--hero .button__text {
    position: relative;
    display: inline-block;
    margin-right: 20px;
    line-height: 1;
    height: 24px;
    display: flex;
    align-items: center;
}

.button--hero .block {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button--hero .block--top {
    position: absolute;
    transform: translateY(0);
    transition: transform 0.3s ease;
    height: 24px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.button--hero .block--bottom {
    position: absolute;
    transform: translateY(100%);
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
    height: 24px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.button--hero .letter {
    display: inline-block;
    transition: transform 0.5s ease;
    line-height: 1;
    font-size: 16px;
}

.button--hero:hover .letter {
    transform: translateY(-120%);
}

.button--hero .block--bottom .letter {
    transform: translateY(40%);
}

.button--hero:hover .block--bottom .letter {
    transform: translateY(-150%);
}

.button--hero::after {
    content: '>';
    position: absolute;
    right: 80px;
    top: 48%;
    transform: translateY(-50%);
    font-size: 17px;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);           /* ← начальный цвет */
    transition: transform 1s ease,         /* движение */
                color     1s ease;         /* цвет */
    z-index: 3;
}

.button--hero:hover::after {
    transform: translateY(-50%) translateX(5px);
    color: rgba(255, 255, 255, 0.5);
}


/* Адаптивные стили для hero секции */
@media (max-width: 1024px) {
    .container.hero__container{
        padding-top: 100px;
    }
    .hero__title {
        font-size: 30px;
    }
    
    .hero__description {
        font-size: 20px;
    }
    
    .hero__title--first {
        min-width: 100%;
    }
}
@media (max-width: 640px) {
    .container.hero__container{
        padding-top: 72px;
    }
    .hero__title-wrapper {
        margin-bottom: 24px;
    }
    .who-we-are {
        padding: 40px 0;
    }

    .text-columns {
        gap: 20px;
        margin-bottom: 180px;
    }
    .who-we-are {
        padding-bottom: 32px !important ;
    }
    .why-work .section-title {
        font-size: 36px;
        margin-bottom: 100px;
    }
    .why-work {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
    .feature-card:last-child {
        margin-bottom: 0px !important;
        padding-bottom: 0px !important;
    }
    .why-uae {
        padding: 0px 0 !important;
    }
    .why-uae__content h2{
        margin-bottom: 32px !important;
    }

    .why-uae__image_adaptiv img{
        margin-top: 0px !important;
        margin-bottom: 32px !important;
    }
    
    
    
    
}

@media (max-width: 480px) {
   
    
    .hero__content {
        max-width: 100%;
        margin-left: 0;
        height: 100%;
        flex: 1;
        justify-content: flex-start;
    }
    
    .hero__title-wrapper {
        margin-bottom: 16px;
    }
    .hero__title--first {
        margin-bottom: 0px;
     }
    .hero__title {
        font-size: 30px;
        line-height: 30px;
        text-align: left;
    }
    .hero__title--first{
        font-size: 30px;
        margin-top: 0;
    }

    
    .hero__description {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 16px;
        text-align: left;
        padding-right: 20px;
    }
    
   
}

/* Секция "Who We Are" */
.who-we-are {
    padding-top: 96px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1.2;
}

.who-we-are__subtitle {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 40px;
}

.text-columns {
    display: flex;
    gap: 40px;
    margin-bottom: 160px;
}

.text-column {
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3;
    color: var(--text-color);
    opacity: 1;
    flex: 1;
    min-width: 0;
}

.image-columns {
    display: flex;
    gap: 40px;
}

.image-column {
    flex: 1;
    min-width: 0;
}

.image-column img {
    width: 100%;
    height: 370px;

    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 16/9;
}
.image-column-adaptiv img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: none;
    object-fit: cover;
    aspect-ratio: 16/9;
}
/* Адаптивные стили для секции "Who We Are" */
@media (max-width: 1024px) {
    .who-we-are {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .who-we-are__subtitle {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .text-columns {
        gap: 20px;
        margin-bottom: 80px;
    }
    .image-columns {
        gap: 20px;
    } 
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 30px;
    }
}
@media (max-width: 768px) {
    .who-we-are {
        padding: 60px 0;
    }
   
    
    .who-we-are__subtitle {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 24px;
    }
      
    .text-columns {
        gap: 20px;
        margin-bottom: 80px;
    }
    .image-columns {
        gap: 20px;
    } 
    
 
}

@media (max-width: 640px) {
    .who-we-are {
        padding-top: 48px;
        padding-bottom: 0px;
    }
    
    .section-title {
        font-size: 30px;
        margin-bottom: 16px;
    }
    .who-we-are h2{
        margin-bottom: 0px;
    }
    
    .who-we-are__subtitle {
        font-size: 16px;
        line-height: 1.2;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .text-column {
        font-size: 16px;
        line-height: 1.3;
    }
}

/* Секция "Why Work With Us" */
.why-work {
    padding-top: 160px;
    padding-bottom: 80px;
}

.why-work .section-title {
    text-align: left;
    margin-bottom: 98px;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.feature-card {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    height: 270px;
    background: linear-gradient(201.7deg, rgba(135, 195, 232, 0.16) 40.83%, rgba(76, 189, 251, 0.16) 58.95%, rgba(163, 137, 235, 0.16) 77.07%);
    border-radius: 15px;
    padding: 46px 24px;
    padding-top: 75px;
    position: relative;
    text-align: left;
}

.icon-wrapper {
    position: absolute;
    top: -53px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.icon-outer-circle {
    width: 105px;
    height: 105px;
    background-color: #f9fafb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-background {
    width: 85px;
    height: 85px;
    background: linear-gradient(201.7deg, rgba(135, 195, 232, 0.16) 40.83%, rgba(76, 189, 251, 0.16) 58.95%, rgba(163, 137, 235, 0.16) 77.07%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-background img {
    width: 45px;
    height: 45px;
}

.icon {
    width: 40px;
    height: 40px;
    stroke: #282b47;
    stroke-width: 1.5;
}

.feature-title {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--primary-color);
    padding-top: 30px;
}

.feature-description {
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    padding-top: 15px;
    padding-right: 40px;
    color: var(--text-color);
}

@media (max-width: 1024px) and (min-width: 640px) {
    .features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 80px 20px;
    }
    
    .feature-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin-bottom: 0;
    }
    
}



@media (max-width: 640px) {
    .feature-card {
        flex: 0 0 100%;     /* занимает всю ширину строки */
        max-width: 100%;    /* гарантирует 100% ширины */
        margin-bottom: 97px;/* ваш вертикальный отступ */
        padding-left: 24px; /* сохраняем внутренние отступы */
        padding-right: 24px;
      }
    .features {
        justify-content: space-between;
        gap: 0px;
    }
    
    .why-work .section-title {
        font-size: 36px;
        margin-bottom: 100px;
    }
    .icon-outer-circle{
        width: 112px;
        height: 112px;
    }
    .feature-description{
        padding-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .feature-card {
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 40px;
        padding-left: 50px;
        padding-right: 30px;
    }
    
    .features {
        gap: 40px;
    }
}

/* Секция "Why in UAE" */
.why-uae {
    padding: 80px 0;
}

.why-uae__wrapper {
    display: flex;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-uae__wrapper {
        gap: 40px;

    }
}

.why-uae__content {
    flex: 1;
}
.why-uae__content h2{
   margin-bottom: 40px;
}
.why-uae__text {
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Добавляем контейнер для двух колонок текста */
.why-uae__text-container {
    width: 100%;
    display: block;
}

/* Создаем два класса для разных версий изображения */
.why-uae__image-768 {
    display: none;
    margin-bottom: 20px;
    width: 100%;
}

.why-uae__image-768 img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 20px;
}

@media (max-width: 1024px) and (min-width: 640px) {
    .why-uae__image img {
        max-width: 100%;
    }
    
    .why-uae__image-768 {
        display: block;
        width: 100%;
    }
    
    .why-uae__image-768 img {
        display: block;
    }
    
    /* Показываем версию для 768px */
    .why-uae__image-768 {
        display: flex !important;
    }
    
    .why-uae__image-768 img {
        display: block !important;
        margin-bottom: 0px;
        background-size: cover;
        border-radius: 8px;
        max-width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Скрываем версию для мобильных */
    .why-uae__image_adaptiv {
        display: none !important;
    }
    
    /* Стили для отображения текста в две колонки */
    .why-uae__text-container {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        margin-top: 20px;
    }

    .why-uae__text {
        width: 48%;
        margin-bottom: 0;
        font-size: 16px;
    }

    .why-work {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .why-uae {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .why-uae__image {
        flex: 0;
    }
}

@media (max-width: 480px) {
    /* Возвращаем тексты в одну колонку на мобильных устройствах */
    .why-uae__text-container {
        display: block;
    }

    .why-uae__text {
        width: 100%;
        margin-bottom: 20px;
    }
    
    /* Скрываем версию для 768px */
    .why-uae__image-768 {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .why-uae__image-768 img {
        display: none !important;
        width: 100%;
        border-radius: 12px;
    }
    
    /* Показываем версию для мобильных */
    .why-uae__image_adaptiv {
        display: flex !important;
    }
    
    .why-uae__image_adaptiv img {
        margin-top: 30px;
        display: none;
        margin-bottom: 30px;
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
        margin-left: auto;
        margin-right: auto;
    }
}

.why-uae__image {
    flex: 1;
}
@media (min-width: 1024px) {
    .why-uae__image.animate{
        animation: fadeInUp 2s ease both 0.3s; 
    }
}

.why-uae__image_adaptiv {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.why-uae__image_adaptiv img {
    margin-top: 30px;
    display: none;
    margin-bottom: 30px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
}

.why-uae__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Секция "Partners" */
.partners {
    padding: 80px 0;
    margin-bottom: 60px;
    background-color: var(--background-color);
}
@media (max-width: 1024px) and (min-width: 640px) {
    .partners{
        padding: 120px 0px;
    }
}
.partners__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.slider-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}
@media (min-width: 1024px) {
    .slider-container.animate{
        animation: fadeInUp 1s ease both 0.3s; 
    }
}

.locker-slide{
    left: 98%;
    position: absolute;
    min-width: 50px;
    min-height: 170px;
    background-color:#F9FAFB;
    z-index: 10;
}
.swipe-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Скрываем по умолчанию */
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.swipe-animation dotlottie-player {
    width: 80%;
    max-width: 200px;
    pointer-events: none;
}

.slider-container.swiped .swipe-animation {
    opacity: 0;
    pointer-events: none;
    display: none;
}

@media (min-width: 639px) {
    .swipe-animation {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .swipe-animation {
        position: relative;
        left: 80%;
        top:   -55px;
        width: 60px; /* Ширина контейнера */
        height: 60px; /* Высота контейнера */
        display: flex;
        align-items: center;
        opacity: 1;
        transition: opacity 0.5s ease;
        pointer-events: none;
    }
    
    .swipe-animation dotlottie-player {
        width: 60px; /* Размер плеера */
        height: 60px;
        max-width: 60px;
        pointer-events: none;
    }
    
    .partners__header {
        position: relative; /* Для позиционирования swipe-animation */
        display: flex;
        align-items: center;
        padding-bottom: 20px;
    }
    
    .section-title {
        margin-right: 10px; /* Отступ до анимации */
    }

    .contact-two-columns{
        margin-top: 32px !important;
    }
}

@media (min-width: 769px) {
    .swipe-animation {
        display: none;
    }
}

.slider-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}

.slide {
    min-width: 25%; /* 4 слайда на десктопе (> 1024px) */
    padding: 20px;
    text-align: center;
    border-right: 1px solid #E5E5E5;
    flex: 1;
    opacity: 1;
}

.slide.active.last {
    opacity: 1;

}

.slide:last-child {
    border-right: none;
}

.partner-logo {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.partner-name {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.slider-nav {
    margin-top: -30px;
    display: flex;
    gap: 10px;
}

.nav-button {
    width: 50px;
    height: 50px;
    background-color: rgba(40, 43, 71, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: var(--primary-color);
}
.nav-button:hover > svg {
    fill: white;
}
.nav-button svg {
    width: 50px;
    height: 50px;
    fill: black;
    stroke-width: 1px;
}

@media (max-width: 1024px) {
    .slide {
        min-width: 50%; /* 2 слайда для планшетов */
    }
    .partners{
        margin-bottom: 0px;
    }
}

@media (max-width: 640px) {
    .partners__header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    
    .slider-nav {
        position: relative;
        top: -30px;
        align-self: flex-end;
        gap: 24px;
    }
    
    .slider-container {
        bottom:  30px;
        position: relative;
    }
    
    .partners{
        padding-top: 60px;
        padding-bottom: 40px;
    }
}

@media (max-width: 640px) {
    .nav-button {
        display: none;
    }
}

@media (max-width: 640px) {
    .slide {
        min-width: 100%; /* 1 слайд для мобильных */
        border-right: none;
    }
}

/* Секция "Contact" */
.contact {
    padding: 0;
    background-color: var(--background-color);
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}


@media (min-width: 1024px) {
/* Добавляем стили для двух колонок */
    .contact-two-columns {
        flex: 1;
        width: 50%;
        max-width: 50%;
        position: relative;
    }
}

/* Стили для адаптивной карты */
.contact__map-mobile {
    display: none;
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.contact__map-mobile iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Контент */
.contact__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact__map {
    height: 635px;
    width: 50%;
    overflow: hidden;
    position: relative;
    margin-right: 20px;
    padding-right: 20px;
}

@media (max-width: 1024px) {
    /* Принудительно скрываем основную карту */
    .contact__map {
        display: none !important;
    }
    .contact__header{
        display: block !important;
    }
    .contact__content h2{
        display: none !important;
    }
    
    /* Прямые стили для двух колонок */
    .contact-two-columns {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 20px !important;
        width: 100% !important;
        margin-top: 20px !important;
    }
    
    /* Прямые стили для карты */
    .contact__map-mobile {
        display: block !important;
        width: 48% !important;
        min-width: 48% !important;
        height: 370px !important;
        margin: 0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }
    
    /* Прямые стили для контента */
    .contact__content {
        width: 48% !important;
        min-width: 48% !important;
        gap: 20px !important;
    }
    
    /* Элементы внутри contact__item должны отображаться вертикально */
    .contact__item {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-bottom: 0px !important;
    }
    
    .contact__label, 
    .contact__value {
        width: 100% !important;
        display: block !important;
    }
    
    /* Корректировки */
    .contact__title {
        line-height: 30px !important;
    }
    
    /* Принудительно колоночное отображение для general container */
    .contact {
        flex-direction: column !important;
        padding: 0 20px !important;
    }
    
    .contact__header {
        width: 100% !important;
        margin-bottom: 0px !important;
    }
    .contact__info {
        padding: 0px 0 0px !important;
    }
    .contact__title{
        margin-bottom: 0px !important;
    }
}


@media (max-width: 640px) {
    /* Принудительно одна колонка */
    .contact-two-columns {
        flex-direction: column !important;
        gap: 0px !important;
        margin-top: 32px !important;
    }
    
    .contact__map-mobile,
    .contact__content {
        width: 100% !important;
        min-width: 100% !important;
    }
    
    .contact__map-mobile {
        margin-bottom: 32px !important;
    }
}
.contact__info {
    padding: 120px 0 20px;
   
}


.contact__header {
    margin-bottom: 30px;
    display: none;
}

.contact__title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 50px;
    color: var(--primary-color);
    margin-bottom: 16px;
}
@media (max-width: 1024px) {
    .contact__title {
        font-size: 30px;
        line-height: 30px;
    }
}


.contact__item {
    display: flex;
    align-items: flex-start;
}

.contact__label {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 26px;
    color: var(--primary-color);
    width: 250px;
    margin: 0;
}

.contact__value {
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 23px;
    color: rgba(40, 43, 71, 0.7);
    width: 250px;
    margin: 0;
}

.contact__value a {
    color: rgba(40, 43, 71, 0.7);
    text-decoration: none;
}

.contact__value a:hover {
    text-decoration: underline;
}

/* Футер */
.footer {
    padding: 80px 0 40px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.footer__content {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
}

.footer__form {
    flex: 1;
}

.footer__form h2 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 40px;
}

.footer__form p {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.2;
    margin-bottom: 20px;
    opacity: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 40px;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 8px 0;
    background-color: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
@media (max-width: 480px) {
    .form-checkbox input[type="checkbox"]:checked::after {
        top: 0px;
        left: 4px;

    }
}

.form-checkbox label {
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.5);
}

.button.button--light {
    width: 320px;
    height: 60px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 0;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.4;
    cursor: pointer;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button--light .button__wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.button--light .button__text {
    position: relative;
    display: inline-block;
    line-height: 1;
    height: 24px;
    display: flex;
    align-items: center;
}

.button--light .block {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button--light .block--top {
    position: absolute;
    transform: translateY(0);
    transition: transform 0.3s ease;
    height: 24px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.button--light .block--bottom {
    position: absolute;
    transform: translateY(100%);
    color: rgba(40, 43, 71, 0.5);
    transition: transform 0.3s ease;
    height: 24px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.button--light .letter {
    display: inline-block;
    transition: transform 0.5s ease;
    line-height: 1;
    font-size: 16px;
}

.button--light:hover .letter {
    transform: translateY(-120%);
}

.button--light .block--bottom .letter {
    transform: translateY(40%);
}

.button--light:hover .block--bottom .letter {
    transform: translateY(-150%);
}
 

.button--light:hover::after {
    transform: translateY(-50%) translateX(5px);
    color: rgba(40, 43, 71, 0.5);
}

.footer__contacts {
    flex: 1;
}

.footer__contacts h2 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 40px;
}

 

.footer__address h3 {
    font-family: Syne;
    font-weight: 700;
    font-size: 19px;
    line-height: 120%;
    letter-spacing: 0%;
    padding-bottom: 20px;
}


.footer__address p {
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0px;
    opacity: 1;
    color: rgba(255, 255, 255, 0.5);
}

.footer__bottom {
    display: flex;
    flex-direction: column;
}
@media (max-width: 640px) {
    .footer__bottom {
    }
}
.footer__line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.footer__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__link {
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.footer__copyright {
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.5);
}

/* Адаптивные стили для футера */
@media (max-width: 640px) {
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer__form h2,
    .footer__contacts h2 {
        font-size: 40px;
        margin-bottom: 16px;
    }
    
    .footer__form p {
        font-size: 17px;
        margin-bottom: 16px;
    }
    
    .footer__address h3 {
        font-size: 17px;
        margin-bottom: 16px;
    }
    
    .footer__address p {
        font-size: 16px;
    }
    
    .form-row {
        gap: 30px;
    }
    
    .button.button--light {
        width: 280px;
    }
}

@media (max-width: 1024px) and (min-width: 640px) {
    .footer {
        padding: 50px 0 30px;
    }
    
    .footer__content {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 48px;
    }
    
    .footer__form h2,
    .footer__contacts h2 {
        font-size: 30px;
    }
    
    .form-row {
        gap: 20px;
    }
    
    .footer__form h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .footer__form p {
        font-size: 18px;
    }
    .footer__info {
        align-items: flex-start;
        gap: 10px;
    }
    .form-checkbox{
        margin-top: 10px;
        margin-bottom: 0px;
    }

    .footer__contacts h2 {
        margin-bottom: 20px;
    }

    .footer__address h3{
        font-size: 18px;
    }
    .footer__address p{
        font-size: 16px;
    }
    .contact__value{
        font-size: 16px;
        line-height: 1;
    }
}



@media (max-width: 640px) {
    .contact__info{
        margin-bottom: 60px;
    }
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer__form h2,
    .footer__contacts h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }
    
    .footer__form p {
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .footer__address h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer__address p {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .button.button--light {
        width: 100%;
        height: 50px;
        font-size: 16px;
    }
    
    .form-checkbox label {
        font-size: 12px;
    }
    
    .form-checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
    
    .footer__info {
        gap: 8px;
    }
    


    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* Button */


.button--light {
    background-color: #fff;
    color: #121213;
}

@media (max-width: 640px) {
    .text-columns {
        flex-direction: column;
        gap: 20px;
    }

    .image-columns {
        flex-direction: column;
        gap: 20px;
    }

    
    .who-we-are .image-columns  {
        display: none;
      }

    
    .image-column-adaptiv img {
        display: block;
        height: 370px;
    }
      
    .cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .why-uae__wrapper {
        flex-direction: column;
    }

    .contact__wrapper {
        flex-direction: column;
    }

    .footer__content {
        flex-direction: column;
        gap: 46px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* Секция "What We Offer" */
.offer {
    padding-top: 96px;
    padding-bottom: 0px;
}
.offer h2{
}
.divider {
    height: 1px;
    background-color: rgba(40, 43, 71, 0.1);
    margin-top: 24px;
    margin-bottom: 24px;
}

.offer-section {
    display: flex;
    justify-content: flex-start;
    padding: 10px 0;
}

.offer-title {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.2;
    flex: 0 0 calc(50%);
    margin-right: 20px;
    color: var(--primary-color);
}

.offer-items {
    flex: 0 0 calc(50% - 80px);
    width: auto;
}

.offer-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.bullet {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 12px;
    margin-top: 6px;
}

.item-text {
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: var(--text-color);
}



@media (max-width: 640px) {

    .offer {
        padding: 0px 0;
    }
    
    .offer-section {
        flex-direction: column;
    }
    
    .offer-title, .offer-items {
        width: 100%;
    }
    
    .offer-title {
        margin-bottom: 20px;
        font-size: 22px;
        font-weight: 700;
    }
    
    .item-text {
        font-size: 16px;
    }
    
    .divider {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {

    
    .section-title {
        font-size: 30px;
        margin-bottom: 0px;
    }
    
    .offer-title {
        font-size: 22px;
        line-height: 24px;
        margin-bottom: 16px;
    }
    
    .bullet {
        font-size: 10px;
        transform: scale(0.8);
    }
    
    .offer-item {
        margin-bottom: 10px;
    }
    
    .item-text {
        font-size: 16px;
        line-height: 21px;
    }
    
    .divider {
        margin: 18px 0;
    }
}

/* Адаптивная версия секции Offer с аккордеоном */
.accordion-container {
    display: none; /* По умолчанию скрыта */
}

.accordion-item {
    border-bottom: 1px solid rgba(40, 43, 71, 0.1);
    padding-bottom: 8px;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 16px;
    margin-top: 24px;
    background-color: var(--background-color);
}

.accordion-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    color: var(--primary-color);
}

.accordion-icon-container {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(40, 43, 71, 0.2);
    border-radius: 4px;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: #282B47;
    transition: transform 0.3s ease;
}

/* Горизонтальная линия */
.accordion-icon::before {
    width: 20px;
    height: 2px;
    top: 9px;
    left: 0;
}

/* Вертикальная линия (для плюса) */
.accordion-icon::after {
    width: 2px;
    height: 20px;
    top: 0;
    left: 8.5px;
}

/* Иконка X для активного состояния */
.accordion-item.active .accordion-icon::before {
    transform: rotate(45deg);
    width: 20px;
    top: 9px;
}

.accordion-item.active .accordion-icon::after {
    transform: rotate(45deg);
    height: 20px;
}


.accordion-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}


.accordion-item.active .accordion-content {
    max-height: 300px;
    padding-bottom: 20px;

}

.content-list {
    list-style: none;
    padding-bottom: 5px;
}

.content-list li {
    display: flex;
    margin-bottom: 5px;
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.55;
    color: var(--text-color);
}

.content-list li::before {
    content: '■';
    margin-right: 10px;
    color: #282B47;
    font-size: 12px;
    margin-top: 2px;
}

/* Переключение видимости версий в зависимости от размера экрана */
@media (max-width: 1024px) {
    .offer h2{
        padding-bottom: 20px;
    }
    .offer-original {
        display: none; /* Скрываем оригинальную версию */
    }
    
    .accordion-container {
        display: block; /* Показываем аккордеон */
    }
    
    .accordion-title {
        font-size: 22px;
    }
    
    .content-list li {
        font-size: 16px;
    }
    
    .accordion-icon-container {
        width: 40px;
        height: 40px;
    }
    
    .divider {
        margin: 0px 0;
    }
}

@media (max-width: 640px) {
    .accordion-header{
        display: flex;              /* включаем flex-контейнер */
        align-items: center;        /* выравниваем содержимое по центру по вертикали */
        justify-content: space-between; /* иконка справа, текст слева */    }
    .accordion-title {
        font-size: 22px;
        line-height: 20px;
        padding-bottom: 0px !important;
    }
    
    .content-list li {
        font-size: 15px;
    }
}


@media (max-width: 1024px){
    .why-uae__image img {
        display: none;
    }
    .why-uae__image_adaptiv img {
        margin-top: 30px;
        display: block;
        margin-bottom: 30px;
        background-size: cover;
        border-radius: 8px;
        width: 100%;
        height: auto;
        object-fit: cover;
        margin-left: auto;
        margin-right: auto;
    }


    .why-uae__image {
        flex: 0;
    }

    .icon-background img {
        width: 68px;
        height: 68px;
    }

    .icon-background {
        width: 118px;
        height: 118px;
    }
    .icon-outer-circle {
        width: 154px;
        height: 154px;
    }
    .icon-wrapper{
        top: -80px;
    }
}


@media (max-width: 600px){
    .icon-wrapper{
        top: -80px;
    }
    .feature-card{
        height: 270px;
    }
    .icon-background img {
        width: 64px;
        height: 64px;
    }

    .icon-background {
        width: 112px;
        height: 112px;
    }

    .icon-outer-circle {
        width: 146px;
        height: 146px;
    }
}

/* Анимации для divider и offer-section */


.offer-section-divider.animate {
    animation: fadeInUp 1.5s ease both;
    opacity: 0;
    visibility: visible;
}
.offer-section-divider.animate:nth-child(1) {
    animation-delay: 0.1s;
}
.offer-section-divider.animate:nth-child(2) {
    animation-delay: 0.2s;
}
.offer-section-divider.animate:nth-child(3) {
    animation-delay: 0.3s;
}
.offer-section-divider.animate:nth-child(4) {
    animation-delay: 0.4s;
}


@media (min-width: 1024px) {

    
/* Анимации для feature-card */
.feature-card.animate {
    animation: fadeInUp 1.5s ease both;
    opacity: 0;
    visibility: visible;
}

.feature-card.animate:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card.animate:nth-child(2) {
    animation-delay: 0.3s;
}

.feature-card.animate:nth-child(3) {
    animation-delay: 0.5s;
}

.feature-card.animate:nth-child(4) {
    animation-delay: 0.7s;
}

/* Анимации для why-uae__text */
.why-uae__text-container.animate {
    animation: fadeInUp 1.5s ease 0.3s both;
    opacity: 0;
    visibility: visible;
}




.contact__item.animate:nth-child(1) {
    animation-delay: 0.3s;
}

.contact__item.animate:nth-child(2) {
    animation-delay: 0.4s;
}

.contact__item.animate:nth-child(3) {
    animation-delay: 0.5s;
}

.contact__item.animate:nth-child(4) {
    animation-delay: 0.6s;
}

.contact__item.animate:nth-child(5) {
    animation-delay: 0.7s;
}
}





@media (min-width: 1024px) {
    .footer__form p.animate {
        animation: fadeInUp 1.5s ease both 0.3s;
    }
    .footer__form .contact-form.animate {
        animation: fadeInUp 1.5s ease both 0.3s;
    }
    .contact__content.animate {
        animation: fadeInUp 1.5s ease both;
    }

    .footer__address.animate {
        animation: fadeInUp 1.5s ease both 0.3s;
    }
    .contact__content.animate {
        animation: fadeInUp 1.5s ease both 0.3s;
    }

    .footer__bottom.animate {
        animation: fadeInUp 1.5s ease 0.6s both;
    }


}
/* Стили для мобильного меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background-color: var(--background-color);
    z-index: 1000;
    display: none;
    overflow-y: auto;
    overflow-x: hidden; /* Скрываем горизонтальный скролл */
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.mobile-menu.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px;
    position: relative; /* Добавляем относительное позиционирование */
}

.mobile-menu__title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: var(--primary-color);
    text-align: center;
    margin: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    width: 100%; /* Растягиваем заголовок на всю ширину */
    position: absolute; /* Позиционируем абсолютно */
    text-transform: none; /* Не преобразовываем слово "Menu" */
}

.mobile-menu.open .mobile-menu__title {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu__title h2.animate {
    animation: fadeInDown 0.5s ease !important;
}
.mobile-menu__close {
    width: 42px;
    height: 42px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
    z-index: 10; /* Увеличиваем z-index для крестика */
    margin-left: auto; /* Отправляем крестик вправо */
}

.mobile-menu.open .mobile-menu__close {
    opacity: 1;
    transform: scale(1);
}

.mobile-menu__close:before,
.mobile-menu__close:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 21px;
    height: 2px;
    background-color: var(--primary-color);
    transition: transform 0.3s ease;
}

.mobile-menu__close:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__close:hover:before,
.mobile-menu__close:hover:after {
    background-color: var(--accent-color);
}

.mobile-menu__list {
    padding: 0 20px;
}

.mobile-menu__item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(40, 43, 71, 0.2);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open .mobile-menu__item {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.open .mobile-menu__item:nth-child(1) {
    border-top: 1px solid rgba(40, 43, 71, 0.2);
    transition-delay: 0.1s;
}

.mobile-menu.open .mobile-menu__item:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.open .mobile-menu__item:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.open .mobile-menu__item:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu.open .mobile-menu__item:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu.open .mobile-menu__item:nth-child(6) {
    transition-delay: 0.35s;
}


.mobile-menu__link {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease, background-color 0.3s ease; /* Добавляем переход для фона */
    text-transform: uppercase;
}

.mobile-menu__link:hover {
    color: var(--accent-color);
    background-color: rgba(40, 43, 71, 0.1); /* Серая подсветка при наведении */
}

/* Добавляем стили для активного состояния */
.mobile-menu__link:active {
    background-color: rgba(40, 43, 71, 0.2); /* Более темная серая подсветка при клике */
}

/* Планшетная версия меню (640px) */
.tablet-menu {
    display: none;
}

@media (min-width: 640px) and (max-width: 1023px) {
    .tablet-menu.open {
        display: block;
        overflow-x: hidden; /* Добавляем скрытие горизонтального скролла */
    }
    
    .tablet-menu__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 20px;
    }
    
    .tablet-menu__item {
        width: calc(50% - 10px);
        padding: 20px 10px 23px;
    }
    
    .mobile-menu.open .mobile-menu__item:nth-child(1) {
        border-top: 0px solid rgba(40, 43, 71, 0.2);
        transition-delay: 0.1s;
    }
    
    .tablet-menu .mobile-menu__link {
        font-size: 17px;
    }
    
    .tablet-menu.mobile-menu {
        height: auto;
        min-height: 340px;
        overflow-x: hidden; /* Явно указываем скрытие горизонтального скролла */
    }
    .mobile-menu__header{
        border-bottom: 1px solid rgba(40, 43, 71, 0.2);
    }
}

/* Мобильная версия меню (до 640px) */
@media (max-width: 640px) {
    .mobile-menu.open {
        display: block;
    }
    .mobile-menu__title{
        font-size: 36px;
        line-height: 36px;
        left: -6px;
    }
    .mobile-menu__link{
        font-size: 17px;
        line-height: 17px;
    }
}

/* Бургер меню для мобильной и планшетной версии */
.burger-menu {
    display: none;
    width: 50px;
    height: 20px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--primary-color);
    left: 0;
    transition: 0.3s ease-in-out;
}

.burger-menu span:nth-child(1) {
    top: 1px;
    width: 30px;
    margin-left: 20px;

}

.burger-menu span:nth-child(2) {
    width: 50px;
    top: 14px;
}



.burger-menu.active span {
    background: var(--accent-color);
}

.burger-menu.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.burger-menu.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

@media (max-width: 1023px) {
    .burger-menu {
        display: block;
    }
    
    .menu {
        display: none;
    }
}

/* Анимации для .why-uae__image-768 - доступны всегда */
.why-uae__image-768.animate {
    animation: fadeInUp 2s ease both 0.3s;
}

@media (max-width: 640px) {
    .footer__bottom {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .footer__info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer__copyright,
    .footer__link {
        width: 100%;
        font-size: 14px;
    }
    .footer__link p{
        font-size: 14px;
        text-transform: uppercase;
    }
}

