/* ============================================================
   Testimonials & How It Works Sections
   Dynamic, Attractive Design - Red Primary, Black Text, Light Grey
   ============================================================ */

:root {
    --wadai-red: #d90217;
    --wadai-red-dark: #a60112;
    --wadai-red-soft: rgba(217, 2, 23, 0.08);
    --wadai-red-medium: rgba(217, 2, 23, 0.12);
    --wadai-text-black: #000000;
    --wadai-text-gray: #6c757d;
    --wadai-light-grey: #e9ecef;
    --wadai-bg-light: #f8f9fa;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-enhanced {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
}

.testimonials-bg-decoration {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 2, 23, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(180deg); }
}

.testimonial-card-enhanced {
    max-width: 950px;
    background: white;
    border-radius: 28px;
    padding: 0;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.1);
    text-align: left;
    border: 2px solid var(--wadai-light-grey);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.testimonial-card-enhanced:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 60px rgba(217, 2, 23, 0.2);
    border-color: var(--wadai-red-soft);
}

.testimonial-card-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--wadai-red) 0%, var(--wadai-red-dark) 50%, var(--wadai-red) 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.testimonial-card-inner {
    padding: 3rem 3.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-quote-icon {
    font-size: 4.5rem;
    background: linear-gradient(135deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    margin-bottom: 1.25rem;
    line-height: 1;
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    z-index: 0;
    transition: all 0.4s ease;
}

.testimonial-card-enhanced:hover .testimonial-quote-icon {
    opacity: 0.2;
    transform: scale(1.1) rotate(5deg);
}

.testimonial-quote {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--wadai-text-black) !important;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    padding-right: 3rem;
}

.testimonial-author-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.testimonial-avatar-enhanced {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(217, 2, 23, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid white;
    background: linear-gradient(135deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card-enhanced:hover .testimonial-avatar-enhanced {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(217, 2, 23, 0.4);
    border-color: var(--wadai-red-soft);
}

.testimonial-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.testimonial-card-enhanced:hover .testimonial-avatar-img {
    transform: scale(1.1);
}

.testimonial-avatar-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(217, 2, 23, 0.3);
    z-index: 2;
    transition: all 0.3s ease;
}

.testimonial-avatar-badge i {
    color: white;
    font-size: 0.9rem;
}

.testimonial-card-enhanced:hover .testimonial-avatar-badge {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 5px 15px rgba(217, 2, 23, 0.4);
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--wadai-text-black) !important;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.testimonial-card-enhanced:hover .testimonial-author-name {
    color: var(--wadai-red) !important;
}

.testimonial-author-role {
    font-size: 0.9rem;
    color: var(--wadai-text-gray) !important;
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.testimonial-rating {
    display: flex;
    gap: 0.2rem;
    align-items: center;
}

.testimonial-rating i {
    font-size: 1rem;
    color: #ffc107;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-rating i:hover {
    transform: scale(1.2);
}

/* Carousel Indicators */
.testimonials-enhanced .carousel-indicators {
    margin-top: 2.5rem;
    gap: 0.5rem;
}

.testimonials-enhanced .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--wadai-light-grey);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 1;
}

.testimonials-enhanced .carousel-indicators button.active {
    background-color: var(--wadai-red);
    width: 32px;
    border-radius: 6px;
    border-color: var(--wadai-red);
}

.testimonials-enhanced .carousel-indicators button:hover {
    background-color: var(--wadai-red-soft);
}

/* Badge styling */
.testimonials-enhanced .badge {
    background: rgba(217, 2, 23, 0.1) !important;
    border: 1px solid rgba(217, 2, 23, 0.2);
    color: var(--wadai-red) !important;
}

/* ========== HOW IT WORKS SECTION - MAP STYLE ========== */
.how-it-works-modern-section {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    padding: 3rem 0;
    position: relative;
}

.how-it-works-modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
}

/* Journey Map Wrapper */
.journey-map-wrapper {
    background: white;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--wadai-light-grey);
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.journey-map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.journey-map-wrapper:hover::before {
    transform: scaleX(1);
}

.journey-map-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(217, 2, 23, 0.12);
    border-color: rgba(217, 2, 23, 0.2);
}

/* Journey Header */
.journey-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.journey-icon-header {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 20px rgba(217, 2, 23, 0.3);
    transition: all 0.4s ease;
}

.journey-map-wrapper:hover .journey-icon-header {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(217, 2, 23, 0.4);
}

.journey-icon-header i {
    font-size: 2.25rem;
    color: white;
}

.journey-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wadai-text-black) !important;
    margin: 0;
}

/* Compact Journey Map Wrapper */
.journey-map-wrapper-compact {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--wadai-light-grey);
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.journey-map-wrapper-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
}

/* Journey Map - Vertical with 2 Rows (4 steps per row) */
.journey-map-vertical-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 1rem;
    position: relative;
    padding: 1.5rem 0;
    margin: 1rem 0;
}

