/* Shared styles for Bole Education subpages */

/* Base variables - keep consistent with homepage */
:root {
    --primary-orange: #CE5B3C;
    --primary-orange-light: #fbaa3e;
    --primary-orange-dark: #b84d32;
    --gray-medium: #6c7571;
    --gray-light: #ececec;
    --gray-dark: #1f2e3b;
    --white: #ffffff;
    --teal: #34ccce;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    padding-top: 60px; /* Account for fixed navbar */
}

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 4rem 0; background: var(--white); }
.section.gray { background: var(--gray-light); }
.section-title { text-align: left; margin-bottom: 1.5rem; }
.section-title h1, .section-title h2 { color: var(--gray-dark); font-weight: 700; }
.section-title h1 { font-size: 2.5rem; }
.section-title h2 { font-size: 2rem; }
.section-subtitle { color: var(--gray-medium); font-size: 1rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: .8rem; text-decoration: none; border: 2px solid transparent; transition: all .25s ease; cursor: pointer; }
.btn-primary { background: var(--primary-orange); color: var(--white); }
.btn-primary:hover { background: var(--primary-orange-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary-orange); border-color: var(--primary-orange); }
.btn-outline:hover { background: var(--primary-orange); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--gray-dark); border-color: #d1d5db; font-weight: 600; font-size: 0.8rem; }
.btn-ghost:hover { background: var(--gray-light); }

.badge { display: inline-block; padding: .25rem .5rem; border-radius: 6px; font-size: .8rem; font-weight: 600; margin-right: .5rem; }
.badge.teal { background: #e6fffe; color: var(--teal); border: 1px solid #c0f0ef; }
.badge.orange { background: #fff3e8; color: var(--primary-orange); border: 1px solid #ffd7b2; }

/* Navbar (reused from homepage styles) */
.navbar { 
    background: var(--white); 
    box-shadow: var(--shadow); 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000; 
    padding: 0 2rem; 
}
.nav-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 60px; 
}
.nav-inner { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0 2rem; 
    height: 60px; 
}
.logo { 
    display: flex; 
    align-items: center; 
    height: 40px; 
}
.logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.logo a:hover {
    opacity: 0.8;
}
.logo img { 
    height: 40px; 
    width: auto; 
    max-width: 200px; 
    object-fit: contain; 
}
.nav-menu { 
    display: flex; 
    list-style: none; 
    gap: 2rem; 
}
.nav-menu a { 
    text-decoration: none; 
    color: var(--gray-dark); 
    font-weight: 500; 
    transition: color 0.3s ease; 
}
.nav-menu a:hover { 
    color: var(--primary-orange); 
}
.nav-actions { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
}
.mobile-menu-btn { 
    display: none; 
    background: none; 
    border: none; 
    font-size: 1.5rem; 
    color: var(--gray-dark); 
    cursor: pointer; 
}

/* 下拉菜单样式 */
.dropdown { 
    position: relative; 
}
.dropdown-menu { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: var(--white); 
    box-shadow: var(--shadow-lg); 
    border-radius: 8px; 
    min-width: 200px; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(-10px); 
    transition: all 0.3s ease; 
    z-index: 1000; 
    list-style: none; 
    padding: 0.5rem 0; 
}
.dropdown:hover .dropdown-menu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}
.dropdown-menu li { 
    margin: 0; 
}
.dropdown-menu a { 
    display: block; 
    padding: 0.75rem 1.5rem; 
    color: var(--gray-dark); 
    text-decoration: none; 
    transition: all 0.2s ease; 
    border-left: 3px solid transparent; 
}
.dropdown-menu a:hover { 
    background: var(--gray-light); 
    color: var(--primary-orange); 
    border-left-color: var(--primary-orange); 
}

/* Language dropdown styles */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-switch {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--gray-medium);
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.language-switch:hover {
    color: var(--primary-orange);
    background: var(--gray-light);
}

.language-switch .fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--gray-dark);
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--gray-light);
    color: var(--primary-orange);
}

.language-option.active {
    background: var(--primary-orange);
    color: var(--white);
}

.language-option.active:hover {
    background: var(--primary-orange-dark);
}

.flag {
    font-size: 1rem;
}

