/*
Theme Name: JUPOWER
Theme URI: http://jupower.local
Author: JUPOWER Technical Team
Description: 聚之义（JUPOWER）全球光伏支架系统官方高端现代响应式主题。
Version: 1.0.3
Text Domain: jupower
*/
:root {
    --primary: #c8142d;
    --primary-hover: #a32a2a;
    --secondary: #0c3287;
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --font-main: 'Inter', 'Noto Sans SC', sans-serif;
    --font-display: 'Space Grotesk', 'Noto Sans SC', sans-serif;
}

/* CSS Reset & Base */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent !important;
}

/* Isolate project section from any unexpected pseudo-element shapes or overlays */
#projects *::before,
#projects *::after {
    box-shadow: none !important;
    filter: none !important;
    background-image: none !important;
    clip-path: none !important;
}

.project-swiper-pagination *::before,
.project-swiper-pagination *::after {
    display: none !important;
}
body { font-family: var(--font-main); color: var(--text-main); background: #fff; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Utilities */
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.relative { position: relative; }
.absolute { position: absolute; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 50;
    transition: all 0.4s ease;
    background: #ffffff;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    transition: color 0.4s ease;
    display: flex;
    align-items: center;
}
.brand-logo-img {
    max-height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}
.brand-logo span { color: var(--primary); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu li {
    position: relative;
    list-style: none;
}
.nav-menu li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.3s ease;
    display: inline-block;
    padding: 10px 0;
}
.nav-menu li a:hover {
    color: var(--primary) !important;
}

/* Submenu Arrow Indicator */
.nav-menu .menu-item-has-children > a {
    padding-right: 14px;
    position: relative;
}
.nav-menu .menu-item-has-children > a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-main);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.nav-menu .menu-item-has-children:hover > a::after {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: var(--primary);
}

/* Page Hero Banner Real Solar PV Glassmorphism Effect */
.page-banner {
    position: relative;
    padding: 120px 0 60px;
    background: rgba(255, 255, 255, 0.76) !important;
    backdrop-filter: blur(12px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(160%) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 25px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

/* Solar PV Cell Grid Array Pattern Under Frosted Glass */
.page-banner::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35; /* Subtle noticeable PV grid visibility through glass */
    /* Blue Silicon Solar Cells matrix with crisp white grid gaps & busbar lines */
    background-color: #ffffff;
    background-image: 
        /* Horizontal White Gaps between Solar Cells */
        linear-gradient(0deg, #ffffff 4px, transparent 4px),
        /* Vertical White Gaps between Solar Cells */
        linear-gradient(90deg, #ffffff 4px, transparent 4px),
        /* Silver/White Busbar Lines across Cells */
        linear-gradient(90deg, transparent 20px, rgba(255, 255, 255, 0.9) 20px, rgba(255, 255, 255, 0.9) 22px, transparent 22px, transparent 42px, rgba(255, 255, 255, 0.9) 42px, rgba(255, 255, 255, 0.9) 44px, transparent 44px),
        /* Solar Silicon Blue Cell Gradient Fill */
        linear-gradient(135deg, #18447d 0%, #0c234a 100%);
    background-size: 64px 44px, 64px 44px, 64px 44px, 100% 100%;
}

/* Subtle, low-contrast left-to-right fading glass overlay */
.page-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0.88) 100%);
    z-index: 1;
    pointer-events: none;
}

.page-banner .container {
    position: relative;
    z-index: 5;
}

/* Dropdown Sub-menu Container (Light Translucent Glassmorphism) */
.nav-menu ul.sub-menu,
.nav-menu .sub-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 215px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 14px;
    padding: 8px;
    margin-top: 6px;
    list-style: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

/* Header Scrolled Dropdown Style */
.site-header.scrolled .nav-menu ul.sub-menu,
.site-header.scrolled .nav-menu .sub-menu {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Bridge gap between menu item and dropdown for smooth mouse transition */
.nav-menu ul.sub-menu::before,
.nav-menu .sub-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* Show Submenu on JS-controlled active hover state with exclusive switching */
.nav-menu li.is-active-hover > ul.sub-menu,
.nav-menu li.is-active-hover > .sub-menu {
    display: block !important;
    animation: dropdownFadeIn 0.25s ease-out forwards;
}

@keyframes dropdownFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submenu Items & Links */
.nav-menu .sub-menu li {
    width: 100%;
    margin: 0;
}
.nav-menu .sub-menu li a {
    display: block;
    padding: 9px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-main);
    text-shadow: none;
    white-space: nowrap;
    transition: all 0.25s ease;
    border-radius: 8px;
    margin: 2px 0;
}
.site-header.scrolled .nav-menu .sub-menu li a {
    color: var(--text-main);
    text-shadow: none;
}
.nav-menu .sub-menu li a:hover {
    background: rgba(200, 20, 45, 0.12);
    color: var(--primary) !important;
    padding-left: 20px;
    text-shadow: none;
}
.site-header.scrolled .nav-menu .sub-menu li a:hover {
    background: rgba(200, 20, 45, 0.12);
    color: var(--primary) !important;
    text-shadow: none;
}

/* Nested 2nd Level Submenus */
.nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-top: -8px;
    margin-left: 4px;
}

/* --- Hero Carousel --- */
.hero-section {
    height: calc(100vh - 82px);
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 82px;
}
.hero-swiper, .swiper-wrapper, .swiper-slide {
    width: 100%;
    height: 100%;
}
.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.05) contrast(1.02);
    transform: scale(1.05);
    transition: transform 6s ease-out;
}
.swiper-slide-active .hero-slide-img {
    transform: scale(1);
}

/* Bright Natural Top, Bottom-Only Gradient Overlay */
.hero-fade-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0) 55%, 
        rgba(255, 255, 255, 0.5) 82%, 
        #ffffff 100%);
    pointer-events: none;
}

/* Left-Aligned Floating Text */
.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 800px;
    text-align: left;
}
.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85), 0 2px 10px rgba(0, 0, 0, 0.7);
}
.hero-desc {
    font-size: 1.25rem;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 90%;
    font-weight: 500;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85), 0 1px 6px rgba(0, 0, 0, 0.7);
}
.hero-actions {
    display: flex;
    gap: 20px;
}
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 25px rgba(200, 20, 45, 0.3);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(200, 20, 45, 0.4);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
}
.btn-outline:hover {
    background: #fff;
    color: var(--text-main);
}

/* Swiper Pagination */
.hero-swiper .swiper-pagination-bullet { background: #fff; opacity: 0.4; width: 10px; height: 10px; }
.hero-swiper .swiper-pagination-bullet-active { opacity: 1; background: var(--primary); width: 30px; border-radius: 5px; transition: width 0.3s; }

/* --- Data Impact Section --- */
.data-impact-section {
    padding: 100px 0 120px;
    background: #fff;
    position: relative;
    z-index: 20;
}
.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}
.data-card {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s ease;
}
.data-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    background: #fff;
}
.data-number {
    font-family: var(--font-display);
    font-size: 5.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -2px;
}
.data-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 15px;
}
.data-desc {
    font-size: 1rem;
    color: var(--text-muted);
}

