:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d4a574;
    --accent-color: #1e40af;
    --support-color: #6b8e23;
    --text-color: #1a1a1a;
    --light-text: #6b7280;
    --background-light: #fafafa;
    --white: #ffffff;
    --gold: #d4a574;
    --charcoal: #1a1a1a;
    --trust-blue: #1e40af;
    --sage: #6b8e23;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: var(--background-light);
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Navigation */
header {
    /* Container for logo and nav - no longer needs positioning */
}

.logo-standalone {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(calc(-600px + 2rem));
    top: calc(2.75rem + 1.5rem);
    z-index: 100;
}

.logo-standalone .logo-image {
    height: 120px;
    width: auto;
    transition: height 0.3s ease;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.25rem;
    max-width: 900px;
    margin: 0;
    background: white;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
    position: fixed;
    top: calc(2.75rem + 1.5rem);
    right: 2rem;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 180px;
}

/* Logo image styling moved to logo-standalone */

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.logo-accent {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: space-between;
    width: 100%;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    margin-left: 2rem;
}

.nav-links a:not(.book-call-btn) {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
    white-space: nowrap;
    text-align: left;
}

.nav-links a:not(.book-call-btn):hover {
    color: var(--secondary-color);
}

.book-call-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-left: auto;
    white-space: nowrap;
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.book-call-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.book-call-btn:hover {
    background-color: transparent;
    color: var(--secondary-color) !important;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
    transform: scale(1.05);
}

.book-call-btn:hover::after {
    transform: translate(-50%, -50%) scale(2);
}

@media (max-width: 1400px) {
    .logo-standalone {
        position: absolute;
        left: 2rem;
        transform: none;
    }
}

@media (max-width: 1024px) {
    .main-nav {
        padding: 1.5rem 1rem;
    }
    
    .nav-links {
        gap: 2rem;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    display: block;
    transition: all 0.3s ease;
}

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

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

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

@media (max-width: 768px) {
    header {
        position: relative; /* Changed from static to relative for positioning context */
        top: auto;
        padding: 0 1rem; /* Remove vertical padding */
        height: auto;
        min-height: auto; /* Let content determine height */
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-top: 2.5rem; /* Space for urgency banner */
    }
    
    .logo-standalone {
        position: static !important; /* Override desktop fixed positioning */
        left: auto !important;
        top: auto !important;
        transform: none !important; /* Reset transform */
        display: flex;
        justify-content: center;
        margin: 0 auto; /* Remove top margin to reduce padding */
        z-index: auto;
    }
    
    .logo-standalone .logo-image {
        height: 140px; /* Much larger logo for better mobile visibility */
    }
    
    .main-nav {
        position: fixed;
        top: 5rem; /* Lower position, better aligned with logo */
        right: 1rem;
        width: auto;
        padding: 0.5rem;
        border-radius: 50%;
        z-index: 1001;
        transition: transform 0.3s ease-in-out;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed !important;
        top: 5.5rem !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        transform: translateY(-20px) scale(0.95) !important;
        background: white;
        border-radius: 12px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.2);
        padding: 1rem;
        width: calc(100% - 2rem) !important;
        max-width: 400px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99999; /* Increased z-index to ensure it's always on top */
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        max-height: calc(100vh - 6rem);
        overflow-y: auto;
        pointer-events: none;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box; /* Ensure padding is included in width calculation */
        -webkit-transform: translateY(-20px) scale(0.95) !important; /* Safari support */
        -webkit-backface-visibility: hidden; /* Prevent Safari rendering issues */
        backface-visibility: hidden;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1) !important;
        -webkit-transform: translateY(0) scale(1) !important; /* Safari support */
        pointer-events: auto;
    }
    
    /* Override positioning to ensure centering */
    @media (max-width: 768px) {
        .main-nav .nav-links,
        body > .nav-links,
        .nav-links {
            position: fixed !important;
            top: 5.5rem !important;
            left: 0 !important;
            right: 0 !important;
            margin-left: auto !important;
            margin-right: auto !important;
            transform: translateY(-20px) scale(0.95) !important;
            width: calc(100% - 2rem) !important;
            max-width: 400px !important;
            max-height: calc(100vh - 6rem) !important;
            overflow-y: auto !important;
            -webkit-overflow-scrolling: touch !important;
            contain: layout style; /* Prevent layout shifts */
        }
        
        .main-nav .nav-links.active,
        body > .nav-links.active,
        .nav-links.active {
            transform: translateY(0) scale(1) !important;
        }
        
        /* Ensure menu is never cut off */
        body > .nav-links {
            height: auto;
        }
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
        margin-left: 0 !important;
    }
    
    .nav-menu a,
    .nav-links a:not(.book-call-btn) {
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        transition: background 0.2s ease;
        text-align: center !important;
        width: 100%;
        display: block;
        font-weight: 500;
        font-size: 0.95rem;
        line-height: 1.2;
    }
    
    .nav-menu a:hover {
        background: var(--background-light);
    }
    
    .nav-links .book-call-btn {
        width: 100%;
        text-align: center;
        margin-top: 0.375rem;
        display: block;
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    /* Mobile menu backdrop */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 99998; /* Just below nav-links */
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    /* Force center alignment for mobile menu links */
    .nav-links a:not(.book-call-btn),
    .nav-links.active .nav-menu a,
    body > .nav-links .nav-menu a,
    .nav-links .nav-menu a:not(.book-call-btn) {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }
}

