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

.top-bar {
    background: linear-gradient(135deg, #1a5490 0%, #2c7cc1 100%);
    padding: 6px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-right: 20px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-bar-item:hover {
    opacity: 0.8;
}

.top-bar-icon {
    font-size: 14px;
}

@media (max-width: 1024px) {
    .top-bar-content {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .top-bar-content .top-bar-item:nth-child(2),
    .top-bar-content .top-bar-item:nth-child(4) {
        display: none;
    }
}

:root {
    --primary-color: #1a5490;
    --secondary-color: #2c7cc1;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e1e8ed;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Top nav: equal cells; longest English ≈ "College Planning" (17) + inline ▼ */
    --nav-top-item-count: 8;
    --nav-longest-en-ch: 19;
    --nav-menu-gap: 0.35rem;
    /* 统一其他文件使用的变量 */
    --primary: #2c3e50;
    --primary-light: #34495e;
    --accent: #3498db;
    --accent-light: #ebf5fb;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 30px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 999;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        top: 0;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 100%;
    margin: 0;
    padding-left: 5%;
}

@media (min-width: 769px) {
    .navbar .container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) min(50vw, 50%);
        column-gap: 1rem;
        align-items: center;
        justify-content: stretch;
    }

    .nav-brand {
        grid-column: 1;
        justify-self: start;
    }

    .nav-menu {
        grid-column: 2;
        width: 100%;
        min-width: 0;
        display: grid;
        align-items: center;
        grid-template-columns: repeat(
            var(--nav-top-item-count),
            minmax(
                min(
                    calc(var(--nav-longest-en-ch) * 1ch),
                    calc(
                        (100% - (var(--nav-top-item-count) - 1) * var(--nav-menu-gap)) /
                            var(--nav-top-item-count)
                    )
                ),
                1fr
            )
        );
        gap: var(--nav-menu-gap);
        justify-items: center;
    }
}

.nav-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

.nav-brand:hover {
    transform: scale(1.02);
}

.logo-img {
    width: calc(316px * 0.6);
    max-width: 100%;
    height: auto;
    max-height: calc(115px * 0.6);
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
}

.nav-menu {
    list-style: none;
    min-width: 0;
    display: flex;
    align-items: center;
}

.nav-menu li {
    position: relative;
    min-width: 0;
}

@media (min-width: 769px) {
    .nav-menu li {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 100%;
    }
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-align: center;
    line-height: 1.3;
    display: block;
    max-width: 100%;
    padding-inline: 0.15em;
    box-sizing: border-box;
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    position: relative;
}

/* Add arrow indicator to dropdown toggle */
.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7em;
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    display: block;
    text-align: left;
    white-space: nowrap;
    border-radius: 0;
    color: var(--text-color-dark);
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--primary-color);
    color: white;
}

.dropdown-menu a::after {
    display: none;
}

/* Nested Dropdown Styling */
.nested-dropdown {
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
    margin-left: 0.5rem;
    margin-top: 0.5rem;
}

.nested-item {
    font-size: 0.9rem;
    padding: 8px 16px !important;
    color: var(--text-color) !important;
    background: var(--bg-light);
    margin: 4px 0;
    border-radius: 4px;
}

.nested-item:hover {
    background: var(--primary-color) !important;
    color: white !important;
    padding-left: 20px !important;
}

.nav-menu a br {
    display: block;
    content: "";
    margin: 2px 0;
}

.nav-chinese {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    display: block;
    font-weight: 400;
}

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

.nav-menu > li > a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    flex: 0 0 auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* 首图标题样式（中文在上，英文在下居中偏右） */
.page-header {
    position: relative;
    text-align: center;
    padding: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: 70px;
    min-height: 550px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.75);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-header h1 {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px 0;
    letter-spacing: 3px;
    position: relative;
    z-index: 3;
}

.page-header .subtitle {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    opacity: 0.7;
    margin: 0;
    letter-spacing: 5px;
    text-transform: uppercase;
    position: relative;
    margin-left: 80px;
    z-index: 2;
}

/* 平板端背景框尺寸 */
@media (min-width: 769px) and (max-width: 1024px) {
    .page-header {
        min-height: 350px;
    }
}

/* 移动端自适应 */
@media (max-width: 768px) {
    .page-header {
        min-height: 280px;
    }
    .page-header h1 {
        font-size: 36px;
    }
    .page-header .subtitle {
        font-size: 16px;
        letter-spacing: 4px;
        margin-left: 40px;
    }
}

