/* 全局基础样式 */
:root {
  --primary-color: #0f2d52;
  --secondary-color: #00afaa;
  --accent-color: #38f;
  --text-color: #333;
  --light-text: #fff;
  --dark-text: #212121;
  --bg-light: #fff;
  --bg-dark: #0f2d52;
  --font-main: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  --font-heading: 'Montserrat', 'Microsoft YaHei', sans-serif;
}









body{
    font-family: 'Microsoft YaHei', sans-serif;
}
.liStyle{
	font-weight: bold;
}

.mai-icon{
    background: #38f;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    margin-right: 20px;
}
/* Navigation Base Styles */
.navbar {
  margin-bottom: 0;
  border-bottom: 1px solid #e6e6e6;
}

.navbar-default {
  background-color: #fff;
  height: auto;
  min-height: 9.375rem;
}

.navbar-brand {
  padding: 15px;
}

.navbar-brand img {
  max-width: 200px;
  height: auto;
}

.navbar-nav {
  margin: 0;
}

.navbar-default .navbar-nav > li > a {
  font-size: 16px;
  color: #444;
  padding: 15px;
  display: flex;
  align-items: center;
}

.navbar-default .navbar-nav > li > a:hover {
  color: #38f;
}

/* Mobile Styles */
@media (max-width: 991px) {
  .navbar-default {
    height: auto;
    min-height: auto;
    padding: 15px 0;
  }
  
  .navbar-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }
  
  .navbar-brand {
    padding: 0;
    height: auto;
  }
  
  .navbar-brand img {
    width: 150px;
    height: auto;
  }
  
  .navbar-toggle {
    margin: 0;
    order: 2;
  }
  
  .navbar-collapse {
    border-top: 1px solid #e6e6e6;
    margin-top: 15px;
  }
  
  .navbar-nav {
    flex-direction: column;
  }
  
  .navbar-nav > li {
    width: 100%;
  }
  
  .navbar-nav > li > a {
    height: auto;
    padding: 12px 15px;
    justify-content: flex-start;
  }
  
  .nav.navbar-nav.navbar-right {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
  }
}

/* Desktop Styles */
@media (min-width: 992px) {
  .navbar-default {
    display: flex;
    align-items: center;
  }
  
  .navbar-nav {
    display: flex;
    align-items: center;
  }
  
  .navbar-nav.navbar-right {
    margin-left: auto;
  }
  
  .navbar-default .navbar-nav > li > a {
    height: 70px;
  }
}

.container_h1 {
	font-size:  3rem;
	font-weight: 400;
  position: absolute;
  top: 39%;  /* 从顶部 50% 开始 */
  left: 50%; /* 从左侧 50% 开始 */
  
  
  transform: translate(-50%, -50%); /* 自身宽高的一半偏移 */
  margin: 0;
}
.container_h2 {
  position: absolute;
  top: 50%;  /* 从顶部 50% 开始 */
  left: 50%; /* 从左侧 50% 开始 */
  transform: translate(-50%, -50%); /* 自身宽高的一半偏移 */
  margin: 0;
}

.container2{
	width: 100%;
	height:auto;
	background: #00afaa;
}



.banner {
    text-align: center;
	
    color: #fff;
    background: url(../images/banner.jpg);
    /* background-image: url('banner.jpg'); */
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: local;
    /* 确保容器有足够高度 */
    min-height:930px; 
    /* 文字可读性优化 */
    position: relative;
    color: white; /* 根据图片调整文字颜色 */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
/*    background-size: auto; /* 关键修改：使用原始尺寸 */
    /* background-repeat: no-repeat; /* 防止重复平铺 */ 
    /* background-position: center; /* 居中显示（可选） */ 
	
  margin-bottom: 0;
  padding-bottom: 0;
}



.company-container {
  display: flex;
  align-items: center;
  gap: 30px; /* Space between text and image */
  max-width: 1200px; /* Adjust as needed */
  margin: 0 auto;
  padding: 30px;
}

.company-description {
  flex: 1;
  color: #212121;
  font-size: 20.25px;
  text-align: left; /* Left-aligned text */
  padding: 10px;
}

