/* 英雄区域样式 */
.hero-about {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004085 100%);
    color: var(--white);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* 学院简介样式 */
.about-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.about-text {
    animation: fadeInRight 1s ease-out;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-color);
    margin-bottom: var(--spacing-lg);
}

.about-image-wrapper {
    position: relative;
    animation: fadeInLeft 1s ease-out;
}

.about-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.about-image-container:hover {
    transform: rotateY(5deg) rotateX(5deg) scale(1.02);
}

.facility-photo {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    transition: transform 0.6s ease;
}

.about-image-container:hover .facility-photo {
    transform: scale(1.05);
}

/* 数据统计样式 */
.stats-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--light-color) 0%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-xxl);
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform-style: preserve-3d;
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: translateZ(30px);
}

.stat-card:hover {
    transform: translateY(-10px) rotateX(5deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    display: block;
    transform: translateZ(20px);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    color: var(--secondary-color);
    transform: translateZ(40px) scale(1.1);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: var(--spacing-lg);
    transform: translateZ(10px);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-label {
    color: var(--dark-color);
}

.stat-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.1;
    transform: translateZ(50px);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    opacity: 0.3;
    transform: translateZ(60px) scale(1.2);
}

.stats-note {
    text-align: center;
    margin-top: var(--spacing-lg);
    color: var(--gray-color);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* 优质领先官方样式 */
.features-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
    position: relative;
    background: linear-gradient(135deg, #f0f4f8 0%, #e9ecef 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-xxl);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.6s ease;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, transparent 100%);
    transform: translateZ(-10px);
    transition: all 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-10px) rotateY(5deg) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-lg);
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transform: translateZ(30px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.feature-card:hover .feature-icon {
    transform: translateZ(50px) scale(1.1) rotateY(360deg);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    transform: translateZ(20px);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--primary-color);
    transform: translateZ(40px);
}

.feature-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-color);
    transform: translateZ(10px);
    transition: all 0.3s ease;
}

/* 荣誉资质样式 */
.honors-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    position: relative;
    overflow: hidden;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.honor-card {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transform-style: preserve-3d;
    backdrop-filter: blur(10px);
}

.honor-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
}

.honor-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.3s ease;
    transform: translateZ(20px);
}

.honor-card:hover .honor-icon {
    transform: translateZ(40px) scale(1.1) rotateY(360deg);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.honor-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-color);
    line-height: 1.5;
    transform: translateZ(10px);
    transition: all 0.3s ease;
}

/* 联系我们 */
.contact-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* 人物形象与联系信息 */
.contact-main {
    padding: var(--spacing-xxl) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 300px 1fr 200px;
    gap: var(--spacing-xxl);
    align-items: stretch;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* 人物形象 */
.contact-image {
    flex: 0 0 300px;
    position: relative;
    height: 100%;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.contact-image img:hover {
    transform: scale(1.05);
}

/* 联系信息 */
.contact-info {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #004085);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.info-text {
    flex: 1;
}

.info-text p {
    font-size: 1rem;
    color: var(--gray-color);
    margin-bottom: var(--spacing-xs);
}

.info-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* 在线客服和QQ群 */
.contact-buttons {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    align-self: stretch;
}

.contact-btn {
    display: block;
    transition: transform 0.3s ease;
    flex: 0 0 auto;
    margin-bottom: var(--spacing-md);
}

.contact-btn:last-child {
    margin-bottom: 0;
}

.contact-btn:hover {
    transform: translateY(-3px);
}

.contact-btn img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.contact-btn:hover img {
    transform: scale(1.05);
}

/* 地图部分 */
.contact-map {
    background-color: var(--white);
    padding: var(--spacing-xxl) 0;
    border-top: 1px solid var(--gray-light);
}

.map-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.map-image {
    margin-top: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.map-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.map-image img:hover {
    transform: scale(1.02);
}

/* 新增内容 */
.xy-part4 {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--white);
    margin-top: 0;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.xy-part4 h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.avatars-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 30px;
}

.avatar-real {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-left: -10px;
}

.avatar-real:first-child {
    margin-left: 0;
}

.avatar-real:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.avatar-real img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xy-part4 a.pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #004085 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    line-height: normal;
    text-align: center;
    margin-top: 20px;
    animation: pulse 2s infinite;
}

.xy-part4 a.pulse:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 动画效果 */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(10%) translateY(10%);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    /* 联系我们 */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .contact-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        height: 300px;
        margin: 0 auto;
    }
    
    .contact-buttons {
        flex-direction: row;
        justify-content: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-btn {
        flex: 1;
        margin: 0 var(--spacing-xs);
    }
}

@media (max-width: 992px) {
    /* 学院简介 */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    /* 数据统计 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 优质领先官方 */
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* 英雄区域 */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* 数据统计 */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* 荣誉资质 */
    .honors-grid {
        grid-template-columns: 1fr;
    }
    
    /* 联系我们 */
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-buttons {
        align-items: center;
    }
    
    .contact-btn {
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    /* 英雄区域 */
    .hero-about {
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    /* 学院简介 */
    .about-section {
        padding: var(--spacing-xl) 0;
    }
    
    /* 数据统计 */
    .stats-section {
        padding: var(--spacing-xl) 0;
    }
    
    /* 优质领先官方 */
    .features-section {
        padding: var(--spacing-xl) 0;
    }
    
    /* 荣誉资质 */
    .honors-section {
        padding: var(--spacing-xl) 0;
    }
    
    /* 联系我们 */
    .contact-section {
        padding: var(--spacing-xl) 0;
    }
    
    .contact-main {
        padding: var(--spacing-xl) 0;
    }
    
    .contact-map {
        padding: var(--spacing-xl) 0;
    }
}