/* Single testimonial card */
.single-loan-testimonial {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

/* Main card */
.single-loan-testimonial .elementor-testimonial-wrapper {
    position: relative;
    padding: 36px 36px 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    background: #1F2B29;
    box-shadow: none;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease;
}

/* Green top accent */
.single-loan-testimonial .elementor-testimonial-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 32px;
    width: 42px;
    height: 3px;
    border-radius: 0 0 5px 5px;
    background: #2E7D52;
    transition: width 0.3s ease;
}

/* Hover effect */
.single-loan-testimonial .elementor-testimonial-wrapper:hover {
    transform: translateY(-5px);
    border-color: #2E7D52;
    background: #1F2B29;
}

.single-loan-testimonial .elementor-testimonial-wrapper:hover::before {
    width: calc(100% - 64px);
}

/* Testimonial text */
.single-loan-testimonial .elementor-testimonial-content,
.single-loan-testimonial .elementor-testimonial__text {
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.92) !important;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

/* Reviewer information area */
.single-loan-testimonial .elementor-testimonial-meta,
.single-loan-testimonial .elementor-testimonial__header {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Reviewer image */
.single-loan-testimonial .elementor-testimonial-image img,
.single-loan-testimonial .elementor-testimonial__image img {
    width: 60px !important;
    height: 60px !important;
    padding: 2px;
    object-fit: cover;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #ffffff;
}

/* Name */
.single-loan-testimonial .elementor-testimonial-name,
.single-loan-testimonial .elementor-testimonial__name {
    color: #ffffff !important;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

/* Username or job title */
.single-loan-testimonial .elementor-testimonial-job,
.single-loan-testimonial .elementor-testimonial__job {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.5) !important;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

/* Optional quotation mark */
.single-loan-testimonial .elementor-testimonial-wrapper::after {
    content: "“";
    position: absolute;
    top: 15px;
    right: 25px;
    color: rgba(46, 125, 82, 0.3);
    font-family: Georgia, serif;
    font-size: 75px;
    line-height: 1;
    pointer-events: none;
}

/* Mobile */
@media (max-width: 767px) {
    .single-loan-testimonial {
        max-width: 100%;
    }

    .single-loan-testimonial .elementor-testimonial-wrapper {
        padding: 30px 24px 26px;
    }

    .single-loan-testimonial .elementor-testimonial-wrapper::before {
        left: 24px;
    }

    .single-loan-testimonial .elementor-testimonial-wrapper:hover::before {
        width: calc(100% - 48px);
    }

    .single-loan-testimonial .elementor-testimonial-content,
    .single-loan-testimonial .elementor-testimonial__text {
        font-size: 13px;
    }

    .single-loan-testimonial .elementor-testimonial-image img,
    .single-loan-testimonial .elementor-testimonial__image img {
        width: 54px !important;
        height: 54px !important;
    }
}


/* Center the icon */
.loan-card .elementor-icon-box-wrapper{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

/* Icon */
.loan-card .elementor-icon-box-icon{
    margin:0 0 25px !important;
    display:flex;
    justify-content:center;
    width:100%;
}

.loan-card .elementor-icon{
    width:80px;
    height:80px;
    border-radius:22px;
    background:#13584F;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.4s;
}

.loan-card .elementor-icon i,
.loan-card .elementor-icon svg{
    color:#fff;
    font-size:30px;
    fill:#fff;
}

/* Hover */
.loan-card:hover .elementor-icon{
    background:#EF7A43;
    transform:translateY(-5px) rotate(-5deg);
}

/* Title */
.loan-card .elementor-icon-box-title{
    text-align:center;
    margin-bottom:15px;
}

/* Description */
.loan-card .elementor-icon-box-description{
    text-align:center;
}