.language-container {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.language-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.language-btn::after {
    content: '';
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    display: inline-block;
    margin-left: 5px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 4px;
    display: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.language-dropdown.show {
    display: block;
}

.language-option {
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
}

.language-option:hover {
    background-color: #f5f5f5;
}

.navbar-nav.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.nav-item {
    padding: 0 15px;
}

.navbar-brand {
    margin-right: 0;
    padding-right: 2rem;
}

.language-container {
    padding-left: 2rem;
}

/* Updated Video container styles */
.video-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 56px);
    /* Subtract navbar height */
    margin-top: 56px;
    background-color: #000;
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container video {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    /* Changed from cover to contain */
}

/* Center the video horizontally */
@media (min-aspect-ratio: 16/9) {
    .video-container video {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-container video {
        width: auto;
        height: 100%;
    }
}

/* Video controls styles */
.video-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 4px;
}

.video-controls button {
    background: transparent;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-controls button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Video overlay for text */
.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
}

#about {
    background-color: #ffffff;
    padding: 60px 0;
}

#about h2 {
    color: #333;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

#about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #1A499D;
}

.profile-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    text-align: justify;
}

.quote-mark {
    color: #1A499D;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
    #about h2 {
        font-size: 2rem;
    }

    .profile-content {
        font-size: 1rem;
        text-align: left;
    }
}

 #company-stats .container {
            max-width: 630px;  /* Keep container width the same */
        }

.stats-item {
    padding: 14px;  /* Keep padding the same */
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    aspect-ratio: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stats-item:hover {
    transform: translateY(-3px);
}

/* Double the icon size */
.icon-wrapper {
    width: 72px;  /* Doubled from 28px */
    height: 72px;  /* Doubled from 28px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.stats-icon {
    width: 100%;
    height: 100%;
}

.stats-content {
    text-align: center;
}

/* Increase font sizes by 30% */
.stats-title {
    color: #333;
    font-size: 1.1rem;  /* Increased from 0.85rem */
    margin: 0 0 6px 0;
    font-weight: 600;
}

.stats-value {
    font-size: 1.17rem;  /* Increased from 0.9rem */
}

.stats-value .number {
    font-size: 1.82rem;  /* Increased from 1.4rem */
    font-weight: bold;
    color: #1A499D;
}

.stats-value .plus {
    font-size: 1.3rem;  /* Increased from 1rem */
    font-weight: bold;
    color: #1A499D;
}

.stats-value .unit {
    font-size: 1.04rem;  /* Increased from 0.8rem */
    color: #333;
    margin-left: 3px;
}

.location {
    font-size: 1.3rem;  /* Increased from 1rem */
    color: #333;
}

/* Keep grid spacing the same */
.row {
    margin: -7px;
}

.col-md-6 {
    padding: 7px;
}

/* Update any text-danger classes in the HTML to use custom class */
.text-primary-blue {
    color: #1A499D !important;
}

@media (max-width: 768px) {
    .stats-item {
        padding: 10px;
    }

    /* Maintain proportional size on mobile */
    .icon-wrapper {
        width: 48px;  /* Slightly smaller on mobile but still ~2x original */
        height: 48px;
        margin-bottom: 7px;
    }

    .stats-value .number {
        font-size: 1.56rem;  /* Increased from 1.2rem */
        color: #1A499D;  /* Ensure color consistency on mobile */
    }

    .location {
        font-size: 1.17rem;  /* Increased from 0.9rem */
    }
}

/* Adjust SVG icons */
.stats-icon path,
.stats-icon rect,
.stats-icon circle {
    stroke-width: 2;  /* Keep stroke width proportional */
}

.title-underline {
    width: 100px;
    height: 3px;
    background-color: #1A499D;
    margin: 15px auto 0;
}

#world-map {
    width: 100%;
    min-height: 500px;
    background-color: #fff;
}

.title-underline {
    width: 100px;
    height: 3px;
    background-color: #1A499D;
    margin: 15px auto 30px;
}

.customer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.customer-item {
    aspect-ratio: 16/9;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.customer-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.customer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .customer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .customer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .customer-item {
        padding: 10px;
    }
}
/***********************
 * Footer 结构示例
 ***********************/
.footer {
    font-family: Arial, sans-serif;
    color: #f0f0f0;  /* 浅色文字 */
    background: linear-gradient(135deg, #1f2937 0%, #1A499D 100%); /* 背景渐变 */
    margin-top: 48px;
}

.footer-top {
    padding: 48px 0 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    margin-bottom: 24px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

/* 公司信息 Logo */
.company-info .footer-logo {
    max-width: 160px;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

/* 简介文本 */
.footer-desc {
    color: #dddddd;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* 快速链接示例 */
.footer-links .links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #ffffff;
}

/* ------------------------
   联系方式（横向排布关键点）
------------------------ */
.contact-row {
    display: flex;
    flex-wrap: wrap; /* 如果屏幕太窄，自动换行 */
    gap: 32px;       /* 两个 block 间的间距 */
}

.contact-section {
    flex: 1;         /* 平均分配剩余空间 */
    min-width: 280px;/* 保证最小宽度，避免内容过窄 */
}

/* 小标题 */
.contact-section-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: #ffffff;
    border-left: 4px solid #ffd26f;
    padding-left: 8px;
}

/* 联系列表 */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 18px;
    margin-top: 3px;
    color: #ffd26f; /* 图标颜色 */
}

.info-label {
    font-weight: 600;
    color: #fafafa;
    display: block;
    margin-bottom: 2px;
}

.info-text {
    color: #d1d5db;
    line-height: 1.4;
    font-size: 0.95rem;
}

.email-link {
    color: #ffd26f;
    text-decoration: none;
    transition: color 0.3s ease;
}
.email-link:hover {
    color: #ffe4a8;
    text-decoration: underline;
}

/* 版权信息 */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 0;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: #e2e2e2;
    margin: 0;
}

/* 响应式处理 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-column {
        flex: none;
        width: 100%;
    }

    .footer-top {
        padding: 32px 0 16px;
    }
}

.info-block {
    color: #4b5563;
    line-height: 1.6;
}

.info-label {
    font-weight: 600;
    margin-bottom: 4px;
}

.info-text {
    margin-bottom: 12px;
    white-space: pre-line;
}

.contact-item {
    margin-bottom: 8px;
}

.contact-item .info-label {
    display: inline-block;
    min-width: 50px;
}

.email-link {
    color: #1a499d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #0f2d6b;
    text-decoration: underline;
}

.copyright {
    color: #6b7280;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .company-info,
    .contact-info {
        flex: none;
        width: 100%;
    }

    .footer {
        padding: 32px 0 16px;
    }

    .contact-item .info-label {
        display: block;
        margin-bottom: 4px;
    }
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Add transition for smooth appearance */
.dropdown-menu {
    display: none;
    min-width: 350px;
    margin-top: 0; /* Remove the gap between navbar and dropdown */
    animation: fadeIn 0.2s ease-in;
}

/* Animation for smooth appearance */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.5rem 1rem;
    white-space: normal;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Add a small delay before hiding to prevent accidental mouseout */
.dropdown-menu:hover {
    display: block;
}

/* Optional: Add transition for dropdown arrow */
.dropdown-toggle::after {
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}