/* ==========================================================================
   COMPLETE COLOR OVERRIDE - PANGU BLUE & CORAL THEME
   Add this at the VERY TOP of your style.css file
   ========================================================================== */

/* FORCE CORRECT BRAND COLORS - HIGHEST PRIORITY */
html,
html body,
html body *,
:root {
    /* PRIMARY BRAND COLORS */
    --pangu-blue: #00799c !important;          /* Main brand blue */
    --coral-red:#ffb406 !important;          /* CTA coral red */
    
    /* OVERRIDE ALL ORANGE VARIABLES WITH CORRECT COLORS */
    --orange-900: #664802 !important;          /* Very dark yellow */
    --orange-800: #996c04 !important;          /* Darker yellow */
    --orange-700: #cc9005 !important;          /* Dark yellow */
    --orange-600: #ffb406 !important;          /* Medium yellow */
    --orange-500: #ffc338 !important;          /* Base yellow */
    --orange-400: #ffd26a !important;          /* Light yellow */
    --orange-300: #ffe19b !important;          /* Lighter yellow */
    --orange-200: #fff0cd !important;          /* Very light yellow */
    --orange-100: #fff8e6 !important;          /* Pale yellow */
    --orange-50: #ffffff !important;           /* Nearly white yellow */
    
    /* OVERRIDE ALL BLUE VARIABLES WITH PANGU BLUE */
    --blue-900: #004d61 !important;       /* Darkest blue base */
    --blue-800: #195d70 !important;       /* 10% lighter */
    --blue-700: #326e80 !important;       /* 20% lighter */
    --blue-600: #4c7f8f !important;       /* 30% lighter */
    --blue-500: #65909f !important;       /* 40% lighter */
    --blue-400: #7ea1ae !important;       /* 50% lighter */
    --blue-300: #97b2be !important;       /* 60% lighter */
    --blue-200: #b1c3cd !important;       /* 70% lighter */
    --blue-100: #cad4dd !important;       /* 80% lighter */
    --blue-50: #e8f8fd !important;        /* Lightest blue base */
    --electric-blue: #00799c !important;       /* Pangu blue */
    --electric-blue-dark: #004d61 !important;  /* Dark pangu */
    --electric-blue-light: #4FC3F7 !important; /* Light blue (not pink!) */
    --pantone-blue: #73b9d9 !important;
    
    /* Teal Green Accent Colors */
    --teal-green-900: #3CD6A1 !important;
    --teal-green-800: #4FDAAD !important;
    --teal-green-700: #62DEB9 !important;
    --teal-green-600: #75E2C5 !important;
    --teal-green-500: #3CD6A1 !important;
    --teal-green-400: #9FECD7 !important;
    --teal-green-300: #B2F0E3 !important;
    --teal-green-200: #C5F4EF !important;
    --teal-green-100: #D8F8FB !important;
    --teal-green-50: #F9FBFC !important;
    
    /* STEEL COLORS - Keep as is */
    --steel-900: #0a0a0b !important;
    --steel-800: #1a1a1d !important;
    --steel-700: #2d2d32 !important;
    --steel-600: #404047 !important;
    --steel-500: #54545c !important;
    --steel-400: #6b6b75 !important;
    --steel-300: #85858f !important;
    --steel-200: #a3a3ad !important;
    --steel-100: #c4c4cc !important;
    --steel-50: #e8e8eb !important;
    
    /* CORRECTED GRADIENTS */
    --primary-gradient: linear-gradient(135deg, var(--steel-700) 0%, var(--pangu-blue) 100%) !important;
    --hero-gradient: linear-gradient(135deg,
            var(--steel-900) 0%,
            var(--steel-800) 20%,
            var(--steel-700) 40%,
            var(--pangu-blue) 70%,
            var(--coral-red) 85%,
            var(--pangu-blue) 100%) !important;
    --card-gradient: linear-gradient(145deg, #ffffff 0%, var(--steel-50) 100%) !important;
}

/* ==========================================================================
   FORCE SPECIFIC ELEMENT COLORS
   ========================================================================== */

/* HERO SECTION - Fix title and tagline colors */
.hero-content h1,
.hero-tagline {
    background: linear-gradient(135deg, var(--steel-900) 0%, var(--steel-900) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: var(--pangu-blue) !important; /* Fallback */
}

.hero-tagline {
    background: linear-gradient(135deg, var(--pangu-blue) 0%, var(--pangu-blue) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: var(--steel-50) !important; /* Fallback */
}




.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

/* CIRCUIT ELEMENTS - Force pangu blue */
.circuit-line,
.laser-beam,
.electric-blue,
.laser-beam.blue {
    color: var(--pangu-blue) !important;
    stroke: var(--pangu-blue) !important;
    background: var(--pangu-blue) !important;
}

.laser-beam.brand {
    background: linear-gradient(to bottom, transparent, var(--coral-red), transparent) !important;
    box-shadow: 0 0 10px var(--coral-red), 0 0 20px var(--coral-red) !important;
}



/* BADGES AND CATEGORIES */
.badge-text,
.service-category {
    color: var(--pangu-blue) !important;
}

/* HEADINGS */
h1 {
    background: linear-gradient(135deg, var(--pangu-blue) 0%, var(--steel-700) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

h2 {
    color: var(--steel-800) !important;
}

h3 {
    color: var(--coral-red) !important;
}

/* SERVICE CARDS */
.service-name {
    color: var(--steel-800) !important;
}

.service-card:hover {
    border-color: var(--pangu-blue) !important;
    box-shadow: 
        0 20px 40px rgba(45, 45, 50, 0.1),
        0 8px 16px rgba(0, 121, 156, 0.15) !important;
}

/* MOLECULAR STRUCTURE ICONS */
.molecular-structure .atom,
.sample-prep .layer,
.sample-prep .process-line {
    background: var(--pangu-blue) !important;
    color: var(--pangu-blue) !important;
}

/* DOTS AND PARTICLES */
.laser-dots .dot,
.particle {
    background: var(--coral-red) !important;
    box-shadow: 0 0 6px var(--coral-red) !important;
}

/* LOGO ANIMATIONS */
.precision-underline {
    background: linear-gradient(90deg, var(--steel-700), var(--pangu-blue), var(--steel-700)) !important;
}

/* QUALITY METRICS */
.cert-badge:hover {
    border-color: rgba(0, 121, 156, 0.3) !important;
}

.progress-fill {
    background: linear-gradient(90deg, white 0%, white 100%) !important;
}

/* FOOTER */
.contact-info a,
.footer-links a:hover {
    color: var(--blue-50) !important;
}

/* BACK TO TOP BUTTON */
#back-to-top {
    background: linear-gradient(135deg, var(--coral-red), #ffa844) !important;
}

#back-to-top:hover {
    background: linear-gradient(135deg, #ffa844, #ffa844) !important;
}

/* ==========================================================================
   REMOVE ANY CONFLICTING ORANGE/BLUE STYLING
   ========================================================================== */

/* Override any remaining orange elements */
.orange-500,
.orange-600,
.bg-orange-500,
.bg-orange-600 {
    background-color: var(--coral-red) !important;
    color: var(--coral-red) !important;
}

/* Override any remaining blue elements */
.blue-500,
.blue-600,
.bg-blue-500,
.bg-blue-600 {
    background-color: var(--pangu-blue) !important;
    color: var(--pangu-blue) !important;
}

/* Circuit patterns */
.analysis-grid {
    border: 1px solid rgba(0, 121, 156, 0.4) !important;
    background: 
        linear-gradient(to right, transparent 49%, rgba(0, 121, 156, 0.2) 50%, transparent 51%),
        linear-gradient(to bottom, transparent 49%, rgba(0, 121, 156, 0.2) 50%, transparent 51%) !important;
}

/* Chip elements */
.chip-core::after {
    background: var(--coral-red) !important;
}

/* ==========================================================================
   FALLBACK FOR ANY MISSED ELEMENTS
   ========================================================================== */

/* Catch-all for any elements still showing wrong colors */
[class*="orange"]:not(.steel):not(.gray) {
    color: var(--coral-red) !important;
}

[class*="blue"]:not(.steel):not(.gray) {
    color: var(--pangu-blue) !important;
}

/* ==========================================================================
   EMERGENCY COLOR FIX - Add this at the TOP of your style.css
   ========================================================================== */

/* Override all problematic color assignments */
:root {
    /* CORRECT BRAND COLORS */
    --brand-blue: #00799c !important;      /* Primary brand blue */
    --brand-coral: #ffb406 !important;     /* CTA coral */
    
    /* FIX ORANGE VARIABLES (make them actually coral/red) */
    --orange-600: #ffb406 !important;      /* Coral for CTAs */
    --orange-500: #ffc338 !important;      /* Light coral */
    --orange-400: #ffd26a !important;      /* Lighter coral */
    
    /* FIX BLUE VARIABLES */
    --electric-blue: #00799c !important;
    --electric-blue-dark: #004d61 !important;
    --electric-blue-light: #4FC3F7 !important;  /* Actually blue! */
}


.laser-beam.blue,
.circuit-line,
.electric-blue {
    color: var(--brand-blue) !important;
    stroke: var(--brand-blue) !important;
}

.badge-text,
.service-category {
    color: var(--brand-blue) !important;
}


.primary-gradient {
    background: radial-gradient(circle, var(--blue-50) 0%, var(--blue-200) 35%, var(--blue-300) 70%, var(--pangu-blue) 100%) !important;
}

/* Brand-specific color fixes */
h3 {
    color: var(--brand-coral) !important;
}

.service-name {
    color: var(--steel-800) !important;  /* Dark steel for readability */
}

.metric-value .value-number {
    color: #2d2d32 !important;  /* Dark steel for numbers */
}


/* ==========================================================================
   CORRECTED BRAND COLORS - High Priority Override
   ========================================================================== */

/* Fixed brand colors with proper color assignments */
html body.wp-site,
html body,
:root {
    /* Primary Brand Colors */
    --brand-primary: #00799c !important;        /* Pangu 315 Blue - Main brand color */
    --brand-secondary: #ffb406 !important;      /* Coral - CTA color */
    
    /* Electric Blue for Circuits */
    --electric-blue: #00799c !important;        /* Same as brand primary */
    --electric-blue-dark: #004d61 !important;   /* Darker blue */
    --electric-blue-light: #4FC3F7 !important;  /* Light blue, not pink! */
    
    /* Orange/Coral Scale (actually using coral/blue theme) */
    --orange-500: #ffb406 !important;           /* Coral - CTA color */
    --orange-600: #ffb406 !important;           /* Darker coral */
    --orange-400: #ffd26a !important;           /* Light coral */
    --orange-300: #ffe19b !important;           /* Very light coral */
}

/* Force specific color overrides for elements that might use the old colors */
.laser-beam.blue,
.badge-text,
.molecular-structure .atom,
.sample-prep .process-line,
.service-category {
    color: #00799c !important;  /* Brand blue */
}

/* Force background colors */
.molecular-structure .atom,
.sample-prep .layer,
.sample-prep .process-line {
    background: #00799c !important;  /* Brand blue */
}


/*
Theme Name: INSCOPE LABS Modern
Description: A modern, professional WordPress theme for INSCOPE LABS analytical laboratory. Features circuit-inspired design, SVG animations, and industrial precision aesthetics with enhanced semiconductor chip analysis background.
Author: INSCOPE Development Team
Version: 2.2.0
License: GPL v2 or later
Text Domain: inscope-labs-modern
Tags: business, laboratory, scientific, technical, animated, modern, circuits

Industrial precision with clean, modern aesthetics
   - Professional steel and brand color palette
- Circuit-inspired design elements
- Enhanced SVG animations and micro-interactions
- Semiconductor chip analysis background
- Performance-optimized loading
*/

/* ==========================================================================
CSS Custom Properties (Variables)
   ========================================================================== */


   :root {
    /* Industrial Steel Palette - Keep as is */
    --steel-900: #0a0a0b;
    --steel-800: #1a1a1d;
    --steel-700: #2d2d32;
    --steel-600: #404047;
    --steel-500: #54545c;
    --steel-400: #6b6b75;
    --steel-300: #85858f;
    --steel-200: #a3a3ad;
    --steel-100: #c4c4cc;
    --steel-50: #e8e8eb;

    /* CORRECTED Brand Colors */
    --orange-900: #664802;         /* Dark red for depth */
    --orange-800: #996c04;         /* Medium red */
    --orange-700: #cc9005;         /* Standard red */
    --orange-600: #ffb406;         /* Coral - Main CTA */
    --orange-500: #ffc338;         /* Light coral */
    --orange-400: #ffd26a;         /* Lighter coral */
    --orange-300: #ffe19b;         /* Very light coral */
    --orange-200: #fff0cd;         /* Soft Silver */
    --orange-100: #fff8e6;         /* Cool White */
    --orange-50: #ffffff;

    /* Blue System for Technical Elements */
    --blue-900: #004d61;           /* Very dark blue */
    --blue-800: #00626b;           /* Dark blue */
    --blue-700: #007080;           /* Medium blue */
    --blue-600: #00799c;           /* PRIMARY BRAND BLUE */
    --blue-500: #0099CC;           /* Lighter blue */
    --blue-400: #33B5E5;           /* Light blue */
    --blue-300: #87CEEB;           /* Sky blue */
    --blue-200: #B3E5FC;           /* Very light blue */
    --blue-100: #E1F5FE;           /* Pale blue */

    /* Electric Blue for Circuits (using blue system) */
    --electric-blue: var(--blue-600);        /* Primary brand blue */
    --electric-blue-dark: var(--blue-800);   /* Darker blue */
    --electric-blue-light: var(--blue-400);  /* Light blue */

    /* Updated Gradients */
    --primary-gradient: linear-gradient(135deg, var(--steel-700) 0%, var(--blue-600) 100%);
    --hero-gradient: linear-gradient(135deg,
            var(--steel-900) 0%,
            var(--steel-800) 20%,
            var(--steel-700) 40%,
            var(--blue-800) 70%,
            var(--orange-600) 85%,
            var(--blue-600) 100%);
    --card-gradient: linear-gradient(145deg, #ffffff 0%, var(--steel-50) 100%);

    /* Rest of variables remain the same... */
    --font-family-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-family-mono: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;


    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Animation Timing */
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
}

/* ==========================================================================
Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--steel-800);
    background-color: #ffffff;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--blue-50);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--steel-800);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--teal-green-500);
}

h4 {
    font-size: 1.0rem;
    color: var(--pangu-blue);
    margin: 0 0 0.0rem 0    ;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--steel-600);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--steel-700);
}

.mono {
    font-family: var(--font-family-mono);
    font-size: 0.9rem;
    background: var(--steel-100);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    color: var(--teal-green-500);
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
}

.section {
    padding: 4em 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Main Content Alignment */
.site-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

.grid {
    display: grid;
    gap: var(--spacing-xl);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

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

.flex {
    display: flex;
    gap: var(--spacing-lg);
}

.flex-center {
    align-items: center;
    justify-content: center;
}

.flex-between {
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

   .site-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 121, 156, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--duration-normal) var(--ease-out);
    box-shadow: 0 1px 3px rgba(0, 121, 156, 0.05);
    overflow: hidden;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 121, 156, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 50%, rgba(255, 90, 95, 0.08) 0%, transparent 40%),
        linear-gradient(90deg, transparent 0%, rgba(0, 121, 156, 0.02) 50%, transparent 100%);
    animation: precision-header-flow 8s ease-in-out infinite;
    pointer-events: none;
    overflow: hidden;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 121, 156, 0.6), rgba(255, 187, 0, 0.8), rgba(0, 121, 156, 0.6), transparent);
    animation: precision-laser-sweep 10s linear infinite;
    pointer-events: none;
    overflow: visible;
}

.site-header.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 1) 100%);
    box-shadow: 0 4px 20px rgba(0, 121, 156, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 121, 156, 0.2);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 0 0 0;
    min-height: 30px;
    gap: var(--spacing-lg);
    max-width: 100%;                 /* contain header elements */
    margin: 0 auto;                    /* center horizontally */
    padding-inline: var(--spacing-xs); /* ensure breathing room */
    width: 100%;                       /* prevent overflow */
    box-sizing: border-box;            /* makes padding count inside width */
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: 0;
    max-width: 100%;
    position: relative;
    padding: var(--spacing-sm);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-out);
}

.logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.logo-image {
    height: auto;
    width: auto;
    max-width: 220px;
    max-height: 70px;
    display: block;
    position: relative;
    z-index: 2;
    transition: all var(--duration-normal) var(--ease-out);
    padding: 8px 4px;
    object-fit: contain;
}

.company-tagline {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
    text-align: center;
    font-family: var(--font-primary, Arial), sans-serif;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.site-logo:hover .logo-image {
    transform: scale(1.05);
    background: var(--white) !important;
}

.precision-sparks {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle, transparent 70%, rgba(0, 121, 156, 0.1) 100%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.site-logo:hover .precision-sparks {
    opacity: 0;
}

.precision-underline {
    height: 2px;
    width: 0;
    background: var(--blue-50);
    background-size: 200% 100%;
    transition: width 0.6s ease-out;
    border-radius: 1px;
    animation: welding-line 3s infinite linear;
}

.site-logo:hover .precision-underline {
    width: 100%;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    margin:0;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation a {
    text-decoration: none;
    color: var(--steel-700);
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pangu-blue);
    transition: width 0.3s ease-out;
}

.main-navigation a:hover {
    color: var(--pangu-blue);
    background: rgba(0, 121, 156, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 121, 156, 0.1);
}

.main-navigation a:hover::before {
    width: 100%;
}

/* ==========================================================================
   Enhanced Hero Section with Semiconductor Chip Background
   ========================================================================== */

.hero-section {
    background: radial-gradient(circle, var(--blue-50) 0%, var(--blue-50) 35%, var(--blue-50) 70%, var(--blue-50) 100%);
    color: white;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 12rem !important;
    padding-bottom: 3rem !important;
}

/* Semiconductor Chip Background */
.semiconductor-background {
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%) rotate(-15deg);
    width: 600px;
    height: 400px;
    z-index: 1;
    opacity: 0.3;
    perspective: 1000px;
}

.chip-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: chipFloat 8s ease-in-out infinite;
}

.chip-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2332 0%, #2a3441 100%);
    border-radius: 12px;
    border: 2px solid rgba(0, 121, 156, 0.3);
    box-shadow: 
        0 0 30px rgba(0, 121, 156, 0.2),
        inset 0 0 20px rgba(0, 121, 156, 0.1);
    overflow: hidden;
}

/* Chip Image */
.chip-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    object-fit: cover;
    opacity: 0.8;
    filter: brightness(1.1) contrast(1.2);
    border-radius: 8px;
    z-index: 1;
    transition: all 0.3s ease;
}

.chip-container:hover .chip-image {
    opacity: 0.9;
    filter: brightness(1.2) contrast(1.3) saturate(1.1);
    transform: translate(-50%, -50%) scale(1.02);
}

