* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-image: url('imgs/solution/bgimg.jpg');
    /* 淡蓝色蒙版降低图片饱和度，柔和不抢内容 */
    background-color: rgba(220, 238, 255, 0.6);
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
    padding-top: 80px;
}

/* 统一半透明白底容器通用类 */
.page-section,
.common-card-item,
.sensor-card-item,
.comp-item,
.four-card-item,
.intro-box,
.contact-box,
.info-card {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 6px;
}

header,
footer {
    background: rgba(255, 255, 255, 0.94);
}

/* ====================== 第一部分：页头 Header 完整样式 ====================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #333333;
    display: flex;
    align-items: flex-end; /* 改为靠底部对齐 */
    justify-content: space-between;
    padding: 0 20px;
    z-index: 999;
    box-sizing: border-box;
}

.header-right-wrap {
    display: flex;
    align-items: flex-end; /* 内部元素靠底部 */
    margin-bottom: 18px;
    height: 100%; /* 占满header高度，用于对齐 */
    gap: 40px;
}

nav {
    display: flex;
    align-items: flex-end; /* 导航内部靠底 */
    height: 100%;
    gap: 16px;
}

.header-brand {
    width: 33.333%;
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-box {
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: bold;
    cursor: default;
    overflow: hidden;
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-list li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s ease;
}

.nav-list li a.active,
.nav-list li a:active {
    background-color: #6b8e23;
    color: #ffffff;
}

.nav-list li a:hover:not(.active) {
    color: #245799;
}

/* 移动端汉堡按钮 */
.nav-toggle {
    margin-top: 20px;
    width: 60px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.25s ease;
    background-color: #333333;
    color: #ffffff;
    font-size: 20px;
    display: none;
}

/* ========== 语言切换下拉模块（各国国旗对应专属浅底色） ========== */
.lang-dropdown {
    position: relative;
    width: 70px;
    z-index: 1000;
}

.lang-selected {
    width: auto;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.25s ease;
    background: transparent;
    color: #ffffff;
    gap: 4px;
    padding: 0 8px;
    overflow: hidden;
}

/* 隐藏向下三角 */
.lang-selected .fa-chevron-down {
    display: none;
}

.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    flex-shrink: 0;
}

.lang-text {
    font-size: 14px;
    line-height: 1;
    text-transform: lowercase;
}

/* 语言下拉面板 */
.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 150%;
    background: #f8f9fa;
    list-style: none;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    display: none;
    overflow: hidden;
}

.lang-dropdown.active .lang-menu {
    display: block;
}

.lang-menu li {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #333;
    transition: 0.2s;
    font-size: 14px;
    text-transform: lowercase;
}

/* 各国独立柔和浅色背景，透明度0.06比原版更浅 */
.lang-menu li[data-lang="en"] { background-color: rgba(0, 85, 170, 0.06); }
.lang-menu li[data-lang="es"] { background-color: rgba(200, 30, 30, 0.06); }
.lang-menu li[data-lang="ko"] { background-color: rgba(0, 160, 80, 0.06); }
.lang-menu li[data-lang="hi"] { background-color: rgba(255, 130, 0, 0.06); }
.lang-menu li[data-lang="pt"] { background-color: rgba(0, 120, 60, 0.06); }
.lang-menu li[data-lang="ru"] { background-color: rgba(20, 80, 180, 0.06); }
.lang-menu li[data-lang="uk"] { background-color: rgba(0, 140, 200, 0.06); }
.lang-menu li[data-lang="ar"] { background-color: rgba(10, 100, 60, 0.06); }
.lang-menu li[data-lang="fa"] { background-color: rgba(180, 40, 40, 0.06); }

.lang-menu li:hover {
    filter: brightness(0.95);
}

/* 移动端侧边导航菜单 */
.nav-mobile-menu {
    position: absolute;
    top: 80px;
    right: 20px;
    width: 160px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    display: none;
    overflow: hidden;
}

.nav-mobile-menu.active {
    display: block;
}

.nav-mobile-menu ul {
    list-style: none;
}

.nav-mobile-menu li a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    background: #f0f2f5;
    margin: 4px;
    border-radius: 8px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-mobile-menu li a:active {
    background: #6b8e23;
    color: #fff;
}

.nav-mobile-menu li a:hover {
    background: #e9ecef;
}

