/* CSS Variables */
:root {
    --primary-color: #1e40af;
    --primary-dark: #1d4ed8;
    --secondary-color: #059669;
    --accent-color: #dc2626;
    --wisconsin-red: #c5050c;
    --wisconsin-gold: #ffd700;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-wisconsin: linear-gradient(135deg, var(--wisconsin-red), var(--wisconsin-gold));
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--wisconsin-red);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%), 
                url('https://cinsulation.com/wp-content/uploads/2022/02/PXL_20210423_174410613.jpg');
                background-size: cover;
                background-position: center;
                background-attachment: fixed;
                display: flex;
                align-items: center;
                position: relative;
                padding: 120px 0 80px;
            }
            
            .hero::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            }
            
            .hero-container {
                max-width: 1400px;
                margin: 0 auto;
                padding: 0 2rem;
                position: relative;
                z-index: 2;
            }
            
            .hero-content {
                max-width: 700px;
            }
            
            .hero-badge {
                display: inline-flex;
                align-items: center;
                gap: 0.5rem;
                background: rgba(197, 5, 12, 0.1);
                color: var(--wisconsin-red);
                padding: 0.75rem 1.5rem;
                border-radius: 50px;
                font-size: 0.9rem;
                font-weight: 600;
                margin-bottom: 2rem;
                border: 1px solid rgba(197, 5, 12, 0.2);
                backdrop-filter: blur(10px);
            }
            
            .hero h1 {
                font-size: clamp(2.5rem, 6vw, 4.5rem);
                font-weight: 800;
                color: white;
                margin-bottom: 1.5rem;
                line-height: 1.1;
                text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            }
            
            .hero-highlight {
                background: var(--gradient-wisconsin);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }
            
            .hero-subtitle {
                font-size: 1.25rem;
                color: #e2e8f0;
                margin-bottom: 2rem;
                line-height: 1.7;
                text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
            }
            
            .hero-features {
                display: flex;
                flex-wrap: wrap;
                gap: 2rem;
                margin-bottom: 3rem;
            }
            
            .hero-feature {
                display: flex;
                align-items: center;
                gap: 0.5rem;
                color: #cbd5e1;
                font-weight: 500;
            }
            
            .hero-feature i {
                color: var(--wisconsin-gold);
                font-size: 1.125rem;
            }
            
            .hero-cta {
                display: flex;
                gap: 1rem;
                flex-wrap: wrap;
            }
            
            .hero-scroll {
                position: absolute;
                bottom: 2rem;
                left: 50%;
                transform: translateX(-50%);
                color: white;
                font-size: 1.5rem;
                animation: bounce 2s infinite;
            }
            
            /* Welcome Section */
            .welcome {
                background: var(--bg-primary);
                padding: 6rem 0;
            }
            
            .welcome-content {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 4rem;
                align-items: center;
            }
            
            .welcome-text h2 {
                color: var(--text-primary);
                margin-bottom: 0.5rem;
            }
            
            .welcome-subtitle {
                color: var(--wisconsin-red);
                font-size: 1.125rem;
                font-weight: 600;
                margin-bottom: 2rem;
            }
            
            .welcome-text p {
                font-size: 1.125rem;
                line-height: 1.7;
                margin-bottom: 1.5rem;
            }
            
            .welcome-highlights {
                display: grid;
                grid-template-columns: 1fr;
                gap: 2rem;
                margin: 3rem 0;
            }
            
            .highlight-item {
                display: flex;
                gap: 1rem;
                align-items: flex-start;
            }
            
            .highlight-item i {
                color: var(--primary-color);
                font-size: 1.5rem;
                margin-top: 0.25rem;
                flex-shrink: 0;
            }
            
            .highlight-item h4 {
                color: var(--text-primary);
                margin-bottom: 0.5rem;
            }
            
            .highlight-item p {
                margin: 0;
                font-size: 0.95rem;
            }
            
            .welcome-image {
                position: relative;
            }
            
            .welcome-image img {
                width: 100%;
                height: auto;
                border-radius: 1rem;
                box-shadow: var(--shadow-xl);
            }
            
            /* Services Overview */
            .services-overview {
                background: var(--bg-secondary);
                padding: 6rem 0;
            }
            
            .services-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
                gap: 2rem;
            }
            
            .service-card {
                background: white;
                padding: 2.5rem;
                border-radius: 1rem;
                box-shadow: var(--shadow-md);
                transition: all 0.3s ease;
                border: 1px solid var(--border-color);
                position: relative;
            }
            
            .service-card:hover {
                transform: translateY(-5px);
                box-shadow: var(--shadow-xl);
            }
            
            .service-card.featured {
                border: 2px solid var(--wisconsin-red);
                transform: scale(1.02);
            }
            
            .featured-badge {
                position: absolute;
                top: -12px;
                left: 50%;
                transform: translateX(-50%);
                background: var(--wisconsin-red);
                color: white;
                padding: 0.5rem 1rem;
                border-radius: 20px;
                font-size: 0.8rem;
                font-weight: 600;
            }
            
            .service-icon {
                width: 4rem;
                height: 4rem;
                background: var(--gradient-primary);
                border-radius: 1rem;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-bottom: 1.5rem;
                color: white;
                font-size: 1.5rem;
            }
            
            .service-card h3 {
                color: var(--text-primary);
                margin-bottom: 1rem;
            }
            
            .service-card p {
                margin-bottom: 1.5rem;
                line-height: 1.6;
            }
            
            .service-features {
                list-style: none;
                margin-bottom: 2rem;
            }
            
            .service-features li {
                display: flex;
                align-items: center;
                gap: 0.75rem;
                margin-bottom: 0.75rem;
                font-size: 0.95rem;
                color: var(--text-secondary);
            }
            
            .service-features i {
                color: var(--secondary-color);
                font-size: 0.8rem;
            }
            
            .service-link {
                display: inline-flex;
                align-items: center;
                gap: 0.5rem;
                color: var(--primary-color);
                font-weight: 600;
                transition: all 0.3s ease;
            }
            
            .service-link:hover {
                color: var(--primary-dark);
                transform: translateX(5px);
            }
            
            /* Why Choose Us */
            .why-choose-us {
                padding: 6rem 0;
                background: var(--bg-primary);
            }
            
            .why-choose-content {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 4rem;
                align-items: center;
            }
            
            .why-choose-text h2 {
                color: var(--text-primary);
                margin-bottom: 1rem;
            }
            
            .section-subtitle {
                font-size: 1.125rem;
                color: var(--text-secondary);
                margin-bottom: 3rem;
            }
            
            .reasons-list {
                display: flex;
                flex-direction: column;
                gap: 2rem;
            }
            
            .reason-item {
                display: flex;
                gap: 1.5rem;
                align-items: flex-start;
            }
            
            .reason-number {
                background: var(--gradient-primary);
                color: white;
                width: 3rem;
                height: 3rem;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                font-weight: 700;
                font-size: 1.125rem;
                flex-shrink: 0;
            }
            
            .reason-content h4 {
                color: var(--text-primary);
                margin-bottom: 0.5rem;
            }
            
            .reason-content p {
                margin: 0;
                font-size: 0.95rem;
            }
            
            .why-choose-stats {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }
            
            .stat-card {
                background: white;
                padding: 2rem;
                border-radius: 1rem;
                text-align: center;
                box-shadow: var(--shadow-md);
                border: 1px solid var(--border-color);
            }
            
            .stat-number {
                font-size: 2.5rem;
                font-weight: 800;
                color: var(--wisconsin-red);
                display: block;
                margin-bottom: 0.5rem;
            }
            
            .stat-label {
                color: var(--text-secondary);
                font-weight: 500;
                font-size: 0.95rem;
            }
            
            /* Service Areas */
            .service-areas {
                background: var(--bg-secondary);
                padding: 6rem 0;
            }
            
            .areas-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 2rem;
            }
            
            .area-card {
                background: white;
                padding: 2rem;
                border-radius: 1rem;
                text-align: center;
                box-shadow: var(--shadow-md);
                transition: all 0.3s ease;
                border: 1px solid var(--border-color);
            }
            
            .area-card:hover {
                transform: translateY(-3px);
                box-shadow: var(--shadow-lg);
            }
            
            .area-card i {
                color: var(--primary-color);
                font-size: 2rem;
                margin-bottom: 1rem;
            }
            
            .area-card h3 {
                color: var(--text-primary);
                margin-bottom: 1rem;
            }
            
            .area-card p {
                margin: 0;
                font-size: 0.95rem;
            }
            
            /* CTA Section */
            .cta-section {
                background: var(--bg-dark);
                color: white;
                padding: 6rem 0;
                text-align: center;
            }
            
            .cta-content h2 {
                color: white;
                margin-bottom: 1rem;
            }
            
            .cta-content p {
                font-size: 1.125rem;
                color: #cbd5e1;
                margin-bottom: 3rem;
                max-width: 600px;
                margin-left: auto;
                margin-right: auto;
            }
            
            .cta-buttons {
                display: flex;
                gap: 1rem;
                justify-content: center;
                flex-wrap: wrap;
                margin-bottom: 3rem;
            }
            
            .cta-features {
                display: flex;
                gap: 3rem;
                justify-content: center;
                flex-wrap: wrap;
            }
            
            .cta-feature {
                display: flex;
                align-items: center;
                gap: 0.5rem;
                color: #cbd5e1;
                font-weight: 500;
            }
            
            .cta-feature i {
                color: var(--wisconsin-gold);
                font-size: 1.125rem;
            }
            
            /* Footer */
            .footer {
                background: #020617;
                color: #64748b;
                padding: 4rem 0 2rem;
            }
            
            .footer-content {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 3rem;
                margin-bottom: 3rem;
            }
            
            .footer-section h4 {
                color: white;
                font-size: 1.25rem;
                margin-bottom: 1.5rem;
            }
            
            .footer-logo img {
                height: 50px;
                width: auto;
                margin-bottom: 1rem;
            }
            
            .footer-section p {
                line-height: 1.7;
                margin-bottom: 1.5rem;
            }
            
            .footer-social {
                display: flex;
                gap: 1rem;
            }
            
            .footer-social a {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                background: rgba(255, 255, 255, 0.1);
                border-radius: 50%;
                color: #64748b;
                transition: all 0.3s ease;
            }
            
            .footer-social a:hover {
                background: var(--wisconsin-red);
                color: white;
                transform: translateY(-2px);
            }
            
            .footer-section ul {
                list-style: none;
            }
            
            .footer-section ul li {
                margin-bottom: 0.75rem;
            }
            
            .footer-section ul li a {
                color: #64748b;
                transition: color 0.3s ease;
            }
            
            .footer-section ul li a:hover {
                color: var(--wisconsin-gold);
            }
            
            .contact-info {
                display: flex;
                flex-direction: column;
                gap: 1rem;
            }
            
            .contact-item {
                display: flex;
                align-items: center;
                gap: 0.75rem;
            }
            
            .contact-item i {
                color: var(--wisconsin-red);
                width: 16px;
            }
            
            .contact-item a {
                color: #64748b;
                transition: color 0.3s ease;
            }
            
            .contact-item a:hover {
                color: var(--wisconsin-gold);
            }
            
            .footer-bottom {
                border-top: 1px solid #334155;
                padding-top: 2rem;
            }
            
            .footer-bottom-content {
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-wrap: wrap;
                gap: 1rem;
            }
            
            .footer-links {
                display: flex;
                gap: 2rem;
            }
            
            .footer-links a {
                color: #64748b;
                font-size: 0.9rem;
                transition: color 0.3s ease;
            }
            
            .footer-links a:hover {
                color: var(--wisconsin-gold);
            }
            
            /* Animations */
            @keyframes fadeInUp {
                from {
                    opacity: 0;
                    transform: translateY(30px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
            
            @keyframes bounce {
                0%, 20%, 50%, 80%, 100% {
                    transform: translateX(-50%) translateY(0);
                }
                40% {
                    transform: translateX(-50%) translateY(-10px);
                }
                60% {
                    transform: translateX(-50%) translateY(-5px);
                }
            }
            
            @keyframes fadeIn {
                from {
                    opacity: 0;
                }
                to {
                    opacity: 1;
                }
            }
            
            /* Utility Classes */
            .text-center {
                text-align: center;
            }
            
            .text-left {
                text-align: left;
            }
            
            .text-right {
                text-align: right;
            }
            
            .mt-1 { margin-top: 0.5rem; }
            .mt-2 { margin-top: 1rem; }
            .mt-3 { margin-top: 1.5rem; }
            .mt-4 { margin-top: 2rem; }
            
            .mb-1 { margin-bottom: 0.5rem; }
            .mb-2 { margin-bottom: 1rem; }
            .mb-3 { margin-bottom: 1.5rem; }
            .mb-4 { margin-bottom: 2rem; }
            
            .pt-1 { padding-top: 0.5rem; }
            .pt-2 { padding-top: 1rem; }
            .pt-3 { padding-top: 1.5rem; }
            .pt-4 { padding-top: 2rem; }
            
            .pb-1 { padding-bottom: 0.5rem; }
            .pb-2 { padding-bottom: 1rem; }
            .pb-3 { padding-bottom: 1.5rem; }
            .pb-4 { padding-bottom: 2rem; }

            /* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--wisconsin-red);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.scroll-to-top i {
    font-size: 1.25rem;
}

/* Animation classes */
.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Loading state */
body {
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.loaded {
    opacity: 1;
}

/* JS Enabled class */
.js-enabled .nav-menu {
    /* Ensures smooth transitions only when JS is enabled */
}

/* Image loading */
img {
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to main content link (accessibility) */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    z-index: 10000;
}

.skip-to-main:focus {
    top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --text-primary: #000000;
        --bg-primary: #ffffff;
    }
}

/* Reduced motion support */
@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;
    }
}
/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

/* Page Header Section */
.page-header-section {
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    padding: 150px 0 80px;
    overflow: hidden;
}

.page-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(197, 5, 12, 0.1) 0%, transparent 50%);
}
.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--wisconsin-gold);
}

