/*
 * DT Testimonial Block Styles
 * Style: Card with Floating Bottom-Right Image
 */

:root {
    --dttb-purple: #6a4c89; 
    --dttb-dark-text: #111;
    --dttb-body-text: #555;
    --dttb-bg: #fff;
    --dttb-radius: 12px;
    --dttb-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.dttb-container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 60px; /* Increased gap to account for larger images */
    justify-content: center;
    box-sizing: border-box;
}

/* Card Container */
.dttb-card {
    background: var(--dttb-bg);
    border-radius: var(--dttb-radius);
    box-shadow: var(--dttb-shadow);
    /* Increased bottom padding to make room for the larger image */
    padding: 40px 40px 100px 40px; 
    position: relative;
    width: 100%;
    max-width: 550px; /* Slightly wider card */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin-bottom: 80px; /* More space below for hanging image */
    border: 1px solid #eef2f6;
}

/* Stars */
.dttb-stars {
    color: #f1c40f; /* Gold */
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

/* Title/Quote */
.dttb-quote-title {
    font-family: "Fredoka", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e429f; 
    line-height: 1.3;
    margin: 0 0 15px 0;
}

/* Body Text */
.dttb-body {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dttb-body-text);
    margin-bottom: 20px;
    flex-grow: 1;
}
.dttb-body p { margin-bottom: 10px; }
.dttb-body p:last-child { margin-bottom: 0; }

/* Footer (Name + Verified) */
.dttb-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    z-index: 3; /* Ensure text stays above image if they overlap */
}

.dttb-client-name {
    color: #333;
    font-weight: 700;
}

.dttb-verified {
    color: #2ecc71; /* Green */
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
}

/* Floating Image (The "Hang" Effect) */
.dttb-floating-image {
    position: absolute;
    
    /* --- POSITIONING UPDATES --- */
    bottom: -60px;  /* Hang off bottom */
    right: 40px;    /* Align to Right side */
    left: auto;     /* Remove Left alignment */
    transform: none; /* Remove Center transform */
    
    /* --- SIZE UPDATES --- */
    width: 200px;   /* Bigger (was 150px) */
    height: 200px;  /* Bigger */
    
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #fff; /* Thicker border for pop */
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 2;
    background-color: #eee;
}

.dttb-floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 600px) {
    .dttb-card {
        padding: 30px 20px 80px 20px;
        margin-bottom: 60px;
    }
    
    /* On Mobile, reset to Center alignment so it looks balanced */
    .dttb-floating-image {
        width: 140px;
        height: 140px;
        bottom: -50px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .dttb-quote-title {
        font-size: 1.3rem;
    }
}