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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

.header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    color: #fff;
}

.logo img {
    width: 65px;
    height: 65px;
    margin-right: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 3px;
}

.logo-text p {
    font-size: 13px;
    opacity: 0.85;
}

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

.nav li {
    margin-left: 30px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav a:hover,
.nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    border-radius: 2px;
}

.hero {
    margin-top: 90px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 50px;
    border-radius: 10px;
}

.carousel-caption h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 600;
}

.carousel-caption p {
    font-size: 18px;
    opacity: 0.9;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 50%;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: #1a365d;
    margin-bottom: 20px;
}

.divider {
    width: 60px;
    height: 4px;
    background: #ff6b00;
    margin: 0 auto;
    border-radius: 2px;
}

.about {
    padding: 80px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 24px;
    color: #1a365d;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    margin-top: 30px;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    margin-right: 15px;
    border-radius: 8px;
    color: #fff;
}

.stat-item:last-child {
    margin-right: 0;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

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

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.products {
    padding: 80px 0;
}

.products-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    margin: 0 10px;
    border: none;
    background: #e2e8f0;
    color: #475569;
    font-size: 16px;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: #ff6b00;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ff6b00;
}

.product-card h3 {
    font-size: 18px;
    color: #1a365d;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 14px;
    color: #64748b;
}

.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
}

.services .section-header h2 {
    color: #fff;
}

.services .divider {
    background: linear-gradient(90deg, #fff, #4299e1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffc400;
}

.service-card h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.contact {
    padding: 80px 0;
    background: #f8fafc;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.info-icon {
    font-size: 28px;
    margin-right: 15px;
    color: #ff6b00;
}

.info-item h4 {
    font-size: 16px;
    color: #1a365d;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 14px;
    color: #64748b;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 22px;
    color: #1a365d;
    margin-bottom: 30px;
    text-align: center;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4299e1;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
}

.success-message {
    display: none;
    background: #c6f6d5;
    color: #22543d;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.message-list-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.message-list-container h3 {
    font-size: 20px;
    color: #1a365d;
    margin-bottom: 20px;
    text-align: center;
}

.message-list {
    max-height: 300px;
    overflow-y: auto;
}

.message-item {
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #ff6b00;
}

.message-item:last-child {
    margin-bottom: 0;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.message-name {
    font-weight: 600;
    color: #1a365d;
}

.message-time {
    font-size: 12px;
    color: #94a3b8;
}

.message-content {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.footer {
    background: #1a365d;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .carousel {
        height: 400px;
    }
    .carousel-caption h2 {
        font-size: 28px;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-stats {
        flex-direction: column;
    }
    .stat-item {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .logo img {
        width: 45px;
        height: 45px;
    }
    .logo-text h1 {
        font-size: 16px;
    }
    .logo-text p {
        font-size: 10px;
    }
    .carousel {
        height: 300px;
    }
    .carousel-caption {
        padding: 20px;
    }
    .carousel-caption h2 {
        font-size: 22px;
    }
    .carousel-caption p {
        font-size: 14px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.nav.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a365d;
    padding: 20px;
}

.nav.active ul {
    flex-direction: column;
}

.nav.active li {
    margin-left: 0;
    margin-bottom: 15px;
}

.nav.active li:last-child {
    margin-bottom: 0;
}