.company-description p {
  margin: 0 0 5px 0;
  padding: 0;
  text-indent: 2em; /* First-line indent */
  line-height: 1.5; /* Better readability */
}

.company-description p:last-child {
  margin-bottom: 0;
}

.company-image {
  flex: 0 0 40%; /* Image takes 40% width */
  text-align: right; /* Align image to right */
}



/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .company-container {
    flex-direction: column;
  }
  


  .company-image {
    flex: 1;
	
    text-align: center;
    margin-top: 20px;
  }
}



#bbs {
  padding: 68px 0;
  margin-top: 0;
  text-align: center;
}

#bbs .heading-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  margin-bottom: 20px;
  gap: 0.5em; /* 添加这个属性控制元素间距 */
}

#bbs .heading-container .container2_h1,
#bbs .heading-container .container2_h1_22 {
  font-size: 2.5rem;
  font-weight: 900;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.7);
  margin: 0;
  white-space: nowrap;
}

#bbs .heading-container .container2_h1_22 {
  text-decoration: underline;
}

/* 移动端响应式 */
@media (max-width: 768px) {
  #bbs .heading-container {
    flex-direction: column;
    align-items: center;
    gap: 0; /* 移动端移除间隙 */
  }
  
  #bbs .heading-container h1 {
    white-space: normal;
  }
  
  #bbs .container2_h1 {
    margin-bottom: 0.25em;
  }
}

#bbs .container2_h2 {
  font-size: 1.9rem;
  text-shadow: 0.1px 0px 0px rgba(0,0,0,0.7);
  margin-top: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}





/*HTML5 + bootstrap*/
#html5 {
  background: #ffffff;
  padding: 10px 0;
}

.company-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.company-description {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.company-image {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: center;
}

.company-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Center heading on all devices */
#html5 h1 {
  text-align: center !important;
  font-size: 2.5em !important;
  font-weight: bold !important;
  margin: 0.5em 0 1em !important;
  width: 100%;
}

/* Paragraph styling */
#html5 p {
  line-height: 1.6;
  margin-bottom: 1.2em;
  font-size: 1.1em;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
  .company-container {
    flex-direction: column;
  }
  
  .company-description, 
  .company-image {
    width: 100%;
    min-width: auto;
    padding: 15px;
  }
  
  .company-image {
    order: 2; /* Move image after text */
    margin-top: 20px;
  }
  
  #html5 h1 {
    font-size: 2em !important;
  }
  
  #html5 p {
    font-size: 1em;
  }
}



/*course*/
#course{
    background: #ffffff;
    padding: 80px 0;
    text-align: center;
}
#course h2{
    font-weight: bold;
    padding-bottom: 60px;
}
#course .col-md-3{
    margin-bottom: 20px;
}
.course {
    background: #ffffff;
    border: 1px solid #eee;
}
#course .btn{
    background: transparent;
    border: 1px solid #38f;
    border-radius: 0px;
    color: #38f;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 8px 40px;
    transition: all 0.3s;
}
#course .btn:hover{
    background: #38f;
    color: #fff;
}
.course .case-img{width:100%;height:auto;}

/*app*/
#app{
    padding: 80px 0;
}
#app h2{
    font-weight: bold;
    padding-bottom: 30px;
}
#app .btn{
    margin: 10px 0;
    background: rgb(64, 210, 177);
    border-color: rgb(64, 210, 177);
    border-radius: 0;
    padding: 6px 30px;
    transition: all 0.3s;
}
#app .btn:hover{
    background: rgb(44, 142, 120);
}

/*contact*/
#contact{
    /* background: url("../images/contact-bg.jpg") no-repeat; */
    background-size: cover;
    color: #ffffff;
}
#contact h2{
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 25px;
}
#contact p{
    line-height:24px;
    margin-bottom:2px;
}
#contact .form-control {
    border: none;
    border-radius: 0;
    height: 50px;
    margin-bottom: 20px;
}
#contact textarea.form-control{
    height: auto;
}
#contact input[type="submit"]{
    background: #40D2B1;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s;
}
#contact input[type="submit"]:hover{
    background: rgb(44, 142, 120);
}

