<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500&display=swap">

:root {
  --default-font: "Noto Sans SC", "PingFang SC", "MiSans", "Microsoft YaHei", Arial, sans-serif;
  --heading-font: "Microsoft YaHei", "Noto Sans SC", "PingFang SC", "MiSans", Arial, sans-serif;
  --nav-font: "Microsoft YaHei", "Noto Sans SC", "PingFang SC", "MiSans", Arial, sans-serif;
}

/* Colors */
:root {
	--background-color: #ffffff;
	--default-color: #002172;
	--heading-color: #001531;
	--accent-color: #07487a;
	--surface-color: #e8edf0;
	--contrast-color: #ffffff;
	--foot-color: #e8edf0;	
	--icon-color: #9c9c9c;
	}

/* Nav Menu Colors */
:root {
	--nav-color: #07003d;
	--nav-hover-color: #ff0000;
	--nav-mobile-background-color: #ffffff;
	--nav-dropdown-background-color: #ffffff;
	--nav-dropdown-color: #07003d;
	--nav-dropdown-hover-color: #ff0000;
}

.light-background {
	--background-color: #e8edf0;
	--surface-color: #ffffff;
}

.dark-background {
	--background-color: #001531;
	--default-color: #ffffff;
	--heading-color: #ffffff;
	--surface-color: #ffffff;
	--contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/

html {
	scroll-behavior: smooth;
}

body {
	color: var(--default-color);
	background-color: var(--background-color);
	font-family: var(--default-font);
}

a {
	color: var(--accent-color);
	text-decoration: none;
	transition: 0.3s;
}

a:hover {
	color: color-mix(in srgb, var(--accent-color), transparent 25%);
	text-decoration: none;
}

p, li, table {
  line-height: 1.5;       /* 推荐用小数而不是百分比 */
  font-size: 1.1rem;
  font-weight: 300;       /* 现在可以生效 */
  font-family: var(--default-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--heading-color);
	font-family: var(--heading-font);
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
	--background-color: rgba(255, 255, 255, 0);
	color: var(--default-color);
	background-color: var(--background-color);
	padding: 15px 0;
	transition: all 0.5s;
	z-index: 1100;
}

/* Header logo container */
.header .logo {
    line-height: 1;
    display: flex;
    align-items: center;
}

/* Logo image */
.header .logo img {
    max-height: 36px;        /* 大屏固定最大高度 */
    width: auto;             /* 保持纵横比 */
    max-width: 100%;         /* 防止在小屏撑破父容器 */
    margin-right: 8px;
    display: block;          /* 避免 inline 间距 */
}

.header .logo h1 {
	font-size: 18px;
	margin: 0;
	font-weight: 900;
	color: var(--default-color);
}

.section-header {
    margin-bottom: 1.2rem;
}

.section-header h2 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0;
    font-weight: 700;
}

.section-badge {
    display: inline-block;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .services .section-header h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 450px) {
    .header .logo img {
        max-height: none;    /* 移除固定高度 */
        width: 90%;          /* 图片最大占父容器宽度 90% */
        margin-right: 0;     /* 去掉右边距，避免文字重叠 */
    }
}

@media (max-width: 1200px) {
	.header .logo {
		order: 1;
	}

	.header .navmenu {
		order: 3;
	}
}

