/* =========================================================
   BM WEB SOLUTIONS
   CUSTOMER FEEDBACK PAGE
   FINAL FEEDBACK CSS
========================================================= */


/* =========================================================
   MAIN SECTION
========================================================= */

.feedback-section {
    padding: 75px 0 85px;
    background: #ffffff;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.feedback-heading {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.feedback-kicker {
    display: inline-block;
    margin-bottom: 9px;

    color: #0da5dc;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.feedback-heading h2 {
    margin: 0 0 13px;

    color: #082550;

    font-size: 34px;
    font-weight: 700;

    line-height: 1.3;
}

.feedback-heading p {
    max-width: 650px;
    margin: 0 auto;

    color: #68788b;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   TWO COLUMN LAYOUT
========================================================= */

.feedback-layout {
    width: 100%;
    max-width: 1080px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 50px;

    align-items: start;
}


/* =========================================================
   LEFT INFORMATION
========================================================= */

.feedback-info {
    padding: 12px 10px 0 0;
}

.feedback-info-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 9px;

    background: #eef9fd;

    color: #0da5dc;

    font-size: 22px;
}

.feedback-info h3 {
    margin: 0 0 15px;

    color: #082550;

    font-size: 27px;
    font-weight: 700;

    line-height: 1.3;
}

.feedback-info > p {
    margin: 0 0 13px;

    color: #68788b;

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   BENEFITS
========================================================= */

.feedback-info .feedback-benefits {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #edf1f5;
}

.feedback-info .feedback-benefit {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 19px;
}

.feedback-benefit:last-child {
    margin-bottom: 0;
}

.feedback-info .benefit-icon {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f0f9fc;

    color: #0da5dc;

    font-size: 11px;
}

.feedback-benefit h4 {
    margin: 0 0 2px;

    color: #082550;

    font-size: 14px;
    font-weight: 700;
}

.feedback-benefit p {
    margin: 0;

    color: #7d8998;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   FORM CARD
========================================================= */

.feedback-form {
    position: relative;

    padding: 32px 35px 30px;

    background: #ffffff;

    border: 1px solid #e4eaf0;

    border-radius: 10px;

    box-shadow:
        0 10px 30px rgba(8, 37, 80, 0.065);
}


/* Small top accent */

.feedback-form::before {
    content: "";

    position: absolute;

    top: 0;
    left: 30px;
    right: 30px;

    height: 3px;

    border-radius: 0 0 4px 4px;

    background: #0da5dc;
}


/* =========================================================
   FORM HEADER
========================================================= */

.feedback-form-header {
    margin-bottom: 23px;
    padding-bottom: 18px;

    border-bottom: 1px solid #edf1f5;
}

.feedback-form-header span {
    display: block;

    margin-bottom: 6px;

    color: #0da5dc;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.4px;
}

.feedback-form-header h3 {
    margin: 0;

    color: #082550;

    font-size: 22px;
    font-weight: 700;

    line-height: 1.35;
}


/* =========================================================
   TWO FIELD ROW
========================================================= */

.feedback-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}


/* =========================================================
   FORM FIELD
========================================================= */

.feedback-field {
    margin-bottom: 17px;
}

.feedback-field label {
    display: block;

    margin-bottom: 6px;

    color: #193552;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.4;
}

.feedback-field label span {
    color: #0da5dc;
}


/* =========================================================
   INPUTS
========================================================= */

.feedback-field input[type="text"],
.feedback-field input[type="email"],
.feedback-field select,
.feedback-field textarea {
    display: block;

    width: 100%;

    border: 1px solid #dce4ec;

    border-radius: 6px;

    background: #ffffff;

    color: #35465a;

    font-family: inherit;

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.feedback-field input[type="text"],
.feedback-field input[type="email"],
.feedback-field select {
    height: 44px;

    padding: 10px 13px;
}

.feedback-field textarea {
    min-height: 86px;

    padding: 11px 13px;

    resize: vertical;
}

.feedback-field input::placeholder,
.feedback-field textarea::placeholder {
    color: #a3adb9;
}

.feedback-field input:focus,
.feedback-field select:focus,
.feedback-field textarea:focus {
    border-color: #0da5dc;

    box-shadow:
        0 0 0 3px rgba(13, 165, 220, 0.07);
}


/* =========================================================
   SERVICE SELECT
========================================================= */

.feedback-field select {
    cursor: pointer;
}


/* =========================================================
   STAR RATING
========================================================= */

.star-rating {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 5px;
}

.star-rating label {
    position: relative;

    width: 45px;
    height: 45px;

    display: flex !important;

    align-items: center;
    justify-content: center;

    margin: 0 !important;

    border: 1px solid #e1e7ed;

    border-radius: 6px;

    background: #ffffff;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.star-rating label:hover {
    border-color: #0da5dc;

    transform: translateY(-1px);
}

.star-rating input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}

.star-rating span {
    display: block;

    color: #cbd3dc;

    font-size: 20px;

    line-height: 1;

    transition: color 0.2s ease;
}

.star-rating small {
    display: none;
}


/* selected */

.star-rating label:has(input:checked) {
    border-color: #0da5dc;

    background: #f2fafc;
}

.star-rating label:has(input:checked) span {
    color: #f4b63e;
}


/* =========================================================
   CONSENT
========================================================= */

.feedback-consent {
    display: flex !important;

    align-items: flex-start;

    gap: 9px;

    margin: 3px 0 18px;

    color: #758396;

    font-size: 11px;

    font-weight: 400;

    line-height: 1.55;

    cursor: pointer;
}

.feedback-consent input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}

