/* News Section Styles */
.news-section {
    padding: 4rem 0;
}

.news-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #04602a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.news-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #04602a, #28a745);
    border-radius: 2px;
}

.carousel {
    border-radius: 20px;
    overflow: hidden;
}

.news-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .card-img-top {
    transform: scale(1.05);
}

.news-card .card-body {
    padding: 20px;
}

.news-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #04602a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-card .card-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card .btn {
    background: linear-gradient(135deg, #04602a 0%, #28a745 100%);
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 96, 42, 0.3);
    background: linear-gradient(135deg, #034a20 0%, #218838 100%);
    color: #ffffff;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    color: #04602a;
    filter: drop-shadow(0 2px 4px rgba(4, 96, 42, 0.3));
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    color: #034a20;
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(4, 96, 42, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #04602a;
    transform: scale(1.2);
}

/* Notification Section Styles */
.notification-section {
    padding: 4rem 0;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); */
}

.notification-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #04602a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.notification-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #04602a, #28a745);
    border-radius: 2px;
}

.notification-subtitle {
    margin-bottom: 3rem;
}

.swiper-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.swiper-slide-custom {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.slide-img-custom {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide-text-custom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}

.announcement-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.announcement-content {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #f8f9fa;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.read-more-link {
    display: inline-block;
    background: linear-gradient(135deg, #04602a 0%, #28a745 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(4, 96, 42, 0.3);
}

.read-more-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 96, 42, 0.4);
    background: linear-gradient(135deg, #034a20 0%, #218838 100%);
    color: white;
    text-decoration: none;
}

.custom-pagination {
    bottom: 20px !important;
}

.custom-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: all 0.3s ease;
}

.custom-pagination .swiper-pagination-bullet-active {
    background: #04602a;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .news-section {
        padding: 2rem 0;
    }

    .news-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .news-card .card-img-top {
        height: 150px;
    }

    .news-card .card-body {
        padding: 15px;
    }

    .news-card .card-title {
        font-size: 1rem;
    }

    .news-card .card-text {
        font-size: 0.85rem;
    }

    .notification-section {
        padding: 2rem 0;
    }

    .notification-title {
        font-size: 2rem;
    }

    .slide-img-custom {
        height: 250px;
    }

    .slide-text-custom {
        padding: 20px 15px 15px;
    }

    .announcement-title {
        font-size: 1.2rem;
    }

    .announcement-content {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .news-title {
        font-size: 1.8rem;
    }

    .news-card .card-img-top {
        height: 120px;
    }

    .news-card .card-body {
        padding: 12px;
    }

    .news-card .card-title {
        font-size: 0.95rem;
    }

    .news-card .card-text {
        font-size: 0.8rem;
    }

    .news-card .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .notification-title {
        font-size: 1.8rem;
    }

    .slide-img-custom {
        height: 200px;
    }

    .announcement-title {
        font-size: 1.1rem;
    }

    .announcement-content {
        font-size: 0.85rem;
    }

    .read-more-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}