.star-rating {
    display: flex;
    direction: row-reverse; /* Reverses the order of the stars */
    justify-content: flex-start;
}

.star-rating input {
    display: none; /* Hides the radio buttons */
}

.star-rating label {
    font-size: 2rem;
    color: #ddd; /* Default color for unselected stars */
    cursor: pointer;
}

.star-rating input:checked ~ label {
    color: #ffc700; /* Highlighted color for selected stars */
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc700; /* Hover effect for the stars */
}

.comment-section.style-3 {
    border: 1px solid #eee;
    padding: 50px 40px;
}
.comment-section {
    margin-bottom: 20px;
    scroll-margin-top: 150px;
}
.comment-section .contact-form input, .comment-section .contact-form textarea {
    border: 1px solid black;
    height: 50px;
    padding: 15px 20px;
    display: block;
    width: 100%;
    font-size: 14px;
    color: #666;
    font-family: var(--font-Jost);
    box-shadow: none;
    transition: all .4s ease-in-out;
}

.comment-section.style-3 .form-inner2 .review-rate-area {
    margin-bottom: 2px;
    display: flex;
    align-items: self-start;
    gap: 15px;
}
.comment-section.style-3 .form-inner2 .review-rate-area .rate:not(:checked)>input, .comment-section.style-3 .form-inner2 .review-rate-area .form-inner .rate:not(:checked)>textarea, .form-inner .comment-section.style-3 .form-inner2 .review-rate-area .rate:not(:checked)>textarea, .comment-section.style-3 .form-inner2 .review-rate-area .contact-form .rate:not(:checked)>textarea, .comment-section.style-3 .contact-form .form-inner2 .review-rate-area .rate:not(:checked)>textarea {
    position: absolute;
    top: -9999px;
}
.comment-section.style-3 .form-inner2 .review-rate-area .rate:not(:checked)>label {
    float: right;
    width: 1em;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
    color: #ccc;
}
.comment-section.style-3 .form-inner2 .review-rate-area .rate:not(:checked)>label::before {
    content: "★ ";
}

