:root {
    --primary-color: #0a2540; /* 深邃午夜蓝 */
    --accent-color: #00bcd4; /* 电光蓝点缀 */
    --text-color: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --light-bg: #f5f7fa;
    --import-bg: #003366; /* 进口板块基础蓝 */
    --border-color: rgba(0,0,0,0.1);
    --transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.site-header.scrolled .logo a {
    color: var(--primary-color);
}

.logo-img {
    height: 60px; /* Adjust based on your logo aspect ratio */
    width: auto;
    object-fit: contain;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    filter: brightness(0) invert(1); /* Make logo white for dark footer */
    opacity: 0.9;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
}

.site-header.scrolled .main-nav a {
    color: var(--primary-color);
}

.main-nav a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px; /* Increased gap */
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
}

.site-header.scrolled .lang-switch {
    color: var(--text-color);
}

.lang-switch a {
    opacity: 0.6;
    transition: var(--transition);
}

.lang-switch a:hover,
.lang-switch a.active {
    opacity: 1;
    color: var(--accent-color);
}

.lang-switch .separator {
    opacity: 0.4;
    font-size: 12px;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.site-header.scrolled .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.site-header.scrolled .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.site-header.scrolled .menu-toggle span {
    background: var(--primary-color);
}

/* Hero Slider Section */
.hero-slider-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s ease; /* Continuous subtle zoom */
}

.hero-slide.active .slide-bg {
    transform: scale(1);
    transition: transform 6s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,37,64,0.3), rgba(10,37,64,0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 80px;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-content h1 .highlight {
    font-style: italic;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--white);
    transform: scale(1.3);
}

.prev-slide, .next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 20;
    backdrop-filter: blur(5px);
}

.prev-slide {
    left: 40px;
}

.next-slide {
    right: 40px;
}

.prev-slide:hover, .next-slide:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.hero-actions {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px; /* Adjusted to not overlap with nav */
    right: 40px; /* Moved to right */
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.7;
    z-index: 10;
    color: var(--white);
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: var(--white);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Stats Section (Floating Style) */
.stats-section {
    padding: 0; /* Remove padding */
    background: transparent; /* Transparent bg */
    position: relative;
    z-index: 20; /* Above hero */
    margin-top: -100px; /* Pull up to overlap hero */
    margin-bottom: 80px; /* Push content down */
}

/* Remove the pseudo-element pattern as we are using glass effect */
.stats-section::before {
    display: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
    background: rgba(10, 37, 64, 0.85); /* Semi-transparent dark blue */
    backdrop-filter: blur(20px); /* Glass effect */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); /* Soft shadow */
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden; /* Clip corners */
}

.stat-item {
    padding: 40px 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s ease;
}

.stat-item:first-child {
    border-left: none;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: rgba(255,255,255,0.05);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 56px; /* Slightly smaller for floating bar */
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #00bcd4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.import-section .section-header h2 {
    color: var(--white);
}
.section-header h2 {
    font-size: 48px;
    color: var(--primary-color);
}

.section-desc {
    margin-top: 20px;
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
}

.section-tag {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Modern Section Header Styling */
.modern-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.title-separator {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.modern-subtitle {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Light Theme Overrides (for Import Section) */
.import-section .modern-title {
    color: var(--white);
}

.title-separator.light {
    background: var(--white);
    opacity: 0.8;
}

.modern-subtitle.light {
    color: rgba(255, 255, 255, 0.7);
}

/* Homepage Product Grid (New) */
.homepage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.homepage-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.homepage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.homepage-card-img {
    height: 280px;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    border-bottom: 1px solid #f5f5f5;
}

.homepage-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    transition: transform 0.8s ease;
}

.homepage-card:hover .homepage-card-img img {
    transform: scale(1.1);
}

.homepage-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.homepage-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.homepage-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1; /* Push button to bottom */
}

/* Feature list inside card */
.homepage-card .feature-list {
    margin-bottom: 25px;
    gap: 10px;
    display: flex; /* Ensure horizontal */
    flex-wrap: wrap;
}

.homepage-card .feature-list li {
    font-size: 13px;
    background: rgba(0, 188, 212, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
    color: var(--primary-color);
}

.homepage-card .feature-list li::before {
    display: none; /* Remove dot */
}

.btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: fit-content;
    text-decoration: none;
    margin-top: 10px;
}

.btn-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10, 37, 64, 0.2);
}

.btn-link::after {
    display: none;
}

/* Import Section (New) */
.import-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* 深海蓝渐变 */
    color: var(--white);
    position: relative;
}

/* Dark Theme for Import Section Cards */
.import-section .homepage-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.import-section .homepage-card h3 {
    color: var(--white);
}

.import-section .homepage-card p {
    color: rgba(255, 255, 255, 0.7);
}

