/* 浙江师范大学附属东阳花园外国语学校 - 主样式文件 */
/* 高级设计风格：深海蓝 + 香槟金 */

/* ===== CSS 变量定义 ===== */
:root {
    /* 主色调 - 深海蓝系列 */
    --color-primary: #0a192f;
    --color-primary-dark: #071325;
    --color-primary-light: #112240;
    --color-primary-lighter: #1d3557;
    
    /* 强调色 - 香槟金系列 */
    --color-accent: #c9a961;
    --color-accent-dark: #a88b45;
    --color-accent-light: #e0c88e;
    --color-accent-lighter: #f2e6cc;
    
    /* 中性色 */
    --color-white: #ffffff;
    --color-light: #f8f9fa;
    --color-gray: #6c757d;
    --color-dark: #343a40;
    --color-black: #212529;
    
    /* 字体 */
    --font-serif: 'Noto Serif SC', serif;
    --font-sans: 'Noto Sans SC', sans-serif;
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* 过渡效果 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 间距 */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
}

/* ===== 基础样式重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-dark);
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--space-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--color-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 加载动画 ===== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
    color: var(--color-white);
}

.logo-loading {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.logo-loading .circle {
    width: 20px;
    height: 20px;
    background-color: var(--color-accent);
    border-radius: 50%;
    margin: 0 8px;
    animation: bounce 1.4s infinite ease-in-out both;
}

.logo-loading .circle:nth-child(1) {
    animation-delay: -0.32s;
}

.logo-loading .circle:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

#loader p {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 2px solid var(--color-accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.school-name {
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.school-subtitle {
    font-size: 0.85rem;
    color: var(--color-accent-light);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 1rem;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

/* 语言切换器 */
.language-switcher {
    display: flex;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 4px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    margin: 6px 0;
    transition: all var(--transition-normal);
}

/* ===== 英雄区域 ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: var(--color-primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 25, 47, 0.9) 0%,
        rgba(10, 25, 47, 0.7) 50%,
        rgba(10, 25, 47, 0.9) 100%);
    z-index: 1;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-accent-light);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-white);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.hero-cta:hover {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-cta i {
    font-size: 1.2rem;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-accent-light);
    border-radius: 15px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 2s infinite;
}

.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: rotate(45deg);
    margin: 0 auto;
    opacity: 0.6;
}

.arrow1 {
    animation: arrow 2s infinite;
}

.arrow2 {
    animation: arrow 2s 0.2s infinite;
}

.arrow3 {
    animation: arrow 2s 0.4s infinite;
}

@keyframes wheel {
    0% { top: 10px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

@keyframes arrow {
    0% { opacity: 0; }
    50% { opacity: 0.6; }
    100% { opacity: 0; }
}

/* ===== 学校简介 ===== */
.about-section {
    background-color: var(--color-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-title {
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-title:first-child {
    margin-top: 0;
}

.about-desc {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(201, 169, 97, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.feature-item p {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-accent), var(--color-primary));
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
}

.image-placeholder {
    color: var(--color-accent-light);
    text-align: center;
    padding: 2rem;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.image-placeholder p {
    font-size: 1.2rem;
    color: var(--color-white);
    opacity: 0.8;
}

/* ===== 教育体系 ===== */
.education-section {
    background-color: var(--color-white);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: var(--space-lg);
}

.education-card {
    background-color: var(--color-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(201, 169, 97, 0.1);
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(201, 169, 97, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--color-accent);
}

.education-card h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.education-card p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.education-card ul {
    text-align: left;
    margin: 0;
    padding-left: 1.2rem;
}

.education-card li {
    color: var(--color-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.education-highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--color-white);
    text-align: center;
}

.education-highlight h3 {
    color: var(--color-white);
    margin-bottom: 2rem;
}

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.excellence-item {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: background-color var(--transition-normal);
}

.excellence-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.excellence-item .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.excellence-item h4 {
    color: var(--color-white);
    margin: 0;
    font-size: 1.1rem;
}

/* ===== 校园设施 ===== */
.facilities-section {
    background-color: var(--color-light);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.facility-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.facility-image {
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-image .image-placeholder {
    color: var(--color-accent-light);
}

.facility-image .image-placeholder i {
    font-size: 3rem;
}

.facility-content {
    padding: 2rem;
}

.facility-content h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.facility-content p {
    color: var(--color-gray);
    line-height: 1.7;
}

/* ===== 荣誉奖项 ===== */
.awards-section {
    background-color: var(--color-white);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.award-item {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--color-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.award-item:hover {
    background-color: rgba(201, 169, 97, 0.1);
    transform: translateY(-5px);
}

.award-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(201, 169, 97, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.award-icon i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.award-item h4 {
    color: var(--color-primary);
    margin: 0;
    font-size: 1rem;
}

/* ===== 联系我们 ===== */
.contact-section {
    background-color: var(--color-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(201, 169, 97, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--color-accent);
}

.contact-details h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--color-gray);
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: var(--color-accent);
    text-decoration: underline;
}

.contact-details a:hover {
    color: var(--color-accent-dark);
}

.contact-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-image .image-placeholder {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--color-accent-light);
    text-align: center;
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-image .image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.contact-image .image-placeholder p {
    font-size: 1.3rem;
    color: var(--color-white);
    margin: 0;
}

/* ===== 页脚 ===== */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: var(--space-xl) 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent);
    margin-bottom: 1rem;
}

.footer-logo-text h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-logo-text p {
    color: var(--color-accent-light);
    margin: 0;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--color-accent);
}

.footer-section li i {
    color: var(--color-accent);
    margin-right: 0.5rem;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.copyright {
    flex: 1;
}

.icp-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.icp-info a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.tech-support {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-support a {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
}

.tech-support a:hover {
    text-decoration: underline;
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-accent-dark);
    color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    /* 导航栏响应式 */
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-primary);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(201, 169, 97, 0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    /* 英雄区域 */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* 内容布局 */
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .footer-info {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    
    .section {
        padding: var(--space-lg) 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .education-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .excellence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
}

/* 移动端菜单按钮动画 */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}