.scrolled .header {
	box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
	--background-color: #ffffff;
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
	--background-color: #ffffff;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
	.navmenu {
		padding: 0;
	}

	.navmenu ul {
		margin: 0;
		padding: 0;
		display: flex;
		list-style: none;
		align-items: center;
	}

	.navmenu li {
		position: relative;
	}

	.navmenu a,
  .navmenu a:focus {
		color: var(--nav-color);
		padding: 18px 10px;
		font-size: 15px;
		font-family: var(--nav-font);
		font-weight: 600;
		display: flex;
		align-items: center;
		justify-content: space-between;
		white-space: nowrap;
		transition: 0.3s;
	}

	.navmenu a i,
  .navmenu a:focus i {
		font-size: 12px;
		line-height: 0;
		margin-left: 5px;
		transition: 0.3s;
	}

	.navmenu li:last-child a {
		padding-right: 0;
	}

	.navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
		color: var(--nav-hover-color);
	}

	.navmenu .active {
		cursor: default;
		pointer-events: none;
	}

	.navmenu .dropdown ul {
		margin: 0;
		padding: 10px 0;
		background: var(--nav-dropdown-background-color);
		display: block;
		position: absolute;
		visibility: hidden;
		left: 14px;
		top: 130%;
		opacity: 0;
		transition: 0.3s;
		border-radius: 4px;
		z-index: 1100;
		box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
	}

	.navmenu .dropdown ul li {
		min-width: 130px;
	}

	.navmenu .dropdown ul a {
		padding: 10px 20px;
		font-size: 15px;
		text-transform: none;
		color: var(--nav-dropdown-color);
	}

	.navmenu .dropdown ul a i {
		font-size: 12px;
	}

	.navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
		color: var(--nav-dropdown-hover-color);
	}

	.navmenu .dropdown:hover>ul {
		opacity: 1;
		top: 100%;
		visibility: visible;
	}

	.navmenu .dropdown .dropdown ul {
		top: 0;
		left: -90%;
		visibility: hidden;
	}

	.navmenu .dropdown .dropdown:hover>ul {
		opacity: 1;
		top: 0;
		left: -100%;
		visibility: visible;
	}

	.navmenu .dropdown ul li.current > a {
		color: var(--nav-hover-color);
		cursor: default;
		pointer-events: none;
		font-weight: bold;
 /* 可选，强调当前语言 */
	}
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
	.mobile-nav-toggle {
		color: var(--nav-color);
		font-size: 28px;
		line-height: 0;
		margin-right: 10px;
		cursor: pointer;
		transition: color 0.3s;
	}

	.navmenu {
		padding: 0;
		z-index: 1099;
	}

	.navmenu ul {
		display: none;
		list-style: none;
		position: absolute;
		inset: 60px 20px 20px 20px;
		padding: 10px 0;
		margin: 0;
		border-radius: 6px;
		background-color: var(--nav-mobile-background-color);
		overflow-y: auto;
		transition: 0.3s;
		z-index: 100;
		box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
	}

	.navmenu a,
  .navmenu a:focus {
		color: var(--nav-dropdown-color);
		padding: 10px 20px;
		font-family: var(--nav-font);
		font-size: 17px;
		font-weight: 500;
		display: flex;
		align-items: center;
		justify-content: space-between;
		white-space: nowrap;
		transition: 0.3s;
	}

	.navmenu a i,
  .navmenu a:focus i {
		font-size: 12px;
		line-height: 0;
		margin-left: 5px;
		width: 30px;
		height: 30px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		transition: 0.3s;
		background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
	}

	.navmenu a i:hover,
  .navmenu a:focus i:hover {
		background-color: var(--accent-color);
		color: var(--contrast-color);
	}

	.navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
		color: var(--nav-dropdown-hover-color);
	}

	.navmenu .active i,
  .navmenu .active:focus i {
		background-color: var(--accent-color);
		color: var(--contrast-color);
		transform: rotate(180deg);
	}

	.navmenu .dropdown ul {
		position: static;
		display: none;
		z-index: 1100;
		padding: 10px 0;
		margin: 10px 20px;
		background-color: var(--nav-dropdown-background-color);
		border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
		box-shadow: none;
		transition: all 0.5s ease-in-out;
	}

	.navmenu .dropdown ul ul {
		background-color: rgba(33, 37, 41, 0.1);
	}

	.navmenu .dropdown ul li.current > a {
		color: var(--nav-hover-color);
		cursor: default;
		pointer-events: none;
		font-weight: bold;
 /* 可选，强调当前语言 */
	}

	.navmenu .dropdown>.dropdown-active {
		display: block;
		background-color: rgba(33, 37, 41, 0.03);
	}

	.mobile-nav-active {
		overflow: hidden;
	}

	.mobile-nav-active .mobile-nav-toggle {
		color: #fff;
		position: absolute;
		font-size: 32px;
		top: 15px;
		right: 15px;
		margin-right: 0;
		z-index: 1100;
	}

	.mobile-nav-active .navmenu {
		position: fixed;
		overflow: hidden;
		inset: 0;
		background: rgba(33, 37, 41, 0.8);
		transition: 0.3s;
	}

	.mobile-nav-active .navmenu>ul {
		display: block;
	}
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
	color: var(--accent-color);
	background-color: var(--foot-color);
	font-size: 14px;
	padding-bottom: 70px;
	position: relative;
}

