* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #003366;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/*Products */

.nav-links li.active a {
    color: #4dabf7;
    font-weight: bold;
}
.nav-links li {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 10px 0;
    margin-top: 5px;
    width: 200px;
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-links li:hover .submenu {
    display: block;
}

.submenu li {
    margin: 0;
    padding: 10px 20px;
    width: 85%;
    transition: background-color 0.3s;
}

.submenu li:hover {
    background-color: #f0f0f0;
}

.submenu li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.submenu li a:hover {
    color: #003366;
}

/* 添加一个类来控制子菜单的显示 */
.has-submenu.hover .submenu {
    display: block;
}

/* 优化子菜单背景样式 */
.submenu {
    background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
}

.submenu li {
    border-bottom: 1px solid #e0e0e0;
}

.submenu li:last-child {
    border-bottom: none;
}
/*Products*/


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4dabf7;
}

.section {
    padding: 60px 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #003366;
    text-align: center;
    font-weight: 600;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero h1 {
    font-size: 36px;
    color: #003366;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #002347;
}

.hero-image {
    flex: 1;
    text-align: right;
    max-width: 50%; /* 限制图片容器的最大宽度 */
}
.hero-image img {
    max-width: 120%;
    height: auto;
    border-radius: 8px;
    object-fit: contain; /* 确保图片按比例缩小 */
}

.image-container {
    margin: 30px 0;
    text-align: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.about-text {
    flex: 1;
    padding-right: 40px;
    padding-left: 20px; /* 添加左侧内边距 */
    padding-bottom: 20px; /* 添加底部内边距 */
}
.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.about-image {
    flex: 1;
    text-align: center;
	 max-width: 50%;
    padding-left: 20px; /* 添加左侧内边距 */
    padding-bottom: 20px; /* 添加底部内边距 */
}
.about-image img {
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

.about-values {
    display: flex;
    justify-content: space-between;
}

.value-card {
    flex: 1;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 0 10px;
}

.value-card h3 {
    color: #003366;
    margin-bottom: 15px;
    font-size: 18px;
}

.value-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-container,
    .about-values {
        flex-direction: column;
    }
    
    .about-text,
    .about-image,
    .value-card {
        width: 100%;
        margin-bottom: 30px;
        padding-right: 0;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
    
    .value-card {
        margin: 0 0 20px;
    }
}
/* Add this to your css/style.css */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.partner-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.partner-card h3 {
    color: #003366;
    margin-bottom: 15px;
    font-size: 18px;
}

.partner-card ul {
    list-style: none;
    padding-left: 0;
}

.partner-card ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
}

.partner-card ul li:before {
    content: "• ";
    color: #003366;
    font-weight: bold;
}

/*图片样式*/

/*************************/



.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 18px;
    color: #003366;
    padding: 15px;
    background-color: #f8f9fa;
    margin: 0;
}

.product-card ul {
    list-style: none;
    padding: 15px;
}

.product-card ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
    position: relative;
    padding-left: 15px;
}

.product-card ul li:before {
    content: "•";
    color: #003366;
    position: absolute;
    left: 0;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.application-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.application-card:hover {
    transform: translateY(-5px);
}

.application-card h3 {
    font-size: 18px;
    color: #003366;
    padding: 15px;
    background-color: #f8f9fa;
    margin: 0;
}

.application-card p {
    font-size: 14px;
    color: #555;
    padding: 15px;
}

.application-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(even) {
    float: right;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #003366;
    border-radius: 50%;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-content h3 {
    font-size: 18px;
    color: #003366;
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 14px;
    color: #555;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 16px;
    color: #003366;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 14px;
    color: #555;
}

.contact-form h3 {
    font-size: 20px;
    color: #003366;
    margin-bottom: 15px;
}

.contact-form p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

footer {
    background-color: #003366;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
	
	.hero-image {
	        max-width: 100%; /* 在小屏幕上允许图片占满整个宽度 */
	        text-align: center;
	    }
	    
	.hero-image img {
	        max-width: 80%; /* 在小屏幕上进一步缩小图片宽度 */
	    }
	
	  .about-container {
	        flex-direction: column;
	    }
	    
	    .about-text {
	        padding-right: 0;
	        margin-bottom: 30px;
	    }
	    
	    .about-image {
	        max-width: 100%;
	        padding-left: 0;
	    }
	    
	    .about-image img {
	        max-width: 70%;
	    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
}