﻿/* Synix Semiconductor - Modern Unified Design System */

/* Color Variables */
:root {
    --primary-color: #065f46;
    --primary-dark: #064e3b;
    --secondary-color: #047857;
    --accent-color: #059669;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    

    

    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #000000;
    --gray-700: #000000;
    --gray-800: #000000;
    --gray-900: #111827;
    
    --white: #ffffff;
    --black: #000000;
    
    /* Typography */
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Container max widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1400px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: 3rem; margin-bottom: var(--space-6); }
h2 { font-size: 2.25rem; margin-bottom: var(--space-5); }
h3 { font-size: 1.875rem; margin-bottom: var(--space-4); }
h4 { font-size: 1.5rem; margin-bottom: var(--space-4); }
h5 { font-size: 1.25rem; margin-bottom: var(--space-3); }
h6 { font-size: 1.125rem; margin-bottom: var(--space-3); }

p {
    margin-bottom: var(--space-4);
    color: var(--gray-700);
}

/* Container */
.container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 640px) {
    .container { padding: 0 var(--space-6); }
}

@media (min-width: 1024px) {
    .container { padding: 0 var(--space-8); }
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1200px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Spacing */
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.py-20 { padding-top: var(--space-20); padding-bottom: var(--space-20); }
.py-24 { padding-top: var(--space-24); padding-bottom: var(--space-24); }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding-left: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--gray-900);
}

.logo-img {
    height: 75px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: black;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin-right: 2rem;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: var(--gray-50);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--gray-700);
    transition: all 0.3s ease;
}

/* ˵Ч */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 1200px) {
    .header-content {
        height: 80px;
        padding-left: 0.5rem;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .main {
        margin-top: 80px;
        padding-top: 0 !important;
        position: relative;
        top: 0;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        flex-direction: column;
        padding: var(--space-4);
        gap: var(--space-2);
        margin-right: 0;
        z-index: 1001;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        min-height: 200px;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .nav.active {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}



/* ڸСʱlogo */
@media (max-width: 650px) {
    .logo-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 550px) {
    .logo-text {
        font-size: 1rem;
    }
}

@media (max-width: 500px) {
    .logo-text {
        display: none;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .logo {
        gap: 0;
    }
}

@media (max-width: 480px) {
    .header-content {
        height: 70px;
        padding-left: 0.25rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .logo-text {
        display: none;
    }
    
    .main {
        margin-top: 70px;
        padding-top: 0 !important;
        position: relative;
        top: 0;
    }
}

/* Main Content */
.main {
    margin-top: 100px; /* 匹配默认header-content高度 */
    padding-top: 0 !important;
    position: relative;
    top: 0;
}

/* 确保header和hero之间无间隙 */
.header + .main,
.header + main {
    margin-top: 100px !important; /* 为fixed header留出空间 */
    padding-top: 0 !important;
}

.header + .main .hero-carousel,
.header + main .hero-carousel {
    margin-top: 0 !important;
    padding-top: 0 !important;
    top: 0 !important;
    transform: translateY(0) !important;
}

/* Hero Carousel Section */
.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
    top: 0 !important;
    transform: translateY(0) !important;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    position: relative;
    width: 100%;
    height: auto;
    flex: 0 0 100%;
}

.carousel-slide.active {
    /* No need for display changes in sliding carousel */
}

.carousel-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}



/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 2rem;
}

.carousel-next {
    right: 2rem;
}

/* Dots Indicator */
.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive for Carousel */
@media (max-width: 1200px) {
    .header + .main,
    .header + main {
        margin-top: 80px !important; /* 为1200px以下的header留出空间 */
    }
    
    .hero-carousel {
        margin-top: 0 !important;
        padding-top: 0 !important;
        top: 0 !important;
        transform: translateY(0) !important;
    }
    
    .carousel-nav {
        font-size: 1.2rem;
        padding: 0.8rem;
    }
    
    .carousel-prev {
        left: 1rem;
    }
    
    .carousel-next {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .header + .main,
    .header + main {
        margin-top: 70px !important; /* 为480px以下的header留出空间 */
    }
    
    .hero-carousel {
        margin-top: 0 !important;
        padding-top: 0 !important;
        top: 0 !important;
        transform: translateY(0) !important;
    }
    
    .carousel-nav {
        display: none;
    }
    /* restore original hero behavior on phones */
}



/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-group {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 640px) {
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-6);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.card-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--gray-900);
}

.card-text {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Sections */
.section {
    padding: var(--space-20) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-subtitle {
    text-align: left;
    color: var(--gray-600);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto var(--space-8) auto;
}

/* Background Variants */
.bg-gray-50 { background-color: var(--gray-50); }
.bg-primary { background-color: var(--primary-color); }
.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Text Colors */
.text-primary { color: var(--primary-color); }
.text-white { color: var(--white); }
.text-gray-600 { color: var(--gray-600); }
.text-center { text-align: center; }

/* Images */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-12);
}

/* һfooterӶұ߾࣬ʹƽ??*/
/* .footer-section:first-child {
    margin-right: var(--space-4);
} */

.footer-section h3 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    text-align: center;
    color: var(--gray-400);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-2xl);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 640px) {
    .section { padding: var(--space-12) 0; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .card { padding: var(--space-4); }
    

}



/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Print Styles */
@media print {
    .header,
    .whatsapp-float,
    .btn {
        display: none !important;
    }
    
    .main {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* ========== 򱳾Ƭ ========== */

/* Why Choose Us - оƬ·⿨Ƭ */
.why-choose-us-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin-bottom: var(--space-12);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(6, 95, 70, 0.1);
    box-shadow: 0 8px 32px rgba(6, 95, 70, 0.08);
}

.why-choose-us-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* оƬ·ͼ */
        linear-gradient(90deg, transparent 48%, rgba(6, 95, 70, 0.1) 49%, rgba(6, 95, 70, 0.1) 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(6, 95, 70, 0.1) 49%, rgba(6, 95, 70, 0.1) 51%, transparent 52%),
        /* ·??*/
        radial-gradient(circle at 2px 2px, rgba(6, 95, 70, 0.15) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px;
    background-position: 0 0, 0 0, 0 0;
    opacity: 0.3;
    z-index: 0;
}

.why-choose-us-header::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    opacity: 0.2;
    animation: chipPulse 3s ease-in-out infinite;
    z-index: 0;
}

.why-choose-us-header .section-title {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.why-choose-us-header .section-title h2 {
    margin-bottom: 0;
    text-align: center;
}

/* оƬͼװ */
.circuit-icon {
    position: absolute;
    color: var(--primary-color);
    opacity: 0.15;
    font-size: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.circuit-icon:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.circuit-icon:nth-child(2) {
    top: 70%;
    left: 15%;
    animation-delay: 1s;
}

.circuit-icon:nth-child(3) {
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.circuit-icon:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.circuit-icon:nth-child(5) {
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.5s;
    opacity: 0.1;
    font-size: 1.2rem;
}

@keyframes chipPulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.2; }
    50% { transform: scale(1.1) rotate(5deg); opacity: 0.4; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

/* Our Solutions - ⿨Ƭ */
.our-solutions-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin-bottom: var(--space-12);
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(6, 95, 70, 0.2);
}

.our-solutions-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /*  */
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 31%, rgba(255, 255, 255, 0.1) 33%, transparent 34%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.1) 31%, rgba(255, 255, 255, 0.1) 33%, transparent 34%),
        /*  */
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 2px, transparent 3px),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.1) 2px, transparent 3px);
    background-size: 80px 80px, 80px 80px, 50px 50px, 50px 50px;
    opacity: 0.6;
    z-index: 0;
    animation: energyFlow 8s linear infinite;
}

.our-solutions-header::after {
    content: '⚡';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
    animation: lightningStrike 2s ease-in-out infinite;
    z-index: 0;
}

.our-solutions-header .section-title {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.our-solutions-header .section-title h2 {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.our-solutions-header .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* ͼװ */
.power-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    animation: electricPulse 3s ease-in-out infinite;
}

.power-icon:nth-child(1) {
    top: 20%;
    left: 12%;
    animation-delay: 0s;
}

.power-icon:nth-child(2) {
    top: 60%;
    left: 8%;
    animation-delay: 0.5s;
}

.power-icon:nth-child(3) {
    top: 30%;
    right: 12%;
    animation-delay: 1s;
}

.power-icon:nth-child(4) {
    bottom: 25%;
    right: 8%;
    animation-delay: 1.5s;
}

@keyframes energyFlow {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 80px 80px, -80px -80px, 50px 50px, -50px -50px; }
}

@keyframes lightningStrike {
    0%, 90%, 100% { 
        opacity: 0.3; 
        transform: scale(1); 
        filter: brightness(1);
    }
    5%, 10% { 
        opacity: 1; 
        transform: scale(1.2); 
        filter: brightness(1.5) drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    }
}

@keyframes electricPulse {
    0%, 100% { 
        opacity: 0.2; 
        transform: scale(1) rotate(0deg); 
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1.1) rotate(10deg); 
    }
}

/* Who We Are - ҵŶ⿨Ƭ */
.who-we-are-header {
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin-bottom: var(--space-12);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(6, 95, 70, 0.3);
    box-shadow: 0 10px 40px rgba(6, 95, 70, 0.2);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
}

.who-we-are-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* ͼ */
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 2px, transparent 3px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 2px, transparent 3px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 3px),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 3px),
        /* ??*/
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.08) 49%, rgba(255, 255, 255, 0.08) 51%, transparent 52%);
    background-size: 80px 80px, 120px 120px, 100px 100px, 90px 90px, 60px 60px;
    opacity: 0.4;
    z-index: 0;
    animation: networkPulse 6s ease-in-out infinite;
}

.who-we-are-header::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.2rem;
    opacity: 0.3;
    animation: buildingGlow 4s ease-in-out infinite;
    z-index: 0;
}

.who-we-are-header .section-title {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

/* ҵͼװ */
.company-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.25);
    font-size: 1.3rem;
    animation: teamFloat 5s ease-in-out infinite;
}