.breadcrumb .separator {
    color: #64748b;
}

.breadcrumb span:last-child {
    color: var(--wisconsin-gold);
    font-weight: 500;
}

.page-header-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 1rem;
}

.page-header-content p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Label */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-label i {
    font-size: 1rem;
}

/* About Story Section */
.about-story {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.about-story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-story-text h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.signature-line {
    width: 200px;
    height: 2px;
    background: var(--gradient-primary);
    margin-bottom: 1rem;
}

.signature-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--wisconsin-red);
    font-style: italic;
    margin: 0;
}

.about-story-image {
    position: relative;
}

.about-story-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.image-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.badge-content {
    color: var(--text-secondary);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Philosophy Section */
.philosophy-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.philosophy-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.philosophy-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

/* Core Values Section */
.core-values-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.core-values-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}

.core-values-text h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.value-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

.core-values-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

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

.stats-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.25rem;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--wisconsin-red);
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stats-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Commitment Section */
.commitment-section {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: white;
}

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

.commitment-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 3rem;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.commitment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.commitment-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.commitment-item i {
    color: var(--wisconsin-gold);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.commitment-item span {
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
}


/* ========================================
   CONTACT PAGE STYLES - UPDATED
   ======================================== */

/* Contact Info Section */
.contact-info-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.contact-info-card.featured {
    border-color: var(--wisconsin-red);
    transform: scale(1.05);
}

.contact-info-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.featured-ribbon {
    position: absolute;
    top: 15px;
    right: -5px;
    background: var(--wisconsin-red);
    color: white;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem 0 0 0.25rem;
}

.contact-card-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.contact-info-card.featured .contact-card-icon {
    background: var(--gradient-wisconsin);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-link {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--wisconsin-red);
}

.contact-subtext {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* Contact Form Section - CENTERED LAYOUT */
.contact-form-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-form-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: start;
}

.contact-form-container {
    width: 100%;
}

.contact-form-container h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.form-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.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(30, 64, 175, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236b7280" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
}

.radio-label input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
}

