﻿/* ================================
   Testimonial Form Section
================================ */

.testimonial-form-section {
    padding: 90px 0;
    background: linear-gradient( 135deg, #f4f9ff 0%, #ffffff 50%, #eef7ff 100% );
    min-height: 680px;
}


/* ================================
   Main Wrapper
================================ */

.testimonial-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}


/* ================================
   Introduction
================================ */

.testimonial-intro {
    padding: 20px 10px;
}

.testimonial-subtitle {
    display: inline-block;
    margin-bottom: 14px;
    color: #0b5ed7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.testimonial-intro h1 {
    margin-bottom: 20px;
    color: #172b4d;
    font-size: 46px;
    line-height: 1.15;
    font-weight: 750;
}

.testimonial-intro > p {
    max-width: 560px;
    margin-bottom: 35px;
    color: #68778d;
    font-size: 16px;
    line-height: 1.8;
}


/* ================================
   Points
================================ */

.testimonial-points {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.testimonial-point {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

    .testimonial-point > i {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: #e8f2ff;
        color: #0b5ed7;
        font-size: 21px;
    }

    .testimonial-point h4 {
        margin: 2px 0 5px;
        color: #253858;
        font-size: 16px;
        font-weight: 700;
    }

    .testimonial-point p {
        margin: 0;
        color: #7a8799;
        font-size: 14px;
        line-height: 1.6;
    }


/* ================================
   Form Card
================================ */

.testimonial-form-card {
    padding: 38px;
    background: #ffffff;
    border: 1px solid #e3edf7;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(30, 70, 110, 0.10);
}


/* ================================
   Form Heading
================================ */

.form-card-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
}

.form-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 15px;
    background: #0b5ed7;
    color: #ffffff;
    font-size: 22px;
}

.form-card-heading h2 {
    margin: 0 0 4px;
    color: #172b4d;
    font-size: 23px;
    font-weight: 700;
}

.form-card-heading p {
    margin: 0;
    color: #7b8798;
    font-size: 13px;
}


/* ================================
   Success Message
================================ */

.testimonial-success {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    padding: 13px 15px;
    border: 1px solid #ccebd8;
    border-radius: 10px;
    background: #effbf3;
    color: #207443;
    font-size: 13px;
    line-height: 1.5;
}

    .testimonial-success i {
        margin-top: 2px;
        font-size: 17px;
    }


/* ================================
   Form Groups
================================ */

.form-group {
    margin-bottom: 22px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #344563;
        font-size: 14px;
        font-weight: 650;
    }

.form-control {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d9e3ee;
    border-radius: 10px;
    background: #fbfdff;
    color: #253858;
    font-size: 14px;
    outline: none;
    transition: all 0.25s ease;
}

    .form-control::placeholder {
        color: #a1adbb;
    }

    .form-control:focus {
        border-color: #0b5ed7;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.08);
    }

.review-textarea {
    resize: vertical;
    min-height: 150px;
}


/* ================================
   Validation
================================ */

.text-danger {
    display: block;
    margin-top: 6px;
    color: #dc3545 !important;
    font-size: 12px;
}


/* ================================
   Review Footer
================================ */

.review-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.character-count {
    flex-shrink: 0;
    margin-top: 6px;
    color: #9aa6b5;
    font-size: 12px;
}


/* ================================
   Submit Button
================================ */

.testimonial-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 22px;
    border: none;
    border-radius: 11px;
    background: #0b5ed7;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .testimonial-submit-btn:hover {
        background: #084298;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(11, 94, 215, 0.22);
    }

    .testimonial-submit-btn i {
        transition: transform 0.3s ease;
    }

    .testimonial-submit-btn:hover i {
        transform: translateX(4px);
    }


/* ================================
   Responsive
================================ */

@media (max-width: 991px) {

    .testimonial-form-section {
        padding: 70px 0;
    }

    .testimonial-form-wrapper {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .testimonial-intro {
        text-align: center;
    }

        .testimonial-intro > p {
            margin-left: auto;
            margin-right: auto;
        }

    .testimonial-point {
        text-align: left;
    }

    .testimonial-intro h1 {
        font-size: 38px;
    }
}


@media (max-width: 576px) {

    .testimonial-form-section {
        padding: 55px 0;
    }

    .testimonial-intro h1 {
        font-size: 32px;
    }

    .testimonial-intro > p {
        font-size: 14px;
    }

    .testimonial-form-card {
        padding: 25px 20px;
        border-radius: 17px;
    }

    .form-card-heading h2 {
        font-size: 20px;
    }

    .testimonial-point > i {
        width: 43px;
        height: 43px;
        font-size: 18px;
    }
}
