.slideshow {
    height: 400px;
    object-fit: cover;
}
        /* 全局样式 */
        body {
            font-family: Arial, sans-serif;
            background-color: #fff;
            color: #333;
        }

        header {
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        /* 导航栏样式 */
        .nav-item {
            /*padding: 1rem 0; */
            font-size: 0.9rem;
            margin: 2px 2px;
        }

        .nav-item .nav-link {
            position: relative;
            padding: 5px 10px;
            transition: background-color 0.3s;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: normal;
            color: #000 !important;
        }

        .nav-item .nav-link:hover {
            background-color: #9ac74e;
            color: #000 !important;
        }

        /* 当前页的active状态样式 */
        .nav-item .nav-link.active {
            background-color: #9ac74e; 
            color: #fff !important;
        }

        header .navbar-brand {
            display: flex;
            align-items: center;
            font-weight: bold;
        }

        header .navbar-brand img {
            height: 40px;
            margin-right: 10px;
        }

        /* 下拉菜单样式 */
        .dropdown-menu {
            border-radius: 8px;
            overflow: hidden;
        }

        .dropdown-item {
            font-size: 1rem;
            padding: 10px 20px;
            color: #000 !important;
        }

        .dropdown-item:hover {
            background-color: #f0f0f0;
        }

.dropdown-menu-languages {
  /* 可以在大屏幕下保持默认样式，不用设 display */
}
/* 在小屏幕时强制横向排列 */
@media (max-width: 900px) {
  .dropdown-menu-languages {
    display: flex;
    flex-direction: row;       /* 横向排列 */
    justify-content: center;   /* 居中对齐，可选 */
    gap: 0.5rem;               /* 每个菜单之间留点空隙，可选 */
    min-width: auto;           /* 避免被 Bootstrap 下拉菜单默认 min-width 限制 */
  }

  /* 如果有需要，可以更细致地控制 padding 或 margin */
  .dropdown-menu-languages .dropdown-item {
    padding: 0.25rem 0.5rem;
    white-space: nowrap;  /* 避免文字换行 */
  }
}

@media (max-width: 500px) {
.logo-sm-height {
width: 300px;
height: 36px;
        }
}
        /* Banner 区域样式 */
        .banner-section {
            height: 50vh;
            min-height: 400px;
            position: relative;
            color: #fff;
        }

        .banner-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
        }

        .banner-content h1 {
            font-size: 2.5rem;
            font-weight: 700;
        }

        .banner-content p {
            font-size: 1.2rem;
            margin-top: 15px;
        }

        /* 视频区域样式 */
        .videos-section h2 {
            margin-bottom: 30px;
        }

        .video-thumbnail {
            position: relative;
            cursor: pointer;
        }

        .video-thumbnail img {
            width: 100%;
            border-radius: 8px;
        }

        .video-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 3rem;
            color: #fff;
            text-shadow: 0 0 5px rgba(0,0,0,0.5);
            opacity: 0.8;
        }

        /* 服务区域样式 */
        .services-section h2 {
            margin-bottom: 30px;
        }

        .services-section .service-item img {
            border-radius: 8px;
            width: 100%;
        }

        .services-section p {
            margin-top: 10px;
            font-weight: 500;
        }

        /* 联系区域样式 */
        .contact-section h2 {
            margin-bottom: 30px;
        }

        .contact-section .contact-info p {
            margin-bottom: 10px;
        }

        /* 页脚样式 */
        footer {
            border-top: 1px solid #ddd;
            padding: 20px 0;
            text-align: center;
            font-size: 0.9rem;
            color: #666;
        }

        /* 响应式优化 */
        @media (max-width: 576px) {
            .banner-content h1 {
                font-size: 1.8rem;
            }
            .banner-content p {
                font-size: 1rem;
            }
        }