.import-section .homepage-card .feature-list li {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.import-section .homepage-card:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Light version for dark backgrounds */
.btn-link.light {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn-link.light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Product Row Styles (Restored for Import Section) */
.product-row {
    display: flex;
    align-items: center;
    margin-bottom: 120px;
    gap: 80px;
}

.product-row.reverse {
    flex-direction: row-reverse;
}

.product-image {
    flex: 1;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.product-image img {
    transition: transform 0.8s ease;
    width: 100%;
}

.product-row:hover .product-image img {
    transform: scale(1.05);
}

.product-text {
    flex: 1;
}

.product-text h3 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.product-text p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}

/* Feature List Styles for Product Row */
.feature-list {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-list li {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    padding-left: 15px;
    position: relative;
    background: none; /* Reset from card style */
    border-radius: 0;
    padding: 0 0 0 15px;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    display: block; /* Ensure visible */
}

/* Light Theme overrides for Product Row */
.import-section .product-text h3 {
    color: var(--white);
}

.import-section .product-text p {
    color: rgba(255,255,255,0.8);
}

.feature-list.light-theme li {
    color: var(--white);
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-item .label {
    font-size: 12px;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.spec-item .value {
    font-size: 16px;
    font-weight: 600;
}

/* Expertise Section (Updated) */
.expertise-section {
    position: relative;
    padding: 150px 0;
    color: var(--white);
    background: #080c14; /* 深邃黑/暗夜灰 */
    overflow: hidden;
}

.expertise-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    filter: saturate(0) contrast(1.2);
}

.expertise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(20, 25, 35, 0.8), rgba(8, 12, 20, 0.98));
    z-index: 1;
}

.expertise-section .container {
    position: relative;
    z-index: 2;
}

.expertise-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag-light {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.expertise-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
}

.expertise-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.exp-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.exp-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 188, 212, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    color: var(--accent-color);
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.exp-card:hover .card-icon {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.1);
}

.card-content h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--white);
}

.card-content p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

/* Hover light effect */
.card-bg-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 188, 212, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.exp-card:hover .card-bg-hover {
    opacity: 1;
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: var(--white);
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-content {
    flex: 1;
}

.about-lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
}

.image-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    z-index: 1;
    border-radius: 4px;
}

/* Footer */
.site-footer {
    background: #081b2e;
    color: var(--white);
    padding: 100px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-brand h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.6;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.footer-contact {
    display: flex;
    gap: 60px;
}

.contact-block label {
    display: block;
    font-size: 12px;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-block a, .contact-block p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    opacity: 0.6;
}

.social-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Container Utility */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Ensure animation replays when class is re-added */
.hero-slide.active .fade-in-up {
    animation-name: none; /* reset */
    animation-name: fadeInUp; /* start */
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll, 
.reveal-on-scroll-left, 
.reveal-on-scroll-right {
    opacity: 0;
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll { transform: translateY(50px); }
.reveal-on-scroll-left { transform: translateX(-50px); }
.reveal-on-scroll-right { transform: translateX(50px); }

.reveal-on-scroll.is-visible,
.reveal-on-scroll-left.is-visible,
.reveal-on-scroll-right.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Pagination (Global) */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.page-link:hover, .page-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Specific override for import page pagination to match theme */
.import-section .page-link:hover, 
.import-section .page-link.active {
    background: #003366;
    border-color: #003366;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 60px; }
    .homepage-grid { gap: 30px; }
    .expertise-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-top { flex-direction: column; gap: 50px; }
    .footer-contact { flex-direction: column; gap: 30px; }
    .slider-nav { bottom: 20px; }
    
    .product-row { gap: 40px; }
}

@media (max-width: 992px) {
    .homepage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .image-accent {
        top: 20px;
        right: -20px;
        bottom: -20px;
        width: auto;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .main-nav, .header-right .btn-outline { display: none; }
    .lang-switch { display: none; }
    .menu-toggle { display: flex; }
    
    .hero-content h1 { font-size: 42px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    
    .homepage-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-header h2 { font-size: 32px; }
    
    .product-row, .product-row.reverse {
        flex-direction: column;
        margin-bottom: 80px;
        gap: 30px;
    }
    .specs-grid { grid-template-columns: 1fr; }
    
    .about-wrapper {
        gap: 40px;
    }
    
    .culture-grid, .team-grid, .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd)::after, 
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }
    
    .timeline-dot {
        left: 24px;
    }
    
    .timeline-date {
        left: 80px;
        top: -30px;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        left: 80px;
        text-align: left;
    }
}

/* =========================================
   New Styles for About Us & Internal Pages
   ========================================= */

/* Utilities */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Page Hero Small */
.page-hero-small {
    height: 50vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    text-align: center;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 10s ease;
}

/* Animation for hero bg */
.page-hero-small:hover .page-hero-bg {
    transform: scale(1);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.breadcrumb a {
    opacity: 0.8;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 1;
    color: var(--accent-color) !important;
}

.breadcrumb span {
    margin: 0 10px;
    opacity: 0.5;
}

/* Culture Section */
.culture-section {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--white);
    position: relative;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.culture-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 30px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
}

.culture-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.culture-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
}

.culture-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #ddd; /* Light grey line */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

/* Left side */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

/* Right side */
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: -10px;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-date {
    position: absolute;
    top: 18px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -120px; /* Position date on the other side of line */
    text-align: left;
    width: 100px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -120px;
    text-align: right;
    width: 100px;
}

.timeline-content {
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 20px;
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.member-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(20%); /* Slight grayscale for professional look */
}

.team-member:hover .member-img img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.member-role {
    display: block;
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.member-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Certifications */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cert-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.cert-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    /* border: 5px solid #f9f9f9; */
}

.cert-item p {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

/* =========================================
   News Detail Page Styles
   ========================================= */

/* Content Layout */
.news-detail-section {
    padding: 80px 0;
    background: var(--white);
}

.news-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

/* Article Content */
.article-header {
    margin-bottom: 30px;
    text-align: left; /* Override center */
    border-bottom: none; /* Remove border from previous style */
    padding-bottom: 0;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left align */
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    margin-top: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item svg {
    color: var(--accent-color);
}

.article-title {
    font-size: 36px;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 40px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 16px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
}

.article-body blockquote {
    background: var(--light-bg);
    padding: 20px 30px;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--primary-color);
    margin: 30px 0;
    border-radius: 0 4px 4px 0;
}

.article-tags {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    gap: 10px;
}

.tag {
    background: var(--light-bg);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Post Navigation */
.post-nav {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
}

.nav-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 45%;
}

.nav-link.next {
    text-align: right;
    align-items: flex-end;
}

.nav-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 16px;
    transition: var(--transition);
}

.nav-link:hover .nav-title {
    color: var(--accent-color);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-bg);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

/* Search Widget */
.search-form {
    display: flex;
}

.search-input {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Montserrat', sans-serif;
}

.search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--accent-color);
}