/* ====================== 第二部分：首页全部模块 ====================== */
/* 页面通用区块 page-section */
.page-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: none;
}

.page-section.active {
    display: block;
}

/* 移除版块之间分割横线 */
.split-line {
    display: none;
}

/* 合作伙伴无限横向轮播 */
.partner-carousel-box {
    overflow: hidden;
    width: 100%;
}

.partner-carousel-list {
    display: flex;
    flex-wrap: nowrap;
    animation: scrollLoop 40s linear infinite;
}

@keyframes scrollLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.partner-item {
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.partner-img {
    width: 100%;
    aspect-ratio: 0.8 / 0.3;
    object-fit: contain;
}

/* 首页九宫格+简介布局 */
.grid-9box-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grid-title {
    text-align: center;
    font-size: 18px;
    color: #0056b3;
}

.home-part1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 40px 0;
    align-items: flex-start;
}

.grid-9box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    aspect-ratio: 1 / 1;
    width: 81%;
    height: 81%;
}

.grid-item {
    aspect-ratio: 1 / 1;
    background: #f8fbff;
    display: flex;
    padding: 2px;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    overflow: hidden;
    cursor: pointer;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(33, 136, 255, 0.15);
}

.preview-img {
    cursor: zoom-in;
}

.wrap {
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.intro,
.grid {
    padding: 20px;
}

/* 双栏容器 wrap-two-box */
.wrap-two-box {
    display: flex;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.home-part2,
.intro-box {
    flex: 1;
    box-sizing: border-box;
}

.home-part2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
}

.home-part2 > div {
    padding: 12px;
    border-radius: 8px;
    background: #ffffff;
    box-sizing: border-box;
}

/* 简介图文浮动布局 */
.intro-inner-wrap {
    display: flow-root;
    margin: 0;
    padding: 0;
}

.intro-img-placeholder {
    width: 50%;
    float: left;
    background: #fff;
    margin-right: 20px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    cursor: zoom-in;
}

.intro-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left top;
    display: block;
    vertical-align: bottom;
}

.intro-title {
    min-height: calc(100% * 3 / 8);
    display: flex;
    align-items: center;
    color: #0056b3;
    margin-bottom: 0;
}

.home-part2 h2,
.home-part3 h2 {
    text-align: center;
    color: #0056b3;
    margin: 40px 0 20px;
}

/* 通用功能卡片 common-card */
.common-card-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.common-card-item {
    padding: 20px;
    background: #fff;
    transition: 0.25s ease;
}

.common-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(33, 136, 255, 0.15);
}

.common-card-item i {
    font-size: 1.6rem;
    color: #2188ff;
    margin-bottom: 10px;
}

.common-card-item p {
    font-size: 14px;
    color: #2188ff;
    margin-bottom: 10px;
}

/* 公司信息彩色侧边卡片 info-card */
.company-info-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-card {
    border: none;
    border-left: 5px solid;
    padding: 12px 16px;
    border-radius: 6px;
}

.info-card p {
    color: #2188ff;
}

