/* ============================================================
   Green World - Packaging & Processing Equipment
   Brand Color: #1A56DB (Industrial Blue)
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --primary: #1A56DB;
    --primary-dark: #1243A8;
    --primary-darker: #0C2D7A;
    --primary-light: #3B82F6;
    --primary-lighter: #93C5FD;
    --primary-bg: #EFF6FF;
    --primary-border: #BFDBFE;
    --secondary: #1E293B;
    --accent: #F59E0B;
    --white: #ffffff;
    --off-white: #F8F9FA;
    --light-gray: #ECF0F1;
    --gray: #95A5A6;
    --dark-gray: #555555;
    --text: #333333;
    --text-light: #777777;
    --text-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 5px 25px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 45px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 90px;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* --- Typography --- */
.section-padding { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 55px; }
.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
}
.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
}
.section-subtitle::before { right: -45px; }
.section-subtitle::after { left: -45px; }
.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1.3;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}
.highlight { color: var(--primary); }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-block { display: block; width: 100%; }
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(62,179,163,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}
.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--primary-darker);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Header --- */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; }
.header-top {
    background: var(--secondary);
    color: #ccc;
    font-size: 13px;
    padding: 8px 0;
}
.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-contact span { margin-right: 20px; }
.header-contact i { color: var(--primary-light); margin-right: 6px; }
.header-social a {
    color: #ccc;
    margin-left: 14px;
    transition: var(--transition);
}
.header-social a:hover { color: var(--primary); }
.header-main {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.logo-tagline {
    font-size: 11px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item > a {
    display: block;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}
.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.nav-item:hover > a,
.nav-item.active > a { color: var(--primary); }
.nav-item:hover > a::after,
.nav-item.active > a::after { transform: scaleX(1); }
.nav-item > a i { font-size: 10px; margin-left: 4px; vertical-align: middle; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
}
.dropdown-menu li a:hover {
    color: var(--primary);
    background: var(--primary-bg);
    padding-left: 30px;
}

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 16px; }
.search-toggle { font-size: 18px; color: var(--secondary); cursor: pointer; transition: var(--transition); }
.search-toggle:hover { color: var(--primary); }
.lang-switch { font-size: 13px; color: var(--gray); cursor: pointer; }
.lang-switch .active { color: var(--primary); font-weight: 700; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span {
    width: 26px; height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background: var(--white);
    padding: 30px 0;
    z-index: 1100;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}
.search-overlay.active { transform: translateY(0); }
.search-overlay .container { display: flex; align-items: center; }
.search-form { flex: 1; display: flex; }
.search-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--primary);
    border-right: none;
    border-radius: 50px 0 0 50px;
    font-size: 16px;
    outline: none;
}
.search-form button {
    padding: 14px 28px;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}
.search-form button:hover { background: var(--primary-dark); }
.search-close { font-size: 24px; color: var(--text-light); cursor: pointer; margin-left: 20px; transition: var(--transition); }
.search-close:hover { color: var(--primary); }

/* --- Hero Slider --- */
.hero { position: relative; height: 100vh; min-height: 600px; margin-top: calc(var(--header-height) + 36px); overflow: hidden; }
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-content { max-width: 700px; }
.hero-subtitle {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-light);
    background: rgba(62,179,163,0.15);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(62,179,163,0.3);
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.25;
}
.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn:hover { background: var(--primary); }
.slider-btn.prev { left: 30px; }
.slider-btn.next { right: 30px; }
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}
.dot {
    width: 12px; height: 12px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.dot.active { background: var(--primary); width: 32px; border-radius: 10px; }

/* --- Stats --- */
.stats { background: var(--primary); padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { text-align: center; color: var(--white); }
.stat-icon { font-size: 32px; margin-bottom: 10px; opacity: 0.8; }
.stat-number { font-size: 2.8rem; font-weight: 800; line-height: 1.2; }
.stat-label { font-size: 14px; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; }

/* --- Products --- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(62,179,163,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-info { padding: 24px; text-align: center; }
.product-icon {
    width: 56px; height: 56px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin: -50px auto 16px;
    position: relative;
    z-index: 2;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}
.product-info h3 { font-size: 1.1rem; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.product-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.6;
}
.product-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}
.product-link i { font-size: 12px; margin-left: 4px; transition: var(--transition); }
.product-link:hover { color: var(--primary-dark); }
.product-link:hover i { transform: translateX(4px); }

/* --- About --- */
.bg-light { background: var(--off-white); }
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-media { position: relative; }
.about-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-img-main img { width: 100%; }
.about-experience {
    position: absolute;
    bottom: -25px;
    right: 40px;
    background: var(--primary);
    color: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.exp-number { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.exp-text { font-size: 14px; opacity: 0.9; margin-top: 5px; line-height: 1.4; }
.about-content .section-title { text-align: left; }
.about-text { color: var(--text-light); margin-bottom: 25px; line-height: 1.8; }
.about-features { margin-bottom: 30px; }
.feature {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}
.feature i { color: var(--primary); font-size: 22px; margin-top: 2px; flex-shrink: 0; }
.feature h4 { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 3px; }
.feature p { font-size: 14px; color: var(--text-light); }
.about-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Applications --- */
.applications-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.app-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--white);
}
.app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.app-img-wrap { height: 200px; overflow: hidden; }
.app-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.app-card:hover .app-img-wrap img { transform: scale(1.05); }
.app-info { padding: 20px; text-align: center; }
.app-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}
.app-info h3 { font-size: 1.05rem; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.app-info p { font-size: 14px; color: var(--text-light); }

/* --- Technology --- */
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.tech-item {
    display: flex;
    gap: 24px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid transparent;
}
.tech-item:hover {
    border-left-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateX(5px);
}
.tech-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-lighter);
    line-height: 1;
    flex-shrink: 0;
}
.tech-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.tech-content p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* --- Service --- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-icon-wrap {
    width: 70px; height: 70px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
    margin: 0 auto 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
    background: var(--primary);
    color: var(--white);
}
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* --- News --- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.news-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-img img { transform: scale(1.05); }
.news-date {
    position: absolute;
    bottom: 15px; left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}