/* Categories Widget */
.cat-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cat-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 14px;
}

.cat-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Recent Posts Widget */
.recent-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.recent-thumb {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.recent-info h4 a {
    color: var(--primary-color);
}

.recent-info h4 a:hover {
    color: var(--accent-color);
}

.recent-date {
    font-size: 12px;
    color: var(--text-light);
}

/* Breadcrumb Area */
.breadcrumb-area {
    padding: 20px 0;
    background: #394a5c;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
    .news-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .sidebar { position: static; }
    .article-title { font-size: 28px; }
    .featured-image { height: 300px; }
}

/* =========================================
   Standardized Hero Section for Inner Pages
   ========================================= */

/* Common Hero Container */
.page-hero,
.page-hero-small {
    height: 45vh; /* Standard height for all inner pages */
    min-height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    text-align: center;
    background-color: var(--primary-color); /* Fallback color */
}

/* Hero Background Image */
.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 10s ease;
}

.page-hero:hover .page-hero-bg,
.page-hero-small:hover .page-hero-bg {
    transform: scale(1);
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,37,64,0.4), rgba(10,37,64,0.8));
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Standardized Title Size */
.page-hero .hero-content h1,
.page-hero-small .hero-content h1 {
    font-size: 48px; /* Consistent font size */
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-family: 'Playfair Display', serif;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Breadcrumb Styling */
.breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

.breadcrumb .current {
    color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-hero,
    .page-hero-small {
        height: 35vh;
        min-height: 250px;
    }

    .page-hero .hero-content h1,
    .page-hero-small .hero-content h1 {
        font-size: 32px;
    }
}

/* =========================================
   News List Page Styles (Fix)
   ========================================= */

.news-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.news-img {
    height: 240px;
    overflow: hidden;
    position: relative;
    width: 100%; /* Ensure width is full */
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 2; /* Ensure on top */
}

.news-date-badge .day {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.news-date-badge .month {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
}

.news-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-cat {
    font-size: 12px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
    display: block; /* Ensure block display */
}

.news-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
    transition: var(--transition);
    font-weight: 700;
}

.news-card:hover .news-content h3 {
    color: var(--accent-color);
}

.news-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.read-more svg {
    transition: transform 0.3s ease;
}

.news-card:hover .read-more svg {
    transform: translateX(5px);
}

/* Pagination Styles (Ensure Visibility) */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    text-decoration: none; /* Remove underline */
}

.page-link:hover, .page-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
}
