﻿#slider-08 .button-container {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    gap: 20px;
    z-index: 20;
}

/* CSS Buttons IO Style */
.cssbuttons-io-button {
    background: #ffffff;
    color: #0d50a0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    border-radius: 2em;
    border: none;
    display: flex;
    align-items: center;
    position: relative;
    height: 2.8em;
    padding: 0.35em 1.2em;
    padding-right: 3.3em;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .cssbuttons-io-button .icon {
        background: #0d50a0;
        margin-left: 1em;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 2.2em;
        width: 2.2em;
        border-radius: 2em;
        right: 0.3em;
        transition: all 0.3s;
    }

    .cssbuttons-io-button:hover .icon {
        width: calc(100% - 0.6em);
    }

    .cssbuttons-io-button .icon svg {
        width: 1.1em;
        color: #ffffff;
        transition: transform 0.3s;
    }

    .cssbuttons-io-button:hover .icon svg {
        transform: translateX(0.1em);
    }

    .cssbuttons-io-button:active {
        transform: scale(0.95);
    }

@media (max-width: 768px) {
    #slider-08 .button-container {
        flex-direction: column;
        align-items: flex-end;
        bottom: 5px;
        right: 5px;
        gap: 8px;
    }

    .cssbuttons-io-button {
        font-size: 13px;
        height: 2.2em;
        padding: 0.2em 0.9em;
        padding-right: 2.2em;
    }

        .cssbuttons-io-button .icon {
            height: 1.6em;
            width: 1.6em;
        }
}

@media (max-width: 480px) {
    #slider-08 .button-container {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
        bottom: 10px;
        right: 10px;
    }

    .cssbuttons-io-button {
        font-size: 13px;
        height: 2.0em;
        padding: 0.1em 0.7em;
        padding-right: 2.0em;
    }

        .cssbuttons-io-button .icon {
            height: 1.4em;
            width: 1.4em;
        }
}



.blog-section h2 {
    position: relative;
    color: #0e2a4e;
    font-size: 26px;
    line-height: 1.2em;
    font-weight: 700;
}


.blog_image_bg {
    background: #393939;
    position: relative;
    height: 170px;
    overflow: hidden;
    flex: 1;
    transition: all 0.4s ease;
}

/* Image */
.blog_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* Dark overlay */
.blog_image_bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Text section */
.blog_content_wrapper {
    width: 100%;
    position: absolute;
    inset: 0;
    padding: 20px;
    z-index: 2;
}

.blog_content {
    height: auto;
    padding: 2%;
    overflow: hidden;
    font-size: 18px;
    color: #ffffff;
    /* Clamp text to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Read More button */
.utiButtonWhite {
    text-transform: uppercase;
    padding: 10px;
    min-width: 150px;
    color: #ffffff;
    border: #ffffff solid 1px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 10%;
    right: 15%;
    z-index: 3;
}

    .utiButtonWhite:hover {
        color: #0d50a0;
        background: #ffffff;
        border: 1px solid #0d50a0;
    }

/* Row wrapper */
.marginTop10 {
    display: flex;
    flex-direction: row;
    gap: 25px;
    justify-content: center;
    align-items: stretch;
}

    /* ==== Hover Expansion Effect ==== */

    /* All shrink slightly on hover */
    .marginTop10:hover .blog_image_bg {
        flex: 1;
    }

    /* Hovered card expands */
    .marginTop10 .blog_image_bg:hover {
        flex: 1.1;
    }

/* Remove grayscale + zoom in */
.blog_image_bg:hover .blog_bg {
    transform: scale(1.15);
    filter: blur(100px);
}

/* Overlay becomes visible */
.blog_image_bg:hover::after {
    opacity: 1;
}

<%-- ==========blog carousel============--% >



.carousel-container {
    width: 100%;
    padding: 0px 20px;
    margin: 0px auto;
    overflow: hidden;
    position: static;
}

.carousel-track {
    display: flex;
    gap: 40px;
    transition: transform 0.4s ease;
}

.card {
    background: #fff;
    width: 45%;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

    .card img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

.card-meta {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0,0,0,0.05);
    font-size: 14px;
    font-weight: bold;
}

.card p {
    padding: 16px;
    color: #333;
}

/* DOTS */
.carousel-dots {
    text-align: center;
    margin-top: 20px;
}

    .carousel-dots span {
        height: 10px;
        width: 10px;
        margin: 0 5px;
        background: #888;
        border-radius: 50%;
        display: inline-block;
        cursor: pointer;
        transition: .3s;
    }

    .carousel-dots .active {
        background: #fff;
    }

.navP {
    position: absolute;
    transform: translateY(-500%);
    background: rgba(0,0,0,0.2);
    border: none;
    color: #fff;
    font-size: 28px;
    padding: 8px 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.prev {
    left: -10px;
}

.next {
    right: -10px;
}




.fw-carousel {
    width: 100%;
    padding: 20px 0px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.fw-track {
    display: flex;
    transition: transform .5s ease;
}

.fw-slide {
    min-width: 100%;
    display: flex;
    height: auto;
}

.fw-img, .fw-content {
    flex: 1;
}

    .fw-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.fw-content {
    padding: 0 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .fw-content h2 {
        font-size: 42px;
        color: black;
    }

.meta {
    margin: 0 0 20px;
    font-size: 16px;
    opacity: .7;
}

.desc {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #f15b2a;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
}

/* Prev/Next buttons */
.fw-prev, .fw-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 32px;
    padding: 10px 16px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.fw-prev {
    left: 20px;
}

.fw-next {
    right: 20px;
}

/* Mobile responsive: stack vertically */
@media (max-width: 900px) {
    .fw-slide {
        flex-direction: column;
        height: auto;
    }

    .fw-content {
        padding: 40px;
    }

        .fw-content h2 {
            font-size: 32px;
        }
}
/* Dots styling (paste into your existing style) */
.fw-dots {
    position: absolute;
    left: 50%;
    bottom: 0%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
}

    .fw-dots button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: rgba(255,255,255,0.35);
        padding: 0;
        cursor: pointer;
        transition: transform .2s ease, background .2s ease;
    }

        .fw-dots button.active {
            background: #f15b2a;
            transform: scale(1.15);
        }



.invest-now-overlay {
    position: absolute;
    left: 3.6%;
    top: 70%;
    width: 17%;
    height: 10%;
    z-index: 999999 !important;
    background: transparent;
}