/* ========================================
   JR Hardscaping - Elegant Industrial Design
   Premium Creamy White Aesthetic
   ======================================== */

/* Google Fonts Import - Premium Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Newsreader:wght@300;400;500&display=swap');

/* === CSS RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Refined Elegant Palette - Milky White Foundation */
    --primary-white: #FFFFFF;
    --milky-white: #FAFAFA;
    --light-gray: #F7F7F7;
    --soft-gray: #F0F0F0;
    --medium-gray: #E5E5E5;
    --border-gray: #DADADA;
    
    /* Text Colors - Perfect Contrast */
    --text-primary: #1a1a1a;
    --text-secondary: #3d3d3d;
    --text-muted: #6b6b6b;
    --charcoal: #2d2d2d;
    --deep-charcoal: #1a1a1a;
    
    /* Elegant Pastel Accent Colors */
    --accent-orange: #f8a69e;
    --accent-blue: #a8c7e7;
    --accent-blue-dark: #7ba3d1;
    --accent-blue-light: #c5dff5;
    --accent-teal: #9dd4cf;
    --accent-emerald: #a7d9c9;
    --accent-amber: #f5d39e;
    --accent-rose: #f5b3c1;
    --accent-purple: #c9b3e8;
    --accent-gray: #b8bec7;
    --steel-gray: #98a2ae;
    
    /* Shadows - Subtle Depth */
    --shadow-subtle: rgba(0, 0, 0, 0.04);
    --shadow-soft: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-strong: rgba(0, 0, 0, 0.16);
    --shadow-dramatic: rgba(0, 0, 0, 0.24);
    
    /* Typography - Sophisticated Hierarchy */
    --font-display: 'Newsreader', 'Lora', 'Georgia', 'Times New Roman', serif;
    --font-heading: 'InterDisplay', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', 'Courier New', monospace;
    
    /* Type Scale - Refined Proportions (1.250 - Major Third) */
    --text-xs: 0.75rem;      /* 12px - Fine print */
    --text-sm: 0.875rem;     /* 14px - Supporting text */
    --text-base: 1rem;       /* 16px - Body text */
    --text-lg: 1.125rem;     /* 18px - Emphasized body */
    --text-xl: 1.25rem;      /* 20px - Small headings */
    --text-2xl: 1.5rem;      /* 24px - Section headings */
    --text-3xl: 1.875rem;    /* 30px - Page headings */
    --text-4xl: 2.25rem;     /* 36px - Major headings */
    --text-5xl: 3rem;        /* 48px - Display text */
    --text-6xl: 3.75rem;     /* 60px - Hero headings */
    --text-7xl: 4.5rem;      /* 72px - Extra large hero */
    
    /* Font Weights - Precise Control */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-black: 800;
    
    /* Line Heights - Optimized for Readability */
    --leading-none: 1;
    --leading-tight: 1.15;
    --leading-snug: 1.35;
    --leading-normal: 1.5;
    --leading-relaxed: 1.7;
    --leading-loose: 2;
    
    /* Letter Spacing - Fine-tuned */
    --tracking-tighter: -0.04em;
    --tracking-tight: -0.025em;
    --tracking-normal: -0.011em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    
    /* Spacing System - Harmonious Scale */
    --space-1: 0.25rem;      /* 4px */
    --space-2: 0.5rem;       /* 8px */
    --space-3: 0.75rem;      /* 12px */
    --space-4: 1rem;         /* 16px */
    --space-5: 1.25rem;      /* 20px */
    --space-6: 1.5rem;       /* 24px */
    --space-8: 2rem;         /* 32px */
    --space-10: 2.5rem;      /* 40px */
    --space-12: 3rem;        /* 48px */
    --space-16: 4rem;        /* 64px */
    --space-20: 5rem;        /* 80px */
    --space-24: 6rem;        /* 96px */
    --space-32: 8rem;        /* 128px */
    
    /* Layout Constraints */
    --max-width-narrow: 640px;
    --max-width-reading: 768px;
    --max-width-content: 1024px;
    --max-width-wide: 1280px;
    --max-width-full: 1440px;
    
    /* Transitions - Smooth & Natural */
    --transition-swift: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-elegant: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-graceful: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius - Subtle Sophistication */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-full: 9999px;
    
    /* Legacy Variable Compatibility - Maps old names to new design system */
    --spacing-xs: var(--space-2);
    --spacing-sm: var(--space-4);
    --spacing-md: var(--space-8);
    --spacing-lg: var(--space-12);
    --spacing-xl: var(--space-16);
    --spacing-2xl: var(--space-24);
    --spacing-3xl: var(--space-32);
    
    /* Product card gradient colors */
    --accent-steel: var(--steel-gray);
    --accent-sage: var(--accent-emerald);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--text-secondary);
    background-color: var(--milky-white);
    line-height: var(--leading-relaxed);
    font-weight: var(--font-normal);
    overflow-x: hidden;
    letter-spacing: var(--tracking-normal);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

