/* News Section Styles with Slide Left Animation */

.news-section {
    background: #F9FAFB;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.news-section .section-header {
    margin-bottom: 60px;
}

.news-section .section-label {
    color: #2F855A;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    display: block;
}

.news-section .section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 20px;
}

.news-section .section-subtitle {
    color: #6B7280;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* News Slider Container */
.news-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #2F855A #F3F4F6;
}

.news-slider::-webkit-scrollbar {
    height: 8px;
}

.news-slider::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 10px;
}

.news-slider::-webkit-scrollbar-thumb {
    background: #2F855A;
    border-radius: 10px;
}

.news-slider::-webkit-scrollbar-thumb:hover {
    background: #276749;
}

/* News Item */
.news-item {
    min-width: 350px;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(-50px);
}

.news-item:nth-child(1) {
    animation-delay: 0.1s;
}

.news-item:nth-child(2) {
    animation-delay: 0.2s;
}

.news-item:nth-child(3) {
    animation-delay: 0.3s;
}

.news-item:nth-child(4) {
    animation-delay: 0.4s;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* News Image */
.news-item .news-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-item .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-item .news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #2F855A;
    color: #FFFFFF;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.news-item .news-date .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.news-item .news-date .month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* News Content */
.news-item .news-content {
    padding: 30px;
}

.news-item .news-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-item .news-content h3 a {
    color: #1F2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item .news-content h3 a:hover {
    color: #2F855A;
}

.news-item .news-content p {
    color: #6B7280;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-item .news-link {
    color: #2F855A;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.news-item .news-link i {
    transition: transform 0.3s ease;
}

.news-item .news-link:hover {
    color: #276749;
    gap: 12px;
}

.news-item .news-link:hover i {
    transform: translateX(5px);
}

/* Slide Left Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* View All Button */
.news-section .btn-primary-green {
    background: #2F855A;
    color: #FFFFFF;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #2F855A;
}

.news-section .btn-primary-green:hover {
    background: #FFFFFF;
    color: #2F855A;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(47, 133, 90, 0.3);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .news-item {
        min-width: 320px;
    }
}

@media (max-width: 991px) {
    .news-section {
        padding: 80px 0;
    }
    
    .news-section .section-header h2 {
        font-size: 36px;
    }
    
    .news-item {
        min-width: 300px;
    }
}

@media (max-width: 767px) {
    .news-section {
        padding: 60px 0;
    }
    
    .news-section .section-header h2 {
        font-size: 28px;
    }
    
    .news-item {
        min-width: 280px;
    }
    
    .news-item .news-content {
        padding: 25px;
    }
    
    .news-item .news-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .news-item {
        min-width: 100%;
    }
    
    .news-slider {
        flex-direction: column;
        gap: 20px;
    }
}












