/* Центрирование секции на странице */
.order-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin: 0 auto;
    background-color: #f0f0f0;
    text-align: center;
    padding: 40px 20px;
}
.order-section_container {
    background: white;
    padding: 35px;
    border-radius: 20px;
    /*box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);*/
    border: 1px solid #e3e3e3;
    transition: box-shadow 0.3s ease;
    max-width: 31%;
}

.order-section_container:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Красивый заголовок */
.order-section h2 {
    position: relative;
    font-size: 28px;
    margin-bottom: 12px;
    color: #333;
}

.order-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--highlight-color);
    margin: 12px auto 0;
    border-radius: 2px;
}


/* Стили для формы */
.order-form {
    width: 100%;
}

.order-section p {
    font-size: 25px;
}

.order-section h2 {
    margin: 32px 0 32px 0;
}

.order-form .form-group {
    margin-bottom: 15px;
}

.order-form label {
    padding: 12px 0 3px 0;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.order-form input,
.order-form select,
.order-form textarea {
    font-size: 1em;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    box-sizing: border-box;
}

.order-form textarea {
    resize: none;
}

/* Поля при фокусе */
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 5px rgba(50, 150, 255, 0.2);
    transition: all 0.3s ease;
}

/* Кнопка с эффектом "света" */
.order-form button.submit-btn {
    width: 100%;
    padding: 15px;
    /*background-color: var(--highlight-color);*/
    color: var(--font-color-white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    background: linear-gradient(135deg, var(--highlight-color), #0066cc);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    font-weight: bold;
}

.order-form button.submit-btn:hover {
    background: linear-gradient(135deg, #0056b3, var(--highlight-color));
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.4);
}


/* Адаптивность для мобильных устройств */
@media (max-width: 980px) {
    .order-section {
        margin: 0 auto;
        padding: 40px 20px;
    }
    .order-section_container {
        max-width: 90%;
    }
    .order-section p {
        text-align: center;
        font-size: 6vw;
        line-height: 1.45;
    }

    .order-form input,
    .order-form select,
    .order-form textarea {
        padding: 8px;
    }

    .order-form button.submit-btn {
        font-size: 16px;
        padding: 13px;
        margin-top: 15px;
    }
    .order-section p {
        font-size: 19px;
    }

}

@media (max-width: 480px) {
    .order-form label {
        font-size: 14px;
    }
}

/* Стили для модального окна */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный фон */
}

.modal-content {
    position: relative;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    background-color: white;
    border-radius: 8px;
    text-align: center;
}

.modal-content p {
    font-size: 18px;
    margin-bottom: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}