/* Urgency Banner */
.urgency-banner {
    background: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.urgency-banner p {
    margin: 0;
}

.urgency-banner a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.urgency-banner a:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    .urgency-banner {
        font-size: 0.8125rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Hero Section */
.hero {
    padding-top: calc(8.75rem + 80px); /* Added banner height */
    padding-bottom: 4rem;
    background: var(--background-light);
    position: relative;
}

/* Removed - Mobile hero styles are defined later in the file */

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

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

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 1.125rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-video {
    width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    background: #f0f0f0;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: white;
    border-radius: 12px; /* Match parent border radius */
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--light-text);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--background-light);
    position: relative;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--background-light);
}

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

.step {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Results Section */
.results {
    padding: 6rem 0;
    background: var(--background-light);
}

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

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.quote {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonials {
    padding: 6rem 0;
    background: white;
}

.testimonials-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.testimonial-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e5c29f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(52, 211, 153, 0.2), rgba(52, 211, 153, 0.4));
}

.testimonial-type {
    position: relative;
    z-index: 10;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.testimonial-content {
    padding: 2rem;
}

.testimonial-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.testimonial-highlight {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgb(52, 211, 153);
    margin-bottom: 1rem;
}

.testimonial-description {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: rgb(52, 211, 153);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.read-more span {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.read-more:hover {
    color: rgb(42, 171, 123);
}

.read-more:hover span {
    transform: translateX(4px);
}

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

@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonials-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .testimonial-image {
        height: 200px;
    }
}

@media (max-width: 380px) {
    .testimonials-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .testimonial-card {
        padding: 0;
    }
    
    .testimonial-image {
        height: 150px;
    }
    
    .testimonial-content {
        padding: 1.25rem;
    }
    
    .testimonial-content h3 {
        font-size: 1.1rem;
    }
    
    .testimonial-description {
        font-size: 0.875rem;
    }
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    margin-bottom: 0;
    background: var(--background-light);
    color: var(--text-color);
    text-align: center;
}

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

.benefits li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.hero-support {
    font-size: 0.975rem;
    color: var(--light-text);
    margin-top: 1.5rem;
    font-weight: 500;
}

.hero .primary-button {
    margin-bottom: 0;
}

.cta-options {
    margin-top: 2rem;
}

.cta-divider {
    margin: 1rem 0;
    color: var(--light-text);
    font-size: 0.9rem;
}

.secondary-cta {
    color: var(--text-color);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.secondary-cta:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.primary-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.primary-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
    background: #e5b584;
}

.primary-button:hover::before {
    transform: translateX(0);
}

.primary-button span {
    position: relative;
    z-index: 1;
}

/* Trust Signals Section */
.trust-signals {
    padding: 3rem 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.trust-badges {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.trust-badge p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .trust-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .trust-badge {
        flex-direction: column;
        text-align: center;
    }
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: var(--background-light);
    text-align: center;
}

.benefits-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.benefits-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--text-color);
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.2s ease;
}

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

.benefit-icon {
    width: 64px;
    height: 64px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--secondary-color);
}

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

.benefit-card p {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .benefits-title,
    .benefits-subtitle {
        font-size: 1.75rem;
        padding: 0 1rem;
        line-height: 1.2;
    }
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--background-light);
}

.faq h2 {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    color: var(--text-color);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    padding: 0 1.5rem;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
}

.faq-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.schedule-box {
    background: var(--secondary-color);
    padding: 3rem 2rem;
    border-radius: 12px;
    color: var(--primary-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
    border: 3px solid var(--secondary-color);
}

.profile-image {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
}

.rounded-profile {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;  
    border: 4px solid var(--primary-color);
}

.schedule-box h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}

.schedule-box h2 {
    font-size: 2.5rem;
    margin: 0.5rem 0 2rem;
    line-height: 1.2;
}

.schedule-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--primary-color);
}

.schedule-button:hover {
    transform: translateY(-2px);
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.not-ready {
    margin-top: 2rem;
    opacity: 0.9;
    font-size: 0.9rem;
}

.submit-question {
    color: var(--primary-color);
    text-decoration: underline;
    opacity: 0.9;
    transition: opacity 0.2s ease;
    font-weight: 500;
}

.submit-question:hover {
    opacity: 1;
}

.faq-content {
    padding-top: 1rem;
}

.faq-content h2 {
    margin-top: 0;
}

@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
    
    .schedule-box {
        margin-bottom: 2rem;
    }
}

/* Pain Points Section */
.pain-points {
    padding: 6rem 0;
    background: #fff;
    text-align: center;
}

