body {
    background-color: #fff;
    font-size: 16px;
}
.text-danger {
    color: #d32f2f!important;
}
.bg-danger {
    background-color: #d32f2f!important;
}
.btn-outline-danger {
    color: #d32f2f!important;
    border-color: #d32f2f!important;
}
.navbar {
    padding: 0px;
}
.container-fluid {
    max-width: 1500px;
}
.navbar-brand {
    padding: 0px;
    height: 76px;
    line-height: 70px;
    vertical-align: middle;
}
.navbar-collapse {
    height: 76px;
}
.navbar-nav {
    height: 76px;
    line-height: 70px;
}
.navbar-nav .nav-item.active {
    font-weight: 700;
    border-bottom: 2px solid #f96868;
}
.navbar-nav .nav-link {
    color: #4d5259;
}
.navbar-nav .nav-link:hover {
    color: #007bff;
}
@media (min-width: 768px) {
    .navbar-nav .nav-link {
        padding: 0px;
        width: 100px;
        margin: 0px 10px;
        text-align: center
    }
}
.navbar.bg-white .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 45px;
}
.about-title-line {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 25px;
    line-height: 45px;
}
.about-info {
    line-height: 35px;
    margin-bottom: 30px;
}
.about-more .btn {
    padding: 10px 30px;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-width: 2px;
}
.about-more .btn-outline-danger:hover {
    background: #d32f2f;
    color: white!important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}
.strength-list h2 {
    font-size: 48px;
    line-height: 72px;
    font-weight: 700;
}

.contact-box {
    padding: 3.5rem 5rem 0rem;
}
.contact-box .form-control {
    background-color: rgba(204, 204, 204, 0.15);
}
.contact-box input.form-control,
.contact-box select.form-control {
    height: calc(2em + .75rem + 3px)
}
.jumbotron {
    padding: 80px 0;
    position: relative;
    border-radius: 0px;
}
.card-hover .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.card-hover .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}   
.card-hover .card-title {
    font-weight: 700;
    margin-bottom: 15px;
}
.card-hover .card-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}  
.card-hover .card-title a:hover {
    color: #dc3545;
}
.card-hover .card-body small {
    font-size: 14px;
    color: #6c757d;
    display: block;
    margin-bottom: 15px;
}
.card-hover .card-body p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}
.card-hover .text-right i {
    color: #dc3545;
    transition: transform 0.3s ease;
}
.card-hover .card:hover .text-right i {
    transform: translateX(5px);
}  
.p-6 {
    padding: 5rem;
}
.dropdown-item {
    line-height: 1.72;
}
/* 自定义样式 */
.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    font-size: 16px;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* 确保在移动设备上保持点击行为 */
@media (max-width: 991.98px) {
    .navbar-nav .nav-item.dropdown .dropdown-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .navbar-nav .nav-item.dropdown.show .dropdown-menu {
        display: block;
    }
}

/* 确保链接可点击 */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.nav-link.dropdown-toggle {
    cursor: pointer;
}
.site-logo {
    font-family: 'Noto Sans SC', sans-serif;
    color: #0e0b0b;
    font-size: 25px;
    letter-spacing: 7px;
}

/*轮播图文字*/
.carousel-indicators,
.carousel-control-prev, 
.carousel-control-next {
    z-index: 11;
}
.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 10;
    padding: 0 20px;
}
.carousel-caption h1 {
    font-size: 4.5rem;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    margin-bottom: 20px;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease-out;
}
.carousel-caption p {
    font-size: 1.8rem;
    max-width: 800px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    animation: fadeInUp 1.2s ease-out;
}

/*公司实力区域*/
.strength-list {
    padding: 30px 0;
}
.strength-list > div {
    padding: 30px 15px;
    transition: all 0.3s ease;
    border-radius: 10px;
}
.strength-list > div:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.strength-list h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.strength-list p {
    font-size: 1.1rem;
    color: #555;
}   
.strength-list img {
    max-height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.strength-list > div:hover img {
    transform: scale(1.1);
}
.jumbotron.bg-danger
.strength-list p,
.strength-list h2,
.jumbotron.bg-dark .strength-list p {
    color: rgba(255, 255, 255, 0.9);
}
/* 底部服务区域 */
.jumbotron.bg-dark {
    background: linear-gradient(135deg, #1a2a6c, #2c3e50);
    color: white;
}
.service-card {
    padding: 40px 20px;
	border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-10px);
}

.service-card img {
    max-height: 80px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-card p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}
/* 页脚样式 */
.footer {
	background-color: #1a1e21;
	color: #adb5bd;
	padding: 4rem 0 2rem;
}

.footer-title {
	font-size: 1.5rem;
	color: white;
	margin-bottom: 1.5rem;
	font-weight: 600;
}

.footer-links a {
	display: block;
	color: #adb5bd;
	margin-bottom: 0.8rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.footer-links a:hover {
	color: white;
	padding-left: 5px;
}

.contact-info {
	margin-bottom: 1rem;
}

.contact-info i {
	width: 30px;
    font-weight: 900;
	color: var(--primary);
}
.contact-info i.mdi:before, 
.contact-info i.mdi:after {
    font-size: 20px;
    vertical-align: middle;
    line-height: 1;
}

.social-links a {
	display: inline-block;
	width: 40px;
	height: 40px;
	background: #2c3034;
	border-radius: 50%;
	text-align: center;
	line-height: 40px;
	color: white;
	margin-right: 10px;
	transition: all 0.3s ease;
}

.social-links a:hover {
	background: var(--primary);
	transform: translateY(-5px);
}

.copyright {
	border-top: 1px solid #2c3034;
	padding-top: 20px;
	margin-top: 40px;
	text-align: center;
	font-size: 0.9rem;
}
/*微信*/
.social-links {
  position: relative;
}

.social-links .wechat-qrcode {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  padding: 10px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 100;
  margin-bottom: 15px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-links .wechat-qrcode:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: white transparent transparent transparent;
}

.social-links a:hover .wechat-qrcode,
.social-links a:focus .wechat-qrcode {
  display: block;
  opacity: 1;
}

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