/* === TYPOGRAPHY HIERARCHY - Premium Design System === */

/* Display Typography - Hero & Feature Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-semibold);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
    color: var(--text-primary);
    text-wrap: balance; /* Better heading wrapping */
}

h1 { 
    font-size: clamp(var(--text-4xl), 5vw + 1rem, var(--text-7xl));
    font-weight: var(--font-bold);
    letter-spacing: var(--tracking-tighter);
    line-height: var(--leading-none);
    margin-bottom: var(--space-8);
}

h2 { 
    font-size: clamp(var(--text-3xl), 4vw + 0.5rem, var(--text-5xl));
    font-weight: var(--font-semibold);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
}

h3 { 
    font-size: clamp(var(--text-2xl), 3vw + 0.25rem, var(--text-4xl));
    font-weight: var(--font-semibold);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-snug);
}

h4 { 
    font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
    font-weight: var(--font-medium);
    letter-spacing: var(--tracking-normal);
    line-height: var(--leading-snug);
}

h5 { 
    font-size: clamp(var(--text-lg), 2vw, var(--text-2xl));
    font-weight: var(--font-medium);
    letter-spacing: var(--tracking-normal);
}

h6 { 
    font-size: clamp(var(--text-base), 1.5vw, var(--text-xl));
    font-weight: var(--font-medium);
    letter-spacing: var(--tracking-normal);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

/* Display Classes - Special Typography */
.display-1 {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw + 0.5rem, 6rem);
    font-weight: var(--font-light);
    letter-spacing: var(--tracking-tighter);
    line-height: var(--leading-none);
    color: var(--deep-charcoal);
    text-wrap: balance;
    margin-bottom: var(--space-8);
}

.display-2 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 400;
    letter-spacing: var(--tracking-tighter);
    line-height: 1.1;
    text-wrap: balance;
    margin-bottom: var(--space-6);
}

.display-3 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--font-bold);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
}

/* Body Text - Optimized Readability */
p {
    margin-bottom: var(--space-6);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
    letter-spacing: var(--tracking-normal);
}

/* Accessibility - Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Skip focus outline for mouse users, keep for keyboard users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

.lead {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.65;
    color: var(--text-secondary);
    font-weight: var(--font-normal);
    letter-spacing: -0.01em;
    max-width: 65ch;
    margin-bottom: var(--space-8);
}

.text-large {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    letter-spacing: var(--tracking-normal);
}

.text-small {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
}

.text-tiny {
    font-size: var(--text-xs);
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-wide);
}

/* Eyebrow Text - Above Headlines */
.eyebrow {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-orange);
    margin-bottom: var(--space-4);
    display: block;
    position: relative;
    padding-left: var(--space-8);
}

.eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), transparent);
}

/* Subheadline Text */
.subheadline {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    font-weight: var(--font-normal);
    max-width: 65ch;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-smooth);
}

a:hover {
    color: var(--accent-gray);
}

/* Lists */
ul, ol {
    margin-bottom: var(--space-6);
    padding-left: var(--space-6);
    color: var(--text-secondary);
}

li {
    margin-bottom: var(--space-3);
    line-height: 1.7;
}

/* Strong & Emphasis */
strong, b {
    font-weight: var(--font-semibold);
    color: var(--charcoal);
}

em, i {
    font-style: italic;
}