.radio-label:hover {
    color: var(--text-primary);
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.75rem;
    cursor: pointer;
}

.checkbox-label:hover {
    color: var(--text-primary);
}

/* Error Messages */
.error-message {
    display: none;
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--accent-color);
}

.form-group.error .error-message {
    display: block;
}

/* Button Styles */
.btn-block {
    width: 100%;
    justify-content: center;
}

.form-privacy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-privacy i {
    color: var(--secondary-color);
}

/* Form Messages */
.form-message {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid;
}

.success-message {
    border-color: var(--secondary-color);
}

.success-message i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.success-message h3 {
    color: var(--secondary-color);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.error-message-box {
    border-color: var(--accent-color);
}

.error-message-box i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.error-message-box h3 {
    color: var(--accent-color);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

/* Contact Sidebar - FIXED WIDTH */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.sidebar-list li:last-child {
    margin-bottom: 0;
}

.sidebar-list i {
    color: var(--secondary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Accent Card */
.accent-card {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.accent-card h3,
.accent-card p {
    color: white;
}

.sidebar-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.sidebar-phone {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--wisconsin-gold);
    text-decoration: none;
    margin: 1.5rem 0;
    transition: transform 0.3s ease;
}

.sidebar-phone:hover {
    transform: scale(1.05);
}

.sidebar-hours {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Service Areas List */
.service-areas-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.area-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Trust Card */
.trust-card {
    background: var(--bg-secondary);
}

.trust-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.trust-stat {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 0.75rem;
}

.trust-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--wisconsin-red);
    margin-bottom: 0.25rem;
}

.trust-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* FAQ Section - CENTERED */
.faq-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h4 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin: 0;
    padding-right: 1rem;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* Responsive Styles for Contact Page */
@media screen and (max-width: 1024px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 800px;
    }
    
    .contact-sidebar {
        position: static;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 1024px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 800px;
    }
    
    .contact-sidebar {
        position: static;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .contact-info-section {
        padding: 3rem 0;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info-card.featured {
        transform: scale(1);
    }
    
    .contact-form-section {
        padding: 4rem 0;
    }
    
    .contact-form-wrapper {
        max-width: 100%;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .faq-section {
        padding: 4rem 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .contact-form-container h2 {
        font-size: 1.875rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
    }
    
    .sidebar-phone {
        font-size: 1.5rem;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
}
/*Contact page end*/

/* ========================================
   PORTFOLIO PAGE STYLES
   ======================================== */

/* Portfolio Stats */
.portfolio-stats {
    padding: 4rem 0;
    background: var(--bg-secondary);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--wisconsin-red);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Portfolio Section */
.portfolio-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.filter-btn i {
    font-size: 1rem;
}

/* Portfolio Grid - 2 COLUMNS */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

/* Portfolio Item */
.portfolio-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.portfolio-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Portfolio Image - Larger for 2 column layout */
.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 380px; /* Taller images */
    cursor: pointer;
}

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

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

/* Portfolio Overlay */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(5, 150, 105, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay-content {
    transform: translateY(0);
}

.portfolio-overlay-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.portfolio-overlay-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.portfolio-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-view-btn:hover {
    background: var(--wisconsin-gold);
    color: var(--bg-dark);
    transform: scale(1.05);
}

/* Portfolio Info */
.portfolio-info {
    padding: 1.5rem;
}

.portfolio-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.category-badge.mechanical {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
}

.category-badge.plumbing {
    background: rgba(5, 150, 105, 0.1);
    color: var(--secondary-color);
}

.category-badge.commercial {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.category-badge.industrial {
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent-color);
}

.category-badge.hvac {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
}

/* Load More */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    overflow: auto;
}

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

.lightbox-content {
    position: relative;
    max-width: 1200px;
    width: 90%;
    margin: 2rem auto;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    animation: lightboxSlideIn 0.3s ease-out;
}

@keyframes lightboxSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
}

.lightbox-caption {
    padding: 2rem;
}

.lightbox-caption h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.lightbox-caption p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.lightbox-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.lightbox-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.lightbox-meta i {
    color: var(--primary-color);
}

/* Lightbox Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--wisconsin-red);
    color: white;
    transform: scale(1.1);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    z-index: 10001;
}

/* ========================================
   SERVICE PAGES STYLES
   ======================================== */

/* Service Hero */
.service-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%),
                url('https://cinsulation.com/wp-content/uploads/2022/02/PXL_20210423_174410613.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 150px 0 80px;
    position: relative;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(5, 150, 105, 0.1) 0%, transparent 50%);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(5, 150, 105, 0.15);
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(5, 150, 105, 0.3);
    backdrop-filter: blur(10px);
}

.service-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
}

.hero-stat i {
    color: var(--wisconsin-gold);
    font-size: 1.125rem;
}

/* Service Intro */
.service-intro {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

/* Service Detail */
.service-detail {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.service-detail.alternate {
    background: var(--bg-secondary);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.detail-grid.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.detail-grid.reverse .detail-image {
    order: 2;
}

.detail-grid.reverse .detail-content {
    order: 1;
}

.detail-image {
    position: relative;
    position: sticky;
    top: 100px;
}

.detail-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.image-badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.image-badge span {
    font-weight: 600;
    color: var(--text-primary);
}

.detail-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.detail-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.detail-content h3 {
    font-size: 1.5rem;
    color: var(--wisconsin-red);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.detail-highlight {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.7;
    padding: 1.5rem;
    background: rgba(30, 64, 175, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.benefits-list h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 2rem 0 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.benefit-item i {
    width: 3rem;
    height: 3rem;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-item strong {
    display: block;
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

.detail-cta {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border-left: 4px solid var(--wisconsin-red);
}

.detail-cta p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.7;
}

.highlight-box {
    background: var(--gradient-primary);
    color: white;
    border: none;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.highlight-box i {
    font-size: 2rem;
    color: var(--wisconsin-gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.highlight-box strong,
.highlight-box p {
    color: white;
}

/* Additional Services */
.additional-services {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.services-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-item-small {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-item-small:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-item-small i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-item-small h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-item-small p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Benefits Overview */
.benefits-overview {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.benefit-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.benefit-card h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.step-content {
    text-align: center;
    padding-top: 1rem;
}

.step-content h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

/* Service Gallery */
.service-gallery {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.gallery-caption h4 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.25rem;
}

.gallery-caption p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

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

/* Materials Section */
.materials-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.material-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

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

.material-card h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.material-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.trusted-brands {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.trusted-brands h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.brands-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.brands-list span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
}

/* Responsive Service Pages */
@media screen and (max-width: 1024px) {
    .intro-grid,
    .detail-grid,
    .detail-grid.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .detail-grid.reverse .detail-image,
    .detail-grid.reverse .detail-content {
        order: initial;
    }
    
    .detail-image {
        position: static;
    }
    
    .gallery-grid {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .service-hero {
        min-height: 50vh;
        padding: 120px 0 60px;
        background-attachment: scroll;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .service-intro,
    .service-detail,
    .additional-services,
    .benefits-overview,
    .process-section,
    .service-gallery,
    .materials-section {
        padding: 4rem 0;
    }
    
    .intro-content h2,
    .detail-content h2 {
        font-size: 1.875rem;
    }
    
    .detail-content h3 {
        font-size: 1.25rem;
    }
    
    .detail-highlight {
        font-size: 1.1rem;
        padding: 1.25rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 280px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .service-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .service-hero h1 {
        font-size: 1.75rem;
    }
    
    .intro-content p,
    .detail-content p {
        font-size: 1rem;
    }
    
    .benefit-number {
        font-size: 2.5rem;
    }
    
    .image-badge {
        bottom: 10px;
        left: 10px;
        padding: 0.75rem 1rem;
    }
    
    .image-badge i {
        font-size: 1.25rem;
    }
    
    .image-badge span {
        font-size: 0.9rem;
    }
    
    .detail-cta,
    .highlight-box {
        padding: 1.25rem;
    }
    
    .brands-list {
        gap: 1rem;
    }
    
    .brands-list span {
        font-size: 1rem;
    }
}

/* ========================================
   ADDITIONAL SERVICE PAGE STYLES
   ======================================== */

/* Intro Stats Boxes */
.intro-stats-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.stat-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--wisconsin-red);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Applications Section */
.applications-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.application-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.application-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 1.75rem;
}

.application-card h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.application-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Materials Content */
.materials-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.materials-text h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.materials-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.material-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.material-item i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.material-item strong {
    display: block;
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.material-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Standards Box */
.standards-box {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
    position: sticky;
    top: 100px;
}

.standards-box h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.standards-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.standard-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
}

.standard-item i {
    color: var(--primary-color);
    font-size: 1.125rem;
    width: 20px;
}

.standard-item span {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.brands-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.brands-logos span {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Responsive Additions */
@media screen and (max-width: 1024px) {
    .materials-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .standards-box {
        position: static;
    }
    
    .intro-stats-boxes {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .materials-list {
        gap: 1.25rem;
    }
    
    .material-item {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .stat-box-inline {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    .standards-box {
        padding: 2rem 1.5rem;
    }
    
    .brands-logos span {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}
/* ========================================
   SERVICES OVERVIEW PAGE STYLES
   ======================================== */

/* Services Intro Section */
.services-intro-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.services-intro-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.intro-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-box-small {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    border-left: 3px solid var(--secondary-color);
}

.highlight-box-small i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.highlight-box-small span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Intro Stats Visual */
.intro-stats-visual {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.stat-circle {
    width: 180px;
    height: 180px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
}

.stat-circle:hover {
    transform: scale(1.05) rotate(5deg);
}

.circle-content {
    text-align: center;
    color: white;
}

.circle-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.circle-label {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Main Services Section */
.main-services-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.main-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

.main-service-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.main-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.main-service-card.featured {
    border-color: var(--wisconsin-red);
    transform: scale(1.02);
}

.main-service-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.service-featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--wisconsin-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.main-service-icon {
    width: 5rem;
    height: 5rem;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 2rem;
}

.main-service-card h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.main-service-card > p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.service-includes {
    list-style: none;
    margin-bottom: 2rem;
}

.service-includes li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.service-includes li:last-child {
    border-bottom: none;
}

.service-includes i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.service-savings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.service-savings i {
    font-size: 1.25rem;
}

/* All Services Section */
.all-services-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.service-list-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

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

.service-list-card h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-list-card h4 i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.service-list-card ul {
    list-style: none;
}

.service-list-card ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
}

.service-list-card ul li:last-child {
    border-bottom: none;
}

.service-list-card ul li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Why Services Section */
.why-services-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.why-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.why-service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.why-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.why-service-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
}

.why-service-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 1.5rem;
    color: var(--primary-color);
    font-size: 1.75rem;
}

.why-service-card h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.why-service-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Service Process Timeline */
.service-process-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.process-timeline {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    flex: 1;
    border-left: 3px solid var(--primary-color);
}

.timeline-content h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

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

/* Industries Served */
.industries-served-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.industry-item {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.industry-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.industry-item span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

/* Responsive Services Overview */
@media screen and (max-width: 1024px) {
    .services-intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .intro-stats-visual {
        justify-content: center;
    }
    
    .main-services-grid {
        grid-template-columns: 1fr;
    }
    
    .main-service-card.featured {
        transform: scale(1);
    }
    
    .all-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .services-intro-section,
    .main-services-section,
    .all-services-section,
    .why-services-section,
    .service-process-section,
    .industries-served-section {
        padding: 4rem 0;
    }
    
    .intro-highlights {
        grid-template-columns: 1fr;
    }
    
    .intro-stats-visual {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-circle {
        width: 160px;
        height: 160px;
    }
    
    .circle-number {
        font-size: 2rem;
    }
    
    .main-service-card {
        padding: 2.5rem 2rem;
    }
    
    .main-service-icon {
        width: 4rem;
        height: 4rem;
        font-size: 1.75rem;
    }
    
    .main-service-card h3 {
        font-size: 1.75rem;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        margin-left: -10px;
    }
    
    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .timeline-item {
        gap: 1.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .why-services-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .intro-text h2 {
        font-size: 1.875rem;
    }
    
    .intro-highlights {
        grid-template-columns: 1fr;
    }
    
    .highlight-box-small {
        justify-content: center;
    }
    
    .stat-circle {
        width: 140px;
        height: 140px;
    }
    
    .circle-number {
        font-size: 1.75rem;
    }
    
    .circle-label {
        font-size: 0.8rem;
    }
    
    .main-service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-featured-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .service-list-card {
        padding: 2rem 1.5rem;
    }
    
    .process-timeline::before {
        left: 15px;
    }
    
    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-width: 3px;
    }
    
    .timeline-content h4 {
        font-size: 1.25rem;
    }
    
    .industry-item {
        padding: 1.5rem 1rem;
    }
    
    .industry-item i {
        font-size: 2rem;
    }
    
    .industry-item span {
        font-size: 0.9rem;
    }
}

/* Responsive Portfolio */
@media screen and (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .portfolio-stats {
        padding: 3rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .portfolio-section {
        padding: 4rem 0;
    }

    .portfolio-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-image {
        height: 250px;
    }

    .lightbox-content {
        width: 95%;
        margin: 1rem auto;
    }

    .lightbox-caption {
        padding: 1.5rem;
    }

    .lightbox-caption h3 {
        font-size: 1.5rem;
    }

    .lightbox-caption p {
        font-size: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-counter {
        bottom: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filters {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .portfolio-overlay-content h3 {
        font-size: 1.25rem;
    }

    .lightbox-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* Why Choose About Section */
.why-choose-about {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.why-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.why-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.75rem;
}

.why-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
}

.team-text h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.team-text > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.team-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.team-feature i {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.team-feature h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-feature p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.team-image {
    position: relative;
}

.team-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

/* Responsive Styles for About Page */
@media screen and (max-width: 1024px) {
    .about-story-content,
    .core-values-content,
    .team-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .image-badge {
        bottom: 20px;
        right: 20px;
        padding: 1.5rem;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .page-header-section {
        padding: 120px 0 60px;
    }
    
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .about-story,
    .philosophy-section,
    .core-values-section,
    .why-choose-about,
    .team-section {
        padding: 4rem 0;
    }
    
    .about-story-text h2,
    .core-values-text h2,
    .team-text h3 {
        font-size: 1.875rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .commitment-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .image-badge {
        position: static;
        margin-top: 2rem;
    }
    
    .values-list {
        gap: 1.5rem;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
    }
    
    .team-features {
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .page-header-content h1 {
        font-size: 1.75rem;
    }
    
    .page-header-content p {
        font-size: 1rem;
    }
    
    .section-label {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .about-story-text h2 {
        font-size: 1.5rem;
    }
    
    .philosophy-card,
    .why-card {
        padding: 2rem;
    }
    
    .commitment-item {
        padding: 1rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .badge-number {
        font-size: 2rem;
    }
}