@charset "utf-8";

:root {
    --primary: #2e54a5; /* 红色主题 */
    --primary-dark: #08286a;
    --secondary: #1a1a1a;
    --text-main: #333;
    --text-muted: #666;
    --bg-gray: #f8f9fa;
    --white: #ffffff;
    --border: #eee;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --font-sans: "Microsoft YaHei", 微软雅黑, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 30px; border-radius: 4px; font-weight: bold; cursor: pointer; gap: 8px; border: none; }
.btn-red { background: var(--primary); color: var(--white); }
.btn-red:hover { background: var(--primary-dark); }
.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.w-100 { width: 100%; }

/* Section Styling */
.section-padding { padding: 80px 0; }
.bg-gray { background-color: var(--bg-gray); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 32px; color: var(--secondary); margin-bottom: 15px; position: relative; padding-bottom: 15px; }
.section-header h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: var(--primary); }
.section-header .h2::after { content: ''; position: absolute; bottom: 0; left: 0%; transform: translateX(0%); width: 50px; height: 3px; background: var(--primary); }

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/banner.jpg') center/cover no-repeat;
    padding: 150px 0;
    color: var(--white);
    text-align: center;
}
.hero-content h1 { font-size: 42px; margin-bottom: 20px; }
.hero-subtitle { font-size: 20px; margin-bottom: 40px; opacity: 0.9; }
.hero-features { display: flex; justify-content: center; gap: 30px; margin-bottom: 40px; }
.h-feature-item { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.h-feature-item i { color: var(--primary); }
.hero-btns { display: flex; justify-content: center; gap: 20px; }

/* Service Grid Mengla */
.service-grid-mengla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.s-card { background: var(--white); padding: 40px 30px; border-radius: 8px; text-align: center; border: 1px solid var(--border); transition: 0.3s; }
.s-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--primary); }
.s-icon { font-size: 40px; color: var(--primary); margin-bottom: 20px; }
.s-card h3 { font-size: 22px; margin-bottom: 15px; }
.s-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.s-tags { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.s-tags span { font-size: 12px; background: #dbe7ff; color: var(--primary); padding: 4px 5px; border-radius: 4px; border: 1px solid #5088ff; }

/* Advantages Grid */
.adv-grid-mengla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.a-item { background: var(--white); padding: 20px; border-radius: 8px; transition: 0.3s; }
.a-item:hover { box-shadow: var(--shadow); }
.a-icon { font-size: 30px; color: var(--primary); margin-bottom: 10px; text-align: center; }
.a-item h3 { font-size: 18px; margin-bottom: 12px; text-align: center; }
.a-item p { font-size: 14px; color: var(--text-muted); }
.a-item span { font-size: 14px; color: var(--text-muted); }

/* About Section */
.about-flex { display: flex; align-items: center;   gap: 50px; }
.about-text { flex: 1; }
.about-image { flex: 1; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow);  }
.about-desc { margin-bottom: 20px; font-size: 16px; color: #555; text-indent: 2em; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 30px; }
.stat-item { text-align: center; padding: 15px; background: var(--bg-gray); border-radius: 4px; border-top: 3px solid var(--primary); }
.stat-item strong { display: block; font-size: 24px; color: var(--primary); }
.stat-item span { font-size: 12px; color: var(--text-muted); }

/* Contact Section Mengla */
.bg-red-gradient { background: linear-gradient(135deg, #2e54a5 0%, #a0000b 100%); color: var(--white); }
.contact-box-mengla { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-mengla h2 { font-size: 32px; margin-bottom: 10px; }
.c-info-list { margin-top: 40px; }
.c-info-item { display: flex; gap: 20px; margin-bottom: 30px; }
.c-info-item i { font-size: 24px; background: rgba(255,255,255,0.2); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.c-info-item h4 { font-size: 18px; margin-bottom: 5px; }
.contact-form-mengla { background: var(--white); padding: 40px; border-radius: 8px; color: var(--text-main); }
.contact-form-mengla h3 { font-size: 24px; margin-bottom: 25px; text-align: center; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; font-size: 14px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; }



/* News Grid Mengla */
.news-grid-mengla {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.news-list-box {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.news-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background:#dbe7ff;
    border-bottom: 1px solid #5088ff;
}
.news-list-header h3 {
    font-size: 18px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.news-list-header a {
    font-size: 13px;
    color: var(--text-muted);
}
.news-list-header a:hover {
    color: var(--primary);
}
.news-list-content {
    padding: 10px 0;
}
.news-item-mengla {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px dashed var(--border);
}
.news-item-mengla:last-child {
    border-bottom: none;
}
.news-item-mengla a {
    font-size: 15px;
    color: var(--text-main);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 15px;
}
.news-item-mengla a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.news-item-mengla span {
    font-size: 13px;
    color: var(--text-muted);
}

.site-header-mengla {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo-mengla {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: bold;
    color: var(--primary);
}
.logo-mengla i{width: 40px;}
.nav-mengla {
    display: flex;
    gap: 30px;
}
.nav-mengla a {
    font-weight: 500;
    color: var(--text-main);
    padding: 10px 0;
    position: relative;
}
.nav-mengla a:hover, .nav-mengla a.active {
    color: var(--primary);
}
.nav-mengla a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}
.btn-red-sm {
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.menu-toggle-mengla {
    display: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
}

.site-footer-mengla{background-color: #fff;}

@media (max-width: 992px) {
    .header-inner { height: 70px; }
    .nav-mengla {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        gap: 0;
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 1000;
    }
    .nav-mengla.active { left: 0; }
    .nav-mengla a {
        padding: 15px 30px;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }
    .nav-mengla a.active::after { display: none; }
    .menu-toggle-mengla { display: block; }
    .header-action { display: block; }
    
    .service-grid-mengla, .adv-grid-mengla { grid-template-columns: repeat(2, 1fr); }
    .about-flex, .contact-box-mengla, .news-grid-mengla { grid-template-columns: 1fr; display: flex; flex-direction: column; }
    .hero-content h1 { font-size: 32px; }
}
@media (max-width: 768px) {
    .service-grid-mengla, .adv-grid-mengla, .about-stats { grid-template-columns: 1fr; }
    .hero-section { text-align: left; padding: 80px 0; }
    .hero-features { flex-direction: column; align-items: flex-start; gap: 15px; }
    .hero-btns { justify-content: flex-start; }
    .hero-content h1 { font-size: 36px; }
    .section-padding { padding: 30px 0; }
    .section-header{ margin-bottom: 20px;}
    .section-header h2 { font-size: 26px; }
    .section-header p{font-size: 13px;}

    .logo-mengla{font-size: 18px;}
    .btn-red-sm {
        background: var(--primary);
        color: var(--white);
        padding: 8px 10px;
        border-radius: 4px;
        font-weight: bold;
        font-size: 12px;
    }

}

.footer-grid-mengla { display: grid; grid-template-columns: 2.8fr 1fr 1.2fr; gap: 40px; }
.f-title { font-size: 18px; font-weight: bold; margin-bottom: 25px; color: var(--secondary); position: relative; padding-bottom: 10px; }
.f-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); }
.f-links li { margin-bottom: 12px; font-size: 14px; color: var(--text-muted); }
.f-links a:hover { color: var(--primary); padding-left: 5px; }
.f-contact p { display: flex; gap: 10px; margin-bottom: 15px; font-size: 14px; color: var(--text-muted); }
.f-contact i { color: var(--primary); margin-top: 4px; }
.f-social { display: flex; gap: 15px; }
.social-icon { width: 36px; height: 36px; background: var(--white); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.social-icon:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.footer-bottom-mengla { margin-top: 50px; padding-top: 25px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 12px; color: #999; }
.hexin { margin-top: 10px; padding-top: 15px; border-top: 1px solid var(--border);   font-size: 12px; color: #999; }
@media (max-width: 768px) {
.footer-grid-mengla { grid-template-columns: 1fr; gap: 30px; }
.footer-bottom-mengla {margin-top: 20px; padding-top: 15px;  flex-direction: column; text-align: center; gap: 10px; }
}