/* General Body Styles */
body {
    font-family: sans-serif;
    margin: 0;
    color: #333;
    width: 100%;
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    background: transparent;
}

a,
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none !important; /* 去掉下划线 */
}
a.beian-link:link, a.beian-link:visited { color: #ccc; }

.topbar {
    background-color: #2b64a2;
    color: #fff;
    padding: 10px 0;
}

.topbar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-area {
    padding: 30px 0 20px 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    margin-top:-10px;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 36px;
    position: relative;
}

nav li {
    position: relative;
    padding-right: 36px;
}

nav li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    border-right: 1px solid #235fa8;
}

nav a {
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

nav a .cn {
    display: block;
    color: #235fa8;
    font-size: 20px;
    font-weight: 700;
}

nav a .en {
    display: block;
    color: #727171;
    font-size: 12px;
    margin-top:6px;
}

nav li.active a .cn {
    color: #235fa8;
}

nav li.active a::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #bf557b;
    margin-top: 16px;
}

nav li a::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 16px;
}

.banner {
    position: relative;
}

.banner .swiper {
    width: 100%;
}
.banner .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
}

.search {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #fff;
    gap: 10px;
}

.search svg {
    width: 28px;
    height: 28px;
}

/* Hero Section Styles */
.hero {
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 24px;
}

/* Products Section Styles */
.products {
    padding: 50px 0 40px;
}

.products-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.products-title {
    margin: 0;
    font-size: 28px;
    color: #235fa8;
    font-weight: 700;
}

.products-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-dots .dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.products-dots .dot-1 {
    background-color: #235fa8;
}

.products-dots .dot-2 {
    background-color: #188a83;
}

.products-dots .dot-3 {
    background-color: #bf557b;
}

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

.product-card {
    position: relative;
    display: block;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.product-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00625c;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    z-index: 1;
}

.product-label-1{
    background: #00625c;
}
.product-label-2{
    background: #13a3c8;
}
.product-label-3{
    background: #68d685;
}
.product-label-4{
    background: #57a13d;
}

.product-card img {
    display: block;
    width: 100%;
    margin-top: 34px;
    object-fit: cover;
}

/* Tagline Section Styles */
.tagline {
    text-align: center;
    padding: 20px 0 60px 0;
}

.tagline p {
    font-size: 20px;
    line-height: 1.6;
    color: #555;
}

/* Quote Section Styles */
.quote-section {
    padding: 80px 20px;
    text-align: left;
    color: white;
    background-color: #efefef;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/section2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transform-origin: center;
    transition: transform 600ms ease;
}

.quote-section > * {
    position: relative;
    z-index: 1;
}

.quote-section:hover::before {
    transform: scale(1.12) translate3d(0, -2%, 0);
}

@media (prefers-reduced-motion: reduce) {
    .quote-section::before {
        transition: none;
        transform: none;
    }
    .quote-section:hover::before {
        transform: none;
    }
}

.quote-section h2 {
    font-size: 36px;
    line-height: 1.4;
    font-weight: 400;
}

/* Brand Story Section Styles */
.brand-story {
    background: #efefef;
    padding: 60px 0 0 0;
}

.brand-story .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.story-content {
    width: 100%;
    text-align: center;
}

.story-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color:#235fa8;
}

.story-content p {
    line-height: 1.6;
    margin-bottom: 20px;
    color:#595757;
    font-size: 18px;
}

