﻿
:root {
    --primary-red: #d42c28;
    --primary-yellow: #ffd700;
    --primary-blue: #003f7f;
    --secondary-green: #138808;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --border-light: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Header */
.top-header {
    background: var(--primary-blue);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001; /* Đảm bảo header nằm trên menu */
}

/* Navigation */
.main-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: fixed; /* Đã sửa: dùng fixed thay cho sticky */
    top: 40px; /* Đã sửa: đặt top bằng chiều cao của top-header */
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Thêm khoảng đệm cho main để nội dung không bị che lấp */
main {
    padding-top: 150px; /* Điều chỉnh giá trị này tùy theo chiều cao của thanh navbar */
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.brand-text h1 {
    color: var(--primary-red);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.brand-text p {
    color: var(--text-light);
    font-size: 1.3rem;
    margin: 0;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 10px 10px !important;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0 5px;
    white-space: normal;
    font-family: 'Be Vietnam Pro';
}

    .nav-link:hover {
        color: var(--primary-red) !important;
        background: rgba(212, 44, 40, 0.1);
    }

    .nav-link.active {
        color: var(--primary-red) !important;
        background: rgba(212, 44, 40, 0.1);
    }

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, rgba(212, 44, 40, 0.8) 0%, rgba(0, 63, 127, 0.8) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%23f8f9fa"/><pattern id="lotus" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(212,44,40,0.1)" stroke-width="2"/><path d="M30,50 Q50,20 70,50 Q50,80 30,50" fill="rgba(255,215,0,0.1)"/></pattern><rect width="1200" height="600" fill="url(%23lotus)"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-slogan {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-yellow);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn-primary-custom {
    background: var(--primary-yellow);
    color: var(--text-dark);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

    .btn-primary-custom:hover {
        background: #e6c200;
        color: var(--text-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    }

/* Quick Links Section */
.quick-links {
    background: white;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-light);
}

.quick-link-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .quick-link-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-red), var(--primary-yellow));
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .quick-link-card:hover::before {
        transform: scaleX(1);
    }

    .quick-link-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-color: var(--primary-red);
    }

.quick-link-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
    transform: scale(1.1);
}

.quick-link-card h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.quick-link-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Features Section */
.features-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0 auto;
}

.feature-item {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    height: 100%;
    position: relative;
}

    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
}

.feature-item:nth-child(2) .feature-icon {
    background: var(--secondary-green);
}

.feature-item:nth-child(3) .feature-icon {
    background: var(--primary-red);
}

.feature-item h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    background: var(--primary-blue);
    padding: 60px 0;
    color: white;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-yellow);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* News Section */
.news-section {
    background: white;
    padding: 80px 0;
}

.news-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    }

.news-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.news-content {
    padding: 10px;
}

.news-date {
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.contact-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    }

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

    .footer h5 {
        color: var(--primary-yellow);
        margin-bottom: 20px;
        font-weight: 600;
    }

    .footer a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;
        display: block;
        margin-bottom: 8px;
    }

        .footer a:hover {
            color: var(--primary-yellow);
        }

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

    .social-links a:hover {
        background: var(--primary-yellow);
        color: var(--text-dark);
        transform: translateY(-2px);
    }

/* Breadcrumb */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
    background: none;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* Dropdown menu styles */
.dropdown-menu {
    border: 1px solid var(--border-light);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 8px;
}

