/* Основні стилі */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навігація */
.menu-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(248, 249, 250, 0.6);

    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    height: 100px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.menu-top_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    width: 100%;
}



.menu-top_logowrap {
    flex-shrink: 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #D579F8;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #C268E7;
}

.menu-top_linkswrap {
    display: flex;
    gap: 25px;
    align-items: center;
}

.menu-top_linkswrap a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    white-space: nowrap;
    font-size: 14px;
}

.menu-top_linkswrap a:hover {
    color: #D579F8;
}

.burger-close {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 1002;
}
.burger-close button {
    background: none;
    border: none;
    font-size: 40px;
    color: #D579F8;
    cursor: pointer;
}


.menu-top_linkswrap a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #D579F8;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu-top_linkswrap a:hover::after {
    width: 80%;
}

.menu-top_buttonwrap {
    flex-shrink: 0;
    margin-left: 20px;
}

.butn1 {
    color: #000;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(213, 121, 248, 0.2);
    white-space: nowrap;
    font-size: 14px;
}

.butn1:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(213, 121, 248, 0.4);
}

/* Бургер меню */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Головна секція */
.cases-page {
    padding-top: 80px;
    min-height: 100vh;
    background: #f8f9fa;
}

.cases-hero {
    text-align: center;
    padding: 35px 0;
    background: #f8f9fa;
}

.cases-hero__content {
    position: relative;
    z-index: 2;
}

.cases-hero__title {
    font-size: 6rem;
    font-weight: 900;
    color: #D579F8;
    letter-spacing: 4px;
}

/* Фільтри */
.cases-filters {
    padding: 40px 0;
    background: #f8f9fa;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    background: transparent;
    color: #666666;
    border: 2px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 900;
    font-size: 20px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #D579F8;
    color: #fff;
    border-color: #D579F8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(213, 121, 248, 0.3);
}

/* Структура кейсів "ялинкою" */
.cases-grid {
    padding: 80px 0;
    background: #f8f9fa;
}

.cases-row {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.cases-row:last-child {
    margin-bottom: 0;
}

.cases-row.left {
    flex-direction: row;
}

.cases-row.right {
    flex-direction: row-reverse;
}

.case-image-section {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border-radius: 20px;
    min-height: 300px;
}

.case-content-section {
    flex: 1;
    padding: 20px;
    max-width: 450px;
    background: url("/cases/img/bg-right.webp") no-repeat right top;
    border-radius: 20px;
}

.cases-row.right .case-content-section {
    background-image: url("https://neurotrack.tech/wp-content/uploads/2025/02/pages-services-hero-bg.webp");
    background-repeat: no-repeat;
    background-position: 60% top;
    background-size: contain;
}

.case-main-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.case-main-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.2;
    margin-bottom: 25px;
}

.read-more-btn {
    background: #ffc107;
    color: #000;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.read-more-btn:hover {
    background: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.device-mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-mockup.phone {
    width: 500px;
    height: 700px;
}

.device-mockup.notebook {
    width: 750px;
    height: 600px;
}

.device-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    object-fit: contain;
}



.device-mockup.phone .case-screenshot {
    width: 55%;
    height: 85%;
    border-radius: 15px;
}

.device-mockup.notebook .case-screenshot {
    width: 70%;
    height: 52%;
    border-radius: 6px;
}

/* Контакти */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #D579F8;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.contact-email {
    font-size: 1.5rem;
    color: #D579F8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #C268E7;
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-links a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #D579F8;
}

/* Футер */
.footer {
    background: #000;
    border-top: 1px solid #333;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: bold;
    color: #D579F8;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D579F8;
}

.footer-copy {
    color: #666;
    font-size: 0.9rem;
}

/* Скриті елементи для фільтрації */
.cases-row.hidden {
    display: none;
}

.cases-row.show {
    display: flex;
    animation: fadeIn 0.6s ease-out;
}

.mobile-menu-content {
    display: none;
}

