/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    padding-top: 50px;
    padding-bottom: 100px;
    width: 100%;
    
    /* CRITICAL FIX: */
    /* Top: 50px | Right: 0 (No space!) | Bottom: 100px | Left: 8% (Keep alignment) */
    padding: 70px 0 250px 8%; 
    
    /* Ensure no margins are restricting it */
    margin-right: 0;
    margin-left: 110px;
    box-sizing: border-box;
}

/* Ensure the title doesn't get cut off if screen is small */
.testimonials-section .section-title {
    /* Optional: Ensure title matches other sections' left alignment */
    /* Since we kept left padding 8% in the section, this is fine. */
    margin-right: 30px; /* Keep title away from right edge */
}

.section-title {
    font-family: 'Braah One', sans-serif;
    font-size: 48px;
    color: #FFFFFF;
    margin-bottom: 40px;
}

/* --- SLIDER CONTAINER --- */
.slider-container-relative {
    position: relative; /* Anchor for the absolute overlay */
    width: 100%;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    
    /* Important: Add padding right so text doesn't get cut off by fade immediately */
    padding-right: 150px; 
    
    scroll-behavior: smooth;
    
    /* Hide scrollbars */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.slider-wrapper::-webkit-scrollbar { display: none; }

/* --- CARD DESIGN --- */
.testi-card {
    flex: 0 0 480px; /* Fixed card width */
    height: 250px;   /* Fixed card height */
    background-color: #040914; /* Dark Card Background */
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.testi-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.testi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testi-role {
    font-family: 'Blinker', sans-serif;
    font-size: 22px;
    color: white;
    font-weight: 500;
}

.stars {
    color: #FFC107; /* Gold stars */
    font-size: 14px;
    display: flex;
    gap: 4px;
}

.nonstar {
    color: #262524; /* Gold stars */
    display: flex;
    gap: 4px;
}

.testi-text {
    font-family: 'Blinker', sans-serif;
    font-size: 13px;
    color: #8C8C8C; /* Grey Text */
    line-height: 1.6;
    margin: 15px 0;
    
    /* Truncate text */
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Show only 4 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-circle {
    width: 40px;
    height: 40px;
    background-color: #D9D9D9;
    border-radius: 50%;
}

.user-name {
    font-family: 'Blinker', sans-serif;
    font-size: 16px;
    color: white;
    font-weight: 600;
}

/* --- THE DARK FADE OVERLAY & ARROW --- */
.fade-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px; /* Width of the fade area */
    height: 100%;
    
    /* Gradient: Transparent on left -> Main BG Color on right */
    background: linear-gradient(to right, transparent 0%, #000000 60%, #000000 100%);
    
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    margin-right: -40px;
    
    /* Allow scrolling underneath the transparent part */
    pointer-events: none; 
}

.arrow-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 30px; /* Big white arrow */
    cursor: pointer;
    
    /* Re-enable clicks on the button itself */
    pointer-events: auto; 
    
    /* Push slightly to the right to look centered in the dark area */
    margin-left: 30px; 
    transition: transform 0.3s;
}

.arrow-btn:hover {
    transform: scale(1.2);
}
