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

/* Root Variables */
:root {
    --font-serif: 'Century Schoolbook', 'Cheltenham', Georgia, serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Color Variables */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    /* Brand Colors - Pale Gold/Champagne Theme */
    --brand-primary: #F4E4B1;
    --brand-primary-alt: #EDD9A3;
    --brand-secondary: #8B7355;
    --brand-secondary-alt: #7C6843;
    
    /* Original Blue color palette */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    
    --purple-100: #f3e8ff;
    --purple-600: #9333ea;
    
    --orange-100: #ffedd5;
    --orange-600: #ea580c;
    
    --red-100: #fee2e2;
    --red-600: #dc2626;
    
    --teal-100: #ccfbf1;
    --teal-600: #0d9488;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    line-height: 1.5;
    color: var(--slate-900);
    background-color: white;
    overflow-x: hidden;
}

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 2000; padding: .75rem 1rem; color: white; background: var(--blue-900); border-radius: .25rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #facc15; outline-offset: 3px; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.form-step { border: 0; min-width: 0; padding: 0; }
.form-step[hidden] { display: none; }
.form-progress { margin-bottom: 1rem; color: var(--slate-600); font-size: .75rem; font-weight: 600; }
.form-progress > div { height: 4px; margin-top: .4rem; overflow: hidden; background: var(--slate-200); border-radius: 999px; }
.form-progress i { display:block; width:50%; height:100%; background:var(--blue-600); border-radius:inherit; transition:width .25s ease; }
.form-progress.is-complete i { width:100%; }
.form-step-actions { display:grid; grid-template-columns:auto 1fr; gap:.75rem; align-items:stretch; }
.form-back { padding:.75rem 1rem; border:1px solid var(--slate-300); border-radius:.375rem; background:white; color:var(--slate-700); font:inherit; font-weight:600; cursor:pointer; }

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath fill='%23475569' d='m5.5 7.5 4.5 4 4.5-4 1.25 1.4L10 14 4.25 8.9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .875rem center;
    background-size: 1rem;
    padding-right: 2.75rem !important;
}

