.rl-intro img{
    border-top-left-radius: 124px;
    border-top-right-radius: 124px;
    overflow: hidden; /* ensure child content respects border radius */
}

.rl-intro-v2 img {
    border-radius: 24px;
}

.project-details__text1-img {
    margin-bottom: 32px;
}

.image-split-gallery {
    margin-bottom: 40px;
}

.image-stack-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.single-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.single-img-wrapper img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-img-wrapper:hover img {
    transform: scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    .image-stack-column {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .single-img-wrapper img {
        height: 200px;
    }
}

/*Pagination Style*/

.pagination .page-link {
    background-color: #231F20;
    color: #fff;
    border: 1px solid #E94F35;
    padding: 9px 20px;
    font-weight: 500;
    margin: 0 12px;
    border-radius: 50px;
    transition: 0.3s;
}

.pagination .page-item.active .page-link {
    background-color: #E94F35;       /* Red background for active */
    border-color: #E94F35;
    color: #fff;
}

.pagination .page-link:hover {
    background-color: #E94F35;
    color: #fff;
    border-color: #E94F35;
}

.pagination .page-item.disabled .page-link {
    background-color: #333;          /* Slightly lighter dark for disabled */
    color: #aaa;
    border-color: #444;
}

.rl-blog-post-card {
    width: 64px;
    height: 64px;
    border-radius: 100px;
}

/* Newsletter Success */
.newsletter-success {
    background-color: #E94F35; /* Red-orange tone */
    color: #fff;
    font-weight: 600;
    padding: 16px 24px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #cc3e29;
    box-shadow: 0 2px 8px rgba(233, 79, 53, 0.25);
    margin-top: 20px;
    animation: fadeSlideIn 0.3s ease-in-out;
}

/* Newsletter Error */
.newsletter-error {
    background-color: #df2b18;
    color: #fff;
    font-weight: 600;
    padding: 16px 24px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #b91302;
    box-shadow: 0 2px 8px rgba(233, 79, 53, 0.25);
    margin-top: 20px;
    animation: fadeSlideIn 0.3s ease-in-out;
}

.subscribe-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