.dropdown-item {
    padding: 6px 20px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

    .dropdown-item:hover {
        background: rgba(212, 44, 40, 0.1);
        color: var(--primary-red);
    }

/* Mobile menu improvements */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        margin-top: 10px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .dropdown-menu {
        background: var(--bg-light);
        border: none;
        box-shadow: none;
        margin-top: 8px;
        margin-left: 15px;
        border-radius: 8px;
        padding: 10px 0;
        display: none;
    }

        .dropdown-menu.show {
            display: block;
        }

    .dropdown-item {
        color: var(--text-dark);
        padding: 8px 15px;
        font-size: 0.95rem;
    }

    .navbar-nav .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border-light);
        margin: 0;
        white-space: normal;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .navbar-nav .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }

    .navbar-nav .dropdown {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-slogan {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
    .brand-text {
        padding-top: 15px;
        padding-left: 5px;
    }
    .brand-text h1 {
        font-size: 1rem;
    }

    .navbar-toggler {
        border: none;
    }
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .language-switcher a {
        padding: 5px 10px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

        .language-switcher a.active {
            background: var(--primary-red);
            color: white;
        }



/* Album Categories */
.album-categories {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-light);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.category-tab {
    padding: 12px 25px;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 25px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .category-tab:hover,
    .category-tab.active {
        background: var(--primary-red);
        color: white;
        border-color: var(--primary-red);
        transform: translateY(-2px);
    }

.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.gallery-stats_stat-item {
    text-align: center;
}

.gallery-stats_stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    display: block;
}

.gallery-stats_stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Featured Album */
.featured-album {
    background: var(--bg-light);
    padding: 60px 0;
}

.featured-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

    .featured-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    }

.featured-image {
    height: 300px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 44, 40, 0.8), rgba(0, 63, 127, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    transition: all 0.3s ease;
}

.featured-card:hover .featured-overlay {
    background: linear-gradient(135deg, rgba(212, 44, 40, 0.9), rgba(0, 63, 127, 0.9));
}

.featured-content {
    padding: 30px;
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.featured-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.featured-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.view-album-btn {
    background: var(--primary-red);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .view-album-btn:hover {
        background: #b02622;
        color: white;
        transform: translateX(5px);
    }

/* Albums Grid */
.albums-grid {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 50px;
}

.album-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

    .album-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }

.album-cover {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-blue), var(--secondary-green), var(--primary-yellow));
    background-size: 400% 400%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    animation: gradientShift 8s ease infinite;
}

.album-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.album-info {
    padding: 25px;
}

.album-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.album-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.album-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Photo Modal */
.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .modal-close:hover {
        color: var(--primary-yellow);
    }

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .modal-nav:hover {
        background: rgba(255, 255, 255, 0.3);
        color: var(--primary-yellow);
    }

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

.modal-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    text-align: center;
    max-width: 80%;
}

.modal-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.modal-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

.modal-counter {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 5px;
}

/* Load More Section */
.load-more-section {
    background: var(--bg-light);
    padding: 40px 0;
    text-align: center;
}

.load-more-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .load-more-btn:hover {
        background: #002a5c;
        transform: translateY(-2px);
    }


/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }

    .gallery-stats {
        gap: 20px;
    }

    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .featured-image {
        height: 200px;
    }

    .album-cover {
        height: 200px;
    }

    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .modal-close {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*Hết hình ảnh*/
/* Video Categories */
.video-categories {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-light);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.category-tab {
    padding: 12px 25px;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 25px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .category-tab:hover,
    .category-tab.active {
        background: var(--primary-red);
        color: white;
        border-color: var(--primary-red);
        transform: translateY(-2px);
    }

/* Video Stats */
.video-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.video-stats_stat-item {
    text-align: center;
}

.video-stats_stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    display: block;
}

.video-stats_stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Featured Video */
.featured-video {
    background: var(--bg-light);
    padding: 60px 0;
}

.featured-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

    .featured-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    }

.featured-video-container {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

    .featured-video-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
    }

    .featured-video-container:hover::before {
        background: rgba(0, 0, 0, 0.5);
    }

.play-button {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.featured-video-container:hover .play-button {
    background: white;
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    z-index: 2;
}

.featured-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.modal-video-meta {
    font-size: 0.95rem;
    color: #555;
}

.modal-like-btn.liked,
.modal-like-btn.disabled {
    opacity: 0.7;
    pointer-events: none;
}

.featured-content {
    padding: 30px;
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.featured-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.featured-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.watch-btn {
    background: var(--primary-red);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .watch-btn:hover {
        background: #b02622;
        color: white;
        transform: translateX(5px);
    }

/* Videos Grid */
.videos-grid {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 50px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

    .video-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }

.video-thumbnail {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.video-thumbnail-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-blue), var(--secondary-green), var(--primary-yellow));
    background-size: 400% 400%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    animation: gradientShift 10s ease infinite;
    position: relative;
}

    .video-thumbnail-bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

.video-card:hover .video-thumbnail-bg::before {
    background: rgba(0, 0, 0, 0.4);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-card:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.2);
    background: white;
}

.video-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-red);
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

    .video-badge.live {
        background: #dc3545;
    }

    .video-badge.new {
        background: var(--secondary-green);
    }

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.video-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    padding: 20px;
}

.video-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.video-player {
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

    .modal-close:hover {
        color: var(--primary-yellow);
    }

.video-modal-info {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    max-width: 800px;
    text-align: center;
}

.modal-video-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.modal-video-description {
    font-size: 1rem;
    opacity: 0.9;
}

/* Playlist Sidebar */
.playlist-sidebar {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.playlist-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
}

.playlist-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .playlist-item:last-child {
        border-bottom: none;
    }

    .playlist-item:hover {
        background: var(--bg-light);
        border-radius: 8px;
        padding: 15px 10px;
    }

.playlist-thumbnail {
    width: 80px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-blue));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.playlist-info h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.playlist-info small {
    color: var(--text-light);
    font-size: 0.8rem;
}



