@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Merriweather:wght@300;400;700&display=swap');

:root {
    --lm-bright-blue: #3d5a8c;
    --lm-warm-orange: #ffa556;
    --lm-bright-teal: #4ecdc4;
    --lm-dark-gray: #2d3748;
    --lm-medium-gray: #718096;
    --lm-light-gray: #e2e8f0;
}

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

body {
    font-family: 'Merriweather', Georgia, serif;
    background: #f7fafc;
    color: var(--lm-dark-gray);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.1;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem 6rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

nav.scrolled {
    padding: 1rem 6rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    transition: height 0.3s ease;
}

nav.scrolled .logo img {
    height: 50px;
}

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

.nav-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--lm-dark-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--lm-bright-teal);
}

.btn-nav {
    background: linear-gradient(135deg, var(--lm-bright-teal), var(--lm-bright-blue));
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

/* ============================================================
   SERVICES DROPDOWN NAV
   Add to: css/styles.css
   ============================================================ */

/* Wrapper — needs position:relative for dropdown to anchor to */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* The "Services" trigger link — same look as other nav links */
.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.nav-dropdown-arrow {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
    line-height: 1;
}

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

/* Dropdown panel — hidden by default */
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: #ffffff;
    border: 2px solid var(--lm-bright-blue);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 200;
}

/* Small triangle pointer */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 8px solid var(--lm-bright-blue);
}

/* Show on hover */
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown links */
.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lm-dark-gray);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover {
    background: rgba(61, 90, 140, 0.06);
    color: var(--lm-bright-blue);
}

/* Divider between items */
.nav-dropdown-menu a:not(:last-child) {
    border-bottom: 1px solid var(--lm-light-gray);
}



/* Mobile Menu Toggle - Hidden on Desktop */
.mobile-menu-toggle {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--lm-bright-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

@media (max-width: 768px) {
    .nav-dropdown {
        display: block;
        width: 100%;
    }

    .nav-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        transition: max-height 0.25s ease, visibility 0.25s;
        background: rgba(61, 90, 140, 0.04);
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    /* Open state toggled by JS on mobile */
    .nav-dropdown.open .nav-dropdown-menu {
        visibility: visible;
        max-height: 200px;
    }

    .nav-dropdown.open .nav-dropdown-arrow {
        transform: rotate(180deg);
    }

    .nav-dropdown-menu a {
        padding: 0.6rem 1.5rem;
        font-size: 0.9375rem;
        border-bottom: none;
    }

    .nav-dropdown-menu a:not(:last-child) {
        border-bottom: none;
    }
}

/* Hero Section - Default Centered (used by most pages) */
.hero {
    background: linear-gradient(135deg, #5a7eb3 0%, var(--lm-bright-blue) 100%);
    padding: 12rem 6rem 8rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero .hero-tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* Homepage Hero - Two Column Layout Override */
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: left; /* Override center for grid layout */
}

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

.hero-headline h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-headline .hero-tagline {
    font-size: 1.25rem;
    opacity: 0.9;
}

.hero-highlight {
    color: var(--lm-warm-orange);
}

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

.hero-container .hero-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Animated pixel pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 165, 86, 0.2), rgba(255, 165, 86, 0.2)),
        linear-gradient(rgba(255, 165, 86, 0.15), rgba(255, 165, 86, 0.15)),
        linear-gradient(rgba(255, 165, 86, 0.18), rgba(255, 165, 86, 0.18)),
        linear-gradient(rgba(255, 165, 86, 0.12), rgba(255, 165, 86, 0.12)),
        linear-gradient(rgba(255, 165, 86, 0.16), rgba(255, 165, 86, 0.16)),
        linear-gradient(rgba(78, 205, 196, 0.15), rgba(78, 205, 196, 0.15)),
        linear-gradient(rgba(78, 205, 196, 0.2), rgba(78, 205, 196, 0.2)),
        linear-gradient(rgba(78, 205, 196, 0.12), rgba(78, 205, 196, 0.12)),
        linear-gradient(rgba(78, 205, 196, 0.18), rgba(78, 205, 196, 0.18)),
        linear-gradient(rgba(78, 205, 196, 0.14), rgba(78, 205, 196, 0.14)),
        linear-gradient(rgba(255, 165, 86, 0.25), rgba(255, 165, 86, 0.25)),
        linear-gradient(rgba(78, 205, 196, 0.22), rgba(78, 205, 196, 0.22)),
        linear-gradient(rgba(255, 165, 86, 0.2), rgba(255, 165, 86, 0.2)),
        linear-gradient(rgba(78, 205, 196, 0.17), rgba(78, 205, 196, 0.17));
    background-size: 
        30px 30px, 40px 40px, 50px 50px, 35px 35px, 25px 25px,
        25px 25px, 30px 30px, 40px 40px, 35px 35px, 28px 28px,
        15px 15px, 20px 20px, 18px 18px, 22px 22px;
    background-position: 
        20% 30%, 80% 20%, 15% 70%, 90% 60%, 5% 50%,
        30% 50%, 70% 40%, 25% 80%, 85% 85%, 60% 15%,
        10% 40%, 75% 65%, 40% 25%, 55% 75%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
    animation: pixelFadeDriftDiagonal 18s ease-in-out infinite;
}

