/* ===========================
   湖北杰讯科技有限公司 - 企业官网
   Stylesheet (based on NRS design)
   =========================== */

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Blue & Yellow Theme */
    --terracotta: #2855fc;
    --terracotta-dark: #1a42c4;
    --brown-dark: #0a1d5e;
    --brown-medium: #142882;
    --brown-light: #0c1f52;
    --cream: #F0F3FF;
    --cream-light: #F5F7FF;
    --cream-dark: #E1E5F9;
    --green: #f8dc2d;
	--green-dark: #c8b024;
    --green-light: #FDF0B5;
    --white: #ffffff;
    --text-dark: #152051;
    --text-body: #555;
    --text-light: #888;
    --text-cream: #E8ECF8;
    --blue: #2855fc;
    --blue-light: #5A7EFD;

    /* Layout */
    --max-width: 1200px;
    --header-h: 50px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

/* Smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== Container ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    background: var(--white);
    z-index: 1000;
    transition: var(--transition);
    /*border-bottom: 1px solid rgba(0,0,0,0.05);*/
}

/* At very top: transparent background, white text */
.site-header.at-top {
    background: transparent;
    
}

.site-header.at-top .site-logo {
    color: #fff;
}

@media (min-width: 769px) {
    .site-header.at-top .nav-list a {
        color: rgba(255,255,255,0.85);
    }

    .site-header.at-top .nav-list a.active {
        color: var(--green);
    }

    .site-header.at-top .nav-list a::after {
        background: var(--green);
    }

    .site-header.at-top .nav-list a:hover {
        color: var(--green);
    }
}

/* at-top: dropdown also use green underline */
.site-header.at-top .nav-list a::after {
    background: var(--green);
}

.site-header.at-top .menu-toggle span {
    background: #fff;
}

.site-header.scrolled {
    height: 60px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 5%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--brown-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.5px;
}

.site-logo .logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Logo img */
.logo-placeholder {
    width: 170px;
    height: 30px;
    object-fit: contain;
    transition: var(--transition);
}

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-list li {
    list-style: none;
}

.nav-list a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
}

.nav-list a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a.active {
    color: var(--terracotta);
}

/* nav_ico triangle size */
#header .header_con .nav_list_box .nav_list .nav_item .nav_item_link .nav_ico {
    font-size: 0.6em;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-toggle .arrow {
    font-size: 1em;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.has-dropdown.open .dropdown-toggle .arrow {
    transform: rotate(180deg);
}

/* Bridge: invisible strip to fill the gap so hover doesn't break */
.has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    z-index: 1000;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 150px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 0;
    z-index: 1001;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
}

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

.dropdown-menu a:hover {
    background: rgba(40, 85, 252, 0.08);
    color: var(--terracotta);
}

/* Desktop hover */
@media (min-width: 769px) {
    .has-dropdown:hover > .dropdown-menu {
        display: block;
    }

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

    /* At-top transparent: dropdown white */
    .site-header.at-top .dropdown-menu {
        background: rgba(10, 29, 94, 0.95);
        box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    }
    .site-header.at-top .dropdown-menu a {
        color: rgba(255,255,255,0.8);
    }
    .site-header.at-top .dropdown-menu a:hover {
        background: rgba(40, 85, 252, 0.25);
        color: var(--green);
    }
}

/* Mobile click-to-open */
@media (max-width: 768px) {
    .has-dropdown::after {
        display: none;
    }
    .has-dropdown.open > .dropdown-menu {
        display: block;
    }
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        background: rgba(0,0,0,0.03);
        border-left: 3px solid var(--terracotta);
        margin-left: 24px;
    }
    .dropdown-menu a {
        padding: 12px 20px;
        font-size: 0.9rem;
        color: var(--text-body);
        text-align: left;
    }
}

