/* Стили формы */
.custom-contact-section {
    text-align: center;
    padding: 60px 20px;
}

.custom-contact-title {
    font-size: 2em;
    font-weight: bold;
    color: #222;
    margin-bottom: 15px;
}

.custom-contact-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

.custom-contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.custom-form-group {
    width: 100%;
    max-width: 500px;
    text-align: left;
}

.custom-form-group label {
    display: block;
    font-size: 1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.custom-form-group input, 
.custom-form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.custom-form-group textarea {
    height: 120px;
    resize: none;
}

.custom-btn-submit {
    background: #660ddb;
    color: white;
    padding: 12px 20px;
    font-size: 1.1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.custom-btn-submit:hover {
    background: #7e09eb;
}

/* Модальное окно */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.custom-modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.custom-modal-logo {
    width: 80px;
    margin-bottom: 20px;
}

.custom-modal p {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 20px;
}

.custom-btn-close {
    background: #5021a2;
    color: white;
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.custom-btn-close:hover {
    background: #0056b3;
}

/* Адаптивность */
@media (max-width: 768px) {
    .custom-contact-title {
        font-size: 1.8em;
    }

    .custom-contact-description {
        font-size: 1em;
    }

    .custom-form-group {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .custom-contact-title {
        font-size: 1.6em;
    }

    .custom-contact-description {
        font-size: 0.9em;
    }

    .custom-btn-submit, .custom-btn-close {
        font-size: 1em;
        padding: 10px 15px;
    }
}