.info-card:nth-child(1) { border-left-color: #1890ff; }
.info-card:nth-child(2) { border-left-color: #00b42a; }
.info-card:nth-child(3) { border-left-color: #ff7d00; }
.info-card:nth-child(4) { border-left-color: #f53f3f; }
.info-card:nth-child(5) { border-left-color: #722ed1; }
.info-card:nth-child(6) { border-left-color: #13c2c2; }

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(33, 136, 255, 0.15);
}

.info-card i {
    color: #2188ff;
    font-size: 1.4rem;
    margin-right: 8px;
}

/* 四卡片横向轮播 four-card-block */
.four-card-block {
    width: 100%;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
    background: #333333;
}

.four-card-wrap {
    display: flex;
    width: 100%;
    transition: transform 0.3s ease;
    gap: 10%;
}

.four-card-info {
    color: blue;
    display: flex;
    font-size: 30px;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.four-card-item {
    border-radius: 10px;
    position: relative;
    flex: 0 0 45%;
    aspect-ratio: 20 / 14;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.25s ease;
}

.four-card-item:hover {
    transform: scale(0.8) translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* 四卡片背景图容器 重写完整版 */
.four-card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* 核心：完整缩放图片，全部显示不裁剪 */
    background-size: contain;
    /* 居中对齐 */
    background-position: center center;
    background-repeat: no-repeat;
    /* 背景图过渡动画 */
    transition: transform 0.4s ease;
    /* 底层加深蒙版，文字更清晰 */
    background-color: rgba(0,0,0,0.15);
    background-blend-mode: overlay;
}

/* 卡片hover时背景图放大浮动 */
.four-card-item:hover .four-card-bg-img {
    transform: scale(1.07);
}

/* 原有four-card-item悬浮样式保留，补充层级不冲突 */
.four-card-item {
    border-radius: 10px;
    position: relative;
    flex: 0 0 45%;
    aspect-ratio: 20 / 14;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.25s ease;
    /* 给背景图留出底色缓冲，图片透明区域不会空白刺眼 */
    background: #f5f7fa;
}

.four-card-item:hover {
    transform: scale(0.8) translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}


.text-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    gap: 2px;
    z-index: 2;
}

.text-grid-item {
    margin-left: 20px;
    height: 80%;
    display: grid;
    gap: 2px;
}

.text-grid-item li {
    border-radius: 3px;
    width: 100%;
    height: 100%;
    color: #333333;
    padding: 2px 2px;
    font-size: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.text-grid-item li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #333333;
    color: #ffffff;
}

/* 轮播切换箭头 */
.slide-btn {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 18px;
    z-index: 10;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.four-card-block:hover .slide-btn { opacity: 1; }

/* 轮播圆点 */
.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 9;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: #0066ff;
    width: 24px;
}

.carousel-dots .dot:hover {
    background: #888;
}

/* 行业应用板块 application-block */
.application-block {
    width: 100%;
    margin: 60px 0;
}

.application-title {
    text-align: center;
    font-size: 30px;
    color: #0056b3;
    padding-top: 30px;
    padding-bottom: 30px;
}

.application-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
}

.application-item {
    width: 49%;
    aspect-ratio: 18 / 4;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #eef4fc;
    /* 开启动画过渡 */
    transition: all 0.3s ease;
}
/* 悬浮整体上浮 */
.application-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.22);
}
.application-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* 图片单独过渡 */
    transition: transform 0.4s ease;
}
/* 鼠标移入图片轻微放大，实现浮动视觉 */
.application-item:hover img {
    transform: scale(1.08);
}
.application-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.application-text i {
    font-size: 18px;
}
.application-text span{
    font-size: 20px;
}

/* ====================== 第三部分：产品页完整模块（弹窗字体精准缩小4px，不改动容器尺寸） ====================== */
/* 传感器产品卡片 */
.sensor-card-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px;
}

.sensor-card-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 替换原有 .card-bg-img 样式，背景完整适配不裁切 */
.card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden; /* 超出部分裁掉 */
}
.card-bg-img img {
    width: 100%;
    height: 100%;
    /* 强制铺满无留白 */
    object-fit: cover;
    object-position: center;
    filter: brightness(0.55);
    transition: transform 0.3s ease;
}
.sensor-card-item:hover .card-bg-img img {
    transform: scale(1.06);
}



.card-content-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.sensor-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.sensor-category-title i {
    font-size: 22px;
}

.sensor-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.sensor-list li {
    margin: 10px 0;
}

.sensor-list li a.open-detail {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.92;
    transition: opacity 0.2s;
}

.sensor-list li a.open-detail:hover {
    opacity: 1;
    text-decoration: underline;
}

/* 配套组件卡片 */
.comp-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.comp-item {
    padding: 15px;
    background: #C9DEF7;
    border-radius: 6px;
    transition: 0.25s ease;
}
/* 配套组件卡片内 参数、应用文字统一改为14px */
.comp-item p {
    font-size: 14px;
}
.comp-item strong {
    font-size: 14px;
}
.comp-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(33, 136, 255, 0.15);
}

.comp-item h4 {
    margin-bottom: 8px;
}

.product-img-placeholder {
    width: 100%;
    height: 160px;
    background-color: #C9DEF7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    color: #666;
    overflow: hidden;
    font-size: 10px;
}

.product-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========== 大图预览弹窗 img-preview-modal ========== */
.img-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.img-preview-modal.active {
    display: flex;
}