/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }

    .video-stats {
        gap: 20px;
    }

    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .featured-video-container {
        height: 250px;
    }

    .video-thumbnail {
        height: 150px;
    }

    .playlist-sidebar {
        margin-top: 30px;
    }

    .video-player {
        width: 95%;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*Hết video*/

/* Breadcrumb */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
    background: none;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

    .page-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
        animation: float 10s ease-in-out infinite;
    }

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-light);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.filter-tab {
    padding: 10px 25px;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 25px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .filter-tab:hover,
    .filter-tab.active {
        background: var(--primary-red);
        color: white;
        border-color: var(--primary-red);
        transform: translateY(-2px);
    }

.search-box {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

    .search-box input {
        width: 100%;
        padding: 12px 50px 12px 20px;
        border: 2px solid var(--border-light);
        border-radius: 25px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

        .search-box input:focus {
            outline: none;
            border-color: var(--primary-red);
            box-shadow: 0 0 10px rgba(212, 44, 40, 0.2);
        }

    .search-box button {
        position: absolute;
        right: 5px;
        top: 5px;
        bottom: 5px;
        background: var(--primary-red);
        color: white;
        border: none;
        border-radius: 20px;
        padding: 0 15px;
        transition: all 0.3s ease;
    }

        .search-box button:hover {
            background: #b02622;
        }

/* News Grid */
.news-grid {
    padding: 60px 0;
}

.news-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        border-color: var(--primary-red);
    }

.news-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-red);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

    .news-category-badge.education {
        background: var(--secondary-green);
    }

    .news-category-badge.culture {
        background: var(--primary-blue);
    }

    .news-category-badge.cooperation {
        background: var(--primary-yellow);
        color: var(--text-dark);
    }


.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-title {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}

.news-footer {
    display: flex;
    justify-content: between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.read-more {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

    .read-more:hover {
        color: #b02622;
        transform: translateX(5px);
    }

/* Featured News */
.featured-news {
    margin-bottom: 60px;
}

.featured-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .featured-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    }

.featured-content {
    padding: 40px;
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-excerpt {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Pagination */
.pagination-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.pagination {
    justify-content: center;
    gap: 10px;
}

.page-link {
    border: 2px solid var(--border-light);
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .page-link:hover {
        background: var(--primary-red);
        color: white;
        border-color: var(--primary-red);
    }

.page-item.active .page-link {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

/* Sidebar */
.sidebar {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    position: sticky;
    padding:15px;
    top: 120px;
}

    .sidebar h4 {
        color: var(--primary-blue);
        font-weight: 700;
        margin-bottom: 25px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--primary-yellow);
    }

.sidebar-list {
    list-style: none;
    padding: 0;
}

    .sidebar-list li {
        margin-bottom: 15px;
    }

    .sidebar-list a {
        color: var(--text-dark);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

        .sidebar-list a:hover {
            background: var(--bg-light);
            color: var(--primary-red);
        }

/* Newsletter */
.newsletter-box {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 30px;
}

    .newsletter-box h5 {
        margin-bottom: 15px;
    }

    .newsletter-box input {
        width: 100%;
        padding: 10px;
        border: none;
        border-radius: 5px;
        margin-bottom: 15px;
    }

    .newsletter-box button {
        background: var(--primary-yellow);
        color: var(--text-dark);
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .newsletter-box button:hover {
            background: #e6c200;
        }


/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*hết nhóm tin*/

/* Breadcrumb */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
    background: none;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* Article Header */
.article-header {
    background: white;
    padding: 0px 0 0px;
}

.article-category {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    margin-top: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 40px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

    .meta-item i {
        color: var(--primary-red);
    }

/* Article Content */
.article-content {
    background: white;
    padding: 0px 0;
}

.article-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
}

    .article-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.image-caption {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    font-size: 0.9rem;
    font-style: italic;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

    .article-body h3 {
        color: var(--primary-blue);
        font-weight: 700;
        margin: 40px 0 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--primary-yellow);
    }

    .article-body p {
        margin-bottom: 20px;
    }

    .article-body blockquote {
        background: var(--bg-light);
        border-left: 4px solid var(--primary-red);
        padding: 20px 30px;
        margin: 30px 0;
        font-style: italic;
        font-size: 1.2rem;
        color: var(--text-light);
    }

.highlight-box {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
}

    .highlight-box h4 {
        color: var(--primary-yellow);
        margin-bottom: 15px;
    }

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 40px 0;
}

.gallery-item {
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .gallery-item:hover {
        transform: scale(1.05);
    }

/* Social Share */
.social-share {
    background: var(--bg-light);
    border-radius: 15px;
    margin: 10px 0;
    text-align: center;
}

.share-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .share-btn.facebook {
        background: #1877f2;
        color: white;
    }

    .share-btn.twitter {
        background: #1da1f2;
        color: white;
    }

    .share-btn.linkedin {
        background: #0077b5;
        color: white;
    }

    .share-btn.copy {
        background: var(--text-dark);
        color: white;
    }

    .share-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

/* Related News */
.related-news {
    background: var(--bg-light);
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 40px;
}

.related-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

    .related-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    }

    .related-image {
        width: 100%;
        height: 200px;
        overflow: hidden;
    }

    .related-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .related-image a {
        display: flex;
        width: 100%;
        height: 100%;
    }

.related-content {
    padding: 20px 10px;
}

.related-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-card:hover .related-title a,
.related-title a:hover {
    color: var(--primary-red);
}

.related-date {
    color: var(--text-light);
    font-size: 0.9rem;
}


/* Author Box */
.author-box {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.author-info h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 5px;
}

.author-role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}



/* Responsive */
@media (max-width: 768px) {
    .article-title {
        font-size: 1.8rem;
    }

    .article-meta {
        align-items: flex-start;
    }

    .share-buttons {
        justify-content: flex-start;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

}

/* Animations */
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*Hết chi tiết tin tức*/

/* DỊCH VỤ */
/* Services Section */
.services-container {
    padding: 60px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 5px solid var(--primary-red);
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

.service-icon {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-content {
    padding: 30px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-subtitle {
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.service-intro {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

    .service-features li {
        color: var(--text-light);
        padding: 8px 0;
        padding-left: 25px;
        position: relative;
    }

        .service-features li:before {
            content: '';
            position: absolute;
            left: 0;
            top: 12px;
            width: 8px;
            height: 8px;
            background: var(--primary-red);
            border-radius: 50%;
        }

.service-button {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .service-button:hover {
        background: #b02622;
        color: white;
        transform: translateX(5px);
    }

/* Alternate Background */
.services-alternate {
    background: var(--bg-light);
    padding: 60px 0;
}

/* dichvu_contact Section */
.dichvu_contact-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: white;
    padding: 60px 0;
    margin-top: 60px;
}

.dichvu_contact-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.dichvu_contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.dichvu_contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 1 auto;
    min-width: 0;
}

.dichvu_contact-icon {
    font-size: 1.5rem;
}

.dichvu_contact-details p {
    margin: 0;
    font-size: 0.95rem;
}

.dichvu_contact-details strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 10px 30px;
}

    .footer h5 {
        color: var(--primary-yellow);
        margin-bottom: 20px;
        font-weight: 600;
    }

    .footer a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;
        display: block;
        margin-bottom: 8px;
    }

        .footer a:hover {
            color: var(--primary-yellow);
        }

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

    .social-links a:hover {
        background: var(--primary-yellow);
        color: var(--text-dark);
        transform: translateY(-2px);
    }

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-info {
        gap: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .service-card {
        margin-bottom: 20px;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast-notification.hide {
    animation: slideOut 0.3s ease-in-out forwards;
}
/* Phân trang Bootstrap 5 cho GridView (ASP.NET nested table pager) */
.gridview-pager > td {
    border: none !important;
    padding: 16px 8px !important;
    background: #f8f9fa;
    text-align: center;
    vertical-align: middle !important;
}

.gridview-pager table {
    border: 0;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 6px 0;
}

.gridview-pager table td {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.gridview-pager a,
.gridview-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 .65rem;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    color: #0d6efd;
    background: #fff;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.gridview-pager a:hover {
    background: #e7f1ff;
    border-color: #b6d4fe;
    color: #0a58ca;
}

.gridview-pager span,
.gridview-pager .current-page {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    font-weight: 600;
    cursor: default;
}
@media (max-width: 576px) {
    .custom-pagination .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .custom-pagination .page-item {
        margin: 2px;
    }

    .custom-pagination .page-link {
        padding: 0.375rem 0.625rem;
        font-size: 0.875rem;
        min-width: 36px;
        text-align: center;
    }
}

/* Khoảng cách cho mobile */
@media (max-width: 768px) {
    /* Áp dụng cho tất cả các section */
    .breadcrumb-section .container,
    .article-header .container,
    .article-content .container,
    .related-news .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Cho điện thoại nhỏ hơn */
@media (max-width: 576px) {
    .breadcrumb-section .container,
    .article-header .container,
    .article-content .container,
    .related-news .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Font chữ to cho dễ đọc*/
/* Font chữ hiện đại và size 18px cho main#home */
#home {
    font-size: 18px;
    /* Chọn 1 trong các dòng dưới đây: */
    /*font-family: 'Inter', sans-serif;*/
    /* font-family: 'Poppins', sans-serif; */
    /* font-family: 'Montserrat', sans-serif; */
     font-family: 'Be Vietnam Pro', sans-serif; 
}

  