/* ===================== 滚动动画样式 ===================== */
.animate-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.animated {
	opacity: 1;
	transform: translateY(0);
}
.animate-on-scroll.animate-left {
	transform: translateX(-50px);
}
.animate-on-scroll.animate-left.animated {
	transform: translateX(0);
}
.animate-on-scroll.animate-right {
	transform: translateX(50px);
}
.animate-on-scroll.animate-right.animated {
	transform: translateX(0);
}
.animate-on-scroll.animate-scale {
	transform: scale(0.9);
}
.animate-on-scroll.animate-scale.animated {
	transform: scale(1);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ===================== 首页 fullpage 样式 ===================== */

/* fullpage 覆盖：隐藏右下角水印 */
.fp-watermark,
#fp-nav ul li .fp-tooltip { display: none !important; }
#fp-nav ul li a span,
#fp-nav ul li:hover a span { background: var(--primary) !important; }
#fp-nav ul li a.active span,
#fp-nav ul li:hover a.active span { background: var(--primary) !important; width: 14px; height: 14px; margin: -7px 0 0 -7px; }

.section { position: relative; }
.hero-section { height: 70vh; overflow: hidden; }

/* ===================== 第一屏：品牌轮播 Hero ===================== */
.hero-section { background: #3d0f06; }

.hero-swiper {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.hero-swiper .swiper-slide { position: relative; }
.hero-swiper .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: brightness(0.95) saturate(1.05);/*轮播图亮度*/
	transition: transform 8s ease-in-out;
}
.slide-cap {
	position: absolute;
	left: 20px; right: 20px; bottom: 55px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 1px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	z-index: 2;
	text-align: center;
}
.hero-swiper .swiper-pagination { bottom: 30px !important; }
.hero-swiper .swiper-pagination-bullet {
	width: 50px; height: 4px;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.5);
	opacity: 1;
	margin: 0 4px !important;
}
.hero-swiper .swiper-pagination-bullet-active { background: #fff; }

/* 中央标题浮层 */
.hero-title {
	position: absolute;
	left: 0; right: 0; top: 40%;
	transform: translateY(-50%);
	margin-top: 20px;
	text-align: center;
	color: #fff;
	z-index: 5;
	padding: 0 20px;
	pointer-events: none;
}
.hero-title .hero-badge {
	display: inline-block;
	padding: 6px 18px;
	font-size: 14px;
	letter-spacing: 2px;
	color: #fff;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 30px;
	backdrop-filter: blur(4px);
	margin-bottom: 22px;
}
.hero-title h1 {
	font-family: 'Alimama ShuHeiTi','-apple-system','BlinkMacSystemFont';
	font-size: 40px;
	font-weight: 800;
	letter-spacing: 5px;
	margin: 0 0 18px;
	opacity: 0.65;
	color: transparent;
	background: linear-gradient(
		135deg,
		#ffffff 0%,
		#ffffff 28%,
		#ffd4d4 36%,
		#ffe4b5 40%,
		#ffffcc 44%,
		#ccffcc 48%,
		#b5d4ff 52%,
		#e4b5ff 56%,
		#ffffff 64%,
		#ffffff 100%
	);
	background-size: 400% 100%;
	background-clip: text;
	-webkit-background-clip: text;
	animation: shine 6s linear infinite;
	filter: drop-shadow(0 4px 18px rgba(0,0,0,0.55)) drop-shadow(0 0 30px rgba(255,255,255,0.25));
}

@keyframes shine {
	from { background-position: 100% 0; }
	to   { background-position: 0 0; }
}
.hero-title p {
	max-width: 950px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.8em;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.88);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}


/* ===================== 第二屏：新闻动态 ===================== */
.news-section { background: #fff; padding-top: 20px;}
.news-section .section-inner { padding-top: 20px; padding-bottom: 80px; }

.news-row {
	display: flex;
	gap: 26px;
	align-items: stretch;
}

/* 左：轮播 */
.news-swiper-box {
	flex: 0 0 46%;
	max-width: 46%;
}
.news-swiper-box .carousel {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(106, 25, 11, 0.12);
}
.news-swiper-box .carousel-item { height: 520px; }
.news-swiper-box .carousel-item img {
	width: 100%; height: 100%;
	object-fit: cover;
	filter: brightness(0.92);
}
.news-swiper-box .carousel-caption {
	bottom: 0; left: 0; right: 0;
	text-align: center;
	padding: 50px 30px 36px;
	background: linear-gradient(to top, rgba(61, 15, 6, 0.92), transparent);
}
.news-swiper-box .carousel-caption h3 {
	font-size: 20px;
	font-weight: 600;
	color: #fff;
	margin: 0 0 8px;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.news-swiper-box .carousel-caption p {
	font-size: 14px;
	line-height: 1.6em;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.news-swiper-box .carousel-indicators { margin-bottom: 14px; justify-content: center; left: 0; right: 0; }
.news-swiper-box .carousel-indicators [data-bs-target] {
	width: 10px; height: 10px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: transparent;
	margin: 0 5px;
	opacity: .8;
}
.news-swiper-box .carousel-indicators .active { background: #fff; opacity: 1; }
.news-swiper-box .carousel-control-prev,
.news-swiper-box .carousel-control-next {
	width: 44px; height: 44px;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	margin: 0 12px;
	opacity: .7;
	transition: all .3s ease;
}
.news-swiper-box .carousel-control-prev:hover,
.news-swiper-box .carousel-control-next:hover {
	background: var(--primary);
	opacity: 1;
}

/* 右：新闻列表 */
.news-list-box {
	flex: 1;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 16px 22px 22px;
	box-shadow: 0 6px 20px rgba(106, 25, 11, 0.06);
	display: flex;
	flex-direction: column;
}
.news-list-box .nav-underline .nav-item .nav-link { font-size: 20px; }
.news-list-box .tab-content { flex: 1; min-height: 0; overflow: hidden; position: relative; }
.news-list-box .tab-pane { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.news-list-box .tab-pane > ul { padding-top: 15px; }
.news-list-box .news-text > ul { padding-left: 10px; }
.news-list-box .news-text > ul > li { padding: 9px 6px; }
.news-list-box .news-text > ul > li .news-title { font-size: 16px; }
.news-list-box .news-text > ul > li .news-abstract { -webkit-line-clamp: 1; }
.news-list-box .news-text > ul > li .news-date { flex: 0 0 58px; width: 58px; height: 58px; }
.news-list-box .news-text > ul > li .news-date h2 { font-size: 22px; }
/* 通知公告列表：10条紧凑排列 */
.news-list-box .note-ul > li { padding: 8px 6px 8px 18px; font-size: 16px; }
.news-list-box .note-ul > li > span { font-size: 12px; }

/* ===================== 第三屏：强党建·严制度·促招标·优服务 ===================== */
.platform-section {
	background: url('../images/s2-bj.jpg') center top / cover no-repeat;
	padding-top: 20px;
}
.platform-section .section-inner { padding-top: 35px; padding-bottom: 40px; }
.platform-section .section-head { margin-bottom: 18px; }

.platform-row {
	display: flex;
	gap: 24px;
	align-items: stretch;
	margin-bottom: 24px;
}
.panel-box {
	flex: 1;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 16px 22px 22px;
	box-shadow: 0 6px 20px rgba(106, 25, 11, 0.06);
}
.panel-box>.tab-content{
	padding-top: 10px;
	min-height: 350px;
}
.panel-box .nav-underline .nav-item .nav-link { font-size: 20px; }

/* 研究成果卡片 */
.achievement-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-top: 16px;
}
.ach-card {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.ach-card:hover {
	border-color: var(--primary-lighter);
	box-shadow: 0 8px 20px rgba(106, 25, 11, 0.12);
	transform: translateY(-3px);
	color: var(--text);
}
.ach-icon {
	flex: 0 0 70px;
	background: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 28px;
	transition: background .3s ease;
}
.ach-card:hover .ach-icon { background: var(--primary-light); }
.ach-body { padding: 14px 16px; flex: 1; }
.ach-body h4 { font-size: 16px; font-weight: 700; color: var(--primary); margin: 0 0 6px; }
.ach-body p {
	font-size: 12px;
	color: var(--text-light);
	line-height: 1.5em;
	margin: 0 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ach-btn {
	font-size: 12px;
	color: var(--primary);
	font-weight: 600;
}
.ach-btn i { font-size: 11px; margin-left: 2px; }

/* 快速入口 */
/* 快速入口（section-head + 卡片网格，与相关链接同风格） */
.quick-entry-row {
	margin-top: 0;
	padding: 50px 0 80px;
	background: #fff;
}
.quick-entry-row .section-head { margin-bottom: 14px; }
.quick-entry-list {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}
.quick-entry-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px 14px 14px;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.quick-entry-item:hover {
	transform: translateY(-5px);
	border-color: var(--primary-lighter);
	box-shadow: 0 12px 26px rgba(106, 25, 11, 0.14);
	color: var(--text);
}
.qe-icon {
	width: 48px; height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary), var(--primary-light));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin-bottom: 10px;
	transition: transform .3s ease;
}
.quick-entry-item:hover .qe-icon { transform: scale(1.08) rotate(-4deg); }
.qe-body { display: flex; flex-direction: column; align-items: center; }
.qe-body h4 {
	font-size: 17px;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 6px;
}
.qe-body p {
	font-size: 12px;
	color: var(--text-light);
	line-height: 1.55em;
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.qe-btn {
	font-size: 12px;
	color: var(--primary);
	font-weight: 600;
}
.qe-btn i { font-size: 11px; margin-left: 2px; }

/* ===================== 第四屏：基建风采 ===================== */
.jjfc-bg{
	position: relative;
	background: linear-gradient(180deg, #ffffff 50%, #f0e0dc 100%);
}

/* ===================== 第五屏：相关链接 ===================== */
.bottom-bg{
	position: relative;
	background: #fff;
}
.link-section { }
.recruit-section {
	background: linear-gradient(180deg, #f5f7fa 0%, #f5e8e5 100%);
	padding-top: 20px;
}
.recruit-section .section-inner { padding-top: 35px; padding-bottom: 40px; }


.link-section {
	padding: 50px 0 75px;
}
.link-section .section-head { margin-bottom: 14px; }
.link-cards {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}
.link-card {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 10px 14px;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.link-card:hover {
	transform: translateY(-4px);
	border-color: var(--primary-lighter);
	box-shadow: 0 10px 22px rgba(106, 25, 11, 0.14);
	color: var(--text);
}
.link-card-icon {
	flex: 0 0 36px;
	width: 36px; height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary), var(--primary-light));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	transition: transform .3s ease;
}
.link-card:hover .link-card-icon { transform: scale(1.08) rotate(-4deg); }
.link-card-body { flex: 1; min-width: 0; }
.link-card-body h4 {
	font-size: 14px;
	font-weight: 700;
	color: var(--primary);
	margin: 0;
	line-height: 1.35em;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.link-card-body p {
	font-size: 11px;
	color: var(--text-light);
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ===================== 响应式 ===================== */
@media (max-width: 1199px) {
	.header-menu .navbar-nav > .nav-item > .nav-link { padding: 0 12px; font-size: 16px; }
	.hero-title h1 { font-size: 46px; }
}

@media (max-width: 992px) {
	.header-menu .navbar-nav > .nav-item > .nav-link { line-height: 50px; font-size: 16px; }
	.header-menu .dropdown-menu { position: static; min-width: 100%; box-shadow: none; background: rgba(255, 255, 255, 0.08); }
	.header-menu .dropdown-item { color: #fff; }
	.header-menu .dropdown-item:hover { background: rgba(255, 255, 255, 0.12); color: #fff; padding-left: 26px; }

	.hero-title h1 { font-size: 36px; letter-spacing: 3px; }
	.hero-title p { font-size: 14px; }
	.hero-title { display: none; }
	.hero-section { height: 65vh; }
	.slide-cap { bottom: 40px; }
	.hero-swiper .swiper-pagination { bottom: 20px !important; }
	.news-section { padding-top: 5px; }
	.news-section .section-inner { padding-top: 10px; }

	.section-head h2 { font-size: 24px; }
	.section-head { margin-bottom: 20px; }
	.section-head p { margin-top: 0; margin-bottom: 5px; }
	.news-row { flex-direction: column; }
	.news-swiper-box, .news-list-box { flex: 1; max-width: 100%; }
	.news-list-box .tab-pane { position: static; height: auto; }
	.news-swiper-box .carousel-item { height: 320px; }
	.platform-row { flex-direction: column; }
	.achievement-cards { grid-template-columns: 1fr; }
	.quick-entry-list { grid-template-columns: repeat(2, 1fr); }
	.link-cards { grid-template-columns: 1fr; }
	.link-cont a { flex-basis: calc(33.33% - 10px); max-width: calc(33.33% - 10px); }
}

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

@media (max-width: 576px) {
	.hero-title h1 { font-size: 22px; letter-spacing: 1px; }
	.hero-title p { font-size: 13px; }
	.hero-title .hero-badge { font-size: 12px; padding: 10px; border-radius: 10px; }
	.slide-cap { bottom: 40px; font-size: 14px; }

	.section-head h2 { font-size: 17px; letter-spacing: 1px; }
	.section-head p { font-size: 13px; }

	.news-swiper-box .carousel-item { height: 200px; }
	.news-swiper-box .carousel-item img { filter: brightness(1); }
	.news-swiper-box .carousel-caption { padding: 30px 16px 20px; }
	.news-swiper-box .carousel-caption h3 { font-size: 16px; }
	.news-section .section-inner { padding-bottom: 40px; }
	.news-list-box { padding: 12px 14px 16px; }
	.news-list-box .nav-underline .nav-item .nav-link { font-size: 16px; }
	.news-list-box .news-text > ul > li { padding: 6px 4px; }
	.news-list-box .news-text > ul { padding-left: 10px; }
	.news-list-box .news-text > ul > li .news-title { font-size: 14px; }
	.news-list-box .news-text > ul > li .news-abstract { font-size: 12px; }
	.news-list-box .news-text > ul > li .news-date { flex: 0 0 48px; width: 48px; height: 48px; }
	.news-list-box .news-text > ul > li .news-date h2 { font-size: 18px; }
	.news-list-box .news-text > ul > li .news-date h3 { font-size: 10px; }
	.news-list-box .note-ul > li { padding: 6px 4px 6px 12px; font-size: 14px; background-image: none; }

	.panel-box { padding: 12px 14px 16px; }
	.panel-box > .tab-content { min-height: auto; }
	.panel-box .nav-underline .nav-item .nav-link { font-size: 16px; }
	.note-ul > li { padding: 6px 0; font-size: 13px; }
	.panel-box .note-ul > li { background-image: none; padding-left: 0; }
	.platform-section { padding-top: 0; }
	.platform-section .section-inner { padding-bottom: 10px; }
	.quick-entry-row { padding: 30px 0 10px; }
	.link-section { padding: 30px 0 36px; }

	.quick-entry-list { grid-template-columns: 1fr; gap: 10px; }
	.quick-entry-item { padding: 12px; flex-direction: row; gap: 12px; }
	.quick-entry-item .qe-icon { flex: 0 0 40px; width: 40px; height: 40px; font-size: 18px; margin-bottom: 0; }
	.quick-entry-item .qe-body { align-items: flex-start; }
	.quick-entry-item .qe-body h4 { font-size: 15px; }

	.link-cards { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.link-card { padding: 8px 10px; }
	.link-card-icon { flex: 0 0 30px; width: 30px; height: 30px; font-size: 14px; }
	.link-card-body h4 { font-size: 12px; }
}