.img-preview-wrap {
    position: relative;
    max-width: 95%;
    max-height: 95%;
}

.img-preview-content {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* 关闭图标缩小4px：原28px → 24px */
.img-preview-close {
    position: absolute;
    top: -35px;
    right: 0;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* ========== 产品详情弹窗 detail-modal（仅文字字号-4px，容器尺寸完全不变） ========== */
#productModal .product-img-placeholder {
    aspect-ratio: 1 / 1;
    height: auto;
    max-width: 200px;
    margin: 10px auto;
}

.detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.detail-modal-content {
    background: #fff;
    width: 100%;
    max-width: 350px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #2188ff;
    /* 容器尺寸、内边距、边框完全不变，只控制内部文字 */
}

/* 弹窗内所有段落文字缩小4px（原16px → 12px） */
.detail-modal-content p {
    font-size: 12px;
}
/* 弹窗标题缩小4px（原18px →14px） */
.detail-modal-content h3 {
    font-size: 14px;
}
/* 弹窗按钮字号缩小4px（原16px →12px） */
.detail-modal-close {
    display: inline-block;
    padding: 6px 14px;
    background: #2188ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 12px;
}

/* ====================== 第四部分：联系页完整模块 ====================== */
#contact .intro-box {
    width: 50%;
    margin: 0 auto;
}

.contact-box {
    margin-top: 50px;
    color: #1890ff;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0;
    padding: 14px 16px;
    color: #2d3748;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item i {
    color: #2188ff;
    width: 25px;
}

/* 修复原无效选择器 .contact-item. p:hover */
.contact-item p:hover,
.contact-item span:hover {
    color: #ffffff;
}

.contact-item span:hover {
    background-color: #2d3748;
}

.contact-item:hover {
    background-color: #2d3748;
    color: #ffffff;
}

/* 联系页面板块去除边框 */
#contact .common-card-item,
#contact .info-card {
    border: none;
}

/* ====================== 第五部分：页脚 Footer 完整样式 ====================== */
footer {
    background-color: #333333;
    padding: 24px 16px;
    text-align: center;
    overflow: visible;
    min-height: unset;
}

.footer-line {
    width: 80%;
    height: 1px;
    background: #5088cc;
    margin: 15px auto;
}

.middle-line {
    width: 80%;
    height: 1px;
    background: #EEEEEE;
    margin: 40px auto;
}

.footer-social {
    margin: 15px 0;
}

.footer-social a {
    color: #fff;
    font-size: 22px;
    margin: 0 10px;
    transition: 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    color: #2188ff;
}

.footer-slogan {
    font-size: 14px;
    color: #ffffff;
    margin: 10px 0;
}

/* ====================== 通用滚动渐显动画类 ====================== */
.scroll-fade-up {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: opacity 0.7s ease-out, transform 0.7s ease-out !important;
    will-change: opacity, transform;
    visibility: visible !important;
}

.scroll-fade-up.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.page-section:not(.active) .scroll-fade-up {
    opacity: 0 !important;
    transform: translateY(40px) !important;
}

/* ====================== RTL 阿拉伯语全局适配 ====================== */
html.lang-rtl {
    direction: rtl;
}

html.lang-rtl body,
html.lang-rtl .nav-link,
html.lang-rtl p,
html.lang-rtl div {
    text-align: right;
}

html.lang-rtl .lang-dropdown {
    right: 0;
    left: auto;
}

html.lang-rtl .fas.fa-chevron-down {
    transform: rotate(0deg);
}

/* ====================== 移动端响应式媒体查询 max-width:768px ====================== */
@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    header {
        height: 80px;
    }

    .nav-list {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .header-right-wrap {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }

    .home-part1 {
        grid-template-columns: 1fr;
    }

    #contact .intro-box {
        width: 100%;
    }

    .page-section {
        padding: 0 10px;
    }

    .intro-img-placeholder {
        width: 60%;
    }

    .partner-item {
        flex: 0 0 50%;
    }

    .partner-img {
        width: 30vw;
        height: 18vw;
    }

    .wrap-two-box {
        flex-direction: column;
    }

    .four-card-item {
        flex: 0 0 100%;
    }

    .four-card-wrap {
        gap: 0;
    }

    .carousel-dots {
        bottom: 5px;
    }

    .application-item {
        width: 100%;
    }
}



