/* --- Контактный блок --- */
.presentation-contact {
    background: #f5f5f5;
    padding: 100px 20px;
    text-align: center;
}

.presentation-contact h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.presentation-contact .description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form .form-group {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.contact-form .form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.3s ease;
    box-sizing: border-box; /* Исправлено */
}

.contact-form .form-group input:focus {
    border-color: #8000FF;
    outline: none;
}

.contact-form .btn-primary {
    background: #8000FF;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
}

.contact-form .btn-primary:hover {
    background: #5d00b5;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99000;
    transition: all 0.3s ease;
}

.modal.hidden {
    visibility: hidden;
    opacity: 0;
}

.modal-content {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
}

.close-modal {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #8000ff;
    color: white;
    border-radius: 25px;
    cursor: pointer;
}

.close-modal:hover {
    background: #5d00b5;
}


/* --- Адаптивность --- */
@media (max-width: 768px) {
    .presentation-contact {
        padding: 60px 20px;
    }

    .presentation-contact h2 {
        font-size: 28px;
    }

    .presentation-contact .description {
        font-size: 14px;
    }

    .contact-form .btn-primary {
        font-size: 14px;
        padding: 10px 15px;
    }
}