/* Blockquote - Elegant Citations */
blockquote {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    line-height: var(--leading-normal);
    color: var(--charcoal);
    border-left: 4px solid var(--accent-gray);
    padding-left: var(--space-8);
    margin: var(--space-12) 0;
    font-style: italic;
    font-weight: var(--font-light);
}

blockquote cite {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-style: normal;
    color: var(--text-muted);
    margin-top: var(--space-4);
    font-weight: var(--font-medium);
}

/* Code & Monospace */
code, kbd, samp {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background-color: var(--soft-gray);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    color: var(--deep-charcoal);
}

pre {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    background-color: var(--soft-gray);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: var(--space-8) 0;
}

pre code {
    background: none;
    padding: 0;
}

/* Typography Utilities - Comprehensive Control */
.font-display { font-family: var(--font-display); }
.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); }

/* Font Sizes */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-6xl { font-size: var(--text-6xl); }
.text-7xl { font-size: var(--text-7xl); }

/* Letter Spacing */
.tracking-normal { letter-spacing: var(--tracking-normal); }
.tracking-wide { letter-spacing: var(--tracking-wide); }

/* Text Transforms */
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }

/* Text Decoration */
.underline { text-decoration: underline; }
.line-through { text-decoration: line-through; }
.no-underline { text-decoration: none; }

/* Text Wrapping */
.text-wrap-balance { text-wrap: balance; }
.text-nowrap { white-space: nowrap; }

/* Reading Width Constraints */
.prose {
    max-width: 68ch;
}



/* === CONTAINER SYSTEM === */
.container {
    width: 100%;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 var(--space-8);
}

.container-narrow {
    max-width: var(--max-width-narrow);
}

.container-reading {
    max-width: var(--max-width-reading);
}

.container-content {
    max-width: var(--max-width-content);
}

.container-full {
    max-width: var(--max-width-full);
}

/* ========================================
   NAVIGATION BAR - Elegant & Minimal
   ======================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-elegant);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 var(--border-gray), 0 8px 32px var(--shadow-subtle);
    border-bottom-color: var(--border-gray);
}

.navigation-bar {
    padding: var(--space-5) 0;
}

.nav-container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Section - Refined Branding */
.logo-section {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    transition: transform var(--transition-smooth);
}

.logo-link:hover {
    transform: translateY(-1px);
}

.logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px var(--shadow-subtle));
    transition: filter var(--transition-smooth);
}

.logo-link:hover .logo {
    filter: drop-shadow(0 4px 8px var(--shadow-soft));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--deep-charcoal);
    letter-spacing: -0.03em;
}

/* Language Switcher Button */
.lang-switcher {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--accent-blue);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-smooth);
    margin-right: var(--space-4);
    white-space: nowrap;
}

.lang-switcher:hover {
    background: var(--charcoal);
    color: white;
    transform: translateY(-1px);
}

.mobile-lang-switcher {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent-blue);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    margin-top: var(--space-6);
    transition: all var(--transition-smooth);
}

.mobile-lang-switcher:hover {
    background: var(--charcoal);
    color: white;
}

/* Desktop Navigation Menu - Sophisticated */
.nav-menu {
    display: none; /* Hidden by default, use hamburger menu for all screens */
    list-style: none;
    gap: var(--space-10);
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: var(--text-base);
    padding: var(--space-2) 0;
    position: relative;
    letter-spacing: -0.01em;
    transition: color var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width var(--transition-elegant);
}

.nav-link:hover {
    color: var(--accent-orange);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu - Always Visible, All Screens */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    transition: transform var(--transition-smooth);
    box-sizing: content-box;
}

.hamburger-menu:hover {
    transform: scale(1.05);
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #2d2d2d;
    transition: all var(--transition-elegant);
    border-radius: var(--radius-full);
    display: block;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay - Full-Screen Elegance */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--milky-white) 0%, var(--light-gray) 100%);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-graceful);
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    list-style: none;
    text-align: center;
    transform: translateY(30px);
    opacity: 0;
    transition: all var(--transition-graceful);
}

.mobile-menu-overlay.active .mobile-nav-menu {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-item {
    margin: var(--space-8) 0;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInLeft 0.5s ease forwards;
}

.mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-item:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-item:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-item:nth-child(5) { animation-delay: 0.3s; }

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

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    transition: all var(--transition-elegant);
    display: inline-block;
}