/* Footer Top */
.footer .footer-top {
	padding-top: 50px;
	border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

/* Logo */
.footer .footer-about .logo img {
	max-height: 60px;
	display: block;
	margin: 0 auto;
 /* 默认居中，小屏有效 */
}

/* Text */
.footer .footer-about p {
	font-size: 14px;
	font-family: var(--accent-font);
	margin: 0;
	text-align: center;
	font-weight: 400;
 /* 小屏默认居中 */
}

/* Social Links */
.footer .social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--accent-color), transparent 5%);
	font-size: 16px;
	color: color-mix(in srgb, var(--accent-color), transparent 5%);
	margin-right: 10px;
	transition: 0.3s;
}

.footer .social-links a:hover {
	color: var(--icon-color);
	border-color: var(--icon-color);
}

/* ===== RESPONSIVE RULES ===== */

/* 大屏 ≥992px */
@media (min-width: 992px) {

  /* Social links 居中 */
	.footer .social-links {
		justify-content: center !important;
	}

  /* p 内容右对齐 + padding-right */
	.footer .footer-about p {
		text-align: right !important;
	}

  /* logo 在大屏右对齐 */
	.footer .footer-about .logo img {
		margin: 0 0 0 auto;
		padding-bottom: 10px;
 /* 推向右侧 */
	}
}

/* 小屏 <992px 统一居中 */
@media (max-width: 991px) {

	.footer .social-links {
		justify-content: center;
	}

	.footer .footer-about p {
		text-align: center;
	}

	.footer .footer-about .logo img {
		margin: 0 auto;
		padding-bottom: 10px;
	}
}


/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
	position: fixed;
	visibility: hidden;
	opacity: 0;
	right: 15px;
	bottom: -15px;
	z-index: 100;
	background-color: var(--accent-color);
	width: 44px;
	height: 44px;
	border-radius: 50px;
	transition: all 0.4s;
}

.scroll-top i {
	font-size: 24px;
	color: var(--contrast-color);
	line-height: 0;
}

.scroll-top:hover {
	background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
	color: var(--contrast-color);
}

.scroll-top.active {
	visibility: visible;
	opacity: 1;
	bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [	data-aos-delay] {
		transition-delay: 0 !important;
	}
}


/*--------------------------------------------------------------
# Common Sections
--------------------------------------------------------------*/
section,
.section {
	color: var(--default-color);
	background-color: var(--background-color);
	padding: 60px 0;
	scroll-margin-top: 90px;
	overflow: clip;
}

@media (max-width: 1199px) {

	section,
  .section {
		scroll-margin-top: 66px;
	}
}

/*--------------------------------------------------------------
# Common Section Titles
--------------------------------------------------------------*/
.section-title {
	text-align: center;
	padding: 30px 0;
	margin-bottom: 15px;
	position: relative;
}

.section-title h2 {
	font-size: 45px;
	font-weight: 900;
	margin-bottom: 10px;
	padding-bottom: 0;
	position: relative;
	z-index: 2;
	color: var(--heading-color);
	letter-spacing: 1px;
}

.section-title span {
	position: absolute;
	top: 4px;
	color: color-mix(in srgb, var(--heading-color), transparent 95%);
	left: 0;
	right: 0;
	z-index: 1;
	font-weight: 900;
	font-size: 52px;
	line-height: 1;
}

.section-title p {
	margin-bottom: 0;
	position: relative;
	z-index: 2;
}

.blockcerts {
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 50px;
}

.blockcerts .certificates {
    width: 100%;               /* 自适应父容器 */
    max-width: 175px;          /* 大屏最大宽度 */
    height: auto;              /* 保持纵横比 */
    margin: 10px auto;         /* 居中 + 间距 */
    display: block;            /* 避免内联间距 */
    border: 1px solid #777;    /* 边框 */
    padding: 0;
    box-shadow: 0 0 14px #777;
    -webkit-box-shadow: 0 0 14px #777;
    -moz-box-shadow: 0 0 14px #777;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 悬停效果：稍微放大并加深阴影 */
.blockcerts .certificates:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px #555;
    -webkit-box-shadow: 0 0 18px #555;
    -moz-box-shadow: 0 0 18px #555;
}

/* 小屏幕适配 */
@media (max-width: 450px) {
    .blockcerts .certificates {
        max-width: 90%; /* 保证图片不超出屏幕 */
        margin: 10px auto; /* 保持居中 */
    }
}

.case {
	background: url(../images/bgcode.gif);
}

