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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e4e4e7;
    background-color: #1a1a1a;
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Lazy loading blur-to-sharp effect */
img[loading="lazy"] {
    transition: opacity 0.3s;
}

img[loading="lazy"]:not([src]) {
    opacity: 0;
}

/* WebP support optimizations */
picture {
    display: block;
    width: 100%;
    height: 100%;
}

picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Preload critical images */
.hero-logo-container {
    position: relative;
}

.hero-logo-container picture {
    display: block;
}

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    color: #f8fafc;
}

h3 {
    font-size: 1.25rem;
    color: #e4e4e7;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #a1a1aa;
}

a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section-alternate {
    background-color: #262626;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #60a5fa;
    color: #000;
    border-color: #60a5fa;
}

.btn-primary:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #60a5fa;
    border-color: #60a5fa;
}

.btn-secondary:hover {
    background: #60a5fa;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #ccc;
    border-color: #444;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: #60a5fa;
    color: #000;
    border-color: #60a5fa;
    text-decoration: none;
}

/* Header and Navigation */
.header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #404040;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand .logo-small {
    height: 40px;
    width: auto;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: #a1a1aa;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #60a5fa;
    text-decoration: none;
}

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

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    border: 1px solid #404040;
    border-radius: 8px;
    z-index: 1001;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #a1a1aa;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #262626;
    color: #60a5fa;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    padding: 8rem 0 6rem 0;
    margin-top: 80px; /* Account for fixed header */
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(96, 165, 250, 0.15)) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

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

.hero-headline {
    font-size: 2.4rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subheading {
    font-size: 1.1rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-logo {
        max-width: 100%;
    }
}

.headshot {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Services Grid */
.intro-container {
    width: 100%;
    margin-bottom: 3rem;
}

.intro-paragraph {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #d4d4d8;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
}

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

.service-card {
    background: #262626;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #404040;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border-color: #60a5fa;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #f8fafc;
}

.service-card p {
    color: #a1a1aa;
    margin-bottom: 0;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: #262626;
    border-radius: 12px;
    border: 1px solid #404040;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border-color: #60a5fa;
}

.project-image {
    width: 100%;
    height: 200px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #404040;
}

.project-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.project-card h3 {
    margin-bottom: 1rem;
    color: #f8fafc;
    padding: 1.5rem 2rem 0 2rem;
}

.project-card p {
    color: #a1a1aa;
    margin-bottom: 1.5rem;
    padding: 0 2rem;
}

.project-links {
    padding: 0 2rem 2rem 2rem;
}

.project-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #60a5fa;
    color: #1a1a1a;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease;
}

.project-link:hover {
    background: #93c5fd;
    text-decoration: none;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #d4d4d8;
}

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

.headshot {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Contact Section */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.contact-intro p {
    font-size: 1.25rem;
    color: #d4d4d8;
    margin: 0;
}

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

.contact-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #404040;
    text-align: center;
    transition: all 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border-color: #60a5fa;
}

.contact-card h3 {
    color: #f8fafc;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.contact-card p {
    color: #a1a1aa;
    margin: 0;
    font-size: 1rem;
}

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

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #60a5fa;
    color: #1a1a1a;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background: #93c5fd;
    transform: translateY(-1px);
    text-decoration: none;
    color: #1a1a1a;
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.3);
}

/* Project Pages */
.project-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    padding: 8rem 0 4rem 0;
    margin-top: 80px;
}

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

.project-header h1 {
    font-size: 3rem;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.project-subtitle {
    font-size: 1.25rem;
    color: #a1a1aa;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.project-image-large {
    text-align: center;
}

.project-image-large img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.project-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.project-overview h2,
.project-overview h3 {
    color: #f8fafc;
}

.project-overview p,
.project-overview li {
    color: #d4d4d8;
    line-height: 1.6;
}

.project-overview ul {
    margin-left: 1rem;
}

.project-overview li {
    margin-bottom: 1rem;
}

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

.tech-item {
    background: #262626;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #404040;
}

.tech-item h4 {
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.tech-item p {
    color: #a1a1aa;
    margin: 0;
    font-size: 0.9rem;
}

.project-results {
    margin-bottom: 4rem;
}

.project-results h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #f8fafc;
}

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

.result-card {
    background: #262626;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #404040;
    text-align: center;
}

.result-card h3 {
    color: #60a5fa;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.result-card p {
    color: #a1a1aa;
    margin: 0;
}

.project-purpose {
    margin-bottom: 4rem;
}

.project-purpose h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #f8fafc;
}

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