.mobile-nav-link:hover {
    color: var(--accent-orange);
    transform: translateX(10px);
    letter-spacing: 0.02em;
}

/* ========================================
   FOOTER - Sophisticated & Informative
   ======================================== */

.main-footer {
    background: var(--primary-white);
    border-top: 1px solid var(--border-gray);
    margin-top: var(--space-16);
    padding: var(--space-12) 0 0;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-16);
    margin-bottom: var(--space-10);
    align-items: start;
    justify-items: center;
    text-align: center;
}

/* Footer Sitemap Column */
.footer-sitemap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: 0;
    margin: 0;
    align-items: center;
}

.footer-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color var(--transition-smooth);
    letter-spacing: 0.01em;
}

.footer-link:hover {
    color: var(--accent-orange);
}

/* Footer Contact Column */
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-address {
    font-style: normal;
    color: var(--text-secondary);
    text-align: center;
}

.address-line {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.contact-info {
    font-size: 0.9rem;
    margin-bottom: var(--space-2);
    line-height: 1.5;
}

.contact-link {
    color: var(--text-secondary);
    transition: color var(--transition-smooth);
}

.contact-link:hover {
    color: var(--accent-orange);
}

/* Footer Copyright Bar */
.footer-bottom {
    background-color: var(--light-gray);
    padding: var(--space-4) var(--space-8);
    border-top: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.footer-service-areas {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}


/* ========================================
   MAIN CONTENT SECTIONS - Elegant Layouts
   ======================================== */

main {
    margin-top: 88px; /* Account for fixed header */
    min-height: 70vh;
}

/* Hero Section - Dramatic & Inviting */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%), url('../images/house15.jpeg') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: var(--space-24) 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 85%, rgba(180, 150, 120, 0.04) 0%, transparent 55%),
        radial-gradient(circle at 85% 15%, rgba(100, 120, 140, 0.04) 0%, transparent 55%);
    pointer-events: none;
    animation: subtleShift 15s ease-in-out infinite alternate;
}

@keyframes subtleShift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10px, 10px) scale(1.02); }
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: floatSlow 20s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: var(--max-width-content);
    padding: 0 var(--space-8);
}

.hero-content h1 {
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.8s ease-out;
    color: white;
}

.hero-subtitle {
    font-size: var(--text-2xl);
    color: white;
    font-weight: 400;
    margin-top: var(--space-6);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* Section Spacing */
.section {
    padding: var(--space-24) 0;
}

.section-compact {
    padding: var(--space-16) 0;
}

.section-spacious {
    padding: var(--space-32) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-16);
    font-weight: 600;
    position: relative;
    padding-bottom: var(--space-4);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: var(--max-width-reading);
    margin: 0 auto var(--space-16);
    line-height: 1.7;
}

/* Background Variants */
.bg-cream {
    background-color: var(--milky-white);
}

