/*====================================================
                    INTRO SECTION
====================================================*/

.service-intro-card{
    background:linear-gradient(135deg,#ffffff,#f5faff);
    border:1px solid #d8e6f7;
    border-left:6px solid #0d5ea8;
    border-radius:14px;
    padding:14px 18px;
    margin:12px 0 20px;
    box-shadow:0 4px 14px rgba(4,55,105,.08);
}

.services-intro{
    color:#5f6f86;
    font-size:.8rem;
    line-height:1.6;
    margin:0 0 8px;
    text-align:justify;
}

.services-intro:last-child{
    margin-bottom:0;
}


/*====================================================
                SERVICE BLOCKS
====================================================*/

.service-block{
    margin-bottom:18px;
    background:#fff;
    border:1px solid #e6edf8;
    border-radius:14px;
    padding:14px;
    box-shadow:0 4px 14px rgba(4,55,105,.08);
    transition:.3s;
    overflow:hidden; /* prevents images from spilling outside the card */
}

.service-block:hover{
    box-shadow:0 6px 20px rgba(4,55,105,.12);
    transform:translateY(-2px);
}

.service-block:last-child{
    margin-bottom:10px;
}

.service-block .row{
    align-items:center;
    row-gap:8px;
}

.service-image{
    width:100%;
    height:220px;
    object-fit:cover;
    object-position:center;
    border-radius:12px;
    border:1px solid #e5edf8;
    box-shadow:0 4px 12px rgba(4,55,105,.08);
    display:block;
}

.service-tag{
    display:inline-block;
    background:#eaf4ff;
    color:#0d5ea8;
    padding:4px 10px;
    border-radius:24px;
    font-size:.72rem;
    font-weight:600;
    margin-bottom:6px;
}

.service-title{
    color:#043769;
    font-size:1.35rem;
    font-weight:700;
    line-height:1.2;
    margin-bottom:6px;
}

.service-block p{
    color:#5f6f86;
    font-size:.78rem;
    line-height:1.5;
    text-align:justify;
    margin-bottom:5px;
}


/*====================================================
                    PAGINATION
====================================================*/

.service-pagination{
    margin:6px 0 20px;
}

.service-pagination .pagination{
    gap:6px;
}

.service-pagination .page-item{
    margin:0;
}

.service-pagination .page-link{

    min-width:36px;
    height:36px;

    border-radius:50%;

    border:1px solid #d7e6f7;

    background:#fff;

    color:#043769;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:.8rem;
    font-weight:700;

    transition:.3s;

    box-shadow:0 3px 8px rgba(4,55,105,.08);

    text-decoration:none;

}

.service-pagination .page-link:hover{

    background:#0d5ea8;

    color:#fff;

    border-color:#0d5ea8;

    transform:translateY(-2px);

}

.service-pagination .page-item.active .page-link{

    background:#043769;

    color:#fff;

    border-color:#043769;

}

.service-pagination .page-item.disabled .page-link{

    opacity:.45;

    pointer-events:none;

}

.service-pagination .page-link i{

    font-size:.72rem;

}


/*====================================================
                    CAROUSEL FIX
====================================================*/

#fillingsSlider .carousel-inner{
    border-radius:12px;
    overflow:hidden;
}

#fillingsSlider .service-image{
    height:220px;
}


/*====================================================
                RESPONSIVE
====================================================*/

@media(max-width:992px){

    .service-image{

        height:190px;

        margin-bottom:8px;

    }

    .service-title{

        font-size:1.15rem;

    }

}


@media(max-width:768px){

    .service-intro-card{

        padding:12px;

        margin:8px 0 14px;

    }

    .services-intro{

        font-size:.74rem;

        line-height:1.5;

    }

    .service-block{

        margin-bottom:12px;
        padding:10px;
        border-radius:12px;

    }

    .service-image{

        height:170px;

    }

    .service-title{

        font-size:1rem;

        margin-bottom:4px;

    }

    .service-block p{

        font-size:.74rem;

        line-height:1.5;

        margin-bottom:4px;

    }

    .service-tag{

        font-size:.64rem;

        padding:3px 9px;

        margin-bottom:5px;

    }

    .service-pagination{

        margin-top:4px;

    }

    .service-pagination .pagination{

        gap:4px;

    }

    .service-pagination .page-link{

        min-width:30px;

        height:30px;

        font-size:.7rem;

    }

}

/* Arrow button */
.carousel-control-prev,
.carousel-control-next{
    width:34px;
    height:34px;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,0.45);   /* Translucent black */
    border-radius:50%;
    opacity:1;
    transition:all .3s ease;
}

/* Left Arrow Position */
.carousel-control-prev{
    left:10px;
}

/* Right Arrow Position */
.carousel-control-next{
    right:10px;
}

/* Hover Effect */
.carousel-control-prev:hover,
.carousel-control-next:hover{
    background:rgba(0,0,0,0.7);
}

/* White arrow icons */
.carousel-control-prev-icon,
.carousel-control-next-icon{
    width:14px;
    height:14px;
    filter:brightness(0) invert(1); /* Makes arrows pure white */
}

/* Optional: Indicator styling */
.carousel-indicators [data-bs-target]{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#fff;
    opacity:.6;
}

.carousel-indicators .active{
    opacity:1;
    background:#fff;
}

/*=====================================
        CONTENT HYPERLINKS
=====================================*/

.service-block p a,
.service-intro-card p a{
    color:#043769;
    font-weight:600;
    text-decoration:none;
    transition:all .3s ease;
}

.service-block p a:hover,
.service-intro-card p a:hover{
    color:#0d5ea8;
    text-decoration:none;
}