/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    /* 设置最小宽度，确保在小屏幕上也能保持完整布局 */
    padding: 0px 100px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);

}

/**当屏幕大于768px时，导航栏最小宽度为1200px*/


/* 可选：为滚动条添加自定义样式 */
.navbar::-webkit-scrollbar {
    height: 8px;
    /* 水平滚动条高度 */
}

.navbar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.navbar::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.navbar::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.navbar .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;

}

.navbar .logo i {
    font-size: 28px;
}

/* 移除 flex: 1 和 margin-left，改为设置一个合理的最小宽度 */
.navbar .menu {
    flex: 1;
    display: flex;
    gap: 30px;
    margin-left: 100px;
    min-width: 480px;
    /* 根据菜单项数量和文字长度调整这个值，确保菜单区域有足够空间 */
}

.navbar a {
    color: #002B73;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.login-btn a {
    display: inline-block;
    text-align: center;
    line-height: 40px;
    padding: 0;
    color: white;
    background: linear-gradient(90deg, #086DFF 0%, #1ECEFF 100%);
    width: 112px;
    height: 40px;
    border-radius: 4px;
    opacity: 1;
}

.navbar a:hover {
    color: #086DFF;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

.active {
    color: #086DFF !important;
}

.navbar .cta-btn {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar .cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* 添加通用 section 样式 */
.section,
.section-content {
    min-height: calc(100vh - 80px);
}

.section-content {
    /* height: 1000px; */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: end;
}



.section {
    /* padding: 100px 0; */
    /* height: calc(100% - 80px); */
    position: relative;
    background-image: url('image/model_bg.png');
    background-size: cover;
    background-position: center;

}

.section-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.flip-bg-vertical {
    position: relative;
}

.flip-bg-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image/model_bg.png') !important;
    background-size: cover;
    background-position: center;
    transform: scaleY(-1);
    z-index: -1;
}


.section-header {
    text-align: center;
    max-width: 800px;
    /* margin: 0 auto 10px; */
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
}

.section-header a {
    margin-top: 10px;
}

.container-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    width: 100%;
    flex: 1;
    padding: 20px;
}



#footer {
    width: 100%;
    height: 395px;
    border: none;
}