/* Circuit Patterns on Chip */
.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(0, 121, 156, 0.15) 10px, rgba(0, 121, 156, 0.15) 11px),
        repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(0, 121, 156, 0.15) 10px, rgba(0, 121, 156, 0.15) 11px);
    border-radius: 12px;
    z-index: 2;
}

/* Analysis Laser Beams */
.laser-beam {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--electric-blue), transparent);
    box-shadow: 0 0 10px var(--electric-blue), 0 0 20px var(--electric-blue);
    border-radius: 1px;
    animation: laserScan 4s ease-in-out infinite;
}

.laser-beam.blue {
    left: 30%;
    top: -50px;
    height: 200px;
    animation-delay: 0s;
}

.laser-beam.brand {
    background: linear-gradient(to bottom, transparent, var(--teal-green-500), transparent);
    box-shadow: 0 0 10px var(--teal-green-500), 0 0 20px var(--teal-green-500);
    right: 25%;
    top: -50px;
    height: 200px;
    animation-delay: 2s;
}

/* Analysis Grid Overlay */
.analysis-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border: 1px solid rgba(0, 121, 156, 0.4);
    background: 
        linear-gradient(to right, transparent 49%, rgba(0, 121, 156, 0.2) 50%, transparent 51%),
        linear-gradient(to bottom, transparent 49%, rgba(0, 121, 156, 0.2) 50%, transparent 51%);
    background-size: 20px 20px;
    animation: gridPulse 3s ease-in-out infinite;
    z-index: 3;
}

/* Circuit Trace Animations */
.circuit-traces {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    z-index: 2;
}

.trace {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal-green-500), transparent);
    animation: traceFlow 3s linear infinite;
}

.trace:nth-child(1) {
    top: 25%;
    width: 60%;
    left: 20%;
    animation-delay: 0s;
}

.trace:nth-child(2) {
    top: 50%;
    width: 40%;
    right: 15%;
    animation-delay: 1s;
}

.trace:nth-child(3) {
    top: 75%;
    width: 55%;
    left: 25%;
    animation-delay: 2s;
}

/* Enhanced Circuit Background */
.circuit-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 1;
}

.circuit-line {
    fill: none;
    stroke: var(--electric-blue);
    stroke-width: 1;
    stroke-dasharray: 5;
    stroke-dashoffset: 10;
    filter: drop-shadow(0 0 3px var(--electric-blue));
    animation: circuitFlow 4s ease-in-out infinite;
}

/* Floating Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--teal-green-500);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s linear infinite;
    box-shadow: 0 0 6px var(--orange-500);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 5;
    max-width: 600px;
    animation: contentFadeIn 2s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: bold;
    color: var(--steel-900);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 121, 156, 0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero-tagline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--pangu-blue);
    text-shadow:
        0 0 20px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(0, 121, 156, 0.3);
    animation: taglineFlicker 4s ease-in-out infinite;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    color: var(--steel-900);
    text-shadow:
        0 4px 8px rgba(255, 255, 255, 0.5);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Enhanced Hero Buttons */
.hero-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
}

.hero-btn-primary {
    background: var(--coral-red) !important;
    border-color: var(--orange-50) !important;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow:
        0 8px 16px rgba(255, 217, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow:
        0 8px 16px rgba(255, 255, 255, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-text {
    position: relative;
    z-index: 3;
    transition: transform 0.3s ease;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn-spark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--orange-300);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow:
        0 0 12px var(--orange-400),
        0 0 24px var(--orange-400);
}

.hero-btn:hover .btn-text {
    transform: scale(1.05);
}

.hero-btn:hover .btn-glow {
    opacity: 1;
}

.hero-btn:hover .btn-spark {
    opacity: 1;
    transform: translate(-50%, -50%) scale(3);
    animation: spark-pulse 0.6s ease-out;
}

.hero-btn:hover {
    transform: translateY(-3px);
}

.hero-btn-primary:hover {
    background: var(--orange-700);
    box-shadow:
        0 12px 24px rgba(255, 217, 0, 0.4),
        0 6px 12px rgba(0, 0, 0, 0.3);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 12px 24px rgba(255, 255, 255, 0.2),
        0 6px 12px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Metallic Section Divider
   ========================================================================== */

.section-divider {
    position: relative;
    z-index: 3;
}

.metallic-divider {
    background: linear-gradient(180deg, 
        #f1f3f4 0%, 
        #e8eaed 20%, 
        #dee1e6 50%, 
        #e8eaed 80%, 
        #fefefe 100%
    );
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.metallic-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #bdc1c6 20%, 
        #9aa0a6 50%, 
        #bdc1c6 80%, 
        transparent 100%
    );
}

.metallic-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #bdc1c6 20%, 
        #9aa0a6 50%, 
        #bdc1c6 80%, 
        transparent 100%
    );
}

.divider-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.metallic-line {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 800px;
    position: relative;
}

.line-segment {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #9aa0a6 10%, 
        #80868b 30%, 
        #5f6368 50%, 
        #80868b 70%, 
        #9aa0a6 90%, 
        transparent 100%
    );
    position: relative;
    overflow: hidden;
}

.line-segment::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 121, 156, 0.8) 50%, 
        transparent 100%
    );
    animation: metallic-sweep 4s ease-in-out infinite;
}

.line-segment:nth-child(3)::after {
    animation-delay: 2s;
}

.divider-icon {
    margin: 0 2rem;
    position: relative;
    z-index: 3;
}

.metallic-chip {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        #f8f9fa 0%, 
        #e8eaed 25%, 
        #bdc1c6 50%, 
        #9aa0a6 75%, 
        #80868b 100%
    );
    border: 2px solid #5f6368;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.1);
    animation: metallic-pulse 3s ease-in-out infinite;
}

.metallic-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%
    );
    animation: metallic-shine 3s ease-in-out infinite;
}

.chip-core {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(135deg, 
        #5f6368 0%, 
        #3c4043 50%, 
        #202124 100%
    );
    border: 1px solid #80868b;
    position: relative;
    z-index: 2;
}

.chip-core::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 4px;
    height: 4px;
    background: var(--teal-green-500);
    border-radius: 50%;
    animation: core-pulse 2s ease-in-out infinite;
}

.chip-circuits {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.circuit-trace {
    position: absolute;
    background: linear-gradient(90deg, 
        #80868b 0%, 
        #9aa0a6 50%, 
        #80868b 100%
    );
    border-radius: 0.5px;
}

.circuit-trace:nth-child(1) {
    top: 15px;
    left: 10px;
    width: 15px;
    height: 1px;
}

.circuit-trace:nth-child(2) {
    top: 25px;
    right: 10px;
    width: 12px;
    height: 1px;
}

.circuit-trace:nth-child(3) {
    bottom: 20px;
    left: 8px;
    width: 18px;
    height: 1px;
}

.circuit-trace:nth-child(4) {
    top: 35px;
    left: 15px;
    width: 1px;
    height: 10px;
}

.divider-text {
    position: relative;
}

.divider-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, 
        #5f6368 0%, 
        #80868b 50%, 
        #5f6368 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.divider-label::before,
.divider-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #9aa0a6 50%, 
        transparent 100%
    );
}

.divider-label::before {
    right: 100%;
    margin-right: 1rem;
}

.divider-label::after {
    left: 100%;
    margin-left: 1rem;
}

/* Metallic Animations */
@keyframes metallic-sweep {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

@keyframes metallic-pulse {
    0%, 100% { transform: scale(1); box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.1); }
    50% { transform: scale(1.05); box-shadow: 
        inset 0 2px 6px rgba(255, 255, 255, 0.4),
        inset 0 -2px 6px rgba(0, 0, 0, 0.3),
        0 6px 12px rgba(0, 0, 0, 0.15); }
}

@keyframes metallic-shine {
    0%, 100% { left: -100%; opacity: 0; }
    50% { left: 100%; opacity: 1; }
}

@keyframes core-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ==========================================================================
   Services Section - Modern Card-Based Design
   ========================================================================== */

.services-section {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, #f9fafb 100%);
    padding: 4em 0;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.industry-section {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, #f9fafb 100%);
    padding: 4em 0;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.defects-section {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, #f9fafb 100%);
    padding: 4em 0;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

/* Modern Services Header */
.services-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 121, 156, 0.05);
    border: 1px solid rgba(0, 121, 156, 0.15);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.25rem;
    filter: grayscale(1) brightness(0.5);
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal-green-500);
    letter-spacing: 0.05em;
}

.services-title {
    margin: 0;
}

.services-title .title-main {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem); /* Reduced from clamp(2.5rem, 5vw, 3.5rem) */
    font-weight: 700;
    color: var(--steel-900);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: var(--pangu-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-title .title-tagline {
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--steel-600);
    letter-spacing: 0.05em;
}

/* Services Grid */
.services-grid,
.industry-grid,
.defects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Large Desktop - Ensure cards don't get too wide */
@media (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(4, minmax(400px, 450px));
        justify-content: center;
    }
}