.partner-strip { padding: 2rem 0; background: white; border-bottom: 1px solid var(--slate-200); }
.eyebrow { color: var(--blue-800); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.logo-marquee { margin-top: 1.25rem; overflow: hidden; -webkit-mask-image: linear-gradient(to right,transparent,black 8%,black 92%,transparent); mask-image: linear-gradient(to right,transparent,black 8%,black 92%,transparent); }
.logo-track { display: flex; align-items: center; gap: 4rem; width: max-content; animation: partner-scroll 28s linear infinite; }
.logo-track span { color: var(--slate-600); font-family: var(--font-serif); font-size: clamp(1.2rem,2.5vw,1.75rem); font-weight: 700; white-space: nowrap; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
@keyframes partner-scroll { to { transform: translateX(calc(-50% - 2rem)); } }

.siding-section { background: var(--gray-50); color: var(--slate-900); text-align: center; }
.siding-section .eyebrow { color: var(--blue-800); }
.siding-section .section-description { color: var(--slate-600); }
.siding-grid { margin: 2.5rem 0; text-align: left; }
#siding .siding-grid .service-card:nth-child(3n+1) .service-card-image { background-image:url("images/siding-project-gray.jpg"); }
#siding .siding-grid .service-card:nth-child(3n+2) .service-card-image { background-image:url("images/siding-project-blue.jpg"); }
#siding .siding-grid .service-card:nth-child(3n) .service-card-image { background-image:url("images/siding-project-commercial.jpg"); }
.footer-service-areas a { color: inherit; text-decoration: none; }
.footer-service-areas a:hover { color: white; text-decoration: underline; }

@media (max-width: 767px) { .logo-track { gap: 2.5rem; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}

/* Typography */
.font-serif {
    font-family: var(--font-serif);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

.area-hero { padding: 5rem 0 4rem; color: white; background: linear-gradient(120deg,rgba(15,23,42,.94),rgba(30,64,175,.88)),url("images/siding-project-blue.jpg") center/cover; }
.area-hero-inner { max-width: 850px; }
.area-hero .eyebrow { color: var(--brand-primary); text-align: left; }
.area-hero h1 { margin: .75rem 0 1.25rem; font-family: var(--font-serif); font-size: clamp(2.5rem,7vw,5.5rem); }
.area-hero p { max-width: 720px; color: var(--blue-100); font-size: clamp(1rem,2vw,1.25rem); line-height: 1.75; }
.area-hero-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:2rem; }
.area-intro { max-width:800px; margin:0 auto 3rem; text-align:center; }
.area-intro h2 { margin-bottom:1rem; font-family:var(--font-serif); font-size:clamp(2rem,5vw,3.5rem); }
.area-intro p { color:var(--slate-600); line-height:1.75; }
.region-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
.region-card { padding:1.75rem; border:1px solid var(--slate-200); border-radius:.75rem; background:white; box-shadow:0 10px 25px rgba(15,23,42,.06); }
.region-card h3 { margin-bottom:.5rem; color:var(--blue-800); font-family:var(--font-serif); font-size:1.5rem; }
.region-card > p { margin-bottom:1.25rem; color:var(--slate-600); }
.area-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; list-style:none; }
.area-links a { color:var(--slate-800); font-weight:600; text-decoration:none; }
.area-links a:hover { color:var(--blue-700); text-decoration:underline; }
.availability-note { margin-top:1.5rem; padding:1rem; color:var(--slate-700); background:var(--blue-50); border-left:4px solid var(--blue-700); }
.local-services { background:var(--gray-50); }
.local-service-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; }
.local-service-card { padding:2rem; border-radius:.75rem; background:white; border:1px solid var(--slate-200); }
.local-service-card h3 { margin-bottom:.75rem; font-family:var(--font-serif); font-size:1.75rem; }
.local-service-card p { margin-bottom:1rem; color:var(--slate-600); }
.text-link { color:var(--blue-700); font-weight:700; }
.area-cta { text-align:center; color:white; background:var(--blue-900); }
.area-cta h2 { margin-bottom:1rem; font-family:var(--font-serif); font-size:clamp(2rem,5vw,3.5rem); }
.area-cta p { max-width:680px; margin:0 auto 1.5rem; color:var(--blue-100); }
.detail-hero { padding:5rem 0 4rem; color:white; background:linear-gradient(120deg,rgba(15,23,42,.96),rgba(30,64,175,.78)),var(--detail-image) center/cover; }
.detail-hero-inner { max-width:850px; }
.detail-hero .eyebrow { color:var(--brand-primary); text-align:left; }
.detail-hero h1 { margin:.75rem 0 1.25rem; font-family:var(--font-serif); font-size:clamp(2.6rem,7vw,5.25rem); }
.detail-hero p { max-width:720px; color:var(--blue-100); font-size:clamp(1rem,2vw,1.25rem); line-height:1.75; }
.eyebrow.left { text-align:left; }
.detail-split { display:grid; grid-template-columns:1.2fr .8fr; gap:4rem; align-items:center; }
.detail-split h2 { margin:.75rem 0 1rem; font-family:var(--font-serif); font-size:clamp(2rem,4vw,3.25rem); }
.detail-split p { color:var(--slate-600); line-height:1.8; }
.detail-points { display:grid; gap:.75rem; list-style:none; }
.detail-points li { padding:1rem 1rem 1rem 3rem; position:relative; border:1px solid var(--slate-200); border-radius:.5rem; background:var(--slate-50); font-weight:600; }
.detail-points li::before { content:"✓"; position:absolute; left:1rem; color:var(--blue-700); font-weight:800; }
.detail-process { background:var(--gray-50); }
.process-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; list-style:none; }
.process-grid li { padding:1.5rem; border-radius:.75rem; background:white; border:1px solid var(--slate-200); }
.process-grid span { color:var(--blue-700); font-family:var(--font-serif); font-size:2rem; font-weight:700; }
.process-grid p { margin-top:.75rem; color:var(--slate-700); }
.related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.related-grid a { display:flex; min-height:150px; padding:1.5rem; flex-direction:column; gap:.75rem; border:1px solid var(--slate-200); border-radius:.75rem; color:var(--slate-900); text-decoration:none; box-shadow:0 8px 20px rgba(15,23,42,.05); }
.related-grid a:hover { border-color:var(--blue-500); transform:translateY(-2px); }
.related-grid strong { color:var(--blue-800); font-family:var(--font-serif); font-size:1.35rem; }
.related-grid span { color:var(--slate-600); }
.detail-local { margin-top:3rem; padding:2rem; text-align:center; background:var(--blue-50); border-radius:.75rem; }
.detail-local p { margin:.5rem 0; color:var(--slate-600); }
.local-proof-image { width:100%; max-height:420px; object-fit:cover; border-radius:.75rem; box-shadow:0 12px 30px rgba(15,23,42,.15); }
@media (max-width:900px) { .region-grid { grid-template-columns:1fr; } }
@media (max-width:900px) { .detail-split { grid-template-columns:1fr; gap:2rem; } .related-grid { grid-template-columns:1fr; } }
@media (max-width:640px) { .area-hero,.detail-hero { padding:4rem 0 3rem; } .local-service-grid,.process-grid { grid-template-columns:1fr; } .area-links { grid-template-columns:1fr; } }

