/* 通用设置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    background: #fff;
    color: #333;
}

h1 {
    text-align: center;
    margin: 1.5em 0;
}

/* 顶部导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;

    background: rgba(225, 230, 240, 0.6);
    /* 半透明 */
    backdrop-filter: blur(10px);
    /* 毛玻璃 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    /* 下边框 */
}

.logo img {
    width: 50px;
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a,
.login a {
    color: #004080;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.login a:hover {
    color: #cce6ff;
}

.nav-links a:hover::after,
.login a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #cce6ff;
}

.nav-links a.active {
    color: #004080;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #004080;
}

.login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login img {
    width: 20px;
    height: 20px;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 738px;
    /* padding-top: 80px; */
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 5;
}

/* .carousel-controls::before {
    content: "Our Ultimate Aim is To Further";
    position: absolute;
    top: 150px;
    left: 10px;
    color: white;
    font-size: 40px;
    width: 100%;
    height: 100%;
} */

/* .carousel-controls::after {
    content: "The Success of Your Business !";
    position: absolute;
    top: 200px;
    left: 90px;
    color: white;
    font-size: 40px;
    width: 100%;
    height: 100%;
} */

.carousel-controls span {
    font-size: 2rem;
    cursor: pointer;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* 四张卡片区域 */
/* .features {
    display: flex;
    justify-content: space-around;
    
    gap: 3.2rem;
    padding: 2rem;
    flex-wrap: nowrap;
} */
.features {
    display: flex;
    justify-content: space-between;
    gap: 3.2rem;
    padding: 2rem;
    flex-wrap: nowrap;
    width: 1400px;
    margin: 0 auto;
}

.card {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    width: 300px;
    height: 200px;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card .left {
    display: flex;
    justify-self: center;
    align-items: center;
    padding-right: 10px;
}

.card .left img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.card .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.card .right h3 {
    margin-bottom: 0.3rem;
    color: #004080;
    font-size: 1.2rem;
}

.card .right p {
    font-size: 0.89rem;
    color: #555;
}

/* 图文组合信息块 */
.about-section {
    padding: 4rem 2rem;
    background-color: #f4f8fc;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image img {
    width: 80%;
    height: 80%;
}

.about-text {
    flex: 1 1 60%;
    margin-left: 10px;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #004080;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1rem;
}

.about-image4 {
    width: 17%;
    height: 17%;
}

.about-section2,
.about-section4 {
    background-color: #fff;
}

.cta-card {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #004080, #0066cc);
    color: white;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-card:hover .arrow-icon {
    transform: translateX(6px);
}

/* 品牌 Logo 区域样式 */
.brand-carousel-wrapper {
    margin-top: 3rem;
    padding: 1rem 2rem;
    text-align: center;
}

.brand-title {
    color: #555555;
    font-size: 1.5rem;
}

.brand-carousel {
    overflow: hidden;
    position: relative;
}

.brand-track {
    display: inline-flex;
    gap: 3rem;
    align-items: center;
    padding: 0.5rem 0;
    /* animation: scrollLeft 30s linear infinite; */
    will-change: transform;
    transform: translateZ(0);
}

.brand-carousel img {
    height: 95px;
    max-width: 180px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.brand-carousel img:hover {
    opacity: 1;
    transform: scale(1.4);
    filter: grayscale(0%);
}

.brand-carousel::before,
.brand-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brand-carousel::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.brand-carousel::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.brand-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 底部 */
.site-footer {
    background-color: #002244;
    color: #ccc;
    padding: 1.2rem 2rem;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.footer-links a:hover {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

.footer-text {
    white-space: nowrap;
    margin-left: auto;
}

/* 图片遮罩层 */
.circular-image {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-image img {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.circular-overlay {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    /* background: rgba(0, 64, 128, 0.6); */
    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-image:hover .circular-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    padding: 0 10px;
}

/* .circular-image:hover .overlay-text {
    opacity: 1;
    transform: translateY(0);
} */