.bg-milky {
    background-color: var(--milky-white);
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-warm {
    background-color: var(--light-gray);
}

.bg-soft {
    background-color: var(--soft-gray);
}

.bg-gradient {
    background: linear-gradient(180deg, var(--primary-white) 0%, var(--milky-white) 100%);
}

/* ========================================
   BUTTONS & INTERACTIVE ELEMENTS - Minimal Design
   ======================================== */

.btn {
    display: inline-block;
    padding: var(--space-4) var(--space-10);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    letter-spacing: -0.015em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 320px;
    height: 320px;
}

.btn-primary {
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.btn-primary::after {
    content: '→';
    margin-left: var(--space-3);
    display: inline-block;
    transition: transform var(--transition-smooth);
}

.btn-primary:hover {
    color: var(--accent-orange);
    transform: translateY(-1px);
}

.btn-primary:hover::after {
    transform: translateX(5px);
}

.btn-primary:active {
    transform: scale(0.98) translateY(0);
}

.btn-secondary {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.btn-secondary::after {
    content: '→';
    margin-left: var(--space-3);
    display: inline-block;
    transition: transform var(--transition-smooth);
}

.btn-secondary:hover {
    color: var(--text-primary);
}

.btn-secondary:hover::after {
    transform: translateX(5px);
}

.btn-outline {
    color: var(--charcoal);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(45, 45, 45, 0.3);
    transition: all var(--transition-smooth);
}

.btn-outline:hover {
    color: var(--accent-orange);
    text-decoration-thickness: 2px;
    text-decoration-color: var(--accent-orange);
    transform: translateY(-1px);
}

.btn-large {
    padding: var(--space-5) var(--space-12);
    font-size: var(--text-lg);
    font-weight: 600;
}

.btn-small {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 500;
}

/* ========================================
   INTERACTIVE ELEMENTS & ANIMATIONS
   ======================================== */

/* Statistic Cards with Hover Effects */
.grid-4 > div {
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    cursor: default;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.grid-4 > div:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

/* Card Icon Hover Animation */
.card-icon {
    transition: transform 0.3s ease !important;
}

.card:hover .card-icon {
    transform: scale(1.12) rotate(5deg);
}

/* Link Underline Animation */
p a, li a {
    background-image: linear-gradient(var(--accent-orange), var(--accent-orange));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s ease;
}

p a:hover, li a:hover {
    background-size: 100% 2px;
}

/* Form Input Focus Animation */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Product Category Cards */
.product-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px var(--shadow-medium) !important;
}

/* ========================================
   CARDS & CONTENT BLOCKS
   ======================================== */

/* Card Hover Enhancements */
.card {
    background-color: var(--primary-white);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-elegant);
    border: 1px solid rgba(218, 218, 218, 0.6);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.02), transparent);
    transition: left 0.6s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: rgba(37, 99, 235, 0.15);
}

.card:hover .card-icon {
    transform: scale(1.12) rotate(5deg);
}

.card-header {
    margin-bottom: var(--space-6);
}

.card-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.card-body {
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

.card-body p,
.card-body ul,
.card-body ol {
    max-width: 100%;
}

.card-footer {
    margin-top: auto;
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-gray);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.product-item {
    background: var(--off-white);
    padding: var(--space-3);
    text-align: center;
    border-radius: var(--radius-md);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: var(--space-3);
    border-radius: var(--radius-sm);
}

.product-item p {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.95rem;
    margin: 0;
}

/* Feature Grid - Why Choose Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.feature-box {
    background: white;
    padding: var(--spacing-xl);
    border-left: 4px solid var(--accent-blue);
    box-shadow: var(--shadow-soft);
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--charcoal);
}

.feature-box p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .feature-box {
        padding: var(--spacing-lg);
    }
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: var(--space-10);
}

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

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

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

/* ========================================
   IMAGES & MEDIA - Elegant Display
   ======================================== */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background-color: var(--soft-gray);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.image-wrapper:hover img {
    transform: scale(1.06);
}

/* Dark overlay for uniform image appearance */
.image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.4) 0%, rgba(26, 26, 26, 0.2) 100%);
    pointer-events: none;
    transition: background 0.5s ease;
}

.image-overlay:hover::after {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.3) 0%, rgba(26, 26, 26, 0.15) 100%);
}

.image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.image-overlay:hover img {
    transform: scale(1.05);
}

/* Image with text overlay */
.image-with-caption {
    position: relative;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-8) var(--space-6);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    color: white;
    z-index: 2;
}

.image-caption h3 {
    color: white;
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.image-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-sm);
    margin: 0;
}

/* Placeholder for missing images */
.image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--milky-white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--text-sm);
    text-align: center;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-gray);
    transition: all var(--transition-smooth);
}

.image-placeholder:hover {
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, var(--milky-white) 0%, var(--light-gray) 100%);
    transform: translateY(-2px);
}

/* ========================================
   FORMS - Clean & Accessible
   ======================================== */

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-3);
    font-weight: 500;
    font-size: var(--text-base);
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--charcoal);
    background-color: var(--primary-white);
    transition: all var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gray);
    box-shadow: 0 0 0 4px rgba(166, 124, 82, 0.1);
    background-color: var(--primary-white);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.7;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233A3632' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-10);
    cursor: pointer;
}

.submit-btn {
    background-color: var(--charcoal);
    color: var(--primary-white);
    padding: var(--space-5) var(--space-10);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 500;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all var(--transition-elegant);
    width: 100%;
    box-shadow: 0 4px 12px var(--shadow-soft);
}

