/* Card wrapper for alignment */

.home.news-card-wrapper {

    overflow: visible;

}

.home .news-card {

    width: 30%;

    background: #fff;

    border-radius: 15px;

    overflow: hidden;

    position: relative;

    transition: transform .4s ease, box-shadow .4s ease;

    box-shadow: 0 4px 15px rgba(0,0,0,0.1);

}



/* Hover lift effect */

.home .news-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.15);

}



/* Image with gradient overlay */

.home .news-card-image {

    height: 380px;

    position: relative;

    overflow: hidden;

    border-radius: 15px;

}



.home .news-card-image img {

    width: 100%;

    height: 100%;

    border-radius: 15px;

    transition: transform .5s ease;

    object-fit: cover;

    object-position: center;

}



/* Zoom-in effect on hover */

.home .news-card:hover .news-card-image img {

    transform: scale(1.1);

}



/* Gradient overlay */

.home .news-card-image::before {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(180deg, rgb(41 220 243 / 50%) 0%, rgb(73 136 213 / 90%) 100%);

    border-radius: 15px;

    z-index: 1;

    width:100%;

}



/* Text section */

.home .news-cardinner {

    position: absolute;

    bottom: 30px;

    left: 0;

    right: 0;

    padding: 0 30px;

    z-index: 2;

}



/* Title with hover underline effect */

.home .news-card-title {

    margin-bottom: 15px;

    position: relative;

}

.home .news-card-title::after {

    content: "";

    display: block;

    width: 0;

    height: 2px;

    background: var(--global-palette2);

    transition: width .3s ease;

    margin-top: 5px;

}

.home .news-card:hover .news-card-title::after {

    width: 40px;

}



/* Read More button */

.news-card-readmore {

    transition: all .3s ease-in-out;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    text-decoration: none;

    position: relative;

}

.news-card-readmore::after {

    content: "";

    width: 0;

    height: 2px;

    background: #fff;

    position: absolute;

    bottom: -4px;

    left: 0;

    transition: width .3s ease;

}

.news-card-readmore:hover::after {

    width: 100%;

}

.news-card-readmore i {

    transition: transform .3s ease;

}

.news-card-readmore:hover i {

    transform: translateX(5px);

}



/* Date badge */

.home .blogdate {

    background: var(--global-palette1);

    position: absolute;

    top: 5px;

    right: 12px;

    color: #fff;

    padding: 8px 12px;

    border-radius: 8px;

    font-size: 14px;

    text-align: center;

    z-index: 3;

    border: 1px solid var(--global-palette2);

    max-width: 90px;

    height: 70px;

    left: auto;

}

.blogdate span {

    display: block;

    font-weight: bold;

    font-size: 18px;

}

.home.news-card-wrapper .swiper-pagination {

    transform: translateY(55px);

}

.swiper-blog .swiper-pagination-bullet-active {

    outline: 2px solid #4988d5;

    outline-offset: 2px;

}

@media (max-width:991px) {
.home .news-card {
    width: 40%;
}
}

@media (max-width:600px) {
.home .news-card-image {
    height: 300px;
}
.home .news-card {
    width: 65%;
}
.home .blogdate span {
    font-size: 15px;
}
.home .blogdate {
    font-size: 12px;
}
.home h5.news-card-title {
    font-size: 15px !important;
}
p.news-card-excerpt {
    font-size: 15px !important;
    line-height: 1.2;
}
a.news-card-readmore {
    font-size: 13px !important;
}
}
@media (max-width:475px) {
.home .news-card {
    width: 95%;
}
}