.purpose-card {
    background: #262626;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #404040;
    transition: all 0.2s ease;
}

.purpose-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border-color: #60a5fa;
}

.purpose-card h3 {
    color: #f8fafc;
    margin-bottom: 1rem;
}

.purpose-card p {
    color: #a1a1aa;
    margin: 0;
}

.demo-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #60a5fa;
    color: #1a1a1a;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease;
    margin-top: 1rem;
}

.demo-link:hover {
    background: #93c5fd;
    text-decoration: none;
}

.workflow-examples {
    margin-bottom: 4rem;
}

.workflow-examples h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #f8fafc;
}

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

.workflow-card {
    background: #262626;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #404040;
    transition: all 0.2s ease;
}

.workflow-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border-color: #60a5fa;
}

.workflow-card h3 {
    color: #f8fafc;
    margin-bottom: 1rem;
}

.workflow-card p {
    color: #a1a1aa;
    margin: 0;
}

.project-contact {
    text-align: center;
    background: #262626;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #404040;
}

.project-contact h2 {
    color: #f8fafc;
    margin-bottom: 1rem;
}

.project-contact p {
    color: #d4d4d8;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    text-align: center;
    border-top: 1px solid #404040;
}

.footer p {
    margin: 0;
    color: #a1a1aa;
}

.footer p:first-child {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.footer a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.footer {
    background: #1a1a1a;
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid #333;
    margin-top: auto;
}

/* Responsive Design */

/* Tablet Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .hero {
        padding: 6rem 0 4rem 0;
        margin-top: 120px; /* Account for taller mobile header */
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheading {
        font-size: 1.125rem;
    }
    
    .hero-background-graphic {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .purpose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-header h1 {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheading {
        font-size: 1rem;
    }
    
    .about-content {
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .project-contact {
        padding: 2rem;
    }
    
    .project-header h1 {
        font-size: 2rem;
    }
    
    .results-grid {
        gap: 1rem;
    }
    
    .purpose-grid {
        gap: 1rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .service-card,
    .project-card {
        padding: 1.5rem;
    }
}

/* New Multi-Page Website Styles */

/* Value Grid for Homepage */
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .value-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #60a5fa;
    min-height: 180px;
}

.value-card h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.2;
    white-space: nowrap;
}

/* Accomplishments Section */
.accomplishments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.accomplishment-card {
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #333;
    transition: all 0.3s ease;
    height: 500px;
    width: 100%;
}

.accomplishment-card:hover {
    border-color: #60a5fa;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.1);
}

.accomplishment-image {
    height: 300px;
    overflow: hidden;
}

.accomplishment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

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

.accomplishment-content {
    padding: 1.5rem;
    height: 200px;
    position: relative;
}

.accomplishment-content h3 {
    color: #60a5fa;
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
}

.accomplishment-subtitle {
    color: #ccc;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.accomplishment-description {
    color: #aaa;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    flex-grow: 1;
}

.accomplishment-tools {
    color: #888;
    font-size: 0.8rem;
    margin: 0 0 2rem 0;
    line-height: 1.3;
}

.accomplishment-content .btn {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* Accomplishment Cards Mobile Responsive */
@media (max-width: 768px) {
    .accomplishments-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 2rem;
        margin: 2rem 0;
        max-width: none;
    }
    
    .accomplishment-card {
        height: 450px;
    }
    
    .accomplishment-image {
        height: 250px;
    }
    
    .accomplishment-content {
        padding: 1.25rem;
        height: 200px;
    }
    
    .accomplishment-content h3 {
        font-size: 1.1rem;
        margin: 0 0 0.6rem 0;
    }
    
    .accomplishment-subtitle {
        font-size: 0.85rem;
        margin: 0 0 0.8rem 0;
    }
    
    .accomplishment-tools {
        font-size: 0.75rem;
        margin: 0 0 1.5rem 0;
    }
    
    .accomplishment-content .btn {
        bottom: 1.25rem;
        left: 1.25rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Connect Section */
.connect-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 5rem 0;
    border-top: 2px solid #333;
}

.connect-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.connect-text h2 {
    color: #60a5fa;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.connect-text p {
    color: #ccc;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 0 2.5rem 0;
}

.connect-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .connect-text h2 {
        font-size: 2rem;
    }
    
    .connect-text p {
        font-size: 1.1rem;
    }
    
    .connect-actions {
        flex-direction: column;
        align-items: center;
    }
}



.cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
}

/* Page Hero Styles */
.page-hero {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 3rem 0 2rem 0;
    margin-top: 80px;
    text-align: center;
    border-bottom: 2px solid #333;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
}

.page-hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 900px;
    margin: 0 auto;
}