/* Pad/mobile nav panel: inline dropdowns (override absolute positioning) */
.pad_nav_wrap .dropdown-menu,
.mobile_nav_wrap .dropdown-menu {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    padding: 0;
    background: transparent;
    min-width: auto;
}
.pad_nav_wrap .has-dropdown.open > .dropdown-menu,
.mobile_nav_wrap .has-dropdown.open > .dropdown-menu {
    display: block;
}
.pad_nav_wrap .has-dropdown::after,
.mobile_nav_wrap .has-dropdown::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--brown-dark);
    position: relative;
    overflow: hidden;
    padding-top: var(--header-h);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 29, 94, 0.3);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 0 5%;
}

.hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero .subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--green);
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.hero .description {
    font-size: 1.15rem;
    line-height: 1.9;
    max-width: 600px;
    color: rgba(255,255,255,0.8);
}

.hero-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 48px;
}

.hero-nav-pills a {
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    transition: var(--transition);
}

.hero-nav-pills a:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: #fff;
}

/* ===== Page Banner (sub-pages) ===== */
.page-banner {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: var(--brown-dark);
    position: relative;
    overflow: hidden;
    padding-top: var(--header-h);
}

.page-banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 29, 94, 0.3);
}

.page-banner-video {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: 0;
}
.page-banner-bg{
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 0 5%;
}

.page-banner h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
	color: var(--green);
}

.page-banner .subtitle {
    font-size: 1rem;
    color: var(--green);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.page-banner .description {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

/* ===== Section Base ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-cream { background: var(--cream); }
.section-brown { background: var(--brown-dark); color: var(--text-cream); }
.section-white { background: var(--cream); }

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--terracotta);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
	color: var(--terracotta);
}

.section-brown .section-title { color: var(--green); }
.section-brown .section-tag { color: var(--green); }

.section-desc {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-top: 16px;
    max-width: 700px;
}

.section-brown .section-desc { color: rgba(227, 242, 253, 0.7); }

/* ===== Marquee ===== */
.marquee {
    overflow: hidden;
    background: var(--terracotta);
    padding: 18px 0;
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-track span {
    display: inline-block;
    margin: 0 32px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.marquee-track span::after {
    content: "";
    margin-left: 32px;
    opacity: 0;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== Banner Carousel ===== */
.banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--cream);
}

.banner-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.banner-slide {
    flex: 0 0 100%;
    display: block;
    overflow: hidden;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Desktop hover zoom */
@media (hover: hover) and (pointer: fine) {
    .banner-slide:hover img {
        transform: scale(1.04);
    }
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.banner-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.banner-dots button.active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.7);
    color: var(--brown-dark);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.95);
}

.banner-prev { left: 20px; }
.banner-next { right: 20px; }

@media (max-width: 768px) {
    .banner-slide img {
        max-height: 260px;
    }
    .banner-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
    .banner-prev { left: 10px; }
    .banner-next { right: 10px; }
}

/* ===== Feature Cards (6-grid) ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border-radius: 0 10px 10px 0;
    padding: 8% 6%;
    border-left: 6px solid;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.feature-card:nth-child(1) { border-color: var(--terracotta); }
.feature-card:nth-child(2) { border-color: var(--green-light); }
.feature-card:nth-child(3) { border-color: var(--brown-medium); }
.feature-card:nth-child(4) { border-color: var(--blue); }
.feature-card:nth-child(5) { border-color: var(--green); }
.feature-card:nth-child(6) { border-color: var(--terracotta-dark); }

.feature-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.feature-card:nth-child(1) .icon { background: rgba(40,85,252,0.12); color: var(--terracotta); }
.feature-card:nth-child(2) .icon { background: rgba(253,240,181,0.25); color: var(--green); }
.feature-card:nth-child(3) .icon { background: rgba(25,118,210,0.12); color: var(--brown-medium); }
.feature-card:nth-child(4) .icon { background: rgba(33,150,243,0.12); color: var(--blue); }
.feature-card:nth-child(5) .icon { background: rgba(248,220,45,0.12); color: var(--green); }
.feature-card:nth-child(6) .icon { background: rgba(26,66,196,0.12); color: var(--terracotta-dark); }

.feature-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
    align-items: center;
}

.about-text h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--green);
    margin-bottom: 24px;
    line-height: 1.3;
	
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(227, 242, 253, 0.8);
    margin-bottom: 16px;
}

.about-text p .highlight {
    color: var(--terracotta);
}

.about-text p .yeellight {
    color: var(--green);
}

.about-visual {
    position: relative;
}

.about-visual-card {
    background: linear-gradient(180deg, rgba(40, 85, 252, 1) 0%, rgba(40, 85, 252, 0) 49%);
    border-radius: 10px;
    padding: 40px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
}

.about-visual-card .visual-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&w=1080');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.about-visual-card .visual-content {
    position: relative;
    z-index: 2;
}

.about-visual-card h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.about-visual-card .advisor-name {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #fff;
}

/* ===== Info Block (image + text) ===== */
.info-block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
    align-items: center;
}

.info-block-image {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--cream-dark);
}