@media (max-width: 768px) {
    .pain-points {
        padding: 3rem 0;
    }
    
    .pain-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .pain-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .pain-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 380px) {
    .pain-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .pain-item {
        padding: 1.5rem;
    }
    
    .pain-item h3 {
        font-size: 1.1rem;
    }
    
    .pain-item p {
        font-size: 0.875rem;
    }
}

.pain-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.pain-item {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: left;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pain-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.pain-icon {
    font-size: 2.5rem;
    color: #ef4444;
    margin-bottom: 1rem;
    font-weight: 700;
}

.pain-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.pain-item p {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 1rem;
}

.pain-solution {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 2rem;
}

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

/* CRM Callout Section */
.crm-callout {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f5f9 100%);
    position: relative;
}

.callout-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.callout-label {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.callout-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.callout-subtitle {
    font-size: 1.125rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.callout-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.callout-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.875rem;
}

.callout-features i {
    color: #28a745;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--text-color);
    padding: 1rem 2rem;
    border: 2px solid var(--text-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.secondary-button:hover {
    background: var(--text-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.secondary-button i {
    transition: transform 0.3s ease;
}

.secondary-button:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .crm-callout {
        padding: 2rem 0;
    }
    
    .callout-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
        margin: 0;
    }
    
    .callout-content h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .callout-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .callout-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin: 0 auto;
        max-width: fit-content;
    }
    
    .callout-features span {
        font-size: 0.875rem;
    }
    
    .callout-action {
        text-align: center;
    }
    
    .secondary-button {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Footer */
footer {
    background: var(--background-light);
    color: var(--text-color);
    padding: 4rem 0 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    footer {
        padding: 2.5rem 0 1rem;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        margin-bottom: 1.5rem;
    }
}

.footer-logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: contrast(1.4) brightness(0.6);
}

@media (max-width: 768px) {
    .footer-logo-image {
        height: 60px;
        margin-bottom: 0.5rem;
    }
}

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

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer-links a {
        font-size: 0.9rem;
    }
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.footer-phone i {
    color: var(--secondary-color);
}

.footer-phone a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-phone a:hover {
    color: var(--secondary-color);
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--background-light);
    border-radius: 50%;
    color: var(--text-color);
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    margin-bottom: 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    color: var(--light-text);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-legal {
    font-size: 0.875rem;
}

.footer-legal a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

.footer-legal .separator {
    margin: 0 0.75rem;
    color: var(--light-text);
    opacity: 0.5;
}

/* Footer Ecosystem Section */
.footer-ecosystem {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.ecosystem-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

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

.ecosystem-item {
    text-align: center;
}

.ecosystem-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.ecosystem-item p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.ecosystem-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.ecosystem-item a:hover {
    transform: translateX(3px);
    display: inline-block;
}

@media (max-width: 768px) {
    .footer-ecosystem {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
    
    .ecosystem-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ecosystem-item {
        padding: 0 1rem;
    }
}


/* Grid Background */
.full-page-grid {
    position: fixed;
    min-height: 100vh;
    width: 100vw;
    left: 0;
    top: 0;
    z-index: 1;
    pointer-events: none;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    pointer-events: none;
    overflow: visible;
}

.grid-line {
    position: absolute;
    background: var(--primary-color);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
    transform: scaleY(0.5);
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
    transform: scaleX(0.5);
}

/* Dot Background */
.dot-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
    overflow: hidden;
}

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.5;
}

/* Floating Navigation */
.floating-nav,
.floating-nav-content,
.floating-nav .nav-item,
.floating-nav .login-button,
.floating-nav .button-line {
    display: none;
}

/* Mobile Touch Feedback */
@media (hover: none) and (pointer: coarse) {
    .primary-button:active,
    .book-call-btn:active,
    .testimonial-card:active,
    .nav-menu a:active,
    .faq-question:active {
        transform: scale(0.98);
    }
    
    .primary-button:active {
        box-shadow: 0 5px 10px rgba(26, 26, 26, 0.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    /* Enhanced Hero Mobile Styles */
    .hero {
        padding-top: 20px !important; /* Minimal padding for tighter layout */
        padding-bottom: 1.5rem;
    }
    
    .hero .container {
        padding: 0 1rem; /* Keep minimal padding */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1rem; /* Minimal gap between elements */
        padding: 0;
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center; /* Center all content */
        width: 100%;
    }
    
    .hero-text {
        text-align: center;
        order: 2; /* Move text below video on mobile */
        padding: 0;
        width: 100%;
        max-width: 600px; /* Limit text width for better readability */
    }
    
    .hero-video {
        order: 1; /* Video first on mobile */
        margin: 0 -1rem; /* Negative margin to extend beyond container padding */
        padding: 0 1rem; /* Add padding back to maintain proper spacing */
        width: calc(100% + 2rem); /* Compensate for negative margins */
        display: flex;
        justify-content: center;
        align-items: center; /* Also center vertically if needed */
    }
    
    .hero h1 {
        font-size: 1.75rem; /* Better mobile size */
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem; /* Add some padding for readability */
    }
    
    .hero .primary-button {
        display: inline-block;
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: auto;
        max-width: 100%;
        margin: 0 auto; /* Center the button */
    }
    
    .hero-support {
        font-size: 0.875rem;
        margin-top: 1rem;
        padding: 0 0.5rem;
        line-height: 1.4;
    }
    
    .video-wrapper {
        padding-bottom: 56.25%; /* Maintain 16:9 ratio on mobile */
        border-radius: 8px; /* Slightly smaller radius on mobile */
        box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* Softer shadow */
        width: 100%; /* Full width of container */
        max-width: 600px; /* Limit max width for better viewing */
        margin: 0 auto; /* Center the video */
        position: relative;
    }
    
    .video-wrapper iframe {
        border-radius: 8px; /* Match mobile border radius */
    }
    
    /* Enhanced stats mobile layout */
    .stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
        margin: 1rem 0;
        padding: 0;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 0.5rem); /* Two columns on mobile */
        text-align: center;
        padding: 1rem 0.5rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .stat-item h3 {
        font-size: 1.75rem; /* Smaller on mobile */
        margin-bottom: 0.25rem;
    }
    
    .stat-item p {
        font-size: 0.875rem;
        line-height: 1.3;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-contact {
        align-items: center;
        margin-top: 1rem;
    }
    
    .footer-phone {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Small mobile devices (480px and below) */
@media (max-width: 480px) {
    .hero {
        padding-top: 15px !important; /* Minimal padding for compact mobile view */
        padding-bottom: 1rem;
    }
    
    .nav-links,
    body > .nav-links,
    .main-nav .nav-links {
        width: calc(100% - 1rem) !important; /* Smaller margins on very small screens */
        max-width: calc(100vw - 1rem) !important; /* Ensure it never exceeds viewport */
    }
    
    .logo-standalone .logo-image {
        height: 140px; /* Keep large logo even on small screens */
    }
    
    header {
        min-height: auto; /* Let content determine height */
    }
    
    .hero h1 {
        font-size: 1.5rem; /* Even smaller for tiny screens */
        padding: 0 0.5rem;
    }
    
    .hero .subtitle {
        font-size: 0.9375rem;
        padding: 0;
    }
    
    .hero .primary-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
        width: 90%; /* Nearly full width on very small screens */
    }
    
    .stats {
        gap: 0.75rem;
    }
    
    .stat-item {
        flex: 0 0 100%; /* Single column on very small screens */
        padding: 0.875rem 0.5rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .stat-item p {
        font-size: 0.8125rem;
    }
    
    .video-wrapper {
        border-radius: 6px;
        width: 100%; /* Full width */
        margin: 0 auto; /* Center the video */
        max-width: 100%; /* Ensure it doesn't exceed container */
    }
    
    .video-wrapper iframe {
        border-radius: 6px; /* Match small mobile border radius */
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding-top: 10px !important; /* Minimal padding in landscape */
    }
    
    .logo-standalone .logo-image {
        height: 120px; /* Slightly smaller in landscape but still prominent */
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr; /* Side by side in landscape */
        gap: 2rem;
    }
    
    .hero-text {
        order: 1; /* Normal order in landscape */
        text-align: left;
    }
    
    .hero-video {
        order: 2;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
    }
    
    .stats {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .stat-item {
        flex: 0 0 auto;
        padding: 0.5rem;
        background: transparent;
        box-shadow: none;
    }
    
    .video-wrapper {
        margin: 0 auto; /* Ensure video is centered in landscape too */
        width: 100%;
    }
}

/* Highlight Styles */
.highlight {
    background: linear-gradient(120deg, rgba(43, 75, 64, 0.15) 0%, rgba(43, 75, 64, 0.15) 100%);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Logo Scroll */
.logo-scroll {
    overflow: hidden;
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.logo-scroll::before,
.logo-scroll::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}

.logo-scroll::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.logo-scroll::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

.logo-scroll-track {
    display: flex;
    animation: scroll 40s linear infinite;
    width: calc(300px * 12); /* 6 logos x 2 for seamless loop */
}

.logo-slide {
    width: 300px;
    flex-shrink: 0;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-slide img {
    max-width: 280px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-slide img:hover {
    transform: scale(1.08);
}

/* Specific adjustments for text-based logos */
.logo-slide img[alt="LTD Builders"],
.logo-slide img[alt="Cole Stanley Builders"] {
    max-width: 320px;
    max-height: 160px;
}

/* Darken light text logos for better visibility */
.logo-slide img[alt="LTD Builders"],
.logo-slide img[alt="Cole Stanley Builders"],
.logo-slide img[alt="Basin GM"] {
    filter: brightness(0.6) contrast(1.4);
}

.logo-slide img[alt="LTD Builders"]:hover,
.logo-slide img[alt="Cole Stanley Builders"]:hover,
.logo-slide img[alt="Basin GM"]:hover {
    filter: brightness(0.5) contrast(1.5);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 6)); /* Half of total width */
    }
}

/* Logo Scroll Mobile Responsive */
@media (max-width: 768px) {
    .logo-scroll {
        padding: 40px 0;
    }
    
    .logo-scroll-track {
        animation-duration: 30s; /* Slower on mobile */
    }
    
    .logo-slide {
        width: 200px;
        padding: 0 20px;
    }
    
    .logo-slide img {
        max-width: 160px;
        max-height: 80px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 6)); /* Adjusted for mobile width */
        }
    }
}

/* Case Study Styles */
.case-study-hero {
    background: linear-gradient(135deg, #FFD60A 0%, #FFB90A 100%);
    color: var(--text-primary);
    padding: 4rem 0;
    text-align: center;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--text-primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.case-study-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.case-study-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.case-study-content {
    padding: 4rem 0;
}

.case-study-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.overview-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

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

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

.overview-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.overview-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

.case-study-story h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.case-study-story h3 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.case-study-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.case-study-story ol,
.case-study-story ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.case-study-story li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

blockquote {
    background: var(--background-light);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--text-secondary);
}

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

.metric {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.metric h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.case-study-cta {
    background: var(--background-light);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 4rem;
}

.case-study-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.case-study-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

/* Comparison Section */
.comparison {
    padding: 6rem 2rem;
    background: var(--background-light);
    overflow-x: hidden;
}

.comparison-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    line-height: 1.2;
}

.comparison-grid {
    background: white;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin: 2rem auto 0;
    max-width: 1200px;
    width: 100%;
    position: relative;
}

.comparison-header {
    display: grid;
    grid-template-columns: 200px minmax(200px, 1fr) minmax(200px, 1fr) minmax(200px, 1fr);
    background: var(--background-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px 12px 0 0;
    overflow: visible;
}

.comparison-header .comparison-cell {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: visible;
}

.comparison-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.recommended {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.comparison-row {
    display: grid;
    grid-template-columns: 200px minmax(200px, 1fr) minmax(200px, 1fr) minmax(200px, 1fr);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.comparison-row:hover {
    background: rgba(0, 0, 0, 0.01);
}

.comparison-row:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.comparison-label {
    padding: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    background: var(--background-light);
}

.comparison-cell {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
    position: relative;
}

.comparison-cell:hover {
    transform: scale(1.01);
}

.comparison-cell.highlighted {
    background: rgba(212, 165, 116, 0.04);
    position: relative;
}

.comparison-cell.highlighted::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-color);
    opacity: 0.5;
}

.recommended-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    letter-spacing: 0.05em;
    opacity: 0.9;
    z-index: 10;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.comparison-cell.highlighted .price {
    color: var(--text-color);
    font-weight: 700;
}

.detail {
    font-size: 0.875rem;
    color: var(--light-text);
}

.check-icon, .cross-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
}

.check-icon {
    opacity: 0.9;
}

.cross-icon {
    opacity: 0.9;
}

@keyframes checkBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes crossShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.cta-row {
    background: var(--background-light);
    border-bottom: none !important;
}

.cta-row:hover {
    background: var(--background-light);
    box-shadow: none;
}

.comparison-cta {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.comparison-cta.primary {
    background: var(--secondary-color);
    color: var(--white);
    opacity: 0.95;
}

.comparison-cta.primary:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.comparison-cta.secondary {
    background: transparent;
    color: var(--light-text);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.comparison-cta.secondary:hover {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-color);
}

/* Hide mobile-only CTAs on desktop */
.comparison-cta.mobile-only {
    display: none;
}

/* Tablet styles */
@media (max-width: 1024px) {
    .comparison-grid {
        margin: 0 2rem;
    }
    
    .comparison-cell {
        padding: 1.25rem 1rem;
    }
    
    .comparison-label {
        padding: 1.25rem 1rem;
        font-size: 0.9rem;
    }
    
    .price {
        font-size: 1.3rem;
    }
}

/* Intermediate breakpoint for better table handling */
@media (max-width: 900px) {
    .comparison-header,
    .comparison-row {
        grid-template-columns: 180px 1fr 1fr 1fr;
    }
    
    .comparison-cell {
        padding: 1rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .comparison-label {
        padding: 1rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Tablet to mobile transition - Horizontal scroll */
@media (max-width: 768px) and (min-width: 601px) {
    .comparison {
        padding: 3rem 1rem;
    }
    
    .comparison-title {
        font-size: 1.75rem;
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .comparison-grid {
        margin: 0;
        font-size: 0.875rem;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-top: 1rem; /* Space for badge */
    }
    
    .comparison-header,
    .comparison-row {
        min-width: 700px;
        grid-template-columns: 160px minmax(180px, 1fr) minmax(180px, 1fr) minmax(180px, 1fr);
    }

    .comparison-header h3 {
        font-size: 0.875rem;
    }

    .comparison-cell {
        padding: 1rem 0.75rem;
        position: relative;
    }
    
    .comparison-header .comparison-cell {
        padding-top: 1.5rem; /* Extra space for badge */
    }
    
    .comparison-label {
        padding: 1rem;
        font-size: 0.875rem;
    }

    .price {
        font-size: 1.1rem;
    }
    
    .detail {
        font-size: 0.75rem;
    }
    
    .check-icon, .cross-icon {
        width: 28px;
        height: 28px;
    }
    
    .recommended-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
        position: absolute;
        top: -0.8rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }
    
    .comparison-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    /* Add scroll indicator */
    .comparison::after {
        content: "Swipe to see more →";
        display: block;
        text-align: center;
        color: var(--light-text);
        font-size: 0.8rem;
        margin-top: 1rem;
        opacity: 0.6;
        animation: swipeHint 2s ease-in-out infinite;
    }
}

@keyframes swipeHint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Mobile card layout - switch earlier for better UX */
@media (max-width: 600px) {
    .comparison {
        padding: 3rem 1rem;
    }
    
    .comparison-title {
        text-align: center;
        margin-top: 2rem;
        padding: 0;
    }
    
    .comparison-grid {
        display: block !important;
        overflow: visible !important;
        box-shadow: none !important;
        background: transparent !important;
        margin: 2rem 0 0;
        padding: 0;
    }
    
    .comparison-header {
        display: none !important;
    }
    
    .comparison-row {
        display: block !important;
        margin-bottom: 1rem;
        min-width: 100%;
    }
    
    .comparison-row:last-child {
        margin-bottom: 0;
    }
    
    .comparison-label {
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--text-color);
        margin-bottom: 1rem;
        margin-top: 1.5rem;
        text-align: left;
        padding: 0;
        display: block;
    }
    
    .comparison-row:first-child .comparison-label {
        margin-top: 0;
    }
    
    .comparison-row .comparison-cell {
        background: white;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        margin-bottom: 1rem;
        min-height: auto;
        position: relative;
        display: block;
    }
    
    .comparison-row .comparison-cell:last-child {
        margin-bottom: 0;
    }
    
    .comparison-cell::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--light-text);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    
    .comparison-cell.highlighted {
        background: white;
        border: 2px solid var(--secondary-color);
        box-shadow: 0 4px 16px rgba(212, 165, 116, 0.15);
        padding: calc(1.5rem - 2px); /* Compensate for border */
    }
    
    /* Fix icon and text layout on mobile */
    .comparison-cell .price {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .comparison-cell .detail {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .comparison-cell .check-icon,
    .comparison-cell .cross-icon {
        display: inline-block;
        vertical-align: middle;
        margin-right: 0.5rem;
    }
    
    .cta-row {
        display: none !important;
    }
    
    /* Show mobile-only CTAs in card layout */
    .comparison-cta.mobile-only {
        display: inline-block;
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
    
    /* Hide the swipe hint on card layout */
    .comparison::after {
        display: none;
    }
    
    /* Hide recommended badge on mobile */
    .recommended-badge {
        display: none;
    }
}

@media (max-width: 380px) {
    .comparison-cell {
        padding: 1rem;
        margin-bottom: 0.75rem;
        border-radius: 8px;
    }
    
    .comparison-cell h3 {
        font-size: 1rem;
    }
    
    .price {
        font-size: 1.25rem;
    }
    
    .detail {
        font-size: 0.75rem;
    }
    
    .comparison-cta {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .cta-row .comparison-cell {
        margin-bottom: 0.75rem;
    }
    
    .cta-row .comparison-cell:last-child {
        margin-bottom: 0;
    }
    
    .comparison-cta {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.875rem;
    }
    
    .recommended-badge {
        position: absolute;
        top: -0.5rem;
        right: -0.5rem;
    }
    
    .comparison::after {
        display: none;
    }
}

/* Why Companies Hire Us Section */
.why-hire-us {
    padding: 6rem 0;
    background: var(--background-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgb(52, 211, 153, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: rgb(52, 211, 153);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 1rem;
}

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

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

    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .section-title {
        font-size: 1.5rem;
        padding: 0 1rem;
        line-height: 1.2;
        margin-bottom: 2rem;
    }
}

/* Companies We Serve Section */
.companies-we-serve {
    padding: 6rem 0;
    background: white;
}

.company-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    line-height: 1;
}

.company-tags .tag {
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: default;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

/* Extra small pills - lowest priority services */
.company-tags .tag:nth-child(11), /* Patio Covers */
.company-tags .tag:nth-child(17), /* Pool Decking */
.company-tags .tag:nth-child(35), /* Window Cleaning */
.company-tags .tag:nth-child(53), /* Auto Detailing */
.company-tags .tag:nth-child(55), /* Dog Walking */
.company-tags .tag:nth-child(56) { /* Pooper Scooper */
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Small pills - less priority services */
.company-tags .tag:nth-child(4),  /* Decorative Concrete */
.company-tags .tag:nth-child(13), /* Cabinet Refinishing */
.company-tags .tag:nth-child(15), /* Stucco & Siding */
.company-tags .tag:nth-child(24), /* Pest Control */
.company-tags .tag:nth-child(33), /* Carpet Cleaning */
.company-tags .tag:nth-child(34), /* Junk Removal */
.company-tags .tag:nth-child(40), /* Demolition Contractor */
.company-tags .tag:nth-child(48), /* Janitorial Services */
.company-tags .tag:nth-child(50), /* Chimney Sweep Services */
.company-tags .tag:nth-child(51), /* Cleaning */
.company-tags .tag:nth-child(54) { /* Snow Removal */
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Medium-small pills - slight variation */
.company-tags .tag:nth-child(3),  /* Concrete Driveways */
.company-tags .tag:nth-child(18), /* Outdoor Kitchens */
.company-tags .tag:nth-child(25), /* Pressure Washing */
.company-tags .tag:nth-child(36), /* Flooring */
.company-tags .tag:nth-child(37), /* Drywall */
.company-tags .tag:nth-child(38), /* Tiling */
.company-tags .tag:nth-child(43), /* Pool & Spa Services */
.company-tags .tag:nth-child(45), /* Property Maintenance */
.company-tags .tag:nth-child(52) { /* Carpentry */
    padding: 0.8rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Medium pills - standard services use default styling:
   Custom Decks, Custom Builders, Lawn Care, Tree Care, Garage Door Services,
   Fence Services, Appliance Repair, Excavation, Paving, Restoration,
   Installation Services, Irrigation Services, Locksmith Services */

/* Large pills - priority services (more subtle) */
.company-tags .tag:nth-child(1),  /* Interior Painting */
.company-tags .tag:nth-child(5),  /* Artificial Turf */
.company-tags .tag:nth-child(9),  /* Home Additions */
.company-tags .tag:nth-child(14), /* Epoxy Flooring */
.company-tags .tag:nth-child(28), /* Handyman */
.company-tags .tag:nth-child(39) { /* General Contracting */
    padding: 0.95rem 1.9rem;
    font-size: 1.05rem;
    font-weight: 600;
}

/* Extra large pills - high-value services (more subtle) */
.company-tags .tag:nth-child(2),  /* Exterior Painting */
.company-tags .tag:nth-child(6),  /* Hardscaping */
.company-tags .tag:nth-child(7),  /* Kitchen Remodeling */
.company-tags .tag:nth-child(8),  /* Bath Remodeling */
.company-tags .tag:nth-child(12), /* Full Renovations */
.company-tags .tag:nth-child(19), /* HVAC */
.company-tags .tag:nth-child(20), /* Plumbing */
.company-tags .tag:nth-child(21), /* Electrical Contracting */
.company-tags .tag:nth-child(22), /* Roofing */
.company-tags .tag:nth-child(23) { /* Pest Control - moved to high value */
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Mobile responsiveness for service pills */
@media (max-width: 768px) {
    .company-tags {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Make all pills more touch-friendly on mobile */
    .company-tags .tag {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px; /* iOS touch target minimum */
    }
    
    /* Adjust extra small pills for mobile */
    .company-tags .tag:nth-child(11),
    .company-tags .tag:nth-child(17),
    .company-tags .tag:nth-child(35),
    .company-tags .tag:nth-child(53),
    .company-tags .tag:nth-child(55),
    .company-tags .tag:nth-child(56) {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    /* Adjust small pills for mobile */
    .company-tags .tag:nth-child(4),
    .company-tags .tag:nth-child(13),
    .company-tags .tag:nth-child(15),
    .company-tags .tag:nth-child(24),
    .company-tags .tag:nth-child(33),
    .company-tags .tag:nth-child(34),
    .company-tags .tag:nth-child(40),
    .company-tags .tag:nth-child(48),
    .company-tags .tag:nth-child(50),
    .company-tags .tag:nth-child(51),
    .company-tags .tag:nth-child(54) {
        padding: 0.65rem 1.3rem;
        font-size: 0.85rem;
    }
    
    /* Adjust large pills for mobile */
    .company-tags .tag:nth-child(1),
    .company-tags .tag:nth-child(5),
    .company-tags .tag:nth-child(9),
    .company-tags .tag:nth-child(14),
    .company-tags .tag:nth-child(28),
    .company-tags .tag:nth-child(39) {
        padding: 0.8rem 1.6rem;
        font-size: 0.95rem;
    }
    
    /* Adjust extra large pills for mobile */
    .company-tags .tag:nth-child(2),
    .company-tags .tag:nth-child(6),
    .company-tags .tag:nth-child(7),
    .company-tags .tag:nth-child(8),
    .company-tags .tag:nth-child(12),
    .company-tags .tag:nth-child(19),
    .company-tags .tag:nth-child(20),
    .company-tags .tag:nth-child(21),
    .company-tags .tag:nth-child(22),
    .company-tags .tag:nth-child(23) {
        padding: 0.85rem 1.7rem;
        font-size: 1rem;
    }
}

.company-tags .tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: currentColor;
}

/* Extra large pills hover effect */
.company-tags .tag:nth-child(8):hover,
.company-tags .tag:nth-child(12):hover,
.company-tags .tag:nth-child(18):hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.tag.blue {
    background: rgba(59, 130, 246, 0.1);
    color: rgb(37, 99, 235);
}

.tag.purple {
    background: rgba(168, 85, 247, 0.1);
    color: rgb(126, 34, 206);
}

.tag.green {
    background: rgba(52, 211, 153, 0.1);
    color: rgb(16, 185, 129);
}

.tag.yellow {
    background: rgba(251, 191, 36, 0.1);
    color: rgb(217, 119, 6);
}

.tag.pink {
    background: rgba(236, 72, 153, 0.1);
    color: rgb(219, 39, 119);
}

@media (max-width: 768px) {
    .company-tags {
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .company-tags .tag {
        font-size: 0.875rem;
        padding: 0.625rem 1.125rem;
    }
    
    /* Maintain emphasis on key services */
    .company-tags .tag:nth-child(3),
    .company-tags .tag:nth-child(7),
    .company-tags .tag:nth-child(9),
    .company-tags .tag:nth-child(12),
    .company-tags .tag:nth-child(16) {
        padding: 0.75rem 1.375rem;
        font-size: 0.95rem;
    }
    
    .company-tags .tag:hover {
        transform: translateY(-2px) scale(1.03);
    }
}

@media (max-width: 480px) {
    .company-tags {
        gap: 0.4rem;
        padding: 0 0.75rem;
    }
    
    .company-tags .tag {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    /* Subtle emphasis maintained on mobile */
    .company-tags .tag:nth-child(3),
    .company-tags .tag:nth-child(7),
    .company-tags .tag:nth-child(9),
    .company-tags .tag:nth-child(12),
    .company-tags .tag:nth-child(16) {
        padding: 0.625rem 1.125rem;
        font-size: 0.875rem;
    }
}

/* Community-First Section */
.community-first {
    padding: 8rem 0;
    background: linear-gradient(to bottom right, #f8fafc, #f1f5f9);
}

.content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 4rem 0;
    text-align: left;
}

.text-column h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.text-column p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.7;
}

.cta-container {
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    transform: translateY(-2px);
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.2);
}

@media (max-width: 768px) {
    .content-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 0;
    }

    .community-first {
        padding: 4rem 0;
    }

    .text-column h3 {
        font-size: 1.25rem;
    }

    .text-column p {
        font-size: 1rem;
    }
}

/* Form Validation Styles */
.form-group {
    position: relative;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

input.error,
select.error,
textarea.error {
    border-color: #ef4444;
}

.success-message {
    background: #d4f4dd;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
}

.success-message h3 {
    color: #059669;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #047857;
}

@media (max-width: 768px) {
    .logo-standalone {
        display: flex;
        justify-content: center;
    }
}

/* Extra small mobile styles */
@media (max-width: 400px) {
    .callout-content {
        padding: 1rem;
    }
    
    .callout-content h2 {
        font-size: 1.25rem;
    }
    
    .callout-subtitle {
        font-size: 0.85rem;
    }
    
    .callout-features span {
        font-size: 0.8rem;
    }
    
    .secondary-button {
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
    }
}


/* Chat Modal Styles */
.chat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.chat-modal-content {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.chat-modal.active .chat-modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.05);
}

.chat-modal h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.chat-subtitle {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.chat-option {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: white;
}

.chat-option:hover {
    border-color: var(--secondary-color);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.2);
}

.chat-option i {
    font-size: 2rem;
    width: 50px;
    text-align: center;
    margin-right: 1rem;
}

.instagram-option i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sms-option i {
    color: #0084ff;
}

.whatsapp-option i {
    color: #25d366;
}

.chat-option-content {
    flex: 1;
}

.chat-option-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.chat-option-content p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.chat-arrow {
    font-size: 1.5rem;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.chat-option:hover .chat-arrow {
    transform: translateX(4px);
    color: var(--secondary-color);
}

.trust-indicator {
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.trust-indicator i {
    color: var(--secondary-color);
}

/* Mobile Chat Modal Styles */
@media (max-width: 768px) {
    .chat-modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
        margin: 1rem;
    }
    
    .chat-modal h2 {
        font-size: 1.75rem;
    }
    
    .chat-subtitle {
        font-size: 1rem;
    }
    
    .chat-option {
        padding: 1rem;
    }
    
    .chat-option i {
        font-size: 1.75rem;
        width: 40px;
    }
}

/* Update button hover for chat bubble effect */
.lets-chat-btn {
    position: relative;
    overflow: hidden;
}

.lets-chat-btn::before {
    content: '💬';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.lets-chat-btn:hover::before {
    left: 15px;
    opacity: 1;
}

.lets-chat-btn:hover {
    padding-left: 3rem;
}


/* Response Time Indicator */
.response-time {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

.response-time i {
    font-size: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .response-time {
        font-size: 0.85rem;
    }
}


/* Chat Bubble Styles */
.chat-bubble {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 9998;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

.chat-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
    background: #c19660;
}

.chat-bubble i {
    font-size: 1.25rem;
    animation: bounce 2s infinite;
}

.chat-bubble-text {
    white-space: nowrap;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Pulse animation for attention */
.chat-bubble::before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .chat-bubble {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .chat-bubble i {
        font-size: 1.125rem;
    }
    
    /* On mobile, hide text to save space */
    .chat-bubble-text {
        display: none;
    }
    
    .chat-bubble {
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

/* Hide chat bubble when modal is open */
.chat-modal.active ~ .chat-bubble {
    opacity: 0;
    pointer-events: none;
}