.submit-btn:hover {
    background-color: var(--accent-gray);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-medium);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ========================================
   TABLES - Clean Data Display
   ======================================== */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-8);
    background-color: var(--primary-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-subtle);
}

thead {
    background-color: var(--soft-gray);
}

th {
    padding: var(--space-4) var(--space-6);
    text-align: left;
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--charcoal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-gray);
}

td {
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border-gray);
    color: var(--text-secondary);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background-color: var(--milky-white);
}


/* ========================================
   UTILITY CLASSES - Flexible Helpers
   ======================================== */

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Text Colors */
.text-primary { color: var(--deep-charcoal); }
.text-secondary { color: var(--charcoal); }
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-secondary); }
.text-accent { color: var(--accent-orange); }

/* Font Weights */
.font-light { font-weight: var(--font-light); }
.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }
.font-black { font-weight: var(--font-black); }

/* Spacing - Margin Bottom */
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

/* Spacing - Margin Top */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

/* Spacing - Padding */
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.p-10 { padding: var(--space-10); }
.p-12 { padding: var(--space-12); }

/* Display */
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }

/* Flex Utilities */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Width */
.w-full { width: 100%; }
.w-auto { width: auto; }

/* Max Width */
.max-w-narrow { max-width: var(--max-width-narrow); }
.max-w-reading { max-width: var(--max-width-reading); }
.max-w-content { max-width: var(--max-width-content); }
.max-w-wide { max-width: var(--max-width-wide); }
.max-w-full { max-width: var(--max-width-full); }

/* Borders */
.border { border: 1px solid var(--border-gray); }
.border-top { border-top: 1px solid var(--border-gray); }
.border-bottom { border-bottom: 1px solid var(--border-gray); }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

/* Shadows */
.shadow-sm { box-shadow: 0 2px 4px var(--shadow-subtle); }
.shadow { box-shadow: 0 4px 12px var(--shadow-soft); }
.shadow-lg { box-shadow: 0 8px 24px var(--shadow-medium); }
.shadow-xl { box-shadow: 0 16px 48px var(--shadow-strong); }

/* ========================================
   RESPONSIVE DESIGN - Mobile First
   ======================================== */

/* Tablet Devices */
@media (max-width: 1024px) {
    :root {
        --space-8: 1.5rem;
        --space-10: 2rem;
        --space-12: 2.5rem;
        --space-16: 3.5rem;
        --space-20: 4.5rem;
        --space-24: 5.5rem;
        --space-32: 7rem;
    }
    
    .container {
        padding: 0 var(--space-6);
    }
    
    .nav-container {
        padding: 0 var(--space-6);
    }
    
    .hero-section {
        min-height: 70vh;
        padding: var(--space-16) 0;
    }
}

