/* 通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面默认背景色为白色 */
html, body {
    background-color: #ffffff !important;
}

/* 导航栏 - 蓝色渐变，覆盖style.css中的默认样式 */
.navbar {
    background: linear-gradient(to bottom, #1989fa, #409eff) !important;
    box-shadow: none !important;
}

/* 导航栏文字颜色为白色 */
.navbar .nav-item {
    color: #fff !important;
}

.navbar .nav-item:hover {
    color: #e3f2fd !important;
    border-bottom: 2px solid #e3f2fd !important;
}

.navbar .nav-item.active {
    color: #fff !important;
    border-bottom: 2px solid #fff !important;
}

/* 顶部大区域（导航栏 + Banner） */
.contact-header {
    position: relative;
    display: flex;
    flex-direction: column;
    color: white;
    overflow: hidden;
    margin-bottom: 60px;
}

/* Banner区域 - 蓝色渐变 */
.recruit-banner {
    height: 400px;
    background: linear-gradient(to bottom, #409eff, #7ec1ff, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.banner-title {
    font-size: 42px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.banner-desc {
    font-size: 18px;
    color: #fff;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.6;
}

.banner-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.banner-title {
    font-size: 42px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.banner-desc {
    font-size: 18px;
    color: #fff;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.6;
}

/* Banner内容 */
.banner-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.banner-title {
    font-size: 42px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.banner-desc {
    font-size: 18px;
    color: #fff;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.6;
}

/* 导航栏容器 - 蓝色渐变 */
.contact-nav-container {
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, #1989fa, #409eff);
    padding: 0;
}

/* 导航内容 */
.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Logo样式 */
.logo {
    display: flex;
    align-items: center;
    margin-left: -160px;
}

.logo p {
    color: #ffffff;
    font-size: 16px;
    margin-left: 10px;
}

.logo-tag {
    margin-left: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* 联系我们页面导航栏样式 - 覆盖style.css */
#contact-app .navbar {
    background: linear-gradient(to bottom, #1989fa, #409eff);
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

#contact-app .nav-item {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
}

#contact-app .nav-item:hover {
    color: #e3f2fd;
    border-bottom: 2px solid #e3f2fd;
}

#contact-app .nav-item.active {
    color: #fff;
    border-bottom: 2px solid #fff;
}

/* Banner内容 */
.contact-banner-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
    padding: 0 20px;
}

.contact-banner-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.contact-banner-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 容器样式 */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    background-color: #ffffff;
}

/* 导航样式 */
.contact-nav {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 60px;
    justify-content: center;
}

.contact-nav-item {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.contact-nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #409EFF;
    transition: all 0.3s ease;
}

.contact-nav-item:hover::after {
    width: 80%;
}

.contact-nav-item.active {
    color: #409EFF;
}

.contact-nav-item.active::after {
    width: 80%;
}

/* 内容区域 */
.contact-content {
    min-height: 600px;
}

.contact-section {
    display: none;
    animation: fadeInUp 0.8s ease-out;
}

.contact-section.active {
    display: block;
}

/* 标题样式 */
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #303133;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #409EFF;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: #606266;
    margin-bottom: 40px;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 推荐活动样式 */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.activity-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.activity-card:nth-child(1) { animation-delay: 0.1s; }
.activity-card:nth-child(2) { animation-delay: 0.2s; }
.activity-card:nth-child(3) { animation-delay: 0.3s; }
.activity-card:nth-child(4) { animation-delay: 0.4s; }

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.activity-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #409EFF;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.activity-content {
    padding: 25px;
}

.activity-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #303133;
}

.activity-desc {
    font-size: 14px;
    color: #606266;
    line-height: 1.6;
    margin-bottom: 16px;
}

.activity-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #909399;
}

.activity-info i {
    margin-right: 5px;
    color: #409EFF;
}

/* 合作相关样式 */
.cooperation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.coop-type-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.coop-type-card:nth-child(1) { animation-delay: 0.1s; }
.coop-type-card:nth-child(2) { animation-delay: 0.2s; }
.coop-type-card:nth-child(3) { animation-delay: 0.3s; }
.coop-type-card:nth-child(4) { animation-delay: 0.4s; }

.coop-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #409EFF;
}

.coop-icon {
    width: 80px;
    height: 80px;
    background-color: #e6f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.coop-type-card:hover .coop-icon {
    background-color: #409EFF;
}

.coop-icon i {
    font-size: 36px;
    color: #409EFF;
    transition: all 0.3s ease;
}

.coop-type-card:hover .coop-icon i {
    color: white;
}

.coop-type-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #303133;
}

.coop-type-card p {
    font-size: 14px;
    color: #606266;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 合作流程样式 */
.coop-process {
    margin-top: 60px;
    padding: 40px;
    background-color: #f5f7fa;
    border-radius: 12px;
}

.process-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #303133;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #409EFF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
}

.step-content h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #303133;
}

.step-content p {
    font-size: 13px;
    color: #606266;
}

.process-arrow {
    color: #409EFF;
    font-size: 24px;
    margin: 0 10px;
}

/* 联系方式样式 */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-method-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.contact-method-card:nth-child(1) { animation-delay: 0.1s; }
.contact-method-card:nth-child(2) { animation-delay: 0.2s; }
.contact-method-card:nth-child(3) { animation-delay: 0.3s; }
.contact-method-card:nth-child(4) { animation-delay: 0.4s; }