@media (max-width: 575px) {
	.section-title h2 {
		font-size: 32px;
		margin-bottom: 10px;
	}

	.section-title span {
		font-size: 38px;
	}
}

/*--------------------------------------------------------------
# Home Section
--------------------------------------------------------------*/
.home {
  padding: 0;
  background-image: url(../images/home.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 40%, 
    color-mix(in srgb, var(--surface-color), transparent 90%) 0%, 
    transparent 50%);
  pointer-events: none;
}

.home .home-content {
  text-align: center;
  padding: 160px 0 190px 0;
}

.home .home-content h1 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

/* 搜索区域 */
.search-main {
  background-color: rgba(0,0,0,.4);
  padding: 3rem 2rem;
  position: relative;
  margin: 40px auto 0 auto; /* 保持顶部间距 */
  border-radius: 5px!important;
  width: 98%;
}

.topcertify {
  position: absolute;
  bottom: 0;
  left: 65%;
  top: 75%;
  right: 0;
  background: url(../images/topcertify.png) no-repeat;
  background-size: 80%;
}

/* 输入框组 */
.input-group-text {
  color: #525252;
  font-size: .8rem;
  border-radius: 0!important;
  border-left: none!important;
  background: #fff!important;
}

.input-group .form-control {
  border-right: none!important;
}

/* 通用输入样式 */
.search-input {
  display: block;
  width: 100%;
  font-size: .875rem;
  line-height: 1.5;
  color: #55595c;
  background-color: #fff;
  border: 1px solid #ccc!important;
  height: calc(3rem + 2px)!important;
  border-radius: 0!important;
}

/* 下拉框专用 */
.form-select.search-input {
  font-size: .875rem;
  line-height: 1.5;
  color: #55595c;
  border: 1px solid #ccc!important;
  height: calc(3rem + 2px)!important;
  border-radius: 0!important;
}

/* 按钮 */
.search-btn {
  width: 100%;
  font-size: .875rem;
  font-weight: 400;
  text-transform: capitalize;
  height: calc(3rem + 2px)!important;
  border-radius: 0;
}

/* 提示框 */
.case4 {
  background: url(../images/bgcode.gif);
  font-size: .9rem;
  border: 1px solid #e6e6e6;
  line-height: 150%;
  text-shadow: 0 0 1px #0259a9;
  padding: 8px 10px;
  border-left: 6px solid #dc3545;
  color: #dc3545!important;
	text-align: left;

}



/* 滚动按钮 */
.home .scroll {
  position: relative;
  font-family: icomoon;
  font-size: 32px;
  color: #fff;
}

.home .scroll::before {
  content: "\e927";
  font-family: icomoon;
  color: inherit;
}

.home .scroll:hover {
  color: #f00;
}


.home .scroll-button {
	position: absolute;
	z-index: 5;
	bottom: 0;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #07487a;
	left: 50%;
	-webkit-transform: translate(-50%,-150%);
	-ms-transform: translate(-50%,-150%);
	transform: translate(-50%,-150%);
	-webkit-box-shadow: 0 10px 10px 0 rgba(0,0,0,.3);
	box-shadow: 0 10px 10px 0 rgba(0,0,0,.3)
}

.home .scroll-button>span {
	position: absolute;
	font-size: 1.5rem;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%)
}

.selected-option { color: red; }
.select-highlight:not(:focus) {color: red;font-weight: bold;}



/* 斜切背景 */
.slanted:after {
  content: "";
  background: #fff;
  height: 200px;
  transform: skewY(-5deg);
  position: absolute;
  left: 0;
  bottom: -100px;
  right: 0;
  z-index: 1;
}

/* 动画 */
@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 响应式 */
@media (max-width: 991px) {
  .home .home-content h1 { font-size: 35px; }
.topcertify, .pcshow {
  display: none !important;
}

.home .home-content {
  padding: 30px 0 80px 0;
}
.search-main {
  padding: 2rem 1rem;
}
}

@media (max-width: 768px) {
  .home .home-content h1 { font-size: 20px; }
}

@media (max-width: 992px) {
  .home { padding: 80px 0; }
}

