/* ========================================
   News Carousel Section - Owl Carousel
   ======================================== */

.news-carousel-section {
    padding: 80px 0 100px;
    background: #ffffff;
    overflow: hidden;
}

.section-tag {
    font-size: 0.875rem;
    font-weight: 600;
    color: #5b9bd5;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #5b9bd5;
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00d9ff);
    margin: 0 auto;
    border-radius: 2px;
}

/* News Card */
.news-card {
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    margin: 10px;
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: #5b9bd5;
    box-shadow: 0 8px 25px rgba(91, 155, 213, 0.15);
}

/* News Image */
.news-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

/* Date Badge */
.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #5b9bd5, #5b9bd5);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 3px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(43, 79, 135, 0.3);
    z-index: 2;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.date-day {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 4px;
}

.date-month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* News Content */
.news-content {
    padding: 30px;
}

.news-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #5b9bd5;
    background: rgba(91, 155, 213, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #5b9bd5;
    line-height: 1.4;
    margin-bottom: 20px;
    min-height: 70px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-news {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #5b9bd5;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(43, 79, 135, 0.2);
}

.btn-news:hover {
    background: #5b9bd5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 79, 135, 0.3);
    color: #ffffff;
}

/* Owl Carousel Custom Navigation */
.news-owl-carousel .owl-nav {
    margin-top: 30px;
}

.news-owl-carousel .owl-nav button {
    width: 50px;
    height: 50px;
    background: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.news-owl-carousel .owl-nav button:hover {
    background: #5b9bd5 !important;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(43, 79, 135, 0.3);
}

.news-owl-carousel .owl-nav button.owl-prev {
    left: -25px;
}

.news-owl-carousel .owl-nav button.owl-next {
    right: -25px;
}

.news-owl-carousel .owl-nav button span {
    font-size: 2rem;
    line-height: 1;
}

/* Owl Carousel Dots */
.news-owl-carousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}

.news-owl-carousel .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(43, 79, 135, 0.3) !important;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.news-owl-carousel .owl-dot.active {
    background: #5b9bd5 !important;
    width: 30px;
    border-radius: 6px;
}

/* View All Button */
.btn-view-all-news {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    background: transparent;
    color: #5b9bd5;
    text-decoration: none;
    border: 2px solid #5b9bd5;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-view-all-news:hover {
    background: #5b9bd5;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 79, 135, 0.3);
}

.btn-view-all-news i {
    transition: transform 0.3s ease;
}

.btn-view-all-news:hover i {
    transform: translateX(5px);
}

/* Hide dots for news carousel specifically */
.news-owl-carousel .owl-dots {
    display: none !important;
}

/* Responsive */
@media (max-width: 991px) {
    .news-carousel-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .news-owl-carousel .owl-nav button.owl-prev {
        left: -15px;
    }
    
    .news-owl-carousel .owl-nav button.owl-next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .news-image {
        height: 220px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 1.125rem;
        min-height: auto;
    }
    
    .news-owl-carousel .owl-nav button {
        width: 40px;
        height: 40px;
    }
    
    .news-owl-carousel .owl-nav button span {
        font-size: 1.5rem;
    }
}