@keyframes pixelFadeDriftDiagonal {
    0%, 100% { 
        opacity: 0.6; 
        transform: translate(0, 0);
    }
    50% { 
        opacity: 1; 
        transform: translate(30px, -30px);
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center; /* Default centered */
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

/* Override for homepage two-column layout */
.hero-container .hero-content {
    text-align: left;
    max-width: none;
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center; /* Default centered */
    margin-top: 2rem;
}

/* Override for homepage two-column layout */
.hero-container .hero-buttons {
    justify-content: flex-start;
}

.btn {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--lm-bright-teal), var(--lm-bright-blue));
    color: #fff;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(78, 205, 196, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Client Logo Carousel */
.client-logos {
    background: #fff;
    padding: 4rem 0;
    overflow: hidden;
}

.client-logos h3 {
    text-align: center;
    color: var(--lm-bright-blue);
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.logo-track {
    display: flex;
    gap: 4rem;
    animation: scroll-left 120s linear infinite;
    width: fit-content;
}

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

.logo-item {
    flex-shrink: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-height: 80px;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: all 0.3s ease;
}

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

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Sections */
section {
    padding: 6rem 6rem;
}

.section-heading {
    font-size: 3rem;
    color: var(--lm-bright-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subheading {
    font-size: 1.25rem;
    color: var(--lm-medium-gray);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.service-card {
    background: #ffffff;
    border: 3px solid var(--lm-bright-blue);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(61, 90, 140, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(61, 90, 140, 0.25);
    border-color: var(--lm-bright-teal);
}

.service-card:hover::before {
    border-color: rgba(78, 205, 196, 0.5);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.75rem;
    color: var(--lm-dark-gray);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--lm-medium-gray);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    position: relative;
    z-index: 1;
}

.service-features li {
    padding: 0.75rem 1.25rem;
    background: rgba(78, 205, 196, 0.08);
    border-left: 4px solid var(--lm-bright-teal);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--lm-dark-gray);
    border-radius: 0 8px 8px 0;
    font-size: 0.9375rem;
}

/* Testimonials Section */
.testimonials {
    background: #fff;
}

.testimonials-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
}

.testimonials-track {
    overflow: hidden;
    position: relative;
}

.testimonials-row {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.testimonials-row .testimonial-card {
    flex: 0 0 calc(33.333% - 1.34rem);
    min-width: 0;
}

.testimonial-card {
    background: #ffffff;
    border: 3px solid var(--lm-bright-blue);
    border-radius: 20px;
    padding: 0;
    position: relative;
    box-shadow: 0 10px 40px rgba(61, 90, 140, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 15px 50px rgba(61, 90, 140, 0.25);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
}

.testimonial-image {
    width: calc(100% - 24px);
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 12px 12px 1.5rem 12px;
    border-radius: 12px 12px 0 0;
    position: relative;
    z-index: 2;
}

.testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--lm-dark-gray);
    margin-bottom: auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    padding: 0 2.5rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
    padding: 0 2.5rem 2.5rem 2.5rem;
    margin-top: auto;
}

.testimonial-author-info h4 {
    font-size: 1.125rem;
    color: var(--lm-bright-blue);
    margin-bottom: 0.25rem;
}

.testimonial-author-info p {
    color: var(--lm-medium-gray);
    font-size: 0.9375rem;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--lm-bright-blue);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(61, 90, 140, 0.3);
}

.carousel-arrow:hover {
    background: var(--lm-bright-teal);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lm-light-gray);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--lm-bright-blue);
    width: 32px;
    border-radius: 6px;
}

/* Ebooks Signup Section */
.ebooks-signup {
    background: linear-gradient(135deg, #5a7eb3 0%, var(--lm-bright-blue) 100%);
    padding: 6rem;
}

.ebooks-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ebooks-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.ebooks-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.ebooks-benefits {
    list-style: none;
}

.ebooks-benefits li {
    color: #fff;
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.ebooks-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lm-bright-teal);
    font-weight: bold;
    font-size: 1.25rem;
}

.ebooks-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 3px solid var(--lm-bright-teal);
}

