
.page-hero {
    background-image: url('../images/single-background.jpg');
    position: relative;
    color: white;
    padding: 8rem 0 4rem;
    width: 100%;
    height: 48vh;
    text-align: center;
    background-size: cover;
    background-position: center;
    backface-visibility: hidden;
    overflow: hidden; /* 防止滑动时内容溢出 */
    box-sizing: border-box;
}

/* 添加伪元素遮罩 */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 黑色半透明遮罩，透明度可调 */
    z-index: 1;
}

.page-hero .page-main-title {
    font-size: 2.4rem;
    letter-spacing: 0.05em; /* 字间距微调 */
    color: #f8f8f8; /* 改为暖白色 */
    font-weight: 600;
    margin: 0;
    z-index: 10;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* 加深阴影以提高白色文字可读性 */
    white-space: nowrap;
    transition: all 0.3s ease;
}

.page-hero .page-main-title:hover {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(255, 255, 255, 0.5);
}

.page-hero .page-main-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #a0eaff, #0077ff, #6a0dad);
    background-size: 400% 100%;
    animation: gradientMove 5s linear infinite;
}

/* 动画：让渐变流动起来（可选） */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.page-hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-hero-container p {
    color: whitesmoke;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* 添加轻微阴影提升立体感 */
}

.page-services {
    background-color: #0e0e10; /* 深色背景 */
    color: #ffffff;
    padding: 60px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #00ffe7; /* 科技蓝绿色标题 */
}

.page-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.page-service-card {
    background-color: #1a1a1f;
    border: 1px solid #2a2a30;
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 255, 231, 0.1);
}

.page-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 255, 231, 0.2);
}

.page-service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #00ffe7;
}

.page-service-card p {
    font-size: 16px;
    line-height: 1.5;
    color: #cccccc;
}

.page-service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.single-detail .container h2 {
    display: block;
    font-size: 1.2em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    color: unset;
}