/* Container */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1280px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    white-space: nowrap;
}

@media (max-width: 639px) {
    .nav-buttons .btn {
        display: none;
    }
}

@media (min-width: 640px) {
    .btn {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

.btn-ghost {
    background: white;
    color: var(--blue-700);
    border: 2px solid white;
    text-shadow: none;
}

.btn-ghost:hover {
    background: var(--blue-700);
    color: white;
    text-shadow: none;
}


.btn-primary {
    background: var(--blue-700);
    color: white;
    border: 2px solid var(--blue-700);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.25rem 1rem;
    background: var(--blue-800);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.16);
    transition: box-shadow 0.3s;
}

nav.is-scrolled {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.24);
}

@media (min-width: 640px) {
    nav {
        padding: 0.375rem 1.5rem;
    }
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-text {
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
}

@media (min-width: 640px) {
    .nav-logo-text {
        font-size: 1.5rem;
    }
}

.nav-logo-subtitle {
    color: white;
    font-weight: 300;
    font-size: 0.875rem;
}

.nav-logo-img {
    height: 70px;
    width: auto;
    margin-right: 0.5rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) and (max-width: 1023px) {
    .nav-logo-img {
        height: 100px;
        margin-top: -15px;
        margin-bottom: -15px;
    }
}

@media (min-width: 1024px) {
    .nav-logo-img {
        height: 120px;
        margin-top: -20px;
        margin-bottom: -20px;
    }
}

@media (min-width: 640px) {
    .nav-logo-subtitle {
        font-size: 1.5rem;
    }
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-dropdown-trigger::after {
    content: '▼';
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-trigger::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--slate-700) !important;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background-color: var(--blue-50);
    color: var(--blue-700) !important;
}

/* Mobile Dropdown Styles */
@media (max-width: 1024px) {
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin: 0;
        display: none;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }
    
    .dropdown-item {
        color: white !important;
        padding: 0.5rem 1rem;
        border-left: 2px solid transparent;
    }
    
    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--brand-primary) !important;
        border-left-color: var(--brand-primary);
    }
}

.nav-buttons {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .nav-buttons {
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .nav-buttons {
        display: flex;
    }
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: block;
    position: relative;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 50;
    margin-left: auto;
}

@media (min-width: 1024px) {
    .mobile-menu-button {
        display: none;
    }
}

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s;
}

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

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

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

/* Hero Section - Redesigned with Form */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 4rem 1rem;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                linear-gradient(135deg, var(--blue-800), var(--blue-900));
}

@media (min-width: 640px) {
    .hero {
        padding: 4.5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 5rem 1.5rem;
    }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .hero-container {
        gap: 2.5rem;
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 3rem;
        padding: 0 2rem;
    }
}

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

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.hero-cta .btn {
    min-width: 200px;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-cta {
        justify-content: flex-start;
    }
}

/* Hero Form Styles */
.hero-form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .hero-form-container {
        padding: 1.5rem;
        max-width: 450px;
    }
}

@media (min-width: 1024px) {
    .hero-form-container {
        margin: 0;
        max-width: none;
    }
}

.hero-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--slate-800);
    margin-bottom: 0.25rem;
    text-align: center;
}

@media (min-width: 640px) {
    .hero-form-title {
        font-size: 1.75rem;
    }
}

.hero-form-subtitle {
    color: var(--blue-600);
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-form-group {
    margin-bottom: 0.75rem;
}

.hero-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .hero-form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 0.375rem;
}

.hero-form input[type="text"],
.hero-form input[type="email"],
.hero-form input[type="tel"],
.hero-form select,
.hero-form textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.375rem;
    font-size: 0.9rem;
    transition: all 0.2s;
    font-family: var(--font-sans);
    background: white;
}

