:root {
    --primary-color: #1a365d;
    --secondary-color: #2563eb;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --bg-color: #f9fafb;
    --white: #ffffff;
    --dark: #111827;
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-top: 20px;
}

.bg-light {
    background-color: #f3f4f6;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

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

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--light-text);
    letter-spacing: 2px;
}

.nav-menu {
    flex: 1;
    margin-left: 60px;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-list > li > a {
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
}

.nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-list > li > a:hover::after,
.nav-list > li > a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    min-width: 220px;
    padding: 12px 0;
    margin-top: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-color);
    color: var(--secondary-color);
}

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

.language-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.language-switch span {
    color: var(--light-text);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    padding: 4px 8px;
    transition: var(--transition);
}

.lang-btn.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.lang-btn:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

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

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    margin-top: 70px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.8;
    max-width: 600px;
}

.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 2;
}

.hero-prev,
.hero-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dots .dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline-primary {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
}

.quick-links {
    padding: 40px 0;
    background: var(--white);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.quick-link-card {
    display: block;
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quick-link-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.quick-link-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.quick-link-card p {
    font-size: 0.9rem;
    color: var(--light-text);
}

.exhibitions {
    background: var(--white);
}

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

.exhibition-card {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.exhibition-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.exhibition-image {
    height: 180px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.exhibition-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.exhibition-icon {
    font-size: 4rem;
    color: var(--white);
    opacity: 0.8;
}

.exhibition-content {
    padding: 24px;
}

.exhibition-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.exhibition-content h4 {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 500;
}

.exhibition-content > p {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 16px;
}

.exhibition-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.exhibition-tags li {
    padding: 4px 12px;
    background: var(--white);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.home-textile {
    background: var(--bg-color);
}

.home-textile-info .lead {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 32px;
    line-height: 1.8;
}

.home-textile-features {
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.feature-item span {
    font-size: 1rem;
    color: var(--text-color);
}

.home-textile-image {
    position: relative;
}

.image-placeholder {
    height: 400px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.image-placeholder p {
    font-size: 1.2rem;
}

.image-placeholder.small {
    height: 200px;
}

.image-placeholder.small i {
    font-size: 3rem;
}

.dawan-section {
    background: var(--white);
}

.dawan-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

.dawan-card {
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    color: var(--white);
}

.dawan-card-header {
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dawan-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.dawan-date {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
}

.dawan-card-body {
    padding: 30px;
}

.dawan-location {
    margin-bottom: 24px;
    opacity: 0.9;
}

.dawan-location i {
    margin-right: 8px;
}

.dawan-exhibitions {
    margin-bottom: 24px;
}

.dawan-expo-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.dawan-expo-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.dawan-expo-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.dawan-desc {
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

.dawan-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.dawan-tags li {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
}

.calendar-section {
    background: var(--bg-color);
}

.calendar-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.calendar-header {
    padding: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-header h3 {
    font-size: 2rem;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cal-prev,
.cal-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.cal-prev:hover,
.cal-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cal-current {
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.calendar-events {
    padding: 30px;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-color);
    border-radius: 8px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.event-item:last-child {
    margin-bottom: 0;
}

.event-item:hover {
    background: #e5e7eb;
}

.event-date {
    text-align: center;
    padding: 12px 20px;
    background: var(--white);
    border-radius: 8px;
    margin-right: 24px;
    min-width: 100px;
}

.event-day {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.event-month {
    font-size: 0.85rem;
    color: var(--light-text);
}

.event-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.event-info p {
    font-size: 0.9rem;
    color: var(--light-text);
}

.news-section {
    background: var(--bg-color);
}

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

.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--light-text);
    display: block;
    margin-bottom: 12px;
}

.news-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-content p {
    font-size: 0.95rem;
    color: var(--light-text);
    margin-bottom: 16px;
    line-height: 1.6;
}

.news-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.news-link i {
    margin-left: 6px;
    transition: var(--transition);
}

.news-link:hover i {
    transform: translateX(5px);
}

.contact-section {
    background: var(--white);
}

.contact-info {
    padding-right: 40px;
}

.contact-desc {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 40px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.contact-details p {
    font-size: 0.95rem;
    color: var(--light-text);
}

.contact-form {
    background: var(--bg-color);
    padding: 40px;
    border-radius: var(--border-radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.footer-logo span {
    font-size: 0.75rem;
    letter-spacing: 2px;
    opacity: 0.7;
}

.footer-section > p {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-legal a:hover {
    opacity: 1;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@media (max-width: 1200px) {
    .exhibition-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dawan-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

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

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 0;
        z-index: 1001;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list > li {
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-list > li > a {
        display: block;
        padding: 16px 0;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-nav {
        display: none;
    }

    .quick-links {
        margin-top: -20px;
    }

    .quick-link-card {
        padding: 20px;
    }

    .quick-link-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .exhibition-grid {
        grid-template-columns: 1fr;
    }

    .exhibition-image {
        height: 150px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-desc {
        font-size: 1rem;
        line-height: 1.6;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

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

    .image-placeholder {
        height: 250px;
    }

    .image-placeholder i {
        font-size: 3rem;
    }

    .contact-form {
        padding: 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .header-content {
        padding: 12px 0;
    }

    .logo-text h1 {
        font-size: 1.3rem;
    }

    .quick-link-card {
        padding: 20px 16px;
    }

    .quick-link-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .quick-link-card h4 {
        font-size: 1.1rem;
    }

    .exhibition-content h3 {
        font-size: 1.5rem;
    }

    .dawan-card-header {
        padding: 20px;
    }

    .dawan-card-body {
        padding: 20px;
    }

    .event-item {
        padding: 16px;
    }

    .event-date {
        min-width: 80px;
        padding: 10px 16px;
    }

    .event-day {
        font-size: 1.1rem;
    }

    .footer {
        padding: 60px 0 20px;
    }

    .footer-content {
        gap: 30px;
    }

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

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    /* H5-specific optimizations */
    body {
        -webkit-tap-highlight-color: transparent;
        -webkit-overflow-scrolling: touch;
    }

    .nav-list.active {
        z-index: 1001;
    }

    input, select, textarea {
        font-size: 16px !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .hero-slide {
        background-attachment: scroll;
    }

    /* Optimize touch targets */
    a, button {
        min-height: 44px;
        min-width: 44px;
        display: inline-block;
    }

    .nav-list > li > a {
        min-height: 44px;
        display: block;
    }

    .footer-social a {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Prevent text zooming on focus */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px !important;
    }
}

/* Additional H5 optimizations */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .exhibition-content h3 {
        font-size: 1.3rem;
    }

    .dawan-card-header h3 {
        font-size: 1.3rem;
    }

    .event-info h4 {
        font-size: 1rem;
    }

    .footer-logo h3 {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}