*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url(../JPG/背景5.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 0;
  font-family: "Microsoft YaHei", sans-serif;
}

header{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
}




@media (max-width: 768px) {
  .video-text-layout {
      flex-direction: column;
  }

  .video-left {
      height: 400px;
  }

  .text-right {
      padding: 20px;
  }

  .text-right h3 {
      font-size: 18px;
  }

  .text-right p {
      font-size: 14px;
  }
}

@media (max-width: 480px) {
  .video-left {
      height: 300px;
  }
}
.video-text-layout {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  min-height: 30%;
}

.video-left {
  flex: 2;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.video-left video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 视频结束 */

.subtitle {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  color: #8db3e2;  /* 淡蓝色 */
  margin: 25px 0;  /* 上下边距 */
}


/* 轮播图 */
.container2 {
  display: flex;
  gap: 20px;
  justify-content: center; /* 水平居中 */
  align-items: center; 
}

.frame {
  background-color: lightblue;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.frame .image-container2 {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame .content2 {
  text-align: center;
}

.middle {
  width: 400px;
  height: 350px;
  font-size: 16px;
}

.side {
  width: 300px;
  height: 250px;
  font-size: 14px;
}
/* 结束 */


.main-container {
  padding-top: 80px;
}

.content-block {
  width: 1200px;
  margin: 30px auto;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 40px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  min-height: 600px;
}

.content-block:last-of-type {
  margin-bottom: 0;
}

.title-line {
  font-size: 32px;
  color: #7a0101;
  text-align: center;
  padding: 15px 0;
  border-top: 2px solid #7a0101;
  border-bottom: 2px solid #7a0101;
  margin-bottom: 40px;
  font-weight: bold;
  letter-spacing: 5px;
  position: relative;
  background: linear-gradient(to right, transparent, rgba(122, 1, 1, 0.05), transparent);
}

.title-line::before,
.title-line::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #7a0101;
  top: 50%;
  transform: translateY(-50%);
}

.title-line::before {
  left: 25%;
}

.title-line::after {
  right: 25%;
}

.content-text {
  text-align: justify;
  line-height: 2;
  margin-bottom: 50px;
  font-size: 18px;
  text-indent: 2em;
  padding: 0 40px;
  color: #333;
  letter-spacing: 1px;
}

.showcase-container {
  width: 100%;
  border-top: 1px solid #e0e0e0;
  padding-top: 30px;
  position: relative;
  margin-top: 40px;
}

.showcase-title {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #7a0101;
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-weight: bold;
  white-space: nowrap;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 2px 5px rgba(122, 1, 1, 0.3);
  z-index: 20;
}

.image-container {
  display: flex;
  width: 100%;
  background-color: white;
  border: 1px solid #e9e9e9;
  border-radius: 5px;
  padding: 15px;
  position: relative;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  height: 400px;
  transition: box-shadow 0.3s ease;
}

.image-container:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.left-panel {
  flex: 1.2;
  position: relative;
  margin-right: 15px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.left-panel img {
  flex: 1;
  object-fit: cover;
  border-radius: 3px 3px 0 0;
}

.caption-box {
  background-color: #7a0101;
  color: white;
  padding: 8px 15px;
  text-align: center;
  font-weight: bold;
  border-radius: 0 0 3px 3px;
  font-size: 16px;
}

.right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid #f0f0f0;
  padding-left: 15px;
  margin-left: 15px;
  height: 100%;
}

.text-section {
  flex: 1;
  margin-bottom: 15px;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #eaeaea;
}

.text-section h3 {
  color: #7a0101;
  margin-bottom: 10px;
  font-size: 18px;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 8px;
}

.text-section p {
  line-height: 1.6;
  text-align: justify;
  font-size: 14px;
  font-weight: bold;
  color: #7a0101;
  letter-spacing: 1px;
}

.bottom-images {
  display: flex;
  gap: 15px;
  height: 100%;
  width: 100%;
}

.small-image {
  flex: 1;
  position: relative;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.small-image img {
  flex: 1;
  border-radius: 3px 3px 0 0;
  transition: transform 0.3s ease;
}

.small-image:hover img {
  transform: scale(1.03);
}

.small-caption {
  font-size: 14px;
  padding: 5px 10px;
}

.bubble {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  color: #7a0101;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 10;
  max-width: 80%;
  transition: all 0.3s ease;
}

.bubble:hover {
  background-color: #7a0101;
  color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.bubble-arrow {
  position: relative;
}

.bubble-arrow:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 20px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: white;
  border-bottom: 0;
  margin-left: -10px;
  transition: border-top-color 0.3s ease;
}

.bubble-arrow:hover:after {
  border-top-color: #7a0101;
}

.bubble-1 {
  top: 20px;
  left: 20px;
  font-size: 16px;
}

.bubble-3, .bubble-4 {
  bottom: 15px;
  font-size: 14px;
  padding: 5px 12px;
  background-color: rgba(255, 255, 255, 0.85);
}

.bubble-3 {
  left: 15px;
}

.bubble-4 {
  right: 15px;
}

.bubble-3:hover, .bubble-4:hover {
  background-color: rgba(122, 1, 1, 0.9);
}

.divider {
  height: 1px;
  background-color: #eaeaea;
  margin: 30px 0;
}

@media (max-width: 1280px) {
  .content-block {
    width: 95%;
  }
}

@media (max-width: 768px) {
  .image-container {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }
  
  .left-panel {
    margin-right: 0;
    margin-bottom: 15px;
    height: 250px;
  }
  
  .right-panel {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    height: auto;
  }
  
  .bottom-images {
    flex-direction: column;
    gap: 15px;
  }
  
  .small-image {
    margin-bottom: 0;
    height: 180px;
  }
  
  .caption-box {
    font-size: 14px;
    padding: 6px 10px;
  }
  
  .small-caption {
    font-size: 12px;
    padding: 4px 8px;
  }
  
  .showcase-title {
    font-size: 14px;
    padding: 4px 15px;
  }
  
  .title-line {
    font-size: 28px;
    letter-spacing: 3px;
  }
  
  .content-text {
    font-size: 16px;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .content-block {
    width: 100%;
    padding: 15px;
    margin: 20px auto;
  }
  
  .title-line {
    font-size: 24px;
    letter-spacing: 2px;
  }
  
  .content-text {
    font-size: 15px;
    line-height: 1.8;
    padding: 0 15px;
  }
  
  .left-panel {
    height: 200px;
  }
  
  .small-image {
    height: 150px;
  }
}

#one{
  margin: 20px 300px 100px 300px;
  width: 1280px;
}
.dier-1{
  margin: 0 650px; 
  margin-top: 10vh;
  font-size: 4em;
  font-weight: 800;
  line-height: 1em;
  text-transform: uppercase;
  color: #96b0d5;
}

.content_index1{
	width: 100%;
	margin: 0% auto;
	margin:3% 0%;
}
.content_index1_2{
  height: 400px;
}
.content_index1_x_div1{
	width: 50%;
	margin: 0% auto;
}

.content_index1_2_p{
	display: inline-block;
	color: #7a0101;
	padding-bottom: 25px;
}
.content_index2{
	margin: 3% 5%;
	display: block;
}

.content_index1_2_p2{
	display: inline-block;
		font-weight: 800;
	    line-height: 33px;
		font-size: 16px;
		width: 100%;
}
.content_index1_2 h1{
	display: inline-block;
}
.content_index1_2_h1{
	margin-left: 20px;
	color: #7a0101;
}
.content_index1_2_h1_1{
	color: #7a0101;
}

.content_index2_div1{
	display: inline-block;
	width: 40%;
	margin-left: 90px;
}
.content_index2_div1 p{
	margin-top: 15px;
  line-height: 33px;
}
.content_index2_div2 p{
	margin-top: 15px;
	line-height: 33px;
}
.content_index2_div2{
	margin-left: 10%;
	display: inline-block;
	width: 40%;
}
.content_index2 p{
	margin-left: 50px;
	font-size: 11px;
}
.content_index3{
	margin: 3% 10%;
	display: block;
}
.content_index3 img{
	margin: 10px 46px;
}
.content_index2 img{
	margin-bottom: 500px;
}
#q_content_index3 img{
	margin-bottom: 105px;
}

hr{
	width: 1086px;
	margin: 0px auto;
}

.index_div2 {
    width: 100%;
    margin: 5% auto;
}

.index_div2_1 {
    width: 45%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
}

.index_div2_2 {
    width: 45%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
}

.index_div3_1 {
    display: inline-block;
    width: 40%;
}

.index_div3_2 {
    display: inline-block;
    width: 55%;
    padding-left: 20px;
    vertical-align: top;
}

.color_s {
    font-size: 1.5em;
    color: #0b0b0b;
    margin-bottom: 0.8em;
    text-align: left;
    padding-left: 20%;
    width: 100%;
}

.index_div3_2 h5 {
    font-size: 0.9em;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
    color: #535050;
    padding-right: 10%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.index_div3_1 img {
    width: 215px;
    height: 176px;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .index_div2 {
        grid-template-columns: 1fr;
        width: 95%;
    }

    .index_div2_1, .index_div2_2 {
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .color_s {
        font-size: 1.4em;
    }

    .index_div3_1 img {
        width: 180px;
        height: 150px;
    }

    .index_div3_2 h5 {
        font-size: 0.9em;
    }
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.people-showcase {
  display: flex;
  gap: 40px;
  justify-content: center;
  padding: 20px 0;
}

.person-card {
  flex: 1;
  max-width: 500px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.person-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.person-image {
  height: 300px;
  overflow: hidden;
}

.person-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.person-card:hover .person-image img {
  transform: scale(1.05);
}

.person-info {
  padding: 20px;
  background: linear-gradient(to bottom, #fff, #f9f9f9);
}

.person-info h3 {
  color: #7a0101;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: bold;
}

.person-title {
  color: #666;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
}

.person-desc {
  color: #333;
  line-height: 1.6;
  font-size: 15px;
  text-align: justify;
}

@media (max-width: 768px) {
  .people-showcase {
    flex-direction: column;
    gap: 20px;
  }
  
  .person-card {
    max-width: 100%;
  }
  
  .person-image {
    height: 250px;
  }
}

.carousel-container {
  position: relative;
  width: 100%;
  padding: 40px 0;
  overflow: hidden;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: max-content;
  padding: 0 20px;
}

.carousel-item {
  flex: 0 0 260px;
  transform: scale(0.85);
  opacity: 0.6;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.carousel-item.active {
  flex: 0 0 320px;
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}

.person-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  height: 500px;
}

.person-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.person-image {
  height: 300px;
  overflow: hidden;
}

.person-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.person-card:hover .person-image img {
  transform: scale(1.05);
}

.person-info {
  padding: 20px;
  background: linear-gradient(to bottom, #fff, #f9f9f9);
}

.person-info h3 {
  color: #7a0101;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: bold;
}

.person-title {
  color: #666;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
}

.person-desc {
  color: #333;
  line-height: 1.6;
  font-size: 15px;
  text-align: justify;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(122, 1, 1, 0.8);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-button:hover {
  background: #7a0101;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-button.prev {
  left: 20px;
}

.carousel-button.next {
  right: 20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #7a0101;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 220px;
  }
  
  .carousel-item.active {
    flex: 0 0 280px;
  }
  
  .carousel-button {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 180px;
  }
  
  .carousel-item.active {
    flex: 0 0 240px;
  }
}

.photo-album {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.photo-item {
    flex: 0 1 300px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.photo-container {
    position: relative;
    overflow: hidden;
}

.photo-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.photo-caption {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.photo-description {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
    text-align: center;
    padding-bottom: 5px;
}

.two-column-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.left-column, .right-column {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.left-column {
    display: flex;
    flex-direction: column;
}

.image-top {
    height: 300px;
    overflow: hidden;
}

.image-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.text-bottom {
    padding: 20px;
    background: linear-gradient(to bottom, #fff, #f9f9f9);
}

.text-bottom .photo-caption {
    color: #7a0101;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
}

.text-bottom .photo-description {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
    margin-top: 10px;
    padding: 0 5px;
}

.right-column {
    display: flex;
    flex-direction: column;
}

.text-top {
    padding: 20px;
    background: linear-gradient(to bottom, #fff, #f9f9f9);
}

.text-top h3 {
    color: #7a0101;
    font-size: 20px;
    margin-bottom: 15px;
}

.text-top p {
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

.images-bottom {
    display: flex;
    gap: 15px;
    padding: 20px;
}

.images-bottom .small-image {
    flex: 1;
    height: 180px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.images-bottom .small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.images-bottom .small-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .two-column-layout {
        flex-direction: column;
    }

    .image-top {
        height: 250px;
    }

    .images-bottom {
        flex-direction: column;
    }

    .images-bottom .small-image {
        height: 200px;
    }
}

.image-bottom {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.image-bottom img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

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

.image-bottom .photo-caption {
    margin-top: 15px;
    color: #7a0101;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 768px) {
    .image-top, .image-bottom {
        height: 250px;
    }

    .image-bottom img {
        height: 200px;
    }
}


.text-right {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-right h3 {
    color: #7a0101;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 2px solid #7a0101;
    padding-bottom: 8px;
}

.text-right p {
    color: #333;
    line-height: 1.8;
    font-size: 15px;
    text-align: justify;
    margin-bottom: 12px;
    text-indent: 2em;
}



.slide-container {
    width: 100%;
    max-width: 1200px;
    height: 500px;
    position: relative;
    overflow: hidden;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.item {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    background: url('../图1/主图4-1.JPG') center/cover;
    transition: background 0.5s ease-in-out;
}

.content {
    flex: 2;
    padding: 40px;
    background:rgba(54, 124, 157, 0.4);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.name, .des {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.4s ease;
}

.name {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.des {
    font-size: 18px;
    line-height: 1.8;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
}

.preview-images {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    margin-bottom: 40px;
    overflow-y: auto;
    max-height: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.preview-images::-webkit-scrollbar {
    width: 6px;
}

.preview-images::-webkit-scrollbar-track {
    background: transparent;
}

.preview-images::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.preview-images::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.preview-images img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.preview-images img:hover {
    transform: scale(1.02);
    border-color: #fff;
}

.preview-images img.active {
    border-color: #7a0101;
    box-shadow: 0 0 0 2px #fff;
    transform: scale(1.05);
}

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

.box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: none;
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
    height: 350px;
}

.content-block + .box {
    margin-top: -10px;
}

.card {
    flex: 1;
    height: 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.card:hover .text-box {
    transform: translateY(0);
}

.text-box h2 {
    color: #7a0101;
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: bold;
}

.text-box p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    display: block;
}

@media (max-width: 768px) {
    .box {
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    
    .card {
        flex: 0 1 calc(50% - 15px);
        height: 250px;
    }
}

.slide-buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 2;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transform: scale(1);
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.prev-btn:active, .next-btn:active {
    transform: scale(0.95);
}

.content.switching {
    opacity: 0;
}

.content.switching .name,
.content.switching .des {
    transform: translateY(20px);
    opacity: 0;
}

.tech-container {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    padding: 30px;
}

.tech-image {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}

.tech-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

.tech-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tech-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin-bottom: 30px;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item h3 {
    color: #7a0101;
    margin-bottom: 10px;
    font-size: 18px;
}

.tech-item p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .tech-container {
        flex-direction: column;
    }
    
    .tech-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1400px) {
    .color_s {
        font-size: 1.3em;
    }
    .index_div3_2 h5 {
        font-size: 0.85em;
    }
}

@media (max-width: 1200px) {
    .color_s {
        font-size: 1.2em;
    }
    .index_div3_2 h5 {
        font-size: 0.8em;
    }
}

@media (max-width: 992px) {
    .color_s {
        font-size: 1.1em;
    }
    .index_div3_2 h5 {
        font-size: 0.75em;
    }
}

.index_div h3{
  margin: 0 10px 10px 150px;
}
.content2 p{
  text-align: left;
}
.mb-4{
  font-family: "Arial", sans-serif;
}