.page-header-no-image {
    background-image: none !important;
    background: linear-gradient(135deg, #1a5490 0%, #2c7cc1 100%);
    padding: 150px 0 80px;
    min-height: auto;
}

.page-header-no-image::before {
    display: none;
}

.page-header-no-image .container {
    min-height: auto;
}

.page-header-no-image h1 {
    margin-top: 0;
}

/* pages/top20-summer.html — hero + 2×3 MIT program cells */
.hero-small-top20 {
    margin-top: 70px;
    padding: 2rem 0 3rem;
    background: var(--bg-light);
}

.hero-small-top20 .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-small-top20 h1 {
    margin-top: 30px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.hero-small-top20 .subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.25rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.hero-small-top20 .program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.top20-mit-cells {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
    width: 100%;
    min-height: 0;
}

.top20-mit-cell {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow);
    min-height: 0;
    min-width: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.top20-mit-cell h3 {
    font-size: 1rem;
    line-height: 1.35;
    color: var(--primary-color);
    margin: 0 0 0.75rem;
    font-weight: 600;
}


.top20-mit-cell p {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-dark);
    margin: 0 0 0.65rem;
}

.top20-mit-cell p:last-child {
    margin-bottom: 0;
}

.top20-mit-cell a {
    color: var(--secondary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.top20-mit-cell a:hover {
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .top20-mit-cells {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .top20-mit-cells {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1a5490 0%, #2c7cc1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    font-style: italic;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1rem auto;
    border-radius: 2px;
}

/* Quick Links Section */
.quick-links-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quick-link-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    border: 2px solid transparent;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.quick-link-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.quick-link-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.quick-link-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-content .lead {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.beliefs h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.belief-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.belief-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.belief-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.belief-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.belief-list {
    margin-bottom: 4rem;
}

.belief-list p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.belief-list p:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.location-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.location-card h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.location-subtitle,
.office-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.mission-statement {
    background: linear-gradient(145deg, #1a5490 0%, #2c7cc1 100%);
    padding: 3.5rem 4rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(26, 84, 144, 0.3);
    margin: 3rem 0;
    text-align: center;
    font-size: 1.15rem;
    line-height: 2;
    position: relative;
    overflow: hidden;
}

.mission-statement::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.1);
    font-family: Georgia, serif;
}

.mission-statement::after {
    content: '”';
    position: absolute;
    bottom: -40px;
    right: 20px;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.1);
    font-family: Georgia, serif;
}

.mission-statement p {
    margin: 0;
    color: #ffffff;
    font-weight: 300;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}



.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.locations h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Team Section */
.team-section {
    background: var(--bg-white);
    padding-top: 0;
}

.founders {
    padding-top: 60px;
    background: var(--bg-white);
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0.5rem 0 2rem;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.team-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    margin-bottom: 1.5rem;
}

.placeholder-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.team-member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.team-card h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-bio p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.mentor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mentor-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.mentor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.mentor-header h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.mentor-school {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.mentor-specialty {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
}

/* Services Section */
.services-section {
    background: var(--bg-light);
    padding: 3rem 0 4rem;
}

.service-model {
    margin-bottom: 4rem;
}

.service-model h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.model-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-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: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.service-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.highlight-item {
    text-align: center;
}

.highlight-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Service Process */
.service-process {
    margin: 4rem 0;
}

.service-process h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    /* 线条从节点下方开始 */
    top: calc(60px + 30px); /* 节点顶部位置 + 节点高度的一半 */
    left: 60px; /* 节点中心位置 */
    width: 2px;
    height: calc(100% + 3rem - 30px); /* 减去节点下半部分的高度 */
    background: var(--border-color);
    z-index: 1;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Service Packages */
.service-packages {
    margin-top: 4rem;
}

.service-packages h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.packages-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.package-header,
.package-row {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.package-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem 2rem;
    font-weight: 600;
}

.package-row {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.package-row:last-child {
    border-bottom: none;
}

.package-category {
    font-weight: 600;
    color: var(--primary-color);
}

.package-details ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
}

.package-details li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.value-added {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.value-added h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-added ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.value-added li::before {
    content: '★';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Features Section */
.features-section {
    background: var(--bg-white);
}

.features-section.top20-programs-overview {
    padding: 2.5rem 0 1rem;
}

.hero-small-top20 .program-grid .program-details ul {
    margin: 0.35rem 0 0.65rem 1.2rem;
    padding: 0;
}

.hero-small-top20 .program-grid .program-details li {
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-dark);
}

.summer-programs {
    margin-bottom: 4rem;
}

.summer-programs h3,
.top-programs h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.summer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.summer-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.summer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.summer-logo {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.feature-highlights {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.check-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Research Programs */
.research-programs h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.research-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.research-importance h4 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.importance-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.importance-number {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.research-advantage {
    margin-top: 3rem;
}

.advantage-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.advantage-box h4 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.project-details h5 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-details ul {
    list-style: none;
}

.project-details li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.project-details li::before {
    content: '•';
    color: var(--accent-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
}

.formula-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.formula {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Three-line formula styles */
.formula-line1, .formula-line2, .formula-line3 {
    margin: 0;
    font-weight: bold;
}

.formula-line1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.formula-line2 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.formula-line3 {
    font-size: 1.4rem;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-card h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.contact-details p {
    margin-bottom: 0.75rem;
}

.form-intro {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.why-choose {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 3px solid var(--border-color);
}

.why-choose h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.reason-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.reason-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reason-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* New Page Specific Styles */
.section-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.planning-phases h3,
.planning-components h3,
.brightpath-advantage h3,
.why-summer-programs h3,
.research-importance-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.timeline-grid,
.component-grid,
.advantage-grid,
.program-grid,
.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.phase-card,
.component-card,
.advantage-card,
.program-card,
.field-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.phase-card:hover,
.component-card:hover,
.advantage-card:hover,
.program-card:hover,
.field-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.phase-number,
.component-icon,
.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.program-card.featured {
    border: 2px solid var(--accent-color);
    position: relative;
}

.program-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.program-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* CTA Section - Unified Style */
.cta-section {
    text-align: center;
    padding: 45px;
    background: white;
    border-radius: var(--radius, 12px);
    box-shadow: var(--shadow, 0 4px 6px rgba(0, 0, 0, 0.1));
    margin-top: 3rem;
}

.cta-section h3 {
    font-size: 22px;
    color: var(--primary-color, #1a5490);
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-section p {
    font-size: 15px;
    color: var(--text-light, #7f8c8d);
    margin-bottom: 25px;
    line-height: 1.6;
}

.cta-section .btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: var(--primary-color, #1a5490);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color, #1a5490);
}

.cta-section .btn-primary:hover {
    background: transparent;
    color: var(--primary-color, #1a5490);
}

/* Grade Page CTA Style */
.grade-cta {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-align: center;
    padding: 50px 40px;
    border-radius: 20px;
    margin: 3rem auto;
    max-width: 800px;
    box-shadow: 0 12px 40px rgba(41, 128, 185, 0.3);
}

.grade-cta h3 {
    color: white;
    margin-top: 0;
    font-size: 24px;
    font-weight: 600;
}

.grade-cta p {
    max-width: 700px;
    margin: 18px auto 28px;
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.6;
}

.grade-cta .btn {
    display: inline-block;
    padding: 14px 35px;
    background: white;
    color: #2980b9;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.grade-cta .btn:hover {
    background: transparent;
    color: white;
}

/* Narrow button style */
.btn-narrow {
    display: block !important;
    margin: 0 auto !important;
    width: auto !important;
    min-width: 180px !important;
    max-width: 250px !important;
}

.formula-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
}

.formula-highlight h3 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.step-number {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.competition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.competition-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.competition-full-name {
    font-style: italic;
    color: var(--text-light);
    margin: 0.5rem 0 1rem;
    font-size: 0.9rem;
}

/* Summer Program Page Styles */
.summer-section {
    background-color: #f9f9fb;
    padding: 60px 0;
}

.summer-content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.summer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.summer-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #eee;
}

.summer-card-header {
    padding: 18px 22px;
    text-align: center;
    color: white;
}

.summer-card-header .program-full-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.summer-card-header .program-short-name {
    font-size: 18px;
    font-weight: 700;
}

.summer-card-content {
    padding: 24px;
}

.summer-card-content .detail-row {
    margin-bottom: 14px;
    font-size: 15px;
    color: #222;
    line-height: 1.6;
}

.summer-card-content .section-title {
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    font-size: 15px;
    margin-top: 20px;
}

.summer-card-content ul {
    padding-left: 20px;
    margin: 0;
    color: #444;
    font-size: 14px;
    line-height: 1.7;
}

/* Difficulty Badges */
.difficulty-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-top: 8px;
}

.difficulty-highest {
    background: #ff6b6b;
    color: white;
}

.difficulty-high {
    background: #f59e0b;
    color: white;
}

.difficulty-medium {
    background: #10b981;
    color: white;
}

/* Card Header Colors */
.header-purple {
    background: #8b5cf6;
}

.header-cyan {
    background: #06b6d4;
}

.header-green {
    background: #10b981;
}

.header-amber {
    background: #f59e0b;
}

.header-blue {
    background: #3b82f6;
}

.header-pink {
    background: #ec4899;
}

.header-teal {
    background: #14b8a6;
}

.header-navy {
    background: #1a5490;
}

/* Tip Panel */
.tip-panel {
    background: #fff;
    border-radius: 14px;
    padding: 26px 30px;
    margin-top: 50px;
    border-left: 5px solid #1a5490;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.tip-panel h3 {
    margin-top: 0;
    font-size: 18px;
    color: #222;
}

.tip-panel ul {
    padding-left: 22px;
    color: #444;
    line-height: 1.8;
    font-size: 15px;
}

/* CTA Box */
.cta-box {
    background: #e0f2fe;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.cta-box h3 {
    color: #222;
    margin-top: 0;
    font-size: 22px;
}

.cta-box p {
    color: #555;
    margin-bottom: 20px;
}

.cta-box .btn-cta {
    display: inline-block;
    background: #1a5490;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-box .btn-cta:hover {
    background: #2c7cc1;
    transform: translateY(-2px);
}

/* Vertical Timeline */
.timeline-container {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    overflow: hidden;
}

.timeline-title-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background: linear-gradient(180deg, #1a5490 0%, #1e40af 100%);
    color: white;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-title-vertical h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
}

.timeline-horizontal {
    flex: 1;
    display: flex;
}

.timeline-point {
    flex: 1;
    padding: 24px;
    text-align: center;
    border-right: 1px solid #eee;
    position: relative;
}

.timeline-point.timeline-last {
    border-right: none;
}

.timeline-point .timeline-date {
    background: #e0f2fe;
    color: #1a5490;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.timeline-point h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #222;
}

.timeline-point p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    background: #1a5490;
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-point.timeline-last .timeline-dot {
    display: none;
}

/* Legacy timeline styles for compatibility */
.timeline-vertical {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    overflow: hidden;
}

.timeline-item {
    flex: 1;
    padding: 24px;
    text-align: center;
    border-right: 1px solid #eee;
    position: relative;
}

.timeline-item:last-child {
    border-right: none;
}

.timeline-item .timeline-date {
    background: #e0f2fe;
    color: #1a5490;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.timeline-item h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #222;
}

.timeline-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.timeline-item:last-child .timeline-dot {
    display: none;
}

/* Table-based Timeline Styles */
.timeline-table {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    overflow: hidden;
    border-collapse: collapse;
}

.timeline-title-cell {
    background: linear-gradient(180deg, #1a5490 0%, #1e40af 100%);
    color: white;
    padding: 20px;
    text-align: center;
    vertical-align: middle;
    width: 80px;
}

.vertical-text {
    /* 强制竖排 */
    writing-mode: vertical-rl !important;
    text-orientation: upright !important;
    
    /* 排版 */
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
    
    /* 必须加，保证生效 */
    display: block !important;
    width: auto !important;
    height: auto !important;
}

.timeline-content-cell {
    padding: 16px;
    text-align: left;
    border-right: 1px solid #eee;
    vertical-align: top;
}

.timeline-content-cell.timeline-last-cell {
    border-right: none;
}

/* Override reason-item styles for timeline table */
.timeline-content-cell .reason-item {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: none !important;
    position: static !important;
}

.timeline-content-cell .reason-item:hover {
    transform: none !important;
    box-shadow: none !important;
}

.timeline-content-cell .reason-item .timeline-date {
    background: linear-gradient(135deg, #1a5490 0%, #1e40af 100%);
    color: white;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(26, 84, 144, 0.3);
}

.timeline-content-cell .reason-item h4 {
    font-size: 16px !important;
    color: #222 !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    margin-top: 0 !important;
}

.timeline-content-cell .reason-item p {
    font-size: 13px !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Color Theme Variables for Summer Pages */
:root {
    --summer-card-shadow: 0 4px 18px rgba(0,0,0,0.06);
    --summer-bg-light: #f9f9fb;
    --summer-border: #eee;
}

/* Activities Page Styles */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.category-desc {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.activity-list {
    list-style: none;
    padding: 0;
}

.activity-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.activity-list li:last-child {
    border-bottom: none;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.strategy-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.strategy-number {
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.template-formula {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin: 1rem 0;
}

.examples {
    margin-top: 1.5rem;
}

.examples p {
    margin-bottom: 1rem;
}

.examples strong {
    color: var(--primary-color);
}

.grade-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.grade-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.grade-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.school-prefs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pref-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.pref-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.help-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.help-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.help-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Grade Planning Pages */
.grade-header {
    background: linear-gradient(135deg, #1a5490 0%, #2c7cc1 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.grade-header .container {
    max-width: 800px;
}

.grade-title {
    margin-bottom: 1.5rem;
}

.grade-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.grade-header h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.grade-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    font-style: italic;
}

.grade-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.grade-overview {
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.overview-card.highlight {
    border-left: 5px solid var(--accent-color);
}

.planning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.planning-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.planning-card.wide {
    grid-column: 1 / -1;
}

.summer-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.checklist-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.application-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.timeline-month {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.timeline-month h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.warning-section {
    margin: 4rem 0;
}

.warning-section h3 {
    text-align: center;
    color: #e74c3c;
    margin-bottom: 2rem;
}

.success-formula {
    margin: 4rem 0;
    text-align: center;
}

.formula-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 800px;
}

.formula {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
}

.footer-brand h3 {
    font-size: 22px;
    color: white;
    margin-bottom: 8px;
    font-weight: 600;
    border-bottom: none;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 14px;
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 15px;
        padding-left: 5%;
        padding-right: 3rem;
    }

    .nav-brand {
        max-width: 100%;
    }

    .logo-img {
        width: calc(201px * 0.8);
        max-height: calc(86px * 0.8);
        height: auto;
        padding: 0;
        background: transparent;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        z-index: 1001;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-menu a {
        padding: 0.5rem 1rem;
    }

    .nav-chinese {
        font-size: 0.9em;
    }

    .nav-menu.active {
        left: 0;
    }

    /* 手机端下拉菜单直接展开显示 */
    .dropdown {
        position: relative;
    }

    .dropdown-toggle::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: #f8f9fa;
        min-width: 100%;
        margin-top: 0.5rem;
        padding: 0.5rem 0;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
    }

    .dropdown-menu a {
        padding: 0.6rem 1.5rem;
        text-align: center;
        color: var(--text-dark);
        font-size: 12px;
    }

    .dropdown-menu a:hover {
        background: var(--primary-color);
        color: white;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .belief-grid,
    .team-grid,
    .service-grid,
    .summer-grid,
    .importance-grid {
        grid-template-columns: 1fr;
    }

    .package-header,
    .package-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .package-header .package-details:first-child {
        display: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .footer-column {
        flex: none;
    }

    .footer-column h4 {
        display: none;
    }

    .footer-column ul {
        display: contents;
    }

    .footer-column li {
        display: inline-block;
        margin-bottom: 0;
        margin-right: 15px;
    }

    .footer-column li:last-child {
        margin-right: 0;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-item::before {
        left: 30px;
        top: 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .package-details ul {
        grid-template-columns: 1fr;
    }
}

/* Summer Program Specific Styles */
.summer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.summer-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.summer-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.summer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.summer-header h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 0;
    flex: 1;
}

.difficulty-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.difficulty-badge.highest {
    background: #ff4757;
    color: white;
}

.difficulty-badge.high {
    background: #ffa502;
    color: white;
}

.difficulty-badge.medium {
    background: #2ed573;
    color: white;
}

.difficulty-badge.low {
    background: #70a1ff;
    color: white;
}

.summer-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    line-height: 1.6;
}

.detail-item strong {
    color: var(--text-color-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.detail-item ul {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
}

.detail-item li {
    margin-bottom: 0.5rem;
}

.selection-guide, .success-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.guide-item, .factor-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.guide-item h4, .factor-item h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.guide-item ul, .factor-item ul {
    margin: 0.5rem 0 0 1.5rem;
}

.guide-item li, .factor-item li {
    margin-bottom: 0.5rem;
}

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

    .summer-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .selection-guide, .success-factors {
        grid-template-columns: 1fr;
    }
}