/* Desktop - Maintain 3 columns with flexible sizing */
@media (max-width: 1200px) {
    .services-grid,
    .industry-grid,
    .defects-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

/* Tablet - 2 columns with centered third card */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Center the third card when it wraps */
    .service-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* Small Tablet - Ensure cards still look good */
@media (max-width: 850px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .service-card:nth-child(3) {
        max-width: 400px;
    }
}

/* Industry Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Large Desktop - Ensure cards don't get too wide */
@media (min-width: 1400px) {
    .industry-grid {
        grid-template-columns: repeat(4, minmax(400px, 450px));
        justify-content: center;
    }
}

/* Desktop - Maintain 4 columns with flexible sizing */
@media (max-width: 1200px) {
    .industry-grid {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablet - 2 columns with centered third card */
@media (max-width: 992px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Center the fourth card when it wraps */
    /* .service-card:nth-child(4) {
        grid-column: 1 / -1;
        max-width: auto;
        margin: 0 auto;
    }

    .industry-card:nth-child(4) {
        grid-column: 1 / -1;
        max-width: auto;
        margin: 0 auto;
    } */
}

/* Small Tablet - Ensure cards still look good */
@media (max-width: 850px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* .service-card:nth-child(4) {
        max-width: auto;
    }

    .industry-card:nth-child(4) {
        max-width: auto;
    } */
}

/* Defects Grid */
.defects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Large Desktop - Ensure cards don't get too wide */
@media (min-width: 1400px) {
    .defects-grid {
        grid-template-columns: repeat(4, minmax(400px, 450px));
        justify-content: center;
    }
}

/* Desktop - Maintain 4 columns with flexible sizing */
@media (max-width: 1200px) {
    .defects-grid {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablet - 2 columns with centered third card */
@media (max-width: 992px) {
    .defects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Center the fourth card when it wraps
    .service-card:nth-child(4) {
        grid-column: 1 / -1;
        max-width: auto;
        margin: 0 auto;
    }

    .industry-card:nth-child(4) {
        grid-column: 1 / -1;
        max-width: auto;
        margin: 0 auto;
    } */
}

/* Small Tablet - Ensure cards still look good */
@media (max-width: 850px) {
    .defects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* .service-card:nth-child(4) {
        max-width: auto;
    }

    .industry-card:nth-child(4) {
        max-width: auto;
    } */
}

/* Service Cards */
.service-card {
    background: var(--pantone-blue);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--teal-green-500) 30%, var(--teal-green-600) 70%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 121, 156, 0.2);
    box-shadow: 
        0 20px 40px rgba(45, 45, 50, 0.1),
        0 8px 16px rgba(0, 121, 156, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.industry-card {
    background: var(--blue-50) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    transform: translateY(0);
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--teal-green-500) 30%, var(--teal-green-600) 70%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.industry-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 121, 156, 0.2);
    box-shadow: 
        0 20px 40px rgba(45, 45, 50, 0.1),
        0 8px 16px rgba(0, 121, 156, 0.15);
}

.industry-card:hover::before {
    opacity: 1;
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(1, 196, 250, 0.201) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.industry-card:hover .card-glow {
    opacity: 1;
}
/* Card Header */
.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 121, 156, 0.1) 0%, rgba(255, 138, 142, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.icon-graphic {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.category-box:hover .category-image {
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.2);
}

/* Icon Graphics */
.laser-dots {
    display: flex;
    gap: 4px;
}

.laser-dots .dot {
    width: 6px;
    height: 6px;
    background: var(--teal-green-500);
    border-radius: 50%;
    animation: laser-pulse 2s ease-in-out infinite;
}

.laser-dots .dot:nth-child(2) {
    animation-delay: 0.3s;
}

.laser-dots .dot:nth-child(3) {
    animation-delay: 0.6s;
}

.molecular-structure {
    position: relative;
    width: 24px;
    height: 24px;
}

.molecular-structure .atom {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--teal-green-500);
    border-radius: 50%;
    animation: atom-orbit 3s ease-in-out infinite;
}

.molecular-structure .atom:nth-child(1) {
    top: 0;
    left: 9px;
}

.molecular-structure .atom:nth-child(2) {
    bottom: 0;
    left: 0;
    animation-delay: 1s;
}

.molecular-structure .atom:nth-child(3) {
    bottom: 0;
    right: 0;
    animation-delay: 2s;
}

.molecular-structure .bond {
    position: absolute;
    width: 2px;
    height: 12px;
    background: var(--steel-400);
    transform-origin: center;
}

.molecular-structure .bond:nth-child(4) {
    top: 6px;
    left: 6px;
    transform: rotate(45deg);
}

.molecular-structure .bond:nth-child(5) {
    top: 6px;
    right: 6px;
    transform: rotate(-45deg);
}

.sample-prep {
    position: relative;
    width: 24px;
    height: 20px;
}

.sample-prep .layer {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--teal-green-500);
    border-radius: 1px;
}

.sample-prep .layer:nth-child(1) {
    top: 0;
    opacity: 0.8;
}

.sample-prep .layer:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

.sample-prep .layer:nth-child(3) {
    bottom: 0;
    opacity: 0.4;
}

.sample-prep .process-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: var(--teal-green-500);
    right: 4px;
    animation: process-scan 2s ease-in-out infinite;
}

/* Service Meta */
.service-meta {
    flex: 1;
}

.service-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal-green-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.service-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--steel-800) !important;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
}

/* Large Image Service Card Variant */
.service-card-large-image {
    padding: 0;
}

.service-image-large {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    margin-bottom: 0;
}

.service-hero-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: all 0.3s ease;
    filter: brightness(1.0) contrast(1.1);
}

.service-card-large-image:hover .service-hero-image {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.2);
}

.service-card-large-image .service-header {
    padding: 1.5rem 2rem 1rem 2rem;
}

.service-card-large-image .service-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--steel-800) !important;
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

.service-card-large-image .card-content {
    padding: 0 2rem 2rem 2rem;
    margin-bottom: 0;
}

.service-card-large-image .card-footer {
    padding: 0 0.5rem 0.125rem 0.5rem;
}

/* Card Content */
.card-content {
    margin-bottom: 1.5rem;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--steel-800);
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-group {
    flex: 1;
}

.feature-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal-green-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-list li {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--steel-700);
    position: relative;
    padding-left: 1rem;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 4px;
    height: 4px;
    background: var(--teal-green-500);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Tech Specs */
.tech-specs {
    background: rgba(0, 121, 156, 0.03);
    border: 1px solid rgba(0, 121, 156, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
}

.spec-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--steel-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--steel-800);
    font-family: var(--font-mono);
}

/* Card Footer */
.card-footer {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(45, 45, 50, 0.05);
    border-radius: 1px;
    overflow: hidden;
}

.service-pulse {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--pangu-blue) 50%, transparent 100%);
    animation: service-pulse 3s ease-in-out infinite;
}

/* Services Ambiance */
.services-ambiance {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.analysis-beam {
    position: absolute;
    top: 20%;
    left: 0;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--teal-green-500) 50%, transparent 100%);
    opacity: 0.3;
    animation: beam-scan 6s ease-in-out infinite;
}

.data-stream {
    position: absolute;
    top: 60%;
    right: 0;
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--teal-green-500) 50%, transparent 100%);
    opacity: 0.4;
    animation: data-flow 4s ease-in-out infinite;
}

.precision-grid {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: 
        linear-gradient(90deg, transparent 49%, rgba(0, 121, 156, 0.1) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(0, 121, 156, 0.1) 50%, transparent 51%);
    background-size: 20px 20px;
    opacity: 0.3;
    animation: grid-pulse 5s ease-in-out infinite;
}

/* Animations */
@keyframes laser-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes atom-orbit {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes process-scan {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.5); }
}

@keyframes service-pulse {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes beam-scan {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 0.6; transform: translateX(100px); }
}

@keyframes data-flow {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 0.7; transform: translateX(-100px); }
}

@keyframes grid-pulse {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateX(-50%) scale(1.1); }
}

/* ==========================================================================
   Company Section
   ========================================================================== */

/* ==========================================================================
   Company Section - Modern & Minimalist Design
   ========================================================================== */

.company-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 30%, #f1f3f4 100%);
    padding: 4em 0em 4em 0em;
    position: relative;
    overflow: hidden;
}

/* Modern Company Header */
.company-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.company-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 121, 156, 0.05);
    border: 1px solid rgba(0, 121, 156, 0.15);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-year {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal-green-500);
    letter-spacing: 0.05em;
}

.badge-location {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--steel-600);
    position: relative;
    padding-left: 1rem;
}

.badge-location::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 12px;
    background: var(--teal-green-500);
    border-radius: 1px;
}

.company-title {
    margin: 0;
}

.title-main {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem); /* Reduced from clamp(2.5rem, 5vw, 3.5rem) */
    font-weight: 700;
    color: var(--steel-900);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: var(--pangu-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-tagline {
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--steel-600);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
}

/* .title-tagline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--pangu-blue);
    animation: tagline-glow 3s ease-in-out infinite;
} */

/* Company Story Grid */
.company-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 var(--spacing-2xl);
    align-items: start;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    overflow-x: hidden;
}

.story-content {
    max-width: none;
    width: 100%;
}

.story-highlight {
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pangu-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-left: 1.5rem;
}

.highlight-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background: var(--teal-green-500);
}

.story-lead {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.75;
    color: var(--steel-700);
    margin-bottom: 1.5rem;
    text-align: left;
}

.story-detail {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--steel-700);
    margin-bottom: 2rem;
    text-align: left;
}

.expertise-line {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--steel-200);
    border-bottom: 1px solid var(--steel-200);
}

.expertise-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--steel-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.expertise-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--steel-700);
    line-height: 1.6;
}

/* Achievement Metrics */
.achievement-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 2.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(45, 45, 50, 0.08);
    border-radius: 20px;
    padding: 7rem 2rem;
    position: relative;
}

.achievement-metrics .metric-item:first-child {
    grid-column: 1 / -1;
}

.achievement-metrics .metric-item:last-child {
    grid-column: 1 / -1;
}

.achievement-metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--teal-green-500) 50%, transparent 100%);
}

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



