.our-work {
    height: 698px;
    min-height: 698px;
    max-height: 698px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    overflow: hidden;
    margin-top: 110px;
    border-radius: 20px;
}

.image-section{
    background-image: url(../images/campus-scroll.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center; 
    height: 698px;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.blurred-box__step{
    display: none;
}

.blurred-box__title{
    font-size: 18px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    margin-bottom: 8px;
}
.blurred-box__description{
    font-size: 14px;
    font-weight: 300;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    line-height: 20px;
    margin: 0;
}

.slider {
    display: flex;
    gap: 40px;
}

.carousel__slider {
    position: relative;
    min-height: 400px;
    width: 100%;
}

.carousel__item {
    position: absolute;
    padding: 40px;
    background: #6B170C;
    border-radius: 16px;
    color: #fff;
    overflow: hidden; /* keeps blur inside */
    box-sizing: border-box;
}

/* First background image */
.carousel__item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../images/top-gradient.png) top right no-repeat;
    background-size: cover;
    opacity: 1;
    top: 0;
    left: 0px;
}

/* Second background image */
.carousel__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../images/bottom-gradient.png) bottom left no-repeat;
    background-size: cover;
    opacity: 1;
    pointer-events: none;
}

/* Keep text above backgrounds */
.carousel__item > * {
    position: relative;
    z-index: 1;
}



.carousel__nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.carousel__nav__item {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D9D9D9;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel__nav {
position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 5;
    background: #F9F9F7;
    border-radius: 100px;
    padding: 10px 5px;
}


.carousel__nav__item.is-active,
.carousel__nav__item:hover {
    background: #BCA078;
    transform: scale(1.2);
}

.counter-number{
    font-size: 48px;
    font-weight: 500;
    margin-top: 30px;
    color: #E4D9C7;
}


@media (max-width: 767px) {
    .our-work {
        margin-top: 50px;
        margin-bottom: 50px;
    }
    .carousel__nav {
        left: 50%;
        right: auto;
        top: auto;
        bottom: 20px;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 10px;
    }
    .image-section{
        width: auto;
    }
    .carousel__item{
        padding: 20px;
        bottom: 0px;
    }
    .carousel__item::before,
    .carousel__item::after {
       background-size: contain;
    }
}