.hero-form input[type="text"]:focus,
.hero-form input[type="email"]:focus,
.hero-form input[type="tel"]:focus,
.hero-form select:focus,
.hero-form textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.hero-form select {
    cursor: pointer;
}

.hero-form textarea {
    resize: vertical;
    min-height: 50px;
}

.hero-consent-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.hero-consent-text {
    font-size: 0.75rem;
    color: var(--slate-600);
    line-height: 1.4;
    margin: 0;
}

.hero-form input[type="checkbox"] {
    width: 0.875rem;
    height: 0.875rem;
    accent-color: var(--blue-600);
    margin-top: 0.125rem;
}

.hero-form-submit {
    width: 100%;
    padding: 0.75rem;
    background: var(--blue-700);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.hero-form-submit:hover {
    background: var(--blue-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.hero-form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--slate-500);
    margin: 0;
    font-style: italic;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title em {
    font-style: italic;
    color: var(--brand-primary);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.75;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.375rem;
    }
}

/* Sections */
section {
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 5rem 0;
    }
}

#services {
    position: relative;
    z-index: 2;
    background-color: var(--gray-50);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    color: var(--slate-800);
    margin-bottom: 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-title em {
    font-style: italic;
    color: var(--blue-600);
}

.section-description {
    font-size: 1rem;
    color: var(--slate-600);
    max-width: 768px;
    margin: 0 auto 3rem;
    text-align: center;
}

@media (min-width: 640px) {
    .section-description {
        font-size: 1.125rem;
        margin-bottom: 4rem;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.service-card:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-card-image {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    background-size: cover;
    background-position: center;
    contain: layout style paint;
    filter: brightness(0.7) contrast(1.1);
}

.service-card-overlay {
    display: none;
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    z-index: 1;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        transparent 100%);
}

@media (min-width: 640px) {
    .service-card-content {
        padding: 1.5rem;
    }
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .service-card-title {
        font-size: 1.5rem;
    }
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.service-feature {
    display: flex;
    align-items: center;
}

.service-feature::before {
    content: '•';
    margin-right: 0.5rem;
    color: var(--blue-300);
}

/* Value Props Grid */
.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.value-card {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }
.value-card:nth-child(5) { animation-delay: 0.5s; }
.value-card:nth-child(6) { animation-delay: 0.6s; }

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

.value-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .value-icon {
        width: 4rem;
        height: 4rem;
        margin-bottom: 1.5rem;
    }
}

/* Value icons use brand primary background with blue accent */
.value-icon {
    background: var(--brand-primary);
    color: var(--blue-700);
}

.value-icon.blue,
.value-icon.blue,
.value-icon.purple,
.value-icon.orange,
.value-icon.red,
.value-icon.teal {
    background: var(--brand-primary);
    color: var(--blue-700);
}

.value-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--slate-800);
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .value-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.value-description {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.75;
}

@media (min-width: 640px) {
    .value-description {
        font-size: 1rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    padding: 5rem 0;
    background: #f8f9fa;
    overflow: hidden;
}

.testimonials-section .section-title {
    color: var(--slate-800);
    text-align: center;
    margin-bottom: 1rem;
}

.testimonials-section .section-description {
    color: var(--slate-600);
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-wrapper {
    position: relative;
    margin: 0 -2rem 3rem;
}

.reviews-row {
    display: flex;
    position: relative;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
}

.reviews-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollLeftOptimized 40s linear infinite;
    transform: translateZ(0);
    will-change: transform;
}

.reviews-track.paused {
    animation-play-state: paused;
}

.reviews-row:hover .reviews-track {
    animation-play-state: paused;
}

.review-card {
    flex: 0 0 380px;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
    transform: translateZ(0);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 1.5rem;
}

.review-text {
    color: var(--slate-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    min-height: 80px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}


.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--slate-800);
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.author-location {
    color: var(--slate-500);
    font-size: 0.875rem;
}

.review-source {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-500);
    font-size: 0.875rem;
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.review-source:hover {
    color: var(--blue-600);
    border-color: var(--blue-200);
    background: var(--blue-50);
}

.external-icon {
    transition: transform 0.2s;
}

.review-source:hover .external-icon {
    transform: translate(1px, -1px);
}

@keyframes scrollLeftOptimized {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-25%);
    }
}

