
.news-hero {
    height: 100vh;
    position: relative;
        overflow: hidden;


}

.news-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 37, 55, 0.6) 0%, rgba(26, 58, 95, 0.5) 100%);
    z-index: 0;
}


.hero-content {
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.hero-content h4 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 500;
}


.hero-content h1 {
    font-size: 48px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content h1 span {
    color: yellow;
}

.hero-content p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}



.hero-pics {
    height: 100%;
}

.first-pic {
    background-image: url('../images/news1.webp');
    background-size: cover;
    background-position: center;

}



.second-pic {
    background-image: url('../images/news2.webp');
    background-size: cover;
    background-position: center;
}


.third-pic {
    background-image: url('../images/news3.webp');
    background-size: cover;
    background-position: center;
}




.news {
    padding: 60px 0;
    background-image: radial-gradient(rgba(26, 58, 95, 0.4) 0.5px, rgba(245, 247, 250, 1) 0.5px);
    background-size: 10px 10px;
    text-align: center;
}

.news .header {
    padding: 10px;
    background-color: #e5e5f7;
    opacity: 0.8;
    
}



.news .header h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.news .header p {
    font-size: 18px;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding: 0 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.news-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 200px;
    overflow: hidden;
    background-color: var(--light-gray);
}

.news-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--dark-gray);
    flex-wrap: wrap;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-meta i {
    color: var(--primary-blue);
    font-size: 12px;
}

.news-title {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

.news-title a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--primary-blue);
}

.news-excerpt {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 15px;
}

.news-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.read-more-news-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-news-btn:hover {
    background-color: var(--light-blue);
    transform: translateX(5px);
}

.read-more-news-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.read-more-news-btn:hover i {
    transform: translateX(3px);
}

.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--dark-gray);
}

.no-news i {
    font-size: 64px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-news h3 {
    font-size: 24px;
    color: var(--light-blue);
    margin-bottom: 10px;
}

.no-news p {
    font-size: 16px;
    color: var(--dark-gray);
}

/* Pagination */
.pagination-wrapper {
    margin-top: 60px;
    text-align: center;
    direction: ltr;
}

.pagination-simple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    direction: ltr;
}

.pagination-arrow {
    display: inline-block;
}

.pagination-arrow a,
.pagination-arrow span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
}

.pagination-arrow a:hover {
    background-color: var(--light-blue);
    transform: scale(1.1);
}

.pagination-arrow.disabled span {
    background-color: var(--light-gray);
    color: var(--gray);
    cursor: not-allowed;
}

.pagination-info {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.pagination-info .page-numbers {
    font-size: 16px;
    font-weight: 600;
    color: var(--light-blue);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        width: 90%;
        max-width: 700px;
    }
    
    .hero-content h4 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .hero-content h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 18px;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .news {
        padding: 40px 0;
    }
    
    .news .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .news .header h2 {
        font-size: 30px;
        margin-bottom: 15px;
    }
    
    .news .header p {
        font-size: 16px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
        margin-top: 40px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .news-excerpt {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .pagination-wrapper {
        margin-top: 50px;
    }
}

@media (max-width: 600px) {
    .hero-content {
        width: 95%;
        max-width: none;
        padding: 0 10px;
    }
    
    .hero-content h4 {
        font-size: 18px;
    }
    
    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .hero-content p {
        font-size: 16px;
        padding: 0 10px;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .news {
        padding: 30px 0;
    }
    
    .news .container {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .news .header {
        padding: 8px;
    }
    
    .news .header h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .news .header p {
        font-size: 15px;
    }
    
    .news-grid {
        gap: 15px;
        padding: 0 5px;
        margin-top: 30px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-thumbnail {
        min-height: 180px;
    }
    
    .news-category-badge {
        top: 10px;
        left: 10px;
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .news-meta {
        font-size: 12px;
        gap: 15px;
        margin-bottom: 12px;
    }
    
    .news-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .news-excerpt {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .read-more-news-btn {
        padding: 9px 18px;
        font-size: 13px;
    }
    
    .pagination-wrapper {
        margin-top: 40px;
    }
    
    .pagination-arrow a,
    .pagination-arrow span {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .pagination-info {
        padding: 0 15px;
    }
    
    .pagination-info .page-numbers {
        font-size: 14px;
    }
    
    .no-news {
        padding: 50px 15px;
    }
    
    .no-news i {
        font-size: 50px;
    }
    
    .no-news h3 {
        font-size: 20px;
    }
    
    .no-news p {
        font-size: 14px;
    }
}