.search-btn {
    background: none;
    border: none;
    color: var(--gray-medium);
    cursor: pointer;
    font-size: 1.2rem;
}

@media (max-width: 768px) { 
    .nav-menu { 
        display: none; 
    } 
    .mobile-menu-btn { 
        display: inline-flex; 
        background: none; 
        border: none; 
        font-size: 1.5rem; 
        color: var(--gray-dark); 
        cursor: pointer;
    } 
}

/* Breadcrumbs */
.breadcrumbs { background: var(--gray-light); padding: .75rem 0; border-bottom: 1px solid #e5e7eb; }
.breadcrumbs .container { display: flex; align-items: center; gap: .5rem; color: var(--gray-medium); font-size: .9rem; }
.breadcrumbs a { color: var(--gray-dark); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary-orange); }
.breadcrumb-current { color: var(--primary-orange); font-weight: 600; }

/* Hero subpage */
.hero-sub { background: var(--gray-dark); color: var(--white); padding: 5rem 0 3rem; position: relative; overflow: hidden; }
.hero-sub .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.hero-sub h1 { font-size: 2.75rem; line-height: 1.2; margin-bottom: 1rem; }
.hero-sub p { font-size: 1.1rem; opacity: .9; margin-bottom: 1.25rem; }
.hero-sub .hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-sub .hero-illustration { display: flex; align-items: center; justify-content: center; }
.hero-sub .hero-illustration img { width: 100%; max-width: 460px; border-radius: 16px; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .hero-sub .container { grid-template-columns: 1fr; text-align: center; } .hero-sub .hero-cta { justify-content: center; } }

/* Stats mini cards */
.stats-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1rem; }
.stat-mini { background: var(--gray-light); border-radius: 12px; padding: 1rem; text-align: center; }
.stat-mini .num { font-size: 2rem; font-weight: 800; color: var(--primary-orange); }
.stat-mini .label { font-size: .9rem; color: var(--gray-medium); font-weight: 600; }
@media (max-width: 768px) { .stats-mini { grid-template-columns: repeat(2, 1fr); } }

/* Feature cards */
.feature-card { display: grid; grid-template-columns: 28px 1fr; gap: 0.75rem; align-items: start; }
.feature-card .icon { width: 28px; height: 28px; border-radius: 8px; background: var(--primary-orange); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; grid-column: 1; grid-row: 1; align-self: start; }
.feature-card > div:not(.icon) { flex: 1; min-width: 0; grid-column: 2; display: flex; flex-direction: column; }
.feature-card h3 { color: var(--gray-dark); margin: 0; line-height: 1.3; word-wrap: break-word; overflow-wrap: break-word; grid-column: 2; grid-row: 1; }
.feature-card p { color: var(--gray-medium); font-size: .95rem; margin: 0.5rem 0 0 0; padding-left: 0; grid-column: 1 / -1; }

/* Process Cards - Service Process Section */
.process-card {
    border-top: 4px solid var(--primary-orange);
}

.process-number {
    display: inline-block;
    color: var(--primary-orange);
    font-weight: 800;
    font-size: 1.2rem;
    margin-right: 0.5rem;
    background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(206, 91, 60, 0.2);
}

.process-card h3 {
    color: var(--gray-dark);
    font-weight: 700;
}