@media (max-width: 768px) {
  .home { padding: 60px 0; }
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# 1. Services Section: 通用样式
--------------------------------------------------------------*/

/* HTML 中清理了 .uldiv，这里可以针对 .container 中的 ul 直接添加样式，以防覆盖全局样式 */
.services .container ul {
    list-style: disc; /* 确保是圆点列表 */
    padding-left: 20px; /* 列表左边距 */
    margin-bottom: 1.5rem; /* 底部间距 */
}
.services .container ul li {
    line-height: 1.7;
    margin-bottom: 5px;
    color: color-mix(in srgb, var(--default-color), transparent 20%); /* 使用段落相近的颜色 */
}


/*--------------------------------------------------------------
# 2. Services Grid: 卡片样式
--------------------------------------------------------------*/
.services-card {
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    position: relative;
    overflow: hidden;
    background: url(../images/bgcode.gif); /* 保持背景图 */
}

@media (max-width: 768px) {
    .services-card {
        padding: 1.5rem;
    }
}

/* 卡片顶部装饰线 */
.services-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.services-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px color-mix(in srgb, var(--default-color), transparent 80%);
}

.services-card:hover::before {
    transform: scaleX(1);
}

.services-card:hover .card-icon span {
    background: var(--accent-color);
    color: var(--contrast-color);
}

/* Card Header (图标 + 标题组) */
.services-card .card-header {
    display: flex;
    align-items: center;
    gap: 15px; /* 数字和标题间距 */
    margin-bottom: .5rem;
}

/* Icon */
.services-card .card-icon {
    /* 移除了 services-grid .services-card .card-icon 的 margin-bottom，合并到 .card-header 的 margin-bottom */
}

.services-card .card-icon span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    border-radius: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Titles */
.services-card .card-titles h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
	padding-top: 1.3rem;
	padding-bottom: .3rem;
}

.services-card .card-titles h5.services-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    padding-bottom: 1.5rem; /* 标题组和内容的间距 */
    /* 移除了冗余的 services-title 样式 */
}

/* Card Content */
.services-card .card-content .services-description {
    line-height: 1.6;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-bottom: 15px; /* 描述和按钮的间距 */
}


/*--------------------------------------------------------------
# 3. Features Section: 底部特色块
--------------------------------------------------------------*/
.services .features-section {
    padding: 3rem 0;
    background-color: color-mix(in srgb, var(--surface-color), var(--background-color) 50%);
    border-radius: 12px;
    margin-top: 2rem;
}

.services .feature-box {
    text-align: center;
    padding: 1.5rem;
}

.services .feature-box .feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.services .feature-box .feature-icon:hover {
    transform: translateY(-5px);
}

.services .feature-box h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
    font-weight: 600;
}

.services .feature-box p {
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    line-height: 1.6;
    margin: 0;
}


@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}


/*--------------------------------------------------------------
# translation Section
--------------------------------------------------------------*/

.translation .translation-grid .translation-card {
	padding: 2rem;
	border-radius: 15px;
	height: 100%;
	transition: all 0.3s ease;
	border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
	position: relative;
	overflow: hidden;
	background: url(../images/bgcode.gif);
}

.translation .translation-grid .translation-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--accent-color);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.translation .translation-grid .translation-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 25px 50px color-mix(in srgb, var(--default-color), transparent 80%);
}

.translation .translation-grid .translation-card:hover::before {
	transform: scaleX(1);
}

.translation .translation-grid .translation-card:hover .card-icon span {
	background: var(--accent-color);
	color: var(--contrast-color);
}

.translation .translation-grid .translation-card .card-icon {
	margin-bottom: 1.5rem;
}

.translation .translation-grid .translation-card .card-icon span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background: color-mix(in srgb, var(--accent-color), transparent 90%);
	color: var(--accent-color);
	border-radius: 15px;
	font-size: 1.5rem;
	font-weight: 700;
	transition: all 0.3s ease;
}

.translation .translation-grid .translation-card .card-content .translation-title {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 1rem;
	line-height: 1.4;
}

.translation .translation-grid .translation-card .card-content a:link,
.translation .translation-grid .translation-card .card-content a:visited {
	PADDING-BOTTOM: 0;
	PADDING: 1px 5px;
	HEIGHT: 18px;
	TEXT-DECORATION: none;
	background-color: transparent;
	border-bottom: 2px solid #cf007d;
	transition: background .14s ease 0s,color .14s ease 0s;
	orphans: 2
}

.services-card .card-content .services-description a:hover {
	text-decoration: none!important;
	color: #cf007d!important
}
.translation .translation-grid .translation-card .card-content .translation-description {
	font-size: 0.95rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--default-color), transparent 30%);
	margin-bottom: 0;
}

.translation .feature-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}

