/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d64717;
    --secondary-color: #ff6b35;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #111;
    --white: #fff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body {
    background-color: #f5f5f5;
    color: #333;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button, 
input, 
textarea {
    font-family: inherit;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    height: 96px;
}

.header.scrolled {
    height: 70px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    height: 50px;
}

.logo-image {
    height: 100%;
}

.header-menu ul {
    display: flex;
    gap: 30px;
    color: #fff;
}

.header-menu a {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
    color: #fff;
}

.header-menu a.active,
.header-menu a:hover {
    color: var(--secondary-color);
}

.header-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.header-menu a.active::after,
.header-menu a:hover::after {
    width: 100%;
}

.contact-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    color: var(--primary-color);
}

.city-list {
    font-size: 12px;
    color: #fff;
    position: relative;
}

.city {
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
    display: inline-block;
}

.city:hover {
    color: var(--primary-color);
}

.city:hover .address-popup {
    opacity: 1;
    visibility: visible;
}

.separator {
    margin: 0 5px;
    display: inline-block;
}

.address-popup {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 12px;
    width: max-content;
    max-width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 10px;
}

.address-popup.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.address-arrow {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background-color: white;
    transform: translateX(-50%) rotate(45deg);
}

/* 侧边联系栏 */
.side-contact-bar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    padding: 15px 10px;
    border-radius: 8px 0 0 8px;
    box-shadow: var(--shadow);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.3s;
}

.side-contact-item:hover {
    transform: translateX(-5px);
}

.side-contact-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

/* 侧边栏工具提示 */
.side-tooltip {
    display: none; /* 禁用显示 */
}

@keyframes fadeIn {
    /* 保留动画但不使用 */
    from {
        opacity: 0;
    }
    to {
        opacity: 0;
    }
}

/* 申请咨询按钮 */
.consult-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(214, 71, 23, 0.3);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
}

.consult-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-5px);
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(214, 71, 23, 0.4);
}

.consult-btn-icon {
    font-size: 20px;
}

/* Section Title */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

/* Banner Section */
.banner-section {
    width: 100%;
    margin-top: 96px; /* 与header高度匹配，避免被遮挡 */
}

.static-banner {
    width: 100%;
    height: 450px;
    background-color: #e84f22;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(45deg, #e84f22, #ff6b35);
}

.banner-content {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
}

.banner-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    width: 40%;
}

.banner-logo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.banner-logo-text {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.banner-tagline {
    font-size: 28px;
    font-weight: 600;
    margin-top: 10px;
}

.banner-slogan {
    font-size: 20px;
    font-weight: 400;
    margin-top: 15px;
    font-style: italic;
}

.banner-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    width: 50%;
    position: relative;
}

.banner-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.banner-season {
    margin-bottom: 10px;
}

.season-text {
    font-size: 42px;
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.banner-rank {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.banner-rate-label {
    font-size: 20px;
    font-weight: 500;
}

.banner-rate {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    }
    
/* Why Us Section - 更新的样式 */
.why-us-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.why-us-section .section-container {
    margin-top: 20px;
}

.why-us-header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 0;
}

.why-us-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding: 15px 25px;
    background-color: #e84f22;
    border-left: none;
    margin: 0;
    display: flex;
    align-items: center;
    width: 265px;
    justify-content: center;
    flex-shrink: 0;
}

.why-us-more {
    font-size: 14px;
    color: #666;
    background-color: #fff;
    padding: 15px 25px;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    text-align: right;
    flex-grow: 1;
    justify-content: flex-end;
    font-weight: 500;
}

.why-us-more:hover {
    color: #fff;
    background-color: #333;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 20px;
}

.why-us-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 20px;
    border: 2px solid transparent;
}

.why-us-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #e84f22;
    background-color: #e84f22;
}

