/* 基础样式设置 */
:root {
    --primary-color: #e53935;
    --secondary-color: #f9a825;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    font-size: 1.6rem;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 3rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn:hover {
    background: #d32f2f;
    transform: translateY(-3px);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-size: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--primary-color);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    height: auto;
}

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

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

.logo img {
    width: auto;
    max-width: 120px;
    max-height: 50px;
    object-fit: contain;
}

.logo h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 2.5rem;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1.6rem;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* 首页 */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    padding-top: 0;
    position: relative;
    overflow: hidden;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.hero-banner-img {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    object-fit: cover;
    object-position: center;
}



@media (min-width: 1200px) {
    .hero-banner-img {
        width: 1200px;
        height: 100vh;
        object-fit: cover;
        object-position: center;
    }
}

/* 移动端图片适配 */
@media (max-width: 768px) {
    .hero-banner-img {
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        object-position: center;
    }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

/* 向下滚动箭头 */
.scroll-down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.scroll-down-arrow a {
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(229, 57, 53, 0.9);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.scroll-down-arrow svg {
    width: 28px;
    height: 28px;
    animation: bounce 2s infinite;
}

.scroll-down-arrow a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 移动端首页按钮位置调整 */
@media (max-width: 768px) {
    .hero-content {
        margin-bottom: 20vh; /* 在移动端添加底部外边距，将内容和按钮向下移动 */
    }
    
    .scroll-down-arrow {
        bottom: 70px; /* 在移动端调整箭头位置，避免与内容重叠 */
    }
    
    .hero-banner {
        width: 100vw;
        height: 100vh;
    }
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.brand-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

/* 五常大米3.0样式 */
.about-text p:nth-child(3) {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    margin: 25px 0;
}

.about-text p:nth-child(4) {
    font-size: 1.7rem;
    font-weight: 500;
    font-style: italic;
    text-align: center;
    color: var(--dark-color);
    margin-top: 20px;
}

.highlight {
    position: relative;
    color: var(--primary-color);
    font-size: 1.1em;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.emphasis {
    font-weight: 700;
    background: linear-gradient(transparent 60%, rgba(229, 57, 53, 0.2) 40%);
    padding: 0 2px;
}

/* 产品展示 */
.products {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.products-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.product-category {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: transform 0.3s ease;
}

.product-category:hover {
    transform: translateY(-5px);
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5f5f5;
    text-align: center;
    font-weight: 600;
    color: #333;
}

.product-item {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.product-image {
    flex: 1;
    min-width: 300px;
}

.product-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.product-info {
    flex: 1;
    min-width: 300px;
    font-size: 1.5rem;
    line-height: 1.6;
}

/* 给每个系列添加特定颜色 */
.product-category:nth-child(1) .category-title {
    color: #212121;
    border-bottom: 2px solid #212121;
}

.product-category:nth-child(2) .category-title {
    color: #2e7d32;
    border-bottom: 2px solid #2e7d32;
}

.product-category:nth-child(3) .category-title {
    color: #c62828;
    border-bottom: 2px solid #c62828;
}

@media (max-width: 768px) {
    .product-item {
        flex-direction: column;
    }
    
    .product-image, .product-info {
        width: 100%;
    }
}

/* 合作客户 */
.clients {
    padding: 8rem 0;
}

.clients-wall {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.clients-image {
    max-width: 100%;
    text-align: center;
}

.clients-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

/* 客户案例 */
.cases {
    padding: 80px 0;
    background-color: var(--light-color);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.case-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-image {
    height: 220px;
    overflow: hidden;
}

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

.case-card:hover .case-img {
    transform: scale(1.05);
}

.case-info {
    padding: 2rem;
}

.case-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.case-info p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.case-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
    font-size: 1.5rem;
}

/* 联系我们 */
.contact {
    padding: 8rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.contact-item .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.contact-item .text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* 联系二维码样式 */
.contact-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.qrcode-container {
    display: flex;
    justify-content: center;
}

.qrcode-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.qrcode-box img {
    width: 180px;
    height: 180px;
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
}

.qrcode-box p {
    font-size: 1.6rem;
    margin: 0;
}

.wechat-button {
    text-align: center;
}

.btn-wechat {
    background-color: #07c160;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.btn-wechat:hover {
    background-color: #06ad56;
}

.btn-wechat i {
    font-size: 1.8rem;
}

/* 页脚 */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.footer-links h3,
.footer-contact h3 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ccc;
    font-size: 1.4rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    color: #fff;
    font-size: 2rem;
}

.wechat-container {
    position: relative;
}

.qrcode {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background-color: #fff;
    border-radius: 5px;
    display: none;
}

.wechat-container:hover .qrcode {
    display: block;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: #ccc;
    font-size: 1.4rem;
    margin-bottom: 0;
}

.copyright a {
    color: #ccc;
    transition: var(--transition);
}

.copyright a:hover {
    color: #fff;
}

/* 滑动组件 */
.swiper {
    width: 100%;
    padding-bottom: 5rem;
}

.swiper-slide {
    height: auto;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-top: 3rem;
    }

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

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: #fff;
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.8rem;
    }

    .cases-grid,
    .client-grid {
        grid-template-columns: 1fr;
    }

    .client-logo {
        height: 100px;
    }

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

@media (max-width: 576px) {
    .contact-info {
        padding: 1.5rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
    
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 动画效果 */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeIn 0.5s ease forwards;
}

/* Transformation Section */
.transformation {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.transformation-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.transformation-before,
.transformation-after {
  flex: 1;
  min-width: 300px;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.transformation-before h3,
.transformation-after h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.review-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-card.negative {
  border-left: 5px solid #ff4d4d;
}

.review-card.positive {
  border-left: 5px solid #4CAF50;
}

.review-card .case-image {
  height: auto; /* 取消固定高度，改为自动适应内容 */
  padding-bottom: 0; /* 移除固定宽高比 */
  position: relative;
  overflow: hidden;
}

.review-img {
  width: 100%;
  position: relative; /* 不再使用绝对定位 */
  top: auto;
  left: auto;
  height: auto;
  max-height: none;
  object-fit: contain; /* 改为contain确保图片完全显示 */
  object-position: center;
}

.review-text {
  padding: 30px; /* 增加留白 */
  flex-grow: 1;
}

.review-quote {
  font-style: italic;
  margin-bottom: 15px; /* 增加段落间距 */
  font-size: 1.5rem;
  line-height: 1.6;
}

.review-card.negative .review-quote {
  color: #d32f2f;
}

.review-card.positive .review-quote {
  color: #2e7d32;
}

.review-source {
  text-align: right;
  font-weight: 500;
  margin-top: 20px; /* 增加来源与引用之间的距离 */
  font-size: 1.3rem;
  color: #666;
}

/* 响应式样式 */
@media (max-width: 768px) {
  .transformation-content {
    flex-direction: column;
  }
  
  .transformation-before,
  .transformation-after {
    max-width: 100%;
  }
}

/* 浮动联系按钮 */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    transition: transform 0.3s ease;
    will-change: transform;
}

.floating-contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    padding: 10px;
}

.floating-contact-btn:hover {
    transform: scale(1.1);
    background-color: #c62828; /* 深红色 */
}

.floating-contact-btn i {
    font-size: 20px;
    margin-bottom: 4px;
}

.floating-contact-btn span {
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

/* 震动动画 */
@keyframes shake {
    0%, 100% { transform: translateX(0) translateY(-200px); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px) translateY(-200px); }
    20%, 40%, 60%, 80% { transform: translateX(5px) translateY(-200px); }
}

.shake-animation {
    animation: shake 0.5s ease-in-out;
}

/* 滚动进度条 */
.scroll-progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 8px;
    width: 0;
    background: linear-gradient(to right, var(--primary-color), #ff9800);
    z-index: 1000;
    transition: width 0.1s ease;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .floating-contact {
        right: 15px;
    }
    
    .floating-contact-btn {
        width: 50px;
        height: 50px;
    }
    
    .scroll-progress-bar {
        height: 6px;
    }
}

/* 标准化流程 */
.process {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.process-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.process-image {
  flex: 1;
  min-width: 300px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.process-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.process-image:hover .process-img {
  transform: scale(1.05);
}

.process-text {
  flex: 1;
  min-width: 300px;
}

.process-text h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.process-text p {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .process-content {
    flex-direction: column;
  }
  
  .process-image, .process-text {
    width: 100%;
  }
}

/* 标准化流程弹窗 */
.process-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.process-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.process-modal.show .process-modal-content {
    transform: scale(1);
}

.process-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.process-close:hover {
    color: var(--primary-color);
}

#process-modal-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 九重严选 - 九宫格样式 */
.commit {
  padding: 80px 0;
  background-color: #fff;
}

.jiuchong-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 40px;
}

.jiuchong-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  height: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.jiuchong-item:hover {
  transform: scale(1.02);
}

.jiuchong-img {
  width: 100%;
  height: auto;
  display: block;
}

.jiuchong-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.jiuchong-item:hover .jiuchong-overlay {
  transform: translateY(0);
}

.jiuchong-overlay h3 {
  margin: 0;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.jiuchong-overlay p {
  margin: 0;
  font-size: 0.9rem;
}

/* 弹窗样式 */
.jiuchong-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.jiuchong-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.jiuchong-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.jiuchong-modal.show .jiuchong-modal-content {
    transform: scale(1);
}

.jiuchong-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.jiuchong-close:hover {
    color: var(--primary-color);
}

#jiuchong-modal-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    border-radius: 5px;
}

.jiuchong-modal-text {
  background: white;
  padding: 20px;
  border-radius: 0 0 8px 8px;
}

.jiuchong-modal-text h3 {
  font-size: 1.5rem;
  margin-top: 0;
  color: #333;
}

.jiuchong-modal-text p {
  font-size: 1.1rem;
  color: #555;
}

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

@media (max-width: 480px) {
  .jiuchong-grid {
    grid-template-columns: 1fr;
  }
}

/* 博客预览 */
.blog-preview {
  padding: 60px 0;
  background-color: #fff;
}

.blog-preview-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-card {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
  flex: 1;
  min-width: 300px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-text {
  flex: 2;
  padding: 25px;
}

.blog-text h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.blog-date {
  font-size: 1.4rem;
  color: #777;
  margin-bottom: 15px;
}

.blog-text p {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-btn {
  padding: 0.8rem 2rem;
  font-size: 1.4rem;
}

.blog-more {
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .blog-card {
    flex-direction: column;
  }
  
  .blog-image {
    height: 200px;
  }
}

/* 服务流程 */
.service {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.service-image {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.service-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

/* 以下是不再使用的样式，保留以备将来需要
.service-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.service-step {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.service-step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-step p {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.5;
}

.service-step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .service-flow {
        flex-direction: column;
    }
    
    .service-step {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .service-step-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
}
*/

/* 奖项展示部分 */
.awards {
  padding: 80px 0;
  background-color: #fff;
}

.awards-container {
  margin-top: 40px;
  padding: 0; /* 移除左右内边距 */
  width: 100%; /* 确保容器占据100%宽度 */
}

.awards-swiper {
  width: 100%;
  height: auto;
  max-width: 1000px; /* 增加最大宽度 */
  margin: 0 auto; /* 居中 */
}

.award-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px; /* 减小内边距 */
  width: 100%;
}

.award-img {
  max-width: 100%;
  height: auto;
  max-height: 600px; /* 增加最大高度 */
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 自定义Swiper导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
}

.swiper-button-next {
  right: 5px; /* 将右侧按钮靠近边缘 */
}

.swiper-button-prev {
  left: 5px; /* 将左侧按钮靠近边缘 */
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* 淡入淡出效果 */
.swiper-slide {
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* 在较大屏幕上使用更宽的尺寸 */
@media (min-width: 992px) {
  .awards-swiper {
    max-width: 90%; /* 在大屏上占据更多空间 */
  }
  
  .award-card {
    padding: 5px;
  }
}

/* 二维码弹窗样式 */
.qrcode-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qrcode-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.qrcode-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.qrcode-modal.show .qrcode-modal-content {
    transform: scale(1);
}

.qrcode-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.qrcode-close:hover {
    color: var(--primary-color);
}

.qrcode-modal-body {
    padding: 30px;
    text-align: center;
}

.qrcode-modal-body img {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    display: block;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 5px;
}

.qrcode-modal-body h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.qrcode-modal-body p {
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 10px;
}

.qrcode-phone {
    font-size: 1.8rem !important;
    font-weight: 700;
    color: var(--primary-color) !important;
    margin: 15px 0;
    padding: 8px;
    border: 1px dashed #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.qrcode-phone i {
    margin-right: 8px;
}

.qrcode-actions {
    margin-top: 20px;
}

.qrcode-continue {
    background-color: #07c160;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.qrcode-continue:hover {
    background-color: #06ad56;
} 
/* ===== Logo 描边动画 ===== */
.logo-svg-animated {
    width: 120px;
    height: auto;
    overflow: visible;
}

.logo-svg-animated path,
.logo-svg-animated polygon {
    stroke: #1a1a1a;
    stroke-width: 1;
    fill: transparent;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: var(--path-length);
    stroke-dashoffset: var(--path-length);
    animation:
        logo-draw 1.5s ease forwards,
        logo-fill 0.4s ease forwards;
    animation-delay: 0s, 1.5s;
}

@keyframes logo-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes logo-fill {
    from {
        fill: transparent;
    }
    to {
        fill: #1a1a1a;
        stroke: transparent;
    }
}

/* FAQ 常见问题 */
.faq {
    padding: 80px 0;
    background-color: #fff;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 18px 48px 18px 20px;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
    transition: var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-item[open] .faq-question,
.faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px 18px;
    color: #555;
    line-height: 1.8;
}

.faq-answer p {
    font-size: 1.5rem;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }

    .faq-question {
        font-size: 1.6rem;
        padding: 16px 44px 16px 16px;
    }

    .faq-answer p {
        font-size: 1.4rem;
    }
}
