/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}
a {text-decoration: none;}
.mymain {
    width: 1200px;
    overflow: hidden;
    margin: 0 auto;
}
.fl {float: left;}
.fr {float: right;}
.clearfix:after{content: ''; display: block; height: 0; clear: both; visibility: hidden;  }
.clearfix {/* 触发 hasLayout */ zoom: 1; }
.container {
    width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: #7f88db;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #7f88db;
}

.section-subtitle {
    color: #7f88db;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #7f88db;
}

/* 主题大图模块 */
.hero-banner {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-content {
    max-width: 900px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    background-color: #7f88db;
    color: white;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.hero-btn:hover {
    background-color: white;
    color: #7f88db;
}

/* 联系我们模块 */
.contact-section {
    padding: 60px 0;
    background-color: white;
}

.contact-content {
    display: flex;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    color: #7f88db;
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    background-color: #dcdef5;
    border-radius: 50%;
}

.contact-text {
    font-size: 18px;
    line-height: 1.5;
}

.contact-btn {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.online-service-btn {
    background-color: #7f88db;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    text-align: center;
    width: 160px;
    text-decoration: none;
}

.online-service-btn:hover {
    background-color: #4c55a8;
    transform: scale(1.05);
}

.work-time {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 10px;
}

/* 最新报名名单模块 */
.enroll-section {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.enroll-list {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.enroll-scroll-container {
    height: 260px; /* 减去表格标题高度 */
    overflow: hidden;
    position: relative;
}

.enroll-list table {
    width: 100%;
    border-collapse: collapse;
    position: absolute;
    top: 0;
    left: 0;
    transition: top 0.5s ease;
}

.enroll-list th {
    background-color: #7f88db;
    color: white;
    padding: 12px 15px;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 10;
}

.enroll-list td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.enroll-list tr:nth-child(even) {
    background-color: #f9f9f9;
}
/* 来校路线模块 */
.route-section {
    padding: 60px 0;
    background-color: white;
}

.map-container {
    width: 100%;
    height: 300px;
    margin: 0 auto 30px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.address-text {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
}

.transport-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.transport-item {
    width: 32%;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.transport-icon {
    color: #7f88db;
    font-size: 24px;
    margin-right: 15px;
    margin-top: 3px;
    background-color: #dcdef5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.transport-text {
    flex: 1;
}

.transport-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 18px;
}

/* 网上报名模块 */
.apply-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.promo-cards {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.promo-card {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #7f88db;
    overflow: hidden;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(127, 136, 219, 0.1);
}

.promo-card-icon {
    font-size: 36px;
    color: #7f88db;
    width: 70px;
    height: 70px;
    line-height: 70px;
    margin: 0 auto 15px;
    background-color: #dcdef5;
    border-radius: 50%;
}

.promo-card-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.promo-card-desc {
    font-size: 18px;
    color: #7f88db;
    font-weight: bold;
}

.promo-card-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: #7f88db;
    color: white;
    padding: 3px 30px;
    font-size: 12px;
    transform: rotate(45deg);
    width: 120px;
    text-align: center;
}

.apply-content {
    display: flex;
    margin-top: 30px;
    gap: 30px;
    align-items: stretch;
}

.apply-form {
    width: 720px;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #7f88db;
    outline: none;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.submit-btn {
    background-color: #7f88db;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #ff7393;
}

.apply-gallery {
    width: 450px;
    height: auto;
}

.swiper-container {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.swiper-slide {
    height: 100%;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet-active {
    background: #7f88db;
}

/* 招生要求模块 */
.requirement-section {padding: 60px 0;}
.requirement-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(127, 136, 219, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #7f88db;
    margin-bottom: 50px;
}

.requirement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(127, 136, 219, 0.15);
}

.requirement-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.requirement-column {
    padding: 15px 50px;
}

.column-title {
    color: #7f88db;
    font-size: 18px;
    margin: 20px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dcdef5;
    display: flex;
    align-items: center;
}

.column-title i {
    margin-right: 10px;
    font-size: 16px;
}

.requirement-column ul {
    list-style: none;
    padding-left: 0;
}

.requirement-column li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
    font-size: 15px;
}

.requirement-column li i {
    color: #7f88db;
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 14px;
}

.process-list {
    list-style: none;
    padding-left: 0;
    counter-reset: step-counter;
}

.process-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 15px;
}

.process-step {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: #7f88db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.card-header { 
    text-align: center;
    margin: 30px auto 0 auto;
    width: 100%;
}

@media (max-width: 992px) {
    .requirement-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .requirement-grid {
        grid-template-columns: 1fr;
    }
    
    .requirement-column {
        padding: 10px 0;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .transport-item {
        width: 100%;
    }
    
    .apply-content {
        flex-direction: column;
    }
    
    .apply-form {
        width: 100%;
    }
    
    .apply-gallery {
        width: 100%;
        height: 400px;
    }
    
    .promo-cards {
        flex-direction: column;
    }
    
    .requirement-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 28px;
    }
    
    .hero-desc {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    
    .contact-btn {
        width: 100%;
        margin-top: 30px;
        align-items: flex-start;
    }
    
    .swiper-slide {
        height: 300px;
    }
    
    .promo-card {
        padding: 20px 15px;
    }
    
    .promo-card-icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
    }
}