.brand-story-bars {
    margin-top: 100px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.brand-story-bars .bar {
    width: 120px;
    height: 8px;
    display: inline-block;
}

.brand-story-bars .bar-1 {
    background-color: #bf557b;
}

.brand-story-bars .bar-2 {
    background-color: #188a83;
}

.brand-story-bars .bar-3 {
    background-color: #235fa8;
}

.story-image {
    width: 45%;
}

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

/* News Section Styles */
.news {
    padding: 100px 0 160px;
}

.news-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.news-title {
    margin: 0;
    font-size: 28px;
    color: #235fa8;
    font-weight: 700;
}

.news-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-dots .dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.news-dots .dot-1 {
    background-color: #235fa8;
}

.news-dots .dot-2 {
    background-color: #188a83;
}

.news-dots .dot-3 {
    background-color: #bf557b;
}

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

.news-card {
    position: relative;
    display: block;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.news-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(35, 95, 168, 0.9);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    z-index: 1;
}

.news-card img {
    display: block;
    width: 100%;
    object-fit: cover;
    margin-top:34px;
}

/* Footer Styles */
footer {
    background-color: #235fa8;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 20px;
}

footer p {
    margin: 5px 0;
    font-size: 14px;
    color: #ccc;
}

/* Responsive Styles */
.menu-toggle {
    display: none; /* Hidden by default */
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
}

@media (max-width: 768px) {
    .slideout-menu li.active a::after {
        content: "";
        display: block;
        width: 100%!important;
        height: 2px;
        background: #bf557b;
        margin-top: 10px;
    }

    nav li:not(:last-child)::after {
        border:none!important;
    }

    .nav-inner {
        position: relative;
    }

    #primary-nav ul {
        display: none;
    }

    #primary-nav li {
        margin: 10px 16px;
        text-align: center;
        padding-right: 0;
    }

    #primary-nav li::after {
        display: none;
    }

    #primary-nav li a::after {
        display: none;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        left: 10px;
        top: 14px;
        z-index: 30;
        margin-top: -90px;
    }

    .search span {
        display: none; /* Hide search text on mobile */
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

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

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

    .brand-story .container {
        flex-direction: column;
    }

    .story-content, .story-image {
        width: 100%;
    }

    .story-image {
        margin-top: 20px;
    }

    .quote-section h2 {
        font-size: 24px;
    }

    .section2-text{
        width: 80%;
        margin-left:20%;
    }
}

.slideout-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    z-index: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    left: 0;
}

@media (min-width: 769px) {
    .slideout-menu,
    .slideout-overlay {
        display: none !important;
    }
}

.slideout-panel {
    position: relative;
    min-height: 100vh;
    background: #fff;
    z-index: 1;
}

.slideout-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.slideout-open .slideout-overlay {
    display: block;
}

.slideout-menu ul {
    list-style: none;
    margin: 0;
    padding: 18px 0;
    display: block;
}

.slideout-menu li {
    padding: 0;
}

.slideout-menu a {
    display: block;
    padding: 14px 18px;
    text-decoration: none;
}

.slideout-menu a .cn {
    display: block;
    color: #235fa8;
    font-size: 18px;
    font-weight: 700;
}

.slideout-menu a .en {
    display: block;
    color: #727171;
    font-size: 12px;
    margin-top: 6px;
}

.slideout-menu li.active a .cn {
    color: #235fa8;
}

.slideout-menu li.active a::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    background: #bf557b;
    margin-top: 10px;
}

.section2-text{
    width: 45%;
    margin-left:55%;
}

.footer-img{
    position: absolute;margin-top: -70px;width:300px
}

.footer-img img{
    width: 100%;
}

.banner-pc{
    display: block!important;
}
.banner-mobile{
    display: none;
}

.w100{width: 100%;}
.mt-2{margin-top: 20px;}

@media (max-width: 480px) {
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .logo img{
        height: 40px;
    }

    .banner-pc{
        display: none!important;
    }
    .banner-mobile{
        display: block!important;
    }

    .section2-text{
        width: 90%;
        margin-left:10%;
    }

    .tagline p {
        font-size: 16px;
    }

    .story-content h2 {
        font-size: 26px;
    }

    .story-content p {
        text-align: left;
        font-size: 12px;
        width: 100%;
        margin:10px auto;
    }

    .footer-img{
        position: absolute;margin-top: -50px;width:120px
    }
}

.swiper-button-next, .swiper-button-prev{
    color:#235fa8!important;
}

.color2{
    background-color: #13a3c8!important;
}

.lazyload {
    opacity: 0;
}
.lazyloading{
    opacity: 0;
}
.lazyloaded {
    opacity: 1;
    transition: opacity 0.3s;
}