.metric-visual {
    margin-bottom: 1rem;
    position: relative;
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--steel-900);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-progress {
    width: 100%;
    height: 2px;
    background: var(--steel-200);
    border-radius: 1px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-line {
    height: 100%;
    background: linear-gradient(90deg, var(--teal-green-500) 0%, var(--teal-green-400) 100%);
    border-radius: 1px;
    transform: translateX(-100%);
    animation: progress-fill 2s ease-out forwards 1s;
}

.metric-item.certification .metric-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0;
}

.metric-badge {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pangu-blue);
    line-height: 1;
}

.metric-cert {
    font-size: 1rem;
    font-weight: 600;
    color: var(--steel-700);
    line-height: 1;
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--steel-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Subtle Brand Elements */
.company-ambiance {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.precision-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--teal-green-500);
    border-radius: 50%;
    opacity: 0.4;
}

.precision-dot:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: precision-float 4s ease-in-out infinite;
}

.precision-dot:nth-child(2) {
    top: 60%;
    right: 15%;
    animation: precision-float 4s ease-in-out infinite 1.5s;
}

.precision-dot:nth-child(3) {
    bottom: 25%;
    left: 20%;
    animation: precision-float 4s ease-in-out infinite 3s;
}

.precision-line {
    position: absolute;
    top: 50%;
    right: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--teal-green-500) 50%, transparent 100%);
    opacity: 0.3;
    transform: translateY(-50%);
    animation: precision-pulse 3s ease-in-out infinite;
}

/* Animations */
@keyframes tagline-glow {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

@keyframes progress-fill {
    to { transform: translateX(0); }
}

@keyframes precision-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-10px) scale(1.2); opacity: 0.8; }
}

@keyframes precision-pulse {
    0%, 100% { opacity: 0.3; transform: translateY(-50%) scaleX(1); }
    50% { opacity: 0.6; transform: translateY(-50%) scaleX(1.2); }
}

/* ==========================================================================
   Company Timeline Section
   ========================================================================== */

   .timeline-section {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 50%, #ffffff 100%);
    padding: 2.5em;
    position: relative;
    overflow: hidden;
}

/* Timeline Header */
.timeline-header {
    text-align: center;
    margin-bottom: 3rem; /* Reduced from 5rem */
    position: relative;
    z-index: 2;
}

.timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(22, 249, 162, 0.1);
    border: 1px solid var(--teal-green-500);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.timeline-badge .badge-icon {
    font-size: 1.25rem;
    filter: grayscale(1) brightness(0.5);
}

.timeline-badge .badge-text {
    font-size: 0.75rem; /* Reduced from 0.875rem */
    font-weight: 600;
    color: var(--teal-green-500);
    letter-spacing: 0.05em;
}

.timeline-title {
    margin: 0;
}

.timeline-title .title-main {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem); /* Reduced from clamp(2.5rem, 5vw, 3.5rem) */
    font-weight: 700;
    color: var(--steel-900);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: var(--pangu-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-title .title-tagline {
    display: block;
    font-size: 1.125rem; /* Reduced from 1.125rem */
    font-weight: 400;
    color: var(--steel-600);
    letter-spacing: 0.05em;
}

/* Timeline Container */
.timeline-wrapper {
    position: relative;
    max-width: 1000px; /* Increased from 800px */
    margin: 0 auto;
    padding: 0 1rem;
}

.timeline-container {
    position: relative;
    padding: 1rem 0;
}

/* Central Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--steel-300) 20%, var(--steel-300) 80%, transparent 100%);
    transform: translateX(-50%);
    z-index: 0;
}

.line-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--teal-green-500) 0%, var(--electric-blue) 100%);
    animation: timeline-progress 2s ease-out forwards;
    animation-delay: 0.5s;
    z-index: 0;
}

/* Milestone Items */
.milestone {
    position: relative;
    margin-bottom: 1.25rem; /* Reduced from 2rem */
    opacity: 0;
    transform: translateY(30px);
    animation: milestone-fade-in 0.8s ease-out forwards;
}

.milestone:nth-child(odd) {
    animation-delay: calc(var(--index, 0) * 0.1s + 0.2s);
}

.milestone:nth-child(even) {
    animation-delay: calc(var(--index, 0) * 0.1s + 0.3s);
}

/* Milestone Connector */
.milestone-connector {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-green-500) 0%, var(--electric-blue) 100%);
    transform: translateY(-50%);
    z-index: 2;
}

.milestone:nth-child(odd) .milestone-connector {
    left: 50%;
    margin-left: -1px;
}

.milestone:nth-child(even) .milestone-connector {
    right: 50%;
    margin-right: -1px;
}

/* Milestone Marker */
.milestone-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--teal-green-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.milestone-marker:hover {
    transform: translate(-50%, -50%) scale(1.1);
    border-color: var(--electric-blue);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.marker-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(22, 249, 162, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.milestone-marker:hover .marker-glow {
    opacity: 1;
}

.marker-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--teal-green-500);
    border-radius: 50%;
    animation: marker-pulse 2s ease-in-out infinite;
    opacity: 0.6;
}

.marker-year {
    font-size: 0.85rem; /* Reduced from 1rem */
    font-weight: 700;
    color: var(--steel-900);
    font-family: var(--font-family-mono);
}

/* Milestone Content */
.milestone-content {
    position: relative;
    width: 48%; /* Increased from 45% */
    max-width: 450px; /* Increased from 400px */
}

.milestone-content.content-left {
    right: -2%; /* Adjusted from -5% */
    text-align: right;
}

.milestone-content.content-right {
    left: 52%; /* Adjusted from 55% */
    text-align: left;
}

.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(45, 45, 50, 0.08);
    border-radius: 12px;
    padding: 1.5rem; /* Increased from 1rem */
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.content-card:hover {
    transform: translateY(-8px);
    border-color: rgba(22, 249, 162, 0.2);
    box-shadow: 
        0 20px 40px rgba(45, 45, 50, 0.1),
        0 8px 16px rgba(22, 249, 162, 0.15);
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--teal-green-500) 30%, var(--electric-blue) 70%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.content-card:hover::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(18, 211, 250, 0.119) 0%, transparent 90%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.content-card:hover .card-glow {
    opacity: 1;
}

/* Content Header */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem; /* Increased from 0.75rem */
}

.content-category {
    font-size: 0.65rem; /* Reduced from 0.75rem */
    font-weight: 600;
    color: var(--teal-green-500);
    background: var(--teal-green-50);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.content-year {
    font-size: 1.1rem; /* Reduced from 1.25rem */
    font-weight: 700;
    color: var(--steel-700);
    font-family: var(--font-family-mono);
}

.content-description {
    font-size: 0.875rem; /* Reduced from 1rem */
    line-height: 1.6;
    color: var(--steel-600);
    margin: 0;
}

/* Content Footer */
.content-footer {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.achievement-indicator {
    position: relative;
    width: 8px;
    height: 8px;
    background: var(--electric-blue);
    border-radius: 50%;
}

.indicator-pulse {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--electric-blue);
    border-radius: 50%;
    animation: indicator-pulse 2s ease-in-out infinite;
    opacity: 0.6;
}

/* Timeline Ambiance */
.timeline-ambiance {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.innovation-beam {
    position: absolute;
    top: 13%;
    left: -10%;
    width: 120%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--electric-blue) 30%, transparent 70%, var(--teal-green-500) 90%, transparent 100%);
    opacity: 0.3;
    animation: innovation-beam-scan 8s ease-in-out infinite;
}

.growth-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(1px 1px at 20% 30%, var(--teal-green-500), transparent),
        radial-gradient(1px 1px at 40% 70%, var(--electric-blue), transparent),
        radial-gradient(1px 1px at 90% 40%, var(--teal-green-500), transparent),
        radial-gradient(1px 1px at 70% 80%, var(--electric-blue), transparent);
    background-size: 100px 100px, 80px 80px, 120px 120px, 90px 90px;
    animation: growth-particles-float 20s linear infinite;
    opacity: 0.4;
}

.excellence-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(249, 115, 22, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249, 115, 22, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: excellence-grid-pulse 4s ease-in-out infinite;
}

/* Animations */
@keyframes timeline-progress {
    0% { height: 0%; }
    100% { height: 100%; }
}

@keyframes milestone-fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes marker-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes indicator-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes innovation-beam-scan {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0%);
        opacity: 0.3;
    }
}

@keyframes growth-particles-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes excellence-grid-pulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.6;
    }
}