.company-icon:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.company-icon:nth-child(2) {
    top: 60%;
    left: 8%;
    animation-delay: 1.2s;
}

.company-icon:nth-child(3) {
    top: 25%;
    right: 12%;
    animation-delay: 2.4s;
}

.company-icon:nth-child(4) {
    bottom: 20%;
    right: 5%;
    animation-delay: 3.6s;
}

.company-icon:nth-child(5) {
    top: 45%;
    left: 45%;
    animation-delay: 1.8s;
    opacity: 0.12;
    font-size: 1.1rem;
}

@keyframes networkPulse {
    0%, 100% { 
        background-size: 80px 80px, 120px 120px, 100px 100px, 90px 90px, 60px 60px;
        opacity: 0.4;
    }
    50% { 
        background-size: 85px 85px, 125px 125px, 105px 105px, 95px 95px, 65px 65px;
        opacity: 0.6;
    }
}

@keyframes buildingGlow {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1) rotate(-2deg);
    }
    50% { 
        opacity: 0.5; 
        transform: scale(1.05) rotate(2deg);
    }
}

@keyframes teamFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.25;
    }
    50% { 
        transform: translateY(-8px) rotate(5deg); 
        opacity: 0.35;
    }
}

/* Company Tour - óҵ⿨Ƭ */
.company-tour-header {
    background: linear-gradient(145deg, #1e3a8a 0%, #1e40af 50%, #002fa7 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin-bottom: var(--space-12);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 47, 167, 0.4);
    box-shadow: 0 15px 50px rgba(0, 47, 167, 0.25);
}

.company-tour-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* ҵ */
        linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.12) 49%, rgba(255, 255, 255, 0.12) 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, 0.12) 49%, rgba(255, 255, 255, 0.12) 51%, transparent 52%),
        /* ó׽ڵ */
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15) 2px, transparent 3px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.15) 2px, transparent 3px),
        /* ȫ */
        linear-gradient(45deg, transparent 70%, rgba(255, 255, 255, 0.08) 71%, rgba(255, 255, 255, 0.08) 73%, transparent 74%);
    background-size: 60px 60px, 60px 60px, 100px 100px, 120px 120px, 80px 80px;
    opacity: 0.7;
    z-index: 0;
    animation: businessFlow 6s linear infinite;
}

.company-tour-header::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.3rem;
    opacity: 0.4;
    animation: businessGlow 4s ease-in-out infinite;
    z-index: 0;
}

.company-tour-header .section-title {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.company-tour-header .section-title h2 {
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.company-tour-header .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* ҵͼװ */
.business-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.4rem;
    animation: businessFloat 4s ease-in-out infinite;
}

.business-icon:nth-child(1) {
    top: 22%;
    left: 10%;
    animation-delay: 0s;
}

.business-icon:nth-child(2) {
    top: 68%;
    left: 14%;
    animation-delay: 1s;
}

.business-icon:nth-child(3) {
    top: 35%;
    right: 16%;
    animation-delay: 2s;
}

.business-icon:nth-child(4) {
    bottom: 28%;
    right: 10%;
    animation-delay: 3s;
}

.business-icon:nth-child(5) {
    top: 50%;
    left: 40%;
    animation-delay: 1.5s;
    opacity: 0.15;
    font-size: 1.1rem;
}

@keyframes businessFlow {
    0% { 
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    }
    100% { 
        background-position: 60px 60px, 0 60px, 100px 100px, 120px 120px, 80px 80px;
    }
}

@keyframes businessGlow {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(1) rotate(-1deg);
        filter: brightness(1);
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1.05) rotate(1deg);
        filter: brightness(1.2);
    }
}

@keyframes businessFloat {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1) rotate(0deg);
    }
    50% { 
        opacity: 0.5; 
        transform: scale(1.06) rotate(6deg);
    }
}

/* ʽWho We Are 븱 */
.who-we-are-combined-title {
    text-align: center;
    margin-bottom: var(--space-6);
}

.who-we-are-combined-title h2 {
    margin-bottom: var(--space-3);
    color: var(--white);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.who-we-are-combined-title .subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    max-width: none;
    margin: 0;
}

/* Ӧʽ??*/
@media (max-width: 1200px) {
    .why-choose-us-header,
    .our-solutions-header,
    .who-we-are-header,
    .company-tour-header {
        padding: var(--space-6);
        margin-bottom: var(--space-8);
    }
    
    .why-choose-us-header::after,
    .our-solutions-header::after,
    .who-we-are-header::after,
    .company-tour-header::after {
        font-size: 1.8rem;
        top: 15px;
        right: 20px;
    }
    
    .circuit-icon,
    .power-icon,
    .company-icon,
    .business-icon {
        font-size: 1.1rem;
    }
    
    /* Who We Are еĻӦʽ??*/
    .who-we-are-combined-title h2 {
        font-size: 1.8rem;
    }
    
    .who-we-are-combined-title .subtitle {
        font-size: 1rem;
    }
    

    

}

@media (max-width: 480px) {
    .why-choose-us-header,
    .our-solutions-header,
    .who-we-are-header,
    .company-tour-header {
        padding: var(--space-4);
        margin-bottom: var(--space-6);
    }
    
    .circuit-icon,
    .power-icon,
    .business-icon {
        display: none;
    }
    
    /* ����Who We Areװͼ꣬λ??*/
    .company-icon {
        display: block;
    }
    

}

/* ȱŷ??- ʹJavaScriptCSS??*/

/* Why Choose Us Ƭʽ */
.why-choose-us-cards {
    align-items: stretch;
}

.why-choose-us-cards .card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 280px;
}

.why-choose-us-cards .card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.why-choose-us-cards .card-text {
    font-size: 1.1rem;
    line-height: 1.6;
    flex: 1;
}

@media (max-width: 1200px) {
    .why-choose-us-cards .card {
        min-height: 240px !important;
    }
    .why-choose-us-cards .card-title {
        font-size: 1.3rem !important;
    }
    .why-choose-us-cards .card-text {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .why-choose-us-cards .card {
        min-height: 220px !important;
    }
    .why-choose-us-cards .card-title {
        font-size: 1.2rem !important;
    }
    .why-choose-us-cards .card-text {
        font-size: 0.95rem !important;
    }
}

/* Our Solutions ͼƬʽ */
.our-solutions-header ~ .grid .card.text-center img {
    margin-bottom: 1rem;
}

.solutions-cta {
    margin-top: 3rem;
}

.cta-description {
    opacity: 0.9;
}

.cta-btn-group {
    justify-content: center;
}

/* Ƶʽ */
.video-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Who We Are Ƭʽ */
.who-we-are-card {
    padding: 1.5rem;
    border: none;
    color: white;
}

.experience-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.partners-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Factory PartnersƬλõ */
.partners-card .card-title {
    transform: translateY(2px); /* ƶ10pxԵ??*/
    margin-bottom: 0.5rem; /* Ե֮ļ */
}

.partners-card .card-text {
    transform: translateY(2px); /* ƶ5pxԵ??*/
    margin-top: 0; /* ö߾ */
}

.who-we-are-card .experience-number,
.who-we-are-card .partners-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: white;
    margin: 0.75rem 0;
    position: relative;
}

.who-we-are-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.who-we-are-card .card-title i {
    margin-right: 0.5rem;
    color: white;
}

.who-we-are-card .card-text {
    font-size: 0.875rem;
    color: white;
} 

/* Ƶʽ - 뿨Ƭȱһ??*/
.video-container {
    width: 100%;
    margin: 0;
    padding: 0;
} 

/* Our SolutionsƷƬӦʽ */
.our-solutions-header ~ .grid .card.text-center {
    padding: var(--space-4) var(--space-3);
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.our-solutions-header ~ .grid .card.text-center img {
    margin-bottom: 0.75rem !important;
    max-height: 150px;
    object-fit: contain;
}

.our-solutions-header ~ .grid .card.text-center .card-title {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Ӧʽ??*/
@media (max-width: 1200px) {
    .our-solutions-header ~ .grid .card.text-center {
        padding: var(--space-3);
    }
    
    .our-solutions-header ~ .grid .card.text-center img {
        max-height: 120px;
    }
}

@media (max-width: 480px) {
    .our-solutions-header ~ .grid .card.text-center {
        padding: var(--space-2);
    }
    
    .our-solutions-header ~ .grid .card.text-center img {
        max-height: 100px;
        margin-bottom: 0.5rem !important;
    }
    
    .our-solutions-header ~ .grid .card.text-center .card-title {
        font-size: 1rem;
    }
} 

/* Call to Actionרʽ */
.cta-description {
    margin-top: 1.5rem !important;
    margin-bottom: 2.5rem !important;
    transform: translateY(0px) translateX(20px);  /* ƶ10px0px */
} 

/* AboutҳHero -  */
.about-hero-simple {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: var(--space-16) 0;
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-content {
    text-align: center;
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Ӧʽ??*/
@media (max-width: 1200px) {
    .about-hero-simple {
        padding: var(--space-12) 0;
        margin-top: 80px;
    }
    
    .about-hero-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .about-hero-simple {
        padding: var(--space-10) 0;
        margin-top: 70px;
    }
    
    .about-hero-title {
        font-size: 1.75rem;
    }
} 

/* Engineering GalleryƬ޸ */
.section .grid .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section .grid .card img {
    flex-shrink: 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ָPCB Layout DesignͼƬĳߴ??*/
.section .grid .card img[src="images/gallery9.jpg"] {
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.section .grid .card .card-title {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
} 

/* Mission & VisionŻ */
.mission-vision-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    padding: var(--space-20) 0;
    position: relative;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
    position: relative;
    z-index: 1;
}

.animated-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.animated-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.card-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.mission-card .card-background-effect {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.1) 0%, 
        rgba(5, 150, 105, 0.05) 100%);
}

.vision-card .card-background-effect {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(37, 99, 235, 0.05) 100%);
}

.animated-card:hover .card-background-effect {
    opacity: 1;
}

.card-content-wrapper {
    text-align: center;
    position: relative;
    z-index: 2;
}

.animated-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    transition: transform 0.3s ease;
}

.mission-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.vision-icon {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.animated-card:hover .animated-icon {
    transform: scale(1.1);
}

.animated-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--gray-800);
    transition: color 0.3s ease;
}