@media (max-width: 768px) {
    .reviews-wrapper {
        margin: 0 -1rem 2rem;
    }
    
    .review-card {
        flex: 0 0 320px;
        padding: 1.5rem;
    }
    
    .reviews-track {
        gap: 1rem;
        animation-duration: 20s;
    }
    
    .star {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .review-card {
        flex: 0 0 280px;
    }
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.trust-badge {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-700);
    margin-bottom: 0.25rem;
}

.badge-text {
    display: block;
    font-size: 0.875rem;
    color: var(--slate-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 640px) {
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .badge-number {
        font-size: 1.5rem;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.contact-form-container {
    background: var(--slate-50);
    border-radius: 1rem;
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .contact-form-container {
        padding: 2rem;
    }
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--slate-800);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .form-title {
        font-size: 1.875rem;
    }
}

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

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

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 0.375rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.375rem;
    font-size: 0.9rem;
    transition: all 0.2s;
    font-family: var(--font-sans);
    background: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

select {
    cursor: pointer;
}

textarea {
    resize: none;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.checkbox-label:hover {
    background: var(--blue-50);
    border-color: var(--blue-300);
}

input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--blue-600);
}

.checkbox-text {
    color: var(--slate-700);
}

.consent-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.consent-text {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.5;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--blue-700);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit:hover {
    background: var(--blue-600);
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-top: 1rem;
}

.map-container {
    background: var(--slate-100);
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-bottom: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info-card {
    background: var(--blue-800);
    border-radius: 1rem;
    padding: 1.5rem;
    color: white;
}

@media (min-width: 640px) {
    .contact-info-card {
        padding: 2rem;
    }
}

.contact-info-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .contact-info-title {
        font-size: 1.875rem;
    }
}

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

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

.contact-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* All contact icons now use blue color scheme */
.contact-icon-wrapper.blue,
.contact-icon-wrapper.blue,
.contact-icon-wrapper.purple,
.contact-icon-wrapper.orange {
    background: var(--blue-600);
}

.contact-info-content h4 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-info-content p {
    color: var(--blue-100);
    margin-bottom: 0.5rem;
}

.contact-info-content p a {
    color: white;
    text-decoration: none;
}

.contact-info-content p a:hover {
    text-decoration: underline;
}

.contact-info-content .note {
    font-size: 0.875rem;
    color: var(--blue-200);
}

.contact-divider {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--blue-700);
}

.license-info {
    font-size: 0.875rem;
    color: var(--blue-200);
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 1.5rem;
    background: var(--slate-50);
}

.faq-container {
    max-width: 896px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--slate-800);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .faq-title {
        font-size: 3rem;
    }
}

.faq-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
}

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

.accordion-item {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid var(--slate-200);
    padding: 0 1.5rem;
    transition: all 0.3s;
}

.accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--blue-200);
}

.accordion-trigger {
    width: 100%;
    text-align: left;
    font-weight: 500;
    color: var(--slate-800);
    padding: 1.5rem 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    transition: color 0.2s;
    font-family: var(--font-sans);
}

.accordion-trigger:hover {
    color: var(--blue-600);
}

.accordion-trigger::after {
    content: '+';
    font-size: 1.25rem;
    transition: transform 0.3s;
    color: var(--blue-500);
}

.accordion-item.active .accordion-trigger::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content-inner {
    color: var(--slate-600);
    padding-bottom: 1.5rem;
    line-height: 1.75;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.faq-cta p {
    color: var(--slate-600);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: var(--blue-900);
    color: white;
    padding: 4rem 1.5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    grid-column: 1;
}

@media (min-width: 1024px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo-text {
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
}

.footer-logo-subtitle {
    font-weight: 300;
    font-size: 1.25rem;
    color: white;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-right: 0.75rem;
}

.footer-description {
    color: var(--blue-200);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--blue-200);
}

.footer-contact-item a {
    color: white;
    text-decoration: none;
}

.footer-contact-item a:hover {
    text-decoration: underline;
}

.footer-column h4 {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--blue-200);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-service-areas {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-service-areas span,
.footer-service-areas a {
    color: var(--blue-200);
    font-size: 0.875rem;
    line-height: 1.4;
}

.footer-social {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--blue-700);
    border-radius: 50%;
    color: white;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background-color: var(--blue-600);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--blue-800);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: var(--blue-300);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-legal-links {
    display: flex;
    gap: 1rem;
}

.footer-legal-links a {
    color: var(--blue-300);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: white;
}

/* Background Utility Classes */
.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-white {
    background-color: white;
}

.bg-slate-50 {
    background-color: var(--slate-50);
}

/* Icons */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-sm {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-lg {
    width: 2rem;
    height: 2rem;
}

/* Project Showcase Section */
.showcase-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
    overflow: hidden;
    position: relative;
}

.showcase-section .section-title {
    color: white;
    margin-bottom: 1rem;
}

.showcase-section .section-description {
    color: var(--blue-200);
    margin-bottom: 3rem;
}

.showcase-wrapper {
    position: relative;
    margin: 0 -2rem;
}

.showcase-row {
    display: flex;
    position: relative;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
}

.showcase-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollLeftOptimized 40s linear infinite;
    transform: translateZ(0);
    will-change: transform;
}