.info-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.info-block-image:hover img {
    transform: scale(1.05);
}

.info-block-text h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--terracotta)
    margin-bottom: 20px;
    line-height: 1.3;
}

.info-block-text p {
    font-size: 1.02rem;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 16px;
}

/* ===== Training Flow (Process Steps) ===== */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.flow-steps::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: rgba(40,85,252,0.2);
    z-index: 0;
}

.flow-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.flow-step .step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--terracotta);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.flow-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(40,85,252,0.3);
}

.flow-step h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.flow-step p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ===== Employment System Cards ===== */
.employment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.employment-card {
    background: #fff;
    border-radius: 0 10px 10px 0;
    padding: 8% 6%;
    border-left: 6px solid;
    transition: var(--transition);
}

.employment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.employment-card:nth-child(1) { border-color: var(--terracotta); }
.employment-card:nth-child(2) { border-color: var(--green-light); }
.employment-card:nth-child(3) { border-color: var(--brown-medium); }
.employment-card:nth-child(4) { border-color: var(--blue); }
.employment-card:nth-child(5) { border-color: var(--green); }

.employment-card .card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.employment-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.employment-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* ===== Stats Section ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item .stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-item .stat-number .unit {
    font-size: 0.5em;
    margin-left: 4px;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: rgba(227, 242, 253, 0.7);
}

/* ===== Partners Grid ===== */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.partner-card {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.06);
    width: calc((100% - 96px) / 5);
    min-width: 140px;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.partner-card .partner-logo {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.75;
    transition: var(--transition);
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== Values Section ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.value-card {
    background: #fff;
    border-radius: 10px;
    padding: 6%;
    border-left: 6px solid;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.value-card:nth-child(1) { border-color: var(--terracotta); }
.value-card:nth-child(2) { border-color: var(--green); }
.value-card:nth-child(3) { border-color: var(--brown-medium); }
.value-card:nth-child(4) { border-color: var(--blue); }

.value-card .value-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.value-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(40,85,252,0.2);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--terracotta);
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px rgba(40,85,252,0.2);
}

.timeline-item .timeline-year {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--terracotta);
    margin-bottom: 8px;
}

.timeline-item .timeline-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-item .timeline-desc {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* ===== Certification Badges ===== */
.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.cert-badge {
    padding: 10px 24px;
    background: rgba(40,85,252,0.1);
    border: 1px solid rgba(40,85,252,0.3);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--terracotta);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ===== Curriculum Table ===== */
.curriculum-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.curriculum-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: 1.7;
    background: #fff;
}

.curriculum-table thead tr {
    background: var(--brown-dark);
    color: #fff;
}

.curriculum-table thead th {
    padding: 16px 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    border: 1px solid rgba(255,255,255,0.15);
}

.curriculum-table tbody td {
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,0.06);
    vertical-align: middle;
}

.curriculum-table .stage-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-dark);
    text-align: center;
    vertical-align: middle;
}

.curriculum-table .knowledge-cell {
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.85rem;
}

.curriculum-table .skills-cell {
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--text-body);
    padding: 14px 16px;
}

.curriculum-table .skills-cell br {
    display: block;
    content: "";
    margin-bottom: 4px;
}