.why-us-img-wrap {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 删除之前添加的伪元素边框 */
.why-us-img-wrap::after {
    display: none;
}

.why-us-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.why-us-card:hover .why-us-img-wrap img {
    transform: scale(1.05);
}

.why-us-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color:  #e84f22;
    font-size: 18px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.why-us-content {
    padding: 35px 20px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.why-us-card:hover .why-us-content {
    background-color: #e84f22;
}

.why-us-content h3.why-us-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    background: none;
    padding: 0;
    position: relative;
    line-height: 1.2;
    transition: all 0.3s ease;
    text-align: center;
    margin-left: 0;
    width: 100%;
}

/* 设置所有卡片标题居中对齐 */
.why-us-grid .why-us-card:first-child .why-us-content h3.why-us-title {
    padding-left: 0;
    margin-left: 0;
    border: none; /* 移除任何边框 */
    text-align: center;
    width: 100%;
}

/* 移除任何可能的装饰线 */
.why-us-grid .why-us-card:first-child .why-us-content h3.why-us-title::before,
.why-us-content h3.why-us-title::before {
    display: none;
}

.why-us-desc-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.why-us-desc {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;
    text-align: center;
    transition: all 0.3s ease;
    padding: 2px 0;
}

.why-us-card:hover .why-us-desc {
    color: #fff;
}

.why-us-card:hover .why-us-number {
    background-color: #fff;
    color: #e84f22;
}

.why-us-card:hover .why-us-title {
    color: #fff;
    border-left: none;
}

@media (max-width: 992px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}

/* Offer Wall Section */
.offer-wall-section {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.offer-dropdown {
    position: relative;
    display: inline-block;
}

.offer-dropdown select {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 8px 25px 8px 5px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    width: auto;
    margin-left: auto;
    outline: none;
}

.offer-dropdown i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    font-size: 12px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.offer-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    cursor: pointer;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.offer-image,
.offer-slider .offer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
    display: block;
    border-radius: 0;
    filter: sepia(0.1) hue-rotate(5deg) saturate(1.1); /* 调整橙色滤镜，减少黄色调 */
}

/* Service Section */
.service-section {
    padding: 70px 0;
    background-color: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background-color: #e84f22;
    color: #fff;
    /* 保持已有的悬停效果 */
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-title,
.service-card:hover .service-desc,
.service-card:hover .service-btn {
    color: #fff !important;
}

.service-card:hover .service-btn {
    background-color: #fff;
    color: #e84f22 !important;
    border: 1px solid #fff;
}

.service-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.service-card-content {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.service-btn {
    display: inline-block;
    padding: 10px 32px;
    background-color: #e84f22;
    color: #fff !important;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(232, 79, 34, 0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    margin-top: 10px;
    text-align: center;
    outline: none;
}

.service-btn:hover,
.service-btn:focus {
    background-color: #c03a0e;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(232, 79, 34, 0.18);
    transform: translateY(-2px) scale(1.04);
}

/* Colleges Section */
.colleges-section {
    padding: 70px 0;
    background-color: #f5f5f5;
}

.colleges-search {
    display: flex;
    align-items: center;
}

.colleges-search input {
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    padding: 8px 12px;
    font-size: 14px;
    width: 180px;
}

.colleges-search button {
    background-color: #e84f22;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Replaced by a more specific rule below */

.colleges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.college-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    padding: 25px 20px;
}

.college-card:hover,
.college-card.active {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.college-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
}

.college-logo-wrap {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.college-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.college-info {
    text-align: center;
}

.college-offer {
    display: inline-block;
    background-color: #f0f0f0;
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    }

.college-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
}

.college-name-en {
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
}

.college-apply-btn {
    display: inline-block;
    background-color: #e84f22;
    color: white;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.college-apply-btn:hover {
    background-color: #d04520;
    transform: translateY(-2px);
}

/* 学员作品 */
.portfolio-section {
    padding: 50px 0;
    background-color: #f5f5f5;
}

/* 增加学员作品内容高度 */
.portfolio-increased-height .portfolio-slide-image {
    height: 650px; /* 增加150px高度 */
}

/* 轮播控制 */
.portfolio-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.portfolio-prev, .portfolio-next {
    background-color: #fff;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    font-size: 14px;
}

.portfolio-prev:hover, .portfolio-next:hover {
    background-color: #e84f22;
    color: #fff;
    border-color: #e84f22;
}

.portfolio-indicators {
    display: flex;
    gap: 8px;
    margin: 0 15px;
}

.portfolio-indicators .indicator {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-indicators .indicator.active {
    background-color: #e84f22;
    width: 30px;
    border-radius: 5px;
}

/* 轮播容器 */
.portfolio-carousel-container {
    position: relative;
}

.portfolio-prev,
.portfolio-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.portfolio-prev {
    left: -48px;
}

.portfolio-next {
    right: -48px;
}

/* 大型导航按钮样式 */
.portfolio-big-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 18px;
}

.portfolio-big-nav:hover {
    background-color: #e84f22;
    color: #fff;
}

.portfolio-big-prev {
    left: 10px;
}

.portfolio-big-next {
    right: 10px;
}

/* 确保图片没有橙色遮罩 */
.portfolio-slide-image {
    flex: 0 0 66.67%; /* 修改为占三分之二 */
    max-width: 66.67%; /* 修改为占三分之二 */
    overflow-y: auto; /* 启用垂直滚动 */
    height: 500px; /* 设置固定高度以便滚动 */
    position: relative;
    max-height: none; /* 移除最大高度限制 */
}

/* 删除滑动提示，因为不再需要 */
.portfolio-slide-image::after {
    display: none;
}

.portfolio-slide-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

/* 移除所有可能导致橙色遮罩的悬停效果 */
.portfolio-slide-image:hover::before,
.portfolio-slide-image:hover::after,
.portfolio-slide-content:hover .portfolio-slide-image::before,
.portfolio-slide-content:hover .portfolio-slide-image::after,
.portfolio-slide-image:hover img::before,
.portfolio-slide-image:hover img::after {
    display: none !important;
    opacity: 0 !important;
    background-color: transparent !important;
}

/* 改进轮播指示器样式 */
.portfolio-indicators {
    display: flex;
    gap: 8px;
    margin: 0 15px;
}

.portfolio-indicators .indicator {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-indicators .indicator.active {
    background-color: #e84f22;
    width: 30px;
    border-radius: 6px;
}

/* 轮播容器 */
.portfolio-carousel {
    position: relative;
    width: 100%;
    min-height: 500px; /* 确保轮播容器始终有最小高度 */
}

.portfolio-slide {
    display: none;
    transition: opacity 0.5s ease;
    opacity: 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: auto;
    z-index: 0; /* 默认层级 */
}

.portfolio-slide.active {
    display: block !important; /* 强制显示活动幻灯片 */
    opacity: 1;
    position: relative;
    z-index: 1;
}

.portfolio-slide-content {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-slide-image {
    flex: 0 0 66.67%; /* 修改为占三分之二 */
    max-width: 66.67%; /* 修改为占三分之二 */
    overflow-y: auto; /* 启用垂直滚动 */
    height: 500px; /* 设置固定高度以便滚动 */
    position: relative;
    max-height: none; /* 移除最大高度限制 */
}

/* 删除滑动提示，因为不再需要 */
.portfolio-slide-image::after {
    display: none;
}

.portfolio-slide-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s;
    min-height: auto; /* 移除最小高度，让图片按实际大小显示 */
    display: block; /* 确保图片正确显示 */
}

/* 添加滚动条样式 */
.portfolio-slide-image::-webkit-scrollbar {
    width: 10px; /* 增加滚动条宽度 */
}

.portfolio-slide-image::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 6px;
}

.portfolio-slide-image::-webkit-scrollbar-thumb {
    background: #e84f22;
    border-radius: 6px;
    border: 2px solid #f5f5f5;
}

.portfolio-slide-image::-webkit-scrollbar-thumb:hover {
    background: #c03a0e;
}

.portfolio-slide-info {
    flex: 0 0 33.33%; /* 修改为占三分之一 */
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.portfolio-slide-title {
    font-size: 20px; /* 减小标题字体大小 */
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.portfolio-slide-desc {
    font-size: 13px; /* 减小描述字体大小 */
    color: #666;
    line-height: 1.5;
    margin: 15px 0;
    flex-grow: 1;
}

.portfolio-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px; /* 减小间距 */
    margin-bottom: 10px;
}

.portfolio-info-item {
    font-size: 12px; /* 减小字体大小 */
}

.info-label {
    color: #666;
}

.info-value {
    color: #333;
    font-weight: 500;
}

.info-value.highlight {
    color: #e84f22;
}

.portfolio-btn {
    display: inline-block;
    background-color: #e84f22;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.portfolio-btn:hover {
    background-color: #c03a0e;
    transform: translateY(-3px);
}

.portfolio-more-btn {
    display: inline-block;
    color: #ffffff;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #e84f22;
    padding: 4px 8px;
    border-radius: 20px;
    text-decoration: none;
    width: fit-content;
    white-space: nowrap;
}

.portfolio-more-btn:hover {
    background-color: #d04318;
    color: #ffffff;
    transform: translateX(0);
    box-shadow: 0 2px 8px rgba(232, 79, 34, 0.3);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .portfolio-slide-content {
        flex-direction: column;
    }
    
    .portfolio-slide-image {
        flex: 0 0 auto;
        max-width: 100%;
        height: 300px; /* 设置固定高度，占页面高度的2/3 */
    }
    
    .portfolio-slide-info {
        flex: 0 0 auto;
        padding: 20px;
        height: 150px; /* 设置固定高度，占页面高度的1/3 */
        overflow-y: auto;
    }
    
    .portfolio-slide-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .portfolio-slide-content {
        flex-direction: column;
    }
    
    .portfolio-slide-image {
        height: 240px; /* 减小图片高度，但保持2:1比例 */
    }
    
    .portfolio-slide-info {
        height: 120px; /* 减小文字区域高度，但保持2:1比例 */
    }
    
    .portfolio-carousel-controls {
        padding: 0 10px;
    }
    
    .portfolio-indicators {
        margin: 0 5px;
    }
} 

/* 通用容器 */
.section-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.offer-wall-section .section-container {
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* 区域标题样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 20px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #e0e0e0; /* 只添加灰色描边 */
    box-shadow: none;
    border-radius: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding: 12px 20px;
    background-color: #e84f22;
    margin: 0;
    display: flex;
    align-items: center;
    width: auto;
    justify-content: flex-start;
    flex-shrink: 0;
    border-left: none;
}

.section-title::before {
    display: none;
}

.section-more {
    font-size: 14px;
    color: #666;
    background-color: #fff;
    padding: 12px 20px;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    text-align: right;
    flex-grow: 1;
    justify-content: flex-end;
    font-weight: 400;
    text-decoration: none;
}

.section-more:hover {
    color: #fff;
    background-color: #333;
    text-decoration: none;
}

/* 区域背景 */
.white-section {
    background-color: #fff;
    padding: 30px 0;
}

.gray-section {
    background-color: #f5f5f5;
    padding: 30px 0;
}

.dark-section {
    background-color: #1a1a1a;
    padding: 30px 0;
}

/* 服务介绍卡片样式 */
.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-intro-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-intro-img-wrap {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    background-color: #f0f0f0;
    overflow: hidden;
}

.service-intro-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e84f22;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.service-intro-content {
    padding: 15px;
}

.service-intro-title {
    font-size: 16px;
    font-weight: 600;
    color: #e84f22;
    margin-bottom: 8px;
}

.service-intro-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .service-intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .service-intro-grid {
        grid-template-columns: 1fr;
    }
} 

/* 弹窗样式 */
.wechat-modal,
.consult-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wechat-modal.active,
.consult-modal.active {
    opacity: 1;
    visibility: visible;
}

.wechat-modal-content,
.consult-modal-content {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.wechat-modal.active .wechat-modal-content,
.consult-modal.active .consult-modal-content {
    transform: translateY(0);
}

.qr-note {
    font-size: 14px !important;
    color: #888 !important;
    margin-top: 15px !important;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.wechat-modal-content h3,
.consult-modal-content h3 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
    color: var(--text-color);
}

.qr-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.qr-container img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.wechat-modal-content p {
    text-align: center;
    color: #666;
    font-size: 16px;
}

/* 咨询表单样式 */
.consult-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 14px;
    color: #666;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    }
    
.submit-btn:hover {
    background-color: #c03a0e;
}

.offer-dropdown,
.colleges-search,
.partner-search {
    font-size: 14px;
    color: #666;
    background-color: #fff;
    padding: 12px 20px;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    text-align: right;
    flex-grow: 1;
    justify-content: flex-end;
    font-weight: 500;
}

.offer-dropdown:hover,
.colleges-search:hover,
.partner-search:hover {
    background-color: #333;
}

.offer-dropdown:hover select,
.offer-dropdown:hover i,
.colleges-search:hover input,
.colleges-search:hover button,
.partner-search:hover input,
.partner-search:hover button {
    color: #fff;
}

.colleges-search input,
.partner-search input {
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    width: 120px;
    background-color: transparent;
    color: #666;
    outline: none;
}

.colleges-search button,
.partner-search button {
    background-color: transparent;
    color: #666;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.colleges-search button:hover,
.partner-search button:hover {
    color: #e84f22;
}

.colleges-search:hover button:hover,
.partner-search:hover button:hover {
    color: #fff;
}

/* 添加滑动效果的CSS样式 */
.offer-slider-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
    padding: 7px 0;
    max-width: 100%;
}

.offer-wall-container {
    padding: 20px 0;
    margin: 0 -15px; /* 创建负边距以抵消container的padding */
}

.offer-slider {
    display: flex;
    gap: 20px;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    width: fit-content;
    padding: 15px 0;
    will-change: transform;
}

.offer-slider:hover {
    animation-play-state: paused;
}

.slide-right {
    animation-name: slideRight;
}

.slide-left {
    animation-name: slideLeft;
}

.offer-slider .offer-card {
    flex: 0 0 auto;
    width: 196px;
    height: 224px;
    background-color: #fff;
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    margin: 7px;
}

.offer-slider .offer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
    display: block;
}

.offer-slider .offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

@keyframes slideRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-216px * 10)); /* 卡片宽度+间距 × 卡片数量 */
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(calc(-216px * 10)); /* 卡片宽度+间距 × 卡片数量 */
    }
    100% {
        transform: translateX(0);
    }
}

