/* News Carousel Premium Styles */
#news-carousel-section {
    position: relative;
    padding: 0;
    margin: 2rem auto 4rem; /* Spacing */
    max-width: 1000px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    /* Flash-like border effect */
    border: 1px solid rgba(255,255,255,0.1);
    background: #000;
}

.news-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    z-index: 1;
    transform: scale(1.05); /* Slight zoom for movement effect */
}

.news-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.news-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay for text readability */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}

.news-content {
    position: relative;
    z-index: 3;
    padding: 2.5rem;
    width: 100%;
    max-width: 800px;
    transform: translateY(20px);
    transition: transform 0.6s ease-out 0.2s, opacity 0.6s ease-out 0.2s;
    opacity: 0;
}

.news-slide.active .news-content {
    transform: translateY(0);
    opacity: 1;
}

.news-tag {
    display: inline-block;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
}

.news-title {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-family: 'Montserrat', sans-serif;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px 24px;
    border-radius: 30px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.news-link:hover {
    background: white;
    color: #111;
    transform: translateX(5px);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Mobile responsive */
@media (max-width: 768px) {
    #news-carousel-section {
        height: 450px;
        margin: 1rem;
        border-radius: 15px;
    }
    .news-title {
        font-size: 1.5rem;
    }
    .news-content {
        padding: 1.5rem;
    }
}
