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

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

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
.navbar {
    background-color: #0A1F3C;
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
}

.logo-underline {
    width: 40px;
    height: 3px;
    background-color: #FF6B00;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: white;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #FF6B00;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FF6B00;
}

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

.lang-btn {
    color: white;
    border: 1px solid white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.3s;
}

.lang-btn:hover {
    background-color: white;
    color: #0A1F3C;
}

.search-icon {
    color: white;
    cursor: pointer;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 31, 60, 0.97);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}
.search-popup {
    width: 600px;
    max-width: 90vw;
    position: relative;
}
.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid #FF6B00;
    padding-bottom: 12px;
}
.search-input-wrap svg {
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}
.search-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 22px;
    padding: 8px 0;
}
.search-input-wrap input::placeholder {
    color: rgba(255,255,255,0.35);
}
.search-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 36px;
    background: none;
    border: none;
    line-height: 1;
    transition: color 0.3s;
}
.search-close:hover {
    color: #FF6B00;
}
.search-submit-btn {
    margin-top: 18px;
    padding: 12px 36px;
    background: #FF6B00;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-end;
}
.search-submit-btn:hover {
    background: #e05c00;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

/* Page Header */
.page-header {
    margin-top: 70px;
    background: linear-gradient(135deg, #0A1F3C 0%, #1a3a6c 50%, #2d5a9e 100%);
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
}

/* Tech decoration */
.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    height: 1px;
}

.tech-line:nth-child(1) { top: 20%; left: 0; width: 100%; }
.tech-line:nth-child(2) { top: 40%; left: 10%; width: 80%; }
.tech-line:nth-child(3) { top: 60%; left: 20%; width: 60%; }
.tech-line:nth-child(4) { top: 80%; left: 5%; width: 90%; }

.tech-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #0066CC;
    border-radius: 50%;
    box-shadow: 0 0 10px #0066CC, 0 0 20px #0066CC;
}

.tech-dot:nth-child(5) { top: 20%; left: 30%; }
.tech-dot:nth-child(6) { top: 40%; left: 70%; }
.tech-dot:nth-child(7) { top: 60%; left: 50%; }
.tech-dot:nth-child(8) { top: 80%; left: 85%; }

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.page-title {
    color: white;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    max-width: 700px;
    line-height: 1.7;
}

.breadcrumb {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #FF6B00;
}