@media (max-width: 992px) {
    .offer-slider .offer-card {
        width: 168px;
        height: 189px;
        margin: 6px;
    }
    
    @keyframes slideRight {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-188px * 10)); /* 卡片宽度+间距 × 卡片数量 */
        }
    }
    
    @keyframes slideLeft {
        0% {
            transform: translateX(calc(-188px * 10)); /* 卡片宽度+间距 × 卡片数量 */
        }
        100% {
            transform: translateX(0);
        }
    }
}

@media (max-width: 576px) {
    .service-grid, .colleges-grid, .offer-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-slider .offer-card {
        width: 154px;
        height: 175px;
        margin: 4px;
    }
    
    @keyframes slideRight {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-170px * 10)); /* 卡片宽度+间距 × 卡片数量 */
        }
    }
    
    @keyframes slideLeft {
        0% {
            transform: translateX(calc(-170px * 10)); /* 卡片宽度+间距 × 卡片数量 */
        }
        100% {
            transform: translateX(0);
        }
    }
}

/* 图片弹窗样式 */
.image-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-popup.show {
    opacity: 1;
}

.image-popup-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 66%; /* 占据屏幕的三分之二 */
    height: 80%;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

.image-popup.show .image-popup-content {
    transform: scale(1);
    opacity: 1;
}