.translation .feature-list li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 10px;
}

.translation .feature-list li i {
	color: var(--accent-color);
	margin-right: 10px;
	font-size: 18px;
	flex-shrink: 0;
	padding-top: 2px;
}

.translation-card .card-header {
	display: flex;
	align-items: center;
	gap: 15px;
 /* 数字和标题间距 */
	margin-bottom: .5rem;
}

.translation-card .card-titles h4 {
	margin-top: 0.8rem;
	font-size: 1.25rem;
	font-weight: 700;
}

.translation-card .card-titles h5.translation-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: color-mix(in srgb, var(--default-color), transparent 40%);
	padding-bottom: 1.5rem;
}

@media (max-width: 768px) {
	.translation .translation-grid .translation-card {
		padding: 1.5rem;
	}
}


/*--------------------------------------------------------------
# visa list Section
--------------------------------------------------------------*/

.hometable table,.searchtable table{border-collapse:collapse;border:1px solid #f2f2f2;}
.hometable td,.searchtable td {padding:8px 12px;text-align:left;display:table-cell;vertical-align:middle;color:#666;}
.hometable th,.searchtable th{padding:8px 12px;text-align:left;vertical-align:middle; font-weight:700; color:#666;}

/* 小于768px：隐藏第2和第3列 */
@media (max-width:768px){
  table.searchtable tr td:nth-child(2),
  table.searchtable tr th:nth-child(2),
  table.searchtable tr td:nth-child(3),
  table.searchtable tr th:nth-child(3){
    display:none;
  }
}

/* 768px 到 991px：隐藏第2列，显示第3列 */
@media (min-width:768px) and (max-width:991px){
  table.searchtable tr td:nth-child(2),
  table.searchtable tr th:nth-child(2){
    display:none;
  }
  table.searchtable tr td:nth-child(3),
  table.searchtable tr th:nth-child(3){
    display:table-cell;
  }
}

/* 大于991px：显示所有列 */
@media (min-width:992px){
  table.searchtable tr td,
  table.searchtable tr th{
    display:table-cell;
  }
}

/* 缩小分页按钮文字和内边距 */
.page-link {
  padding: 0.3rem 0.6rem !important;
  font-size: 0.925rem !important;
  line-height: 1.4 !important;
	color: var(--accent-color) !important; 
}

/* 调整分页整体间距 */
.pagination {
  margin-top: 0.5rem !important;
}

 .pagination .page-item.active .page-link {
  background-color: var(--accent-color); /* 当前页背景色 */
  color: #fff !important;               /* 当前页文字颜色 */
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Accreditations Section
--------------------------------------------------------------*/
.accreditations .accreditations,
.accreditations .compliance-card {
	background-color: var(--surface-color);
	border-radius: 10px;
	padding: 30px;
	height: 100%;
	transition: all 0.3s ease;
	position: relative;
	border: 1px solid transparent;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.accreditations .accreditations:hover,
.accreditations .compliance-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	border: 1px solid var(--accent-color);
}

.accreditations .accreditations .icon-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
	margin-bottom: 20px;
}

.accreditations .accreditations .icon-box i {
	font-size: 28px;
	color: var(--accent-color);
}

.accreditations .accreditations h3 {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 15px;
}

.accreditations .accreditations p {
	color: color-mix(in srgb, var(--default-color), transparent 20%);
	margin-bottom: 20px;
	font-size: 15px;
	line-height: 1.6;
}

.accreditations .section-badge {
	display: inline-flex;
	align-items: center;
	background: color-mix(in srgb, var(--accent-color), transparent 90%);
	color: var(--accent-color);
	margin-top: 30px;
	padding: 8px 20px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.accreditations .section-badge i {
	font-size: 12px;
}

.icon-box-with-title {
	display: flex;
	align-items: center;
 /* 垂直居中 */
	gap: 15px;
 /* 图标和标题之间间距 */
	margin-bottom: 20px;
 /* 保持标题下方间距 */
}

.icon-box-with-title h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
}

.accreditations .accreditations .feature-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}

.accreditations .accreditations .feature-list li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 10px;
}

.accreditations .accreditations .feature-list li i {
	color: var(--accent-color);
	margin-right: 10px;
	font-size: 18px;
	flex-shrink: 0;
}

.accreditations .accreditations .read-more {
	display: inline-flex;
	align-items: center;
	color: var(--accent-color);
	font-weight: 500;
	font-size: 15px;
	transition: all 0.3s ease;
}

.accreditations .compliance-card {
	text-align: center;
	padding: 25px 20px;
}

.accreditations .compliance-card h4 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 15px;
}

