/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #00aaff;
    --accent-color: #0088dd;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: relative;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: #ffcc00;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffcc00;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.login-btn {
    background: transparent;
    border: 1px solid white;
    color: white;
    transition: all 0.3s ease;
    border-radius: 3px;
    padding: 2px 8px;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.4;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.register-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 3px;
    padding: 2px 8px;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: #f0f8ff;
    color: var(--secondary-color);
}

/* 重要提示 */
.important-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px 0;
    margin-bottom: 20px;
}

.important-note p {
    text-align: center;
    color: #856404;
    font-weight: 500;
}

/* 轮播图 */
.carousel {
    position: relative;
    height: 550px;
    overflow: hidden;
    margin-bottom: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.carousel-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-content p {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.primary-btn {
    background: white;
    color: var(--primary-color);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 20;
}

.carousel-controls button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.carousel-indicators button {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: white;
    width: 45px;
    border-radius: 8px;
}

/* 服务导航 */
.services {
    padding: 60px 0;
    background: var(--card-background);
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.services h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--background-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    border-color: var(--primary-color);
}

.service-item i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-item:hover i {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* 最新公告 */
.announcements {
    padding: 60px 0;
    margin-bottom: 40px;
}

.announcements h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.announcements h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.announcement-list {
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.announcement-item {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item:hover {
    background: var(--background-color);
    padding-left: 30px;
}

.announcement-item .date {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 15px;
}

.announcement-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.announcement-item a:hover {
    color: var(--primary-color);
}

/* 服务流程 */
.process {
    padding: 60px 0;
    background: var(--card-background);
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.process h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.process h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1000px;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.step-name {
    font-weight: 600;
    color: var(--text-color);
}

.step-arrow {
    color: var(--primary-color);
    font-size: 20px;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

/* 报考指南 */
.guide {
    padding: 60px 0;
    margin-bottom: 40px;
}

.guide h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.guide h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.guide-section {
    background: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.guide-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.1);
}

.guide-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.guide-section ul, .guide-section ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.guide-section li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.guide-section p {
    color: var(--text-light);
    margin-bottom: 10px;
}

/* 考试安排 */
.schedule {
    padding: 60px 0;
    background: var(--card-background);
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.schedule h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.schedule h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.schedule-table {
    overflow-x: auto;
}

.schedule table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.schedule th, .schedule td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.schedule th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
}

.schedule tr:hover {
    background: var(--background-color);
}

/* 快捷服务 */
.quick-services {
    padding: 60px 0;
    margin-bottom: 40px;
}

.quick-services h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.quick-services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.quick-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.quick-service-item {
    background: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.quick-service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.quick-service-item i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.quick-service-item:hover i {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.quick-service-item span {
    font-weight: 600;
    font-size: 16px;
}

/* 考务须知和常见问题 */
.faq {
    padding: 60px 0;
    background: var(--card-background);
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.faq-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.faq-section ul {
    padding-left: 20px;
}

.faq-section li {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
}

.faq-question {
    padding: 20px;
    background: var(--background-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question span {
    font-weight: 600;
    color: var(--text-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding: 20px 0;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* 联系方式 */
.contact {
    padding: 60px 0;
    margin-bottom: 40px;
}

.contact h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    background: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.1);
}

.contact-item i {
    font-size: 48px;
    color: var(--primary-color);
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-item p {
    color: var(--text-light);
    font-size: 14px;
}

.online-form {
    background: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.online-form h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.online-form p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.qrcode-container {
    margin: 20px 0;
    padding: 20px;
    background: var(--background-color);
    border-radius: 10px;
    display: flex;
    justify-content: center;
}

.qrcode {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-item {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    /* 导航栏 */
    header .container {
        flex-direction: column;
        padding: 10px;
    }

    .header-right {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 15px;
        gap: 10px;
    }

    .auth-buttons .login-btn {
        padding: 2px 8px;
        font-size: 11px;
        border-radius: 3px;
        background: transparent;
        border: 1px solid white;
        color: white;
        line-height: 1.4;
    }

    .auth-buttons .register-btn {
        padding: 2px 8px;
        font-size: 11px;
        border-radius: 3px;
        background: white;
        color: var(--primary-color);
        box-shadow: none;
        line-height: 1.4;
    }

    /* 轮播图 */
    .carousel {
        height: 350px;
    }

    .carousel-content {
        padding: 20px;
        max-width: 90%;
    }

    .carousel-content h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .carousel-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .carousel-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 14px;
        width: 180px;
        text-align: center;
    }

    .carousel-controls {
        padding: 0 15px;
    }

    .carousel-controls button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    /* 服务流程 */
    .process-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    /* 内容布局 */
    .services {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .services h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .service-item {
        padding: 20px;
    }

    .service-item i {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .service-item h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .service-item p {
        font-size: 12px;
    }

    .announcements {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .announcements h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .announcement-item {
        padding: 15px;
    }

    .process {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .process h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .guide {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .guide h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .guide-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .guide-section {
        padding: 20px;
    }

    .guide-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .schedule {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .schedule h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .quick-services {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .quick-services h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .quick-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .quick-service-item {
        padding: 20px;
    }

    .quick-service-item i {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .quick-service-item span {
        font-size: 14px;
    }

    .faq {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .faq-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-section h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .faq-item {
        margin-bottom: 10px;
    }

    .faq-question {
        padding: 15px;
    }

    .contact {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .contact h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contact-item {
        padding: 20px;
    }

    .contact-item i {
        font-size: 32px;
        margin-right: 15px;
    }

    .contact-item h3 {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .contact-item p {
        font-size: 12px;
    }

    .online-form {
        padding: 20px;
    }

    .online-form h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .online-form p {
        font-size: 12px;
        margin-bottom: 15px;
    }

    /* 表格响应式 */
    .schedule-table {
        overflow-x: auto;
    }

    .schedule table {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    /* 导航栏 */
    .logo h1 {
        font-size: 20px;
    }

    nav ul li {
        margin: 5px 10px;
    }

    nav ul li a {
        font-size: 14px;
    }

    /* 轮播图 */
    .carousel {
        height: 280px;
    }

    .carousel-content {
        padding: 15px;
        max-width: 95%;
    }

    .carousel-content h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .carousel-content p {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .carousel-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 12px;
        width: 160px;
        text-align: center;
    }

    .carousel-controls {
        padding: 0 10px;
    }

    .carousel-controls button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    /* 标题大小 */
    .services h2, .announcements h2, .process h2, .guide h2, .schedule h2, .quick-services h2, .contact h2 {
        font-size: 20px;
    }

    /* 内容卡片 */
    .service-item, .guide-section, .contact-item, .online-form {
        padding: 20px;
    }

    /* 联系信息 */
    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        width: 100%;
        max-width: 300px;
    }

    /* 二维码 */
    .qrcode {
        max-width: 150px;
    }

    /* 内容布局 */
    .services {
        padding: 30px 0;
        margin-bottom: 15px;
    }

    .services h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-item {
        padding: 15px;
    }

    .service-item i {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .service-item h3 {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .service-item p {
        font-size: 11px;
    }

    .announcements {
        padding: 30px 0;
        margin-bottom: 15px;
    }

    .announcements h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .announcement-item {
        padding: 10px;
    }

    .announcement-item .date {
        padding: 3px 10px;
        font-size: 12px;
        margin-right: 10px;
    }

    .process {
        padding: 30px 0;
        margin-bottom: 15px;
    }

    .process h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .step-name {
        font-size: 14px;
    }

    .guide {
        padding: 30px 0;
        margin-bottom: 15px;
    }

    .guide h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .guide-section {
        padding: 15px;
    }

    .guide-section h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .guide-section li, .guide-section p {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .schedule {
        padding: 30px 0;
        margin-bottom: 15px;
    }

    .schedule h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .quick-services {
        padding: 30px 0;
        margin-bottom: 15px;
    }

    .quick-services h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .quick-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .quick-service-item {
        padding: 15px;
    }

    .quick-service-item i {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .quick-service-item span {
        font-size: 12px;
    }

    .faq {
        padding: 30px 0;
        margin-bottom: 15px;
    }

    .faq-section h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .faq-item {
        margin-bottom: 8px;
    }

    .faq-question {
        padding: 12px;
    }

    .faq-question span {
        font-size: 14px;
    }

    .faq-answer p {
        font-size: 12px;
        padding: 15px 0;
    }

    .contact {
        padding: 30px 0;
        margin-bottom: 15px;
    }

    .contact h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .contact-item {
        padding: 15px;
    }

    .contact-item i {
        font-size: 24px;
        margin-right: 10px;
    }

    .contact-item h3 {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .contact-item p {
        font-size: 11px;
    }

    .online-form {
        padding: 15px;
    }

    .online-form h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .online-form p {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .qrcode {
        max-width: 120px;
    }

    /* 字体大小 */
    body {
        font-size: 14px;
    }

    /* 触摸优化 */
    button, a {
        touch-action: manipulation;
    }

    /* 滚动条优化 */
    ::-webkit-scrollbar {
        width: 6px;
    }
}

/* 横屏手机适配 */
@media (max-height: 480px) and (orientation: landscape) {
    .carousel {
        height: 180px;
    }

    .carousel-content {
        padding: 10px;
        max-width: 90%;
    }

    .carousel-content h2 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .carousel-content p {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .carousel-buttons {
        gap: 5px;
    }

    .btn {
        padding: 6px 12px;
        font-size: 10px;
        width: 120px;
    }

    .carousel-controls button {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .service-item, .guide-section, .contact-item {
        padding: 15px;
    }
}

/* 平板设备适配 */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid, .guide-content, .quick-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .carousel-content h2 {
        font-size: 28px;
    }

    .carousel-content p {
        font-size: 16px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services, .announcements, .process, .guide, .schedule, .quick-services, .faq, .contact {
    animation: fadeIn 0.8s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}