
        /* Указываем box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Убираем внутренние отступы */
ul[class],
ol[class] {
  padding: 0;
}

ul,
ol {
  list-style: none;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
    font-family: "DM Sans", serif;
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul[class],
ol[class] {
  list-style: none;
}

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
  text-decoration-skip-ink: auto;
}
a {
    text-decoration: none;
}

/* Упрощаем работу с изображениями */
img {
  max-width: 100%;
  display: block;
}

/* Указываем понятную периодичность в потоке данных у article*/
article > * + * {
  margin-top: 1em;
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}

input, textarea, button {
    outline: none; /* Вимикає стандартний контур */
}

input:focus, textarea:focus, button:focus {
    outline: none;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* Удаляем все анимации и переходы для людей, которые предпочитай их не использовать */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

::-webkit-scrollbar {
    width: 4px; /* ширина скроллбара */
  }
  
  ::-webkit-scrollbar-thumb {
    /* border-radius: 30px; */
    background: #4D4D4E; /* цвет скроллбара */
    border-radius: 5px;
    
    /* box-shadow: inset 2px 2px 2px rgba(255, 255, 255, 0.25),
      inset -2px -2px 2px rgba(0, 0, 0, 0.25); тень скроллбара */
  }
  
  ::-webkit-scrollbar-track {
    background: #D9D9D9; /* фон скроллбара */
    border-radius: 5px;
    height: 92%;
  }

        
    body {
        margin: 0;
        
        text-align: center;
        color: white;
        background: black;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        height: 100%;
    }

    .title-sans {
        color: #FFF;
        text-align: center;
        font-family: "DM Sans";
        font-size: 40px;
        font-style: normal;
        font-weight: 400;
        line-height: 110%; /* 44px */
    }

    .title-serif {
        color: #FFF;
        font-family: "DM Serif Text";
        font-size: 43px;
        font-style: italic;
        font-weight: 400;
        line-height: 110%;
    }

    .subtitle {
        color: #C7B7E7;
        text-align: center;
        font-family: "DM Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%; /* 20.8px */
    }

    /* ---- Сapsule-button ---- */

    .capsule-button {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: none;
        border-radius: 100px;
        border: 1px solid rgba(255, 255, 255, 0.53);
        color: white;
        padding: 10px 15px 10px 10px;
        margin-bottom: 19px;
    }

    .capsule-button-circle {
        width: 4px;
        height: 4px;
        background-color: #8F6CED;
        border-radius: 50%;
    }

    .capsule-button p {
        color: #FFF;

        /* Title */
        font-family: "DM Sans";
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }


    /* ---- Popup ---- */

    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s;
        z-index: 1100;
        
    }

    .popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .popup {
        position: relative;
        display: flex;
        width: 428px;
        padding: 52px 32px;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        border-radius: 12px;
        border: 1px solid #AA87EC;

        background: #0A010E;
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
    }

    .popup-overlay.active .popup {
        transform: scale(1);
    }
    
    .popup-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
    }
    .popup-title {
        color: #FFF;
        font-family: "DM Sans";
        font-size: 48px;
        font-style: normal;
        font-weight: 500;
        line-height: 110%;
        letter-spacing: -0.96px;
        margin-bottom: 12px;
    }
    .popup-title-italic {
        color: #FFF;

        text-align: center;
        font-family: "DM Serif Text";
        font-size: 48px;
        font-style: italic;
        font-weight: 400;
        line-height: 110%; /* 52.8px */
        letter-spacing: -0.96px;
    }
    .popup-subtitle {
        color: #C7B7E7;

        text-align: center;
        /* Body */
        font-family: "DM Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%; /* 20.8px */
        margin-bottom: 12px;
    }
    .popup-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    input {
        width: 100%;
        display: flex;
        padding: 16px 24px;
        align-items: center;
        gap: 10px;
        align-self: stretch;
        border-radius: 100px;
        border: 1px solid #615376;
        background: inherit;
        color: #C7B7E7;
    }
    textarea {
        display: flex;
        height: 108px;
        padding: 16px 24px;
        align-items: flex-start;
        gap: 10px;
        align-self: stretch;
        border-radius: 20px;
        border: 1px solid #615376;
        background: inherit;
        color: #C7B7E7;
    }

    .popup-btn {
        display: flex;
        padding: 16px 24px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        align-self: stretch;
        border-radius: 100px;
        background: #FFF;
        width: 100%;
        color: #000;
        cursor: pointer;
        border: none;

        
    }
    .popup-btn-text {

        background: linear-gradient(to right, #D6C5FA,#6231E5);
        background-size: 200% 200%;
        background-clip: text;
        -webkit-background-clip:text;
        animation: rainbow 2s ease-in-out 1 forwards;
        background-size: 200%;
        background-position: left;
        --gradient-opacity: 0; /* Початково градієнт невидимий */
        transition: --gradient-opacity 0.6s ease-in-out;
        color:rgba(0,0,0,1);
        display:block;
        text-align:center;
        transition: color .2s ease-in-out;
        font-weight:600;
        font-family: "DM Sans";
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;   

    }

    .popup-btn-text-wrapper {
        width: 100%;
    }

    .popup-btn:hover .popup-btn-text{ 
        color:rgba(0,0,0,0);
        }

        @keyframes rainbow { 
        0%{background-position:left}
        100%{background-position:right}
        }

    /* ---- Header ---- */

    .header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
    }
    .header-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 40px;
    }


    .logo {
        width: 41.573px;
        height: auto;
    }
    .contact-btn {
        background: white;
        border: none;
        padding: 12px 24px;
        border-radius: 25px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.8s ease;
        overflow: hidden;
        
    }
    
    .contact-btn-text {
        background: linear-gradient(to right, #D6C5FA,#6231E5);
        background-size: 200% 200%;
        background-clip: text;
        -webkit-background-clip:text;
        animation: rainbow 2s ease-in-out 1 forwards;
        background-size: 200%;
        background-position: left;
        --gradient-opacity: 0; /* Початково градієнт невидимий */
        transition: --gradient-opacity 0.6s ease-in-out;
        color:rgba(0,0,0,1);
        font-size:16px;
        display:block;
        text-align:center;
        transition: color .2s ease-in-out;
        font-weight:600;
    }
    
    .contact-btn-text-wrapper {
        width: 100%;
    }

    .contact-btn:hover .contact-btn-text{ 
        color:rgba(0,0,0,0);
        }

        @keyframes rainbow { 
        0%{background-position:left}
        100%{background-position:right}
        }
    
    section {
        display: flex;
        
        padding: 100px 0 55px;
        flex-direction: column;
        align-items: center;
    }

    /* ---- Hero section ---- */

    .hero {
        height: 100vh;
        background: radial-gradient(100% 100% at 50% 0%, rgba(98, 49, 229, 0.00) 46.67%, #6231E5 74%, #D6C5FA 100%);
    }

    .hero-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content-buttom {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 440px;
        gap: 26px;
    }

    .hero-content h1 {
        color: #FFF;
        text-align: center;
        font-size: 64px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        letter-spacing: -2.56px;
    }

    .hero-content h2 {
        color: #FFF;
        text-align: center;
        font-family: "DM Serif Display", serif;
        font-size: 48px;
        font-style: italic;
        font-weight: 400;
        line-height: 136.901%; /* 65.713px */
    }
    
    .hero-content-buttom p {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%; /* 20.8px */
        align-self: stretch;
    }

    .mouse-scroll {
        display: flex; 
        position: relative;
        width: 20px;
        height: 29px;
        padding: 7px 10px 10px 10px;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
        border-radius: 100px;
        border: 1px solid #FFF;
        }
        
        .scroll-wheel {
        width: 1px;
        height: 5px;
        flex-shrink: 0;
        border-radius: 100px;
        background: #FFF;
        }
        

    

        /* ---- Services section */

    .services {
        background: black;
        width: 100%;
        height: auto;
    }

    .services-title {
        max-width: 500px;
        margin-bottom: 52px;
    }

    .services-subtitle {
        max-width: 440px;
    }

    .services-cards-wrapper {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    
    .services-cards {
        display: flex;
        justify-content: center;
        gap: 56px;
        margin-bottom: 50px;
        
    }
    
    .services-card-wrapper {
        position: relative;
    }

    .services-card {
        position: relative;
        display: flex;
        width: 237px;
        padding: 24px;
        flex-direction: column;
        align-items: center;
        border-radius: 12px;
        background: #0A010E;
        text-align: center;
        transform: translateY(-18px);
        z-index: 2;
        opacity: 0.8;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    
        /* Додаємо градієнтний бордер */
        outline: 2px solid transparent;
        outline-offset: -2px; /* Зміщення, щоб не перекривав контент */
        border: 1px solid transparent;
        background: 
            linear-gradient(#0A010E, #0A010E) padding-box, 
            linear-gradient(180deg, 
                rgba(170, 135, 236, 1) 0%, 
                rgba(97, 77, 134, 0) 45%, 
                rgba(214, 197, 250, 1) 100%) border-box;
    }

    .services-card:hover {
        opacity: 1;
    }
    
    
    .services-card-wrapper::after {
        content: "";
        position: absolute;
        top: -50px; /* Розташовуємо під блоком */
        left: 50%;
        transform: translateX(-50%);
        width: 184px;
        height: 33px;
        background: url('../img/services-after.svg') no-repeat center / contain;
        z-index: 1; /* Псевдоелемент знаходиться нижче картки */
    }

    .services-cards-lines {
        max-width: 611px;
    }

    .services-card-img-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 173px;
        min-height: 173px;
    }

    .services-card-img-2 {
        max-width: 172px;
    }

    .services-card-img-3 {
        max-width: 155px;
    }

    .services-card-text {
        max-width: 130px;
        color: #FFF;
        text-align: center;
        font-family: "DM Sans";
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-transform: capitalize;
    }

    #lottie-container {
        width: 172px;
        height: 173px;
        cursor: pointer;
    }

    /* ---- About section ---- */

    .about {
        height: auto;
    }

    .about-title {
        font-weight: 500;
        max-width: 850px;
        margin-bottom: 100px;
    }

    .about-graphics {
        display: flex;
        max-width: 860px;
        width: 100%;
        min-height: 582px;
        background: url('../img/about-bg.svg') no-repeat center / contain;
        background-size: 1205px auto;
        position: relative;
    }
    
    .about-graphics img {
        position: relative;
        transition: opacity 0.5s ease-in-out,  top 0.5s ease-in-out, transform 0.5s ease-in-out;
        z-index: 10;
    }
    
    /* Контейнер для першого зображення */
    .image-wrapper {
        position: absolute;
        height: 182.067px;
        transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
        display: inline-block;
        overflow: visible;
        opacity: 0.8;
        z-index: 10;
    }

    .image-wrapper-container {
        position: absolute;
        transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
        z-index: 10;
        width: 258px;
        height: 265px;
    }

    .image-wrapper-container-2 {
        height: 285px;
        width: 232px;
    }
    .image-wrapper-container-3 {
        width: 258px;
        height: 260px;
    }
    .image-wrapper-container-4 {
        width: 339px;
        height: 340px;
    }

    .image-wrapper-1-img-bottom {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%; /* Розтягуємо на весь розмір батьківського елемента */
        height: 226px;
        object-fit: contain; /* Зберігає пропорції, підганяючи зображення */
        /* transition: top 0.5s ease-in-out !important; */
        z-index: 2; /* Встановлюємо вищий рівень, щоб було над основним зображенням */
        transform: scale(1);
    }

    .image-wrapper-1-img-bottom-hover {
        position: absolute !important;
        top: 70px;
        left: 0;
        width: 100%; /* Розтягуємо на весь розмір батьківського елемента */
        height: 100%;
        object-fit: contain; /* Зберігає пропорції, підганяючи зображення */
        /* transition: top 0.5s ease-in-out !important; */
        z-index: 2; /* Встановлюємо вищий рівень, щоб було над основним зображенням */
        opacity: 0;
    }
    
    .image-wrapper-1 img:first-child {
        position: relative;
        z-index: 1; /* Основне зображення залишається під другим */
    }

    .image-wrapper-1 {
        top: 36%;
        left: 30%;
        width: 341px;
    }

    .image-wrapper-2 {
        bottom: -6%;
        left: 10%;
        width: 232px;
    }

    .image-wrapper-3 {
        
        top: 18%;
        left: -13%;
        width: 258px;
        height: 182.067px;
    }

    .image-wrapper-4 {
        
        top: 20%;
        right: -10%;
        width: 339px;
    }

    /* Інші картинки */
    /* .about-graphics img:nth-child(3) {
        position: absolute;
        bottom: -6%;
        left: 10%;
        width: 232px;
    } */
    
    .about-graphics img:nth-child(5) { 
        position: absolute;
        top: 36%;
        left: 30%;
        width: 341px;
    }
    
    .about-graphics img:nth-child(6) { 
        position: absolute;
        
    }
    
    .image-wrapper:hover {
        transform: translateY(-65px); /* Тепер піднімається тільки картинка */
        opacity: 1;
    }

    .image-wrapper-1:hover {
        transform: translateY(0);
        opacity: 1;
    }

    .image-wrapper:hover .image-wrapper-1-img-bottom {
        top: -25px;
        transform: scale(0.9);
    }

    .image-wrapper:hover .image-wrapper-1-img-bottom-hover {
        opacity: 1;
    }
    
    /* Декоративний псевдоелемент під зображенням */
    .image-wrapper::after {
    content: "";
    position: absolute;
    
    width: 174px;
    height: 150px;
    background-image: url(../img/about-hover-icon-after.svg);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0; /* Початкова прозорість */
    transition: bottom 0.5s ease-in-out, opacity 0.5s ease-in-out;
    z-index: 5;
    }

    .image-wrapper-1::after {
        left: 17%;
        bottom: -33px;
        display: none;
    }

    .image-wrapper-2::after {
        left: 17%;
        bottom: -33px;
    }
    .image-wrapper-3::after {
        left: 24%;
        bottom: 0px;
    }
    .image-wrapper-4::after {
        left: 15%;
        bottom: -115px;
    }

    

    .image-wrapper-2:hover::after {
        bottom: -115px;
        opacity: 1; /* Робимо видимим */
    }
    .image-wrapper-3:hover::after {
        bottom: -85px;
        opacity: 1; /* Робимо видимим */
    }
    .image-wrapper-4:hover::after {
        bottom: -165px;
        opacity: 1; /* Робимо видимим */
    }

    /* Стилі текстів інформаційного блоку */

    .info-box-title {
        color: #FFF;
        text-align: center;
        font-family: "DM Serif Text";
        font-size: 32px;
        font-style: italic;
        font-weight: 400;
        line-height: normal;
        text-transform: capitalize;
    }

    .info-box-subtitle {
        color: #FFF;
        text-align: center;
        font-family: "DM Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        text-transform: capitalize;
    }

    .info-box-text {
        color: #C7B7E7;
        text-align: center;
        font-family: "DM Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%; /* 20.8px */
    }

    /* Стилі для інформаційного блоку */
.info-box {
position: absolute;
top: -140%;
left: -15%;
width: 220px;
padding: 10px;
background: rgba(98, 49, 229, 0.9);
color: #fff;
text-align: center;
font-size: 14px;
border-radius: 8px;
opacity: 0;
transition: opacity 0.5s ease-in-out;
z-index: 10;
display: flex;
width: 323px;
padding: 24px;
flex-direction: column;
align-items: center;
gap: 12px;
border-radius: 12px;
border: 1px solid #AA87EC;
background: #0A010E;
pointer-events: none;
z-index: 1000;

/* Додаємо градієнтний бордер */
outline: 2px solid transparent;
outline-offset: -2px; /* Зміщення, щоб не перекривав контент */
border: 1px solid transparent;
background: 
    linear-gradient(#0A010E, #0A010E) padding-box, 
    linear-gradient(180deg, 
        rgba(170, 135, 236, 1) 0%, 
        rgba(97, 77, 134, 0) 45%, 
        rgba(214, 197, 250, 1) 100%) border-box;
}

.info-box-2 {
top: -137%;
left: -10%;
}
.info-box-1 {
top: -164%;
left: -21%;
}
.info-box-3 {
top: -102%;
left: 3%;
}


/* Показуємо info-box при наведенні */
.about-graphics img:hover ~ .info-box {
opacity: 1;
}

.image-wrapper-container:hover ~ .info-box {
opacity: 1;
}


        .about-graphics-table {
            display: none;
            max-width: 860px;
            width: 100%;
            position: relative;
            flex-direction: column;
            align-items: center;
            background: url(../img/about-bg.svg) no-repeat top / contain;
            width: 100%;
            background-size: 900px auto;
            padding-top: 90px;
        }
        
        .about-graphics-table-box {
            display: flex;
            align-items: center;
            margin-top: 95px;
            width: 100%;
        }

        .about-graphics-table-left {
            display: flex;
            justify-content: center;
            width: 50%;

        }

        .about-graphics-table-right {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 50%;
            gap: 165px;
        }
        
        
        /* Контейнер для першого зображення */
        .image-wrapper-table {
            position: relative;
            display: flex;
            flex-direction: column;
            overflow: visible;
            z-index: 10;
            gap: 45px;
        }


        .image-wrapper-table-container {
            position: absolute;
            transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
            z-index: 10;
            width: 258px;
        }

        .image-wrapper-table-1-img-bottom {
            position: absolute !important;
            top: 0px;
            left: 0;
            width: 100%; /* Розтягуємо на весь розмір батьківського елемента */
            height: 100%;
            object-fit: contain; /* Зберігає пропорції, підганяючи зображення */
            /* transition: top 0.5s ease-in-out !important; */
            z-index: 2; /* Встановлюємо вищий рівень, щоб було над основним зображенням */
        }
        
        

        /* Стилі текстів інформаційного блоку */

        .info-box-title-table {
            color: #FFF;
            text-align: center;
            font-family: "DM Serif Text";
            font-size: 32px;
            font-style: italic;
            font-weight: 400;
            line-height: normal;
            text-transform: capitalize;
        }

        .info-box-subtitle-table {
            color: #FFF;
            text-align: center;
            font-family: "DM Sans";
            font-size: 16px;
            font-style: normal;
            font-weight: 500;
            line-height: normal;
            text-transform: capitalize;
        }

        .info-box-text-table {
            color: #C7B7E7;
            text-align: center;
            font-family: "DM Sans";
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 130%; /* 20.8px */
        }

        /* Стилі для інформаційного блоку */
    .info-box-table {
    top: -140%;
    left: -15%;
    width: 220px;
    padding: 10px;
    background: rgba(98, 49, 229, 0.9);
    color: #fff;
    text-align: center;
    font-size: 14px;
    border-radius: 8px;
    transition: opacity 0.3s ease-in-out;
    z-index: 10;
    display: flex;
    width: 323px;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    border: 1px solid #AA87EC;
    background: #0A010E;
    pointer-events: none;
    z-index: 1000;

    /* Додаємо градієнтний бордер */
    outline: 2px solid transparent;
    outline-offset: -2px; /* Зміщення, щоб не перекривав контент */
    border: 1px solid transparent;
    background: 
        linear-gradient(#0A010E, #0A010E) padding-box, 
        linear-gradient(180deg, 
            rgba(170, 135, 236, 1) 0%, 
            rgba(97, 77, 134, 0) 45%, 
            rgba(214, 197, 250, 1) 100%) border-box;
    }

    .about-graphics-mobile {
        display: none;
        max-width: 860px;
        width: 100%;
        position: relative;
        flex-direction: column;
        align-items: center;
        background: url(../img/about-bg.svg) no-repeat top / contain;
        width: 100%;
        background-size: 900px auto;
        padding-top: 90px;
        transform: translateY(-30px);
    }
    
    .about-graphics-mobile-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 95px;
        width: 100%;
        gap: 65px;
    }
    
    
    
    .image-wrapper-mobile {
        position: relative;
        display: flex;
        flex-direction: column;
        overflow: visible;
        z-index: 10;
        gap: 80px;
    }
    
    .image-wrapper-mobile-container {
        position: absolute;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        z-index: 10;
        width: 258px;
    }
    
    .image-wrapper-mobile-1-img-bottom {
        position: absolute !important;
        top: 0px;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        z-index: 2;
    }
    
    .info-box-title-mobile {
        color: #FFF;
        text-align: center;
        font-family: "DM Serif Text";
        font-size: 32px;
        font-style: italic;
        font-weight: 400;
        line-height: normal;
        text-transform: capitalize;
    }
    
    .info-box-subtitle-mobile {
        color: #FFF;
        text-align: center;
        font-family: "DM Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        text-transform: capitalize;
    }
    
    .info-box-text-mobile {
        color: #C7B7E7;
        text-align: center;
        font-family: "DM Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%;
    }
    
    .info-box-mobile {
        top: -140%;
        left: -15%;
        width: 220px;
        padding: 10px;
        background: rgba(98, 49, 229, 0.9);
        color: #fff;
        text-align: center;
        font-size: 14px;
        border-radius: 8px;
        transition: opacity 0.3s ease-in-out;
        z-index: 10;
        display: flex;
        width: 323px;
        padding: 24px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        border-radius: 12px;
        border: 1px solid #AA87EC;
        background: #0A010E;
        pointer-events: none;
        z-index: 1000;
        outline: 2px solid transparent;
        outline-offset: -2px;
        border: 1px solid transparent;
        background: 
            linear-gradient(#0A010E, #0A010E) padding-box, 
            linear-gradient(180deg, 
                rgba(170, 135, 236, 1) 0%, 
                rgba(97, 77, 134, 0) 45%, 
                rgba(214, 197, 250, 1) 100%) border-box;
    }


        /* ---- Approach section ---- */

        .approach {
        height: auto;
        padding: 200px 0 55px;
        }

    .approach-title {
        font-size: 48px;
    }

    .approach-title-serif {
        font-size: 51px;
    }

    .approach-title {
        font-weight: 500;
        max-width: 930px;
    }

    .approach-container-wrapper {
        display: flex;
        justify-content: center;
    }
    
    .approach-start {
        height: 500px;
    }
    
    .approach-container {
        width: 100%;
        position: relative;
    }
    
    /* ТЕКСТ */
    .approach-text {
        font-size: 32px;
        color: white;
        text-align: center;
        position: relative;
        z-index: 10; /* Текст поверх картинок */
    }

    .approach-text-3 {
        padding: 70px 0 10px;
    }
    
    /* ОБЛАСТЬ С КАРТИНКАМИ */
    .approach-card {
        position: sticky;
        top: 30vh; /* Sticky-эффект начинается чуть позже */
        display: flex;
        justify-content: center;
        z-index: 1;
    }
    
    /* Упорядочивание картинок по Z-индексу */
    #approach-card-1 { z-index: 1; }
    #approach-card-2 { z-index: 3; }
    #approach-card-3 { z-index: 2; }
    
    .approach-card img {
        max-width: 100%;
        height: auto;
    }
    
    /* Добавляем отступ, чтобы последняя картинка корректно пролистывалась */
    .approach-spacer {
        height: 5px;
    }
    

        /* ---- Products section ---- */
    
    
    .products {
            margin: 0 20px;
        }


    .products-title {
        font-size: 48px;
        letter-spacing: normal;
    }

    .products-title-serif {
        font-size: 51px;
        letter-spacing: normal;
    }

    .products-title {
        font-weight: 500;
        max-width: 880px;
    }

    
    .products-container {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 52px;
        width: 100%;
    }
    
    .product-card {
        position: relative;
        border-radius: 12px;
        background: #0A010E;
        width: 100%;
        max-width: 670px;
        min-height: 456px;
        display: flex;
        padding: 32px;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        border: 1px solid rgba(214, 197, 250, 0.33); /* Початковий бордер */
        transition: border-color 0.3s ease-in-out; /* Плавна анімація бордера */
    }
    
    
    .product-card::after {
        content: "";
        position: absolute;
        inset: -2px;
        background: linear-gradient(142deg, 
            rgba(170, 135, 236, 1) 0%, 
            rgba(97, 77, 134, 0) 45%, 
            rgba(214, 197, 250, 1) 100%);
        z-index: -1;
        
        border-radius: 12px;
        opacity: 0; /* Початково невидимий */
        background-size: 100% 100%; /* Початковий розмір градієнта – невидимий */
        background-repeat: no-repeat;
        transition: opacity 0.3s ease-in-out, background-size 0.3s ease-in-out;
    }
    
    .product-card:hover::after {
        opacity: 1; /* Градієнт проявляється */
        background-size: 100% 100%; /* Розгортається по всій картці */
    }

    .product-card:hover {
        border-color: rgba(214, 197, 250, 0); /* При наведенні робимо бордер яскравішим */
    }
    
    
    /* Псевдоелемент для фонового зображення */
    .product-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("../img/about-bg.svg") center/cover no-repeat;
        opacity: 0; /* Спочатку невидимий */
        transition: opacity 0.3s ease-in-out;
        z-index: 0; /* Щоб залишався під контентом */
    }
    
    /* При наведенні фон поступово з'являється */
    .product-card:hover::before {
        opacity: 1;
    }
    
    /* Ефект прозорості для зображень всередині */
    .lottie-container {
        opacity: 0.8;
        position: relative;
        z-index: 1; /* Щоб залишалося над фоном */
        transition: opacity 0.3s ease-in-out;
    }
    
    .product-card:hover .lottie-container {
        opacity: 1; /* Робимо напівпрозорим */
    }
    

    .product-card-img-1 {
        padding: 8px 0 9px;
    }

    .product-card-img-2 {
        padding: 13px 0px 12px;
    }

    .product-card-text {
        color: #C7B7E7;
        font-family: "DM Sans";
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        z-index: 10;
    }


    /* ---- Invite section ---- */

    .invite{
        text-align: center;
        background: radial-gradient(100% 100% at 50% 0%, rgba(98, 49, 229, 0.00) 46.67%, #6231E5 74%, #D6C5FA 100%);
        color: white;
        padding: 100px 20px;
        height: 100vh; 
    }

    .invite-wrapper {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 86px;
    }
    
    .description {
        margin: 10px 0 20px;
        font-size: 14px;
        opacity: 0.8;
    }

    .invite-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-invite {
        font-family: "Fustat", serif;
        color: #FFF;
        font-size: 48px;
        font-style: normal;
        font-weight: 500;
        line-height: 110%;
        letter-spacing: -0.96px;
        max-width: 500px;
        margin-bottom: 12px;
    }

    .title-invite-serif {
        color: #FFF;
        font-family: "DM Serif Text";
        font-size: 51px;
        font-style: italic;
        font-weight: 400;
    }

    .subtitle-invite {
        color: #C7B7E7;
        text-align: center;
        font-family: "DM Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%; /* 20.8px */
        max-width: 440px;
    }
    
    /* ---- Footer section ---- */

    .footer {
        background: black;
        color: white;
        padding: 35px 40px;
    }

    .footer-container {
        width: 100%;
        max-width: none;
    }
    
    .footer-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .footer-left {
        display: flex;
        align-items: center;
        gap: 25px;
    }
    
    .footer-logo {
        width: 39px; /* Адаптуйте розмір під свій логотип */
        height: auto;
    }
    
    .footer-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .footer-title {
        color: #FFF;
        font-family: "DM Sans";
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        text-transform: capitalize;
    }
    
    .footer-address, .footer-link {
        color: #C7B7E7;
        font-family: "DM Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-transform: capitalize;
        text-decoration: none;
    }
    
    .footer-right {
        font-size: 12px;
    }
    
    /* .footer-link:hover,
    .footer-address:hover {
        text-decoration: underline;
    } */
    

    /* Десктопна версія (основна) */
    @media (min-width: 1440px) {
        /* Твої стилі для великих екранів */
    }
    
    /* Ноутбук (наприклад, нетбук 1024px) */
    @media (max-width: 1439px) and (min-width: 1280px) {
        /* Твої стилі для нетбука */
        
    }
    /* Ноутбук (наприклад, нетбук 1024px) */
    @media (max-width: 1279px) and (min-width: 1024px) {
        /* Твої стилі для нетбука */
        .about {
            padding-bottom: 10px;
        }
        .about-graphics {
            transform: scale(0.9) translate(0px, -25px);
        }

        .products-container {
            transform: scale(0.9) translate(0px, -25px);
        }

        .about-graphics-table {
            display: none;
        }
    }
    
    /* Планшет (768px) */
    @media (max-width: 1023px) and (min-width: 768px) {
        .header-wrapper {
            padding: 20px 24px;
        }
        section {
            padding: 100px 24px 55px !important;
        }
        /* Твої стилі для планшета */
        .services {
            padding-bottom: 10px;
        }
        .services-cards-wrapper {
            transform: scale(0.87) translate(0px, -35px);
        }
        .services-subtitle-buttom {
            transform: translateY(-45px);
        }

        
        
        .about-graphics {
            display: none;
        }

        .about-graphics-table {
            display: flex;
        }

        .about-title {
            margin-bottom: 0px;
        }
        .products-container {
            flex-direction: column;
            width: 100%;
        }
        .product-card {
            max-width: none;
        }
        .product-card img {
            opacity: 1;
        }

        .invite{
            height: 80vh; 
        }
        
        .footer {
            padding: 30px 24px;
        }
    }
    
    /* Мобільна версія (375px) */
    @media (max-width: 767px) {
        /* Твої стилі для мобільних */

        .popup {
            margin: 16px;
            padding: 35px 32px;
            transform: scale(0.9) !important;
        }

        .popup-title {
            font-size: 30px;
            letter-spacing: -0.6px;
        }

        .popup-title-italic {
            font-size: 30px;
            letter-spacing: -0.6px;
        }

        .popup-subtitle {
            color: #C7B7E7;
            text-align: center;
            font-family: "DM Sans";
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 130%;
            margin-bottom: 12px;
        }

        .title-sans {
            font-size: 30px;
        }
        .title-serif {
            font-size: 34px;
        }

        .subtitle {
        font-size: 14px;
        }

        .header-wrapper {
            padding: 20px 16px;
        }

        .hero-content h2 {
            font-size: 36px;
            line-height: 29px;
            }

            .hero-content h1 {
            font-size: 40px;
            letter-spacing: 1.4px;
            }

            .hero-content-buttom p {
            font-size: 14px;
        }

        section {
            padding-left: 16px;
            padding-right: 16px;
            padding-bottom: 100px;
        }

        .services-title {
            max-width: 440px;
            margin-bottom: 26px;
            }

            .services-subtitle {
            max-width: 340px;
            }

        .services-cards-lines {
            display: none;
            }
            .services-cards-wrapper {
            width: 100%;
            }
        .services-cards {
            flex-direction: column;
            padding-top: 24px;
            gap: 20px;
            width: 100%;
            
            }

            .services-card {
            transform: translateY(0);
            width: 100%;
            max-width: 344px;
            margin: 0 auto;
            }
            
            
            
        .services-card-wrapper::after {
            content: none;
        }
        .about {
            padding-bottom: 70px;
        }
        .about-title {
            max-width: 460px;
            margin-bottom: 0px;
            position: relative;
            z-index: 10;
            }
        
            .about-graphics {
            display: none;
        }

        .about-graphics-table {
            display: none;
        }
        .about-graphics-mobile {
            display: flex;
        }

        .info-box-mobile {
            width: 100%;
            max-width: 323px;
            
        }

        .approach {
            padding-bottom: 0px;
            padding-left: 16px;
            padding-right: 16px;
            }

        .approach-title {
            max-width: 530px;
            }

            .approach-text-3 {
            padding: 0;
        }

         .products {
            margin: 0px;
        }

        .products-container {
            flex-direction: column;
            width: 100%;
        }
        .product-card {
            max-width: none;
        }
        .product-card img {
            opacity: 1;
        }
        .product-card-text {
            font-size: 20px;
            }

            .title-invite {
            font-size: 32px;
            letter-spacing: -0.64px;
            max-width: 500px;
            margin-bottom: 26px;
            }

            .title-invite-serif {
            font-size: 32px;
            }

            .subtitle-invite {
            font-size: 14px;
            max-width: 440px;
            }

            .invite{
                height: 80vh; 
            }

        .footer {
            padding: 30px 24px;
        }
        .footer-logo {
            width: 32px;
            }

            .footer-title {
            font-size: 16px;
            }

            .footer-address, .footer-link {
            font-size: 14px;
            }
    }

    @media (max-width: 340px) {
        .about-graphics-mobile {
            background-position-y: -40px
        }
    }