:root {
    --star-size: 40px;
    --star-color: #fff;
    --star-background: #f2bf0b;
}

/* Block Background */
.innerpadding1 {
    background-color: #EEFAFE !important;
}

.Stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: var(--star-size);
    font-family: Times;
    line-height: 1;
}

.Stars::before {
    content: "★★★★★";
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header Styling */
.timelineLeft .subheader {
    color: var(--tertiary);
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.timelineLeft .header {
    color: var(--primary);
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    width: 400px;
}

/* Main Container */
.timeline-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 70px 0 210px;
}

.timelineLeft {
    width: 30%;
    margin-top: 50px;
    padding: 0;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 40px;
    gap: 20px;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
}

.slider-arrow:hover {
    transform: scale(1.1);
}

.slider-arrow.slick-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-arrow.slick-disabled:hover {
    transform: none;
}

.slider-arrow i {
    color: var(--tertiary);
    font-size: 20px;
}

.slider-progress {
    flex: 1;
    max-width: 200px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* Slider Container */
.rightScroll1 {
    width: 60%;
    position: absolute;
    right: 0;
}

/* Card Styling */
.timeline-block {
    background: var(--tertiary);
    color: white;
    padding: 30px;
    margin: 0 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: auto;
    min-height: 300px;
    cursor: grab;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.timeline-block:active {
    cursor: grabbing;
}

.timeline-block .testimonial {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
    color: white;
}

.timeline-block .Stars {
    --star-color: transparent;
    --star-background: var(--secondary);
    font-size: 25px;
    margin: 15px 0;
}

.timeline-block .Stars::before {
    content: "★★★★★";
    letter-spacing: 3px;
    background: var(--secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--secondary);
}

.timeline-block .reviewer-name {
    font-family: var(--font1);
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin: 15px 0 5px 0;
    text-transform: uppercase;
}

.timeline-block .attribution {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin: 5px 0 0 0;
    text-transform: uppercase;
}

/* Hide default slick arrows */
.rightScroll1 .slick-arrow {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .timeline-container {
        flex-wrap: wrap;
    }

    .timelineLeft {
        width: 100%;
        margin-top: 0;
        padding: 0;
    }

    .timelineLeft .header {
        font-size: 40px;
        width: 100%;
    }

    .rightScroll1 {
        width: 100%;
        position: relative;
        right: 0;
    }

    .slider-controls {
        gap: 20px;
    }

    .slider-progress {
        max-width: 200px;
    }

    .timeline-block {
        margin: 0 10px;
        padding: 25px;
        min-height: 280px;
    }

    .timeline-block .testimonial {
        font-size: 16px;
    }

    .timeline-block .reviewer-name {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .timeline-container {
        padding: 50px 0 80px;
    }

    .timelineLeft {
        margin-bottom: 30px;
    }

    .timelineLeft .header {
        font-size: 32px;
    }

    .slider-controls {
        gap: 15px;
        margin-bottom: 30px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow i {
        font-size: 16px;
    }

    .slider-progress {
        max-width: 150px;
        height: 3px;
    }

    .timeline-block {
        padding: 20px;
        min-height: 250px;
    }

    .timeline-block .testimonial {
        font-size: 15px;
    }

    .timeline-block .reviewer-name {
        font-size: 14px;
    }

    .timeline-block .attribution {
        font-size: 12px;
    }
}