/* Анімації */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Переваги AI */
.ai-benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.ai-benefits__title {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.ai-benefits__intro {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.benefit-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(213, 121, 248, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.benefit-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.ai-benefits__cta {
    background: linear-gradient(135deg, #D579F8 0%, #C268E7 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    margin-top: 40px;
}

.cta-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .menu-top_linkswrap,
    .menu-top_buttonwrap {
        display: none;
    }
    .menu-top {
        height: 70px;
    }

    .burger-menu {
        display: flex;
    }

    /* Показуємо мобільне меню коли активний клас */
    .menu-top.mobile-menu-open {
        height: 100vh;
        background: rgba(248, 249, 250, 0.98);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    /* Ховаємо основне лого коли відкрито мобільне меню */
    .menu-top.mobile-menu-open .menu-top_logowrap {
        display: none;
    }

    /* Контейнер для верхньої панелі */
    .menu-top.mobile-menu-open .menu-top_container {
        height: 80px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        position: relative;
        padding: 0 20px;
    }

    /* Позиціонуємо бургер в правому верхньому куті */
    .menu-top.mobile-menu-open .burger-menu {
        position: absolute;
        right: 20px;
        top: 5%;
        transform: translateY(-50%);
        z-index: 1002;
    }

    /* Показуємо мобільний контент */
    .menu-top.mobile-menu-open .mobile-menu-content {
        display: flex !important;
        flex-direction: column;
        height: calc(100vh - 80px);
        padding: 40px 20px;
        justify-content: space-between;
        align-items: center;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
    }

    /* Стилі для мобільного лого */
    .mobile-logo a {
        font-size: 48px;
        font-weight: bold;
        color: #D579F8;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 3px;
    }

    /* Стилі для мобільних посилань */
    .mobile-links {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
        flex-grow: 1;
        justify-content: center;
    }


.mobile-links a {
    font-size: 24px;
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    padding: 15px 0;
    transition: color 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
}

    .mobile-links a:last-child {
        border-bottom: none;
    }

    .mobile-links a:hover {
        color: #D579F8;
    }

    /* Стилі для мобільної кнопки контакту */
    .mobile-contact-btn {
        background: #ffc107;
        color: #000;
        padding: 18px 40px;
        border-radius: 25px;
        text-decoration: none;
        font-weight: 600;
        font-size: 20px;
        transition: all 0.3s ease;
        display: inline-block;
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
    }

    .mobile-contact-btn:hover {
        background: #ffb300;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    }

    /* Решта стилів залишається без змін */
    .cases-hero__title {
        font-size: 2.5rem;
    }

    .cases-hero__subtitle {
        font-size: 1.2rem;
    }

    .cases-row.left,
    .cases-row.right {
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        gap: 30px;
        margin-bottom: 50px;
    }

    .case-image-section {
        flex: none;
        width: 100%;
        padding: 30px;
        min-height: 300px;
    }

    .case-content-section {
        max-width: 100%;
        text-align: center;
    }

    .case-main-title {
        font-size: 1.4rem;
    }

    .case-main-description {
        font-size: 0.95rem;
    }



    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .device-mockup.phone {
        width: 300px;
        height: 400px;
    }

    .device-mockup.notebook {
        width: 400px;
        height: 350px;
    }

    .device-mockup.phone .case-screenshot {
        width: 55%;
        height: 90%;
    }

    .device-mockup.notebook .case-screenshot {
        width: 70%;
        height: 47%;
    }

    .ai-benefits {
        padding: 60px 0;
    }

    .ai-benefits__title {
        font-size: 2rem;
    }

    .ai-benefits__intro {
        font-size: 1.1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .benefit-item {
        padding: 25px;
    }

    .ai-benefits__cta {
        padding: 30px 20px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 1rem;
    }

}



@media (max-width: 480px) {

    .ai-benefits__title {
        font-size: 1.8rem;
    }

    .benefit-item {
        padding: 20px;
    }

    .benefit-icon {
        font-size: 2.5rem;
    }

    .benefit-item h3 {
        font-size: 1.2rem;
    }

    .cases-hero {
        padding: 60px 0;
    }

    .cases-hero__title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .case-content-section {
        padding: 15px;
    }

    .case-main-title {
        font-size: 1.2rem;
    }

    .case-main-description {
        font-size: 0.9rem;
    }

    .contact-section h2 {
        font-size: 2rem;
    }

    .social-links {
        gap: 20px;
    }

    .device-mockup.phone {
        width: 200px;
        height: 260px;
    }

    .device-mockup.notebook {
        width: 300px;
        height: 200px;
    }

    .device-mockup.phone .case-screenshot {
        width: 53%;
        height: 85%;
    }

    .device-mockup.notebook .case-screenshot {
        width: 70%;
        height: 62%;
    }
}

/* Контактна секція */
.contact-form-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
}

.contact-title .highlight {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Форма */
.form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, #764ba2, transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.form-header p {
    color: #a0a0a0;
    font-size: 1rem;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: #667eea !important;
}

.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:not(:placeholder-shown) + label {
    transform: translateY(-24px);
    font-size: 0.85rem;
    color: #667eea;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: transparent;
}

.input-group label {
    position: absolute;
    top: 16px;
    left: 0;
    color: #a0a0a0;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.input-group input:focus ~ .input-border,
.input-group textarea:focus ~ .input-border {
    width: 100%;
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}


.submit-btn {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Контактна інформація */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px; /* Зменшуємо відстань між елементами */
    width: 100%
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 80px;
    width: 70%; /* Додайте цю властивість */
    box-sizing: border-box; /* Переконайтеся, що це є */
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.contact-details {
    flex: 1; /* Додаємо flex: 1 для рівномірного заповнення */
    min-width: 0; /* Дозволяємо тексту переноситися */
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
    white-space: nowrap; /* Запобігаємо переносу заголовків */
}

.contact-details p {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.4;
    word-break: break-word; /* Дозволяємо переносити довгі слова */
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px; /* Збільшуємо відстань від контактів */
    justify-content: flex-start;
}

.social-link {
    width: 56px; /* Збільшуємо для відповідності іконкам контактів */
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #ffffff;
    transform: translateY(-2px);
}

.input-group input[type="email"] {
    autocomplete: email;
}

.input-group input[type="tel"] {
    autocomplete: tel;
}
.input-group input[name="user_name"] {
    autocomplete: name;
}

/* Декоративні елементи */
.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Повідомлення про успіх */
.form-request-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.form-request-message_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.form-request-message_window {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.form-request-message_window__p1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.form-request-message_window__p2 {
    font-size: 1rem;
    color: #a0a0a0;
    margin-bottom: 24px;
}

/* Адаптивність */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-item {
        padding: 20px 16px;
        min-height: 72px;
    }
    .contact-icon {
        width: 48px;
        height: 48px;
    }
    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .social-link {
        width: 48px;
        height: 48px;
    }
    .contact-details h4 {
        font-size: 1rem;
    }
    .contact-details p {
        font-size: 0.9rem;
    }
    .contact-form-section {
        padding: 80px 0;
    }

    .contact-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px 20px;
    }

    .floating-shape {
        display: none;
    }
}