/* Row Titles */
.journey-row-title {
    grid-column: 1 / -1;
    text-align: center;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
    position: relative;
}

.journey-row-title-employer {
    margin-top: 0;
}

.journey-row-title-earner {
    margin-top: 1rem;
    border-top: 2px solid var(--wadai-light-grey);
    padding-top: 1.25rem;
}

.row-title-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wadai-text-black) !important;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.row-title-text i {
    color: var(--wadai-red);
    font-size: 1.35rem;
}

/* Compact Journey Step */
.journey-step-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0.75rem;
}

.step-visual-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 0.75rem;
    width: 100%;
}

.step-number-compact {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    box-shadow: 0 3px 10px rgba(217, 2, 23, 0.3);
    margin-bottom: 0.5rem;
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid white;
    transition: all 0.3s ease;
    z-index: 3;
}

.journey-step-compact:hover .step-number-compact {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 5px 15px rgba(217, 2, 23, 0.4);
}

.step-icon-box-compact {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(217, 2, 23, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid white;
    margin-bottom: 0.5rem;
}

.journey-step-compact:hover .step-icon-box-compact {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 6px 18px rgba(217, 2, 23, 0.35);
}

.step-icon-box-compact i {
    font-size: 1.5rem;
    color: white;
    z-index: 1;
    transition: transform 0.3s ease;
}

.journey-step-compact:hover .step-icon-box-compact i {
    transform: scale(1.1);
}

.step-content-compact {
    padding: 0.75rem 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 2px solid var(--wadai-light-grey);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.journey-step-compact:hover .step-content-compact::before {
    transform: scaleX(1);
}

.journey-step-compact:hover .step-content-compact {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(217, 2, 23, 0.15);
    border-color: var(--wadai-red-soft);
    background: white;
}

.step-content-compact h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wadai-text-black) !important;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
    text-align: center;
}

.journey-step-compact:hover .step-content-compact h4 {
    color: var(--wadai-red) !important;
}

/* Compact Connector Lines */
.step-connector-compact {
    position: absolute;
    z-index: 1;
    transition: all 0.3s ease;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--wadai-red) 0%, rgba(217, 2, 23, 0.2) 100%);
}

/* Horizontal connectors (right) */
.step-connector-right {
    top: 50%;
    right: -0.5rem;
    width: 1rem;
    height: 3px;
    transform: translateY(-50%);
}

/* Vertical connector (down from last step in row 1) */
.step-connector-down {
    bottom: -0.5rem;
    left: 50%;
    width: 3px;
    height: 1rem;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--wadai-red) 0%, rgba(217, 2, 23, 0.2) 100%);
}

/* Hide connectors for last step in each row */
.journey-step-compact:nth-child(4) .step-connector-compact,
.journey-step-compact:nth-child(8) .step-connector-compact {
    display: none;
}