/* About Page Styles */
.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

/* About Page Responsive Layout */
.about-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin: 3rem 0;
}

.about-main {
    max-width: none;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: #60a5fa;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.about-content h3, .about-main h3 {
    color: #60a5fa;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.lead-text {
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-content p, .about-main p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #ddd;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.about-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #333;
    color: #ddd;
    line-height: 1.6;
}

.about-list li:before {
    content: '▸';
    color: #60a5fa;
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

.highlight-box {
    background: #2a2a2a;
    border-left: 4px solid #60a5fa;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

/* Sidebar Cards */
.expertise-card, .tech-card, .personal-card, .philosophy-card {
    background: #2a2a2a;
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.expertise-card:hover, .tech-card:hover, .personal-card:hover {
    border-color: #60a5fa;
}

.tech-card h3, .expertise-card h3, .personal-card h3, .philosophy-card h3 {
    color: #60a5fa;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    text-align: center;
}

.expertise-grid {
    display: grid;
    gap: 1rem;
}

.expertise-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #333;
}

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

.expertise-item h4 {
    color: #60a5fa;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.expertise-item p {
    color: #aaa;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.project-highlight {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.project-highlight:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.project-highlight h4 {
    color: #60a5fa;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.project-highlight p {
    margin: 0;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.4;
}

.philosophy-card {
    margin-top: 3rem;
}

.philosophy-card p {
    margin: 0;
    color: #ccc;
    font-style: italic;
    text-align: center;
    line-height: 1.6;
}

/* Approach Grid */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.approach-step {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #333;
    text-align: center;
    transition: all 0.3s ease;
}

.approach-step:hover {
    border-color: #60a5fa;
    transform: translateY(-5px);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.approach-step h3 {
    color: #60a5fa;
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.approach-step p {
    margin: 0;
    color: #ccc;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-sidebar {
        order: -1;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-layout {
        gap: 2rem;
        margin: 2rem 0;
    }
    
    .about-content h2, .about-main h2 {
        font-size: 1.8rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .expertise-card, .tech-card, .personal-card, .philosophy-card {
        padding: 1.5rem;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
}

/* Portfolio Page Styles */
.portfolio-grid {
    display: grid;
    gap: 4rem;
    margin: 3rem 0;
}

.portfolio-project {
    background: #2a2a2a;
    padding: 0.75rem;
    border-radius: 12px;
    border: 2px solid #333;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.portfolio-project:hover {
    border-color: #60a5fa;
}

.project-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0.75rem;
    align-items: start;
}

.project-image {
    width: 220px;
    height: 220px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    transition: transform 0.3s ease;
}

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

.project-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

@media (max-width: 768px) {
    .project-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-image {
        width: 100%;
        height: 180px;
        justify-self: center;
    }
    
    .portfolio-project {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
}

/* Project Summary (always visible) */
.project-summary {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0.5rem 0 0.25rem 0;
}

/* Section Divider for Portfolio */
.section-divider {
    text-align: left;
    margin: 2rem 0 3rem 0;
    padding: 2rem 0;
    position: relative;
}



.section-divider h2 {
    color: #60a5fa;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.section-subtitle {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 600px;
}

/* Portfolio Project Collapse/Expand Functionality */
.project-description {
    transition: max-height 0.4s ease, opacity 0.3s ease;
    overflow: hidden;
}

.project-description.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.project-description.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1rem;
}

.project-expand-btn {
    background: none;
    border: 1px solid #60a5fa;
    color: #60a5fa;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    transition: all 0.3s ease;
    font-family: inherit;
    align-self: flex-start;
}

.project-expand-btn:hover {
    background: #60a5fa;
    color: #1a1a1a;
    transform: translateY(-1px);
}

.project-expand-btn:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.project-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
    align-items: flex-start;
}

.project-header h3 {
    color: #60a5fa;
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.2;
    text-align: left;
    width: 100%;
}

.project-status {
    background: #333;
    color: #60a5fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-meta {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.3rem;
    margin: 0;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.project-meta::-webkit-scrollbar {
    display: none;
}

.project-meta .category {
    background: #333;
    color: #60a5fa;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-size: 0.7rem;
    border: 1px solid #444;
    white-space: nowrap;
    flex-shrink: 0;
}

.meta-item h4 {
    color: #60a5fa;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-item p {
    margin: 0;
    line-height: 1.4;
}

.tech-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.3rem;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tech-tags::-webkit-scrollbar {
    display: none;
}

.tech-tag {
    background: #333;
    color: #60a5fa;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-size: 0.7rem;
    border: 1px solid #444;
    white-space: nowrap;
    flex-shrink: 0;
}

.project-highlights {
    margin: 2rem 0;
}

.project-highlights h4 {
    color: #60a5fa;
    margin-bottom: 1rem;
}

.project-highlights ul {
    list-style: none;
    padding: 0;
}

.project-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.project-highlights li::before {
    content: "▸";
    color: #60a5fa;
    position: absolute;
    left: 0;
}

/* Services Page Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: #2a2a2a;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #60a5fa;
    transform: translateY(-5px);
}

.service-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-icon .icon {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card .service-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: "✓";
    color: #60a5fa;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Technical Expertise Section */
.tech-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.tech-category {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #333;
}

.tech-category h3 {
    color: #60a5fa;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-item {
    background: #333;
    color: #e5e5e5;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: #60a5fa;
    color: #000;
}

/* Tech Summary (Condensed) */
.tech-summary {
    max-width: 1000px;
    margin: 2rem auto;
}

.tech-overview {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    color: #cbd5e1;
    background: #2a2a2a;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid #333;
}

.tech-overview strong {
    color: #60a5fa;
    font-weight: 600;
}

/* Process and Solution Cards */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.solution-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: #60a5fa;
}

.solution-card h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

.process-step {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #333;
    text-align: center;
}

.step-number {
    background: #60a5fa;
    color: #000;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem auto;
}

/* Process List (Condensed) */
.process-list {
    max-width: 900px;
    margin: 2rem auto;
}

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #2a2a2a;
    border-radius: 12px;
    border: 2px solid #333;
    border-left: 4px solid #60a5fa;
}

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

.process-number {
    color: #60a5fa;
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 25px;
    flex-shrink: 0;
}

.process-content {
    flex: 1;
    line-height: 1.6;
}

.process-content strong {
    color: #e2e8f0;
}

.process-step h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.engagement-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid #333;
}

.engagement-card h4 {
    color: #60a5fa;
    margin-bottom: 1rem;
}

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

.timeline-step {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    border: 2px solid #333;
}

.timeline-step::before {
    content: attr(data-step);
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: #60a5fa;
    color: #000;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.timeline-step h4 {
    color: #60a5fa;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.1rem;
}

/* Services Pricing Section */
.pricing-content {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-philosophy h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
}

.pricing-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-category {
    background: #2a2a2a;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 2rem;
    min-width: 350px;
}

.pricing-category h4 {
    color: #60a5fa;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.example-projects {
    display: grid;
    gap: 1rem;
}

.project-example {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #1a1a1a;
    border-radius: 6px;
    border-left: 3px solid #60a5fa;
    min-height: 80px;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-example strong {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
}

.project-example .price {
    color: #60a5fa;
    font-weight: 600;
    white-space: nowrap;
    font-size: 1rem;
    align-self: flex-start;
    margin-top: 0.2rem;
}

.project-example p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.pricing-notes {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.pricing-notes h4 {
    color: #60a5fa;
    margin-bottom: 1rem;
}

.pricing-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-notes li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
    color: #ccc;
}

.pricing-notes li:last-child {
    border-bottom: none;
}

.pricing-notes strong {
    color: #60a5fa;
}

@media (max-width: 768px) {
    .pricing-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .pricing-category {
        min-width: auto;
        padding: 1.5rem;
    }
    
    .project-example {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .project-example .price {
        align-self: flex-end;
        margin-top: 0.5rem;
    }
}

/* Contact Page Styles */
.contact-layout {
    display: block;
    margin: 3rem 0;
}

.contact-main {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ccc;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: #2a2a2a;
    border-radius: 8px;
    border: 2px solid #333;
    margin-bottom: 1rem;
}

.contact-method.primary {
    border-color: #60a5fa;
}

.method-icon {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.method-content h3 {
    color: #60a5fa;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.method-content p {
    margin: 0 0 0.5rem 0;
}

.method-content a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 1.1rem;
}

.method-content a:hover {
    text-decoration: underline;
}

.method-note {
    font-size: 0.9rem;
    color: #888;
}

/* Pricing Transparency */
.pricing-transparency {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #333;
    margin: 2rem 0;
}

.pricing-transparency h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    text-align: center;
}

.pricing-tiers {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tier {
    padding: 0.75rem 1rem;
    background: #333;
    border-radius: 8px;
    border-left: 4px solid #60a5fa;
}

.pricing-note {
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
}

.pricing-note a {
    color: #60a5fa;
    text-decoration: none;
}

.pricing-note a:hover {
    text-decoration: underline;
}

.contact-preferences {
    margin: 3rem 0;
}

.contact-preferences h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
}

.contact-preferences ul {
    list-style: none;
    padding: 0;
}

.contact-preferences li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #333;
}

.contact-preferences li:last-child {
    border-bottom: none;
}

.contact-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #60a5fa;
}

.contact-card h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
}