.ebooks-form input,
.ebooks-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--lm-light-gray);
    border-radius: 8px;
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.ebooks-form input:focus,
.ebooks-form textarea:focus {
    outline: none;
    border-color: var(--lm-bright-teal);
}

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

.ebooks-form button {
    width: 100%;
}

.ebooks-form .form-disclaimer {
    font-size: 0.875rem;
    color: var(--lm-medium-gray);
    text-align: center;
    margin-top: 1rem;
}

/* Indie Dev Program Section */
.indie-dev-section {
    background: #fff;
    padding: 6rem;
}

.indie-dev-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border: 3px solid var(--lm-bright-teal);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
}

.indie-dev-container::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid rgba(255, 165, 86, 0.3);
    border-radius: 12px;
    pointer-events: none;
}

.indie-dev-badge {
    display: inline-block;
    background: var(--lm-warm-orange);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.indie-dev-container h2 {
    font-size: 2.5rem;
    color: var(--lm-bright-blue);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.indie-dev-container p {
    font-size: 1.125rem;
    color: var(--lm-medium-gray);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

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

.indie-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.indie-benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.indie-benefit-content h4 {
    color: var(--lm-bright-blue);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.indie-benefit-content p {
    color: var(--lm-dark-gray);
    font-size: 1rem;
    margin: 0;
}

.indie-dev-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* FAQ Section */
.faq-section {
    background: #f7fafc;
    padding: 6rem;
}

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

.faq-item {
    background: #fff;
    border: 2px solid var(--lm-light-gray);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    border-color: var(--lm-bright-teal);
}

.faq-question {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    color: var(--lm-bright-blue);
    font-size: 1.25rem;
    margin: 0;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--lm-warm-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 400;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

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

.faq-answer-content {
    padding: 0 2rem 2rem;
    color: var(--lm-dark-gray);
    line-height: 1.7;
}

/* About Page Styles */
.about-content {
    padding: 6rem;
    background: #fff;
}

.about-intro {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.about-photo {
    position: sticky;
    top: 120px;
}

.photo-card {
    background: #fff;
    border: 3px solid var(--lm-bright-blue);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(61, 90, 140, 0.15);
}

.photo-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
}

.photo-card img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 0;
}

.about-text h2 {
    color: var(--lm-bright-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text h3 {
    color: var(--lm-bright-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.about-text li {
    margin-bottom: 0.5rem;
    color: var(--lm-dark-gray);
}

/* Contact Page Styles */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-card {
    background: #fff;
    border: 3px solid var(--lm-bright-blue);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(61, 90, 140, 0.15);
}

.content-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    pointer-events: none;
}

.content-card h2 {
    color: var(--lm-bright-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.content-card h3 {
    color: var(--lm-bright-blue);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.content-card p,
.content-card ul,
.content-card ol {
    position: relative;
    z-index: 1;
}

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

.checklist li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lm-bright-teal);
    font-weight: bold;
    font-size: 1.25rem;
}

.unable-list {
    list-style: none;
    padding: 0;
}

.unable-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--lm-medium-gray);
}

.unable-list li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: var(--lm-warm-orange);
    font-weight: bold;
    font-size: 1.5rem;
}

.indie-callout {
    background: rgba(78, 205, 196, 0.08);
    border-left: 4px solid var(--lm-bright-teal);
    border-radius: 0 12px 12px 0;
    padding: 2rem;
    margin: 2rem 0;
}

.indie-callout h3 {
    color: var(--lm-bright-blue);
    margin-top: 0;
}

.btn-indie {
    display: inline-block;
    background: linear-gradient(135deg, var(--lm-bright-teal), var(--lm-bright-blue));
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.3s;
    margin-top: 1rem;
}

.btn-indie:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

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

.contact-method {
    text-align: center;
    padding: 2rem;
    background: rgba(61, 90, 140, 0.05);
    border-radius: 12px;
}

.contact-method h3 {
    color: var(--lm-bright-blue);
    margin-bottom: 1rem;
}

.contact-method a {
    color: var(--lm-bright-blue);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-method a:hover {
    color: var(--lm-bright-teal);
}

/* Services Page Styles */
.specialized-services {
    background: #f7fafc;
    padding: 4rem 6rem;
}

.specialized-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.specialized-intro h2 {
    color: var(--lm-bright-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.specialized-card {
    background: #fff;
    border: 3px solid var(--lm-bright-blue);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(61, 90, 140, 0.15);
    transition: transform 0.3s ease;
}

.specialized-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    pointer-events: none;
}

.specialized-card:hover {
    transform: translateY(-5px);
}

.specialized-card h3 {
    color: var(--lm-bright-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.specialized-card p {
    color: var(--lm-dark-gray);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.specialized-card ul {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.specialized-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--lm-dark-gray);
}

.specialized-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--lm-bright-teal);
    font-weight: bold;
}

.work-section {
    background: #fff;
    padding: 4rem 6rem;
}

.work-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.work-intro h2 {
    color: var(--lm-bright-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.work-card {
    background: #fff;
    border: 2px solid var(--lm-light-gray);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.work-card:hover {
    border-color: var(--lm-bright-teal);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(61, 90, 140, 0.1);
}

.work-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lm-bright-teal), var(--lm-bright-blue));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    line-height: 50px;
    margin-bottom: 1.5rem;
}

.work-card h3 {
    color: var(--lm-bright-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.work-card p {
    color: var(--lm-dark-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.what-makes-different {
    background: rgba(78, 205, 196, 0.05);
    border-radius: 20px;
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.what-makes-different h3 {
    color: var(--lm-bright-blue);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

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

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

.different-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.different-content h4 {
    color: var(--lm-bright-blue);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.different-content p {
    color: var(--lm-dark-gray);
    font-size: 0.9375rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #5a7eb3 0%, var(--lm-bright-blue) 100%);
    padding: 6rem;
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--lm-dark-gray);
    color: #e2e8f0;
    padding: 4rem 6rem 2rem;
}

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

.footer h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

.footer a:hover {
    color: var(--lm-bright-teal);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #a0aec0;
}

.footer-disclaimer {
    margin-bottom: 1.5rem;
    text-align: left;
}

.footer-disclaimer p {
    margin-bottom: 0.75rem;
}

.footer-disclaimer {
    margin-bottom: 1rem;
    text-align: left;
}

.footer-disclaimer p {
    margin-bottom: 0.75rem;
}

/* Blog Category Filter */
.blog-categories {
    background: #fff;
    padding: 3rem 6rem;
    border-bottom: 2px solid var(--lm-light-gray);
}

.categories-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.category-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--lm-bright-blue);
    background: #fff;
    color: var(--lm-bright-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: rgba(61, 90, 140, 0.1);
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--lm-bright-teal), var(--lm-bright-blue));
    color: #fff;
    border-color: transparent;
}

/* Blog Section Styles */
.blog-section {
    padding: 6rem 4rem;
    background: #f7fafc;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    background: #ffffff;
    border: 3px solid var(--lm-bright-blue);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(61, 90, 140, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(61, 90, 140, 0.25);
    border-color: var(--lm-bright-teal);
}

.blog-card:hover::before {
    border-color: rgba(78, 205, 196, 0.5);
}

.blog-card-image {
    width: calc(100% - 24px);
    height: 240px;
    position: relative;
    margin: 12px 12px 0 12px;
    z-index: 2;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px 12px 0 0;
}

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

.blog-card-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(78, 205, 196, 0.15);
    color: var(--lm-bright-blue);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.blog-card-content h3 {
    font-size: 1.5rem;
    color: var(--lm-bright-blue);
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.blog-card-content p {
    color: var(--lm-medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--lm-medium-gray);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--lm-light-gray);
}

.blog-card-author {
    font-weight: 600;
}

.blog-card-link {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--lm-bright-teal);
    font-size: 0.9375rem;
}

.blog-card:hover .blog-card-link {
    color: var(--lm-warm-orange);
}

/* Blog Post Header - Corrected version with proper width */
.post-header {
    padding-top: 10rem; /* Space from fixed nav */
    padding-left: 2rem;
    padding-right: 2rem;
}

.post-header-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    border-left: 6px solid var(--lm-bright-teal);
    padding-left: 2rem;
}

.post-header .blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    flex-wrap: wrap;
}

.post-header .blog-category {
    background: var(--lm-bright-blue);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-header .blog-date {
    color: var(--lm-medium-gray);
    display: flex;
    align-items: center;
}

.post-header .reading-time {
    color: var(--lm-medium-gray);
    display: flex;
    align-items: center;
}

.post-header h1 {
    font-size: 2.75rem;
    color: var(--lm-dark-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-header .blog-author {
    font-family: 'Inter', sans-serif;
    color: var(--lm-medium-gray);
    font-size: 1rem;
}

.post-header .blog-author strong {
    color: var(--lm-bright-blue);
}

/* Article Container */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Remove first H1 from markdown content since we show it in header */
.article-content > h1:first-child {
    display: none;
}

.article-content h2 {
    font-size: 2rem;
    color: var(--lm-bright-blue);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--lm-bright-blue);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-content a {
    color: var(--lm-bright-blue);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.article-content a:hover {
    color: var(--lm-bright-teal);
}

.article-content strong {
    font-weight: 700;
    color: var(--lm-dark-gray);
}

.article-content em {
    font-style: italic;
}

.article-content blockquote {
    border-left: 4px solid var(--lm-bright-teal);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--lm-medium-gray);
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 2rem 0;
}

.article-content code {
    background: rgba(61, 90, 140, 0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.article-content pre {
    background: rgba(61, 90, 140, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content pre code {
    background: none;
    padding: 0;
}

/* Image cards for blog posts */
.image-card {
    margin: 2.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(61, 90, 140, 0.1);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}


/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 1rem 2rem;
    }

    .hero {
        padding: 8rem 2rem 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    section {
        padding: 4rem 2rem;
    }

    .section-heading {
        font-size: 2rem;
    }

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

    .footer {
        padding: 3rem 2rem 1rem;
    }
}

/* Tablet - 2 column services grid */
@media (min-width: 769px) and (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile styles continue */
@media (max-width: 768px) {

    .blog-section {
        padding: 4rem 2rem;
    }

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

    /* Blog Post Responsive Styles */
	    .post-header {
	        padding-top: 7rem;
	        padding-left: 1.5rem;
	        padding-right: 1.5rem;
	    }

	    .post-header-content {
	        padding-left: 1.5rem;
	        border-left-width: 4px;
	    }

	    .post-header h1 {
	        font-size: 2rem;
	    }

    .article-container {
        padding: 0 1.5rem 3rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.75rem;
        margin-top: 2rem;
    }

    .article-content h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
}

/* Slim Inline Newsletter Signup for Blog Posts */
.newsletter-inline {
    background: linear-gradient(135deg, var(--lm-bright-blue) 0%, #2d4a7c 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
    border: 3px solid var(--lm-bright-teal);
}

.newsletter-inline-content {
    max-width: 100%;
}

.newsletter-inline-text h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.newsletter-inline-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.inline-form-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    align-items: start;
}

.newsletter-inline-form input[type="text"],
.newsletter-inline-form input[type="email"] {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: var(--lm-dark-gray);
    transition: all 0.3s;
    width: 100%;
}

.newsletter-inline-form input[type="text"]::placeholder,
.newsletter-inline-form input[type="email"]::placeholder {
    color: var(--lm-medium-gray);
    opacity: 0.7;
}

.newsletter-inline-form input:focus {
    outline: none;
    border-color: var(--lm-bright-teal);
    background: #fff;
}

.newsletter-inline-form .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    white-space: nowrap;
    width: auto;
    justify-self: center;
    min-width: 200px;
    background: linear-gradient(135deg, var(--lm-bright-teal), var(--lm-bright-blue));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.newsletter-inline-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.newsletter-inline-form .form-disclaimer {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.875rem;
    margin-top: 1rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Inter', sans-serif;
}

/* Responsive - form wraps naturally with auto-fit */
@media (max-width: 968px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 90px;
        right: -100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        border-radius: 16px 0 0 16px;
        transition: right 0.3s ease;
        align-items: flex-start;
        gap: 1.5rem;
        min-width: 250px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    nav {
        padding: 1rem 2rem;
    }
    
    nav.scrolled {
        padding: 0.75rem 2rem;
    }
    
    /* Testimonials */
    .testimonials-carousel {
        padding: 0 60px;
    }
    
    /* Blog Categories */
    .blog-categories {
        padding: 2rem;
    }
    
    .category-btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }
    
    /* About Page */
    .about-content {
        padding: 3rem 2rem;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-photo {
        position: static;
    }
    
    /* Contact Page */
    .content-card {
        padding: 1.75rem 1.25rem;
    }
    
    /* -------------------------------------------------------
       Mobile: Replace boxed cards with section-divider style
       ------------------------------------------------------- */
    
    /* Strip the full border box */
    .content-card {
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 0 !important;
        border-top: 3px solid var(--lm-bright-blue);
        border-bottom: 1px solid var(--lm-light-gray);
        padding: 2rem 1.25rem;
    }
    
    /* Kill the inner teal pseudo-border - it creates a cramped double-frame */
    .content-card::before {
        display: none;
    }
    
    /* Add a teal underline to card headings as a visual anchor */
    .content-card h2 {
        padding-bottom: 0.625rem;
        border-bottom: 3px solid var(--lm-bright-teal);
        margin-bottom: 1.25rem;
        font-size: 1.5rem;
    }
    
    /* Ensure z-index stacking doesn't cause content to disappear */
    .content-card p,
    .content-card ul,
    .content-card ol {
        position: static;
    }
    
    /* content-wrapper: remove excess side padding */
    .content-wrapper {
        padding: 2rem 1.25rem;
    }
    
    /* Inline grids inside content-cards (e.g. "What's Covered" 2-col list) */
    .content-card [style*="grid-template-columns"] {
        display: block !important;
    }
    
    .content-card [style*="grid-template-columns"] > div {
        margin-bottom: 1.5rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    /* Services Page */
    .specialized-services,
    .work-section {
        padding: 3rem 2rem;
    }
    
    .specialized-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .different-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-row .testimonial-card {
        flex: 0 0 100%;
        min-height: 0 !important;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    /* Ebooks Signup */
    .ebooks-signup {
        padding: 3rem 2rem;
    }
    
    .ebooks-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ebooks-content h2 {
        font-size: 2rem;
    }
    
    /* Indie Dev Section */
    .indie-dev-section {
        padding: 3rem 2rem;
    }
    
    .indie-dev-container {
        padding: 2rem;
    }
    
    .indie-dev-container h2 {
        font-size: 2rem;
    }
    
    .indie-dev-benefits {
        grid-template-columns: 1fr;
    }
    
    /* FAQ Section */
    .faq-section {
        padding: 3rem 2rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-answer-content {
        padding: 0 1.5rem 1.5rem;
    }
    
    /* Form styles */
    .inline-form-fields {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (max-width: 640px) {
    .inline-form-fields {
        grid-template-columns: 1fr;
    }
    
    .newsletter-inline {
        padding: 1.5rem;
    }
    
    .newsletter-inline-text h4 {
        font-size: 1.125rem;
    }
    
    .newsletter-inline-form .btn-primary {
        width: 100%;
        min-width: unset;
    }
}

/* Responsive Styles for Hero */
@media (max-width: 1200px) {
    /* Homepage hero switches to single column */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-headline {
        text-align: center;
    }
    
    .hero-container .hero-content {
        text-align: center;
    }
    
    .hero-container .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 10rem 2rem 6rem;
    }
    
    .hero h1,
    .hero-headline h1 {
        font-size: 2.5rem;
    }
    
    .hero .hero-tagline,
    .hero-headline .hero-tagline {
        font-size: 1.125rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}
/* Contact Form Styles */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border: 3px solid var(--lm-bright-blue);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(61, 90, 140, 0.15);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-form-header h2 {
    font-size: 2.25rem;
    color: var(--lm-bright-blue);
    margin-bottom: 1rem;
}

.contact-form-header p {
    color: var(--lm-medium-gray);
    font-size: 1.125rem;
    line-height: 1.6;
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--lm-dark-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group .required {
    color: var(--lm-warm-orange);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--lm-light-gray);
    border-radius: 8px;
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1rem;
    color: var(--lm-dark-gray);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lm-bright-teal);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.form-status {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-align: center;
}

.form-status.success {
    background: rgba(78, 205, 196, 0.1);
    border: 2px solid var(--lm-bright-teal);
    color: var(--lm-bright-teal);
}

.form-status.error {
    background: rgba(255, 165, 86, 0.1);
    border: 2px solid var(--lm-warm-orange);
    color: var(--lm-warm-orange);
}

/* Responsive */
@media (max-width: 640px) {
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-form-header h2 {
        font-size: 1.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .btn-large {
        width: 100%;
    }
}

/* Compact Contact Form for Blog Posts */
.contact-form-compact {
    background: linear-gradient(135deg, var(--lm-bright-blue) 0%, #2d4a7c 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 3px solid var(--lm-bright-teal);
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-compact h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.contact-form-compact p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.contact-form-small {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-small input,
.contact-form-small textarea {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    font-family: 'Merriweather', Georgia, serif;
    font-size: 0.9375rem;
    color: var(--lm-dark-gray);
    transition: all 0.3s;
}

.contact-form-small input::placeholder,
.contact-form-small textarea::placeholder {
    color: var(--lm-medium-gray);
    opacity: 0.7;
}

.contact-form-small input:focus,
.contact-form-small textarea:focus {
    outline: none;
    border-color: var(--lm-bright-teal);
    background: #fff;
}

.contact-form-small textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form-small button {
    width: 100%;
}

@media (max-width: 640px) {
    .contact-form-compact {
        padding: 1.5rem;
    }
    
    .contact-form-compact h3 {
        font-size: 1.25rem;
    }
}
/* ============================================================================
   REDIRECT BANNER - Option 2: Console Card Style (Fixed Nav Compatible)
   Replace the banner CSS in your styles.css with this version
   ============================================================================ */

.redirect-banner {
    position: relative;
    background: #ffffff;
    color: var(--lm-dark-gray);
    padding: 0;
    border: 3px solid var(--lm-bright-blue);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(61, 90, 140, 0.25);
    z-index: 999;  /* Below nav (1000) but above content */
    animation: slideDown 0.3s ease-out;
    margin: 120px auto 1rem auto;  /* Top margin accounts for fixed nav */
    max-width: 800px;
}

/* Inner teal border for console UI effect */
.redirect-banner::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    pointer-events: none;
}

.redirect-banner-content {
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.redirect-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    color: var(--lm-dark-gray);
}

.redirect-banner p strong {
    color: var(--lm-bright-blue);
    font-weight: 700;
}

.redirect-banner-close {
    background: transparent;
    border: 2px solid var(--lm-bright-blue);
    color: var(--lm-bright-blue);
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.redirect-banner-close:hover {
    background: var(--lm-warm-orange);
    border-color: var(--lm-warm-orange);
    color: #ffffff;
    transform: scale(1.05);
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .redirect-banner {
        margin: 80px 1rem 1rem 1rem;  /* Less top margin on mobile */
        max-width: 95%;
    }
    
    .redirect-banner-content {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .redirect-banner p {
        font-size: 0.85rem;
    }
}
/* Blog Search Section */
.blog-search-section {
    background: #fff;
    padding: 3rem 6rem 2rem;
}

.blog-search-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Pagefind Search Styling for Blog */
:root {
    --pagefind-ui-primary: #3d5a8c;
    --pagefind-ui-text: #2d3748;
    --pagefind-ui-background: #ffffff;
    --pagefind-ui-border: #e2e8f0;
    --pagefind-ui-tag: #4ecdc4;
    --pagefind-ui-font: 'Merriweather', Georgia, serif;
}

/* Search Input Styling */
.pagefind-ui__search-input {
    background: #fff !important;
    border: 3px solid var(--lm-bright-blue) !important;
    border-radius: 50px !important;
    padding: 1rem 1.5rem !important;
    font-family: 'Merriweather', serif !important;
    font-size: 1rem !important;
    transition: all 0.3s !important;
}

.pagefind-ui__search-input:focus {
    outline: none !important;
    border-color: var(--lm-bright-teal) !important;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1) !important;
}

/* Search Form Container */
.pagefind-ui__form {
    position: relative !important;
}

/* Clear/Search Button */
.pagefind-ui__search-clear {
    position: absolute !important;
    right: 0.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, var(--lm-bright-teal), var(--lm-bright-blue)) !important;
    color: #fff !important;
    padding: 0.625rem 1.25rem !important;
    border: none !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

.pagefind-ui__search-clear:hover {
    transform: translateY(-50%) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3) !important;
}

/* Hide metadata we don't want */
.pagefind-ui__result-nested,
.pagefind-ui__result-meta {
    display: none !important;
}

/* Result Container */
.pagefind-ui__result {
    border: 2px solid var(--lm-light-gray) !important;
    border-radius: 12px !important;
    padding: 0.75rem !important; /* Changed from 0 to 0.75rem */
    margin-bottom: 1.25rem !important;
    background: #fff !important;
    transition: all 0.3s !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important; /* Add gap between image and content */
}

.pagefind-ui__result:hover {
    border-color: var(--lm-bright-teal) !important;
    background: rgba(78, 205, 196, 0.05) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(61, 90, 140, 0.1) !important;
}

/* Featured Image Thumbnail */
.pagefind-ui__result-thumb {
    width: 120px !important;
    height: 120px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.pagefind-ui__result-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Result Content Area */
.pagefind-ui__result-inner {
    padding: 1.5rem !important;
    flex: 1 !important;
}

/* Result Title */
.pagefind-ui__result-title {
    margin: 0 0 0.75rem 0 !important;
}

.pagefind-ui__result-link {
    color: var(--lm-bright-blue) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    text-decoration: none !important;
    display: block !important;
    line-height: 1.3 !important;
}

.pagefind-ui__result-link:hover {
    color: var(--lm-bright-teal) !important;
}

/* Result Excerpt */
.pagefind-ui__result-excerpt {
    color: var(--lm-medium-gray) !important;
    font-family: 'Merriweather', serif !important;
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Highlight matching search terms */
.pagefind-ui__result-excerpt mark {
    background: rgba(255, 165, 86, 0.25) !important;
    color: var(--lm-dark-gray) !important;
    padding: 0.125rem 0.25rem !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pagefind-ui__result {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .pagefind-ui__result-thumb {
        width: 100% !important;
        height: 160px !important;
    }

    .pagefind-ui__result-inner {
        padding: 1.25rem !important;
    }

    .pagefind-ui__result-link {
        font-size: 1.125rem !important;
    }
}
/* ============================================================
   SPEEDRUN LEGAL - Ad Component Styles
   Add to: css/styles.css
   ============================================================ */


/* ============================================================
   FULL PROMO CARD (main pages)
   ============================================================ */

.speedrun-promo {
    background: #1c1917;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.speedrun-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #84cc16;
}

.speedrun-promo-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.speedrun-promo-badge {
    display: inline-block;
    background: #84cc16;
    color: #1c1917;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

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

.speedrun-promo-logo-wrap svg {
    width: 100%;
    max-width: 340px;
    height: auto;
    margin-bottom: 1.25rem;
    display: block;
}

.speedrun-promo-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.speedrun-promo-subhead {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    color: #a8a29e;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.speedrun-promo-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.speedrun-promo-features li {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #d6d3d1;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.5;
}

.speedrun-check {
    color: #84cc16;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.speedrun-promo-cta-group {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.speedrun-btn-primary {
    background: #84cc16;
    color: #1c1917;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
    display: inline-block;
}

.speedrun-btn-primary:hover {
    background: #65a30d;
    color: #1c1917;
    transform: translateY(-1px);
}

.speedrun-btn-secondary {
    color: #84cc16;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.speedrun-btn-secondary:hover {
    color: #a3e635;
}

.speedrun-promo-disclaimer {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #78716c;
    line-height: 1.5;
}

/* Stat cards (right column) */
.speedrun-promo-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.5rem;
}

.speedrun-stat-card {
    background: #292524;
    border: 1px solid #44403c;
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
}

.speedrun-stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 2.25rem;
    font-weight: 900;
    color: #84cc16;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.speedrun-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.speedrun-stat-compare {
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    color: #78716c;
    margin-top: 0.4rem;
    line-height: 1.4;
}

/* Full card responsive */
@media (max-width: 900px) {
    .speedrun-promo-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .speedrun-promo-aside {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .speedrun-stat-card {
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 600px) {
    .speedrun-promo {
        padding: 3.5rem 1.5rem;
    }

    .speedrun-promo-heading {
        font-size: 1.35rem;
    }

    .speedrun-promo-cta-group {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ============================================================
   SLIM INLINE CARD (blog posts)
   ============================================================ */

.speedrun-slim {
    background: #1c1917;
    border-radius: 12px;
    border-left: 4px solid #84cc16;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem 2rem;
    align-items: center;
}

.speedrun-slim-logo {
    grid-column: 1 / -1;
}

.speedrun-slim-logo svg {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
}

.speedrun-slim-content {
    grid-column: 1 / 3;
}

.speedrun-slim-hook {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.speedrun-slim-body {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #a8a29e;
    line-height: 1.6;
    margin: 0;
}

.speedrun-slim-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.speedrun-slim-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #84cc16;
    line-height: 1;
    text-align: center;
}

.speedrun-slim-price span {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #78716c;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.speedrun-slim-btn {
    background: #84cc16;
    color: #1c1917;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.speedrun-slim-btn:hover {
    background: #65a30d;
    color: #1c1917;
}

.speedrun-slim-learn {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #78716c;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.speedrun-slim-learn:hover {
    color: #a8a29e;
}

/* Slim card responsive */
@media (max-width: 700px) {
    .speedrun-slim {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .speedrun-slim-content {
        grid-column: 1;
    }

    .speedrun-slim-cta-wrap {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .speedrun-slim-price {
        font-size: 1.25rem;
    }
}
/* ============================================================
   INDIE DEV PRICING PAGE - Mobile Styles
   ============================================================ */

@media (max-width: 768px) {

    /* Fix outer section padding that causes horizontal overflow */
    section[style*="padding: 6rem"] {
        padding: 3rem 1.25rem !important;
    }

    /* "What's Covered" 2-column grid → single column */
    .covered-grid {
        grid-template-columns: 1fr !important;
    }

    /* Hero text sizing */
    .hero-headline h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    /* section-heading / section-subheading spacing */
    .section-heading {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .section-subheading {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Indie dev benefit items - ensure readable on narrow screens */
    .indie-dev-benefits {
        gap: 1.5rem;
    }

    .indie-benefit-item {
        gap: 0.75rem;
    }

    /* The teal/orange callout boxes inside content-cards */
    .content-card [style*="border-radius: 12px"] {
        padding: 1.25rem !important;
    }

    /* Scheduling section card */
    section[style*="background: #fff"] .content-card {
        padding: 1.75rem 1.25rem;
    }

    /* Referral CTA section padding */
    section[style*="background: linear-gradient"] {
        padding: 4rem 1.5rem !important;
    }

    section[style*="background: linear-gradient"] h2 {
        font-size: 1.75rem;
    }

    section[style*="background: linear-gradient"] p {
        font-size: 1rem;
    }
}