.process-card .muted {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.package { border-top: 4px solid var(--primary-orange); }
.package h3 { font-size: 1.25rem; color: var(--gray-dark); margin-bottom: .75rem; }
.package .price { font-weight: 800; color: var(--teal); margin-bottom: .5rem; }
.package ul { list-style: none; margin: .75rem 0 1rem; }
.package li { display: flex; align-items: center; gap: .5rem; color: var(--gray-medium); font-size: .95rem; margin-bottom: .4rem; }
.package li i { color: var(--primary-orange); width: 14px; }
@media (max-width: 1024px) { .packages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .packages { grid-template-columns: 1fr; } }

/* Graduate plans */
.plan-card { border-top: 4px solid var(--primary-orange); }
.plan-card h3 { font-size: 1.2rem; color: var(--gray-dark); }
.plan-subtitle { font-weight: 700; color: var(--gray-dark); margin-top: .5rem; margin-bottom: .25rem; }
.plan-block { margin-bottom: .5rem; }
.list-check { list-style: none; margin: .5rem 0 0.75rem; padding: 0; }
.list-check li { display: flex; align-items: flex-start; gap: .5rem; color: var(--gray-medium); font-size: .95rem; margin-bottom: .4rem; }
.list-check li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--primary-orange); width: 14px; line-height: 1.4; flex: 0 0 14px; }
.plan-details { margin-top: .5rem; }
.plan-details summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--gray-dark); background: #f8fafc; border: 1px solid #e5e7eb; padding: .6rem .9rem; border-radius: 8px; }
.plan-details[open] summary { background: #fff5f2; border-color: #ffd7b2; color: var(--primary-orange); }
.plan-details summary::-webkit-details-marker { display: none; }
.plan-details ul { margin-top: .6rem; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid #e5e7eb; }
.compare-table th, .compare-table td { padding: .9rem .8rem; border-bottom: 1px solid #f1f2f4; text-align: center; font-size: .95rem; }
.compare-table thead th { background: var(--gray-light); text-align: left; font-weight: 700; color: var(--gray-dark); }
.compare-table thead th + th { text-align: center; }
.compare-table tbody tr:hover { background: #fafafa; }
.compare-table .check { color: var(--teal); }
.compare-table .cross { color: #e53e3e; }

/* Tabs */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tab { padding: .5rem .9rem; border: 1px solid #d1d5db; border-radius: 20px; background: var(--white); color: var(--gray-dark); font-weight: 600; cursor: pointer; }
.tab.active, .tab:hover { background: var(--primary-orange); color: var(--white); border-color: var(--primary-orange); }
.tab-panels > .tab-panel { display: none; }
.tab-panels > .tab-panel.active { display: block; }

/* FAQ */
.faq-item { border: 1px solid #e5e7eb; border-radius: 10px; background: var(--white); margin-bottom: .75rem; overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.25rem; background: #f8fafc; border: none; cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--gray-dark); }
.faq-a { padding: 0 1.25rem 1rem; color: var(--gray-medium); font-size: 1rem; display: none; }
.faq-item.open .faq-a { display: block; }

/* Footer */
/* Footer styles - support both old and new structure */
.footer { 
    background: var(--gray-dark); 
    color: var(--white); 
    padding: 4rem 2rem 2rem; 
    margin-top: 0; /* Remove top margin to avoid extra white space */
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer .footer-top { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 2rem; 
    margin-bottom: 2rem; 
}
.footer-section h3,
.footer h3 { 
    color: var(--primary-orange); 
    font-size: 1.25rem; 
    font-weight: 600;
    margin-bottom: 1rem; 
}
.footer-section ul,
.footer ul { 
    list-style: none; 
}
.footer-section ul li {
    margin-bottom: 0.5rem;
}
.footer-section ul li a,
.footer a { 
    color: #d1d5db; 
    text-decoration: none; 
    transition: color 0.3s ease;
}
.footer-section ul li a:hover,
.footer a:hover { 
    color: var(--primary-orange); 
}
.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}
.contact-info.contact-address {
    align-items: flex-start;
}
.contact-info i {
    color: var(--primary-orange);
    width: 20px;
    flex-shrink: 0;
}
.contact-info.contact-address i {
    margin-top: 0.2rem;
}

.footer .contact { 
    display: flex; 
    align-items: center; 
    gap: .5rem; 
    color: #d1d5db; 
    margin-bottom: .4rem; 
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: var(--primary-orange-light);
    transform: translateY(-2px);
}
.footer .social { 
    display: flex; 
    gap: .75rem; 
    margin-top: .5rem; 
}
.footer .social a { 
    width: 36px; 
    height: 36px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    background: var(--primary-orange); 
    color: var(--white); 
}
.footer .social a:hover { 
    background: var(--primary-orange-light); 
    transform: translateY(-2px); 
}
.qr-code {
    text-align: center;
    margin-top: 0.5rem;
}
.qr-code img {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 8px;
    padding: 0.5rem;
    display: block;
    margin: 0 auto;
}

/* QR Codes Section in Footer */
.footer-qr-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: visible;
}

.footer-qr-section .qr-codes-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.qr-label {
    font-size: 0.7rem;
    color: #d1d5db;
    margin-bottom: 0.4rem;
    text-align: center;
}

.qr-item .qr-code {
    margin-top: 0;
    width: auto;
    display: block;
    text-align: left;
}

.qr-item .qr-code img {
    width: 120px !important;
    height: 120px !important;
    max-width: none !important;
    display: block;
    margin: 0;
    margin-left: 0;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 1.5rem;
    }
    
    .qr-item .qr-code img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-qr-section .qr-codes-container {
        grid-template-columns: 1fr 1fr;
        max-width: 200px;
        margin: 0;
        margin-left: 0;
    }
    
    .footer-qr-section {
        align-items: flex-start;
    }
    
    .qr-item .qr-code img {
        width: 90px;
        height: 90px;
    }
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}
.footer .bottom { 
    border-top: 1px solid #374151; 
    padding-top: 1.25rem; 
    text-align: center; 
    color: #9ca3af; 
    font-size: .9rem; 
}

/* Helper */
.muted { color: var(--gray-medium); }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .mt-6 { margin-top: 2rem; }
.mb-1 { margin-bottom: .25rem; } .mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; } .mb-6 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .25rem; } .gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; }

/* Simple bar chart (for region distribution placeholder) */
.bars { display: grid; gap: .5rem; }
.bar { display: grid; grid-template-columns: 90px 1fr 110px; align-items: center; gap: .75rem; }
.bar .label { color: var(--gray-dark); font-weight: 600; }
.bar .track { background: #f1f5f9; border-radius: 999px; height: 10px; overflow: hidden; }
.bar .fill { background: var(--primary-orange); height: 100%; border-radius: 999px; }
.bar .value { text-align: right; color: var(--gray-medium); font-weight: 600; }

/* Team page hero */
.team-hero {
    background: linear-gradient(135deg, #fff5f2 0%, #ffffff 100%);
    position: relative;
}
.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
}
.team-page-title {
    color: var(--gray-dark);
    position: relative;
    display: inline-block;
}
.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Section titles with icons */
.section-title-with-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.section-icon {
    color: var(--primary-orange);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff5f2;
    border-radius: 10px;
    flex-shrink: 0;
}
.section-underline {
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
    margin-bottom: 0.75rem;
    border-radius: 2px;
}

/* Service Module Cards */
.module-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
    padding: 0;
    transition: all .3s ease;
    overflow: hidden;
    position: relative;
}

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

.module-header {
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #f1f2f4;
}

.module-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
}

.module-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin: 0;
    line-height: 1.3;
}

