/* Global Styles */
:root {
    --primary-color: #1a4d2e; /* Deep green for professionalism */
    --secondary-color: #a47e3b; /* Gold accent for premium feel */
    --light-color: #f5f5f5;
    /* --light-color: white; */
    --dark-color: #333;
    --text-color: #444;
    /* --border-color: white; */
    --border-color: #ddd;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

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

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.1rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

section {
    padding: 5rem 0;
}

html { scroll-behavior: smooth; }
section { scroll-margin-top: 100px; }

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 15px;
}
header .container > .logo { flex: 0 0 auto; }
header .container > nav { flex: 1 1 auto; justify-content: center; }
header .container > .language-selector { flex: 0 0 auto; }

nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo h1 {
    font-size: 2.2rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.logo img {
    height: 48px;
    width: scale(1.5);
}

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    font-size: 1.05rem;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}
.language-selector { display: flex; align-items: center; margin-left: 12px; }
.language-selector select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}
.language-selector select:hover { border-color: var(--secondary-color); box-shadow: 0 2px 8px rgba(164, 126, 59, 0.1); }
.language-selector select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 2px 8px rgba(26, 77, 46, 0.1); }

/* Hero Section */
.b2b-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('image/1972238901.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 18rem 0 16rem;
    margin-top: 6rem;
}

.b2b-hero h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.b2b-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.primary-cta, .secondary-cta {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.3rem;
}

.primary-cta {
    background-color: var(--secondary-color);
    color: white;
}

.secondary-cta {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.primary-cta:hover {
    background-color: #8a6930;
}

.secondary-cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* About Section */
.about-section {
    background-color: white;
    text-align: center;

}

.about-section h2 {
    color: var(--primary-color);
    margin-top: 6rem;
    margin-bottom: 2rem;

}

.about-section > .container > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6rem;
}

.about-features {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    border-radius: 8px;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.1rem;
}

/* Strengths Section */
.b2b-strengths {
    background-color: var(--primary-color);
    color: white;
    text-align: center;

}

.b2b-strengths h2 {
    color: white;
    margin-top: 6rem;
    margin-bottom: 4rem;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.strength-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition);
}

.strength-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.strength-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.1rem;
}

.strength-item h3 {
    color: white;
    margin-bottom: 1.1rem;
}

/* Client Cases Section */
.client-cases {
    background-color: white;
    text-align: center;
}

.client-cases h2 {
    color: var(--primary-color);
    margin-top: 6rem;
    margin-bottom: 3rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.logo-placeholder {
    width: 200px;
    height: 100px;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.case-study {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.case-study h3 {
    color: var(--primary-color);
    margin-bottom: 1.1rem;
}

/* Process Section */
.cooperation-process {
    background-color: var(--light-color);
    text-align: center;
}

.cooperation-process h2 {
    color: var(--primary-color);
    margin-top: 6rem;
    margin-bottom: 3rem;
}

.process-steps {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.process-steps li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    text-align: left;
}

.step-number {
    background-color: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

/* Product Section */
.product-section {
    background-color: var(--primary-color);
    color: white;

    padding: 5rem 0;
    text-align: center;
}

.product-section h2 {
    color: white;
    margin-top: 6rem;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-viewer {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: #f8f9fa;
    display: block;
    aspect-ratio: 4 / 3;
}

.tech-specs {
    padding: 1.5rem;
    text-align: left;
}

.tech-specs h3 {
    color: var(--primary-color);
    margin-bottom: 1.1rem;
}

.tech-specs p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    header { position: static !important; top: auto !important; }
    header { background-color: #fff !important; }
    body { font-size: 15px; }
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-viewer {
        max-height: 400px;
    }
}

.facilities-section {
    background-color: white;
    padding: 5rem 0;
    text-align: center;
}

.facilities-section h2 {
    color: var(--primary-color);
    margin-top: 6rem;
    margin-bottom: 3rem;
}

.facilities-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-color);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.facility-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.facility-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.facility-info {
    padding: 1.5rem;
}

.facility-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.facility-info p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .facility-image {
        height: 200px;
    }
}

/* Contact CTA Section */
.b2b-contact-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('contact-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.b2b-contact-cta h2 {
    color: white;
    margin-top: 6rem;
    margin-bottom: 1.1rem;
}

.b2b-contact-cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 3rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.9);
}

.contact-form textarea {
    resize: vertical;
}

.b2b-cta-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-link {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

.cta-link:hover {
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    color: white;
    margin-top: 6rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--secondary-color);
}

.footer-contact h3,
.footer-links h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 1.1rem;
    }
    nav {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    /*nav ul { display: none !important; }    */
    nav ul li a { color: #222 !important; display: block; padding: 0.5rem 0.75rem; }
    header .container > nav { order: 2; }
    header .container > .language-selector { order: 3; margin: 10px 0 0; }
    header .container > .logo { order: 1; }
    
     nav ul {
        margin-top: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem 1rem;
    } 
    
    nav ul li {
        margin: 0;
    }
    
    .b2b-hero {
        padding: 6rem 0 4rem;
        margin-top: 0;
    }
    section { scroll-margin-top: 20px; }
    .b2b-hero p { padding: 0 8px; }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.6rem;
    }
    
    .b2b-hero h1 {
        font-size: 2.2rem;
    }
    
    .about-features,
    .grid-3col {
        grid-template-columns: 1fr;
    }
    
    .process-steps li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1.1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact i {
        display: block;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .b2b-hero h1 {
        font-size: 1.8rem;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .primary-cta, .secondary-cta {
        width: 100%;
    }
}