.image-popup-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #333;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.image-popup-close:hover {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.05);
}

.popup-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .image-popup-content {
        width: 80%;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .image-popup-content {
        width: 95%;
        padding: 15px;
        margin: 10% auto;
    }
    
    .image-popup-close {
        top: 10px;
        right: 15px;
        font-size: 28px;
    }
}

/* 卡片点击效果 */
.offer-card,
.service-img-wrap,
.portfolio-image-container,
.college-logo-wrap,
.partner-logo-wrap,
.why-us-img-wrap {
    cursor: pointer;
    position: relative;
}

.offer-card:hover,
.service-img-wrap:hover,
.portfolio-image-container:hover,
.college-logo-wrap:hover,
.partner-logo-wrap:hover,
.why-us-img-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.offer-card:focus,
.service-img-wrap:focus,
.portfolio-image-container:focus,
.college-logo-wrap:focus,
.partner-logo-wrap:focus,
.why-us-img-wrap:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-color, rgba(0, 123, 255, 0.5));
}

/* 卡片放大效果 */
.offer-card:focus-within,
.offer-card:focus {
    position: relative;
    z-index: 10;
}

/* 暂停滚动动画当鼠标悬停或者获得焦点 */
.offer-slider-container:hover .offer-slider,
.offer-slider-container:focus-within .offer-slider {
    animation-play-state: paused;
}