/* Large Desktop Constraints */
@media (min-width: 1200px) {
    .timeline-wrapper {
        max-width: 1150px; /* Increased from 1100px */
        padding: 0 2rem;
    }
    
    .milestone-content {
        max-width: 500px; /* Increased from 450px */
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .timeline-wrapper {
        max-width: 850px; /* Increased from 800px */
        padding: 0 1rem;
    }
    
    .milestone-content {
        width: 45%; /* Increased from 42% */
        max-width: 380px; /* Increased from 350px */
    }
    
    .milestone-content.content-left {
        right: 44%; /* Adjusted from 46% */
    }
    
    .milestone-content.content-right {
        left: 44%; /* Adjusted from 46% */
    }
    
    .milestone-marker {
        width: 50px;
        height: 50px;
    }
    
    .marker-year {
        font-size: 0.75rem; /* Reduced from 0.85rem */
    }
    
    /* Company Story Tablet */
    .company-story {
        gap: 6rem;
        padding: 0 3rem;
    }
}

@media (max-width: 768px) {
    .timeline-section {
        padding: 3rem 0 4rem; /* Reduced from 4rem 0 6rem */
    }
    
    .timeline-header {
        margin-bottom: 2rem; /* Reduced from 3rem */
    }
    
    .timeline-title .title-main {
        font-size: 2rem; /* Reduced from 2.5rem */
    }
    
    .timeline-container {
        padding: 1rem 0;
    }
    
    .timeline-line {
        left: 2rem;
    }
    
    .milestone {
        margin-bottom: 1.5rem; /* Reduced from 2rem */
        margin-left: 1rem;
    }
    
    .milestone-connector {
        display: none;
    }
    
    .milestone-marker {
        left: 2rem;
        width: 60px;
        height: 60px;
    }
    
    .milestone-content {
        width: calc(100% - 5rem);
        left: 5rem !important;
        right: auto !important;
        text-align: left !important;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .content-year {
        font-size: 1.1rem; /* Reduced from 1.25rem */
    }
    
    .innovation-beam {
        display: none;
    }
    
    /* Company Story Responsive */
    .company-story {
        gap: 4rem;
        padding: 0 2rem;
    }
}

@media (max-width: 480px) {
    .company-story {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .timeline-badge {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }
    
    .timeline-badge .badge-text {
        font-size: 0.65rem; /* Reduced from 0.75rem */
    }
    
    .timeline-title .title-main {
        font-size: 2rem; /* Reduced from 2rem */
    }
    
    .timeline-title .title-tagline {
        font-size: 1.125rem; /* Reduced from 1rem */
    }
    
    .milestone-marker {
        width: 50px;
        height: 50px;
        left: 1.5rem;
    }
    
    .marker-year {
        font-size: 0.7rem; /* Reduced from 0.8rem */
    }
    
    .milestone-content {
        left: 4rem !important;
        width: calc(100% - 4.5rem);
    }
    
    .content-card {
        padding: 1.25rem; /* Slightly increased from 1rem */
    }
    
    .content-category {
        font-size: 0.6rem; /* Reduced from 0.7rem */
        padding: 0.2rem 0.5rem;
    }
    
    .content-description {
        font-size: 0.8rem; /* Reduced from 0.95rem */
    }
}
/* ==========================================================================
   Quality Excellence Section - Modern Dashboard Design
   ========================================================================== */

.quality-section {
    background: linear-gradient(180deg, 
        #f8fafc 0%, 
        #f1f5f9 30%, 
        #e2e8f0 70%, 
        #f8fafc 100%
    );
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

/* Quality Header */
.quality-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.quality-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.quality-badge .badge-icon {
    font-size: 1.25rem;
    filter: grayscale(1) brightness(0.5);
}

.quality-badge .badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #10b981;
    letter-spacing: 0.05em;
}

.quality-title {
    margin: 0;
}

.quality-title .title-main {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem); /* Reduced from clamp(2.5rem, 5vw, 3.5rem) */
    font-weight: 700;
    color: var(--steel-900);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: var(--pangu-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quality-title .title-tagline {
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--steel-600);
    letter-spacing: 0.05em;
}

/* Quality Dashboard */
.quality-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    align-items: start;
}

/* Certification Showcase */
.certification-showcase {
    position: relative;
}

.cert-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.1);
}

.cert-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #10b981 30%, 
        #059669 70%, 
        transparent 100%
    );
}

/* Primary Certification Display */
.primary-certification {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.cert-emblem {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 140px;
    margin: 0 auto;
}

.emblem-frame {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1rem;
    position: relative;
    box-shadow: 
        0 8px 32px rgba(16, 185, 129, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
    animation: cert-pulse 4s ease-in-out infinite;
}

.cert-main-image {
    width: 100%;
    height: auto;
    max-width: 160px;
    object-fit: contain;
    filter: contrast(1.1) brightness(1.05);
    transition: all 0.3s ease;
}

.cert-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(16, 185, 129, 0.1) 0%,
        rgba(0, 121, 156, 0.1) 50%,
        rgba(16, 185, 129, 0.1) 100%
    );
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.emblem-frame:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(16, 185, 129, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.08);
}

.emblem-frame:hover .cert-glow {
    opacity: 1;
}

.emblem-frame:hover .cert-main-image {
    filter: contrast(1.15) brightness(1.1) drop-shadow(0 4px 12px rgba(16, 185, 129, 0.3));
}

/* Certification Rays */
.cert-rays {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.ray {
    position: absolute;
    width: 3px;
    height: 25px;
    background: linear-gradient(0deg, transparent 0%, #10b981 50%, transparent 100%);
    opacity: 0.4;
    animation: ray-rotate 10s linear infinite;
}

.ray:nth-child(1) { transform: rotate(0deg) translateX(-100px); }
.ray:nth-child(2) { transform: rotate(60deg) translateX(-100px); animation-delay: -1.7s; }
.ray:nth-child(3) { transform: rotate(120deg) translateX(-100px); animation-delay: -3.3s; }
.ray:nth-child(4) { transform: rotate(180deg) translateX(-100px); animation-delay: -5s; }
.ray:nth-child(5) { transform: rotate(240deg) translateX(-100px); animation-delay: -6.7s; }
.ray:nth-child(6) { transform: rotate(300deg) translateX(-100px); animation-delay: -8.3s; }

/* Individual Certification Badges */
.cert-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    padding: 0.75rem;
    min-width: 80px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.5s ease;
}

.cert-badge:hover::before {
    left: 100%;
}

.cert-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.badge-image {
    width: 32px;
    height: auto;
    max-height: 32px;
    object-fit: contain;
    filter: brightness(1.05);
    transition: all 0.3s ease;
}

.cert-badge:hover .badge-image {
    filter: brightness(1.1) contrast(1.1);
    transform: scale(1.05);
}

.ukas {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(0, 121, 156, 0.05) 100%);
}

.ukas-crown {
    font-size: 24px;
    filter: hue-rotate(200deg) brightness(0.8);
    transition: all 0.3s ease;
}

.cert-badge:hover .ukas-crown {
    transform: scale(1.1);
    filter: hue-rotate(200deg) brightness(1);
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--steel-700);
    text-align: center;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.cert-badge:hover .badge-label {
    color: var(--steel-900);
}

/* Enhanced Certification Meta */
.cert-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cert-date,
.cert-scope,
.cert-number {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--steel-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.cert-details {
    text-align: center;
    color: var(--teal-green-500);
}

.cert-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pangu-blue) !important;
    margin-bottom: 0.75rem;
}

.cert-description {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--steel-600);
    margin-bottom: 1rem;
}

.cert-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.cert-date,
.cert-scope {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--steel-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Individual Certification Badges */
.individual-badges {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cert-badge {
    position: relative;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(45, 45, 50, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
}

.cert-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 90, 95, 0.1), transparent);
    transition: left 0.6s ease;
}

.cert-badge:hover::before {
    left: 100%;
}

.cert-badge:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 90, 95, 0.3);
    box-shadow: 
        0 12px 40px rgba(45, 45, 50, 0.15),
        0 4px 16px rgba(255, 90, 95, 0.1);
}

.badge-image {
    width: 60px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
}

.cert-badge:hover .badge-image {
    filter: brightness(1.2) contrast(1.2);
    transform: scale(1.05);
}

.badge-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    opacity: 0;
    animation: badge-shimmer 3s ease-in-out infinite;
}

@keyframes badge-shimmer {
    0%, 100% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

/* Quality Metrics Grid */
.quality-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(45, 45, 50, 0.06);
    border-radius: 12px;
    padding: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 45, 50, 0.08);
}

.metric-header {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Card Background Patterns */
.card-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    pointer-events: none;
}

.accuracy .card-bg-pattern {
    background-image: 
        radial-gradient(circle at 20% 30%, #10b981 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, #10b981 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, #10b981 0.5px, transparent 0.5px);
    background-size: 30px 30px, 25px 25px, 20px 20px;
    animation: accuracy-pattern 20s linear infinite;
}

.delivery .card-bg-pattern {
    background-image: 
        linear-gradient(45deg, transparent 45%, #3b82f6 50%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, #3b82f6 50%, transparent 55%);
    background-size: 40px 40px, 35px 35px;
    animation: delivery-pattern 15s linear infinite;
}

.satisfaction .card-bg-pattern {
    background-image: 
        conic-gradient(from 0deg at 50% 50%, transparent 0deg, #f59e0b 60deg, transparent 120deg),
        conic-gradient(from 120deg at 50% 50%, transparent 0deg, #f59e0b 60deg, transparent 120deg),
        conic-gradient(from 240deg at 50% 50%, transparent 0deg, #f59e0b 60deg, transparent 120deg);
    background-size: 50px 50px, 45px 45px, 40px 40px;
    animation: satisfaction-pattern 25s ease-in-out infinite;
}

.compliance .card-bg-pattern {
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 8px, #8b5cf6 8px, #8b5cf6 9px),
        repeating-linear-gradient(90deg, transparent, transparent 8px, #8b5cf6 8px, #8b5cf6 9px);
    background-size: 25px 25px;
    animation: compliance-pattern 18s linear infinite;
}

@keyframes accuracy-pattern {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(10px, 10px) rotate(360deg); }
}

@keyframes delivery-pattern {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(40px) translateY(40px); }
}

@keyframes satisfaction-pattern {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes compliance-pattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(25px, 25px); }
}

.metric-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Metric Icons */
.accuracy-target {
    position: relative;
    width: 24px;
    height: 24px;
}

.target-ring {
    width: 100%;
    height: 100%;
    border: 3px solid #10b981;
    border-radius: 50%;
    opacity: 0.3;
}

.target-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: target-pulse 2s ease-in-out infinite;
}

.delivery-clock {
    position: relative;
    width: 24px;
    height: 24px;
}

.clock-face {
    width: 100%;
    height: 100%;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    position: relative;
}

.clock-hand {
    position: absolute;
    background: #3b82f6;
    border-radius: 1px;
    transform-origin: bottom center;
    top: 50%;
    left: 50%;
}

.clock-hand.hour {
    width: 2px;
    height: 8px;
    margin-left: -1px;
    margin-top: -8px;
    animation: hour-tick 12s linear infinite;
}

.clock-hand.minute {
    width: 1px;
    height: 12px;
    margin-left: -0.5px;
    margin-top: -12px;
    animation: minute-tick 2s linear infinite;
}

.satisfaction-gauge {
    position: relative;
    width: 24px;
    height: 12px;
}

.gauge-arc {
    width: 100%;
    height: 24px;
    border: 2px solid #f59e0b;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.gauge-needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 9px;
    background: #f59e0b;
    margin-left: -1px;
    transform-origin: bottom center;
    animation: gauge-swing 3s ease-in-out infinite;
}

.compliance-shield {
    position: relative;
    width: 24px;
    height: 24px;
}

.shield-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: shield-glow 2s ease-in-out infinite;
}

.shield-check {
    color: white;
    font-size: 12px;
    font-weight: 700;
}

.metric-info {
    flex: 1;
}

.metric-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--steel-600);
    margin-bottom: 0.125rem;
}