/*footer*/
/* 页脚 */
footer {
  background: #f8f9fa;
  padding: 30px 0;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: #666;
  margin: 0 15px;
}

.footer-links a:hover {
  color: var(--accent-color);
}

/* Base styles for all devices */
#bbs3 {  font-family: 'Arial', sans-serif; /* 简洁的无衬线字体 */

  background-color: #0f2d52; /* Blue background */
  color: white;
  padding: 4rem 2rem;
  box-sizing: border-box;
}

#bbs3 .bbs3Content {
	/* min-height: 31.25rem; */
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

#bbs3 h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 2rem;
  line-height: 1.2;
}

#bbs3 p {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
/* 超小屏幕 (手机竖屏) */
@media (max-width: 576px) { 
  .banner { min-height: 60vh; }
}
/* 基于视口宽度的字体大小 */
h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem); /* 最小值1.5rem，随视口变化，最大2.5rem */
}
/* 小屏幕 (手机横屏/小平板) */
@media (min-width: 577px) and (max-width: 767px) {
  .banner { min-height: 70vh; }
}

/* 中等屏幕 (大平板) */
@media (min-width: 768px) and (max-width: 991px) {
  .banner { min-height: 80vh; }
}
/* Mobile responsive styles */
@media (max-width: 768px) {
  #bbs3 {
    padding: 3rem 1.5rem;
  }
  
  #bbs3 h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }
  
  #bbs3 p {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  #bbs3 h1 {
    font-size: 1.8rem;
  }
  
  #bbs3 p {
    font-size: 1rem;
  }
}


/* 主容器样式 */
#bbs2.container3 {
  background-color: #ffffff; /* 深蓝色背景 */
  color: black; /* 白色文字 */
  padding: 40px 0; /* 上下内边距 */
  text-align: center; /* 文字居中 */
  font-family: 'Arial', sans-serif; /* 简洁的无衬线字体 */
}

/* 内容容器，限制最大宽度并居中 */
#bbs2 .container {
  max-width: 1200px; /* 适当的内容宽度 */
  margin: 0 auto; /* 水平居中 */
  padding: 0 20px; /* 左右内边距 */
}

/* 标题容器 */
#bbs2 .heading-container2 {
  display: flex;
  flex-direction: column;
  align-items: center; /* 子元素居中 */
}

/* 主标题样式 */
#bbs2 .container3_h1 {
  font-size: 3.5rem; /* 大字号 */
  font-weight: 600; /* 中等字重 */
  margin-bottom: 20px; /* 标题与段落的间距 */
  line-height: 1.2;
}

/* 段落文本样式 */
#bbs2 .container3_h3 {
  font-size: 2.25rem; /* 适中阅读大小 */
  line-height: 1.6; /* 良好的可读性行高 */
  max-width: 800px; /* 优化阅读宽度 */
  margin: 0 auto; /* 水平居中 */
  opacity: 0.9; /* 轻微透明效果 */
}



/* 动画效果 */
/* .wow {
  visibility: hidden;
} */
.lvjing {
    width: 100%;
    height: 100%;
    background: rgba(177, 179, 182, 1.0);
    padding: 80px 0;
}

/* 电脑端图片布局 */
.col-md-5 {
    display: flex; /* 使用flex布局 */
    justify-content: space-between; /* 图片之间平均分布 */
    align-items: flex-start; /* 顶部对齐 */
}

.col-md-5 img {
    width: 48%; /* 每张图片占48%宽度，留出4%的间隙 */
    max-width: 100%;
    height: auto;
    display: block; /* 移除img默认的inline间隙 */
}

/* 手机端隐藏图片 */
@media (max-width: 767px) {
/*    .col-md-5 {
        display: none; /* 完全隐藏图片容器 */
    } */
    
    /* 如果需要保持布局，可以改为以下方式 */
    /*
    .col-md-5 img {
        display: none;
    }
    */
}
