@import url("public.css");

/* Banner */
.banner { position: relative; overflow: hidden; }
.banner img { width: 100%; height:auto; object-fit: cover; }
.banner-overlay { position: absolute; left: 0; top: 0; width: 100%;
    height: 100%; background: linear-gradient(135deg, rgba(27,94,58,0.5), rgba(46,125,50,0.25)); display: flex; align-items: center; justify-content: center;
    z-index: 999;}
.banner-text { text-align: center; color: #fff; }
.banner-text h1 { font-size: 42px; font-weight: 700; margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.banner-text p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto; line-height: 1.8; }

/* 通用区块 */
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; color: #1a5c3a; position: relative; display: inline-block; padding-bottom: 12px; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: linear-gradient(90deg, #4caf50, #81c784); border-radius: 2px; }
.section-title p { color: #888; margin-top: 12px; font-size: 15px; }
.bg-white { background: #fff; }
.bg-green { background: linear-gradient(135deg, #e8f5e9, #f1f8e9); }

/* 简介 */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.intro-img { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.intro-img img { width: 100%; height: 320px; object-fit: cover; }
.intro-content h3 { font-size: 22px; color: #1a5c3a; margin-bottom: 16px; }
.intro-content p { color: #555; line-height: 1.9; font-size: 15px; }
.intro-stats { display: flex; gap: 30px; margin-top: 24px; }
.stat-item { text-align: center; }
.stat-item .num { font-size: 32px; font-weight: 700; color: #2e7d32; }
.stat-item .label { font-size: 13px; color: #888; margin-top: 4px; }

/* 愿景使命 */
.mission-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.mission-card { background: #fff; border-radius: 10px; padding: 28px 20px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.06); transition: all 0.3s; border-top: 3px solid transparent; }
.mission-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(46,125,50,0.15); border-top-color: #4caf50; }
.mission-card .icon { width: 72px; height: 72px; font-size: 36px; color: #333; background: #e8f5e9; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;  }
.mission-card:hover .icon   { background: #4caf50; color: rgba(255,255,255,0.8)}
.mission-card h4 { font-size: 15px; color: #1a5c3a; margin-bottom: 10px; }
.mission-card p { font-size: 13px; color: #777; line-height: 1.7; }

/* 业务领域 */
.program-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; }
.program-tabs .tab-btn { padding: 10px 28px; border: 2px solid #4caf50; border-radius: 24px; background: #fff; color: #2e7d32; font-size: 15px; cursor: pointer; transition: all 0.3s; }
.program-tabs .tab-btn.active, .program-tabs .tab-btn:hover { background: #2e7d32; color: #fff; }
.program-content { display: none; }
.program-content.active { display: block; }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.program-item { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.06); transition: all 0.3s; }
.program-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(46,125,50,0.15); }
.program-item img { width: 100%; height: 160px; object-fit: cover; }
.program-item .info { padding: 16px; }
.program-item h4 { font-size: 15px; color: #1a5c3a; margin-bottom: 8px; }
.program-item p { font-size: 13px; color: #777; line-height: 1.6; }

/* 新闻 */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.news-main { border-radius: 10px; overflow: hidden; }
.news-main .layui-carousel { width: 100%; height: 360px; border-radius: 10px; overflow: hidden; }
.news-main .layui-carousel > [carousel-item] { width: 100%; height: 100%; }
.news-main .layui-carousel > [carousel-item] > div { width: 100%; height: 100%; position: relative; }
.news-main .layui-carousel > [carousel-item] > div img { width: 100%; height: 100%; object-fit: cover; }
.news-main .carousel-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 24px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; }
.news-main .carousel-info .news-title { font-size: 18px; font-weight: 600; margin-bottom: 6px; color: #fff; }
.news-main .carousel-info .news-desc { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.6; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-main .carousel-info .news-date { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 6px; }
.news-main .layui-carousel .layui-carousel-arrow { background: rgba(0,0,0,0.3); }
.news-main .layui-carousel .layui-carousel-arrow:hover { background: rgba(0,0,0,0.5); }
.news-main .layui-carousel .layui-carousel-ind [lay-this] { background-color: #fff; }
.news-main .layui-carousel .layui-carousel-ind div { background-color: rgba(255,255,255,0.5); }

/* 新闻右侧标签切换 */
.news-tabs { display: flex; gap: 0; border-bottom: 2px solid #e0e0e0; margin-bottom: 16px; }
.news-tabs .news-tab-btn { padding: 10px 20px; font-size: 18px; color: #666; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.3s; background: none; border-top: none; border-left: none; border-right: none; }
.news-tabs .news-tab-btn.active { color: #2e7d32; border-bottom-color: #2e7d32; font-weight: bold; }
.news-tabs .news-tab-btn:hover { color: #2e7d32; }
.news-tab-content { display: none; }
.news-tab-content.active { display: block; }
.news-text-list { display: flex; flex-direction: column; }
.news-text-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed #e8e8e8; transition: all 0.3s; }
.news-text-item:hover { padding-left: 8px; }
.news-text-item:last-child { border-bottom: none; }
.news-text-item .text-title { font-size: 14px; color: #333; line-height: 1.6; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 16px; }
.news-text-item .text-title:hover { color: #2e7d32; }
.news-text-item .text-title i { color: #4caf50; margin-right: 6px; font-size: 12px; }
.news-text-item .text-date { font-size: 13px; color: #999; white-space: nowrap; }

/* 信息公开 */
.info-layout { display: grid; grid-template-columns: 240px 1fr 240px; gap: 30px; align-items: stretch; }
.info-left { display: flex; flex-direction: column; justify-content: center; padding: 20px 0; }
.info-left .info-label { font-size: 13px; color: #4caf50; font-weight: 600; letter-spacing: 2px; margin-bottom: 12px; }
.info-left h2 { font-size: 30px; color: #1a5c3a; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.info-left p { font-size: 14px; color: #888; line-height: 1.6; }
.info-left .info-more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: #2e7d32; margin-top: 16px; transition: all 0.3s; }
.info-left .info-more:hover { color: #1a5c3a; gap: 8px; }
.info-middle { background: #fff; border-radius: 10px; padding: 24px 28px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.info-middle .info-middle-title { font-size: 16px; color: #1a5c3a; font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid #e8e8e8; margin-bottom: 4px; }
.info-middle .info-text-list { display: flex; flex-direction: column; }
.info-middle .info-text-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed #e8e8e8; transition: all 0.3s; }
.info-middle .info-text-item:last-child { border-bottom: none; }
.info-middle .info-text-item:hover { padding-left: 8px; }
.info-middle .info-text-item .text-title { font-size: 14px; color: #333; line-height: 1.6; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 16px; }
.info-middle .info-text-item .text-title:hover { color: #2e7d32; }
.info-middle .info-text-item .text-title i { color: #4caf50; margin-right: 6px; font-size: 12px; }
.info-middle .info-text-item .text-date { font-size: 13px; color: #999; white-space: nowrap; }
.info-right { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.info-right .info-nav-item { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 10px; padding: 20px 22px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); transition: all 0.3s; cursor: pointer; }
.info-right .info-nav-item:hover { box-shadow: 0 8px 24px rgba(46,125,50,0.15); transform: translateY(-2px); }
.info-right .info-nav-item i { font-size: 28px; color: #4caf50; }
.info-right .info-nav-item .nav-text { flex: 1; }
.info-right .info-nav-item .nav-text h4 { font-size: 15px; color: #1a5c3a; margin-bottom: 4px; }
.info-right .info-nav-item .nav-text p { font-size: 12px; color: #999; }
.info-right .info-nav-item .layui-icon-right { font-size: 14px; color: #ccc; transition: all 0.3s; }
.info-right .info-nav-item:hover .layui-icon-right { color: #4caf50; }

/* 合作伙伴 */
.partner-wrapper { position: relative; }
.partner-scroll { display: flex; gap: 24px; overflow: hidden; scroll-behavior: smooth; padding: 10px 0; }
.partner-scroll img { flex-shrink: 0; width: 160px; height: 80px; object-fit: contain; border: 1px solid #e0e0e0; border-radius: 8px; padding:0 12px; background: #fff; transition: all 0.3s; }
.partner-scroll img:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-2px); }
.partner-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: #fff; border: 1px solid #e0e0e0; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: all 0.3s; color: #666; font-size: 18px; }
.partner-arrow:hover { background: #2e7d32; color: #fff; border-color: #2e7d32; box-shadow: 0 4px 12px rgba(46,125,50,0.3); }
.partner-arrow.prev { left: -20px; }
.partner-arrow.next { right: -20px; }
.partner-arrow.disabled { opacity: 0.3; cursor: not-allowed; }
.partner-arrow.disabled:hover { background: #fff; color: #666; border-color: #e0e0e0; box-shadow: none; }
