:root * {
    box-sizing: border-box;
}

@font-face {
    font-family: 'num';
    src: url('num.ttf') format('truetype');
    font-style: normal;
}


* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    margin: 0;
    padding: 0;
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    line-height: 1.5;
    color: #333;
    background: #fff;
}

a, input, textarea, select, button {
    outline: 0;
}

fieldset,
img {
    border: 0;
    vertical-align: middle;
}

ol, ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #c41230;
}

input, select, button {
    vertical-align: baseline;
    border-radius: 0;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
}

i {
    font-style: normal;
}

button::-moz-focus-inner, input[type="reset"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, input[type="file"] > input[type="button"]::-moz-focus-inner {
    border: none;
}

input[type=checkbox], input[type=radio] {
    vertical-align: middle;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    margin: 0;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
}

textarea {
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    overflow: auto;
    resize: none;
}


img {
    vertical-align: middle;
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}


@keyframes animate-dropdown {
    0% {
        transform: translate3d(0, 30px, 0);
        opacity: 0;
    }
    70% {
        transform: translate3d(0, 30px, 0);
        opacity: 0;
    }
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes animate-dropup {
    0% {
        transform: translate3d(0, -30px, 0);
        opacity: 0.3;
    }
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes animate-flop {
    0% {
        transform: rotateX(270deg);
    }

    100% {
        transform: rotateX(360deg);
    }
}

@keyframes animate-up {
    0% {
        opacity: 0;
        transform: translateY(100vh)
    }
    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes animate-left {
    0% {
        opacity: 0;
        transform: translateX(100vw)
    }
    100% {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes animate-rotate-left {
    0% {
        transform: rotate(0deg);
        transform-origin: 100% 50%;
    }
    100% {
        transform: rotate(180deg);
        transform-origin: 100% 50%;
    }
}

@keyframes animate-rotate-right {
    0% {
        transform: rotate(0deg);
        transform-origin: 0 50%;
    }
    100% {
        transform: rotate(180deg);
        transform-origin: 0 50%;
    }
}

@keyframes shake-down {
    0% {
        transform: translateY(0);
        animation-timing-function: ease-in;
    }
    50% {
        transform: translateY(-10px);
        animation-timing-function: ease-in;
    }
    100% {
        transform: translateY(0);
    }
}

/* Section Title Common Style */
.section-title {
    text-align: center;
    padding: 50px 20px;
    position: relative;
}

.section-title .en {
    font-size: 32px;
    color: #eee;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 2;
}

.section-title .cn {
    font-size: 32px;
    font-weight: bold;
    color: #222;
    margin-top: -32px;
    position: absolute;
    display: block;
    left: 0;
    right: 0;
}

.section-title .cn::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #c41230;
    margin: 10px auto 0;
}

/* About Section */
.about-section {
    position: relative;
    background: url('../images/about-bg.jpeg') center/cover no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
}

.about-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-left {
    flex: 1;
    min-width: 300px;
    color: #fff;
}

.about-left h3 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
}

.about-left h4 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-left p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
    opacity: 0.9;
}

.about-left .btn-more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background: #c41230;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
}

.about-left .btn-more:hover {
    background: #a01028;
}

.about-right {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    min-width: 300px;
    align-items: stretch;
}

.about-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 0;
    text-align: center;
    min-width: 180px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-card.red {
    background: #c41230;
    color: #fff;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.about-card.white-card {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 30px;
}

.about-card .year {
    font-size: 56px;
    font-weight: bold;
    line-height: 1;
}

.about-card .label {
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.about-card .building-icon {
    width: 48px;
    height: 48px;
    margin-top: 10px;
}

.about-card .building-icon img {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.stat-icon img {
    width: 100%;
    height: 100%;
}

.stat-info {
    text-align: left;
    flex: 1;
}

.stat-info .number {
    font-size: 32px;
    font-weight: bold;
    color: #c41230;
    line-height: 1;
}

.stat-info .number .plus {
    font-size: 18px;
    font-weight: normal;
    margin-left: 2px;
}

.stat-info .desc {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* Products Section */
.products-section {
    background: #f8f9fa;
    padding-bottom: 60px;
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 280px;
    cursor: pointer;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.product-card .overlay h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.product-card .overlay p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.5;
}

/* News Section */
.news-section {
    background: #f0f2f5;
    padding-bottom: 60px;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.news-main {
    grid-row: span 2;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.news-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.news-main .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.news-main .date {
    font-size: 14px;
    margin-bottom: 8px;
}

.news-main h4 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-main .learn-more {
    font-size: 13px;
    color: #fff;
    opacity: 0.8;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.news-item.img-card {
    padding: 0;
    overflow: hidden;
    position: relative;
}

.news-item.img-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-item.img-card .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.news-item .date {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.news-item h4 {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
    flex: 1;
}

.news-item .learn-more {
    font-size: 13px;
    color: #666;
}

.news-item.img-card .date,
.news-item.img-card .learn-more {
    color: rgba(255,255,255,0.8);
}

.news-item.img-card h4 {
    color: #fff;
}

/* Contact Section */
.contact-section {
    background: #fff;
    padding-bottom: 60px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.contact-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.contact-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.contact-card img {
    width: 50px;
    height: 50px;
    display: block;
    margin: 20px auto;
}

.contact-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.contact-card .qrcode {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
}

/* Footer */
.footer {
    background: #c41230;
    color: #fff;
    padding: 40px 20px 20px;
}

.footer-nav {
    text-align: center;
    margin-bottom: 30px;
}

.footer-nav a {
    display: inline-block;
    padding: 5px 15px;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s;
    color: #fff;
}

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

.footer-bottom {
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

.footer-bottom a {
    color: #fff;
}