/* .news-contain{
    border:1px solid black;
    align-items: center;
} */
.row .spotcard,
.row .announcecard {
    border: none;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15), 
                0 2px 8px rgba(0,0,0,0.1),
                inset 0 1px 0 rgba(255,255,255,0.9);
    background: #ffffff;
    cursor: pointer;
    height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-top: 4px solid rgb(255, 160, 137);
    position: relative;
}

/* First card: border-bottom and border-left */
.row .spotcard {
    border-bottom: 5px solid rgb(237, 87, 50);
    border-left: 5px solid rgb(237, 87, 50);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* Second card: border-bottom and border-right */
.row .announcecard {
    border-bottom: 5px solid rgb(237, 87, 50);
    border-right: 5px solid rgb(237, 87, 50);
    /* border-top-right-radius: 8px; */
    /* border-bottom-right-radius: 8px; */
    border-radius: 18px;
}

.row .spotcard:hover,
.row .announcecard:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 16px 32px rgba(251, 79, 20, 0.25), 
                0 4px 12px rgba(0,0,0,0.15),
                inset 0 1px 0 rgba(255,255,255,0.95);
    border-top-color: #fb4f14;
}

.row .spotcard:hover {
    border-bottom-color: #fb4f14;
    border-left-color: #fb4f14;
}

.row .announcecard:hover {
    border-bottom-color: #fb4f14;
    border-right-color: #fb4f14;
}

.row .newscard{
    background:#fb4f14;
    color:#fff;
    font-family:"poppins","sans-sheriff";
    font-weight:500;
    font-size:16px;
    border-radius:0px;
    transition: all 0.3s ease;
}

.row .newscard:hover {
    background:#e03d0a;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(251, 79, 20, 0.4);
}
@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.news-contain {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.news-contain.animate {
    animation: zoomIn 0.8s ease-out forwards;
}

.sliding-list {
    overflow: hidden;
}

.sliding-list ul {
    position: relative;
    animation: slideUp 20s linear infinite;
}

@keyframes slideUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.sliding-list:hover ul {
    animation-play-state: paused;
}

.card .cardimgslide {
    padding: 0;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    border-bottom: 2px solid rgba(255, 160, 137, 0.2);
}

.spotcard .cardimgslide,
.announcecard .cardimgslide {
    height: 250px;
    flex-shrink: 0;
}

.spotcard .cardimgslide .carousel,
.announcecard .cardimgslide .carousel,
.spotcard .cardimgslide .carousel-inner,
.announcecard .cardimgslide .carousel-inner {
    height: 100%;
}

.card .viewmore{
    text-decoration:none;
    font-weight:400;
    font-size:14px;
    color:#008BF9;
    padding:10px
}
.card .viewmore:hover{
    color:#FF6600;
    padding:20px
}
.card .secondheader,.thirdheader,.fourthheader{
    font-family:"poppins","sans-sheriff";
    font-size:14px;
    padding:10px;
}
.card .secondheader{
    background: #008BF9;
    color:#ffffff;
    border-radius: none;
}
.card .thirdheader{
    background: #9773FF;
    color:#ffffff;
}
.card .fourthheader{
    background: #E88060;
    color:#ffffff;
}
.cardimgslide .carousel-item {
    height: 250px;
}

.cardimgslide .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 250px;
    transition: transform 0.4s ease;
}

.spotcard:hover .cardimgslide .carousel-item img,
.announcecard:hover .cardimgslide .carousel-item img {
    transform: scale(1.08);
}

.card .newsbody {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.2rem 1.5rem;
    overflow: hidden;
    min-height: 0;
}

.card .newsbody .newsubheading {
    margin-bottom: 0.8rem;
    font-size: 20px;
    font-weight: 700;
    color: #1C2B78;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card .newsbody .vision-intro {
    margin-bottom: 1rem;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
    font-weight: 500;
}

.card .newsbody p {
    margin-bottom: 1rem;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

.card .newsbody .listcontent.compact-list {
    margin-bottom: 0;
    flex: 1;
    overflow: hidden;
    padding-left: 1.2rem;
}

.card .newsbody .listcontent.compact-list .lcontent {
    font-size: 14px;
    line-height: 1.7;
    padding-bottom: 0.6rem;
    color: #555555;
    position: relative;
}

.card .newsbody .listcontent.compact-list .lcontent::marker {
    color: rgb(255, 102, 0);
    font-size: 1.2em;
}

.spotcard .newsbody,
.announcecard .newsbody {
    background: linear-gradient(to bottom, #ffffff 0%, #fefefa 100%);
    position: relative;
}

.spotcard:hover .newsbody,
.announcecard:hover .newsbody {
    background: linear-gradient(to bottom, #ffffff 0%, #fff8f6 100%);
}

/* Add subtle accent line on hover */
.spotcard:hover .newsbody::before,
.announcecard:hover .newsbody::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fb4f14 0%, rgb(255, 160, 137) 100%);
    opacity: 0.6;
}
.text .listcard .aclass{
    text-decoration:none;
    font-size:14px;
    font-weight:400;
    color:#666666;
    line-height: 2.1;
    padding:0px
}
.text .listcard .aclass:hover{
    padding:1px;
    color:#FF6600
}
.card .newsbody ul li a{
    text-decoration:none;
    font-family:"poppins","sans-sheriff";
    font-weight:400;
    font-size:14px;
    color:#666666;
    line-height:2.1
}
.card .newsbody ul li a:hover{
    padding:15px;
    color:#FF6600
}
.left-news-image{left:-40rem}
.backnewsimage{
    width:65rem
}