.quickRev-section {
    background: var(--beige-light);
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.quickRev-container {
    max-width: 800px;
    margin: 0 auto;
}

.quote-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff77;
    border-radius: 20px;
    box-shadow: 0 3px 15px rgba(74, 48, 33, 0.08);
    z-index: -1; /* Behind everything */
}

.quote-line {
    position: relative;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--cocoa-brown);
    line-height: 1.8;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    font-weight: 500;
    background: #ffffff77;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
}

.quote-line::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #ffffffbf;
    filter: drop-shadow(0 3px 15px rgba(74, 48, 33, 0.08));
    z-index: 1;
}

.quote-line:last-child {
    margin-bottom: 0;
}

.underline-highlight {
    font-weight: 700;
    position: relative;
    margin: 0 0.2em;
    display: inline-block;
    color: var(--tropical-green);
}

/* Slightly curved underlines - keeping original colors */
.underline-highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 0;
    height: 4px;
    border-radius: 2px;
    animation: drawUnderline 1.2s ease-out forwards;
}

/* First quote - Pink gradient with slight curve */
.quote-line:nth-child(1) .underline-highlight::after {
    background: linear-gradient(90deg, #ff6b9d, #ffd93d);
    border-radius: 2px 2px 50% 50%;
    animation-delay: 0.3s;
}

/* Second quote - Blue gradient with slight curve */
.quote-line:nth-child(2) .underline-highlight::after {
    background: linear-gradient(90deg, #74b9ff, #4ecdc4);
    border-radius: 50% 50% 2px 2px;
    animation-delay: 0.7s;
}

/* Third quote - Purple gradient with slight curve */
.ql2:nth-child(1) .underline-highlight::after {
    background: linear-gradient(90deg, #a29bfe, #fd79a8);
    border-radius: 2px 50% 50% 2px;
    animation-delay: 1.1s;
}

/* Fourth quote - Purple gradient with slight curve */
.ql2:nth-child(2) .underline-highlight::after {
    background: linear-gradient(90deg, #1EF013, #089900);
    border-radius: 2px 50% 2px 50%;
    animation-delay: 1.5s;
}

.ql2:nth-child(3) .underline-highlight::after {
    background: linear-gradient(90deg, #F03413, #EAF20A);
    border-radius: 2px 50% 2px 50%;
    animation-delay: 1.5s;
}

@keyframes drawUnderline {
    from { 
        width: 0; 
        opacity: 0;
    }
    to { 
        width: 100%; 
        opacity: 1;
    }
}

.quote-author {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Heebo', sans-serif;
    margin-top: 1.2rem;
    opacity: 0;
    animation: fadeInAuthor 0.8s ease-out forwards;
    position: relative;
}

.quote-author::before {
    content: '';
}

.quote-line:nth-child(1) .quote-author { animation-delay: 0.8s; }
.quote-line:nth-child(2) .quote-author { animation-delay: 1.1s; }
.quote-line:nth-child(3) .quote-author { animation-delay: 1.4s; }

@keyframes fadeInAuthor {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Hover effect for interactivity */
.underline-highlight {
    color: var(--tropical-green);



@media (max-width: 768px) {
    .quickRev-section {
        padding: 3rem 1rem 1.5rem 1rem;

    }
    
    .quote-line {
        margin-bottom: 1.2rem;
        padding: 0.4rem 0;
        font-size: 1.4rem;
    }
}