.inquiry-checklist {
    list-style: none;
    padding: 0;
}

.inquiry-checklist li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.inquiry-checklist li::before {
    content: "•";
    color: #60a5fa;
    position: absolute;
    left: 0;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.quick-contact-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.quick-contact-card:hover {
    border-color: #60a5fa;
    transform: translateY(-5px);
    background: #2a2a2a;
}

.quick-contact-card h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.quick-contact-card p {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.quick-contact-card:hover h3,
.quick-contact-card:hover p {
    color: inherit;
}

.availability-section {
    margin: 3rem 0;
}

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

.availability-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #60a5fa;
}

.availability-card h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
}

.interest-areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.interest-card {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.interest-card:hover {
    border-color: #60a5fa;
}

.interest-card h3 {
    color: #60a5fa;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.interest-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.final-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: #2a2a2a;
    border-radius: 12px;
    border: 2px solid #333;
}

.final-cta h2 {
    color: #60a5fa;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.final-cta p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Alternating Backgrounds */
.section-alternate {
    background: #2a2a2a;
    padding: 4rem 0;
}

/* Additional Responsive Design for New Pages */
@media (max-width: 768px) {
    .cta-row {
        flex-direction: column;
        align-items: center;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .hero-logo {
        max-width: 280px;
    }

    .nav-brand h1 {
        font-size: 1.2rem;
    }

    .nav-brand .logo-small {
        height: 32px;
    }

    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-meta {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .timeline-step::before {
        left: 1rem;
        transform: none;
    }
}