/* --- Global Sections & Typography --- */
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: #fff; }
.bg-dark { background-color: var(--bg-dark); }
.text-white { color: #fff; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.mt-15 { margin-top: 15px; }
.mt-30 { margin-top: 30px; }
.mt-50 { margin-top: 50px; }
.mb-30 { margin-bottom: 30px; }
.align-center { align-items: center; }
.radius-lg { border-radius: 20px; }
.shadow-float { box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.o-hidden { overflow: hidden; }

.section-title { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--text-main); margin-bottom: 15px; letter-spacing: -1px; }
.section-line { width: 60px; height: 4px; background: var(--primary); margin: 0 auto 25px; border-radius: 2px; }
.section-line.bg-primary { margin: 0 auto 40px; }
.section-subtitle { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 50px; }
.badge-sub { display: inline-block; padding: 6px 12px; background: rgba(200, 20, 45, 0.1); color: var(--primary); border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }

/* Grid Systems */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* --- 1. Core Products --- */
.product-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: transform 0.4s ease, box-shadow 0.4s ease; border: 1px solid rgba(0,0,0,0.03); }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.product-img-wrap { width: 100%; height: 240px; overflow: hidden; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-info { padding: 30px; }
.product-info h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-main); font-weight: 600; }
.product-info p { color: var(--text-muted); margin-bottom: 25px; line-height: 1.7; }
.btn-link { color: var(--primary); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; transition: color 0.3s ease; }
.btn-link:hover { color: var(--primary-hover); }

/* --- 2. Features / Why Choose Us --- */
.feature-card { background: #fff; padding: 35px 30px; border-radius: 16px; text-align: left; border: 1px solid rgba(0,0,0,0.02); box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); background: var(--bg-dark); }
.feature-card:hover * { color: #fff !important; }

.feature-card-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
    min-height: 48px;
}
.feature-icon {
    height: 38px;
    width: auto;
    max-width: 44px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    flex-shrink: 0;
    align-self: center;
}
.feature-card:hover .feature-icon {
    filter: brightness(0) invert(1);
    transform: scale(1.08);
}
.feature-number { 
    font-family: var(--font-display); 
    font-size: 3.6rem; 
    font-weight: 700; 
    color: var(--primary); 
    line-height: 1; 
    margin: 0 auto; 
    text-align: center;
    transition: color 0.3s ease; 
}
.feature-unit {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    transition: color 0.3s ease;
    flex-shrink: 0;
    align-self: flex-end;
    margin-bottom: 4px;
}
.feature-icon-box { display: none !important; }
.feature-title-row { display: contents; }

.feature-card h4 { 
    font-size: 1.25rem; 
    font-weight: 600; 
    margin: 0 0 12px 0; 
    color: var(--text-main); 
    text-align: center;
    transition: color 0.3s ease; 
}
.feature-card p { color: var(--text-muted); font-size: 0.95rem; transition: color 0.3s ease; }

/* --- 3. About Us --- */
.about-grid { align-items: stretch !important; }
.about-visual { position: relative; width: 100%; min-height: 100%; }
.about-text { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.about-img-frame { 
    border-radius: 20px; 
    overflow: hidden; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}
.about-img-frame img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); 
}
@media (max-width: 991px) {
    .about-visual { min-height: 400px; margin-top: 30px; }
    .about-img-frame { position: relative; height: 400px; }
}
.hover-zoom:hover img { transform: scale(1.05); }
.floating-box { position: absolute; z-index: 10; padding: 25px 30px; border-radius: 16px; display: flex; align-items: center; gap: 20px; font-size: 1.1rem; font-weight: 500; color: var(--text-main); }
.box-bottom-left { bottom: -30px; left: -30px; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,1); }
.glass-icon { width: 50px; height: 50px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }

/* Hide mobile cover block on desktop */
.project-mobile-top-block {
    display: none;
}

/* --- 4. Container-Aligned Modern Project Cases Slider (Diagonal Symmetry Layout) --- */
.project-container-slider-wrapper {
    position: relative;
    margin-top: 10px;
}

.project-container-swiper {
    width: 100%;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    position: relative;
    background: #0b1120;
}

/* Floating Top-Left Header Content inside Swiper Box */
.project-card-header-overlay-left {
    position: absolute;
    top: 45px;
    left: 45px;
    z-index: 15;
    max-width: 520px;
    color: #ffffff;
    pointer-events: auto;
}

.project-card-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.8);
}

.project-card-main-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0 0 24px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.project-card-action .btn {
    padding: 10px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 25px;
}

.project-card-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.12) contrast(1.02);
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card-slide.swiper-slide-active .project-card-img {
    transform: scale(1.04);
}

/* Dual Gradient Overlay Completely Removed for 100% Bright Crisp Photos */
.project-card-gradient-overlay {
    display: none !important;
}

