/* ========================================
   涓婃捣楂樹俊瀹樼綉 - 涓绘牱寮忚〃
   ======================================== */

/* 鍏ㄥ眬鏍峰紡 */
:root {
    /* 涓昏壊璋?- 娣遍們涓撲笟钃?*/
    --primary-color: #1a4d8f;
    --primary-dark: #0d2e5c;
    --primary-light: #2563a8;
    
    /* 杈呭姪鑹?- 浼橀泤閲戣壊 */
    --secondary-color: #c9a961;
    --accent-color: #d4af37;
    --accent-dark: #b8941f;
    
    /* 鑳屾櫙鑹茬郴缁?*/
    --light-bg: #f5f7fa;
    --lighter-bg: #fafbfd;
    --dark-bg: #1a1d23;
    --darker-bg: #0f1115;
    
    /* 鏂囧瓧鑹茬郴缁?*/
    --text-dark: #2c3e50;
    --text-medium: #4a5568;
    --text-light: #718096;
    --text-lighter: #a0aec0;
    
    /* 杈规涓庡垎鍓?*/
    --border-color: #e2e8f0;
    --border-light: #edf2f7;
    
    /* 娓愬彉鑹?*/
    --gradient-primary: linear-gradient(135deg, #1a4d8f 0%, #0d2e5c 100%);
    --gradient-accent: linear-gradient(135deg, #c9a961 0%, #d4af37 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 77, 143, 0.9) 0%, rgba(13, 46, 92, 0.85) 100%);
    
    /* 闃村奖绯荤粺 */
    --shadow-sm: 0 2px 8px rgba(26, 77, 143, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 77, 143, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 77, 143, 0.16);
    --shadow-xl: 0 12px 48px rgba(26, 77, 143, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fff;
}

/* 瀵艰埅鏍忔牱寮?*/
.navbar {
    transition: transform 0.3s ease;
    background: #fff !important;
    box-shadow: 0 2px 16px rgba(26, 77, 143, 0.08);
}

/* 绉诲姩绔鑸爮婊氬姩闅愯棌 */
.navbar.navbar-hidden {
    transform: translateY(-100%);
}

/* 浠呭湪绉诲姩绔敓鏁?*/
@media (max-width: 991.98px) {
    .navbar {
        transition: transform 0.3s ease-in-out;
    }
}

/* PC绔笉鍚敤闅愯棌鏁堟灉 */
@media (min-width: 992px) {
    .navbar.navbar-hidden {
        transform: none;
    }
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.btn-primary-custom {
    background: var(--gradient-accent);
    border: none;
    color: white;
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(201, 169, 97, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 77, 143, 0.4);
    color: white;
}

/* 鍖哄潡鏍峰紡 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 20px;
    letter-spacing: 0.3px;
}

/* 鍗＄墖鏍峰紡 */
.card-custom {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    height: 100%;
    background: white;
    border: 1px solid var(--border-light);
}

.card-custom:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.card-custom .card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-custom .card-body {
    padding: 1.5rem;
}

.card-custom .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.card-custom .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.card-custom:hover .card-title::after {
    width: 60px;
}

.card-custom .card-text {
    color: var(--text-light);
    line-height: 1.8;
}

/* 鍥炬爣鐩掑瓙 */
.icon-box {
    text-align: center;
    padding: 45px 35px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.icon-box:hover::before {
    transform: scaleX(1);
}

.icon-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.icon-box i {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
}

.icon-box h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.icon-box p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* 鑳屾櫙鑹插彉鍖?*/
.bg-light-custom {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
}

.bg-light-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 50%, transparent 100%);
}

/* 鏂伴椈鍒楄〃 */
.news-item {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-item:hover {
    background: linear-gradient(90deg, var(--lighter-bg) 0%, transparent 100%);
    padding-left: 35px;
}

.news-item:hover::before {
    opacity: 1;
}

.news-item .news-date {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.news-item .news-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 10px 0;
}

.news-item .news-excerpt {
    color: var(--text-light);
    line-height: 1.8;
}

/* 鑱屼綅鍗＄墖 */
.job-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.job-card:hover::before {
    transform: scaleY(1);
}

.job-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
    border-color: var(--primary-light);
}

.job-card h4 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 15px;
}

.job-card .job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.job-card .job-meta span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.job-card .job-meta span i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* 鑱旂郴琛ㄥ崟 */
.contact-form {
    background: white;
    padding: 45px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background-color: var(--lighter-bg);
    font-size: 0.95rem;
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.1);
    background-color: white;
    outline: none;
}

.contact-form textarea {
    min-height: 150px;
}

/* 鑱旂郴淇℃伅鐩掑瓙 */
.contact-info-box {
    background: var(--gradient-primary);
    color: white;
    padding: 45px;
    border-radius: 16px;
    height: 100%;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info-box h4 {
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-info-box .info-item {
    margin-bottom: 25px;
}

.contact-info-box .info-item i {
    font-size: 1.5rem;
    margin-right: 15px;
}

/* 鏁欑▼瑙嗛鍒楄〃 */
.video-item {
    margin-bottom: 30px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
    background: #fff;
    border-radius: 0 0 10px 10px;
}

.video-info h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.video-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* 椤佃剼鏍峰紡 */
footer {
    margin-top: auto;
    background: var(--gradient-primary) !important;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer h5 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 25px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

footer a:hover {
    color: var(--secondary-color) !important;
    padding-left: 5px;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: var(--gradient-accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
    padding-left: 0;
}

/* 鍝嶅簲寮忚璁?*/
@media (max-width: 991px) {
.section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* 鍔ㄧ敾鏁堟灉 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 鍔犺浇鍔ㄧ敾 */
.loading {
    text-align: center;
    padding: 40px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* 骞虫粦婊氬姩 */
html {
    scroll-behavior: smooth;
}

/* 閫夋嫨鏂囨湰鏍峰紡 */
::selection {
    background: var(--secondary-color);
    color: white;
}

::-moz-selection {
    background: var(--secondary-color);
    color: white;
}

/* 婊氬姩鏉℃牱寮?*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
}

/* 閾炬帴鍔ㄧ敾 */
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 鍥剧墖浼樺寲 */
img {
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

/* 鍗＄墖鍥剧墖鎮仠鏁堟灉 */
.card-custom:hover .card-img-top {
    transform: scale(1.08);
}

/* 杩斿洖椤堕儴鎸夐挳澧炲己 */
#backToTop {
    background: var(--gradient-accent);
    border: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

#backToTop:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* 寰厜鏁堟灉 */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 3s infinite;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    background-size: 1000px 100%;
}

/* ========================================
   响应式设计
   ======================================== */

/* 公司优势样式 */
.company-advantages {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    border-top: 1px solid #d4dce6;
    border-bottom: 1px solid #d4dce6;
}

.advantage-item {
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.advantage-item i {
    color: #1a4d8f;
    transition: all 0.3s ease;
}

.advantage-item h5 {
    color: #2c3e50;
    font-weight: 600;
    margin: 0.75rem 0 0.5rem;
}

.advantage-item p {
    color: #4a5568;
}

.advantage-item:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(26, 77, 143, 0.1);
    transform: translateY(-3px);
}

.advantage-item:hover i {
    color: #c9a961;
    transform: scale(1.1);
}

/* 移动端隐藏页脚二维码 */
@media (max-width: 768px) {
    footer .col-md-4 {
        display: none !important;
    }
    
    footer .col-md-8 {
        max-width: 100%;
        flex: 0 0 100%;
    }
}