/* 更新颜色变量 */
:root {
    --primary-color: #b7032a;
    --primary-dark: #b7032a;
    --text-color: #333;
    --light-bg: #f8f8f8;
    --white: #fff;
    --dark-bg: #1a1a1a;
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}
/*indexbutton*/
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--white);
}


/* 导航栏样式 */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 70px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links li:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 主视觉区域 */
    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                    url("../images/download.jpg"); 
        background-size: contain;
        background-position: center;
        height: 100vh;
        display: flex;
        align-items: center;
        text-align: center;
        color: white;
    }


.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}


.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* index services */
.services-highlight {
    background: #f4f6f9; 
}

.services-highlight .section-title h2 {
    color: #b7032a; 
}

.services-highlight .section-title p {
    color: black; 
}

.services-highlight .service-card {
    background: #ffffff;
    border: 1px solid rgba(0, 33, 71, 0.1);
}

.services-highlight .service-card h3 {
    color: black; 
}

.services-highlight .service-card p {
    color: #555; 
}

.services-highlight .service-card a {
    color: black; 
    font-weight: 600;
}

.services-highlight .service-card a:hover {
    color: black; 
}

.services-highlight {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 15px auto 0;
}

/* 可扩展服务区域样式 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin-bottom: 0;
    transform: translateY(20px);
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.service-card.visible {
        display: block;
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-bottom: 0;
}

.expand-button-container {
    text-align: center;
    margin-top: 20px;
}

#expandServices {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#expandServices:hover {
    background: var(--primary-color);
    color: var(--white);
}

#expandServices i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #b7032a;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
}

.service-card a {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.service-card a i {
    font-size: 1rem;
    margin-left: 5px;
    margin-bottom: 0;
}

/* index about us */
.about-content {
    display: block; /* Changed from grid to block */
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px; /* Added padding for better spacing */
    font-size: 20px;
    text-align: center;
}

.about-content p {
    margin-bottom: 30px; /* 控制文字和按钮之间的空隙 */
    text-align: center;
}

.about-content .btn {
     display: inline-block;           /* 让按钮占一行 */
    margin: 0 auto;           /* 左右居中 */
    text-align: center;       /* 按钮内部文字居中 */
}

.about-preview {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
}

.about-text {
    background-color: #000; 
    color: #fff; 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); 
    margin-bottom: 30px；
}

.about-text h2 {
    text-align: center; 
    color: #fff; 
}

.about-text p {
    text-align: justify; 
    color: #fff; 
}

/* 避免其他样式覆盖颜色 */
.about-text,
.about-text h2,
.about-text p {
    color: #fff !important;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    pointer-events: none;
}

.about-text {
    background-color: #000;
    color: #fff;
    padding: 40px; 
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 100%; 
}



/* 页脚 */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 80px 0 20px;
    position: relative;
}

.footer-logo-name {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}


.footer-logo {
    height: 40px; /* 稍微减小尺寸 */
    width: auto; /* 保持原始比例 */
}

.company-name {
    margin-top: -10px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: none;
}

.footer-col h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    transition: all 0.3s ease;
    color: #ccc;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-col p{
    transition: all 0.3s ease;
    color: #ccc;
    margin-bottom: 15px;
}

.footer-col p:hover{
    color: var(--primary-color);
    padding-left:5px;
}

.footer-logo-name:hover .footer-logo {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.footer-col i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}



