/* CSS Reset and Base Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --border-color: #e2e8f0;
    --shadow: 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);
    --header-bg: rgba(255, 255, 255, 0.95);
    --card-bg: var(--white);
    --hero-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --quote-bg: #eff6ff;
    --quote-border: #bfdbfe;
    --footer-bg: #0f172a;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 40px;
    --spacing-2xl: 60px;
    --spacing-3xl: 80px;
}

[data-theme="dark"] {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #94a3b8;
    --text-dark: #f8fafc;
    --text-light: #cbd5e1;
    --bg-light: #1e293b;
    --white: #0f172a;
    --border-color: #334155;
    --header-bg: rgba(15, 23, 42, 0.95);
    --card-bg: #1e293b;
    --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --quote-bg: #1e293b;
    --quote-border: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.18);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.logo {
    max-width: 180px;
}


[data-theme="light"] {
    .logo img {
        filter: invert(1);
    }
}

a:hover {
    color: var(--primary-color);
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin: var(--spacing-xs) 0;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin: var(--spacing-xs) 0;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Header and Navigation */
.header {
    position: sticky;
    top: 0;
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 3000;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Add spacing between sections */
main > section {
    margin-bottom: 0;
}

/* Ensure proper spacing between consecutive sections */
main > section + section {
    margin-top: var(--spacing-3xl);
}

/* Product Category Spacing and Typography */
.product-category {
    margin-bottom: var(--spacing-3xl);
    padding: var(--spacing-2xl) 0;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.product-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.category-header:hover {
    border-bottom-color: var(--primary-color);
}

.category-icon {
    font-size: 48px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-header:hover .category-icon {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(37, 99, 235, 0.3);
}

.category-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
    flex: 1;
}

.category-header p {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
    max-width: 600px;
    line-height: 1.6;
}

/* Enhanced product card spacing for better visual separation */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: var(--spacing-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Products page specific styles - image on top layout */
body.products-page .product-card.detailed {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: var(--spacing-xl);
}

body.products-page .product-card.detailed .product-image {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
}

body.products-page .product-card.detailed .product-info {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
}

/* Enhanced typography for product information */
.product-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    line-height: 1.3;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: 16px;
    line-height: 1.7;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.spec {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.spec:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.product-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.product-features li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.product-features li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    margin-right: var(--spacing-xs);
    font-size: 18px;
}

.product-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Responsive improvements for category spacing */
@media (max-width: 1024px) {
    .product-category {
        margin-bottom: var(--spacing-2xl);
        padding: var(--spacing-xl) 0;
    }
    
    .category-header {
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
    }
    
    .category-icon {
        font-size: 36px;
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }
    
    .category-header h2 {
        font-size: 28px;
    }
    
    .products-grid {
        gap: var(--spacing-lg);
    }
    
    .product-card {
        gap: var(--spacing-lg);
        padding: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .product-category {
        margin-bottom: var(--spacing-xl);
        padding: var(--spacing-lg) 0;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    .category-icon {
        font-size: 40px;
        width: 70px;
        height: 70px;
        align-self: center;
    }
    
    .category-header h2 {
        font-size: 24px;
        text-align: center;
        width: 100%;
    }
    
    .category-header p {
        text-align: center;
        width: 100%;
    }
    
    .products-grid {
        gap: var(--spacing-md);
    }
    
    .product-card {
        gap: var(--spacing-md);
        padding: var(--spacing-sm);
    }
    
    .product-info h3 {
        font-size: 20px;
    }
    
    .product-info p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .product-category {
        margin-bottom: var(--spacing-lg);
        padding: var(--spacing-md) 0;
    }
    
    .category-header {
        gap: var(--spacing-sm);
    }
    
    .category-icon {
        font-size: 32px;
        width: 60px;
        height: 60px;
    }
    
    .category-header h2 {
        font-size: 20px;
    }
    
    .products-grid {
        gap: var(--spacing-sm);
    }
    
    .product-card {
        gap: var(--spacing-sm);
        padding: var(--spacing-xs);
    }
    
    .product-info h3 {
        font-size: 18px;
    }
    
    .product-info p {
        font-size: 14px;
    }
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.header-content {
    padding-inline: var(--spacing-md);
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    color: var(--text-dark);
    font-size: 20px;
}

.theme-toggle:hover {
    background-color: var(--bg-light);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .wall-showcase {
    background: var(--gray-800);
}

[data-theme="dark"] .wall-showcase-slide {
    background: var(--gray-900);
}

[data-theme="dark"] .wall-showcase-btn {
    background: rgba(30, 41, 59, 0.9);
    color: var(--text-dark);
}

[data-theme="dark"] .wall-showcase-btn:hover {
    background: rgba(30, 41, 59, 1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    width: 40px;
    height: 40px;
}

.mobile-menu-toggle:hover {
    background-color: var(--bg-light);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: none;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 100px var(--spacing-md) var(--spacing-xl);
    transition: left 0.3s ease, background-color 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    padding: 0;
    margin: 0;
}

.mobile-nav ul li a {
    padding: var(--spacing-sm) 0;
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    background: var(--hero-gradient);
    transition: background 0.3s ease;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: var(--spacing-2xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

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

.wall-showcase {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 500px;
    background: var(--gray-100);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.wall-showcase.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    z-index: 9999;
    border-radius: 0;
}

.wall-showcase-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wall-showcase-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gray-900);
    border-radius: 12px;
    overflow: hidden;
}

.wall-showcase-slide.active {
    opacity: 1;
    z-index: 1;
}

.wall-showcase-slide img,
.wall-showcase-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.wall-showcase-slide.landscape {
    padding: 40px;
    box-sizing: border-box;
}

.wall-showcase-slide.landscape img,
.wall-showcase-slide.landscape video {
    max-width: 100%;
    max-height: 100%;
}

.wall-showcase-controls {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.wall-showcase-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--gray-800);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.wall-showcase-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.wall-showcase-btn:active {
    transform: scale(0.95);
}

.wall-showcase.fullscreen .wall-showcase-btn {
    width: 56px;
    height: 56px;
    font-size: 24px;
}

.wall-showcase.fullscreen .wall-showcase-slide img,
.wall-showcase.fullscreen .wall-showcase-slide video {
    object-fit: contain;
}

.wall-showcase-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width linear;
    z-index: 10;
}

.wall-showcase.fullscreen .wall-showcase-progress {
    height: 4px;
}

/* Features Section */
.features {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 0;
}

/* Quote Calculator */
.quote-calculator {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-light);
}

.quote-content {
    display: grid;
    grid-template-rows: auto auto;
    gap: 40px;
}

.quote-info {
    grid-column: 1 / -1;
}

.calculator-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.quote-info h2 {
    font-size: 32px;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.quote-info p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: var(--spacing-md);
}

.calculator {
    background-color: var(--card-bg);
    padding: var(--spacing-2xl);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    background-color: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.quote-result {
    padding: var(--spacing-lg);
    background-color: var(--quote-bg);
    border-radius: 12px;
    border: 1px solid var(--quote-border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    align-self: start;
    position: relative;
}

/* Desktop sticky positioning for quote result */
@media (min-width: 1025px) {
    .quote-result {
        position: sticky;
        top: 100px; /* Distance from top of viewport */
        max-height: calc(100vh - 200px); /* Prevent exceeding viewport */
        overflow-y: auto;
        z-index: 10;
        will-change: transform; /* Optimize for smooth scrolling */
    }
    
    /* Ensure the quote result stays within the quote section boundaries */
    .quote-calculator .quote-content {
        position: relative;
    }
    
    /* Improve sticky behavior on different browsers */
    .quote-calculator .calculator-container {
        position: relative;
        isolation: isolate; /* Create new stacking context */
    }
}

.quote-result h3 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.cost-display {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.cost-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

.cost-note {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 0;
}

.editable-note {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
    margin-left: 8px;
}

/* Products Section */
.products {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
    margin-top: var(--spacing-sm);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: var(--spacing-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Products page specific styles - image on top layout */
body.products-page .product-card.detailed {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
}

body.products-page .product-card.detailed .product-image {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
}

body.products-page .product-card.detailed .product-info {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
}

.product-type {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}

.product-type.boundary {
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%);
}

.product-type.retaining {
    background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
}

.product-type.partition {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
}

.product-type.sound {
    background: linear-gradient(135deg, #a7f3d0 0%, #34d399 100%);
}

.product-type img {
    height: 100%;
    padding: 4px;
    border-radius: 12px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.product-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.product-features li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.product-features li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    margin-right: var(--spacing-xs);
}

.product-actions {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

/* Process Section */
.process {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.process-step {
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    gap: var(--spacing-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Customers Section */
.customers {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.customer-card {
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.customer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.customer-logo {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.customer-card h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.customer-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.customer-rating {
    color: #f59e0b;
    font-size: 14px;
}

/* About Section */
.about {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    font-size: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--bg-light);
    border-radius: 12px;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0;
}

.about-image {
    display: flex;
    justify-content: center;
}

.factory-showcase {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.factory-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Contact Section */
.contact {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    gap: var(--spacing-lg);
}

.contact-item {
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
}

.contact-item h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    font-size: 18px;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0;
}

.contact-form {
    background-color: var(--card-bg);
    padding: var(--spacing-2xl);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-md);
    transition: background-color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
    display: grid;
    gap: var(--spacing-xs);
}

.footer-section a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #93c5fd;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid #1f2937;
    color: #94a3b8;
}

.section-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .wall-showcase {
        height: 85vh;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .customers-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo h1 {
        font-size: 24px
    }


    .mobile-menu-toggle {
        display: flex;
    }

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

    .hero-content h1 {
        font-size: 28px;
    }

    .quote-content {
        grid-template-columns: 1fr;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-cta {
        margin-top: var(--spacing-xl);
        margin-bottom: var(--spacing-sm);
    }

    /* Ensure no horizontal scroll on mobile */
    .product-card,
    .feature-card,
    .process-step,
    .customer-card,
    .contact-item,
    .calculator,
    .quote-result {
        max-width: 100%;
        box-sizing: border-box;
    }

    .wall-showcase {
        height: 85vh;
    }

    .wall-showcase-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .wall-showcase-slide.landscape {
        padding: 20px;
    }

    /* Improve form layout on small screens */
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group {
        margin-bottom: var(--spacing-sm);
    }

    /* Adjust hero content spacing */
    .cta-buttons {
        gap: var(--spacing-sm);
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        margin: var(--spacing-xs) 0;
    }
}

@media (max-width: 647px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .product-actions {
        justify-content: center;
    }
    
    /* Ensure products page layout works on small screens */
    body.products-page .product-card.detailed {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 16px;
        font-size: 14px;
    }

    .mobile-nav {
        width: 100%;
    }

    /* Prevent any horizontal overflow on very small screens */
    * {
        max-width: 100%;
    }

    /* Ensure text doesn't overflow */
    .hero-subtitle,
    .section-header p,
    .feature-card p,
    .product-info p,
    .step-content p,
    .customer-card p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .wall-showcase {
        height: 85vh;
    }

    .wall-showcase-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .wall-showcase-slide.landscape {
        padding: 16px;
    }
    }

    /* Ensure hero section doesn't overflow */
    .hero .container {
        overflow-x: hidden;
    }

    /* Fix any remaining overflow issues */
    html, body {
        overflow-x: hidden;
    }

    .calculator {
        padding: var(--spacing-xs);
    }
}

/* Responsive styles for customer stats */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .customer-stats {
        padding: var(--spacing-2xl) 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 24px;
    }
}

/* Responsive styles for testimonials */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: var(--spacing-2xl) 0;
    }
    
    .testimonial-card {
        padding: var(--spacing-md);
    }
    
    .testimonial-header {
        gap: var(--spacing-sm);
    }
    
    .customer-avatar {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .testimonial-content {
        padding: var(--spacing-sm);
    }
    
    .testimonial-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .customer-avatar {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    
    .testimonial-content p {
        font-size: 13px;
    }
}

/* Responsive styles for case studies */
@media (max-width: 1024px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-study-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .case-studies {
        padding: var(--spacing-2xl) 0;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-image {
        height: 200px;
    }
    
    .case-study-card {
        padding: var(--spacing-sm);
    }
    
    .case-study-content {
        padding: var(--spacing-md);
    }
    
    .case-study-overlay h3 {
        font-size: 18px;
    }
    
    .case-study-overlay p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .case-study-image {
        height: 160px;
    }
    
    .case-study-overlay h3 {
        font-size: 16px;
    }
    
    .case-study-overlay p {
        font-size: 11px;
    }
}

/* Responsive styles for partners */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .partners {
        padding: var(--spacing-2xl) 0;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-logo {
        width: 50px;
        height: 50px;
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        width: 45px;
        height: 45px;
        font-size: 28px;
    }
}

/* Responsive styles for CTA section */
@media (max-width: 768px) {
    .cta-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .cta-content {
        padding: var(--spacing-xl);
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-content p {
        font-size: 14px;
    }
    
    .cta-buttons {
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 20px;
    }
    
    .cta-content p {
        font-size: 13px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus indicators for accessibility */
button:focus,
input:focus,
select:focus,
a:focus {
    outline: 3px solid rgba(37, 99, 235, 0.3);
    outline-offset: 2px;
}

/* Prevent horizontal overflow on all devices */
* {
    box-sizing: border-box;
}

/* Ensure images and media scale properly */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* Print styles */
@media print {
    .header,
    .mobile-nav,
    .footer {
        display: none;
    }

    body {
        background: white;
    }

    .container {
        max-width: none;
        padding: 0;
    }
}

/* Map Styles */
.map-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.location-search {
    position: relative;
    margin-bottom: var(--spacing-sm);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#locationSearch {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background-color: var(--card-bg);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

#locationSearch:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#locationSearch::placeholder {
    color: var(--text-light);
}

.clear-search-btn {
    position: absolute;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background-color: var(--border-color);
    color: var(--text-light);
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.clear-search-btn:hover {
    background-color: var(--text-light);
    color: var(--card-bg);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 4px;
}

.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: var(--bg-light);
}

.search-result-item.selected {
    background-color: var(--bg-light);
    border-left: 3px solid var(--primary-color);
}

.search-result-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-size: 14px;
}

.search-result-description {
    font-size: 13px;
    color: var(--text-light);
}

.search-result-type {
    display: inline-block;
    padding: 2px 8px;
    background-color: var(--bg-light);
    color: var(--text-light);
    font-size: 11px;
    border-radius: 4px;
    margin-top: 4px;
    text-transform: capitalize;
}

.search-loading {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.search-error {
    padding: 20px;
    text-align: center;
    color: var(--danger);
    font-size: 14px;
}

.map {
    height: 400px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    background-color: var(--white);
    transition: background-color 0.3s ease;
    position: relative;
}

.map-instructions {
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
}

.map-instructions p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    font-size: 14px;
}

.distance-info, .extra-cost-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.distance-label, .extra-cost-label {
    font-weight: 500;
    color: var(--text-dark);
}

.distance-value, .extra-cost-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
}

.distance-unit {
    color: var(--text-light);
    font-size: 14px;
}

.distance-tooltip {
    margin-left: 8px;
    cursor: help;
    font-size: 16px;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.distance-tooltip:hover {
    opacity: 1;
    transform: scale(1.2);
}

.distance-tooltip::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.distance-tooltip:hover::after {
    opacity: 1;
}

/* Leaflet map controls styling */
.leaflet-control-attribution {
    background: transparent !important;
    color: var(--text-light) !important;
    font-size: 12px !important;
}

.leaflet-control-zoom {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
}

.leaflet-control-zoom a {
    background-color: var(--card-bg) !important;
    color: var(--text-dark) !important;
    border-radius: 6px !important;
}

.leaflet-control-zoom a:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Map marker styling */
.leaflet-marker-icon {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Responsive map styles */
@media (max-width: 768px) {
    .map {
        height: 300px;
    }
    
    .map-instructions {
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .map {
        height: 250px;
    }
}

/* Customer Information Form Styles */
.customer-info-form {
    margin-top: 20px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.customer-info-form h3 {
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 18px;
}

.customer-info-form .form-group {
    margin-bottom: 16px;
}

.customer-info-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.customer-info-form .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    background-color: var(--white);
    color: var(--text-dark);
}

.customer-info-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.customer-info-form .form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.customer-info-form .form-actions .btn-primary {
    flex: 1;
    min-width: 120px;
}

.customer-info-form .form-actions .btn-secondary {
    flex: 1;
    min-width: 120px;
}

/* Responsive styles for customer info form */
@media (max-width: 768px) {
    .customer-info-form {
        margin-top: 16px;
        padding: 16px;
    }
    
    .customer-info-form .form-actions {
        flex-direction: column;
    }
    
    .customer-info-form .form-actions .btn-primary,
    .customer-info-form .form-actions .btn-secondary {
        flex: none;
        width: 100%;
    }
}

/* Process Page Specific Styles */
.process-showcase {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.process-step-mini {
    background-color: var(--card-bg);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.process-step-mini:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.process-step-mini .step-icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.process-step-mini span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.process-overview {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
}

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

.timeline-step {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.timeline-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.timeline-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: var(--shadow);
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.step-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xs);
    margin: 0;
    padding: 0;
}

.step-features li {
    padding: 6px 0;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.step-features li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 6px;
}

.manufacturing-details {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-light);
}

.manufacturing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.manufacturing-card {
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.manufacturing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.manufacturing-icon {
    font-size: 36px;
    margin-bottom: var(--spacing-md);
}

.manufacturing-card h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.manufacturing-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.card-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--spacing-xs);
}

.card-features li {
    padding: 4px 0;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    padding-left: 16px;
}

.card-features li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 4px;
}

.quality-assurance {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.quality-card {
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.quality-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.quality-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.quality-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.quality-card h3 {
    font-size: 18px;
    margin: 0;
    color: var(--text-dark);
}

.quality-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.quality-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--spacing-xs);
}

.quality-list li {
    padding: 6px 0;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
    border-bottom: 1px solid var(--border-color);
}

.quality-list li:last-child {
    border-bottom: none;
}

.quality-list li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 6px;
}

.installation-process {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-light);
}

.installation-steps {
    display: grid;
    gap: var(--spacing-lg);
}

.installation-step {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.installation-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.step-details {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--spacing-xs);
}

.step-details li {
    padding: 6px 0;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.step-details li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 6px;
}

.timeline-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
}

.timeline-visual {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.timeline-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.timeline-milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.timeline-milestone:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    right: -40%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.milestone-dot {
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.milestone-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    text-align: center;
}

.milestone-time {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

.timeline-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.summary-label {
    font-size: 12px;
    color: var(--text-light);
}

.summary-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.cta-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-light);
}

.cta-content {
    text-align: center;
    background-color: var(--card-bg);
    padding: var(--spacing-2xl);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.cta-content p {
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive styles for process page */
@media (max-width: 1024px) {
    .manufacturing-grid {
        grid-template-columns: 1fr;
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-bar {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline-milestone:not(:last-child)::after {
        display: none;
    }
    
    .timeline-milestone {
        width: 100%;
    }
    
    .timeline-milestone::after {
        display: none;
    }
    
    .timeline-summary {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .timeline-step {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-marker {
        margin-bottom: 12px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .manufacturing-grid,
    .quality-grid,
    .installation-steps {
        grid-template-columns: 1fr;
    }
    
    .timeline-visual {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .timeline-bar {
        min-width: 600px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .timeline-bar {
        min-width: 500px;
    }
    
    .process-showcase {
        gap: 12px;
    }
    
    .process-step-mini {
        padding: 10px 12px;
    }
    
    .process-step-mini .step-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    /* Enhanced mobile timeline styles for better readability */
    .timeline-milestone {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .timeline-milestone:not(:last-child)::after {
        display: none;
    }
    
    .milestone-label {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .milestone-time {
        font-size: 11px;
    }
    
    .timeline-summary {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .summary-item {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .timeline-bar {
        min-width: 500px;
        padding: 16px;
    }
    
    .timeline-milestone {
        min-width: 100px;
    }
    
    .milestone-label {
        font-size: 10px;
    }
    
    .milestone-time {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .timeline-bar {
        min-width: 400px;
        padding: 12px;
    }
    
    .timeline-milestone {
        min-width: 80px;
    }
    
    .milestone-label {
        font-size: 9px;
        line-height: 1.2;
    }
    
    .milestone-time {
        font-size: 9px;
    }
    
    /* Vertical timeline for very small screens */
    .timeline-milestone {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .milestone-dot {
        margin-bottom: 0;
    }
    
    .milestone-label {
        font-size: 10px;
        text-align: center;
        white-space: normal;
        max-width: 80px;
    }
    
    .milestone-time {
        font-size: 10px;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .timeline-bar {
        min-width: 320px;
        padding: 8px;
    }
    
    .timeline-milestone {
        min-width: 60px;
    }
    
    .milestone-label {
        font-size: 8px;
        max-width: 60px;
    }
    
    .milestone-time {
        font-size: 8px;
    }
}

/* Hero Image Customer Showcase */
.hero-image .customer-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.customer-logo {
    font-size: 48px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.customer-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background-color: var(--primary-color);
    color: white;
}

/* Customer Stats Section */
.customer-stats {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.stat-card {
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
    transition: background-color 0.3s ease;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.customer-avatar {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 50%;
    box-shadow: var(--shadow);
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.customer-avatar:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.customer-info {
    flex: 1;
}

.customer-info h4 {
    font-size: 18px;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    font-weight: 600;
}

.customer-info p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    font-size: 14px;
    font-weight: 500;
}

.customer-rating {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 0;
}

.testimonial-content {
    flex: 1;
    padding: var(--spacing-md);
    background-color: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.testimonial-content p {
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 15px;
}

.testimonial-project {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    flex-wrap: wrap;
}

.project-tag {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-location {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
}

/* Case Studies Section */
.case-studies {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.case-study-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-study-image {
    position: relative;
    height: 200px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.case-study-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: var(--spacing-lg);
    color: white;
}

.case-study-overlay h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.case-study-overlay p {
    font-size: 14px;
    margin-bottom: 0;
    opacity: 0.9;
}

.case-study-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    flex: 1;
}

.case-study-challenge,
.case-study-solution,
.case-study-results {
    flex: 1;
}

.case-study-challenge h4,
.case-study-solution h4,
.case-study-results h4 {
    font-size: 16px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    padding-bottom: var(--spacing-xs);
    transition: border-color 0.3s ease;
}

.case-study-challenge h4 {
    color: var(--danger);
    border-bottom-color: var(--danger);
}

.case-study-solution h4 {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.case-study-results h4 {
    color: var(--success);
    border-bottom-color: var(--success);
}

.case-study-challenge ul,
.case-study-solution ul,
.case-study-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--spacing-xs);
}

.case-study-challenge li,
.case-study-solution li,
.case-study-results li {
    padding: 6px 0;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    padding-left: 16px;
    border-bottom: 1px solid var(--border-color);
}

.case-study-challenge li:last-child,
.case-study-solution li:last-child,
.case-study-results li:last-child {
    border-bottom: none;
}

.case-study-challenge li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 12px;
}

.case-study-solution li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 6px;
}

.case-study-results li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 6px;
}

/* Partners Section */
.partners {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
    transition: background-color 0.3s ease;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.partner-card {
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo {
    font-size: 40px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.partner-logo:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.partner-card h4 {
    font-size: 18px;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    font-weight: 600;
}

.partner-card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
}

.cta-content {
    text-align: center;
    background-color: var(--card-bg);
    padding: var(--spacing-2xl);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.cta-content p {
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    font-size: 16px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}
