/* 自定义样式 - 优化布局 */
.elegant-container {
    width: 100%;
    max-width: 1200px;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.elegant-header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
}

.elegant-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
    position: relative;
}

.section-title {
    font-size: 2rem;
    color: var(--accent-color);
    text-align: center;
    margin: 20px 0;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(212, 175, 55, 0.2);
}

.elegant-header h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.template-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.elegant-card {
    width: 45%;
    background: var(--secondary-dark);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: perspective(1000px) rotateY(0deg);
}

.elegant-card:hover {
    transform: perspective(1000px) rotateY(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.staff-name {
    text-align: center;
    margin: 20px 0;
}

.staff-name h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.staff-name p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-title {
    font-size: 1.5rem;
    color: var(--accent-color);
    text-align: center;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.elegant-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    margin-top: 12px;
    height: 48px;
    min-width: 160px;
}

.elegant-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.elegant-btn:hover {
    background: #c9a227;
    transform: scale(1.05);
    color: white;
}

.elegant-btn .btn-icon {
    margin-right: 8px;
    display: flex;
    align-items: center;
}
.elegant-btn .btn-icon {
    margin-right: 10px;
}
.elegant-btn .btn-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* 将图标转为白色 */
}

.elegant-btn:hover {
    background: #c9a227;
    transform: scale(1.05);
}

.contact-info .highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.service-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.service-list li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.service-list li i {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-list li i svg {
    width: 100%;
    height: 100%;
}

.service-list li i img {
    width: 20px;
    height: 20px;
    display: block;
    vertical-align: middle;
}

@media (max-width: 992px) {
    .elegant-card {
        width: 100%;
    }
    
    .elegant-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .elegant-header h1 {
        font-size: 2.2rem;
    }
    
    .elegant-card {
        padding: 30px;
    }
}