/* Reset & Base */
:root {
    --primary-blue: #0f1c3f; /* 深蓝背景 */
    --accent-yellow: #f5b000; /* 品牌黄 */
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-gray: #666666;
    --bg-light: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 20px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}

.logo-icon {
   
    padding: 2px 6px;
    margin-right: 8px;
    font-weight: 900;
}

.nav {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.nav a:hover {
    color: #fff;
}

/* Banner */
.banner {
    height: 600px;
    position: relative;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Gradient Overlay */
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 28, 63, 0.9), rgba(15, 28, 63, 0.4));
    z-index: 2;
}

.banner .container {
    position: relative;
    z-index: 3;
}

.banner-content {
    max-width: 600px;
}

.banner-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.8;
    text-transform: uppercase;
}

.banner-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: bold;
}

.banner-highlight {
    color: var(--accent-yellow);
}

.banner-desc {
    font-size: 16px;
    opacity: 0.8;
    margin-top: 30px;
    line-height: 1.8;
    max-width: 500px;
}

.yellow-divider {
    width: 50px;
    height: 4px;
    background-color: var(--accent-yellow);
    margin: 20px 0;
}

/* Features Bar (Yellow) */
.features-bar {
    background-color: var(--accent-yellow);
    padding: 40px 0;
    color: #fff;
    text-align: center;
    background-image: url('img/features-bar-bg.jpg'); /* 简单的纹理 */
    background-size: cover;
    background-position: center;
}

.features-title {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 500;
}

.features-subtitle {
    font-size: 14px;
    opacity: 0.8;
}

/* Icons Grid */
.icons-grid {
    padding: 30px 0;
    background-color: #fff;
}

.icons-container {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    /* border: 1px solid #eee; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-yellow);
}

.icon-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #f7f8fb;
}

.section-title {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.section-subtitle {
    font-size: 14px;
    color: #999;
    margin-bottom: 40px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-yellow);
}

.about-content {
    display: flex;
    gap: 50px;
}

.about-left {
    flex: 1;
}

.about-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-image {
    width: 100%;
    height: 200px;
    background-color: #eee;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.stats-box {
    position: absolute;
    bottom: -30px;
    right: -50px;
    background-color: var(--accent-yellow);
    display: flex;
    padding: 20px 40px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(245, 176, 0, 0.3);
}

.stat-item {
    text-align: center;
    margin: 0 20px;
}

.stat-num {
    font-size: 24px;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
}

.about-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-image: url('img/index-map.png'); /* 简易地图占位 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Applications Section */
.applications-section {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(15, 28, 63, 0.9), rgba(15, 28, 63, 0.6)), url('img/index-app-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-top: 0px;
}

.app-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 140px;
    position: relative;
}

.app-text-area {
    width: 40%;
}

.app-title-lg {
    font-size: 36px;
    margin-bottom: 20px;
}

.app-desc {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.btn-outline {
    border: 1px solid #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
}

.app-cards {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: flex-start;
}

.app-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    width: 25%;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.app-card:hover, .app-card.active {
    background: #fff;
    color: var(--primary-blue);
}

.app-card-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.app-card-text {
    font-size: 13px;
}

/* Partners */
.partners-section {
    padding: 60px 0;
    text-align: center;
}

.partners-title {
    font-size: 18px;
    margin-bottom: 40px;
    color: #333;
}

.partners-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0.8;
    gap: 20px;
}

.partner-logo {
    height: 30px;
    filter: grayscale(100%);
}

/* Footer */
.footer {
    background-color: #333; /* 对应图片底部的深灰色 */
    color: #999;
    padding: 0 0 20px;
    font-size: 12px;
}

.footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #444;
    margin-bottom: 40px;
    font-size: 14px;
}

