.pkd17-section {
    overflow-x: clip;
    padding: 80px 20px;
    position: relative;
}

.pkd17-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.pkd17-header {
    text-align: center;
    margin-bottom: 40px;
}

.pkd17-heading {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
}

.pkd17-highlight {
    font-family: 'Brush Script MT', cursive;
    color: #5b7cff;
    font-style: italic;
}

.pkd17-values-container {
    position: relative;
}

/* Central Timeline Line */
.pkd17-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    z-index: 1;
}

.pkd17-timeline-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(1, 185, 105, 0.2);
}

.pkd17-timeline-progress {
    position: absolute;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #01B969 0%, #00d47a 100%);
    transition: height 0.1s ease-out;
    box-shadow: 0 0 20px rgba(1, 185, 105, 0.6);
}

.pkd17-value-row {
    display: flex;
    margin-bottom: 0px;
    position: relative;
    align-items: center;
    min-height: 400px;
    justify-content: space-between;
}

/* Content on left, image on right */
.pkd17-value-row.pkd17-left-content .pkd17-content-item {
    order: 1;
}

.pkd17-value-row.pkd17-left-content .pkd17-image-item {
    order: 2;
}

/* Content on right, image on left */
.pkd17-value-row.pkd17-right-content .pkd17-content-item {
    order: 2;
}

.pkd17-value-row.pkd17-right-content .pkd17-image-item {
    order: 1;
}

.pkd17-value-item {
    width: calc(50% - 40px);
    position: relative;
    z-index: 2;
}

/* Content item styling */
.pkd17-left-content .pkd17-content-item {
    padding-right: 40px;
    text-align: right;
}

.pkd17-right-content .pkd17-content-item {
    padding-left: 40px;
    text-align: left;
}

/* Image item styling */
.pkd17-left-content .pkd17-image-item {
    padding-left: 40px;
}

.pkd17-right-content .pkd17-image-item {
    padding-right: 40px;
}

.pkd17-value-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

.pkd17-text-content {
    opacity: 0.6;
    transition: opacity 0.5s ease;
    flex: 1;
    min-width: 0;
}

.pkd17-value-row.active .pkd17-text-content {
    opacity: 1;
}

/* Circle on timeline */
.pkd17-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #000;
    border: 3px solid rgba(1, 185, 105, 0.5);
    border-radius: 50%;
    z-index: 3;
    transition: all 0.3s ease;
}

.pkd17-value-row.active .pkd17-circle {
    background: linear-gradient(135deg, #01B969 0%, #00d47a 100%);
    border-color: #01B969;
    box-shadow: 0 0 20px rgba(1, 185, 105, 0.8);
    width: 24px;
    height: 24px;
}

.pkd17-value-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    margin-bottom: 12px;
}

.pkd17-value-description {
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.6;
}

.pkd17-image-box {
    width: 100%;
    max-width: 548px;
    height: auto;

    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.5s ease;
}

.pkd17-value-row.active .pkd17-image-box {
    transform: scale(1);
}

.pkd17-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tablet styles */
@media (max-width: 1024px) {
    .pkd17-section {
        padding: 60px 16px;
    }

    .pkd17-header {
        margin-bottom: 40px;
    }

    .pkd17-value-row {
        margin-bottom: 80px;
        min-height: 350px;
    }

    .pkd17-value-item {
        width: calc(50% - 30px);
    }

    .pkd17-left-content .pkd17-content-item {
        padding-right: 30px;
    }

    .pkd17-right-content .pkd17-content-item {
        padding-left: 30px;
    }

    .pkd17-left-content .pkd17-image-item {
        padding-left: 30px;
    }

    .pkd17-right-content .pkd17-image-item {
        padding-right: 30px;
    }

    .pkd17-image-box {
        max-width: 100%;
        height: 250px;
    }

    .pkd17-value-description {
        font-size: 15px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .pkd17-section {
        padding: 40px 12px;
    }

    .pkd17-header {
        margin-bottom: 40px;
    }

    .pkd17-heading {
        font-size: 28px;
    }

    .pkd17-timeline-line {
        left: 20px;
    }

    .pkd17-value-row {
        margin-bottom: 60px;
        min-height: auto;
        flex-direction: column !important;
        align-items: flex-start;
    }

    .pkd17-value-item {
        width: calc(100% - 50px);
        padding: 0 !important;
        margin-left: 50px;
    }

    /* Force content to always appear first, image second */
    .pkd17-content-item {
        text-align: left !important;
        order: 1 !important;
    }

    .pkd17-image-item {
        margin-top: 16px;
        order: 2 !important;
    }

    .pkd17-circle {
        left: 20px;
    }

    .pkd17-value-title {
        font-size: 22px;
    }

    .pkd17-value-description {
        font-size: 14px;
    }

    .pkd17-image-box {
        width: 100%;
        max-width: 100%;
        height: 200px;
        border-radius: 16px;
    }
}