.animated-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-600);
    transition: color 0.3s ease;
}

.animated-card:hover .animated-title {
    color: var(--gray-900);
}

.animated-card:hover .animated-text {
    color: var(--gray-700);
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.animated-card:hover .floating-particles {
    opacity: 1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0.4;
}

.mission-card .particle {
    background: var(--primary-color);
}

.vision-card .particle {
    background: #3b82f6;
}

.particle:nth-child(1) {
    top: 20%;
    left: 15%;
}

.particle:nth-child(2) {
    top: 60%;
    right: 20%;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 25%;
}

.particle:nth-child(4) {
    top: 40%;
    right: 30%;
}

/*  ŻƳӶؼ֡ */

/* Ӧʽ??*/
@media (max-width: 1200px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .animated-card {
        padding: var(--space-6);
    }
    
    .animated-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .animated-title {
        font-size: 1.5rem;
    }
    
    .animated-text {
        font-size: 1rem;
    }
} 

/* Our Storyָ߶Ż */
.section .grid.grid-cols-2.items-center {
    min-height: auto;
    padding: var(--space-6) 0;
    gap: var(--space-16);
}

/* Our StoryͼƬߴ */
.section .grid.grid-cols-2 img[alt="Our Story"] {
    max-height: 450px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-2xl);
}

/* Our Story߶ȿ */
.section:has(.grid.grid-cols-2 img[alt="Our Story"]) {
    padding: var(--space-16) 0;
}

/* Our StoryּŻ */
.our-story-section .grid.grid-cols-2 {
    gap: var(--space-20);
}

.our-story-content {
    padding-right: var(--space-4);
}

.our-story-image-wrapper {
    padding-left: var(--space-4);
}

@media (max-width: 1200px) {
    .section .grid.grid-cols-2 img[alt="Our Story"] {
        max-height: 320px;
        margin-top: var(--space-4);
    }
    
    .section:has(.grid.grid-cols-2 img[alt="Our Story"]) {
        padding: var(--space-10) 0;
    }
    
    .our-story-section .grid.grid-cols-2 {
        gap: var(--space-8);
    }
    
    .our-story-content {
        padding-right: 0;
    }
    
    .our-story-image-wrapper {
        padding-left: 0;
    }
} 

/* Contactҳ濨Ƭ - ࿨Ƭ */
.section .grid.grid-cols-2 > div:last-child {
    display: flex;
    align-items: stretch;
}

.section .grid.grid-cols-2 > div:last-child .card.text-center {
    margin-top: 4.5rem;
    height: calc(100% - 4.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 3rem;
    gap: 1.5rem;
} 

/* Our Storyִ */
.our-story-section {
    background: linear-gradient(135deg, #fefefe 0%, #f8fbff 50%, #f0f8ff 100%);
    position: relative;
}

.our-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(96, 165, 250, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
    z-index: 0;
}

.our-story-content {
    position: relative;
    z-index: 1;
}

/*  */
.our-story-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-8);
    position: relative;
}

.story-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-4);
    position: relative;
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.2);
}

.story-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(96, 165, 250, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: storyIconRipple 3s ease-in-out infinite;
}

.story-icon {
    color: white;
    font-size: 1.5rem;
}

.our-story-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gray-800), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    position: relative;
}

.story-underline {
    position: absolute;
    bottom: -8px;
    left: 64px;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    border-radius: 2px;
    animation: underlineGrow 1s ease-out 0.5s both;
}

/*  */
.story-paragraphs {
    margin-top: var(--space-6);
}

.story-paragraph {
    position: relative;
    padding-left: var(--space-8);
    margin-bottom: var(--space-6);
    line-height: 1.7;
    font-size: 1.1rem;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.paragraph-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

.highlight-paragraph {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.05), rgba(59, 130, 246, 0.02));
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border-left: 4px solid #60a5fa;
    margin-left: -16px;
    padding-left: calc(var(--space-8) + 16px);
}

.story-paragraph:hover {
    transform: translateX(8px);
    color: var(--gray-800);
}

/* ͼ */
.our-story-image-wrapper {
    position: relative;
    z-index: 1;
}

.image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: var(--radius-2xl);
    opacity: 0.1;
    z-index: -1;
    transform: rotate(2deg);
    transition: all 0.3s ease;
}

.our-story-image-wrapper:hover .image-decoration {
    transform: rotate(0deg);
    opacity: 0.15;
}

.our-story-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.our-story-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/*  Ż??*/
@keyframes storyIconRipple {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }
}

@keyframes underlineGrow {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 120px;
        opacity: 1;
    }
}

/* Ӧʽ??*/
@media (max-width: 1200px) {
    .our-story-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .story-icon-wrapper {
        margin-right: 0;
        margin-bottom: var(--space-3);
    }
    
    .our-story-title {
        font-size: 2rem;
    }
    
    .story-underline {
        left: 0;
        width: 100px;
    }
    
    .story-paragraph {
        font-size: 1rem;
        padding-left: var(--space-6);
    }
    
    .paragraph-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .highlight-paragraph {
        margin-left: -12px;
        padding-left: calc(var(--space-6) + 12px);
    }
} 

/* HD Series IC Introductionִ */
.hd-series-intro-section {
    background: linear-gradient(135deg, #fafafa 0%, #f5f7ff 50%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
    padding: var(--space-20) 0;
}

.hd-series-intro-wrapper {
    position: relative;
    z-index: 1;
}

/* ·װ */
.hd-intro-background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, 
        rgba(13, 148, 136, 0.1), 
        rgba(13, 148, 136, 0.2), 
        rgba(13, 148, 136, 0.1));
    animation: circuitFlow 4s ease-in-out infinite;
}

.circuit-line-1 {
    top: 20%;
    left: 10%;
    width: 200px;
    height: 2px;
    animation-delay: 0s;
}

.circuit-line-2 {
    top: 60%;
    right: 15%;
    width: 150px;
    height: 2px;
    transform: rotate(45deg);
    animation-delay: 1s;
}

.circuit-line-3 {
    bottom: 30%;
    left: 20%;
    width: 180px;
    height: 2px;
    transform: rotate(-30deg);
    animation-delay: 2s;
}

.circuit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #0d9488, #0e7490);
    border-radius: 50%;
    animation: nodeGlow 3s ease-in-out infinite;
}

.circuit-node-1 {
    top: 25%;
    left: 15%;
    animation-delay: 0.5s;
}

.circuit-node-2 {
    top: 40%;
    right: 20%;
    animation-delay: 1.5s;
}

.circuit-node-3 {
    bottom: 40%;
    left: 25%;
    animation-delay: 2.5s;
}

.circuit-node-4 {
    top: 70%;
    right: 30%;
    animation-delay: 3.5s;
}

/*  */
.hd-intro-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/*  */
.hd-intro-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-12);
}

.hd-chip-icon-container {
    position: relative;
    margin-bottom: var(--space-6);
}

.hd-chip-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d9488, #0e7490);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.3);
    position: relative;
    overflow: hidden;
}

.hd-chip-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: chipShine 3s ease-in-out infinite;
}

.chip-signal-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.signal-wave {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(13, 148, 136, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: waveExpand 2s ease-out infinite;
}

.wave-1 {
    animation-delay: 0s;
}

.wave-2 {
    animation-delay: 0.7s;
}

.wave-3 {
    animation-delay: 1.4s;
}

.hd-intro-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gray-800), #0d9488, #0e7490);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.02em;
}

.title-circuit-underline {
    position: relative;
    margin-top: var(--space-4);
    height: 20px;
}

.circuit-path {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(13, 148, 136, 0.3), 
        rgba(13, 148, 136, 0.8), 
        rgba(13, 148, 136, 0.3), 
        transparent);
    animation: pathGlow 2s ease-in-out infinite;
}

.circuit-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: var(--space-4);
}

.dot {
    width: 6px;
    height: 6px;
    background: #0d9488;
    border-radius: 50%;
    animation: dotPulse 1s ease-in-out infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.3s;
}

.dot:nth-child(3) {
    animation-delay: 0.6s;
}

/* ʱ??*/
.innovation-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(13, 148, 136, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.15);
    border-color: rgba(13, 148, 136, 0.2);
}

.timeline-content {
    text-align: center;
}

.timeline-label {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0d9488;
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--gray-700);
    font-size: 1rem;
}

.timeline-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(13, 148, 136, 0.3), 
        rgba(13, 148, 136, 0.8), 
        rgba(13, 148, 136, 0.3));
    position: relative;
    flex-shrink: 0;
    animation: connectorFlow 3s ease-in-out infinite;
}

.timeline-connector::before,
.timeline-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #0d9488;
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-connector::before {
    left: -4px;
}

.timeline-connector::after {
    right: -4px;
}

/*  Ż??*/
@keyframes circuitFlow {
    0%, 100% {
        opacity: 0.1;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 0.3;
        transform: scaleX(1.1);
    }
}

@keyframes nodeGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
        box-shadow: 0 0 10px rgba(13, 148, 136, 0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(13, 148, 136, 0.6);
    }
}

@keyframes chipShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes waveExpand {
    0% {
        width: 80px;
        height: 80px;
        opacity: 1;
    }
    100% {
        width: 160px;
        height: 160px;
        opacity: 0;
    }
}

