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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background-color: #f0f2f5;
    color: #333;
}

/* Header */
.header {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.carousel-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.75) 0%, rgba(30, 64, 175, 0.5) 50%, rgba(30, 64, 175, 0.3) 100%);
}

.nav {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
/*    max-width: 1400px;
    margin: 0 auto;*/
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    color: #1e40af;
    font-size: 16px;
}

.logo-text {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
    list-style: none;
}

.nav-menu li {
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    padding-bottom: 4px;
    position: relative;
}

.nav-menu li a {
    color: inherit;
    text-decoration: none;
}

.nav-menu li:hover {
    color: white;
}

.nav-menu li.active {
    color: white;
}

.nav-menu li.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
}


.carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: white;
}

/* Main Content */
.main-content {
    max-width: 1560px;
    margin: 0 auto;
    padding: 24px 60px;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 16px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.card-icon {
    width: 28px;
    height: 28px;
    background: #2563eb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    color: white;
    font-size: 13px;
}

.card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
}

/* Achievement Card */
.achievement-card {
    padding: 24px 32px;
}

.achievement-desc {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: justify;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2563eb;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-primary i {
    font-size: 12px;
}

/* Two Column Layout */
.two-column {
    display: flex;
    gap: 16px;
}

.left-column {
    flex: 1;
}

.right-column {
    flex: 1;
}

/* Media Reports */
.media-card {
    padding: 20px 24px;
    height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.report-list {
    list-style: none;
    padding: 0;
    flex: 1;
    overflow: hidden;
}

.report-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: all 0.2s;
}

.report-item:last-child {
    border-bottom: none;
}

.report-item:hover {
    background: #f9fafb;
}

.report-item:hover .report-title {
    color: #2563eb;
}

.report-content {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
}

.report-dot {
    color: #6b7280;
    font-size: 12px;
    margin-top: 2px;
}

.report-title {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.report-date {
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
    margin-left: 12px;
}

.btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px;
    padding: 8px 0;
    cursor: pointer;
    transition: color 0.2s;
    width: 100%;
    border-top: 1px solid #f3f4f6;
}

.btn-link:hover {
    color: #1d4ed8;
}

.btn-link i {
    font-size: 10px;
}

/* Document List - Government Style */
.doc-card {
    padding: 20px 24px;
    height: 380px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.doc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.doc-header-left {
    display: flex;
    align-items: center;
    position: relative;
}

.doc-decorative-block {
    width: 6px;
    height: 20px;
    background: #1e40af;
    transform: skewX(-10deg);
}

.doc-decorative-left {
    margin-right: 8px;
}

.doc-decorative-right {
    margin-left: 8px;
}

.doc-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.doc-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.doc-more-btn:hover {
    background: #1d4ed8;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    flex: 1;
    /*overflow: hidden;*/
    overflow-x: auto;
}

.doc-grid-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.doc-grid-item:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.doc-grid-icon {
    width: 28px;
    height: 28px;
    background: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.doc-grid-icon i {
    color: #fff;
    font-size: 11px;
}

.doc-grid-text {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-icon-base { background: #3b82f6; }
.doc-icon-project { background: #10b981; }
.doc-icon-research { background: #f59e0b; }
.doc-icon-implement { background: #6366f1; }
.doc-icon-award { background: #ef4444; }
.doc-icon-case { background: #8b5cf6; }
.doc-icon-social { background: #06b6d4; }

/* Video Section */
.video-card {
    padding: 20px 24px;
    height: 420px;
    display: flex;
    flex-direction: column;
}

.video-container {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    background: #111827;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.2s;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.play-btn {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.play-btn:hover {
    transform: scale(1.05);
}

.play-btn i {
    color: #1f2937;
    font-size: 20px;
    margin-left: 3px;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-controls-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.video-controls-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.video-control-btn {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s;
}

.video-control-btn:hover {
    color: white;
}

.video-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* Support Materials - Government Style */
.material-card {
    padding: 20px 24px;
    height: 380px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.material-tabs {
    display: none;
}

.material-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    flex: 1;
    overflow: hidden;
}

/* Footer */
.footer {
    background: #1a365d;
    margin-top: 8px;
}

.footer-main {
    padding: 40px 60px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
}

.footer-left {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 20px;
}

.footer-logo {
    height: 80px;
    width: auto;
}

.footer-divider {
    width: 1px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-info-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-info-group {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.footer-label {
    color: white;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.footer-info-item-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.footer-info-item-inline i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    width: 16px;
}

.footer-bottom {
    background: #152a4a;
    padding: 16px 60px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin: 0;
}

@media (max-width: 1024px) {
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-divider {
        width: 100%;
        height: 1px;
    }

    .footer-main {
        padding: 32px 40px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 24px 20px;
    }

    .footer-bottom {
        padding: 12px 20px;
    }

    .footer-left {
        flex-direction: column;
        text-align: center;
    }

    .footer-info-group {
        flex-direction: column;
        gap: 4px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .achievement-grid {
        flex-direction: column;
    }

    .achievement-left {
        flex: none;
    }

    .two-column {
        flex-direction: column;
    }

    .material-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 16px 20px;
    }

    .nav-menu {
        display: none;
    }

    .hero-content {
        padding: 40px 20px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .achievement-images {
        flex-direction: column;
    }

    .material-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doc-actions {
        gap: 12px;
    }
}