.showcase-track.paused {
    animation-play-state: paused;
}

.showcase-row:hover .showcase-track {
    animation-play-state: paused;
}

.showcase-item {
    position: relative;
    flex: 0 0 400px;
    height: 300px;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    background: var(--blue-700);
    transition: transform 0.2s ease-out;
}

@media (hover: hover) {
    .showcase-item:hover {
        transform: translateY(-5px);
    }
    
    .showcase-item:hover .showcase-overlay {
        transform: translateY(0);
    }
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9),
        transparent
    );
    color: white;
    transform: translateY(100%);
    transition: transform 0.2s ease-out;
    pointer-events: none;
}

@media (hover: none) {
    .showcase-overlay {
        transform: translateY(0) !important;
    }
}

.showcase-overlay h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.showcase-overlay p {
    font-size: 0.875rem;
    color: var(--green-200);
}



@media (max-width: 768px) {
    .showcase-section {
        padding: 3rem 0;
    }
    
    .showcase-wrapper {
        margin: 0 -1rem;
    }
    
    .showcase-item {
        flex: 0 0 280px;
        height: 210px;
    }
    
    .showcase-track {
        gap: 1rem;
        animation-duration: 20s;
    }
}

@media (max-width: 480px) {
    .showcase-item {
        flex: 0 0 240px;
        height: 180px;
    }
}

.showcase-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.control-hint {
    color: white;
    font-size: 0.875rem;
    text-align: center;
}

/* FIXED LIGHTBOX STYLES */
.project-lightbox-simple {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.2s;
}

.lightbox-content-simple {
    max-width: 800px;
    max-height: 90vh;
    width: 100%;
    background: black;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.lightbox-content-simple img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    display: block;
    background: #000;
}

.lightbox-info-simple {
    padding: 2rem;
    text-align: center;
    background: white;
    position: relative;
    z-index: 10;
    width: 100%;
}

.lightbox-info-simple h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--slate-800);
    display: block !important;
    visibility: visible !important;
}

.lightbox-info-simple p {
    color: var(--slate-600);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    display: block !important;
    visibility: visible !important;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-700);
}

.lightbox-close:hover {
    transform: scale(1.1);
    background: var(--slate-100);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .project-lightbox-simple {
        padding: 1rem;
    }
    
    .lightbox-content-simple {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .lightbox-content-simple img {
        height: 50vh;
    }
    
    .lightbox-info-simple {
        padding: 1.5rem;
    }
    
    .lightbox-info-simple h3 {
        font-size: 1.5rem;
    }
}

/* Loading Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--blue-300);
    border-radius: 50%;
    border-top-color: var(--blue-600);
    animation: spin 0.8s linear infinite;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 5rem;
    right: 1rem;
    background: var(--blue-600);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--blue-900);
    z-index: 45;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-menu-links a {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    transition: color 0.2s;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-links a:hover {
    color: var(--blue-200);
}

.mobile-menu-links .btn {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.mobile-menu-links .btn:last-child {
    margin-bottom: 0;
}

.mobile-menu-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Consistent custom select arrow with comfortable right-edge spacing */
select {
    appearance: none;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath fill='%23475569' d='m5.5 7.5 4.5 4 4.5-4 1.25 1.4L10 14 4.25 8.9z'/%3E%3C/svg%3E");
    background-position: right .875rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 2.75rem !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--blue-700);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 40;
    border: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--blue-600);
    transform: translateY(-3px);
}

/* Print Styles */
@media print {
    nav, .btn, .form-submit, .scroll-to-top {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    section {
        page-break-inside: avoid;
    }
}
