.services-page-section ul, .services-page-section ol {
    margin-left: 20px;
    font-size: 18px;
    color: var(--rv-black);
    line-height: 1.8;
    list-style-position: inside;
    transition: all 0.3s ease-in-out;
    margin-bottom: 10px;
}

/* Adding some space and a subtle effect to list items */
.services-page-section ul li,
.services-page-section ol li {
    padding-left: 15px;
    position: relative;
    transition: all 0.3s ease-in-out;
    opacity: 0.8;  /* Slightly faded by default */
    transition: opacity 0.3s ease-out; /* Smooth transition for opacity change */
}

/* Custom bullet styles for ul */
.services-page-section ul li::before {
    content: "✦";
    position: absolute;
    left: -20px;
    color: var(--rv-primary);
    font-size: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Hover effect for list items */
.services-page-section ul li:hover,
.services-page-section ol li:hover {
    color: var(--rv-primary);
    opacity: 1; /* Full opacity on hover */
    transform: translateX(5px);  /* Subtle right shift on hover */
}

.services-page-section ul li:hover::before,
.services-page-section ol li:hover::before {
    opacity: 1; /* Bullet becomes more visible */
    transform: translateX(-5px); /* Subtle shift for bullet on hover */
}

.services-page-section ul li, .services-page-section ol li {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.8s forwards;
    list-style: none;
}
/* Add staggered delays for each list item */
.services-page-section ul li:nth-child(1),
.services-page-section ol li:nth-child(1) {
    animation-delay: 0.2s;
}

.services-page-section ul li:nth-child(2),
.services-page-section ol li:nth-child(2) {
    animation-delay: 0.4s;
}

.services-page-section ul li:nth-child(3),
.services-page-section ol li:nth-child(3) {
    animation-delay: 0.6s;
}

/* Keyframes for the fadeInUp animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