.custom-checkbox {
    position: relative;

    flex: 0 0 17px;

    width: 17px;
    height: 17px;

    margin-top: 1px;

    border: 1px solid #ccd5df;

    border-radius: 4px;

    background: #ffffff;
}

.feedback-consent input:checked + .custom-checkbox {
    border-color: #0da5dc;

    background: #0da5dc;
}

.feedback-consent input:checked + .custom-checkbox::after {
    content: "";

    position: absolute;

    left: 5px;
    top: 2px;

    width: 4px;
    height: 8px;

    border: solid #ffffff;

    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.feedback-submit-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-width: 170px;

    height: 44px;

    padding: 0 20px;

    border: none;

    border-radius: 6px;

    background: #0da5dc;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.feedback-submit-btn:hover {
    background: #087ff5;

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 6px 15px rgba(13, 165, 220, 0.20);
}

.feedback-submit-btn i {
    font-size: 10px;

    transition: transform 0.2s ease;
}

.feedback-submit-btn:hover i {
    transform: translateX(3px);
}


/* =========================================================
   SECURITY NOTE
========================================================= */

.feedback-security {
    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 10px;

    color: #9aa5b1;

    font-size: 10px;

    line-height: 1.4;
}

.feedback-security i {
    color: #0da5dc;

    font-size: 10px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .feedback-layout {
        grid-template-columns: 1fr;

        max-width: 720px;

        gap: 40px;
    }

    .feedback-info {
        padding-right: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .feedback-section {
        padding: 55px 0 65px;
    }

    .feedback-heading {
        margin-bottom: 35px;
    }

    .feedback-heading h2 {
        font-size: 29px;
    }

    .feedback-heading p {
        font-size: 14px;
    }

    .feedback-info h3 {
        font-size: 24px;
    }

    .feedback-info > p {
        font-size: 14px;
    }

    .feedback-form {
        padding: 28px 22px;
    }

    .feedback-form::before {
        left: 22px;
        right: 22px;
    }

    .feedback-form-header h3 {
        font-size: 21px;
    }

    .feedback-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .feedback-section {
        padding: 45px 0 55px;
    }

    .feedback-heading h2 {
        font-size: 25px;
    }

    .feedback-heading p {
        font-size: 13px;
    }

    .feedback-info h3 {
        font-size: 22px;
    }

    .feedback-form {
        padding: 25px 17px;
    }

    .feedback-form::before {
        left: 17px;
        right: 17px;
    }

    .feedback-form-header h3 {
        font-size: 20px;
    }

    .star-rating {
        gap: 5px;
    }

    .star-rating label {
        width: 42px;
        height: 42px;
    }

    .star-rating span {
        font-size: 18px;
    }

    .feedback-submit-btn {
        width: 100%;
    }

}