@keyframes pathGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes connectorFlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Ӧʽ??*/
@media (max-width: 1200px) {
    .hd-intro-title {
        font-size: 2.5rem;
    }
    
    .innovation-timeline {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .timeline-connector {
        width: 2px;
        height: 40px;
        transform: rotate(90deg);
    }
    
    .timeline-item {
        text-align: center;
    }
    
    .timeline-content {
        text-align: center;
    }
    
    .circuit-line {
        display: none;
    }
    
    .circuit-node {
        display: none;
    }
} 

/* HD Series ICֲSVGʽ */
.hd-bg-wave {
    opacity: 0.85;
    transition: opacity 0.4s, filter 0.4s;
    filter: blur(0.5px);
    will-change: transform, opacity;
}
.hd-bg-wave-1 {
    animation: waveFloat1 8s ease-in-out infinite alternate;
}
.hd-bg-wave-2 {
    animation: waveFloat2 10s ease-in-out infinite alternate;
}
.hd-bg-wave-3 {
    animation: waveFloat3 12s ease-in-out infinite alternate;
}
@keyframes waveFloat1 {
    0% { transform: translateY(0) scaleX(1); opacity: 0.85; }
    100% { transform: translateY(-10px) scaleX(1.03); opacity: 1; }
}
@keyframes waveFloat2 {
    0% { transform: translateY(0) scaleX(1); opacity: 0.8; }
    100% { transform: translateY(12px) scaleX(0.98); opacity: 0.95; }
}
@keyframes waveFloat3 {
    0% { transform: translateY(0) scaleX(1); opacity: 0.7; }
    100% { transform: translateY(-8px) scaleX(1.04); opacity: 0.85; }
}
@media (max-width: 900px) {
    .hd-bg-wave-1, .hd-bg-wave-2, .hd-bg-wave-3 {
        height: 40px !important;
    }
}
@media (max-width: 600px) {
    .hd-bg-wave-1, .hd-bg-wave-2, .hd-bg-wave-3 {
        height: 24px !important;
    }
}

.footer-section,
.footer-section *,
.footer-bottom {
    color: var(--white) !important;
}

/* Always force a line break before Technology in footer titles */
.footer .footer-section h3 .footer-tech-break {
    display: block !important;
}

.innovation-timeline .timeline-content {
    text-align: left;
}

/* HD GaN Power Series Animations */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Who We Are װͼƬ??*/
.corner-decoration {
    position: absolute;
    width: 240px;
    height: 240px;
    opacity: 1;
    z-index: 0;
    transition: transform 0.3s ease;
}

.corner-decoration:hover {
    transform: scale(1.05);
}

.corner-decoration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.corner-top-left {
    top: 30px;
    left: 30px;
}

.corner-top-right {
    top: 30px;
    right: 30px;
}

.corner-bottom-left {
    bottom: 30px;
    left: 30px;
}

.corner-bottom-right {
    bottom: 30px;
    right: 30px;
}



/* Who We Are ʽ */
.who-we-are-container-wrapper {
    position: relative;
    z-index: 1;
}

.who-we-are-container {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0 auto;
    padding: 0 80px; /* ڱ߾࣬Ϊװͼ */
}

/* Who We Are ƬͣЧ */
.who-we-are-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 95, 70, 0.12);
    transition: all 0.3s ease;
}

.experience-number:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.partners-number:hover {
    transform: rotate(3deg) scale(1.05);
    transition: transform 0.3s ease;
}

/* ӦʽװͼƬ */
@media (max-width: 1200px) {
    .corner-decoration {
        width: 160px;
        height: 160px;
    }
    
    .corner-top-left,
    .corner-top-right {
        top: 20px;
    }
    
    .corner-bottom-left,
    .corner-bottom-right {
        bottom: 20px;
    }
    
    .corner-top-left,
    .corner-bottom-left {
        left: 20px;
    }
    
    .corner-top-right,
    .corner-bottom-right {
        right: 20px;
    }
    
    .who-we-are-container {
        padding: 0 60px !important;
    }
}

@media (max-width: 480px) {
    .corner-decoration {
        width: 120px;
        height: 120px;
    }
    
    .corner-top-left,
    .corner-top-right {
        top: 15px;
    }
    
    .corner-bottom-left,
    .corner-bottom-right {
        bottom: 15px;
    }
    
    .corner-top-left,
    .corner-bottom-left {
        left: 15px;
    }
    
    .corner-top-right,
    .corner-bottom-right {
        right: 15px;
    }
    
    .who-we-are-container {
        padding: 0 50px !important;
    }
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
}

@media (max-width: 768px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        margin-bottom: var(--space-3);
    }
    
    /* Override inline styles for Contact section */
    .footer-section > div[style*="display: flex"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    
    /* Override inline styles for Follow Us section */
    .footer-section > div[style*="gap: 1rem"] {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        margin-top: 1rem !important;
    }

    .footer .footer-content .footer-section:nth-child(4) > div[style*="margin-top"] {
        margin-top: 0 !important;
    }

    .footer .footer-content .footer-section:nth-child(4) > div[style*="margin-top"] {
        margin-top: 0 !important;
    }

    /* Equalize spacing: Contact ↔ Follow Us same as Brand ↔ Contact */
    .footer .footer-content .footer-section:nth-child(4) > div[style*="margin-top"] {
        margin-top: 0 !important;
    }

    /* Force line break before Technology on small screens */
    .footer .footer-section h3 .footer-tech-break {
        display: block !important;
    }

    /* Increase spacing between Contact (3rd) and Follow Us (4th) */
    .footer .footer-content { --footer-followus-extra-gap: 0.5rem; }
    .footer .footer-content .footer-section:nth-child(4) {
        margin-top: var(--footer-followus-extra-gap) !important;
    }
}

@media (max-width: 640px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-section {
        text-align: center;
        padding: 0 var(--space-2);
    }
    
    .footer-section h3 {
        font-size: 1.25rem;
        margin-bottom: var(--space-2);
    }
    
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding: var(--space-4) var(--space-2);
        font-size: 0.875rem;
    }
    
    /* Override inline styles for Contact section */
    .footer-section > div[style*="display: flex"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    
    /* Override inline styles for Follow Us section */
    .footer-section > div[style*="gap: 1rem"] {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        margin-top: 1rem !important;
    }

    /* Increase spacing between Contact (3rd) and Follow Us (4th) */
    .footer .footer-content { --footer-followus-extra-gap: 0.75rem; }
    .footer .footer-content .footer-section:nth-child(4) {
        margin-top: var(--footer-followus-extra-gap) !important;
    }
}