/* Sidebar "1:1实时项目实战" */
.curriculum-sidebar {
    background: var(--terracotta);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-align: center;
    vertical-align: middle;
    width: 12%;
    letter-spacing: 1px;
}

/* Stage row colors */
.curriculum-table .stage-1 { background: rgba(40, 85, 252, 0.08); }
.curriculum-table .stage-2 { background: rgba(253, 240, 181, 0.3); }
.curriculum-table .stage-3 { background: rgba(40, 85, 252, 0.15); }
.curriculum-table .stage-4 { background: rgba(33, 150, 243, 0.1); }

.curriculum-table .stage-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--terracotta);
    text-align: center;
    vertical-align: middle;
}

.curriculum-table .week-cell {
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.85rem;
    min-width: 70px;
}

.curriculum-table .stage-header td {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    background: var(--brown-dark);
    text-align: center;
    padding: 14px 12px;
}

/* Make table wrap scroll on mobile */
@media (max-width: 768px) {
    .curriculum-table-wrap {
        border-radius: 8px;
    }
    .curriculum-table {
        min-width: 700px;
        font-size: 0.78rem;
    }
    .curriculum-table thead th {
        padding: 10px 6px;
        font-size: 0.82rem;
    }
    .curriculum-table tbody td {
        padding: 8px 6px;
    }
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(40,85,252,0.1);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--cream);
    border-radius: 10px;
    padding: 28px;
    border-left: 6px solid var(--terracotta);
}

.contact-info-card .info-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.contact-info-card h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-info-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.8;
}

.contact-info-card a {
    color: var(--terracotta);
    font-weight: 600;
}

/* ===== Join Us ===== */
.join-content {
    max-width: 700px;
}

.join-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--green);
    margin-bottom: 24px;
    line-height: 1.2;
}

.join-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(227, 242, 253, 0.8);
    margin-bottom: 32px;
}

.join-content p .highlight {
    color: var(--text-cream);
}

.join-content p .yeellight {
    color: var(--green);
}

.join-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--terracotta);
    color: var(--green);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 127, 0.4);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: var(--transition);
}

.btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ===== Instructor Team ===== */
.instructor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.instructor-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.instructor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.instructor-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
}

.instructor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.instructor-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(40, 85, 252, 0.95);
    color: #fff;
    padding: 16px 20px;
    transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.instructor-overlay h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.instructor-overlay span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.bio-divider {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    margin: 12px 0;
    transition: opacity 0.3s ease;
}

.instructor-overlay p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* Default state: show name + title clearly */
.instructor-overlay {
    height: 74px;
}

.instructor-overlay .bio-divider,
.instructor-overlay p {
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

/* Desktop hover: overlay expands to cover photo */
@media (hover: hover) and (pointer: fine) {
    .instructor-card:hover .instructor-overlay {
        height: 100%;
        padding: 24px 20px;
    }

    .instructor-card:hover .instructor-photo img {
        transform: scale(1.05);
    }

    .instructor-card:hover .bio-divider,
    .instructor-card:hover .instructor-overlay p {
        opacity: 1;
    }
}

/* Mobile: click toggle */
@media (hover: none), (pointer: coarse) {
    .instructor-overlay {
        height: 82px;
    }

    .instructor-card.active .instructor-overlay {
        height: 100%;
        padding: 24px 20px;
    }

    .instructor-card.active .bio-divider,
    .instructor-card.active .instructor-overlay p {
        opacity: 1;
    }

    .instructor-card.active .instructor-photo img {
        transform: scale(1.05);
    }
}

@media (max-width: 1024px) {
    .instructor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 480px) {
    .instructor-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}
.instructor-overlay {
    padding: 10px;
    font-size: 0.8rem;
    line-height: 1.6;
}


/* ===== Footer ===== */
.site-footer {
    background: var(--brown-dark);
    color: rgba(227, 242, 253, 0.6);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .site-logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--terracotta);
    font-weight: 600;
}

.footer-col h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(227, 242, 253, 0.5);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--terracotta);
    padding-left: 4px;
}

