.rds-slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.rds-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.rds-slide.active {
    opacity: 1;
    z-index: 2;
}

.rds-content {
    width: 50%;
    transform: translateY(120px);
    opacity: 0;
    transition: all 1.8s ease;
}

.rds-slide.active .rds-content {
    transform: translateY(0);
    opacity: 1;
}

.rds-image {
    width: 45%;
    transform: translateX(200px);
    opacity: 0;
    transition: all 2s ease;
}

.rds-slide.active .rds-image {
    transform: translateX(0);
    opacity: 1;
}

.rds-image img {
    width: 100%;
    border-radius: 20px;
}

/* Layout for the Header Group */
/* Layout for Number + Heading */
.rds-header-group {
    display: flex;
    align-items: flex-start; /* Pins the number to the TOP line */
    gap: 12px;               /* Space between number and text */
    margin-bottom: 15px;
}

.rds-header-group h2 {
    font-family: Instrument Sans;
font-weight: 500;
font-style: Medium;
font-size: 48px;
leading-trim: NONE;
line-height: 48px;
letter-spacing: 0%;
color:rgba(14, 15, 18, 1);
}

.rds-number {
   font-family: Instrument Sans;
font-weight: 500;
font-style: Medium;
font-size: 36px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
color:rgba(57, 57, 57, 1);
    flex-shrink: 0;          /* Prevents the number from being squashed */
    
    /* Fine-tune this top margin to align the number perfectly 
       with the vertical center of the first line of the H2 */
    margin-top: 10px; 
}

/* Paragraph stays below the header group */
.rds-content p {
    display: block;
    margin-top: 10px;
    font-family: Instrument Sans;
font-weight: 500;
font-style: Medium;
font-size: 24px;
leading-trim: NONE;
line-height: 36px;
letter-spacing: 0%;
color:rgba(57, 57, 57, 1);
width:100%;
}



/* =========================
   MOBILE RESPONSIVE FIX
========================= */