/* Filter Bar */
.filter-bar {
    background-color: white;
    padding: 20px;
    border-bottom: 1px solid #E0E0E0;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: white;
    border: 1px solid #E0E0E0;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

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

.filter-btn svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.filter-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.result-count {
    color: #666;
    font-size: 14px;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #E0E0E0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.view-btn:hover, .view-btn.active {
    background-color: #0066CC;
    border-color: #0066CC;
}

.view-btn svg {
    width: 18px;
    height: 18px;
    fill: #666;
}

.view-btn:hover svg, .view-btn.active svg {
    fill: white;
}

/* Exhibition Content */
.exhibition-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.exhibition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.exhibition-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.exhibition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

/* Different gradient colors for each card */
.card-image-1 { background: linear-gradient(135deg, #0066CC, #0088EE); background-image: url('images/medical-exhibition.jpg'); background-size: cover; background-position: center; }
.card-image-2 { background: linear-gradient(135deg, #FF6B00, #FF8533); background-image: url('images/furniture-exhibition.jpg'); background-size: cover; background-position: center; }
.card-image-3 { background: linear-gradient(135deg, #1a3a6c, #2d5a9e); background-image: url('images/jewelry-exhibition.jpg'); background-size: cover; background-position: center; }
.card-image-4 { background: linear-gradient(135deg, #2d5a9e, #4a7ab8); background-image: url('images/auto-exhibition.jpg'); background-size: cover; background-position: center; }
.card-image-5 { background: linear-gradient(135deg, #0A1F3C, #1a3a6c); background-image: url('images/security-exhibition.jpg'); background-size: cover; background-position: center; }
.card-image-6 { background: linear-gradient(135deg, #0088EE, #00AAFF); background-image: url('images/cultural-exhibition.jpg'); background-size: cover; background-position: center; }
.card-image-7 { background: linear-gradient(135deg, #4a7ab8, #6a9ad8); background-image: url('images/plastic-rubber.jpg'); background-size: cover; background-position: center; }
.card-image-8 { background: linear-gradient(135deg, #e05c00, #ff7733); background-image: url('images/optoelectronics.jpg'); background-size: cover; background-position: center; }
.card-image-9 { background: linear-gradient(135deg, #3d6aa8, #5d8ac8); background-image: url('images/industrial-factory.jpg'); background-size: cover; background-position: center; }
.card-image-10 { background: linear-gradient(135deg, #1a3a6c, #3a5a8c); background-image: url('images/electronics-tech.jpg'); background-size: cover; background-position: center; }
.card-image-11 { background: linear-gradient(135deg, #2d5a9e, #4d7abe); background-image: url('images/exhibition-center.jpg'); background-size: cover; background-position: center; }
.card-image-12 { background: linear-gradient(135deg, #0066CC, #0066aa); background-image: url('images/green-environment.jpg'); background-size: cover; background-position: center; }

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

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 50' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,50 L0,30 L40,30 L40,20 L80,20 L80,35 L120,35 L120,15 L160,15 L160,30 L200,30 L200,25 L240,25 L240,40 L280,40 L280,20 L320,20 L320,35 L360,35 L360,30 L400,30 L400,50 Z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #0A1F3C;
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-subtitle {
    font-size: 13px;
    font-style: italic;
    color: #999;
    margin-bottom: 15px;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.info-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 16px;
    height: 16px;
    fill: #0066CC;
}

.card-tag {
    display: inline-block;
    background-color: #E3F2FD;
    color: #0066CC;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 15px;
}

.card-tag-orange {
    background-color: #FFF3E0;
    color: #FF6B00;
}

.btn-details {
    display: block;
    width: 100%;
    background-color: #0066CC;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-details:hover {
    background-color: #0052a3;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 40px 0;
}

.page-btn {
    padding: 10px 18px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    background: white;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}


.page-num {
    padding: 10px 18px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    background: white;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}


.page-btn:hover:not(.active):not(.disabled) {
    border-color: #0066CC;
    color: #0066CC;
}



.page-num.page-num-current {
    background-color: #0066CC;
    border-color: #0066CC;
    color: white;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background-color: #0A1F3C;
    padding: 60px 20px 30px;
    color: white;
}

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

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1.5fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-column h4 {
    font-size: 14px;
    margin-bottom: 15px;
    color: #FF6B00;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-contact h4 {
    font-size: 14px;
    margin-bottom: 15px;
    color: #FF6B00;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 8px;
}

.subscribe-form {
    margin-top: 20px;
}

.subscribe-form input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 14px;
}

.subscribe-form button {
    width: 100%;
    background-color: #FF6B00;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.subscribe-form button:hover {
    background-color: #e05c00;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Navigation Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0A1F3C 0%, #1a3a6c 100%);
    z-index: 999;
    padding-top: 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    color: white;
    font-size: 18px;
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .exhibition-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .exhibition-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar {
        padding: 0 20px;
    }

    .navbar .nav-links {
        display: none;
    }

    .navbar .nav-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 50px 15px 40px;
    }

    .page-title {
        font-size: 28px !important;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .breadcrumb {
        margin-top: 20px;
    }

    /* Filter Bar Mobile */
    .filter-bar {
        padding: 15px;
    }

    .filter-group {
        flex-direction: column;
        width: 100%;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .filter-right {
        width: 100%;
        justify-content: space-between;
    }

    /* Exhibition Content Mobile */
    .exhibition-content {
        padding: 20px 15px;
    }

    /* Exhibition Grid Mobile */
    .exhibition-grid {
        grid-template-columns: 1fr !important;
    }

    .exhibition-card {
        display: flex;
        flex-direction: column;
    }

    .card-image {
        height: 160px;
    }

    .card-body {
        padding: 15px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-subtitle {
        font-size: 12px;
    }

    .card-info {
        gap: 6px;
    }

    .info-row {
        font-size: 12px;
    }

    /* Pagination Mobile */
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .page-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

.page-num{
        padding: 8px 14px;
        font-size: 13px;
    }




    /* Footer Mobile */
    .footer {
        padding: 40px 15px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .footer-brand h3 {
        font-size: 20px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .page-title {
        font-size: 24px !important;
    }

    .page-subtitle {
        font-size: 13px;
    }

    .card-title {
        font-size: 15px;
    }

    .btn-details {
        padding: 10px 15px;
        font-size: 13px;
    }
}