* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #620000;
    z-index: 1000;
    transition: all 0.8s ease;
}

.navbar.scrolled {
    background-color: #620000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
}

.logo p {
    color: #999;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: #e63946;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e63946;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a.active {
    color: #e63946;
}

.nav-menu li a.active::after {
    width: 100%;
}

.nav-contact a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.nav-contact i {
    margin-right: 8px;
    color: #e63946;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.news-hero {
    background: url('../images/hero/hero1.jpg') center/cover;
    padding: 160px 0 80px;
    text-align: center;
    color: #fff;
}

.news-hero h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.news-hero p {
    font-size: 16px;
    opacity: 0.8;
}

.news-content {
    padding: 60px 0;
}

.news-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background-color: #fff;
    border: 2px solid #ddd;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #620000;
    color: #620000;
}

.filter-btn.active {
    background-color: #620000;
    border-color: #620000;
    color: #fff;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.news-tag {
    display: inline-block;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
}

.news-tag.notice {
    background-color: #e74c3c;
    color: #fff;
}

.news-tag.news {
    background-color: #3498db;
    color: #fff;
}

.news-tag.activity {
    background-color: #2ecc71;
    color: #fff;
}

.news-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-item h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item h3 a:hover {
    color: #620000;
}

.news-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

.news-meta span {
    display: flex;
    align-items: center;
}

.news-meta span i {
    margin-right: 6px;
    font-size: 12px;
}

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 20px;
}

.news-pagination button {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-pagination button:hover {
    background-color: #620000;
    border-color: #620000;
    color: #fff;
}

.news-pagination .current-page {
    font-size: 18px;
    font-weight: 700;
    color: #620000;
}

.news-pagination .total-pages {
    font-size: 18px;
    color: #999;
}

.news-footer {
    background-color: #620000;
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

.news-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.news-footer .footer-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.news-footer .footer-info p {
    font-size: 13px;
    opacity: 0.8;
}

.news-footer .footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.news-footer .footer-contact p i {
    margin-right: 10px;
    width: 20px;
}

.news-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.news-footer .footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
}

.news-footer .footer-bottom p a {
    color: inherit;
    text-decoration: none;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #1a1a1a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-contact {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .news-hero h2 {
        font-size: 28px;
    }

    .news-list {
        grid-template-columns: 1fr;
    }

    .news-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    .news-footer .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

.news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    overflow-y: auto;
}

.news-modal.active {
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2001;
}

.modal-content {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 2002;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2003;
}

.modal-close:hover {
    background-color: #620000;
    transform: rotate(90deg);
}

.modal-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #eee;
}

.modal-tag {
    display: inline-block;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
}

.modal-tag.notice {
    background-color: #e74c3c;
    color: #fff;
}

.modal-tag.news {
    background-color: #3498db;
    color: #fff;
}

.modal-tag.activity {
    background-color: #2ecc71;
    color: #fff;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.modal-meta {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: #999;
}

.modal-meta span {
    display: flex;
    align-items: center;
}

.modal-meta span i {
    margin-right: 8px;
    font-size: 14px;
}

.modal-body {
    padding: 30px 40px;
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}

.modal-body p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.modal-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 25px 0 15px;
}

.modal-body ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.modal-body li {
    margin-bottom: 10px;
}

.modal-images {
    padding: 0 40px 40px;
}

.modal-images h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.modal-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.modal-image-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-image-item:hover {
    transform: scale(1.05);
}

.modal-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image-item .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: #fff;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-image-item:hover .image-overlay {
    opacity: 1;
}

.image-preview {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-preview.active {
    display: flex;
}

.image-preview img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    animation: imageZoomIn 0.3s ease;
}

@keyframes imageZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-preview .preview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-preview .preview-close:hover {
    background-color: #620000;
}

.image-preview .preview-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-preview .preview-nav:hover {
    background-color: #620000;
}

.image-preview .preview-nav.prev {
    left: 20px;
}

.image-preview .preview-nav.next {
    right: 20px;
}

.image-preview .preview-counter {
    position: absolute;
    bottom: 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        border-radius: 8px;
    }

    .modal-header {
        padding: 25px 20px 15px;
    }

    .modal-title {
        font-size: 22px;
    }

    .modal-body {
        padding: 20px;
        font-size: 15px;
    }

    .modal-images {
        padding: 0 20px 20px;
    }

    .modal-images-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }

    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

.news-faq {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.news-faq .section-header p {
    color: #620000;
}

.news-faq .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-faq .faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.news-faq .faq-question:hover {
    background-color: #f5f5f5;
}

.news-faq .faq-question span {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.news-faq .faq-question i {
    color: #620000;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.news-faq .faq-question.active i {
    transform: rotate(180deg);
}

.news-faq .faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-faq .faq-answer.active {
    padding: 0 25px 20px;
    max-height: 200px;
}

.news-faq .faq-answer p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

.news-testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.news-testimonials .section-header p {
    color: #620000;
}

.news-testimonials .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.news-testimonials .testimonial-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-testimonials .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-testimonials .testimonial-rating {
    margin-bottom: 20px;
}

.news-testimonials .testimonial-rating i {
    color: #ffc107;
    font-size: 16px;
    margin: 0 2px;
}

.news-testimonials .testimonial-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.news-testimonials .testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.news-testimonials .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #620000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
}

.news-testimonials .author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.news-testimonials .author-info p {
    font-size: 13px;
    color: #999;
    font-style: normal;
    margin-bottom: 0;
}