.contacts-blocks {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 140px;
}

.get-contacts {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 439px;
}

.contacts__title {
    margin-bottom: 49px;
}

.get-contacts .name-input {
    width: 48.5%;
}

.get-contacts .tel-validation {
    width: 48.5%;
}

.get-contacts .error-tel-validation::after {
    font-size: 0.5rem;
    bottom: -12px;
}

.contacts-big-text {
    font-size: 25px;
    margin-bottom: 25px;
    font-weight: 400;
}

.policy {
    display: flex;
    gap: 6px;
    align-items: start;
    margin-block: 18px;
}

.policy-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    display: flex;
    position: relative;
    align-content: center;
    justify-content: center;
    border: 2px solid #dddddd;
    border-radius: 5px;
    cursor: pointer;
}

.policy-checkbox-error {
    border: 2px solid #ff0000;
    animation: shake 0.7s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.policy-checkbox:checked {
    border: 0;
}

.policy-checkbox:checked::before {
    opacity: 1;
}

.policy-checkbox::before {
    content: "";
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: url("../images/checked.svg") no-repeat center, #49c7c2;
}

.policy-text {
    font-size: 12px;
    color: #6c6c6c;
    font-weight: 400;
    margin: 0;
    width: 90%;
}

.policy-text:hover {
    cursor: pointer;
}

.enroll-success {
    padding: clamp(70px, 14%, 140px) clamp(30px, 4%, 50px);
    background-color: #f4f4f4;
    border-radius: 20px;
    width: 48%;
}

.enroll-success-header {
    color: #2caaa4;
    font-weight: 500;
    font-size: clamp(20px, 2vw, 30px);
    margin-bottom: 15px;
}

.enroll-success-text {
    color: #7b7b7b;
    font-weight: 400;
    font-size: clamp(15px, 1.5vw, 24px);
}

#captchaModal .modal-content {
    background-color: transparent;
    border: 0;
}

@media (max-width: 991px) {
    .contacts-blocks {
        flex-direction: column;
        margin-bottom: 100px;
    }

    .get-contacts .name-input {
        width: 100%;
    }

    .get-contacts .tel-validation {
        width: 100%;
    }

    .enroll-success {
        width: 100%;
    }

    .text-contacts {
        width: 100%;
    }

    .get-contacts {
        max-width: 399px;
    }

    .contacts-button {
        width: 100%;
    }

    .text-course h3 {
        font-size: 20px;
    }

    .duration {
        font-size: 14px;
    }
}

.feedback-warning {
    width: 40%;
}

.feedback-button {
    width: 50%;
    display: block;
}

@media (max-width: 575px) {

    .feedback-button,
    .feedback-warning {
        width: 100%;
    }

    .feedback-warning {
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 500px) {
    .duration {
        font-size: 12px;
    }
}

@media (max-width: 390px) {
    .tel-validation {
        margin: 10px 0;
    }

    .contacts-big-text {
        margin-bottom: 10px;
        font-size: 18px;
    }
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-2px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(2px, 0, 0);
    }
}