@media (max-width: 480px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .footer-section {
        text-align: center;
        padding: 0 var(--space-1);
    }
    
    .footer-section h3 {
        font-size: 1.125rem;
        margin-bottom: var(--space-2);
    }
    
    .footer-section a {
        font-size: 0.875rem;
        display: block;
        padding: 0.25rem 0;
    }
    
    .footer-bottom {
        padding: var(--space-3) var(--space-1);
        font-size: 0.8rem;
    }
    
    /* Override inline styles for Contact section */
    .footer-section > div[style*="display: flex"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    
    /* Override inline styles for Follow Us section */
    .footer-section > div[style*="gap: 1rem"] {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        margin-top: 1rem !important;
    }

     /* Increase spacing between Contact (3rd) and Follow Us (4th) */
    .footer .footer-content { --footer-followus-extra-gap: 1rem; }
    .footer .footer-content .footer-section:nth-child(4) {
        margin-top: var(--footer-followus-extra-gap) !important;
    }
}

/* Solution Presentation Responsive Design */
@media (max-width: 1200px) {
    .grid.grid-cols-2 .card[style*="padding:0"] {
        margin-bottom: var(--space-6);
    }
    
    .grid.grid-cols-2 .card[style*="padding:0"] > div[style*="height:320px"] {
        height: 280px !important;
        min-height: 280px;
    }
    
    .grid.grid-cols-2 .card[style*="padding:0"] img {
        object-fit: contain !important;
        max-height: 100%;
        width: auto !important;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .grid.grid-cols-2 .card[style*="padding:0"] > div[style*="height:320px"] {
        height: 240px !important;
        min-height: 240px;
    }
    
    .grid.grid-cols-2 .card[style*="padding:0"] img {
        object-fit: contain !important;
        max-height: 100%;
        width: auto !important;
        height: auto !important;
    }
}

@media (max-width: 640px) {
    .grid.grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
    
    .grid.grid-cols-2 .card[style*="padding:0"] > div[style*="height:320px"] {
        height: 200px !important;
        min-height: 200px;
    }
    
    .grid.grid-cols-2 .card[style*="padding:0"] img {
        object-fit: contain !important;
        max-height: 100%;
        width: auto !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .grid.grid-cols-2 .card[style*="padding:0"] > div[style*="height:320px"] {
        height: 180px !important;
        min-height: 180px;
    }
    
    .grid.grid-cols-2 .card[style*="padding:0"] img {
        object-fit: contain !important;
        max-height: 100%;
        width: auto !important;
        height: auto !important;
    }
}

/* Engineering Gallery Responsive Design */
@media (max-width: 1200px) {
    .section .grid.grid-cols-3 .card {
        margin-bottom: var(--space-4);
    }
    
    .section .grid.grid-cols-3 .card img {
        max-height: 200px;
        object-fit: contain;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .section .grid.grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-4);
    }
    
    .section .grid.grid-cols-3 .card img {
        max-height: 180px;
        object-fit: contain;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 640px) {
    .section .grid.grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: var(--space-4);
    }
    
    .section .grid.grid-cols-3 .card {
        text-align: center;
    }
    
    .section .grid.grid-cols-3 .card img {
        max-height: 160px;
        object-fit: contain;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .section .grid.grid-cols-3 .card img {
        max-height: 140px;
        object-fit: contain;
        width: 100%;
        height: auto;
    }
    
    .section .grid.grid-cols-3 .card-title {
        font-size: 1rem;
    }
}

/* Who We Are Section Responsive Design */
@media (max-width: 1200px) {
    .who-we-are-section .corner-decoration {
        width: 180px !important;
        height: 180px !important;
    }
    
    .who-we-are-section .corner-decoration img {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }
    
    .who-we-are-section .corner-top-left {
        top: 40px !important;
        left: 40px !important;
    }
    
    .who-we-are-section .corner-top-right {
        top: 40px !important;
        right: 40px !important;
    }
    
    .who-we-are-section .corner-bottom-left {
        bottom: 40px !important;
        left: 40px !important;
    }
    
    .who-we-are-section .corner-bottom-right {
        bottom: 40px !important;
        right: 40px !important;
    }
    
    .who-we-are-section .grid.grid-cols-2 {
        gap: var(--space-4);
    }
    
    .who-we-are-section .who-we-are-card {
        padding: var(--space-3);
    }
    
    .who-we-are-section .who-we-are-header {
        width: calc(100% - 240px) !important;
        box-sizing: border-box;
        margin: 0 auto 2rem auto;
    }
    
    .who-we-are-section .who-we-are-container {
        padding: 0 80px;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .who-we-are-section .corner-decoration {
        width: 160px !important;
        height: 160px !important;
    }
    
    .who-we-are-section .corner-top-left {
        top: 35px !important;
        left: 35px !important;
    }
    
    .who-we-are-section .corner-top-right {
        top: 35px !important;
        right: 35px !important;
    }
    
    .who-we-are-section .corner-bottom-left {
        bottom: 35px !important;
        left: 35px !important;
    }
    
    .who-we-are-section .corner-bottom-right {
        bottom: 35px !important;
        right: 35px !important;
    }
    
    .who-we-are-section .who-we-are-header {
        width: 100% !important; /* 与container内的卡片宽度一致 */
        box-sizing: border-box;
        margin: 0 auto 1.5rem auto;
    }
    
    .who-we-are-section .who-we-are-container {
        padding: 0 70px;
        margin-top: 1.5rem;
    }
    
    .who-we-are-section .who-we-are-combined-title h2 {
        font-size: 1.5rem;
    }
    
    .who-we-are-section .who-we-are-combined-title .subtitle {
        font-size: 0.875rem;
    }
    
    .who-we-are-section .who-we-are-card {
        padding: var(--space-2);
    }
    
    .who-we-are-section .experience-number,
    .who-we-are-section .partners-number {
        font-size: 2rem;
    }
    
    .who-we-are-section .card-title {
        font-size: 1rem;
    }
    
    .who-we-are-section .card-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .who-we-are-section .corner-decoration {
        width: 140px !important;
        height: 140px !important;
    }
    
    .who-we-are-section .corner-top-left {
        top: 30px !important;
        left: 30px !important;
    }
    
    .who-we-are-section .corner-top-right {
        top: 30px !important;
        right: 30px !important;
    }
    
    .who-we-are-section .corner-bottom-left {
        bottom: 30px !important;
        left: 30px !important;
    }
    
    .who-we-are-section .corner-bottom-right {
        bottom: 30px !important;
        right: 30px !important;
    }
    
    .who-we-are-section .grid.grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: var(--space-4);
    }
    
    .who-we-are-section .who-we-are-card {
        padding: var(--space-3);
    }
    
    .who-we-are-section .who-we-are-header {
        width: 100% !important; /* 与container内的卡片宽度一致 */
        box-sizing: border-box;
        margin: 0 auto 1rem auto;
    }
    
    .who-we-are-section .who-we-are-container {
        padding: 0 60px;
        margin-top: 1rem;
    }
    
    .who-we-are-section .experience-number,
    .who-we-are-section .partners-number {
        font-size: 2.5rem;
    }
    
    .who-we-are-section .card-title {
        font-size: 1.125rem;
    }
    
    .who-we-are-section .card-text {
        font-size: 0.875rem;
    }
    
    .who-we-are-section .who-we-are-header {
        width: calc(100% - 200px) !important;
        box-sizing: border-box;
        margin: 0 auto 2rem auto;
    }
}

@media (max-width: 480px) {
    .who-we-are-section .corner-decoration {
        width: 50px !important;
        height: 50px !important;
    }
    
    .who-we-are-section .corner-top-left {
        top: 25px !important;
        left: 25px !important;
    }
    
    .who-we-are-section .corner-top-right {
        top: 25px !important;
        right: 25px !important;
    }
    
    .who-we-are-section .corner-bottom-left {
        bottom: 25px !important;
        left: 25px !important;
    }
    
    .who-we-are-section .corner-bottom-right {
        bottom: 25px !important;
        right: 25px !important;
    }
    
    .who-we-are-section .who-we-are-header {
        width: 100% !important; /* 与container内的卡片宽度一致 */
        box-sizing: border-box;
        margin: 0 auto 1rem auto;
    }
    
    .who-we-are-section .who-we-are-container {
        padding: 0 50px;
        margin-top: 1rem;
    }
    
    .who-we-are-section .who-we-are-combined-title h2 {
        font-size: 1.5rem;
    }
    
    .who-we-are-section .who-we-are-combined-title .subtitle {
        font-size: 0.875rem;
    }
    
    .who-we-are-section .experience-number,
    .who-we-are-section .partners-number {
        font-size: 2rem;
    }
    
    .who-we-are-section .card-title {
        font-size: 1rem;
    }
    
    .who-we-are-section .card-text {
        font-size: 0.8rem;
    }
    
    .who-we-are-section .who-we-are-card {
        padding: var(--space-2);
    }
    
    .who-we-are-section .who-we-are-header {
        width: 100% !important; /* 与container内的卡片宽度一致 */
        box-sizing: border-box;
        margin: 0 auto 1rem auto;
    }
}

@media (max-width: 400px) {
    .who-we-are-section .corner-decoration {
        width: 40px !important;
        height: 40px !important;
    }
    
    .who-we-are-section .corner-top-left {
        top: 20px !important;
        left: 20px !important;
    }
    
    .who-we-are-section .corner-top-right {
        top: 20px !important;
        right: 20px !important;
    }
    
    .who-we-are-section .corner-bottom-left {
        bottom: 20px !important;
        left: 20px !important;
    }
    
    .who-we-are-section .corner-bottom-right {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .who-we-are-section .who-we-are-header {
        width: 100% !important; /* 与container内的卡片宽度一致 */
        box-sizing: border-box;
        margin: 0 auto 1rem auto;
    }
    
    .who-we-are-section .who-we-are-container {
        padding: 0 40px;
        margin-top: 1rem;
    }
    
    .who-we-are-section .who-we-are-combined-title h2 {
        font-size: 1.25rem;
    }
    
    .who-we-are-section .who-we-are-combined-title .subtitle {
        font-size: 0.75rem;
    }
    
    .who-we-are-section .experience-number,
    .who-we-are-section .partners-number {
        font-size: 1.75rem;
    }
    
    .who-we-are-section .card-title {
        font-size: 0.875rem;
    }
    
    .who-we-are-section .card-text {
        font-size: 0.75rem;
    }
    
    .who-we-are-section .who-we-are-card {
        padding: var(--space-1);
    }
}

/* Who We Are Section - Complete Rewrite */
.who-we-are-section {
    position: relative;
    padding: 120px 0 120px 0; /* 增加上下内边距 */
    overflow: visible;
}

/* Corner Decorations - Fixed Positioning */
.who-we-are-section .corner-decoration {
    position: absolute;
    width: 120px;
    height: 120px;
    z-index: 1;
}

.who-we-are-section .corner-decoration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.who-we-are-section .corner-top-left {
    top: 40px;
    left: 40px;
}

.who-we-are-section .corner-top-right {
    top: 40px;
    right: 40px;
}

.who-we-are-section .corner-bottom-left {
    bottom: 40px;
    left: 40px;
}

.who-we-are-section .corner-bottom-right {
    bottom: 40px;
    right: 40px;
}

/* Content Container - Centered with Safe Margins */
.who-we-are-section .who-we-are-container-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 100px; /* 确保与装饰图片有足够距离 */
}

.who-we-are-section .who-we-are-container {
    width: 100%;
    padding: 0;
}

.who-we-are-section .who-we-are-header {
    width: 100%; /* 与container内的卡片宽度一致 */
    max-width: 600px;
    margin: 0 auto 2rem auto;
    box-sizing: border-box;
}

.who-we-are-section .who-we-are-container {
    width: 100%;
    padding: 0;
}

/* Restore Original Layout for Large Screens */
@media (min-width: 1601px) {
    .who-we-are-section {
        padding: var(--space-20) 0;
        overflow: hidden;
    }
    
    .who-we-are-section .corner-decoration {
        width: 240px;
        height: 240px;
    }
    
    .who-we-are-section .corner-top-left {
        top: 30px;
        left: 30px;
    }
    
    .who-we-are-section .corner-top-right {
        top: 30px;
        right: 30px;
    }
    
    .who-we-are-section .corner-bottom-left {
        bottom: 30px;
        left: 30px;
    }
    
    .who-we-are-section .corner-bottom-right {
        bottom: 30px;
        right: 30px;
    }
    
    .who-we-are-section .who-we-are-container-wrapper {
        max-width: 1100px;
        padding: 0 60px;
    }
    
    .who-we-are-section .who-we-are-header {
        max-width: 1100px;
        width: 100%;
        padding: var(--space-8);
        margin-bottom: var(--space-12);
    }
    
    .who-we-are-section .who-we-are-container {
        padding: 0;
        max-width: 1100px;
        margin: 0 auto;
    }
    
    .who-we-are-section .who-we-are-card {
        padding: var(--space-6);
    }
    
    .who-we-are-section .experience-number,
    .who-we-are-section .partners-number {
        font-size: 3rem;
    }
    
    .who-we-are-section .card-title {
        font-size: 1.25rem;
    }
    
    .who-we-are-section .card-text {
        font-size: 1rem;
    }
    
    .who-we-are-section .who-we-are-combined-title h2 {
        font-size: 2.25rem;
    }
    
    .who-we-are-section .who-we-are-combined-title .subtitle {
        font-size: 1.125rem;
    }
}

/* Responsive Design for Smaller Screens */
@media (max-width: 1600px) {
    .who-we-are-section {
        padding: 100px 0 100px 0;
    }
    
    .who-we-are-section .corner-decoration {
        width: 220px !important;
        height: 220px !important;
    }
    
    .who-we-are-section .corner-top-left,
    .who-we-are-section .corner-top-right {
        top: 30px;
    }
    
    .who-we-are-section .corner-bottom-left,
    .who-we-are-section .corner-bottom-right {
        bottom: 30px;
    }
    
    .who-we-are-section .corner-top-left,
    .who-we-are-section .corner-bottom-left {
        left: 30px;
    }
    
    .who-we-are-section .corner-top-right,
    .who-we-are-section .corner-bottom-right {
        right: 30px;
    }
    
    .who-we-are-section .who-we-are-container-wrapper {
        padding: 0 80px;
    }
}

@media (max-width: 768px) {
    .who-we-are-section {
        padding: 80px 0 80px 0;
    }
    
    .who-we-are-section .corner-decoration {
        width: 200px !important;
        height: 200px !important;
    }
    
    .who-we-are-section .corner-top-left,
    .who-we-are-section .corner-top-right {
        top: 25px;
    }
    
    .who-we-are-section .corner-bottom-left,
    .who-we-are-section .corner-bottom-right {
        bottom: 25px;
    }
    
    .who-we-are-section .corner-top-left,
    .who-we-are-section .corner-bottom-left {
        left: 25px;
    }
    
    .who-we-are-section .corner-top-right,
    .who-we-are-section .corner-bottom-right {
        right: 25px;
    }
    
    .who-we-are-section .who-we-are-container-wrapper {
        padding: 0 70px;
    }
    
    .who-we-are-section .who-we-are-header {
        max-width: 500px;
        width: 100%; /* 与container内的卡片宽度一致 */
    }
}

@media (max-width: 640px) {
    /* phones: center and constrain cards to avoid overlap; keep consistent width */
    .who-we-are-section .who-we-are-header,
    .who-we-are-section .who-we-are-container {
        max-width: 340px !important;
        width: 90vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    .who-we-are-section .grid.grid-cols-2 { grid-template-columns: 1fr !important; justify-items: center !important; }
}

@media (max-width: 480px) {
    /* very small phones: slightly narrower max */
    .who-we-are-section .who-we-are-header,
    .who-we-are-section .who-we-are-container {
        max-width: 300px !important;
        width: 90vw !important;
    }
}

@media (max-width: 400px) {
    .who-we-are-section {
        padding: 40px 0 40px 0;
    }
    
    .who-we-are-section .corner-decoration {
        width: 140px !important;
        height: 140px !important;
    }
    
    .who-we-are-section .corner-top-left,
    .who-we-are-section .corner-top-right {
        top: 10px;
    }
    
    .who-we-are-section .corner-bottom-left,
    .who-we-are-section .corner-bottom-right {
        bottom: 10px;
    }
    
    .who-we-are-section .corner-top-left,
    .who-we-are-section .corner-bottom-left {
        left: 10px;
    }
    
    .who-we-are-section .corner-top-right,
    .who-we-are-section .corner-bottom-right {
        right: 10px;
    }
    
    .who-we-are-section .who-we-are-container-wrapper {
        padding: 0 40px;
    }
    
    .who-we-are-section .who-we-are-header {
        max-width: 300px;
    }
}

/* Contact page specific styles */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.contact-conversation-card {
    position: relative;
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    border: 2px solid var(--gray-200);
    padding: 3rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-conversation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/contact/conversation-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.contact-conversation-card:hover::before {
    opacity: 1;
}

.contact-conversation-card > * {
    position: relative;
    z-index: 2;
}

/* Responsive background for contact conversation card */
@media (max-width: 768px) {
    .contact-conversation-card {
        padding: 2rem;
    }
    
    .contact-conversation-card::before {
        opacity: 1;
    }
    
    .contact-conversation-card:hover::before {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .contact-conversation-card {
        padding: 1.5rem;
    }
    
    .contact-conversation-card::before {
        opacity: 1;
    }
    
    .contact-conversation-card:hover::before {
        opacity: 1;
    }
}

/* Contact page: on mobile, place the right image card above the left details */
@media (max-width: 768px) {
  .contact-info-grid { grid-template-columns: 1fr !important; }
  .contact-info-grid > div:nth-child(2) { order: -1; }
  .contact-conversation-card { min-height: 220px !important; margin-bottom: 1rem !important; }
}
@media (max-width: 480px) {
  .contact-conversation-card { min-height: 200px !important; }
}

/* ===== Final Mobile Enforcement: Who We Are (consistent centered cards and safe corner gaps) ===== */
@media (max-width: 640px) {
  .who-we-are-section { 
    --who-corner-size-final: 72px; 
    --who-gap-final: 10px; 
    --who-unified-width: 180px; /* further reduced */
  }
  .who-we-are-section .corner-decoration { 
    width: var(--who-corner-size-final) !important; 
    height: var(--who-corner-size-final) !important; 
  }
  .who-we-are-section .who-we-are-container-wrapper { 
    padding-left: calc(var(--who-corner-size-final) + var(--who-gap-final)) !important; 
    padding-right: calc(var(--who-corner-size-final) + var(--who-gap-final)) !important; 
  }
  .who-we-are-section .grid.grid-cols-2 { grid-template-columns: 1fr !important; }
  .who-we-are-section .who-we-are-header,
  .who-we-are-section .who-we-are-container { 
    max-width: var(--who-unified-width) !important; 
    width: 100% !important; 
    margin-left: auto !important; 
    margin-right: auto !important; 
    box-sizing: border-box !important; 
  }
}

/* Strong layout control: place number + title on same row via grid (mobile only) */
@media (max-width: 640px) {
  .who-we-are-section .who-we-are-card {
    display: grid !important;
    grid-template-columns: auto auto 1fr !important; /* icon | number | title */
    grid-auto-rows: auto !important;
    align-items: center !important;
    column-gap: 0.35rem !important;
  }
  /* move icons to first column */
  .who-we-are-section .who-we-are-card .card-title i { grid-column: 1 !important; grid-row: 1 !important; margin-right: 0.25rem !important; }
  .who-we-are-section .experience-card .experience-number,
  .who-we-are-section .partners-card .partners-number { grid-column: 2 !important; grid-row: 1 !important; }
  .who-we-are-section .experience-card .card-title,
  .who-we-are-section .partners-card .card-title { grid-column: 3 !important; grid-row: 1 !important; margin: 0 !important; white-space: nowrap !important; }
  .who-we-are-section .experience-card .card-text,
  .who-we-are-section .partners-card .card-text { grid-column: 1 / -1 !important; grid-row: 2 !important; }
}

@media (max-width: 480px) {
  .who-we-are-section { 
    --who-corner-size-final: 64px; 
    --who-gap-final: 8px; 
    --who-unified-width: 160px; /* further reduced */
  }
  .who-we-are-section .corner-decoration { 
    width: var(--who-corner-size-final) !important; 
    height: var(--who-corner-size-final) !important; 
  }
  .who-we-are-section .who-we-are-container-wrapper { 
    padding-left: calc(var(--who-corner-size-final) + var(--who-gap-final)) !important; 
    padding-right: calc(var(--who-corner-size-final) + var(--who-gap-final)) !important; 
  }
  .who-we-are-section .who-we-are-header,
  .who-we-are-section .who-we-are-container { 
    max-width: var(--who-unified-width) !important; 
  }
}

/* Final mobile sizing: use unified width instead of transform scale */
@media (max-width: 640px) {
  .who-we-are-section .who-we-are-card {
    width: 240px !important; /* ~70% of typical 340px */
    max-width: 90vw !important;
  }
  .who-we-are-section .grid.grid-cols-2 { justify-items: center !important; }
}

/* Reduce Who We Are section background/padding by ~30% on phones */
/* Only shrink the background (section padding) for Who We Are on mobile */
@media (max-width: 640px) {
  .who-we-are-section { padding-top: 20px !important; padding-bottom: 20px !important; }
  /* collapse extra vertical space inside section without touching other sections */
  .who-we-are-section .who-we-are-container-wrapper { margin-top: -12px !important; margin-bottom: -12px !important; }
}
@media (max-width: 480px) {
  .who-we-are-section { padding-top: 16px !important; padding-bottom: 16px !important; }
  .who-we-are-section .who-we-are-container-wrapper { margin-top: -10px !important; margin-bottom: -10px !important; }
}

/* Who We Are – enforce safe margins around corner images on small screens */
/* Ensure header stays centered on small screens */
@media (max-width: 1024px) {
  .who-we-are-section .who-we-are-header { margin-left: auto !important; margin-right: auto !important; }
}
@media (max-width: 768px) {
  .who-we-are-section .who-we-are-header { margin-left: auto !important; margin-right: auto !important; }
}

/* Who We Are – stabilize small-width layout to prevent size bounce and misalignment */
@media (max-width: 900px) {
  /* force single column for safety */
  .who-we-are-section .grid.grid-cols-2 { grid-template-columns: 1fr !important; }
  /* keep header and cards centered and with stable width that respects corner images */
  .who-we-are-section .who-we-are-header,
  .who-we-are-section .who-we-are-container {
    width: min(100%, calc(100vw - (var(--who-corner-size, 80px) * 2) - 32px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  /* remove inner paddings that could cause re-expansion */
  .who-we-are-section .who-we-are-container { padding: 0 !important; }
}

/* Phones: narrow the two bottom cards and center all three (header + 2 cards) without overlapping corners */
@media (max-width: 640px) {
  .who-we-are-section {
    --who-content-width: 320px;   /* consistent content width on small phones */
    --who-corner-size: 100px;     /* keep corners large enough but clear */
    --who-corner-gap: 16px;       /* fixed gap to content */
  }
  .who-we-are-section .who-we-are-header,
  .who-we-are-section .who-we-are-card { 
    width: var(--who-content-width) !important; 
    max-width: 90vw !important; 
    margin-left: auto !important; 
    margin-right: auto !important; 
  }
  .who-we-are-section .grid.grid-cols-2 { justify-items: center !important; }
}

@media (max-width: 480px) {
  .who-we-are-section { 
    --who-content-width: 300px;   /* slightly narrower on very small phones */
    --who-corner-size: 90px;      /* adjust corners proportionally */
  }
}

/* Who We Are – small-screen absolute positioning relative to centered content for consistent gaps */
@media (max-width: 900px) {
  .who-we-are-section {
    --who-content-width: clamp(300px, 90vw, 360px);
    --who-corner-size: 100px; /* fixed corner size for visual consistency */
    --who-corner-gap: 16px;   /* fixed gap between content and corners */
  }
  .who-we-are-section .corner-decoration { width: var(--who-corner-size) !important; height: var(--who-corner-size) !important; }
  /* Position corners based on centered content width so spacing stays constant across widths */
  .who-we-are-section .corner-top-left { left: calc(50% - (var(--who-content-width) / 2) - var(--who-corner-gap) - var(--who-corner-size)) !important; top: 24px !important; }
  .who-we-are-section .corner-top-right { right: calc(50% - (var(--who-content-width) / 2) - var(--who-corner-gap) - var(--who-corner-size)) !important; top: 24px !important; }
  .who-we-are-section .corner-bottom-left { left: calc(50% - (var(--who-content-width) / 2) - var(--who-corner-gap) - var(--who-corner-size)) !important; bottom: 24px !important; }
  .who-we-are-section .corner-bottom-right { right: calc(50% - (var(--who-content-width) / 2) - var(--who-corner-gap) - var(--who-corner-size)) !important; bottom: 24px !important; }
}

/* remove fixed corner sizes; use responsive variable block below */

/* Who We Are – scalable safe margins driven by corner size (small windows only) */
@media (max-width: 1200px) {
  .who-we-are-section {
    /* responsive corners; lock card max width to avoid re-expansion */
    --who-corner-size: clamp(48px, 12vw, 120px);
    --who-safe-gap: 14px;
  }
  .who-we-are-section .corner-decoration {
    width: var(--who-corner-size) !important;
    height: var(--who-corner-size) !important;
  }
  /* do not alter card/container width to avoid layout bounce */
}

/* Nudge corner images closer to edges on small screens to avoid overlapping content, without changing card width */
@media (max-width: 1024px) {
  .who-we-are-section .corner-top-left { left: 8px !important; top: 24px !important; }
  .who-we-are-section .corner-top-right { right: 8px !important; top: 24px !important; }
  .who-we-are-section .corner-bottom-left { left: 8px !important; bottom: 24px !important; }
  .who-we-are-section .corner-bottom-right { right: 8px !important; bottom: 24px !important; }
}
@media (max-width: 768px) {
  .who-we-are-section .corner-top-left { left: 6px !important; top: 20px !important; }
  .who-we-are-section .corner-top-right { right: 6px !important; top: 20px !important; }
  .who-we-are-section .corner-bottom-left { left: 6px !important; bottom: 20px !important; }
  .who-we-are-section .corner-bottom-right { right: 6px !important; bottom: 20px !important; }
}
@media (max-width: 480px) {
  .who-we-are-section .corner-top-left { left: 4px !important; top: 16px !important; }
  .who-we-are-section .corner-top-right { right: 4px !important; top: 16px !important; }
  .who-we-are-section .corner-bottom-left { left: 4px !important; bottom: 16px !important; }
  .who-we-are-section .corner-bottom-right { right: 4px !important; bottom: 16px !important; }
}

/* Only shrink the green header background (Who We Are header) on mobile */
@media (max-width: 640px) {
  .who-we-are-section .who-we-are-header {
    padding: 8px 12px !important;
    margin-bottom: 0.5rem !important;
    border-width: 1px !important;
  }
  /* hide floating decorative icons inside the green header to reduce perceived height */
  .who-we-are-section .company-icon { display: none !important; }
}
@media (max-width: 480px) {
  .who-we-are-section .who-we-are-header {
    padding: 6px 10px !important;
    margin-bottom: 0.35rem !important;
    border-width: 1px !important;
  }
}

/* ===== Ultimate override to ensure mobile card width applies despite earlier blocks ===== */
@media (max-width: 640px) {
  /* compute a safe width that will not overlap corner images */
  .who-we-are-section .who-we-are-header,
  .who-we-are-section .who-we-are-container,
  .who-we-are-section .who-we-are-card,
  .who-we-are-section .who-we-are-container > .grid {
    width: min(380px, calc(100vw - ((var(--who-corner-size-final, 72px) + var(--who-gap-final, 10px)) * 2))) !important;
    max-width: min(380px, calc(100vw - ((var(--who-corner-size-final, 72px) + var(--who-gap-final, 10px)) * 2))) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  .who-we-are-section .who-we-are-card {
    min-height: 90px !important; /* reduced */
    padding: 0.3rem 0.5rem !important; /* slightly tighter */
  }
  /* compact inner typography */
  .who-we-are-section .experience-number,
  .who-we-are-section .partners-number { font-size: 1.4rem !important; margin: 0.15rem 0 !important; }
  .who-we-are-section .card-title { font-size: 0.82rem !important; margin-bottom: 0.15rem !important; }
  .who-we-are-section .card-text { font-size: 0.74rem !important; line-height: 1.35 !important; margin: 0 !important; }
  /* ensure cards truly centered within the available area */
  .who-we-are-section .who-we-are-container { display: grid !important; justify-items: center !important; align-items: start !important; }
  .who-we-are-section .who-we-are-card { justify-self: center !important; }
  /* remove residual paddings that could push content visually to the right */
  .who-we-are-section .who-we-are-container-wrapper { padding-left: 0 !important; padding-right: 0 !important; }
}
@media (max-width: 480px) {
  .who-we-are-section .who-we-are-header,
  .who-we-are-section .who-we-are-container,
  .who-we-are-section .who-we-are-card,
  .who-we-are-section .who-we-are-container > .grid {
    width: min(340px, calc(100vw - ((var(--who-corner-size-final, 64px) + var(--who-gap-final, 8px)) * 2))) !important;
    max-width: min(340px, calc(100vw - ((var(--who-corner-size-final, 64px) + var(--who-gap-final, 8px)) * 2))) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  .who-we-are-section .who-we-are-card { min-height: 76px !important; }
  .who-we-are-section .experience-number,
  .who-we-are-section .partners-number { font-size: 1.3rem !important; }
  .who-we-are-section .card-title { font-size: 0.78rem !important; }
  .who-we-are-section .card-text { font-size: 0.68rem !important; }
}

/* Tighten vertical margins to actually reduce section height on phones */
@media (max-width: 640px) {
  .who-we-are-section .who-we-are-header { margin-bottom: 0.5rem !important; }
  .who-we-are-section .who-we-are-container { margin-top: 0.5rem !important; }
  .who-we-are-section .grid.grid-cols-2 { gap: var(--space-1) !important; }
}
@media (max-width: 480px) {
  .who-we-are-section .who-we-are-header { margin-bottom: 0.35rem !important; }
  .who-we-are-section .who-we-are-container { margin-top: 0.35rem !important; }
}

/* Raise overall Who We Are section height on mobile without affecting desktop */
@media (max-width: 640px) {
  .who-we-are-section { padding-top: 56px !important; padding-bottom: 56px !important; }
  .who-we-are-section .who-we-are-container-wrapper { margin-top: 0 !important; margin-bottom: 0 !important; }
  .who-we-are-section .who-we-are-header { margin-bottom: 0.85rem !important; }
  .who-we-are-section .who-we-are-container { margin-top: 0.85rem !important; }
}
@media (max-width: 480px) {
  .who-we-are-section { padding-top: 48px !important; padding-bottom: 48px !important; }
  .who-we-are-section .who-we-are-header { margin-bottom: 0.7rem !important; }
  .who-we-are-section .who-we-are-container { margin-top: 0.7rem !important; }
}



/* Ensure specific Who We Are titles stay on one line */
.who-we-are-section .experience-card .card-title,
.who-we-are-section .partners-card .card-title {
  white-space: nowrap !important;
}
.who-we-are-section .card-title i { flex: 0 0 auto; }
.who-we-are-section .card-title .title-label { display: inline-block; }

@media (max-width: 640px) {
  .who-we-are-section .experience-card .card-title,
  .who-we-are-section .partners-card .card-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    font-size: 0.9rem !important;
  }
}
@media (max-width: 480px) {
  .who-we-are-section .experience-card .card-title,
  .who-we-are-section .partners-card .card-title {
    font-size: 0.85rem !important;
  }
}

/* Disable page-level horizontal scrolling; allow only vertical pan */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  touch-action: pan-y !important;           /* allow vertical scrolling only */
  overscroll-behavior-x: none;              /* prevent horizontal overscroll bounce */
}

/* (reverted full-bleed header experiment) */

/* Products: ensure Passive Components image fully visible without cropping */
.section .text-center img[alt="Passive Components"] {
  width: 100% !important;
  height: auto !important;
  max-width: 800px !important; /* respect original cap but scale responsively */
  object-fit: contain !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* HD Series: reduce wrapping of running text on small screens */
@media (max-width: 768px) {
  .hd-series p { hyphens: auto; overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
  .hd-series p { hyphens: auto; overflow-wrap: anywhere; }
}
.section .text-center:has(img[alt="Passive Components"]) {
  overflow: visible !important;
}

/* (reverted HD Series mobile landscape overrides) */

/* Make number + title appear on the same line (root cause: number is separate element above h3) */
@media (max-width: 640px) {
  .who-we-are-section .experience-card .experience-number,
  .who-we-are-section .partners-card .partners-number {
    display: inline-flex !important;
    margin: 0 !important;
    vertical-align: middle !important;
    order: 2 !important; /* after icon */
  }
  .who-we-are-section .experience-card .card-title,
  .who-we-are-section .partners-card .card-title {
    display: inline-flex !important;
    margin: 0 0 0 0.35rem !important; /* small gap after number */
    vertical-align: middle !important;
    white-space: nowrap !important;
    order: 3 !important;
  }
}

/* Final mobile fix: use inline-flex inside title; avoid grid interference; keep one-line order: icon + number + text */
@media (max-width: 640px) {
  .who-we-are-section .who-we-are-card { display: block !important; }
  .who-we-are-section .who-we-are-card .card-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    font-size: 0.9rem !important;
  }
  .who-we-are-section .who-we-are-card .card-title i { margin-right: 0.25rem !important; }
  .who-we-are-section .who-we-are-card .card-title .experience-number,
  .who-we-are-section .who-we-are-card .card-title .partners-number {
    font-size: 1em !important;
    line-height: 1 !important;
    margin-right: 0.25rem !important;
    order: 1 !important; /* ensure number after icon */
  }
  .who-we-are-section .who-we-are-card .card-title .title-label {
    display: inline-block !important;
    flex: 0 1 auto !important;
    order: 2 !important; /* ensure text after number */
  }
  /* reset any previous order rules applied outside title */
  .who-we-are-section .experience-card .experience-number,
  .who-we-are-section .partners-card .partners-number { order: initial !important; }
}

/* Enforce title above text inside the card on mobile (fix swapped order) */
@media (max-width: 640px) {
  .who-we-are-section .who-we-are-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    row-gap: 0 !important;
  }
  .who-we-are-section .who-we-are-card .card-title { order: 1 !important; width: 100%; text-align: center; }
  .who-we-are-section .who-we-are-card .card-text { order: 2 !important; width: 100%; text-align: center; }
}
@media (max-width: 480px) {
  .who-we-are-section .who-we-are-card .card-title { order: 1 !important; }
  .who-we-are-section .who-we-are-card .card-text { order: 2 !important; }
}

/* Reduce vertical gap between title and text (mobile only) */
@media (max-width: 640px) {
  .who-we-are-section .who-we-are-card .card-title { margin-bottom: 0.1rem !important; }
  .who-we-are-section .who-we-are-card .card-text { margin-top: -0.1rem !important; margin-bottom: 0 !important; line-height: 1.24 !important; }
}
@media (max-width: 480px) {
  .who-we-are-section .who-we-are-card .card-title { margin-bottom: 0.1rem !important; }
  .who-we-are-section .who-we-are-card .card-text { margin-top: -0.15rem !important; line-height: 1.22 !important; }
}

/* Strongest override: eliminate default h3/p margins inside cards on mobile */
@media (max-width: 640px) {
  .who-we-are-section .who-we-are-card h3.card-title { margin: 0 !important; line-height: 1.15 !important; }
  .who-we-are-section .who-we-are-card p.card-text { margin: 0 !important; line-height: 1.24 !important; }
  .who-we-are-section .who-we-are-card h3.card-title + p.card-text { margin-top: 0.1rem !important; }
  /* force even tighter spacing for the two stat cards */
  .who-we-are-section .experience-card h3.card-title + p.card-text,
  .who-we-are-section .partners-card h3.card-title + p.card-text {
    margin-top: -0.2rem !important;
    padding-top: 0 !important;
  }
}
@media (max-width: 480px) {
  .who-we-are-section .who-we-are-card h3.card-title { margin: 0 !important; line-height: 1.12 !important; }
  .who-we-are-section .who-we-are-card h3.card-title + p.card-text { margin-top: 0.08rem !important; }
  .who-we-are-section .experience-card h3.card-title + p.card-text,
  .who-we-are-section .partners-card h3.card-title + p.card-text {
    margin-top: -0.25rem !important;
  }
}

/* Equalize heights: make the two cards as tall as the green header on mobile */
@media (max-width: 640px) {
  .who-we-are-section { --who-equal-height: 120px; }
  .who-we-are-section .who-we-are-header {
    min-height: var(--who-equal-height) !important;
    display: flex !important;
    align-items: center !important;
  }
  .who-we-are-section .who-we-are-card {
    min-height: var(--who-equal-height) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }
}
@media (max-width: 480px) {
  .who-we-are-section { --who-equal-height: 110px; }
  .who-we-are-section .who-we-are-header,
  .who-we-are-section .who-we-are-card {
    min-height: var(--who-equal-height) !important;
  }
}

/* Final mobile spacing control: compact gap between title and text without changing title position */
@media (max-width: 640px) {
  .who-we-are-section { --who-title-text-gap: -0.3rem; }
  .who-we-are-section .who-we-are-card h3.card-title + p.card-text {
    margin-top: var(--who-title-text-gap) !important;
    margin-bottom: 0 !important;
  }
  /* unify stat cards spacing override */
  .who-we-are-section .experience-card h3.card-title + p.card-text,
  .who-we-are-section .partners-card h3.card-title + p.card-text {
    margin-top: var(--who-title-text-gap) !important;
  }
}
@media (max-width: 480px) {
  .who-we-are-section { --who-title-text-gap: -0.35rem; }
}

/* Ultra-compact option (strongest, covers any element type), without moving the title itself */
@media (max-width: 640px) {
  .who-we-are-section .who-we-are-card h3.card-title { margin-bottom: 0 !important; }
  .who-we-are-section .who-we-are-card h3.card-title + .card-text {
    display: block !important;
    padding-top: 0 !important;
    margin-top: calc(var(--who-title-text-gap, -0.3rem) - 0.2rem) !important; /* extra tighten */
  }
}
@media (max-width: 480px) {
  .who-we-are-section .who-we-are-card h3.card-title + .card-text {
    margin-top: calc(var(--who-title-text-gap, -0.35rem) - 0.25rem) !important;
  }
}

/* Who We Are: give single-source control for description vertical position on mobile */
@media (max-width: 640px) {
  .who-we-are-section { --who-desc-offset: -0.42rem; }
  /* neutralize legacy transforms/margins that block adjustments */
  .who-we-are-section .experience-card .card-title,
  .who-we-are-section .partners-card .card-title,
  .who-we-are-section .experience-card .card-text,
  .who-we-are-section .partners-card .card-text {
    transform: none !important;
    margin: 0 !important;
  }
  /* apply a single adjustable offset to the description only */
  .who-we-are-section .experience-card .card-text,
  .who-we-are-section .partners-card .card-text {
    transform: translateY(var(--who-desc-offset)) !important;
  }
}
@media (max-width: 480px) {
  .who-we-are-section { --who-desc-offset: -0.52rem; }
}

/* Final: center Who We Are header title + subtitle vertically within the green header */
.who-we-are-section { --who-header-min-height: 160px; }
.who-we-are-section .who-we-are-header {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: max(var(--who-equal-height, 0px), var(--who-header-min-height, 0px)) !important;
}
.who-we-are-section .who-we-are-header .who-we-are-combined-title {
  text-align: center !important;
  margin: 0 !important;
}
@media (max-width: 1200px) {
  .who-we-are-section { --who-header-min-height: 150px; }
}
@media (max-width: 768px) {
  .who-we-are-section { --who-header-min-height: 130px; }
}
@media (max-width: 480px) {
  .who-we-are-section { --who-header-min-height: 110px; }
}

/* Make equal spacing between the three inline elements (icon + number + title) inside card title */
.who-we-are-section { --who-inline-gap: 0.35rem; }
.who-we-are-section .who-we-are-card .card-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: var(--who-inline-gap) !important;
}
.who-we-are-section .who-we-are-card .card-title i,
.who-we-are-section .who-we-are-card .card-title .experience-number,
.who-we-are-section .who-we-are-card .card-title .partners-number,
.who-we-are-section .who-we-are-card .card-title .title-label {
  margin: 0 !important;
  padding: 0 !important;
}
/* remove legacy individual margins that break equal spacing */
.who-we-are-section .who-we-are-card .card-title i { margin-right: 0 !important; }
.who-we-are-section .who-we-are-card .card-title .experience-number,
.who-we-are-section .who-we-are-card .card-title .partners-number { margin-right: 0 !important; }
@media (max-width: 480px) {
  .who-we-are-section { --who-inline-gap: 0.3rem; }
}

/* Increase spacing between the two stat cards inside Who We Are section */
@media (max-width: 1200px) {
  .who-we-are-section .who-we-are-container > .grid.grid-cols-2 {
    row-gap: 1.25rem !important;
    column-gap: 1.25rem !important;
    gap: 1.25rem !important;
  }
}
@media (max-width: 768px) {
  .who-we-are-section .who-we-are-container > .grid.grid-cols-2 {
    row-gap: 1.5rem !important;
    column-gap: 1.5rem !important;
    gap: 1.5rem !important;
  }
}
@media (max-width: 480px) {
  .who-we-are-section .who-we-are-container > .grid.grid-cols-2 {
    row-gap: 1.75rem !important;
    column-gap: 1.75rem !important;
    gap: 1.75rem !important;
  }
}

/* Equalize spacing: header-to-first-card gap equals inter-card gap */
@media (max-width: 1200px) {
  .who-we-are-section { --who-cards-gap: 1.25rem; }
  .who-we-are-section .who-we-are-header { margin-bottom: 0 !important; }
  .who-we-are-section .who-we-are-container { margin-top: 0 !important; }
  .who-we-are-section .who-we-are-container > .grid.grid-cols-2 {
    gap: var(--who-cards-gap) !important;
    margin-top: var(--who-cards-gap) !important;
  }
}
@media (max-width: 768px) {
  .who-we-are-section { --who-cards-gap: 1.5rem; }
  .who-we-are-section .who-we-are-header { margin-bottom: 0 !important; }
  .who-we-are-section .who-we-are-container { margin-top: 0 !important; }
  .who-we-are-section .who-we-are-container > .grid.grid-cols-2 {
    gap: var(--who-cards-gap) !important;
    margin-top: var(--who-cards-gap) !important;
  }
}
@media (max-width: 480px) {
  .who-we-are-section { --who-cards-gap: 1.75rem; }
  .who-we-are-section .who-we-are-header { margin-bottom: 0 !important; }
  .who-we-are-section .who-we-are-container { margin-top: 0 !important; }
  .who-we-are-section .who-we-are-container > .grid.grid-cols-2 {
    gap: var(--who-cards-gap) !important;
    margin-top: var(--who-cards-gap) !important;
  }
}

/* Hide Quick Links in footer on mobile only (do not affect desktop) */
@media (max-width: 768px) {
  .footer .footer-content .footer-section:nth-child(2) {
    display: none !important;
  }
}