/* Tablet Devices - Footer and Card Responsive Text */
@media (max-width: 992px) {
    .footer-container {
        gap: var(--space-6);
    }
    
    .footer-link,
    .address-line,
    .contact-info {
        font-size: 0.85rem;
    }
    
    .footer-heading {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }
    
    .card-title {
        font-size: var(--text-xl);
    }
    
    .card-body {
        font-size: 0.95rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-6xl: 3rem;
        --text-7xl: 3.5rem;
        --space-8: 1.5rem;
        --space-10: 2rem;
        --space-12: 2.5rem;
        --space-16: 3rem;
        --space-20: 4rem;
        --space-24: 5rem;
        --space-32: 6rem;
    }
    
    .container {
        padding: 0 var(--space-5);
    }
    
    .nav-container {
        padding: 0 var(--space-5);
    }
    
    /* Mobile Footer - Clean Stacked Layout */
    .main-footer {
        padding: var(--space-10) 0 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 var(--space-6);
        text-align: center;
        max-width: 100%;
    }
    
    .footer-sitemap,
    .footer-contact {
        align-items: center;
        padding: var(--space-6) 0;
        border-bottom: 1px solid var(--border-gray);
    }
    
    .footer-sitemap:first-child {
        padding-top: 0;
    }
    
    .footer-contact {
        border-bottom: none;
        padding-bottom: var(--space-4);
    }
    
    .footer-heading {
        font-size: 0.7rem;
        margin-bottom: var(--space-4);
        letter-spacing: 0.12em;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-link {
        font-size: 0.95rem;
        padding: var(--space-2) 0;
    }
    
    .footer-address {
        text-align: center;
    }
    
    .address-line {
        margin-bottom: var(--space-3);
    }
    
    .contact-info {
        margin-bottom: var(--space-2);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
        padding: var(--space-5) var(--space-6);
    }
    
    .footer-copyright,
    .footer-service-areas {
        font-size: 0.75rem;
    }
    
    main {
        margin-top: 76px;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: var(--space-12) 0;
    }
    
    .section {
        padding: var(--space-16) 0;
    }
    
    .section-compact {
        padding: var(--space-12) 0;
    }
    
    .section-spacious {
        padding: var(--space-20) 0;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* CTA1 Section Mobile Fix */
    .hero-section .grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-8);
    }
    
    .hero-section .image-overlay.image-with-caption {
        aspect-ratio: 16/9 !important;
        min-height: 300px !important;
    }
    
    .card {
        padding: var(--space-6);
        text-align: center;
    }
    
    .card-header {
        text-align: center;
    }
    
    .card-title {
        font-size: var(--text-lg);
    }
    
    .card-body {
        font-size: var(--text-sm);
    }
    
    .card-body ul {
        display: inline-block;
        text-align: left;
    }
    
    .card-footer {
        text-align: center;
    }
    
    /* Portfolio Grid - 2 columns on tablet/mobile */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    /* Product Grid - 2 columns on tablet/mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
    
    .product-item img {
        height: 150px;
    }
    
    /* Mobile Typography Adjustments */
    .hero-subtitle {
        font-size: var(--text-xl);
    }
    
    .section-subtitle {
        font-size: var(--text-lg);
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    html {
        font-size: 16px; /* Maintain 16px minimum for better mobile readability */
    }
    
    :root {
        --space-5: 1rem;
        --space-6: 1.25rem;
        --space-8: 1.5rem;
        --space-10: 2rem;
        --space-12: 2.5rem;
        --space-16: 3rem;
        --space-20: 3.5rem;
        --space-24: 4rem;
        --space-32: 5rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .logo-text {
        font-size: var(--text-xl);
    }
    
    .navigation-bar {
        padding: var(--space-4) 0;
    }
    
    .mobile-nav-link {
        font-size: var(--text-3xl);
    }
    
    /* Small Mobile Footer */
    .footer-container {
        padding: 0 var(--space-5);
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .footer-identity {
        padding-bottom: var(--space-5);
    }
    
    .footer-sitemap,
    .footer-contact {
        padding-bottom: var(--space-4);
        margin-bottom: var(--space-4);
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .address-line,
    .contact-info {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding: var(--space-3) var(--space-5);
    }
    
    .btn-large {
        padding: var(--space-4) var(--space-8);
        font-size: var(--text-base);
    }
    
    /* Portfolio Grid - Single column on small mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    /* Product Grid - 2 columns even on small mobile for better display */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
    }
    
    .product-item {
        padding: var(--space-2);
    }
    
    .product-item img {
        height: 120px;
    }
    
    .product-item p {
        font-size: 0.85rem;
    }
    
    table {
        font-size: var(--text-sm);
    }
    
    th, td {
        padding: var(--space-3) var(--space-4);
    }
    
    /* Improve mobile tap targets */
    a, button, .btn {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Ensure mobile nav links are easily tappable */
    .mobile-nav-link {
        padding: var(--space-4) var(--space-6);
        min-height: 56px;
    }
    
    /* Increase form input touch targets */
    .form-group input,
    .form-group textarea,
    .form-group select,
    .submit-btn {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Print Styles */
@media print {
    .main-header,
    .hamburger-menu,
    .mobile-menu-overlay,
    .main-footer,
    .btn {
        display: none;
    }
    
    main {
        margin-top: 0;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    a {
        text-decoration: underline;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    /* Intentionally left empty for now */
    /* Can be populated if dark mode is desired */
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --charcoal: #000000;
        --deep-charcoal: #000000;
        --stone-gray: #999999;
    }
    
    .btn,
    .card,
    input,
    textarea,
    select {
        border-width: 2px;
    }
}