.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        height: 80vh;
        margin-top: 70px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .services-highlight,
    .about-preview {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn, .btn-outline {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/*about us*/


.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    
}

.strengths-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.strength-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.strength-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 134, 91, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.strength-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.strength-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.approach-section {
    padding: 100px 0;
    background: var(--white);
}

.approach-steps {
    max-width: 800px;
    margin: 50px auto 0;
}

.approach-step {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 30px;
}

.step-content {
    padding-top: 10px;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 40vh;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .about-section,
    .strengths-section,
    .approach-section {
        padding: 60px 0;
    }
    
    .approach-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .strengths-grid {
        grid-template-columns: 1fr;
    }
}

/* Practice Areas */
.page-header {
    background: #b7032a !important;
    background-size: cover;
    background-position: center;
    height: 50vh; 
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    position: relative;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.practice-nav {
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 80px; /* 根据主导航高度调整 */
    z-index: 999;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.practice-nav-inner {
    display: flex;
    overflow-x: auto;
    padding: 15px 0;
    scrollbar-width: none; /* Firefox */
    flex-wrap: nowrap; /* 不换行 */
    -webkit-overflow-scrolling: touch; /* 提高移动端流畅度 */
}

.practice-nav-inner::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.practice-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    min-width: 100px;
    color: var(--text-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
    border-bottom: 3px solid transparent;
}

.practice-nav-item i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.practice-nav-item span {
    font-size: 0.9rem;
    font-weight: 600;
}

.practice-nav-item:hover, .practice-nav-item.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

section[id] {
    scroll-margin-top: 200px;
}

.practice-areas {
    padding: 80px 0;
}

.practice-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 100px;
    scroll-margin-top: 200px;
    
}

.practice-area:last-child {
    margin-bottom: 0;
}

.practice-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.practice-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.practice-content p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: #555;
}

.practice-details {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.practice-details h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.practice-details ul {
    list-style: none;
}

.practice-details ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.practice-details ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.practice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.practice-icon i {
    font-size: 8rem;
    color: white(255, 134, 91, 0.1);
}

.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    padding: 15px 40px;
}

.cta-section .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .practice-area {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 70px;
    }
    
    .practice-icon {
        order: -1;
    }
    
    .practice-icon i {
        font-size: 6rem;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    section[id] {
    scroll-margin-top: 80px;
    }

    .page-header {
        height: 40vh;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .practice-nav {
        top: 70px;
    }
    
    .practice-area {
        scroll-margin-top: 120px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .practice-content h2 {
        font-size: 1.8rem;
    }
    
    .practice-details {
        padding: 20px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}



.partners-section {
    padding: 80px 0;
}
.social-icon-with-text {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* 图标和文字的间距 */
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

.icon-circle {
    width: 20px;
    height: 20px;
    background-color: #b7032a; /* 灰色背景 */
    color: white; /* 图标颜色 */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-left: 30px;
}

.icon-circle1 {
    width: 20px;
    height: 20px;
    background-color: #b7032a; /* 灰色背景 */
    color: white; /* 图标颜色 */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-left: 15px;
}

.icon-circle:hover {
    background-color: #b7032a;
    transform: scale(1.1);
}

.icon-text {
    font-size: 16px;
    color: #b7032a; /* 文字颜色 */
    font-weight: 600;
}



.partner-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.partner-photo {
    position: relative;
}

.partner-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partner-contact {
    margin-top: 20px;
    text-align: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-link i {
    margin-right: 8px;
}

.partner-details h2 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.partner-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 500;
}

.partner-expertise h3, 
.partner-qualifications h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 10px;
}

.partner-expertise h3::after,
.partner-qualifications h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.expertise-tags li {
    background: rgba(255, 134, 91, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.partner-bio {
    margin-bottom: 30px;
}

.partner-bio p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.partner-qualifications ul {
    list-style: none;
}

.partner-qualifications ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.partner-qualifications ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    padding: 15px 40px;
}

.cta-section .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .partner-profile {
        grid-template-columns: 250px 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 40vh;
    }
    
    .partners-section {
        padding: 60px 0;
    }
    
    .partner-profile {
        grid-template-columns: 1fr;
        margin-bottom: 60px;
    }
    
    .partner-photo {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .partner-details h2 {
        font-size: 1.8rem;
    }
    
    .expertise-tags {
        gap: 8px;
    }
    
    .expertise-tags li {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
}

/* contact */


.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-form h2,
.contact-info h2,
.map-container h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-form h2::after,
.contact-info h2::after,
.map-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 134, 91, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
}

.info-box {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 134, 91, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.info-content h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.info-content p,
.info-content a {
    color: #555;
    line-height: 1.6;
}

.info-content a:hover {
    color: var(--primary-color);
}

.map-container {
    margin-top: 60px;
}

.map-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.email-status {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  padding: 24px 30px;
  background-color: #b7032a;
  color: #ffffff;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  z-index: 9999;
}

.email-status-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 350px;
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: modalFadeIn 0.3s ease-out;
    z-index: 10000;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translate(-50%, -48%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.modal-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    color: #b7032a;
}

.modal-icon svg {
    width: 100%;
    height: 100%;
}

.modal-title {
    margin: 0 0 10px;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.modal-message {
    margin: 0 0 20px;
    color: #666;
    font-size: 15px;
    line-height: 1.4;
}

.modal-close-btn {
    padding: 10px 20px;
    background-color: #b7032a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-close-btn:hover {
    background-color: #9a0224;
}

.no-scroll {
    overflow: hidden;
}

.error-message {
    color:  #b7032a;        
    font-size: 14px;       
    margin-top: 5px;       
    display: block;       
    font-weight: bold;     
}


/* 响应式设计 */
@media (max-width: 992px) {
    .contact-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 40vh;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .info-box {
        flex-direction: column;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .contact-form h2,
    .contact-info h2,
    .map-container h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
}