/* 关闭按钮悬停效果 */
.image-popup-close {
    cursor: pointer;
}

/* 艺术资讯部分 */
.art-news-section {
    padding: 40px 0;
    background-color: #fff;
}

/* 艺术资讯标题区域 */
.art-news-header {
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background-color: #fff;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #eee;
}

.art-news-title {
    background-color: #e84f22;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 25px;
    position: relative;
    margin: 0;
    display: inline-block;
    width: auto;
}

.art-news-more {
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 15px;
    background-color: #fff;
    flex-grow: 1;
    text-align: right;
}

.art-news-more:hover {
    color: #fff;
    background-color: #000;
}

.art-news-container {
    display: flex;
    gap: 20px;
    border-top: none;
    padding-top: 20px;
}

/* 左侧内容区域 */
.art-news-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* 特色文章 */
.art-news-featured {
    position: relative;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 180px;
    cursor: pointer;
}

.featured-image {
    width: 100%;
    height: 100%;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #e84f22;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 3px;
}

.featured-desc {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 分类标签 */
.art-news-categories {
    display: flex;
    margin-bottom: 15px;
    border-bottom: none;
    background-color: #f9f9f9;
    padding: 5px 0;
    border-radius: 3px;
}

.category-tab {
    padding: 8px 15px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s;
    border-radius: 15px;
    margin-right: 5px;
}

.category-tab.active {
    color: #fff;
    background-color: #e84f22;
    border-bottom: none;
}

.category-tab:hover:not(.active) {
    color: #e84f22;
    background-color: #f0f0f0;
}

/* 新闻列表表格 */
.art-news-list-table {
    display: flex;
    flex-direction: column;
}

.news-table-row {
    display: grid;
    grid-template-columns: 1fr 100px 120px 100px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

.news-table-row:hover {
    background-color: #f9f9f9;
}

.news-title {
    color: #333;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 10px;
}

.news-date, .news-author {
    font-size: 14px;
    color: #999;
    text-align: center;
}

.news-author {
    color: #e84f22;
}

/* 右侧内容区域 */
.art-news-right {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 合作院校标题 */
.partner-schools-title {
    padding: 10px 0;
    border-bottom: 2px solid #e84f22;
    margin-bottom: 15px;
}

.partner-schools-title span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-left: 10px;
}

.partner-schools-title span:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    height: 16px;
    width: 4px;
    background-color: #e84f22;
}

/* 合作院校列表 */
.partner-schools-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.school-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.school-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.school-logo {
    width: 40px;
    height: 40px;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
}

.school-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.school-info {
    flex: 1;
}

.school-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.school-name-en {
    font-size: 12px;
    color: #999;
}

.school-offer {
    color: #e84f22;
    font-size: 14px;
    font-weight: 500;
    margin-left: auto;
    padding-left: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .art-news-container {
        flex-direction: column;
    }
    
    .art-news-right {
        width: 100%;
    }
    
    .partner-schools-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .partner-schools-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .news-table-row {
        grid-template-columns: 1fr 90px;
    }
    
    .news-author {
        display: none;
    }
}

@media (max-width: 576px) {
    .right-large-images {
        flex-direction: column;
    }
}

/* 录取及合作院校部分 */
.partner-logos-section {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.partner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.partner-title {
    background-color: #e84f22;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 25px;
    position: relative;
}

.partner-more {
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 15px;
    background-color: #fff;
    flex-grow: 1;
    text-align: right;
}

.partner-more:hover {
    color: #fff;
    background-color: #000;
}

.partner-schools-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.partner-school-card {
    background-color: #fff;
    border-radius: 5px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.partner-school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partner-school-logo {
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.partner-school-logo img {
    max-width: 80%;
    max-height: 80%;
    transition: transform 0.3s ease;
}

.partner-school-logo:hover img {
    transform: scale(1.1);
}

.partner-school-name {
    font-size: 12px;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .partner-schools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .partner-schools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .partner-schools-grid {
        grid-template-columns: 1fr;
    }
}

/* 底部黑色样式 */
.footer-dark {
    background-color: #1a1a1a;
    color: #fff;
    padding: 0;
    background-image: url('../images/backgrounds/footer-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.footer-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

.footer-main {
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.footer-col {
    flex: 1;
    padding: 0 15px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #e84f22;
}

.footer-address-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.address-icon {
    margin-right: 10px;
    color: #999;
}

.address-info {
    flex: 1;
}

.address-city {
    font-weight: 500;
    margin-bottom: 5px;
}

.address-detail {
    color: #999;
    font-size: 14px;
    line-height: 1.4;
}

.footer-contact-item {
    margin-bottom: 12px;
    font-size: 14px;
    color: #999;
    transition: color 0.3s;
}

.footer-contact-item:hover {
    color: #e84f22;
}

.footer-contact-item.hotline {
    margin-top: 20px;
    color: #fff;
    font-weight: 500;
}

.footer-contact-phone {
    font-size: 28px;
    font-weight: 700;
    color: #e84f22;
    margin-top: 5px;
    text-shadow: 0 0 5px rgba(232, 79, 34, 0.3);
}

.footer-qr-container {
    display: flex;
    gap: 20px;
}

.footer-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-image {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.footer-qr-item:hover .qr-image {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.qr-label {
    font-size: 13px;
    color: #999;
    transition: color 0.3s;
}

.footer-qr-item:hover .qr-label {
    color: #e84f22;
}

.footer-schools {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-school-links {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5px 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.school-link {
    display: inline-block;
    color: #999;
    padding: 0 15px;
    font-size: 14px;
    position: relative;
    transition: color 0.3s ease;
}

.school-link:hover {
    color: #e84f22;
}

.school-link:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    width: 1px;
    background-color: #333;
}

.footer-copyright {
    text-align: center;
    padding: 15px 0;
    color: #666;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    
    .footer-col {
        margin-bottom: 30px;
    }
    
    .footer-qr-container {
        justify-content: center;
    }
    
    .school-link {
        padding: 5px 10px;
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .footer-address-item {
        flex-direction: column;
    }
    
    .address-icon {
        margin-bottom: 5px;
    }
    
    .footer-contact-phone {
        font-size: 24px;
    }
}

/* 客服聊天窗口样式 */
.customer-service-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
}

.cs-icon {
    width: 60px;
    height: 60px;
    background-color: #e84f22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(214, 71, 23, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.cs-icon:hover {
    transform: scale(1.1) rotate(15deg);
    background-color: #fff;
    color: #e84f22;
    border: 2px solid #e84f22;
    box-shadow: 0 10px 25px rgba(214, 71, 23, 0.4);
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    padding: 15px;
    background-color: #e84f22;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    display: flex;
    align-items: center;
}

.chat-title img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.chat-title-text {
    font-size: 14px;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    color: #4caf50;
}

.chat-close {
    cursor: pointer;
    font-size: 18px;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f5f5f5;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
}

.message-agent {
    display: flex;
    align-items: flex-start;
    margin-right: auto;
}

.agent-avatar {
    width: 30px;
    height: 30px;
    background-color: #e84f22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 10px;
    flex-shrink: 0;
}

.message-user {
    margin-left: auto;
    text-align: right;
}

.message-content {
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
}

.message-agent .message-content {
    background-color: white;
    color: #333;
    border-top-left-radius: 5px;
}

.message-user .message-content {
    background-color: #e84f22;
    color: white;
    border-top-right-radius: 5px;
}

.message-time {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
}

.chat-input button {
    background-color: #e84f22;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0 20px;
    margin-left: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.chat-input button:hover {
    background-color: #c03a0e;
}

.chat-tools {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
    justify-content: flex-end;
}

.chat-tool {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 50%;
    transition: all 0.3s;
}

.chat-tool:hover {
    background-color: #f0f0f0;
    color: #e84f22;
}

/* 响应式设计 */
@media (max-width: 576px) {
    .chat-window {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
}

.portfolio-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.portfolio-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.portfolio-card-image {
    height: 240px;
    overflow: hidden;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.05);
}

.portfolio-card-info {
    padding: 15px;
}

.portfolio-card-major {
    color: #e84f22;
    font-weight: 500;
    margin-bottom: 5px;
}

.portfolio-card-author {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.portfolio-card-college {
    color: #666;
    font-size: 14px;
    margin-bottom: 3px;
}

.portfolio-card-degree {
    color: #888;
    font-size: 14px;
}

/* 四大科系展示区域样式 */
.department-showcase {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.department-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.department-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.department-image {
    height: 180px;
    overflow: hidden;
}

.department-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.department-card:hover .department-image img {
    transform: scale(1.05);
}

.department-info {
    padding: 15px;
}

.department-tag {
    color: #e84f22;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.department-desc {
    font-size: 12px;
    line-height: 1.5;
    color: #555;
}

@media (max-width: 992px) {
    .department-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .department-grid {
        grid-template-columns: 1fr;
    }
}

/* SGA四大科系橙色横幅样式 */
.sga-main-banner {
    width: 100%;
    background-color: #e84f22;
    padding: 30px 20px;
    margin: 40px 0;
}

.sga-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    color: white;
    margin-top: 150px;
}

.sga-logo-text {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1;
    position: relative;
}

.sga-logo-text sup {
    font-size: 14px;
    position: absolute;
    top: 5px;
    margin-left: 2px;
}

.sga-slogan {
    font-size: 24px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .sga-logo-text {
        font-size: 32px;
    }
    
    .sga-slogan {
        font-size: 20px;
    }
}

/* 客服聊天窗口未读消息通知样式 */
.cs-icon .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff5722;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* 预约咨询模态框样式 */
.consultation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.consultation-modal-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 400px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.consultation-modal-header {
    background-color: #e84118;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
}

.consultation-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

.consultation-close {
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.consultation-modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e84118;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.input-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.consultation-submit-btn {
    background-color: #e84118;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.consultation-submit-btn:hover {
    background-color: #c23616;
}

.consultation-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    display: none;
}

#form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .consultation-modal-content {
        width: 95%;
        max-height: 80vh;
}

    .consultation-modal-header {
        padding: 12px 15px;
}

    .consultation-modal-header h2 {
    font-size: 18px;
}

    .consultation-modal-body {
        padding: 15px;
}

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
        font-size: 14px;
}

    .consultation-submit-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}

.portfolio-slide-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

/* 作品内容文字垂直居中 */
.portfolio-increased-height .portfolio-slide-info {
    justify-content: center; /* 垂直居中文字内容 */
}

.college-logo,
.college-card:hover .college-logo {
    box-shadow: none !important;
    transition: none;
}

/* 服务介绍页面间距调整 - 高优先级 */
.service-features-container {
    margin-bottom: 80px !important; /* 增加底部间距 */
}

.service-features-row {
    gap: 50px !important; /* 增加卡片间距 */
    margin-bottom: 60px !important; /* 增加底部间距 */
}

.service-content-area {
    margin-top: 40px !important; /* 增加顶部间距 */
}
