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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
    margin: 0 10px;
    width: calc(100% - 20px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.logo-text span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Navigation Styles */
.nav {
    position: relative;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: relative;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    display: block;
}

.nav-link:hover {
    color: #667eea;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.nav-slider {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" fill-opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-title {
    font-size: clamp(1.2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Company Section */
.company-section {
    padding: 8rem 0;
    background: #f8fafc;
}

.company-content {
    display: grid;
    gap: 4rem;
}

.intro-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.intro-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.intro-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

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

.advantage-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.advantage-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

.course-system {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.course-system h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
    white-space: nowrap;
}

.course-modules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.module-item {
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    border-left: 4px solid #667eea;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.module-item h4 {
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.module-item p {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: center;
}

/* Age Courses Styles */
.age-courses {
    margin-top: 3rem;
}

.age-courses h4 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
    white-space: nowrap;
}

.age-course-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.age-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.age-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.age-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.age-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.age-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Professional Systems Styles */
.professional-systems {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.professional-systems h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-align: center;
    color: #333;
    white-space: nowrap;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.system-card {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.system-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.system-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
    padding-right: 4rem;
    line-height: 1.3;
}

.system-content {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.system-highlight {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.system-list {
    margin: 1rem 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
}

.system-list li {
    margin-bottom: 0.75rem;
    position: relative;
}

.system-list li::marker {
    color: #667eea;
}

.system-mission {
    margin-top: auto;
    padding: 1.25rem;
    background: linear-gradient(135deg, #667eea10, #764ba210);
    border-radius: 12px;
    font-style: italic;
    border-left: 4px solid #667eea;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Learning Path Styles */
.learning-path {
    margin: 1.5rem 0;
}

.learning-path h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 1rem;
    text-align: center;
}

.path-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.path-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 70px;
}

.path-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.step-icon {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.step-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    white-space: nowrap;
}

.path-arrow {
    color: #667eea;
    animation: pulse 2s infinite;
}

.path-arrow svg {
    width: 20px;
    height: 12px;
    transition: transform 0.3s ease;
}

.path-flow:hover .path-arrow svg {
    transform: translateX(2px);
}

/* System Features */
.system-features {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    padding: 0.75rem;
    background: linear-gradient(135deg, #667eea05, #764ba205);
    border-radius: 8px;
    border-left: 3px solid #667eea;
    font-size: 0.85rem;
    line-height: 1.4;
}

.feature-item strong {
    color: #667eea;
    font-weight: 600;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
    60% {
        transform: translateY(-2px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background: white;
}

.gallery-section:nth-child(even) {
    background: #f8fafc;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    min-height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 20px;
}

.carousel-img {
    max-width: 100%;
    max-height: 450px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.placeholder-card {
    height: 400px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.placeholder-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.placeholder-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 2rem;
    z-index: 10;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    background: #667eea;
    transform: scale(1.2);
}

/* Campus Maps */
.campus-maps {
    padding: 4rem 0;
    background: #f8fafc;
}

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

.map-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.map-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
}

.map-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.map-address {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.map-image {
    position: relative;
    overflow: hidden;
}

.campus-map-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-card:hover .campus-map-img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.footer-logo-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-logo-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact {
    flex: 1;
    max-width: 500px;
}

.contact-section {
    margin-bottom: 1.5rem;
}

.contact-section h4 {
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.campus-info p {
    margin: 0.5rem 0;
    line-height: 1.5;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.campus-name {
    font-weight: 600;
    color: #ffffff;
}

.contact-phone {
    font-size: 1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.phone-number {
    font-weight: 600;
    color: #667eea;
    font-size: 1.1rem;
}

.footer-info {
    text-align: right;
    min-width: 200px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.beian-info {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-top: 0.5rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        margin: 0 5px;
        width: calc(100% - 10px);
        border-radius: 0 0 15px 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-list {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .course-modules {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .module-item {
        min-height: 80px;
        padding: 0.75rem;
    }
    
    .module-item h4 {
        font-size: 0.8rem;
        text-align: center;
        line-height: 1.2;
    }
    
    .module-item p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .course-modules {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .systems-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .age-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .age-badge {
        min-width: auto;
    }
    
    .carousel-container {
        max-width: 100%;
    }
    
    .carousel-slide {
        min-height: 300px;
        padding: 15px;
    }
    
    .carousel-img {
        max-height: 250px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-contact {
        max-width: 100%;
    }
    
    .contact-section h4 {
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .maps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .campus-map-img {
        height: 250px;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        margin: 0 2px;
        width: calc(100% - 4px);
        border-radius: 0 0 12px 12px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: clamp(1rem, 3vw, 1.8rem);
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 0.95rem;
        letter-spacing: -0.5px;
        white-space: normal;
        word-break: keep-all;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .intro-card,
    .course-system,
    .professional-systems {
        padding: 2rem;
    }
    
    .system-card {
        padding: 1.5rem;
        min-height: 220px;
    }
    
    .system-card h4 {
        font-size: 1.1rem;
        padding-right: 3rem;
    }
    
    .system-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: 1rem;
        right: 1rem;
    }
    
    .path-flow {
        flex-direction: column;
        gap: 1rem;
    }
    
    .path-arrow {
        transform: rotate(90deg);
    }
    
    .step-icon {
        font-size: 1.2rem;
    }
    
    .step-text {
        font-size: 0.75rem;
    }
    
    .advantage-item {
        padding: 1.5rem;
    }
    
    .carousel-slide {
        min-height: 250px;
        padding: 10px;
    }
    
    .carousel-img {
        max-height: 200px;
    }
    
    .maps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .map-header {
        padding: 1rem;
    }
    
    .map-header h3 {
        font-size: 1.1rem;
    }
    
    .map-address {
        font-size: 0.8rem;
    }
    
    .campus-map-img {
        height: 200px;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
    
    .path-step {
        min-width: 60px;
        padding: 0.5rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.advantage-item,
.module-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.back-to-top:active {
    transform: translateY(0);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

/* 创新课程模式样式 */
.course-structure {
    margin: 20px 0;
    text-align: center;
}

.course-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
}

.core-course,
.branch-course {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px;
    border-radius: 12px;
    min-width: 100px;
    flex: 1;
    max-width: 150px;
}

.core-course {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.branch-course {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.course-icon {
    font-size: 1.8rem;
    animation: bounce 2s infinite;
}

.course-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.course-desc {
    font-size: 0.75rem;
    color: #666;
}

/* 精英师资团队样式 */
.teacher-standards {
    margin: 20px 0;
}

.teacher-standards h5 {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.standards-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.standard-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    min-width: 100px;
    flex: 1;
    max-width: 120px;
}

.standard-icon {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.standard-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.standard-desc {
    font-size: 0.75rem;
    color: #666;
}

/* 前瞻教育理念样式 */
.vision-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    flex-wrap: nowrap;
    width: 100%;
}

.vision-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    min-width: 80px;
    flex: 1;
    max-width: 120px;
}

.vision-icon {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.vision-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.2;
}

.vision-desc {
    font-size: 0.65rem;
    color: #666;
    text-align: center;
}

.vision-arrow {
    width: 30px;
    height: 20px;
    flex-shrink: 0;
}

.vision-arrow path {
    animation: pulse 2s infinite;
}

/* 新增移动端响应式调整 */
@media (max-width: 640px) {
    .course-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .core-course,
    .branch-course {
        min-width: 45%;
        max-width: 48%;
    }
}

@media (max-width: 480px) {
    .course-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .core-course,
    .branch-course {
        max-width: 200px;
        width: 100%;
        min-width: auto;
    }
    
    .standards-grid {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .standard-item {
        max-width: 200px;
        width: 100%;
    }
    
    .vision-flow {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .vision-step {
        min-width: 40%;
        max-width: 45%;
    }
    
    .vision-arrow {
        width: 25px;
        height: 15px;
    }
}

@media (max-width: 360px) {
    .vision-flow {
        flex-direction: column;
        gap: 15px;
    }
    
    .vision-arrow {
        transform: rotate(90deg);
        width: 20px;
        height: 40px;
    }
    
    .vision-step {
        max-width: 200px;
        width: 100%;
        min-width: auto;
    }
} 