.news-body { padding: 24px; }
.news-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1.5;
}
.news-body p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.7;
}
.news-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}
.news-link i { font-size: 12px; margin-left: 4px; transition: var(--transition); }
.news-link:hover { color: var(--primary-dark); }
.news-link:hover i { transform: translateX(4px); }

/* --- Testimonials --- */
.testimonial-slider { max-width: 750px; margin: 0 auto; position: relative; }
.testimonial-item {
    text-align: center;
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s ease;
}
.testimonial-item.active { opacity: 1; position: relative; }
.testimonial-quote { font-size: 48px; color: var(--primary-lighter); margin-bottom: 20px; }
.testimonial-item p {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}
.testimonial-author strong { display: block; font-size: 1rem; color: var(--secondary); margin-bottom: 4px; }
.testimonial-author span { font-size: 14px; color: var(--text-light); }
.testimonial-dots { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }

/* --- CTA --- */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
    padding: 70px 0;
    text-align: center;
}
.cta-content { color: var(--white); }
.cta-content h2 { font-size: 2.3rem; font-weight: 800; margin-bottom: 16px; }
.cta-content p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; max-width: 550px; margin-left: auto; margin-right: auto; }

/* --- Contact --- */
.contact-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}
.contact-info { display: grid; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}
.contact-info-item:hover .contact-icon {
    background: var(--primary);
    color: var(--white);
}
.contact-info-item h4 { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--text-light); }
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--off-white);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(62,179,163,0.1);
    background: var(--white);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* Map */
.map-section { line-height: 0; }

/* --- Footer --- */
.footer { background: #1a252f; color: #bbb; }
.footer-top { padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.footer-logo-name { font-size: 22px; font-weight: 800; color: var(--white); }
.footer-about p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 14px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--primary);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: 14px;
    color: #bbb;
    transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); padding-left: 6px; }
.newsletter-form { display: flex; margin-top: 14px; }
.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-radius: 50px 0 0 50px;
    font-size: 14px;
    outline: none;
}
.newsletter-form input::placeholder { color: #777; }
.newsletter-form button {
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}
.newsletter-form button:hover { background: var(--primary-dark); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}
.footer-bottom a { color: var(--primary-light); transition: var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* --- Fixed Sidebar --- */
.fixed-sidebar { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 999; }
.sidebar-toggle {
    background: var(--primary);
    color: var(--white);
    padding: 16px 10px;
    border-radius: var(--radius) 0 0 var(--radius);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    transition: var(--transition);
}
.sidebar-toggle:hover { background: var(--primary-dark); }
.sidebar-toggle i { font-size: 20px; }
.sidebar-dropdown {
    position: absolute;
    right: 100%;
    top: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 220px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.fixed-sidebar:hover .sidebar-dropdown,
.fixed-sidebar.sidebar-open .sidebar-dropdown { opacity: 1; visibility: visible; }
.sidebar-section h4 { font-size: 14px; font-weight: 700; color: var(--secondary); margin-bottom: 14px; }
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
}
.sidebar-link i { color: var(--primary); width: 20px; text-align: center; }
.sidebar-link:hover { color: var(--primary); }

/* ============================================================
   PERFORMANCE: content-visibility for off-screen sections
   Saves rendering cost for below-fold content
   ============================================================ */
.products,
.about,
.applications,
.technology,
.service,
.news,
.testimonials,
.contact,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .applications-grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-row { grid-template-columns: 1fr; }
    .contact-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.4rem; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 768px) {
    /* Mobile nav */
    .header-top { display: none; }
    .nav { display: none; }
    .nav.mobile-open {
        display: block;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        overflow-y: auto;
        padding: 20px;
    }
    .nav-list { flex-direction: column; }
    .nav-item > a { padding: 14px 0; font-size: 16px; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
    }
    .menu-toggle { display: flex; }
    .lang-switch { display: none; }

    .hero { height: 80vh; min-height: 500px; margin-top: var(--header-height); }
    .hero-title { font-size: 1.8rem; }
    .hero-desc { font-size: 0.95rem; }
    .hero-btns { flex-direction: column; }
    .slider-btn { display: none; }

    .product-grid,
    .service-grid,
    .applications-grid,
    .stats-grid,
    .news-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-experience { right: 10px; padding: 15px 20px; }
    .exp-number { font-size: 1.8rem; }
    .section-title { font-size: 1.7rem; }
    .section-padding { padding: 60px 0; }
}