.module-content {
    padding: 1.5rem;
}

.module-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color .2s ease;
}

.module-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.module-item:last-child {
    margin-bottom: 0;
}

.item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--white);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-dark);
    line-height: 1.2;
}

.item-desc {
    font-size: 0.85rem;
    color: var(--gray-medium);
    line-height: 1.3;
}

/* Module Color Themes - All icons use primary-orange */
.module-assessment {
    border-top: 4px solid var(--primary-orange);
}

.module-assessment .module-icon {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
}

.module-assessment .item-icon {
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8d1 100%);
    color: var(--primary-orange);
}

.module-strategy {
    border-top: 4px solid var(--primary-orange);
}

.module-strategy .module-icon {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
}

.module-strategy .item-icon {
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8d1 100%);
    color: var(--primary-orange);
}

.module-materials {
    border-top: 4px solid var(--primary-orange);
}

.module-materials .module-icon {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
}

.module-materials .item-icon {
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8d1 100%);
    color: var(--primary-orange);
}

.module-interview {
    border-top: 4px solid var(--primary-orange);
}

.module-interview .module-icon {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
}

.module-interview .item-icon {
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8d1 100%);
    color: var(--primary-orange);
}

.module-host {
    border-top: 4px solid var(--primary-orange);
}

.module-host .module-icon {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
}

.module-host .item-icon {
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8d1 100%);
    color: var(--primary-orange);
}

.module-visa {
    border-top: 4px solid var(--primary-orange);
}

.module-visa .module-icon {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
}

