.img-fluid{
    width: 100%;
}
/* ========== Navbar Styles ========== */

.ureal-container {
    max-width: 90%;
    padding-left: 0px;
    padding-right: 0px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar1 {
    position: static;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: #8e9491 !important;
    background-color: #8e9491 !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-container {
    max-width: 90%;
}

.navbar .nav-link {
    color: #fff !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1.5rem;
    position: relative;
}

.navbar .nav-item {
    margin: 0 15px;
}

/* 菜单悬停中英切换 */
.nav-text-en {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.nav-text-cn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar:hover .nav-text-en {
    visibility: hidden;
    opacity: 0;
}

.navbar:hover .nav-text-cn {
    visibility: visible;
    opacity: 1;
}

.navbar .navbar-brand img {
    width: 60px;
}

.navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 滚动后的导航栏样式 */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.5) !important;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: #333 !important;
}

.navbar.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.pd0 {
    padding: 0;
}

.service {
    padding: 100px 0;
}

.service-item {
    margin-bottom: 30px;
}

/* ========== Footer Styles ========== */
.footer {
    background-color: #8e9491;
    color: #fff;
    padding: 100px 0px 30px;
}

.footer h5 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links {
    font-size: 14px;
    line-height: 2.2;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links.no-title {
    margin-top: 38px;
}

.footer-qrcode {
    width: 120px;
    background: #ccc;
}

.footer-logo {
    height: 30px;
}

.footer-slogan {
    font-size: 16px;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom-links {
    font-size: 14px;
}

.footer-bottom-links a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
}

.footer-bottom-links a:last-child {
    margin-right: 0;
}

.footer-bottom-links a:hover {
    text-decoration: underline;
}

/* ========== 移动端样式 ========== */
@media (max-width: 991.98px) {
    .navbar {
        position: relative;
        background: #fff !important;
        background-color: #fff !important;
    }

    .navbar .nav-link {
        color: #333 !important;
        text-align: center !important;
    }

    .navbar .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.1);
    }

    .navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* 移动端直接显示中文 */
    .nav-text-en {
        visibility: hidden;
        opacity: 0;
    }

    .nav-text-cn {
        visibility: visible;
        opacity: 1;
    }

    .service-item {
        margin-bottom: 30px;
    }
}