@media (max-width: 992px) {
	.accreditations .accreditations {
		margin-bottom: 20px;
	}

	.accreditations .compliance-card {
		margin-bottom: 20px;
	}
}

@media (max-width: 768px) {
	.accreditations .accreditations .icon-box {
		width: 50px;
		height: 50px;
	}

	.accreditations .accreditations .icon-box i {
		font-size: 24px;
	}

	.accreditations .accreditations h3 {
		font-size: 20px;
	}

	.accreditations .compliance-card h4 {
		font-size: 16px;
	}

	.icon-box-with-title h3 {
		font-size: 20px;
	}

	.icon-box-with-title .icon-box {
		width: 50px;
		height: 50px;
	}
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .section-category {
	font-weight: 800;
}

.contact .section-contact {
	font-weight: 500;
	color: var(--accent-color);
	font-size: 1rem;
}

.contact .content h2 {
	font-weight: 700;
	line-height: 1.2;
}

.contact .content img {
	padding-right: 15px;
}

.contact .content .lead {
	color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.sistersites {
	color: var(--default-color);
	font-size: 20px;
	font-weight: 900
}

.logo-1 {
    width: 100%;               /* 自适应父容器宽度 */
    max-width: 200px;          /* 大屏幕最大宽度 */
    height: auto;              /* 保持纵横比 */
    margin: 0 auto 20px;       /* 水平居中 + 底部间距 */
    display: block;            /* 避免内联间距 */
    filter: none;
    -webkit-filter: none;
    opacity: 1;
    transition: filter 0.3s ease, -webkit-filter 0.3s ease, opacity 0.3s ease;
}

.logo-1:hover {
    filter: url(filters.svg#grayscale);
    filter: gray;
    -webkit-filter: grayscale(1);
    opacity: 0.5;
}

/* 小屏幕适配 */
@media (max-width: 450px) {
    .logo-1 {
        max-width: 90%; /* 保证图片不超出屏幕 */
    }
}

/*--------------------------------------------------------------
# Search Section
--------------------------------------------------------------*/

.search-content {padding-top:70px;margin-bottom:35px;}

.articles-wrap{margin:0 auto;padding-top:40px;padding-bottom:40px}

.articles-page{
  display:flex;
  justify-content:center; /* 水平居中 */
  align-items:center;
  gap:6px; /* 控制按钮间距不靠 margin */
  flex-wrap:wrap; /* 手机不会溢出 */
}



.articles-page a{display:inline-block;margin:0 3px;width:27px;height:27px;border:1px solid #dee2e6;border-radius:50%;text-align:center;text-decoration:none;line-height:25px}
.articles-page a.next,.articles-page a.prev{padding-right:10px;padding-left:10px;width:auto;height:27px;border-radius:4px;line-height:27px}
.articles-page a.active,.articles-page a:hover{border-color:#1644ba;background:#1644ba;color:#fff}

#results {
  display: block;
  position: relative;
  top: -70px; /* 负值=往上偏移 */
  height: 0;
}




/*--------------------------------------------------------------
# Arrow Section
--------------------------------------------------------------*/

/* 让按钮垂直居中，不遮挡内容 */
.custom-control {
	width: 50px;
	height: 50px;
	top: 50%;
	transform: translateY(-50%);
	opacity: 1;
	background: none;
	border: none;
}

/* 往外移动箭头，使它不覆盖 LOGO */
.carousel-control-prev {
	left: 0px;
       /* 根据布局调整距离 */
}

.carousel-control-next {
	right: 0px;
      /* 根据布局调整距离 */
}

@media (max-width: 768px) {
	.carousel-control-prev {
		left: 8px;
       /* 根据布局调整距离 */
	}

	.carousel-control-next {
		right: 8px;
      /* 根据布局调整距离 */
	}
}


/* icomoon 字体 */
.custom-control span {
	font-family: 'icomoon';
	font-size: 40px;
	color: #333;
}

.icon-circle-left:before {
	content: "\ea44";
}

.icon-circle-right:before {
	content: "\ea42";
}

#websitelogos .col-6, #websitelogos .col-lg-3, #websitelogos .col-md-6 {
	outline: 1px dashed rgba(0,21,49,0.1);
}