/* Base Reset & Variables */
:root{
    --primary:#165DBA;
    --primary-dark:#0F4790;
    --dark:#0F243D;
    --text:#222831;
    --text-light:#555;
    --light-bg:#f7f9fc;
    --white:#ffffff;
    --border:#dee2e6;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
body{
    font-family:Arial, Helvetica, sans-serif;
    color:var(--text);
    line-height:1.6;
}
ul{
    list-style:none;
}
a{
    text-decoration:none;
    color:inherit;
}
img{
    max-width:100%;
    display:block;
}
.container{
    max-width:1240px;
    margin:0 auto;
    padding:0 20px;
}
.section-title{
    text-align:center;
    font-size:20px;
    margin-bottom:40px;
    position:relative;
}
.section-title::after{
    content:"";
    width:40px;
    height:2px;
    background-color:var(--primary);
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-10px;
}
.section-title-sm{
    font-size:18px;
    margin-bottom:24px;
}
.small-heading{
    color:var(--primary);
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:1px;
}
/* Buttons */
.btn{
    display:inline-block;
    padding:10px 24px;
    border-radius:2px;
    font-size:14px;
    font-weight:600;
    transition:all 0.25s ease;
    border:none;
    cursor:pointer;
}
.btn-primary{
    background-color:var(--primary);
    color:var(--white);
}
.btn-primary:hover{
    background-color:var(--primary-dark);
}
.btn-outline{
    background-color:transparent;
    color:var(--primary);
    border:1px solid var(--primary);
}
.btn-outline:hover{
    background-color:var(--primary);
    color:#fff;
}
.full-width{
    width:100%;
}
.center-btn-wrap{
    text-align:center;
    margin-top:32px;
}
.link-more{
    font-size:13px;
    color:var(--primary);
    display:inline-block;
    margin-top:8px;
}
.link-more i{
    margin-left:4px;
}
/* Header */
.site-header{
    background:#fff;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 1px 4px rgba(0,0,0,0.08);
}
.header-wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:72px;
}
.main-nav{
    display:flex;
    align-items:center;
    gap:32px;
}
.nav-list{
    display:flex;
    gap:28px;
    font-size:14px;
    font-weight:500;
}
.nav-list a.active{
    color:var(--primary);
    border-bottom:2px solid var(--primary);
}
.mobile-menu-btn{
    display:none;
    border:none;
    background:none;
    font-size:24px;
}





/* Footer */
.site-footer{
    background-color:var(--dark);
    color:#fff;
    padding:50px 0 24px;
    font-size:14px;
}
.footer-grid{
    display:grid;
    grid-template-columns:1.4fr repeat(4,1fr);
    gap:24px;
    margin-bottom:40px;
}
.footer-col h4{
    margin-bottom:16px;
    font-size:15px;
}
.footer-col ul li{
    margin-bottom:8px;
    opacity:0.82;
}
.contact-info li i{
    margin-right:8px;
}
.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid rgba(255,255,255,0.12);
    padding-top:20px;
}
.social-links a{
    margin-left:12px;
    font-size:12px;
}
/* Responsive Media Queries */
@media(max-width:1024px){
    .features-grid{grid-template-columns:repeat(3,1fr);}
    .products-grid{grid-template-columns:repeat(2,1fr);}
    .app-grid{grid-template-columns:repeat(3,1fr);}
    .two-col{grid-template-columns:1fr;}
    .news-grid{grid-template-columns:repeat(2,1fr);}
    .footer-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:768px){
    .main-nav{display:none;}
    .mobile-menu-btn{display:block;}
    .hero h1{font-size:32px;}
    .features-grid{grid-template-columns:repeat(2,1fr);}
    .stats-grid{grid-template-columns:repeat(2,1fr);}
    .news-grid{grid-template-columns:1fr;}
    .form-row{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr;}
    .footer-bottom{flex-direction:column;gap:12px;}
}
@media(max-width:576px){
    .features-grid{grid-template-columns:1fr;}
    .products-grid{grid-template-columns:1fr;}
    .app-grid{grid-template-columns:repeat(2,1fr);}
}






/* ========================= Dropdown Menu ========================= */
.dropdown-menu {
    position: absolute;
    top: 100%;
   /*  left: 0; */
    min-width: 240px;
    margin: 0;
    padding: 0px 0;
    list-style: none;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 999;
}

/* Dropdown Items */
.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 13px 20px;
    color: #222;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

/* Hover */
.dropdown-menu li a:hover {
    color: #fff;
    background: #1f4d3a;
    padding-left: 25px;
}

/* ========================= Show Dropdown ========================= */
.dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Arrow */
.dropdown>a .fa-chevron-down {
    font-size: 10px;
    transition: transform 0.25s ease;
}

.dropdown:hover>a .fa-chevron-down {
    transform: rotate(180deg);
}








/* ========================================= Mobile Navigation ========================================= */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88%, 380px);
    height: 100vh;
    background: #fff;
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
}

/* Open */
.mobile-nav.active {
    transform: translateX(0);
}

/* Inner */
.mobile-nav-inner {
    min-height: 100%;
    padding: 80px 25px 30px;
    display: flex;
    flex-direction: column;
}

/* ========================================= Close Button ========================================= */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-close span {
    position: absolute;
    top: 19px;
    left: 7px;
    width: 25px;
    height: 2px;
    background: #222;
}

.mobile-menu-close span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
    transform: rotate(-45deg);
}

/* ========================================= Main Menu ========================================= */
.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list>li {
    margin: 0;
    border-bottom: 1px solid #e8e8e8;
}

/* Normal Links */
.mobile-nav-list>li>a,
.mobile-nav-link>a {
    display: block;
    padding: 18px 5px;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.mobile-nav-list>li>a.active {
    color: #1f4d3a;
}

/* ========================================= Products Row ========================================= */
.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-link>a {
    flex: 1;
}

/* Arrow Button */
.mobile-dropdown-toggle {
    width: 50px;
    height: 55px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Rotate Arrow */
.mobile-dropdown.open .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}

/* ========================================= Second Level ========================================= */
.mobile-dropdown-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0 0 10px 15px;
    background: #f8f8f8;
}

.mobile-dropdown.open .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu li {
    margin: 0;
}

.mobile-dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 10px;
    color: #555;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid #eaeaea;
}

.mobile-dropdown-menu li:last-child a {
    color: #1f4d3a;
    font-weight: 600;
    border-bottom: 0;
}

/* ========================================= Quote Button ========================================= */
.mobile-nav-bottom {
    margin-top: auto;
    padding-top: 35px;
}

.mobile-quote-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: #1f4d3a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease;
}

.mobile-quote-btn:hover {
    background: #16392b;
}

/* ========================================= Overlay ========================================= */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent Body Scroll */
body.mobile-menu-open {
    overflow: hidden;
}

/* ========================================= Responsive ========================================= */
@media (max-width: 991px) {
    .main-nav {
        display: none;
    }

    .mobile-header {
        display: flex;
    }
}

@media (min-width: 992px) {

    .mobile-header,
    .mobile-nav,
    .mobile-nav-overlay {
        display: none !important;
    }
}









.footer-qrcodes {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}

.footer-qrcode span {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    color: #aaa;
}





.logo {
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: flex-start; /* 从左到右排列 */
    gap: 10px; /* 图片和文字间距 */
}

.logo img {
    display: block;
    height: 50px; /* 根据你的 Logo 调整 */
    width: auto;
}

.logo span {
    display: block;
    white-space: nowrap;
}