.footer-bar-left {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.footer-slogan {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
    font-weight: normal;
}

.footer-bar-right a {
    color: #ccc;
    margin: 0 10px;
    text-decoration: none;
    font-size: 12px;
}

.footer-bar-right a:hover {
    color: #fff;
}

.footer-bar-right .divider {
    color: #666;
    margin: 0 5px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.footer-col {
    flex: 1;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-logo {
    margin-bottom: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.footer-logo span {
    color: var(--accent-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #666;
}

/* Contact Page Styles */
.contact-section {
    padding: 120px 0 80px;
    background-color: #fff;
}

.map-container {
    width: 100%;
    height: 400px;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Ningbo_map.png/1024px-Ningbo_map.png');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.floating-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 4px;
    position: absolute;
    top: 40px;
    left: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 300px;
}

.floating-info h3 {
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-size: 20px;
    border-bottom: 2px solid var(--accent-yellow);
    display: inline-block;
    padding-bottom: 5px;
}

.floating-info p {
    margin-bottom: 10px;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.form-section {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary-blue);
}

.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 150px;
    margin-bottom: 20px;
    resize: vertical;
    outline: none;
    font-family: inherit;
}

.btn-yellow {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-yellow:hover {
    background-color: #e0a000;
}

/* App Cards Update */
.card-with-image {
    padding: 0 !important; /* Override default padding */
    overflow: hidden;
    background: #fff;
    position: relative;
    border: none !important;
    width: 280px; /* Make the first card wider */
}

.card-with-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card-with-image:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(255,255,255,0.9), rgba(255,255,255,0));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-overlay span {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.card-arrow {
    width: 28px;
    height: 28px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Partner Logos Update */
.partner-logo-img {
    height: 30px; /* Adjust height to make them look consistent */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo-text {
    font-size: 20px;
    opacity: 0.7;
}

/* Application Page Styles */
.page-banner {
    height: 400px;
    background: linear-gradient(to right, rgba(15, 28, 63, 0.8), rgba(15, 28, 63, 0.4)), url('img/appbg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-banner-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
}

.app-grid-section {
    padding: 80px 0;
    background-color: #fff;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.app-grid-card {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.app-grid-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.app-grid-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.app-grid-content {
    padding: 30px;
    position: relative;
}

.app-grid-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-yellow);
}

.app-grid-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.app-grid-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background-color: #fff;
}

.map-container-new {
    position: relative;
    width: 100%;
    height: 600px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 40px;
}

.map-bg {
    width: 100%;
    height: 100%;
    background-image: url('img/contact-map.png');
    background-size: cover;
    background-position: center;
}

.contact-card {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.contact-card-upper {
    display: flex;
    align-items: center;
    padding: 30px 40px;
}

.card-logo-section {
    flex: 1;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    border-right: 1px solid #eee;
    margin-right: 30px;
    padding-right: 30px;
}

.card-logo-icon {
    color: var(--accent-yellow);
    font-weight: 900;
    margin-right: 10px;
}

.card-contact-section {
    flex: 2;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon-circle {
    width: 44px;
    height: 44px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}

.info-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.contact-card-footer {
    padding: 15px 40px;
    background-color: #fff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.address-info {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.addr-label {
    color: #999;
    font-weight: normal;
    margin-right: 10px;
}

.nav-btn {
    border: 1px solid #ddd;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.nav-btn:hover {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

/* Message Section */
.message-section {
    padding: 80px 0;
    background-image: url('img/messagebg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.message-form {
    margin-top: 50px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.form-group-item {
    display: flex;
    flex-direction: column;
}

.form-group-item label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.custom-input, .custom-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid transparent;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    outline: none;
    font-size: 14px;
    transition: all 0.3s;
}

.custom-input:focus, .custom-textarea:focus {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-color: #eee;
}

.custom-textarea {
    height: 180px;
    resize: none;
}

.form-submit-center {
    text-align: center;
    margin-top: 50px;
}

.btn-submit-yellow {
    background-color: var(--accent-yellow);
    color: #fff;
    border: none;
    padding: 14px 80px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 10px rgba(245, 176, 0, 0.3);
}

.btn-submit-yellow:hover {
    background-color: #e0a000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(245, 176, 0, 0.4);
}