.journey-step-compact:hover .step-connector-compact {
    background: linear-gradient(90deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    box-shadow: 0 0 8px rgba(217, 2, 23, 0.3);
}

.journey-step-compact:hover .step-connector-down {
    background: linear-gradient(180deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
}

/* Compact Journey Action Buttons */
.journey-actions-compact {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--wadai-light-grey);
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-journey-compact {
    padding: 0.625rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--wadai-red);
    background: transparent;
    color: var(--wadai-red);
    position: relative;
    overflow: hidden;
}

.btn-journey-compact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn-journey-compact:hover::before {
    transform: scaleX(1);
}

.btn-journey-compact:hover {
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(217, 2, 23, 0.3);
    transform: translateY(-2px);
}

.btn-journey-compact.btn-journey-primary {
    background: linear-gradient(135deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    color: white;
    border-color: var(--wadai-red);
}

.btn-journey-compact.btn-journey-primary::before {
    background: linear-gradient(135deg, var(--wadai-red-dark) 0%, var(--wadai-red) 100%);
}

.btn-journey-compact.btn-journey-primary:hover {
    color: white;
}

.process-modern-card {
    background: white;
    border-radius: 22px;
    padding: 2.5rem 2rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
    height: 100%;
    text-align: center;
    border: 2px solid var(--wadai-light-grey);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.process-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.process-modern-card:hover::before {
    transform: scaleX(1);
}

.process-modern-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(217, 2, 23, 0.15);
    border-color: var(--wadai-red-soft);
    background: linear-gradient(180deg, #ffffff 0%, #fefefe 100%);
}

.process-modern-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    box-shadow: 0 8px 25px rgba(217, 2, 23, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.process-modern-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-modern-card:hover .process-modern-icon::after {
    opacity: 1;
}

.process-modern-card:hover .process-modern-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(217, 2, 23, 0.4);
}

.process-modern-icon i {
    font-size: 2.25rem;
    color: white;
    z-index: 1;
    transition: transform 0.4s ease;
}

.process-modern-card:hover .process-modern-icon i {
    transform: scale(1.15);
}

.process-modern-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wadai-text-black) !important;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.process-modern-card:hover h3 {
    color: var(--wadai-red) !important;
}

.process-modern-steps {
    text-align: left;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(180deg, #ffffff 0%, var(--wadai-light-grey) 100%);
    border-radius: 14px;
    border: 2px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: top;
}

.process-step:hover::before {
    transform: scaleY(1);
}

.process-step:hover {
    transform: translateX(5px);
    border-color: var(--wadai-red-soft);
    box-shadow: 0 4px 15px rgba(217, 2, 23, 0.1);
    background: white;
}

.step-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(217, 2, 23, 0.25);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 18px rgba(217, 2, 23, 0.35);
}

.process-step span {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--wadai-text-black) !important;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.process-step:hover span {
    color: var(--wadai-red) !important;
}

.btn-wadai-outline-modern,
.btn-wadai-primary-modern {
    margin-top: 2rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: 2px solid var(--wadai-red);
    position: relative;
    overflow: hidden;
}

.btn-wadai-outline-modern {
    background: transparent;
    color: var(--wadai-red);
}

.btn-wadai-outline-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--wadai-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn-wadai-outline-modern:hover::before {
    transform: scaleX(1);
}

.btn-wadai-outline-modern:hover {
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(217, 2, 23, 0.3);
}

.btn-wadai-primary-modern {
    background: linear-gradient(135deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    color: white;
    border-color: var(--wadai-red);
}

.btn-wadai-primary-modern:hover {
    background: linear-gradient(135deg, var(--wadai-red-dark) 0%, var(--wadai-red) 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 2, 23, 0.35);
}

.section-modern-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--wadai-text-black) !important;
    margin-bottom: 1rem;
}

.how-it-works-modern-section .badge {
    background: rgba(217, 2, 23, 0.1) !important;
    border: 1px solid rgba(217, 2, 23, 0.2);
    color: var(--wadai-red) !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .testimonials-enhanced {
        padding: 4rem 0;
    }
    
    .testimonial-card-inner {
        padding: 2.5rem 2rem;
    }
    
    .testimonial-quote {
        font-size: 1.15rem;
        padding-right: 2rem;
    }
    
    .testimonial-quote-icon {
        font-size: 3.5rem;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .testimonial-avatar-enhanced {
        width: 80px;
        height: 80px;
    }
    
    .testimonial-author-name {
        font-size: 1.05rem;
    }
    
    .how-it-works-modern-section {
        padding: 2.5rem 0;
    }
    
    .journey-map-wrapper-compact {
        padding: 1.5rem;
    }
    
    .journey-map-vertical-compact {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto auto auto;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .row-title-text {
        font-size: 1.1rem;
    }
    
    .row-title-text i {
        font-size: 1.2rem;
    }
    
    .step-icon-box-compact {
        width: 50px;
        height: 50px;
    }
    
    .step-icon-box-compact i {
        font-size: 1.35rem;
    }
    
    .step-number-compact {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
    
    .step-content-compact {
        padding: 0.625rem 0.5rem;
        min-height: 55px;
    }
    
    .step-content-compact h4 {
        font-size: 0.8rem;
    }
    
    .journey-actions-compact {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-journey-compact {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .testimonial-card-inner {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 1.05rem;
        padding-right: 1.5rem;
    }
    
    .testimonial-quote-icon {
        font-size: 3rem;
        top: 1.25rem;
        right: 1.25rem;
    }
    
    .testimonial-author-section {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }
    
    .testimonial-avatar-enhanced {
        width: 75px;
        height: 75px;
    }
    
    .testimonial-author-name {
        font-size: 1rem;
    }
    
    .testimonial-rating {
        justify-content: center;
    }
    
    .journey-map-wrapper-compact {
        padding: 1.25rem;
    }
    
    .journey-map-vertical-compact {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto auto auto auto auto auto;
        gap: 1rem;
    }
    
    .row-title-text {
        font-size: 1rem;
    }
    
    .row-title-text i {
        font-size: 1.1rem;
    }
    
    .journey-row-title-earner {
        margin-top: 0.75rem;
        padding-top: 1rem;
    }
    
    .step-connector-compact {
        display: none;
    }
    
    /* Show vertical connectors for mobile */
    .journey-step-compact:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 3px;
        height: 1rem;
        background: linear-gradient(180deg, var(--wadai-red) 0%, rgba(217, 2, 23, 0.2) 100%);
        z-index: 1;
    }
    
    .step-icon-box-compact {
        width: 48px;
        height: 48px;
    }
    
    .step-icon-box-compact i {
        font-size: 1.25rem;
    }
    
    .step-number-compact {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }
    
    .step-content-compact {
        padding: 0.625rem 0.5rem;
        min-height: 50px;
    }
    
    .step-content-compact h4 {
        font-size: 0.75rem;
    }
    
    .section-modern-title {
        font-size: 1.75rem;
    }
}

/* Animation for carousel items */
.carousel-item[data-animate] {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

