/* 联系表单样式 */
.section-header p {
    font-size: 22px;
    color: #f08234;
    font-style: normal;
}

/* 我们的联络方式部分 */
.contact-info-section {
    position: relative;
    background: #ffffff;
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.contact-info-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* 联络信息卡片 */
.contact-info-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
}

.contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-width: 300px;
    max-width: 350px;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.contact-card.featured::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 123, 20, 0.15);
    border-color: rgba(255, 123, 20, 0.2);
}

.contact-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

/* 卡片图标 */
.card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon i {
    font-size: 2.5rem;
    color: #ff7b14;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 123, 20, 0.1), rgba(255, 149, 0, 0.05));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-card:hover .card-icon i {
    transform: rotate(15deg);
    box-shadow: 0 6px 22px rgba(255, 123, 20, 0.3);
}

/* 卡片内容 */
.card-content {
    text-align: center;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.3;
    background: linear-gradient(135deg, #1a1a1a, #4a5568);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-address {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.card-address p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.card-address p:last-child {
    margin-bottom: 0;
}

/* 背景裝飾元素 */
.philosophy-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 123, 20, 0.1), rgba(255, 149, 0, 0.05));
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 5%;
    animation-delay: 2s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    left: 15%;
    animation-delay: 4s;
}

.decoration-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 123, 20, 0.1), transparent);
    animation: slide 8s ease-in-out infinite;
}

.line-1 {
    width: 200px;
    height: 2px;
    top: 20%;
    left: -100px;
    animation-delay: 1s;
}