.metric-value {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.value-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--steel-900);
    font-family: var(--font-mono);
}

.value-unit {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--steel-600);
}

.metric-progress {
    margin-top: 0.375rem;
}

.progress-track {
    height: 3px;
    background: rgba(45, 45, 50, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 2px;
    animation: progress-animate 2s ease-out;
    transition: width 1s ease-out;
}

.progress-fill[data-progress="99.8"] {
    width: 99.8%;
}

.progress-fill[data-progress="96.2"] {
    width: 96.2%;
}

.progress-fill[data-progress="98"] {
    width: 98%;
}

.progress-fill[data-progress="100"] {
    width: 100%;
}

.metric-card.delivery .progress-fill {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

.metric-card.satisfaction .progress-fill {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.metric-card.compliance .progress-fill {
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
}

.progress-label {
    font-size: 0.65rem;
    color: var(--steel-500);
}

/* Quality Process Flow */
.quality-process {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(45, 45, 50, 0.08);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.process-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--steel-900);
    text-align: center;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, var(--steel-900) 0%, var(--teal-green-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.step-number {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.step-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    animation: step-pulse 2s ease-in-out infinite;
}

.step-connector {
    position: absolute;
    top: 30px;
    left: 100%;
    width: calc(100% - 60px);
    height: 2px;
    background: linear-gradient(90deg, #10b981 0%, rgba(16, 185, 129, 0.3) 100%);
    z-index: -1;
}

.process-step:last-child .step-connector {
    display: none;
}

.step-content {
    max-width: 200px;
    margin: 0 auto;
}

.step-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--steel-900);
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--steel-600);
}

/* Quality Ambiance */
.quality-ambiance {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.quality-grid {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: 
        linear-gradient(90deg, transparent 49%, rgba(16, 185, 129, 0.1) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(16, 185, 129, 0.1) 50%, transparent 51%);
    background-size: 20px 20px;
    opacity: 0.4;
    animation: quality-grid-pulse 4s ease-in-out infinite;
}

.precision-wave {
    position: absolute;
    top: 60%;
    left: 0;
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #10b981 50%, transparent 100%);
    opacity: 0.3;
    animation: precision-wave-flow 5s ease-in-out infinite;
}

.excellence-beam {
    position: absolute;
    bottom: 20%;
    right: 0;
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #059669 50%, transparent 100%);
    opacity: 0.4;
    animation: excellence-beam-scan 6s ease-in-out infinite;
}

/* Quality Animations */
@keyframes cert-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4); }
}

@keyframes ray-rotate {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes target-pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes hour-tick {
    0%, 100% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes minute-tick {
    0%, 100% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gauge-swing {
    0%, 100% { transform: rotate(-30deg); }
    50% { transform: rotate(30deg); }
}

@keyframes shield-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 16px rgba(139, 92, 246, 0.5); }
}

@keyframes progress-animate {
    0% { width: 0%; }
    100% { width: var(--progress, 0%); }
}

@keyframes step-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes quality-grid-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

@keyframes precision-wave-flow {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 0.5; transform: translateX(50px); }
}

@keyframes excellence-beam-scan {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 0.6; transform: translateX(-50px); }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--pangu-blue);
    color: var(--white);
    padding: var(--spacing-xs) 0 var(--spacing-xs);
    max-height: 50vh;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xs);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--blue-50);
    text-decoration: none;
    transition: color var(--duration-normal) var(--ease-out);
    padding: var(--spacing-xs) var(--spacing-xs);
    border-radius: var(--radius-xs);
}

.footer-links a:hover {
    color: var(--blue-100);
}

.footer-info {
    margin-bottom: var(--spacing-xs);
}

.footer-info p {
    color: var(--blue-50);
    margin-bottom: var(--spacing-xs);
}

.footer-info p:first-child {
    color: var(--blue-50);
    font-weight: 600;
}

.footer-copyright p {
    color: var(--blue-50);
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */

@keyframes chipFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-20px) rotateX(5deg) rotateY(-10deg);
    }
}

@keyframes laserScan {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scaleY(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(20px) scaleY(1);
    }
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes traceFlow {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes circuitFlow {
    0% {
        stroke-dashoffset: 0;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: -10;
        opacity: 0.8;
    }
    100% {
        stroke-dashoffset: -20;
        opacity: 0.3;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) translateX(30px);
        opacity: 0;
    }
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(0, 121, 156, 0.3);
    }
    100% {
        text-shadow: 0 0 30px rgba(0, 121, 156, 0.6);
    }
}

@keyframes taglineFlicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

@keyframes spark-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 1;
    }
}

@keyframes precision-header-flow {
    0%, 100% {
        opacity: 0.4;
        transform: translateX(0) scale(1);
    }
    25% {
        opacity: 0.6;
        transform: translateX(10px) scale(1.02);
    }
    50% {
        opacity: 0.8;
        transform: translateX(0) scale(1.05);
    }
    75% {
        opacity: 0.6;
        transform: translateX(-10px) scale(1.02);
    }
}

@keyframes precision-laser-sweep {
    0% {
        left: -100%;
        filter: brightness(1);
    }
    50% {
        left: 50%;
        filter: brightness(1.5);
    }
    100% {
        left: 100%;
        filter: brightness(1);
    }
}

@keyframes welding-line {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes mobileMenuSlide {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.6s ease-out forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   Mobile Menu Styles
   ========================================================================== */

.mobile-menu-toggle {
    display: none;
    background: linear-gradient(135deg, rgba(0, 121, 156, 0.1) 0%, rgba(255, 90, 95, 0.15) 100%);
    border: 1px solid rgba(0, 121, 156, 0.2);
    padding: var(--spacing-sm);
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    border-radius: var(--radius-md);
    transition: all var(--duration-normal) var(--ease-out);
    backdrop-filter: blur(10px);
}

.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, rgba(0, 121, 156, 0.15) 0%, rgba(255, 90, 95, 0.2) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 121, 156, 0.2);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--steel-700);
    transition: all var(--duration-normal) var(--ease-out);
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