/* Footer has-child: parent name + sub-menu */
.footer-has-child {
    margin-bottom: 12px;
}
.footer-parent {
    font-size: 0.88rem;
    color: rgba(227, 242, 253, 0.5);
    display: block;
    margin-bottom: 4px;
}
.footer-sub-menu {
    list-style: none;
    padding-left: 14px;
    margin: 0;
}
.footer-sub-menu li {
    margin-bottom: 8px;
}
.footer-sub-menu li a {
    font-size: 0.82rem;
    color: rgba(227, 242, 253, 0.4);
    transition: var(--transition);
}
.footer-sub-menu li a:hover {
    color: var(--terracotta);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--green);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0 0;
    font-size: 0.82rem;
    color: rgba(227, 242, 253, 0.3);
}

/* ===== Footer QR Code ===== */
.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.15);
    display: block;
    margin: 0 auto 12px;
    object-fit: cover;
}

.footer-qrcode .qrcode-label {
    font-size: 0.82rem;
    color: rgba(227, 242, 253, 0.6);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--terracotta);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--terracotta-dark);
    transform: translateY(-4px);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll-triggered animation classes */
.animate-fadeInUp {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-fadeInUp.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-zoomIn {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-zoomIn.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation delays */
.delay-0 { transition-delay: 0s; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }
.delay-9 { transition-delay: 0.9s; }
.delay-10 { transition-delay: 1.0s; }
.delay-11 { transition-delay: 1.1s; }
.delay-12 { transition-delay: 1.2s; }
.delay-13 { transition-delay: 1.3s; }
.delay-14 { transition-delay: 1.4s; }
.delay-15 { transition-delay: 1.5s; }
.delay-16 { transition-delay: 1.6s; }
.delay-17 { transition-delay: 1.7s; }
.delay-18 { transition-delay: 1.8s; }
.delay-19 { transition-delay: 1.9s; }
.delay-20 { transition-delay: 2.0s; }

/* Scroll translate effect */
.scroll-translate {
    transition: transform 0.1s linear;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .features-grid,
    .employment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .info-block-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-card {
        width: calc((100% - 48px) / 3);
        min-width: 120px;
    }

    .flow-steps::before { display: none; }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Logo centered when menu hidden */
    .header-inner {
        position: relative;
    }

    .header-inner .site-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .header-inner .site-logo .logo-placeholder {
        width: 170px;
        height: 30px;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    /* Bottom sheet menu */
    .nav-list {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        min-height: 80vh;
        overflow-y: auto;
        background: #fff;
        flex-direction: column;
        padding: 8px 0 40px;
        gap: 0;
        box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
        border-radius: 20px 20px 0 0;
        z-index: 999;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
        pointer-events: none;
    }

    .nav-list.open {
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Drag indicator bar on top of bottom sheet */
    .nav-list::before {
        content: "";
        display: block;
        width: 40px;
        height: 4px;
        background: #ddd;
        border-radius: 2px;
        margin: 12px auto 16px;
        flex-shrink: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        display: block;
        padding: 14px 32px;
        font-size: 1rem;
        font-weight: 400;
        color: #292929;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        transition: background 0.2s ease;
    }

    .nav-list a.active {
        font-weight: 700;
        color: var(--terracotta);
    }

    .nav-list a:active {
        background: rgba(40, 85, 252, 0.08);
    }

    .nav-list a::after {
        display: none;
    }

    .mobile-menu-overlay {
        display: block;
    }

    .hero { min-height: 80vh; padding-top: 100px; }

    .section { padding: 64px 0; }

    .features-grid,
    .employment-grid,
    .flow-steps {
        grid-template-columns: 1fr;
    }

    .partner-card {
        width: calc((100% - 24px) / 2);
        min-width: 120px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .join-buttons {
        flex-direction: column;
    }

    .join-buttons .btn-primary,
    .join-buttons .btn-outline-light {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-nav-pills {
        gap: 8px;
    }

    .hero-nav-pills a {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        width: calc((100% - 24px) / 2);
        min-width: 100px;
    }
}