.line-2 {
    width: 150px;
    height: 2px;
    top: 70%;
    right: 0px;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes slide {
    0%, 100% {
        transform: translateX(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateX(100px);
        opacity: 0.8;
    }
}

/* 主要区域 */
.contact-section {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 标题区域 */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1a1a1a, #4a5568);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff7b14, #ff9500);
    margin: 0 auto 24px;
    border-radius: 2px;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.section-note {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}

/* 表单容器 */
.contact-form-container {
    width: 800px;
    padding: 40px;
    border-radius: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

#contactForm {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Layui表单样式覆盖 */
.layui-form {
    margin: 0;
}

.layui-form-item {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.layui-form-item.w-50 {
    width: 48%;
}

.layui-form-label {
    width: 90px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 38px;
    padding: 0 15px 0 0;
}

.layui-input-block {
    flex: 1;
    margin-left: 0 !important;
    position: relative;
}

/* 输入框样式 */
.layui-input,
.layui-textarea {
    width: 100% !important;
    height: auto !important;
    line-height: 1.5 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 0.95rem !important;
    color: #374151 !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    font-family: inherit !important;
    padding: 12px 16px !important;
    box-sizing: border-box !important;
}

.layui-input {
    height: 38px !important;
}

.layui-input:focus,
.layui-textarea:focus {
    border-color: #f08234 !important;
    box-shadow: 0 0 0 3px rgba(240, 130, 52, 0.1) !important;
}

.layui-input::placeholder,
.layui-textarea::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
}

/* 文本域特殊样式 */
.layui-textarea {
    resize: vertical !important;
    min-height: 100px !important;
}

/* 必填字段标识 */
.required {
    color: #ef4444 !important;
    font-weight: 700 !important;
}

/* 帮助图标 */
.form-help-icon {
    margin-left: 4px !important;
    font-size: 14px !important;
    color: #6b7280 !important;
    cursor: help !important;
}

/* 表单提示 */
.form-hint {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 8px;
    margin-top: -4px;
}

/* 复选框组 */
.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.checkbox-group .layui-form-checkbox {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

.checkbox-group .layui-form-checkbox span {
    font-size: 0.95rem !important;
    color: #374151 !important;
    padding-left: 8px !important;
}

/* 复选框样式覆盖 */
.layui-form-checkbox[lay-skin="primary"] span:before {
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    width: 18px !important;
    height: 18px !important;
}

.layui-form-checkbox[lay-skin="primary"]:hover span:before {
    border-color: #f08234 !important;
}

.layui-form-checked[lay-skin=primary]>i {
    background-color: #f08234 !important;
    border-color: #f08234 !important;
}

.layui-form-checkbox[lay-skin=primary]:hover>i {
    border-color: #f08234 !important;
}

.layui-form-checkbox[lay-skin="primary"] i {
    border-radius: 2px !important;
}

/* 按钮样式 */
.layui-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
    font-family: inherit !important;
    height: auto !important;
    line-height: 1 !important;
}

.layui-btn.submit-btn {
    background: linear-gradient(135deg, #f08234 0%, #e67e22 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(240, 130, 52, 0.2) !important;
}

.layui-btn.submit-btn:hover {
    transform: translateY(-1px) !important;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
}

.layui-btn.layui-btn-primary.reset-btn {
    background: #ffffff !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
}

.layui-btn.layui-btn-primary.reset-btn:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    transform: translateY(-1px) !important;
    color: #374151 !important;
}

/* 按钮图标样式 */
.btn-icon {
    width: 16px !important;
    height: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-text {
    font-weight: 600 !important;
}

/* 表单动作区域 */
.form-actions .layui-input-block {
    display: flex !important;
    gap: 16px !important;
    justify-content: center !important;
    margin-top: 32px !important;
    padding-top: 24px !important;
}

/* 响应式设计 - 移动端适配 */
@media (max-width: 1400px) {
    .contact-info-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .contact-info-content {
        padding: 0 16px;
    }
    
    .contact-info-cards {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-card {
        min-width: 280px;
        max-width: 320px;
        padding: 30px 25px;
        flex: 1 1 calc(50% - 10px);
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-form-container {
        padding: 32px;
        max-width: 100%;
        width: 90%;
    }
    
    /* 地图适配 */
    #mapSection {
        padding: 0 16px;
    }
    
    #mapSection .map_part {
        width: 100% !important;
        height: 300px !important;
    }
}

@media (max-width: 1200px) {
    .contact-info-section {
        padding: 50px 0;
    }
    
    .contact-info-cards {
        gap: 18px;
        flex-wrap: wrap;
    }
    
    .contact-card {
        min-width: 250px;
        max-width: 300px;
        padding: 28px 22px;
        flex: 1 1 calc(33.333% - 12px);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 30px;
        max-width: 100%;
        width: 92%;
    }
}

@media (max-width: 1024px) {
    .contact-info-section {
        padding: 45px 0;
    }
    
    .contact-info-cards {
        gap: 16px;
    }
    
    .contact-card {
        min-width: 240px;
        max-width: 280px;
        padding: 25px 20px;
        flex: 1 1 calc(50% - 8px);
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .contact-form-container {
        padding: 28px;
        max-width: 100%;
        width: 95%;
    }
}

@media (max-width: 768px) {
    .contact-info-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .contact-info-content {
        padding: 0 12px;
    }
    
    .contact-info-cards {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .contact-card {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        padding: 25px 20px;
        margin: 0 8px;
    }
    
    .contact-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .card-icon i {
        font-size: 1.8rem;
        width: 45px;
        height: 45px;
    }
    
    .card-address p {
        font-size: 0.9rem;
    }
    
    .contact-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
        text-align: center;
        padding: 0 16px;
    }
    
    .contact-form-container {
        padding: 20px;
        margin-bottom: 30px;
        max-width: 100%;
        width: 100%;
    }
    
    .layui-btn {
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* 地图移动端适配 */
    #mapSection {
        padding: 0 12px;
        margin: 20px 0;
    }
    
    #mapSection .map_part {
        width: 100% !important;
        height: 250px !important;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .contact-info-section {
        padding: 30px 0;
    }
    
    .contact-info-content {
        padding: 0 8px;
    }
    
    .contact-card {
        padding: 20px 16px;
        margin: 0 4px;
    }
    
    .card-icon i {
        font-size: 1.6rem;
        width: 40px;
        height: 40px;
    }
    
    .card-address p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-subtitle {
        font-size: 0.9rem;
        padding: 0 12px;
    }
    
    .contact-section {
        padding: 30px 0;
    }
    
    .contact-form-container {
        padding: 16px;
        margin-bottom: 20px;
        max-width: 100%;
        width: 100%;
    }
    
    .layui-input,
    .layui-textarea {
        padding: 10px 14px !important;
        font-size: 0.9rem !important;
    }
    
    .layui-btn {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 24px !important;
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
    }
    
    /* 地图小屏幕适配 */
    #mapSection {
        padding: 0 8px;
        margin: 16px 0;
    }
    
    #mapSection .map_part {
        width: 100% !important;
        height: 200px !important;
        border-radius: 6px;
    }
}

/* 地圖 -start */
#mapSection {
    padding: 0;
}

#mapSection p,
#mapSection .map_part {
    width: 100%;
}
/* 地圖 -end */