body.menu-open {
    overflow: hidden !important;
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Hamburger menu for screens below 1400px */
@media (max-width: 1400px) {
    .mobile-menu-toggle {
        display: flex !important;
        order: 3 !important;
        margin-left: auto;
    }

    .site-header {
        overflow: visible;
    }

    .header-content {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: var(--spacing-md);
        padding: var(--spacing-sm) 0;
        width: 100%;
        position: relative;
    }

    .site-branding {
        order: 1 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        margin-right: auto;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        z-index: 10000;
        border-top: 1px solid rgba(0, 121, 156, 0.2);
        border-radius: 0 0 16px 16px;
        overflow: hidden;
        order: 2;
    }

    .main-navigation.active {
        display: block;
        animation: mobileMenuSlide 0.3s ease-out;
    }

    .main-navigation ul {
        display: flex;
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-sm);
        margin: 0;
        list-style: none;
        width: 100%;
    }

    .main-navigation li {
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        display: block;
    }

    .main-navigation a {
        display: block !important;
        padding: 15px !important;
        border-radius: 8px;
        color: #000000 !important;
        background: #f8f9fa !important;
        font-weight: 700 !important;
        font-size: 16px !important;
        text-decoration: none !important;
        transition: all 0.3s ease;
        border: 1px solid #e2e8f0 !important;
        margin: 5px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center;
    }

    .main-navigation .menu li:last-child a {
        color: var(--orange-500) !important;
        font-size: 1.0rem;
        font-weight: 900;
        letter-spacing: 0.10em;
    }

    .main-navigation a:hover {
        background: var(--pangu-blue) !important;
        color: #ffffff !important;
        border-color: var(--pangu-blue) !important;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        order: 3 !important;
        margin-left: auto;
    }

    .site-header {
        overflow: visible;
    }

    .header-content {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: var(--spacing-md);
        padding: var(--spacing-sm) 0;
        width: 100%;
        position: relative;
    }

    .site-branding {
        order: 1 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        margin-right: auto; /* Push to the left */
    }

    /* Make logo smaller on mobile */
    .site-branding .logo-image {
        max-width: 160px !important;
        max-height: 50px !important;
        height: auto !important;
    }
    
    .company-tagline {
        font-size: 10px;
        margin-top: 0;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        z-index: 10000;
        border-top: 1px solid rgba(0, 121, 156, 0.2);
        border-radius: 0 0 16px 16px;
        overflow: hidden;
        order: 2;
    }

    .main-navigation.active {
        display: block;
        animation: mobileMenuSlide 0.3s ease-out;
    }

    .main-navigation ul {
        display: flex;
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-sm);
        margin: 0;
        list-style: none;
        width: 100%;
    }

    .main-navigation li {
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        display: block;
    }

    .main-navigation a {
        display: block;
        padding: 15px 20px;
        border-radius: 12px;
        color: var(--steel-800);
        background: rgba(255, 255, 255, 0.7);
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 121, 156, 0.1);
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .main-navigation a:hover {
        background: var(--pangu-blue);
        color: white;
        border-color: var(--pangu-blue);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 121, 156, 0.3);
    }

    .main-navigation a {
        display: block !important;
        padding: 15px !important;
        border-radius: 8px;
        color: #000000 !important;
        background: #f8f9fa !important;
        font-weight: 700 !important;
        font-size: 16px !important;
        text-decoration: none !important;
        transition: all 0.3s ease;
        border: 1px solid #e2e8f0 !important;
        margin: 5px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .main-navigation .menu li:last-child a {
        color: var(--orange-500) !important;
        font-size: 1.0rem;
        font-weight: 900;
        letter-spacing: 0.10em;
    }
    .main-navigation a:hover {
        background: var(--pangu-blue) !important;
        color: #ffffff !important;
        border-color: var(--pangu-blue) !important;
    }


    .hero-section {
        min-height: 80vh;
        padding: 2.5em;
    }

    .semiconductor-background {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 28px;
        font-size: 1rem;
    }

    /* Services Section Mobile */
    .services-section {
        padding: 4rem 0 3rem;
    }

    .industry-section {
        padding: 4rem 0 3rem;
    }

    .defects-section {
        padding: 4rem 0 3rem;
    }
    
    .services-header {
        margin-bottom: 3rem;
    }
    
    .services-badge {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
    }
    
    .services-title .title-main {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .industry-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .defects-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    /* Reset third card centering on mobile */
    /* .service-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }
    
    .industry-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
        margin: 0;
    } */

    .service-card {
        padding: 1.5rem;
    }

    .industry-card{
        padding: 1.5rem;
    }
    
    .industry-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }
    
    .industry-card {
        padding: 1.5rem;
    }

    .card-header {
        gap: 1rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-name {
        font-size: 1.05rem;
        white-space: nowrap;
    }
    
    .service-features {
        gap: 1rem;
    }
    
    .tech-specs {
        padding: 0.75rem;
    }
    
    /* Metallic Divider Mobile */
    .metallic-divider {
        padding: 2rem 0;
    }
    
    .metallic-chip {
        width: 50px;
        height: 50px;
    }
    
    .chip-core {
        width: 16px;
        height: 16px;
    }
    
    .divider-icon {
        margin: 0 1rem;
    }
    
    .divider-label {
        font-size: 0.75rem;
    }

    /* Company Section Mobile */
    .company-section {
        padding: 4rem 0 3rem;
    }
    
    .company-header {
        margin-bottom: 3rem;
    }
    
    .company-badge {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
    }
    
    .badge-location::before {
        display: none;
    }
    
    .badge-location {
        padding-left: 0;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .company-story {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-lead {
        font-size: 1.25rem;
    }
    
    .achievement-metrics {
        padding: 2rem 1.5rem;
        gap: 5rem;
    }
    
    .metric-number {
        font-size: 2rem;
    }

    /* Quality Section Mobile */
    .quality-section {
        padding: 4rem 0 3rem;
    }

    .quality-header {
        margin-bottom: 2rem;
    }

    .quality-title .title-main {
        font-size: 2rem;
    }

    .quality-dashboard {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cert-container {
        padding: 1.5rem;
    }

    .cert-emblem {
        width: 160px;
        height: 120px;
    }

    .emblem-frame {
        padding: 0.75rem;
    }

    .cert-main-image {
        max-width: 120px;
    }

    .cert-badges {
        gap: 0.75rem;
        margin: 1rem 0;
    }

    .cert-badge {
        min-width: 70px;
        padding: 0.5rem;
    }

    .badge-image {
        width: 28px;
        max-height: 28px;
    }

    .ukas-crown {
        font-size: 20px;
    }

    .cert-meta {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .quality-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .metric-card {
        padding: 1.25rem;
    }

    .value-number {
        font-size: 1.5rem;
    }

    .process-flow {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-connector {
        display: none;
    }

    .process-step {
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    }

    .process-step:last-child {
        border-bottom: none;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .section {
        padding: var(--spacing-2xl) 0;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    /* Services Mobile - Small Screens */
    .services-grid {
        padding: 0 0.5rem;
    }
    
    .service-card {
        padding: 1rem;
        border-radius: 16px;
    }

    .industry-card {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
    }
    
    .service-name {
        font-size: 1.125rem;
    }
    
    .service-description {
        font-size: 0.875rem;
    }
    
    .feature-list li {
        font-size: 0.8rem;
    }
    
    /* Metallic Divider - Small Screens */
    .metallic-divider {
        padding: 1.5rem 0;
    }
    
    .metallic-chip {
        width: 40px;
        height: 40px;
    }
    
    .chip-core {
        width: 12px;
        height: 12px;
    }
    
    .divider-label {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }
    
    .divider-label::before,
    .divider-label::after {
        width: 20px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Quality Section - Small Mobile */
    .quality-section {
        padding: 3rem 0 2rem;
    }
    
    .quality-title .title-main {
        font-size: 2rem;
    }
    
    .cert-container {
        padding: 1rem;
    }
    
             .cert-emblem {
         width: 140px;
         height: 100px;
     }

    .emblem-frame {
        padding: 0.5rem;
    }

    .cert-main-image {
        max-width: 100px;
    }

    .cert-badges {
        gap: 0.5rem;
        margin: 0.75rem 0;
    }

    .cert-badge {
        min-width: 60px;
        padding: 0.4rem;
        gap: 0.3rem;
    }

    .badge-image {
        width: 24px;
        max-height: 24px;
    }

    .ukas-crown {
        font-size: 18px;
    }

    .badge-label {
        font-size: 0.7rem;
    }
    
    .cert-title {
        font-size: 1.125rem;
    }
    
    .cert-description {
        font-size: 0.8rem;
    }
    
    .metric-card {
        padding: 1rem;
    }
    
    .metric-header {
        gap: 0.75rem;
    }
    
    .metric-icon {
        width: 32px;
        height: 32px;
    }
    
    .value-number {
        font-size: 1.25rem;
    }
    
    .step-marker {
        width: 50px;
        height: 50px;
    }
    
    .step-title {
        font-size: 0.8rem;
    }
    
    .step-description {
        font-size: 0.7rem;
    }
}
/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.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;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 6px;
    z-index: 999999;
    color: var(--steel-900);
    text-decoration: none;
}

.skip-link:focus {
    display: block;
    left: 6px;
    top: 7px;
    padding: 8px 16px;
    background: var(--steel-100);
    color: var(--orange-600);
    text-decoration: none;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    background: linear-gradient(135deg, 
        rgba(45, 45, 50, 0.03) 0%, 
        rgba(247, 115, 22, 0.02) 50%, 
        rgba(45, 45, 50, 0.03) 100%);
    border-top: 1px solid rgba(45, 45, 50, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(22, 249, 162, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(22, 249, 162, 0.2);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--teal-green-500);
}

.contact-badge .badge-icon {
    font-size: 1rem;
}

.contact-title {
    margin: 0;
}

.contact-title .title-main {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem); /* Reduced from clamp(2.5rem, 5vw, 3.5rem) */
    font-weight: 700;
    color: var(--steel-900);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: var(--pangu-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.company-details {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(45, 45, 50, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.company-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-green-500) 0%, var(--teal-green-600) 100%);
}

.company-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pangu-blue) !important;
    margin: 0 0 1rem 0;
}

.address p {
    margin: 0;
    color: var(--steel-600);
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 45, 50, 0.06);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(247, 115, 22, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(247, 115, 22, 0.1);
}

.contact-label {
    font-weight: 600;
    color: var(--steel-700);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 80px;
}

.contact-value {
    color: var(--steel-900);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--orange-600);
}

.contact-cta {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(45, 45, 50, 0.08);
    border-radius: 20px;
    padding: 5.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(11, 54, 246, 0.1) 0%, 
        rgba(22, 249, 162, 0.1) 50%, 
        rgba(11, 54, 246, 0.1) 100%);
    border-radius: 22px;
    z-index: -1;
}

.cta-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--steel-900);
    margin: 0 0 0.0rem 0;
}

.cta-content p {
    color: var(--steel-600);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.contact-ambiance {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.contact-grid {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: 
        linear-gradient(90deg, transparent 49%, rgba(247, 115, 22, 0.1) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(247, 115, 22, 0.1) 50%, transparent 51%);
    background-size: 15px 15px;
    opacity: 0.6;
    animation: contact-grid-pulse 3s ease-in-out infinite;
}

.precision-beam {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--pangu-blue) 50%, transparent 100%);
    opacity: 0.4;
    animation: precision-beam-scan 4s ease-in-out infinite;
}

.company-details-footer {
    background: var(--pangu-blue);
    backdrop-filter: blur(20px);
    border: 1px solid var(--pangu-blue);
    border-radius: 16px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}



.footer-taglines {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--steel-900);
}

/* Contact Animations */
@keyframes contact-grid-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes precision-beam-scan {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 0.7; transform: translateX(30px); }
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-title .title-main {
        font-size: 2rem;
    }
    
    .company-details,
    .contact-cta {
        padding: 1.25rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-label {
        min-width: auto;
    }
}