.module-visa .item-icon {
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8d1 100%);
    color: var(--primary-orange);
}

/* Team cards */
.team-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    border-top: 4px solid var(--primary-orange);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-top-color .3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-orange);
    transform: scaleX(0);
    transition: transform .3s ease;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-orange-dark);
}
.team-card:hover::before {
    transform: scaleX(1);
}
.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-orange);
    box-shadow: 0 4px 12px rgba(206, 91, 60, 0.2);
    transition: all .3s ease;
}
.team-card:hover .team-avatar {
    border-color: var(--primary-orange-dark);
    box-shadow: 0 6px 16px rgba(206, 91, 60, 0.3);
    transform: scale(1.05);
}
.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}
.team-role {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: #fff5f2;
    border-radius: 20px;
    display: inline-block;
}
.team-education {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.team-specialty {
    color: var(--gray-medium);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f2f4;
    width: 100%;
}
.team-achievements {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
}
.team-achievements i {
    color: var(--primary-orange);
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}
.team-achievements span {
    color: var(--gray-dark);
    font-size: 0.85rem;
    line-height: 1.5;
    flex: 1;
}

/* Achievements grid - 录取战绩展示 */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.achievement-category {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    border-top: 4px solid var(--primary-orange);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: transform .3s ease, box-shadow .3s ease;
}
.achievement-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-orange-dark);
}
.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f2f4;
}
.category-header i {
    color: var(--primary-orange);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff5f2;
    border-radius: 10px;
    flex-shrink: 0;
}
.category-header h3 {
    color: var(--gray-dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}
.school-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-orange) #f1f2f4;
    -webkit-overflow-scrolling: touch;
}
.school-tags::-webkit-scrollbar {
    height: 8px;
}
.school-tags::-webkit-scrollbar-track {
    background: #f1f2f4;
    border-radius: 4px;
}
.school-tags::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 4px;
}
.school-tags::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange-dark);
}
.school-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
    color: var(--gray-dark);
    border: 1px solid rgba(206, 91, 60, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all .2s ease;
    cursor: default;
    white-space: nowrap;
    flex-shrink: 0;
}
.school-tag:hover {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(206, 91, 60, 0.3);
}

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

/* WeChat QR Code Modal Styles */
.wechat-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.wechat-modal {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 420px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10001;
}

.wechat-modal-active {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.wechat-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f3f4f6;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    color: var(--gray-medium);
    font-size: 1.1rem;
}

.wechat-modal-close:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: rotate(90deg);
}

.wechat-modal-content {
    padding: 2.5rem 2rem 2rem;
}

.wechat-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.wechat-modal-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
}

.wechat-modal-icon i {
    font-size: 2rem;
    color: var(--white);
}

.wechat-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin: 0 0 0.5rem 0;
}

.wechat-modal-subtitle {
    font-size: 0.95rem;
    color: var(--gray-medium);
    margin: 0;
    line-height: 1.5;
}

.wechat-modal-body {
    text-align: center;
}

.wechat-qr-container {
    background: var(--white);
    border: 2px solid #f1f2f4;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.wechat-qr-container:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 4px 16px rgba(206, 91, 60, 0.15);
}

.wechat-qr-image {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.wechat-modal-tips {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
    background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(206, 91, 60, 0.1);
}

.wechat-tip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.wechat-tip-item i {
    color: var(--primary-orange);
    font-size: 1rem;
    flex-shrink: 0;
}

.wechat-tip-item span {
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wechat-modal {
        max-width: 90%;
        border-radius: 16px;
    }

    .wechat-modal-content {
        padding: 2rem 1.5rem 1.5rem;
    }

    .wechat-modal-title {
        font-size: 1.3rem;
    }

    .wechat-modal-subtitle {
        font-size: 0.9rem;
    }

    .wechat-qr-image {
        max-width: 200px;
    }

    .wechat-modal-icon {
        width: 56px;
        height: 56px;
    }

    .wechat-modal-icon i {
        font-size: 1.75rem;
    }

    .wechat-modal-tips {
        padding: 1rem;
    }

    .wechat-tip-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .wechat-modal {
        max-width: 95%;
    }

    .wechat-qr-image {
        max-width: 180px;
    }
}