.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #409EFF;
}

.method-icon {
    width: 70px;
    height: 70px;
    background-color: #e6f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-method-card:hover .method-icon {
    background-color: #409EFF;
}

.method-icon i {
    font-size: 32px;
    color: #409EFF;
    transition: all 0.3s ease;
}

.contact-method-card:hover .method-icon i {
    color: white;
}

.contact-method-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #303133;
}

.method-value {
    font-size: 18px;
    font-weight: 600;
    color: #409EFF;
    margin-bottom: 8px;
}

.method-time {
    font-size: 13px;
    color: #909399;
}

/* 联系表单样式 */
.contact-form-section {
    margin-top: 60px;
    padding: 40px;
    background-color: #f5f7fa;
    border-radius: 12px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    color: #303133;
}

.form-subtitle {
    font-size: 14px;
    color: #606266;
    text-align: center;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 触控优化 */
.navbar, .nav-item, .contact-nav-item, .activity-card, .coop-type-card, .contact-method-card, button, .el-button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* 平板设备 */
@media (max-width: 992px) {
    .nav-content {
        padding: 0 15px;
    }
    
    .logo {
        margin-left: 0;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-item {
        font-size: 14px;
    }
    
    .contact-container {
        padding: 0 15px 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .coop-process {
        padding: 30px 20px;
    }
    
    .contact-form-section {
        padding: 30px 20px;
    }
}

/* 手机设备 */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .nav-content {
        flex-direction: column;
        height: auto;
        padding: 12px 15px;
    }
    
    .logo {
        margin-bottom: 12px;
        width: 100%;
        justify-content: center;
    }
    
    .logo p {
        display: none;
    }
    
    .nav-menu {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item {
        font-size: 14px;
        padding: 8px 12px;
        border-radius: 8px;
    }
    
    #contact-app .nav-item:hover,
    #contact-app .nav-item.active {
        border-bottom: none;
        background: rgba(255, 255, 255, 0.2);
    }
    
    .recruit-banner {
        height: 180px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-desc {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .contact-container {
        padding: 0 12px 40px;
    }
    
    .contact-nav {
        flex-wrap: wrap;
        gap: 8px;
        border-bottom: none;
        margin-bottom: 40px;
    }
    
    .contact-nav-item {
        padding: 12px 20px;
        font-size: 16px;
        flex: 1;
        min-width: 100px;
        text-align: center;
        border-radius: 8px;
        background-color: #f5f7fa;
        border: none;
    }
    
    .contact-nav-item::after {
        display: none;
    }
    
    .contact-nav-item:hover,
    .contact-nav-item.active {
        background-color: #409EFF;
        color: white;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .activities-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }
    
    .activity-image {
        height: 180px;
    }
    
    .activity-content {
        padding: 20px;
    }
    
    .cooperation-types {
        gap: 20px;
        grid-template-columns: 1fr;
    }
    
    .coop-type-card {
        padding: 25px 20px;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .contact-methods {
        gap: 20px;
        grid-template-columns: 1fr;
    }
    
    .contact-method-card {
        padding: 25px 20px;
    }
    
    .contact-form-section {
        padding: 25px 15px;
    }
    
    .contact-form .el-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .contact-form .el-col {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .contact-form .el-form-item {
        margin-bottom: 18px;
    }
    
    .contact-form .el-button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* 页脚 */
    .footer {
        padding: 20px 0 15px;
        margin-top: 20px;
    }
    
    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 0 15px;
    }
    
    .footer-col {
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
        min-width: auto;
        flex: none;
        width: calc(33.33% - 10px);
        max-width: 120px;
    }
    
    .footer-col h4 {
        font-size: 13px;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
    }
    
    .footer-col p {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .footer-right {
        text-align: center;
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        margin-top: 10px;
        order: 10;
    }
    
    .company-name {
        font-size: 12px !important;
        margin-top: 10px !important;
    }
    
    .icp-info {
        font-size: 11px !important;
        margin-top: 6px !important;
    }
    
    .footer-bottom {
        padding: 15px 15px 0;
        margin-top: 15px;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .nav-content {
        padding: 10px 10px;
    }
    
    .nav-menu {
        gap: 8px;
    }
    
    .nav-item {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .recruit-banner {
        height: 150px;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .banner-desc {
        font-size: 13px;
    }
    
    .contact-container {
        padding: 0 10px 30px;
    }
    
    .contact-nav-item {
        padding: 10px 15px;
        font-size: 15px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .activity-image {
        height: 160px;
    }
    
    .activity-content {
        padding: 18px;
    }
    
    .coop-type-card {
        padding: 20px 15px;
    }
    
    .contact-method-card {
        padding: 20px 15px;
    }
    
    .contact-form-section {
        padding: 20px 12px;
    }
}

/* 移动端点击效果 */
@media (hover: none) {
    .activity-card:active,
    .coop-type-card:active,
    .contact-method-card:active {
        transform: scale(0.98);
    }
    
    .contact-nav-item:active {
        transform: scale(0.98);
    }
    
    #contact-app .nav-item:active {
        background: rgba(255, 255, 255, 0.3);
    }
}