/* Floating Bottom-Right Info Box (Swipes with Slide) */
.project-slide-info-box-right {
    position: absolute;
    bottom: 45px;
    right: 45px;
    z-index: 15;
    text-align: right;
    max-width: 580px;
    color: #ffffff;
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card-slide.swiper-slide-active .project-slide-info-box-right {
    transform: translateY(0);
    opacity: 1;
}

.project-slide-badge {
    display: inline-block;
    padding: 5px 18px;
    background: var(--primary, #c8142d);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(200, 20, 45, 0.4);
    letter-spacing: 0.5px;
}

.project-slide-item-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    word-break: break-word;
}

.project-slide-item-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.project-slide-item-meta .meta-item.capacity {
    color: #ffeb3b;
    font-weight: 800;
    font-size: 1.25rem;
}

/* Custom Navigation Arrows for Container Slider */
.project-swiper-prev,
.project-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-swiper-prev { left: -26px; }
.project-swiper-next { right: -26px; }

.project-swiper-prev .arrow-icon,
.project-swiper-next .arrow-icon {
    font-size: 1.6rem;
    line-height: 1;
    color: #0f172a;
    font-weight: 700;
    transition: color 0.3s ease;
}

.project-swiper-prev:hover,
.project-swiper-next:hover {
    background: var(--primary, #c8142d);
    border-color: var(--primary, #c8142d);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(200, 20, 45, 0.45);
}

.project-swiper-prev:hover .arrow-icon,
.project-swiper-next:hover .arrow-icon {
    color: #ffffff;
}

.project-container-swiper .project-swiper-pagination {
    bottom: 18px !important;
}

/* ==========================================================================
   Mobile Adaptive Engine for All Screen Dimensions & DPRs (max-width: 991px)
   ========================================================================== */
/* ==========================================================================
   Mobile Adaptive Engine for All Screen Dimensions & DPRs (max-width: 991px)
   ========================================================================== */
@media (max-width: 991px) {
    .project-container-slider-wrapper {
        margin-top: 0 !important;
        padding: 0 !important;
    }

    /* 1. Dynamic Aspect-Ratio & Viewport Height Scaling */
    .project-container-swiper {
        width: 100% !important;
        height: clamp(420px, 60vh, 540px) !important;
        border-radius: clamp(16px, 4.5vw, 24px) !important;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1) !important;
    }

    /* 2. Top-Left Overlay (Strict Left Alignment) */
    .project-card-header-overlay-left {
        top: clamp(18px, 4.8vw, 28px) !important;
        left: clamp(18px, 4.8vw, 26px) !important;
        right: clamp(18px, 4.8vw, 26px) !important;
        max-width: none !important;
        pointer-events: auto !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .project-card-header-overlay-left .badge-sub-light {
        padding: 4px 14px !important;
        font-size: 0.75rem !important;
        margin-bottom: 6px !important;
        display: inline-block !important;
    }

    /* Fluid Typography using clamp() */
    .project-card-main-title {
        font-size: clamp(1.45rem, 5.5vw, 1.85rem) !important;
        line-height: 1.22 !important;
        margin-bottom: 6px !important;
        letter-spacing: -0.3px !important;
        text-align: left !important;
    }

    .project-card-main-desc {
        font-size: clamp(0.8rem, 3.2vw, 0.95rem) !important;
        line-height: 1.45 !important;
        margin-bottom: 12px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-align: left !important;
    }

    .project-card-action .btn {
        padding: 7px 20px !important;
        font-size: 0.82rem !important;
        border-radius: 20px !important;
    }

    /* 3. Bottom-Right Slide Info Overlay (Strict Right Alignment) */
    .project-slide-info-box-right {
        bottom: clamp(24px, 6vw, 36px) !important;
        right: clamp(18px, 4.8vw, 26px) !important;
        left: clamp(18px, 4.8vw, 26px) !important;
        max-width: none !important;
        text-align: right !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        justify-content: flex-end !important;
    }

    .project-slide-badge {
        padding: 5px 16px !important;
        font-size: 0.78rem !important;
        margin-bottom: 6px !important;
        border-radius: 14px !important;
        display: inline-flex !important;
        align-self: flex-end !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        float: right !important;
        clear: both !important;
    }

    .project-slide-item-title {
        font-size: clamp(1.3rem, 5vw, 1.65rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
        text-align: right !important;
        width: 100% !important;
    }

    .project-slide-item-meta {
        font-size: clamp(0.82rem, 3.3vw, 0.98rem) !important;
        gap: 12px !important;
        justify-content: flex-end !important;
        width: 100% !important;
    }

    .project-slide-item-meta .meta-item.capacity {
        font-size: clamp(0.88rem, 3.6vw, 1.08rem) !important;
    }

    /* Clean Bullet Pagination on Mobile */
    .project-container-swiper .project-swiper-pagination {
        bottom: 8px !important;
    }

    .project-swiper-prev,
    .project-swiper-next {
        display: none !important;
    }
}

.project-swiper-pagination {
    bottom: 25px !important;
}
.project-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.project-swiper-pagination .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 10px;
    background: var(--primary) !important;
    opacity: 1;
}

@media (max-width: 991px) {
    .project-hero-section { aspect-ratio: auto; height: 540px; }
    .project-hero-header-overlay { left: 5%; top: 20%; transform: none; max-width: 90%; }
    .project-hero-main-title { font-size: 2.2rem; }
    .project-slide-info-box-right { right: 5%; bottom: 40px; max-width: 90%; text-align: left; }
    .project-slide-item-title { font-size: 1.8rem; }
    .project-slide-item-meta { justify-content: flex-start; }
}

/* --- 5. News --- */
.news-card { background: #fff; border-radius: 12px; overflow: hidden; transition: all 0.3s ease; }
.news-card:hover { transform: translateY(-5px); }
.news-img { width: 100%; height: 200px; overflow: hidden; border-radius: 12px; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-content { padding: 25px 0; }
.news-date { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.news-content h3 { font-size: 1.3rem; font-weight: 600; color: var(--text-main); margin-bottom: 15px; line-height: 1.4; transition: color 0.3s ease; }
.news-card:hover h3 { color: var(--primary); }

/* --- 6. Contact & Map --- */
.contact-title-oneline {
    white-space: nowrap;
}
@media (max-width: 1399px) {
    .contact-title-oneline { font-size: 2.2rem; }
}
@media (max-width: 1199px) {
    .contact-title-oneline { white-space: normal; font-size: 1.8rem; }
}
.contact-list { margin-top: 30px; }
.contact-list li { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.contact-icon { font-size: 1.8rem; color: var(--primary); background: rgba(200, 20, 45, 0.1); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-text strong { display: block; font-size: 1.1rem; color: var(--text-main); margin-bottom: 5px; }
.contact-text { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }
.contact-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.contact-img-frame:hover img {
    transform: scale(1.03);
}

/* --- V3 Enhancements --- */

/* V2 Product Cards */
.product-card-v2 { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: transform 0.4s ease, box-shadow 0.4s ease; display: flex; flex-direction: column; }
.product-card-v2:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
.product-visual { position: relative; width: 100%; height: 260px; overflow: hidden; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card-v2:hover .product-visual img { transform: scale(1.06); }
.product-badge-red { position: absolute; top: 20px; left: 0; background: var(--primary); color: #fff; padding: 6px 16px; font-size: 0.85rem; font-weight: 600; border-radius: 0 20px 20px 0; z-index: 2; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); }
.product-title-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 25px 20px; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%); z-index: 1;}
.product-title-overlay h3 { color: #fff; margin: 0; font-size: 1.6rem; font-weight: 700; text-shadow: 0 2px 5px rgba(0,0,0,0.5);}
.product-body { padding: 30px 25px; flex-grow: 1; display: flex; flex-direction: column; }
.product-body .product-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; }
.product-features { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.product-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.95rem; color: var(--text-main); font-weight: 500; }
.product-features li::before { 
    content: '✓'; 
    color: var(--primary); 
    font-size: 0.75rem; 
    font-weight: 800;
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 18px; 
    height: 18px; 
    background: rgba(200, 20, 45, 0.1); 
    border-radius: 50%; 
    flex-shrink: 0;
}
.product-link { color: var(--primary); font-weight: 700; font-size: 1rem; transition: color 0.3s; margin-top: auto; display: inline-block;}
.product-link:hover { color: var(--primary-hover); }

/* V3 Bento Box Projects */
.bento-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 250px 250px; gap: 20px; }
.bento-card { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; transition: all 0.4s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.bento-large { grid-row: span 2; }
.bento-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bento-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.bento-card:hover img { transform: scale(1.05); filter: brightness(1); }
.bento-overlay { position: absolute; inset: 0; padding: 30px; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%); display: flex; flex-direction: column; justify-content: flex-end; }
.bento-badge { position: relative; top: 0; left: 0; display: inline-block; padding: 4px 12px; font-size: 0.75rem; border-radius: 4px; margin-bottom: 10px; width: fit-content; }
.bento-title { color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.bento-large .bento-title { font-size: 2rem; }
.bento-meta { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 15px; transition: border-color 0.4s; }
.bento-card:hover .bento-meta { border-top-color: rgba(255,255,255,0.5); color: #fff; }
.capacity { font-size: 1.1rem; font-weight: 700; color: #fff; font-family: var(--font-display); }

/* V3 Map Beacons Tooltips */
.beacon-wrap { position: absolute; z-index: 10; cursor: pointer; }
.beacon-wrap .beacon { position: relative; width: 12px; height: 12px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 10px rgba(200,20,45,0.5); }
.beacon-wrap .beacon::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; background: var(--primary); border-radius: 50%; z-index: -1; animation: pulse-ring 2s infinite; }
.beacon-wrap .tooltiptext { visibility: hidden; width: 80px; background-color: var(--bg-dark); color: #fff; text-align: center; border-radius: 6px; padding: 5px 0; position: absolute; z-index: 1; bottom: 125%; left: 50%; margin-left: -40px; opacity: 0; transition: opacity 0.3s; font-size: 0.85rem; font-weight: 600; }
.beacon-wrap .tooltiptext::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: var(--bg-dark) transparent transparent transparent; }
.beacon-wrap:hover .tooltiptext { visibility: visible; opacity: 1; }

/* --- Footer --- */
.site-footer { 
    background: linear-gradient(180deg, #174884 0%, #123a6b 100%); 
    color: rgba(255, 255, 255, 0.85); 
    padding: 80px 0 30px; 
    font-size: 0.95rem; 
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-top { margin-bottom: 60px; gap: 60px; }
.footer-logo { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.logo-icon { background: var(--primary); color: #fff; width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-display); font-size: 1.1rem; }
.logo-text { color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: 1px; }
.footer-desc { line-height: 1.8; margin-bottom: 30px; color: rgba(255, 255, 255, 0.9); }

.social-links { display: flex; gap: 14px; align-items: center; }
.social-item { position: relative; }
.social-icon { 
    width: 42px; 
    height: 42px; 
    border-radius: 50%; 
    background-color: rgba(255, 255, 255, 0.12); 
    color: #ffffff; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-decoration: none; 
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); 
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.social-icon:hover { 
    background-color: var(--primary); 
    color: #fff; 
    border-color: var(--primary);
    transform: translateY(-4px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Floating QR Popover (Pure image card with strict aspect-ratio & width) */
.qr-popover {
    position: absolute;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #ffffff;
    padding: 8px !important;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 100;
    width: 136px !important;
    height: 136px !important;
    min-width: 136px !important;
    min-height: 136px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none;
}
.qr-popover::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}
.qr-popover img {
    width: 120px !important;
    height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 6px;
    margin: 0 !important;
    flex-shrink: 0 !important;
}
.social-item:hover .qr-popover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Footer & Bottom Section Floating Entrance Animation */
@keyframes fadeInUpFooter {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.site-footer {
    animation: fadeInUpFooter 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.contact-img-frame {
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
}
.contact-img-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

.footer-title { color: #ffffff; font-size: 1.25rem; font-weight: 600; margin-bottom: 30px; letter-spacing: 0.5px; }
.link-col ul { list-style: none; padding: 0; margin: 0; }
.link-col ul li { margin-bottom: 15px; }
.link-col ul li a { color: rgba(255, 255, 255, 0.82); text-decoration: none; transition: color 0.3s ease; }
.link-col ul li a:hover { color: #ffffff; text-decoration: underline; }
.contact-item { margin-bottom: 20px; display: flex; flex-direction: column; gap: 5px; }
.contact-label { color: rgba(255, 255, 255, 0.65); font-size: 0.85rem; }
.contact-val { color: #ffffff; font-weight: 500; }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.2); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); }
.beian-info a { color: rgba(255, 255, 255, 0.85) !important; }
.beian-info a:hover { color: #ffffff !important; text-decoration: underline; }

/* Responsive adjustments for footer grid */
@media (max-width: 991px) { .footer-top { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
@media (max-width: 575px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; justify-content: center; } }

/* Entry content paragraph line height & half-line spacing (0.5em) */
.entry-content p {
    margin-bottom: 0.5em !important;
    line-height: 1.8;
}

/* Red Action Button (Adapts to text width) */
.post-action-btn-wrap {
    text-align: center;
    margin: 35px 0 25px;
}

.btn-red-action-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    padding: 14px 36px;
    background: linear-gradient(135deg, #d31832 0%, #b01026 100%);
    color: #ffffff !important;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(200, 20, 45, 0.3);
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-red-action-banner:hover {
    background: linear-gradient(135deg, #e61c37 0%, #c8142d 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(200, 20, 45, 0.42);
    color: #ffffff !important;
}

/* ==========================================================================
   Comprehensive Mobile Responsive & Compatibility System
   ========================================================================== */

/* Global Anti-overflow */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

body.mobile-nav-active {
    overflow: hidden !important;
}

/* Mobile Navigation Hamburger & Backdrop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 12.5px 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #0f172a;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* PC vs Mobile Visibility Controls */
.about-text-desktop { display: block; }
.about-text-mobile { display: none; }
.project-mobile-cover-slide { display: none !important; }

.contact-grid-v2 {
    display: flex;
    flex-direction: column;
}

.grid-3-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

@media (min-width: 992px) {
    .products-swiper-pagination,
    .features-swiper-pagination,
    .news-swiper-pagination {
        display: none !important;
    }
}

/* Compact desktop header: reserve space for the fixed language switcher. */
@media (min-width: 992px) and (max-width: 1199px) {
    .site-header .container {
        justify-content: flex-start !important;
    }

    .nav-menu {
        gap: 16px;
        margin-left: auto;
        margin-right: 160px;
    }
}

/* ========================================================================== 
   Mobile System Overhaul (<= 991px Viewports)
   ========================================================================== */
@media (max-width: 991px) {
    /* 0. Tight Section Padding for Mobile */
    .section-padding {
        padding: 32px 0 !important;
    }

    .section-header {
        margin-bottom: 25px !important;
    }

    .section-title {
        font-size: 1.65rem !important;
    }

    /* 1. Mobile Header Navigation Drawer & Right Tools (GTranslate) */
    .site-header .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
    }

    .header-right-tools {
        display: flex !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: 14px !important;
        z-index: 10001 !important;
    }

    .header-right-tools .menu-item-gtranslate,
    .header-right-tools div[id^="gtranslate"] {
        list-style: none !important;
        display: block !important;
        position: static !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        position: relative !important;
        flex-shrink: 0 !important;
        z-index: 10001 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
    }

    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 75% !important;
        max-width: 270px !important;
        height: 100vh !important;
        background: #ffffff !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 45px 18px 20px !important;
        box-shadow: -8px 0 25px rgba(0, 0, 0, 0.12) !important;
        transition: right 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        display: flex !important;
    }

    .nav-menu.mobile-open {
        right: 0 !important;
    }

    .nav-menu > li {
        width: 100% !important;
        margin: 0 !important;
        padding: 5px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .nav-menu > li > a {
        color: #0f172a !important;
        font-size: 0.92rem !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 8px 0 !important;
        touch-action: manipulation !important;
    }

    .nav-menu li.menu-item-has-children > a::after {
        position: static !important;
        transform: none !important;
        margin-left: 8px !important;
        transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
        display: inline-block !important;
    }

    .nav-menu li.menu-item-has-children.mobile-submenu-open > a::after {
        transform: rotate(180deg) !important;
        border-top-color: var(--primary, #c8142d) !important;
    }

    /* Submenu Accordion Behavior (Hidden by default, Shows on .mobile-submenu-open) */
    .nav-menu ul.sub-menu,
    .nav-menu .sub-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        background: #f8fafc !important;
        border-left: 3px solid var(--primary, #c8142d) !important;
        border-radius: 8px !important;
        padding: 6px 10px !important;
        margin: 6px 0 8px 0 !important;
        box-shadow: none !important;
    }

    .nav-menu li.mobile-submenu-open > ul.sub-menu,
    .nav-menu li.mobile-submenu-open > .sub-menu {
        display: block !important;
        animation: mobileSubmenuSlide 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
    }

    @keyframes mobileSubmenuSlide {
        0% {
            opacity: 0;
            transform: translateY(-8px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu ul.sub-menu li {
        border-bottom: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .nav-menu ul.sub-menu li a {
        font-size: 0.85rem !important;
        padding: 8px 10px !important;
        color: #334155 !important;
        font-weight: 500 !important;
        display: block !important;
        border-radius: 6px !important;
        transition: background 0.2s ease, color 0.2s ease !important;
    }

    .nav-menu ul.sub-menu li a:active,
    .nav-menu ul.sub-menu li a:hover {
        background: rgba(200, 20, 45, 0.08) !important;
        color: var(--primary, #c8142d) !important;
    }

    /* 2. Touch-Optimized Native Scroll Snap Swipers for Products, Features & News */
    .products-mobile-swiper,
    .features-mobile-swiper,
    .news-mobile-swiper {
        display: flex !important;
        width: 100% !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        padding-bottom: 20px !important;
    }

    .products-grid,
    .features-grid,
    .news-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        width: max-content !important;
    }

    .products-grid .product-card-v2,
    .features-grid .feature-card,
    .news-grid .news-card {
        scroll-snap-align: center !important;
        flex-shrink: 0 !important;
        width: 82vw !important;
        max-width: 320px !important;
        margin-right: 14px !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* News Card Image Scale to Prevent White Edge Light Leak */
    .news-card {
        border-radius: 16px !important;
        overflow: hidden !important;
        border: 1px solid #e2e8f0 !important;
        background: #ffffff !important;
    }

    .news-card .news-img {
        height: 250px !important;
        overflow: hidden !important;
        position: relative !important;
        border-radius: 16px 16px 0 0 !important;
    }

    .news-card .news-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transform: scale(1.05) !important;
        display: block !important;
    }

    .products-mobile-swiper::-webkit-scrollbar,
    .features-mobile-swiper::-webkit-scrollbar,
    .news-mobile-swiper::-webkit-scrollbar {
        display: none !important;
    }

    /* 3. About Section Expansion */
    #about .about-grid {
        display: block !important;
        width: 100% !important;
    }

    #about .about-content {
        width: 100% !important;
        max-width: 100% !important;
    }

    .about-text-desktop { display: none !important; }
    .about-text-mobile { display: block !important; width: 100% !important; }
    .about-visual { display: none !important; }

    /* Redesigned Mobile Hero Section */
    .hero-section {
        min-height: 480px !important;
        height: 80vh !important;
        max-height: 600px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .hero-section::after {
        content: '' !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: -1px !important;
        height: 4px !important;
        background: #ffffff !important;
        z-index: 5 !important;
    }

    .hero-swiper {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
    }

    .hero-fade-overlay {
        position: absolute !important;
        inset: 0 !important;
        z-index: 2 !important;
        background: linear-gradient(180deg, 
            rgba(0, 0, 0, 0.15) 0%, 
            rgba(0, 0, 0, 0.05) 55%, 
            #ffffff 100%) !important;
    }

    .hero-slide-img {
        filter: brightness(1.1) contrast(1.02) !important;
    }

    .hero-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        z-index: 10 !important;
        width: 90% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        padding: 75px 12px 25px !important;
        text-align: center !important;
    }

    .hero-badge {
        margin-bottom: 10px !important;
        padding: 4px 14px !important;
        font-size: 0.76rem !important;
        background: rgba(0, 0, 0, 0.55) !important;
        border: 1px solid rgba(255, 255, 255, 0.35) !important;
        color: #ffffff !important;
    }

    .hero-title {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        color: #ffffff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
        margin-bottom: 8px !important;
    }

    .hero-desc {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6) !important;
        margin-bottom: 18px !important;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .hero-actions .btn {
        width: auto !important;
        min-width: 115px !important;
        padding: 8px 18px !important;
        font-size: 0.85rem !important;
        border-radius: 25px !important;
        box-shadow: 0 5px 15px rgba(200, 20, 45, 0.3) !important;
    }

    /* 4. Project Cases Section: Split Two Sub-Modules Layout for Mobile */
    .project-mobile-top-block {
        display: block !important;
        background: #ffffff !important;
        padding: 25px 16px 15px !important;
        text-align: center !important;
    }

    .project-hero-section {
        height: auto !important;
        min-height: auto !important;
        background: #ffffff !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .project-hero-header-overlay {
        display: none !important;
    }

    /* High Crispness Top Cover Card without Text Shadow & Blur Artifacts */
    .project-mobile-cover-card {
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 18px !important;
        padding: 22px 18px !important;
        width: 100% !important;
        max-width: 330px !important;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .project-mobile-cover-card .badge-sub {
        background: rgba(200, 20, 45, 0.08) !important;
        color: #c8142d !important;
        border: none !important;
        font-weight: 600 !important;
        text-shadow: none !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .project-mobile-cover-card .project-hero-main-title {
        font-size: 1.55rem !important;
        color: #0f172a !important;
        margin-bottom: 8px !important;
        font-weight: 700 !important;
        text-shadow: none !important;
        filter: none !important;
    }

    .project-mobile-cover-card .project-hero-main-subtitle {
        font-size: 0.85rem !important;
        color: #475569 !important;
        line-height: 1.5 !important;
        text-shadow: none !important;
        filter: none !important;
    }

    .project-mobile-cover-card .btn {
        text-shadow: none !important;
        box-shadow: 0 4px 12px rgba(200, 20, 45, 0.25) !important;
        filter: none !important;
    }

    /* 100% Immersive Full Image Display (Height 380px, No Heavy Cards) */
    .project-fullwidth-swiper {
        width: 100vw !important;
        height: 380px !important;
        min-height: 380px !important;
        margin-left: calc(50% - 50vw) !important;
        position: relative !important;
        background: #0f172a !important;
        display: block !important;
        overflow: hidden !important;
    }

    .project-fullwidth-swiper .swiper-wrapper {
        height: 100% !important;
        display: flex !important;
    }

    .project-fullwidth-slide {
        position: relative !important;
        width: 100vw !important;
        height: 380px !important;
        flex-shrink: 0 !important;
        display: block !important;
        overflow: hidden !important;
    }

    .project-fullwidth-slide img,
    .project-fullwidth-img {
        width: 100vw !important;
        height: 380px !important;
        object-fit: cover !important;
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1 !important;
    }

    /* Subtle linear gradient at bottom 35% only for crystal clear photo viewing */
    .project-fullwidth-overlay {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.85) 100%) !important;
        z-index: 2 !important;
    }

    /* Zero Glass Box: Clean, Transparent Floating Caption at bottom left */
    .project-slide-info-box-right {
        display: block !important;
        position: absolute !important;
        right: 16px !important;
        left: 16px !important;
        bottom: 28px !important;
        max-width: none !important;
        padding: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        z-index: 10 !important;
        color: #ffffff !important;
        text-align: left !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .project-slide-badge {
        font-size: 0.72rem !important;
        padding: 3px 10px !important;
        border-radius: 12px !important;
        background: var(--primary, #c8142d) !important;
        color: #fff !important;
        display: inline-block !important;
        margin-bottom: 4px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    }

    .project-slide-item-title {
        font-size: 1.25rem !important;
        color: #ffffff !important;
        margin-bottom: 4px !important;
        font-weight: 700 !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
    }

    .project-slide-item-meta {
        font-size: 0.82rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
        display: flex !important;
        gap: 12px !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
    }

    /* Strict Swiper Pagination Bullet Dimensions Lockdown */
    .project-swiper-pagination {
        position: absolute !important;
        bottom: 8px !important;
        left: 0 !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        z-index: 20 !important;
        pointer-events: none !important;
    }

    .project-swiper-pagination .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
        min-width: 8px !important;
        min-height: 8px !important;
        max-width: 8px !important;
        max-height: 8px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        opacity: 0.5 !important;
        margin: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        pointer-events: auto !important;
    }

    .project-swiper-pagination .swiper-pagination-bullet-active {
        width: 20px !important;
        height: 8px !important;
        max-width: 20px !important;
        max-height: 8px !important;
        border-radius: 4px !important;
        background: #c8142d !important;
        opacity: 1 !important;
    }

    /* Hide any external injected overlays or unexpected elements inside swiper container */
    .project-fullwidth-swiper > :not(.swiper-wrapper):not(.project-swiper-pagination) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }



    /* 5. Contact Us Section: Tight Padding & 100vw Full-Bleed Image Flush to Footer */
    #contact {
        padding-top: 25px !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        overflow: hidden !important;
    }

    .grid-3-contact {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .contact-title-oneline {
        white-space: normal !important;
        font-size: 1.45rem !important;
        line-height: 1.35 !important;
    }

    .contact-map-fullwidth {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-top: 20px !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        line-height: 0 !important;
        font-size: 0 !important;
    }

    .contact-map-fullwidth .contact-img-frame {
        border-radius: 0 !important;
        box-shadow: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
    }

    .contact-map-fullwidth img {
        width: 100vw !important;
        height: 260px !important;
        object-fit: cover !important;
        border-radius: 0 !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: bottom !important;
    }

    /* 6. Footer Navigation: Remove 3 Sub-menus, Left Align Brand Info & Description */
    .site-footer {
        margin-top: 0 !important;
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    .site-footer .footer-top {
        display: block !important;
        text-align: left !important;
    }

    .footer-col.link-col,
    .footer-col.contact-col {
        display: none !important;
    }

    .footer-col.brand-col {
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .footer-col.brand-col .footer-logo {
        display: inline-block !important;
        margin-bottom: 15px !important;
    }

    .footer-col.brand-col .footer-desc {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        color: #94a3b8 !important;
    }

    .footer-col.brand-col .social-links {
        justify-content: flex-start !important;
        margin-top: 20px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: left !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 10px !important;
    }

    /* Single Post Page Mobile Adaptive Buttons Engine */
    .single-post-page .page-banner {
        padding: 90px 20px 30px !important;
    }

    .single-post-page .single-post-container {
        padding: 24px 18px !important;
        border-radius: 18px !important;
        margin: 0 auto !important;
    }

    .single-post-page .entry-content {
        font-size: 0.98rem !important;
        line-height: 1.75 !important;
    }

    /* ACF Download Button Fluid Auto-Scaling */
    .single-post-page .post-action-btn-wrap {
        margin: 24px 0 20px !important;
        text-align: center !important;
    }

    .single-post-page .btn-red-action-banner {
        padding: clamp(9px, 2.6vw, 12px) clamp(22px, 5.5vw, 32px) !important;
        font-size: clamp(0.85rem, 3.8vw, 0.98rem) !important;
        border-radius: 25px !important;
        box-shadow: 0 4px 15px rgba(200, 20, 45, 0.25) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 100% !important;
    }

    /* Post Footer Navigation Buttons Fluid Auto-Scaling */
    .single-post-page .post-footer {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        padding-top: 20px !important;
        margin-top: 28px !important;
    }

    .single-post-page .post-footer .btn {
        flex: 1 1 0% !important;
        width: 50% !important;
        padding: clamp(8px, 2.4vw, 11px) clamp(10px, 3vw, 16px) !important;
        font-size: clamp(0.78rem, 3.4vw, 0.88rem) !important;
        border-radius: 12px !important;
        text-align: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
    }
}


/* ==========================================================================
   PC Desktop GTranslate Primary Menu Perfect Vertical Alignment Engine
   ========================================================================== */
@media (min-width: 992px) {
    .nav-menu li.menu-item-gtranslate,
    .nav-menu li[class*="gtranslate"],
    .nav-menu .menu-item-gtranslate {
        display: inline-flex !important;
        align-items: center !important;
        align-self: center !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        top: -1px !important;
    }

    .nav-menu li.menu-item-gtranslate > *,
    .nav-menu li.menu-item-gtranslate div,
    .nav-menu li.menu-item-gtranslate select,
    .nav-menu li.menu-item-gtranslate .gt_switcher_wrapper,
    .nav-menu li.menu-item-gtranslate .gt_option {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        vertical-align: middle !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .nav-menu li.menu-item-gtranslate .gt_switcher {
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
    }
}

/* ==========================================================================
   Global GTranslate 100% Crystal Pure Transparent Engine (Desktop & Mobile)
   ========================================================================== */
.menu-item-gtranslate,
.header-right-tools,
.gt_switcher_wrapper,
.gt_switcher,
.gt_switcher .gt_selected,
.gtranslate_wrapper,
div[id*="gt_widget"],
div[class*="gt_switcher"],
div[class*="gtranslate"] {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Eliminate Webkit Scrollbars completely on Trigger Components */
.menu-item-gtranslate::-webkit-scrollbar,
.header-right-tools::-webkit-scrollbar,
.gt_switcher_wrapper::-webkit-scrollbar,
.gt_switcher::-webkit-scrollbar,
.gt_switcher .gt_selected::-webkit-scrollbar,
div[class*="gt_switcher"]::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.gt_switcher,
.gt_switcher .gt_selected,
div[class*="gt_switcher"] a {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--text-main) !important;
    display: inline-flex !important;
    align-items: center !important;
    overflow: visible !important;
    line-height: 1 !important;
}

/* Arrow indicator inside GTranslate */
.gt_switcher .gt_selected a::after,
.gt_switcher a.gt_selected::after {
    border-top-color: var(--text-main) !important;
}

#headerRightTools img,
.menu-item-gtranslate img,
.gt_switcher_wrapper img,
div[id*="gt_widget"] img,
div[class*="gt_"] img,
.gt_option img {
    width: 24px !important;
    height: 18px !important;
    max-width: 24px !important;
    max-height: 18px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
    display: inline-block !important;
    transform: none !important;
    background: transparent !important;
}

#headerRightTools svg,
.menu-item-gtranslate svg,
.gt_switcher_wrapper svg,
div[id*="gt_widget"] svg,
div[class*="gt_"] svg {
    width: 24px !important;
    height: 18px !important;
    max-width: 24px !important;
    max-height: 18px !important;
}

.header-right-tools {
    position: relative !important;
    overflow: visible !important;
    max-width: none !important;
    max-height: none !important;
    display: flex !important;
    align-items: center !important;
    z-index: 10005 !important;
    background: transparent !important;
}

/* ==========================================================================
   Full-Device GTranslate Dropdown Layer Engine (Downward Opening & High Z-Index)
   ========================================================================== */
.site-header,
.site-header .container,
.nav-menu,
.nav-menu li.menu-item-gtranslate,
.nav-menu li[class*="gtranslate"],
.header-right-tools {
    overflow: visible !important;
}

/* Enable high z-index and overflow for GTranslate Containers */
.gt_switcher_wrapper,
.gt_option,
.gt_selector,
div[class*="gt_switcher"],
div[id*="gt_widget"],
div[class*="gt_wrapper"],
div[class*="gtranslate"] {
    overflow: visible !important;
    z-index: 999999 !important;
}

/* Default HIDE for GTranslate Dropdown Box (100% Eliminates White Box Flash-of-Unstyled-Content on Page Load) */
.gt_switcher_wrapper .gt_option,
div[class*="gt_option"],
.gt_option,
.gt_switcher .gt_option,
div[id*="gt_widget"] .gt_option {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    top: 100% !important;
    bottom: auto !important;
    position: absolute !important;
    z-index: 999999 !important;
    background: #ffffff !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.22) !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px 0 !important;
    max-height: 320px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin-top: 6px !important;
    min-width: 160px !important;
    max-width: 240px !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
}

/* Explicitly HIDE when GTranslate has display:none inline attribute */
.gt_option[style*="display: none"],
.gt_option[style*="display:none"],
div[class*="gt_option"][style*="display: none"],
div[class*="gt_option"][style*="display:none"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Mobile Positioning and Touch Layer Fix */
@media (max-width: 991px) {
    .gt_option,
    div[class*="gt_option"] {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: auto !important;
        margin-top: 6px !important;
        z-index: 9999999 !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    }
}

/* Show ONLY when active, open, hovered, or dynamically toggled via JS */
@media (min-width: 992px) {
    .gt_switcher_wrapper:hover .gt_option,
    .gt_switcher:hover .gt_option,
    .menu-item-gtranslate:hover .gt_option,
    .header-right-tools:hover .gt_option,
    div[class*="gt_switcher"]:hover div[class*="gt_option"],
    div[id*="gt_widget"]:hover .gt_option {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

.gt_switcher_wrapper.gt-open .gt_option,
.gt_switcher.gt-open .gt_option,
div[class*="gt_option"].gt-open,
.gt_option.gt-open,
div[class*="gt_option"][style*="display: block"],
div[class*="gt_option"][style*="display:block"],
.gt_option[style*="display: block"],
.gt_option[style*="display:block"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Explicit High-Contrast Dark Text & 100% Block Width for Vertical Language Items */
.gt_option a,
div[class*="gt_option"] a,
div[id*="gt_widget"] .gt_option a {
    color: #1e293b !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 9px 16px !important;
    box-sizing: border-box !important;
    text-align: left !important;
    clear: both !important;
    float: none !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

/* Flag Icon Fix inside Dropdown Option Item */
.gt_option a img,
div[class*="gt_option"] a img {
    width: 22px !important;
    height: 15px !important;
    max-width: 22px !important;
    max-height: 15px !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    border-radius: 2px !important;
}

.gt_option a:hover,
div[class*="gt_option"] a:hover {
    background-color: rgba(200, 20, 45, 0.08) !important;
    color: var(--primary, #c8142d) !important;
}

/* Align Right for Mobile Top Header Right Tools */
@media (max-width: 991px) {
    .header-right-tools .gt_option,
    .header-right-tools div[class*="gt_option"] {
        right: 0 !important;
        left: auto !important;
    }
}

/* ==========================================================================
   5. Modern Archive & Category System (Responsive Grid & Staggered Animations)
   ========================================================================== */
.archive-banner {
    position: relative;
    padding: 130px 0 50px;
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
}

.archive-breadcrumb {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 14px;
}
.archive-breadcrumb a {
    color: #475569;
}
.archive-breadcrumb a:hover {
    color: var(--primary, #c8142d);
}

.archive-badge {
    background: rgba(200, 20, 45, 0.08) !important;
    color: var(--primary, #c8142d) !important;
    border: 1px solid rgba(200, 20, 45, 0.2) !important;
    padding: 4px 16px !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
}

.archive-title {
    font-size: clamp(2.0rem, 5vw, 3.0rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.archive-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid System for Archive Cards */
.archive-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Individual Archive Card Structure */
.archive-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: archiveCardFadeUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes archiveCardFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.archive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.archive-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.archive-card-img-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0f172a;
}

.archive-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.archive-card:hover .archive-card-img {
    transform: scale(1.06);
}

.archive-card-category-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.archive-card-body {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.archive-card-date {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 10px;
    font-weight: 500;
}

.archive-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.archive-card:hover .archive-card-title {
    color: var(--primary, #c8142d);
}

.archive-card-excerpt {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #f1f5f9;
}

.archive-read-more {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary, #c8142d);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.archive-card:hover .archive-read-more {
    gap: 10px;
}

/* Archive Pagination */
.archive-pagination-wrap {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.archive-pagination-wrap .page-numbers {
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.archive-pagination-wrap .page-numbers.current,
.archive-pagination-wrap .page-numbers:hover {
    background: var(--primary, #c8142d);
    color: #ffffff;
    border-color: var(--primary, #c8142d);
}

/* Mobile Responsiveness for Archive Category Page (< 991px) */
@media (max-width: 991px) {
    .archive-banner {
        padding: 95px 24px 35px !important;
    }

    .archive-main-content {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .archive-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .archive-card {
        border-radius: 18px !important;
    }

    .archive-card:active {
        transform: scale(0.985) !important;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
    }

    .archive-card-img-wrap {
        height: clamp(180px, 48vw, 230px) !important;
    }

    .archive-card-body {
        padding: 20px !important;
    }

    .archive-card-title {
        font-size: 1.15rem !important;
    }
}

/* ==========================================================================
   Page Templates Mobile Fluid Responsive Engine (Zero Overflow & Auto Scaled)
   ========================================================================== */
@media (max-width: 768px) {
    .page-template .archive-banner {
        padding: 105px 16px 36px !important;
    }
    .about-main-card,
    .page-content,
    .page-join-us .bg-white,
    .page-contact-us .bg-white {
        border-radius: 16px !important;
        padding: 20px 16px !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
    }
    .about-grid-box {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 20px 16px !important;
    }
    .about-secondary-grid,
    .page-contact-us .grid-3 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .page-template img,
    .page-template video {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
    }
    .entry-content table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
    }

    /* Mobile Text Overflow Prevention */
    .page-join-us,
    .page-join-us .container,
    .page-join-us .bg-white,
    .page-join-us .entry-content,
    .page-join-us .entry-content p,
    .page-join-us .entry-content div,
    .page-join-us .entry-content span,
    .page-join-us h1,
    .page-join-us h2,
    .page-join-us h3,
    .page-join-us h4,
    .page-join-us a {
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        max-width: 100% !important;
        white-space: normal !important;
        box-sizing: border-box !important;
    }

    .archive-card-excerpt {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
    }
}

/* ==========================================================================
   List Item Number Alignment Engine (Inside Text Box Alignment)
   ========================================================================== */
.entry-content ol,
.entry-content ul,
.join-jobs-list ol,
.join-jobs-list ul,
.page-template ol,
.page-template ul {
    list-style-position: inside !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.entry-content ol li,
.entry-content ul li,
.join-jobs-list ol li,
.join-jobs-list ul li,
.page-template ol li,
.page-template ul li {
    padding-left: 0 !important;
    margin-bottom: 10px !important;
    line-height: 1.85 !important;
    color: #334155 !important;
}

/* ==========================================================================
   Mobile Drawer iOS Backdrop Blur & Project Card Title Truncation Engine
   ========================================================================== */
.mobile-menu-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    z-index: 9998 !important;
}

.mobile-menu-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Project / Article Card Multi-line Title Truncation & Alignment */
.archive-card-title,
.project-slide-item-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.35 !important;
}

/* Breadcrumb Navigation Refinement */
.breadcrumb-nav {
    font-size: 0.88rem !important;
    color: #64748b !important;
    margin-bottom: 16px !important;
}

.breadcrumb-nav a {
    color: #475569 !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.breadcrumb-nav a:hover {
    color: var(--primary, #c8142d) !important;
}

.breadcrumb-nav .separator {
    margin: 0 8px !important;
    color: #94a3b8 !important;
}

/* ==========================================================================
   TranslatePress Floating Widget Overrides (Blend into White Header)
   ========================================================================== */
#trp-floater-ls.trp-top-right {
    top: 20px !important;
    right: 40px !important;
    transition: all 0.4s ease !important;
}

/* Perfect alignment when header shrinks on scroll */
body:has(.site-header.scrolled) #trp-floater-ls.trp-top-right {
    top: 15px !important;
}

@media (min-width: 1440px) {
    #trp-floater-ls.trp-top-right {
        right: calc(50% - 700px + 40px) !important;
    }
}

@media (max-width: 991px) {
    #trp-floater-ls.trp-top-right {
        top: 19px !important;
        right: 96px !important;
        width: 90px !important;
        min-width: 90px !important;
        height: 44px !important;
        overflow: hidden !important;
    }

    #trp-floater-ls-current-language {
        height: 44px !important;
    }

    #trp-floater-ls-current-language .trp-floater-ls-disabled-language.trp-ls-disabled-language {
        height: 44px !important;
        min-height: 44px !important;
        margin-top: 0 !important;
        padding: 0 10px !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    #trp-floater-ls:hover,
    #trp-floater-ls:focus-within {
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .site-header .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #trp-floater-ls.trp-top-right {
        right: 76px !important;
    }
}

#trp-floater-ls.trp-color-light, 
#trp-floater-ls.trp-color-dark,
#trp-floater-ls {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--text-main) !important;
}
#trp-floater-ls-current-language {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
#trp-floater-ls a, 
#trp-floater-ls a:hover, 
#trp-floater-ls span {
    color: var(--text-main) !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}
#trp-floater-ls img {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    vertical-align: middle !important;
}
#trp-floater-ls-language-list {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    border-radius: 8px !important;
}
#trp-floater-ls-language-list a:hover {
    background: rgba(0,0,0,0.03) !important;
}

/* ==========================================================================
   About page: editorial image-first company introduction
   ========================================================================== */
.page-about-us .about-main-card {
    border: 1px solid #e2e8f0;
    margin-bottom: 32px;
    overflow: hidden;
}

.page-about-us .about-grid-box {
    display: block;
    padding: 0 0 clamp(36px, 5vw, 64px);
}

.page-about-us .about-img-box {
    width: 100%;
    height: clamp(380px, 43vw, 560px);
    overflow: hidden;
    border-radius: 0;
    background: #e2e8f0;
}

.page-about-us .about-intro-image {
    width: 100%;
    height: 100%;
    max-height: none;
    display: block;
    object-fit: cover;
    object-position: center 52%;
}

.page-about-us .about-info-text {
    width: calc(100% - clamp(48px, 14vw, 176px));
    max-width: 720px;
    min-width: 0;
    margin: 0 auto;
    padding: clamp(32px, 4.5vw, 52px) 0 0;
}

.page-about-us .about-intro-title {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(1.45rem, 2.1vw, 1.9rem);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.page-about-us .about-intro-content {
    color: #475569;
    font-size: clamp(0.94rem, 1.2vw, 1rem);
    line-height: 1.75;
    overflow-wrap: break-word;
    word-break: break-word;
    text-wrap: pretty;
}

.page-about-us .about-intro-content .section-title {
    margin: 0 0 0.7em !important;
    color: #1e293b;
    font-family: var(--font-main);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0;
    text-wrap: balance;
}

.page-about-us .about-intro-content .about-text,
.page-about-us .about-intro-content p {
    margin: 0 0 0.8em !important;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.page-about-us .about-intro-content p:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 991px) {
    .page-about-us .about-grid-box {
        padding-bottom: 48px;
    }

    .page-about-us .about-img-box {
        height: clamp(360px, 48vw, 460px);
    }

    .page-about-us .about-info-text {
        width: calc(100% - 64px);
        max-width: 680px;
        padding-top: 36px;
    }
}

@media (max-width: 768px) {
    .page-about-us .about-main-card {
        padding: 0 !important;
    }

    .page-about-us .about-grid-box {
        display: block;
        padding: 0 0 32px !important;
    }

    .page-about-us .about-img-box {
        height: clamp(260px, 70vw, 400px);
        min-height: 0;
        aspect-ratio: auto;
    }

    .page-about-us .about-img-box .about-intro-image {
        height: 100% !important;
        max-height: none !important;
        border-radius: 0 !important;
    }

    .page-about-us .about-info-text {
        width: calc(100% - 40px);
        padding-top: 28px;
    }
}
