#slider {
    margin-bottom: 4rem;
}

.hourly-consultation-container {
    max-width: 1350px;
    width: 100%;
    background-image: url("../images/bg1.png");
    background-repeat: no-repeat;
    background-size: 100%;
    padding-bottom: 4rem;
    margin: auto;
}

.hourly-consultation-container .container-fluid,
.rules {
    width: 90%;
    border: 1px solid #D0D0D0;
    border-radius: 12px;
    padding: 3.4rem 3rem;
    background-color: #fff;
}

.rules {
    margin: 2rem auto 2rem;
    padding: 2rem 3rem;
}

.rules h3 {
    color: #484848;
    font-size: 19px;
    font-family: var(--semibold-font);
    margin-bottom: 1rem;
}

.rules p {
    font-size: 15px;
    color: #484848;
}

.progress-bar {
    width: 97%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-content: center;
}

.progress-bar.project {
    width: 70%;
    grid-template-columns: repeat(3, 1fr);
}

.progress-bar .item {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(72, 72, 72, 21%);
    color: #605E5E;
    font-family: var(--semibold-font);
    margin-bottom: 5rem;
}

.progress-bar .item.active {
    color: #4FC2AD;
    border-color: #4FC2AD;
    border-width: 2px;
}

.progress-bar .item span {
    width: 2.4rem;
    height: 2.4rem;
    line-height: 2.4rem;
    border: 2px solid #605E5E;
    border-radius: 50%;
}

.progress-bar .item.active span {
    border-color: #4FC2AD;
}

.progress-bar .item h6 {
    padding-top: 5px;
}

.progress-bar .item span.checked {
    background-color: #4FC2AD;
    border-color: #4FC2AD;
    color: #fff;
    line-height: 2.7rem;
}

.progress-bar .item span.checked i {
    font-size: 1.4rem;
}

.hourly-consultation-form {
    width: 100%;
}

.hourly-consultation-form .item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 3rem;
    row-gap: 2rem;
    transform: scale(.8);
    transition: all .2s ease;
    animation: scaleUp .3s linear;
}

.hourly-consultation-form .item:not(.d-none) {
    transform: scale(1);
}

@keyframes scaleUp {
    0% {
        transform: scale(.8);
    }

    100% {
        transform: scale(1);
    }
}

.hourly-consultation-form .item .col-lg-4 {
    width: 30%;
}

.hourly-consultation-form .item .col-lg-6 {
    width: 46%;
}

.hourly-consultation-form .item .col-12 {
    position: relative;
}

.form-label {
    font-family: var(--semibold-font);
    color: #484848;
    font-size: 14px;
    padding-bottom: 4px;
}

.form-control,
.form-select {
    border-radius: 30px;
    border-color: rgba(72, 72, 72, 21%);
    padding: .8rem 1.2rem;
    font-size: 14px;
}

.form-select:focus,
.form-control:focus {
    box-shadow: none;
    border-color: #4FC2AD;
}

.consultant_items {
    color: #484848;
    font-size: 14px;
}

.consultant_items div {
    margin-bottom: 1.2rem;
}

.consultant_items div span {
    display: inline-block;
    margin-right: .4rem;
}

.consultant_items input {
    position: relative;
    top: 2px;
}

.form-control::placeholder {
    color: rgba(72, 72, 72, 21%);
}

.buttons {
    width: 95%;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-wrap: wrap;
    row-gap: 1rem;
    margin-top: 3rem;
}

.max-size {
    font-size: 12px;
    color: #8E8E8E;
}

.badge {
    font-size: 10px;
    position: absolute;
    bottom: -1.5rem;
    right: 0;
}

.prev {
    background-color: #fff;
    color: #8E8E8E;
    border: 1px solid rgba(72, 72, 72, 21%);
    border-radius: 30px;
    padding: .7rem 3.5rem;
    font-family: var(--bold-font);
    margin-left: .7rem;
    font-size: 15px;
    display: none;
}

.alert-success {
    background-color: #d1fae5;
    color: #047857;
    border: none;
}

.alert-danger {
    background-color: #fee2e2;
    color: #b91c1c;
    border: none;
}

.next,
#submit-btn {
    background-color: #4FC2AD;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: .7rem 3.5rem;
    font-family: var(--bold-font);
    font-size: 15px;
}

textarea.form-control {
    border-radius: 12px;
}

.hourly-consultation-form .documents_file .file-container {
    background-color: rgba(0, 0, 0, .02);
    border: 1px dashed #8E8E8E;
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
}

.hourly-consultation-form .documents_file .file-container button {
    border: none;
    background-color: var(--primary-color);
    color: #fff;
    font-family: var(--semibold-font);
    font-size: 14px;
    border-radius: 10px;
    padding: .6rem 1.4rem;
}

#document-list {
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}

.hourly-consultation-form .documents_file .file-container input[type="file"] {
    display: none;
}

.is-invalid,
*.is-invalid:focus {
    border: 1px solid red;
    box-shadow: none;
}

.error input,
.error textarea,
.error select {
    border: 1px solid red;
}

@media screen and (max-width: 1050px) {
    .progress-bar {
        grid-template-columns: repeat(3, 1fr);
    }

    .hourly-consultation-form .item .col-md-6 {
        width: 45%;
    }

    .progress-bar.project {
        width: 83%;
    }

    .hourly-consultation-container {
        padding-bottom: 5rem;
    }
}

@media screen and (max-width: 768px) {
    .progress-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .hourly-consultation-form .item .col-md-6 {
        width: 100%;
    }

    .progress-bar.project {
        width: 80%;
        grid-template-columns: repeat(2, 1fr);
    }

    .hourly-consultation-container .container-fluid {
        padding: 2rem .7rem;
    }

    .rules {
        padding: 2rem 1.2rem;
    }

    .rules p {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .progress-bar {
        grid-template-columns: repeat(1, 1fr);
    }

    .buttons {
        justify-content: center;
    }

    .progress-bar.project {
        width: 80%;
        grid-template-columns: repeat(1, 1fr);
    }
}