/* Entrol Rongxing - Socks Manufacturer Website Styles */

/* CSS Variables */
:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --secondary-color: #ed8936;
    --accent-color: #38a169;
    --text-dark: #2d3748;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

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

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 5px;
    margin-left: 20px;
}

.lang-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

/* Language Content */
[data-i18n] {
    transition: opacity 0.2s ease;
}

.lang-hidden {
    display: none !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.05rem;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 500;
}

.btn-link:hover {
    color: var(--primary-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    padding: 100px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.hero-desc {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-buttons .btn-secondary {
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.hero-buttons .btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.section-header.light h2,
.section-header.light p {
    color: var(--bg-white);
}

/* Products Preview */
.products-preview {
    padding: 80px 0;
    background: var(--bg-white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 220px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 500;
}

.placeholder-image.large {
    height: 350px;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-info > p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-features {
    margin-bottom: 20px;
}

.product-features li {
    padding: 5px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 20px;
}

.product-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Advantages */
.advantages {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.advantage-item p {
    opacity: 0.9;
    line-height: 1.7;
}

/* Partners */
.partners {
    padding: 60px 0;
    background: var(--bg-light);
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partner-item {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-item:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Products CTA */
.products-cta {
    text-align: center;
    margin-top: 40px;
}

/* Bilingual Styles */
.lang-en {
    font-weight: 400;
    opacity: 0.85;
}

.hero-subtitle-en {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.section-header .lang-en {
    display: block;
    font-size: 0.95rem;
    margin-top: 5px;
}

.advantage-item .lang-en {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

.footer-contact p {
    margin-bottom: 5px;
}

/* CTA */
.cta {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-links a {
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Categories Overview */
.categories-overview {
    padding: 60px 0;
    background: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--primary-color);
    color: var(--bg-white);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.category-card p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Product Section */
.product-section {
    padding: 80px 0;
}

.product-section.bg-light {
    background: var(--bg-light);
}

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

.category-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-category-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-category-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 50px;
}

.product-detail-grid.reverse {
    direction: rtl;
}

.product-detail-grid.reverse > * {
    direction: ltr;
}

.product-detail-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-list {
    margin-bottom: 30px;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.7;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list strong {
    color: var(--primary-color);
}

.product-specs h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs td {
    padding: 10px;
    border: 1px solid var(--border-color);
}

.product-specs td:first-child {
    background: var(--bg-light);
    font-weight: 500;
    width: 30%;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item .placeholder-image {
    height: 150px;
}

/* Service Section */
.service-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-card ul {
    text-align: left;
}

.service-card li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Company Overview */
.company-overview {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.overview-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.overview-content .lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

.overview-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Company Stats */
.company-stats {
    padding: 60px 0;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.stat-box {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.stat-box .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Capabilities */
.capabilities {
    padding: 80px 0;
    background: var(--bg-white);
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.capability-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.capability-card:hover {
    box-shadow: var(--shadow-md);
}

.capability-image .placeholder-image {
    height: 200px;
}

.capability-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 20px 20px 10px;
}

.capability-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Certifications */
.certifications {
    padding: 80px 0;
    background: var(--bg-light);
}

.cert-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.cert-category {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.cert-category h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.cert-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cert-icon {
    color: var(--accent-color);
    font-weight: bold;
}

/* Partners Detail */
.partners-detail {
    padding: 80px 0;
    background: var(--bg-white);
}

.partner-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.partner-card {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.partner-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.partner-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.partner-percent {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.partner-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Timeline */
.timeline {
    padding: 80px 0;
    background: var(--bg-light);
}

.timeline-list {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    min-width: 80px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Page */
.contact-info-section {
    padding: 60px 0;
    background: var(--bg-white);
}

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

.contact-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-card > p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: var(--primary-light);
}

.contact-text {
    color: var(--text-dark);
    font-weight: 500;
}

/* Contact Form */
.contact-form-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

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

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

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-lg);
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Map */
.map-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.map-placeholder {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.map-content {
    text-align: center;
}

.map-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}

.map-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.map-note {
    color: var(--secondary-color) !important;
    font-weight: 500;
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .overview-grid,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 60px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .product-grid,
    .advantage-grid,
    .service-grid,
    .capability-grid,
    .cert-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-logos {
        gap: 25px;
    }
    
    .partner-item {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Product Detail Gallery */
.product-detail-gallery {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.product-img-main {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
    background: var(--bg-light);
}

.product-gallery-thumbs img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-gallery-thumbs img:hover {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .product-detail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-img-main {
        height: 250px;
    }
    
    .product-gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-gallery-thumbs img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .product-img-main {
        height: 200px;
    }
    
    .product-gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        padding: 10px;
    }
    
    .product-gallery-thumbs img {
        height: 50px;
    }
}
.factory-img-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.capability-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* Certification Images Grid */
.cert-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.cert-img-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cert-img-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cert-img-item img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.cert-img-item span {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .product-img-main {
        height: 250px;
    }
    
    .product-gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-gallery-thumbs img {
        height: 60px;
    }
    
    .factory-img-main {
        height: 250px;
    }
    
    .cert-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cert-images-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-filter-section {
    padding: 40px 0 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: transparent;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.blog-section {
    padding: 60px 0 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: var(--bg-light);
    color: var(--text-muted);
}

.blog-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.blog-card-meta .blog-date::before {
    content: "📅 ";
}

.blog-card-meta .blog-read-time::before {
    content: "⏱ ";
}

.blog-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.blog-read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Lead Magnet Section */
.lead-magnet {
    padding: 50px 0;
    background: var(--bg-light);
}
.lead-magnet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.lead-magnet-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}
.lead-magnet-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
}
.lead-magnet-icon {
    font-size: 40px;
    margin-bottom: 16px;
}
.lead-magnet-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--primary-color);
}
.lead-magnet-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
}
.lead-magnet-btn {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.lead-magnet-card:hover .lead-magnet-btn {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .lead-magnet-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating WhatsApp / WeChat Button */
.float-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.float-contact-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: var(--transition);
    position: relative;
}
.float-contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.float-contact-btn img {
    width: 28px;
    height: 28px;
}
.float-whatsapp {
    background: #25D366;
}
.float-wechat {
    background: #07C160;
}
.float-contact-btn .float-tooltip {
    position: absolute;
    right: 66px;
    background: #fff;
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.float-contact-btn:hover .float-tooltip {
    opacity: 1;
}
.float-contact-btn .float-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #fff;
}
/* WeChat QR Popup */
.float-wechat-popup {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    text-align: center;
    min-width: 200px;
}
.float-wechat-popup.active {
    display: block;
}
.float-wechat-popup p {
    font-size: 13px;
    color: var(--text-dark);
    margin-top: 8px;
    font-weight: 600;
}
.float-wechat-popup small {
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .float-contact {
        bottom: 20px;
        right: 16px;
    }
    .float-contact-btn {
        width: 48px;
        height: 48px;
    }
    .float-contact-btn img {
        width: 24px;
        height: 24px;
    }
    .float-contact-btn .float-tooltip {
        display: none;
    }
}
