/* --- CTA Form Section --- */

.cta-form {
    position: relative; /* Додано */
    overflow: hidden; /* Додано */
    padding: 60px 0;
    text-align: center;
}

.cta-form h2 {
    margin-bottom: 20px;
}

.cta-form p {
    margin-bottom: 5px;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    max-width: 600px;
    margin: 0 auto;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: rgba(31, 31, 58, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-color);
    font-family: 'FixelText-Medium', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

.cta-form textarea {
    resize: vertical;
    min-height: 80px;
}

.cta-form button {
    width: 100%;
    font-family: 'Ermilov', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Semi-transparent border */
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
}

.cta-form button:hover {
    text-shadow: 0 0 10px #8A2BE2, 0 0 20px #8A2BE2;
    border-color: #8A2BE2;
    background-color: rgba(138, 43, 226, 0.1);
    transform: none;
    box-shadow: none;
}

.custom-alert {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-alert-content {
    background-color: #1f1f3a;
    padding: 30px;
    border: 1px solid #00bfff;
    border-radius: 15px;
    text-align: center;
    position: relative;
    max-width: 500px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.qr-code {
    border: 5px solid #00bfff;
    border-radius: 10px;
    padding: 5px;
    background-color: #fff;
}