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

/* Global Styles & Dark Theme */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Teal gradient overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        url('../media/bg-mesh.jpg');
    /* Added mesh texture */
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    /* Blend texture with the gradient */
    opacity: 0.4;
    /* Subtle texture */
    pointer-events: none;
    z-index: 0;
}

/* Interactive Background Grid */
canvas {
    position: fixed;
    inset: 0;
    display: block;
    background: transparent;
    z-index: 0;
    pointer-events: none;
}

/* Content Wrapper */
.content {
    position: relative;
    z-index: 1;
}

/* Navigation */
/* Navigation */
/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.6);
    /* See-through black pane */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

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

.nav-logo {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 0;
    /* Removed gap as they are in a container */
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px;
    border-radius: 12px;
    /* Slightly rounded container */
}

.nav-item {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 8px 24px;
    border-radius: 8px;
}

.nav-item:hover {
    color: #fff;
}

/* Active state (Home) - Glowing White */
.nav-item.active {
    background: transparent;
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4) !important;
    box-shadow: none;
    font-weight: 400;
}

/* Contact Link */
.nav-item[href="#contact"] {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
}

.nav-item[href="#contact"]:hover {
    background: transparent;
    color: #fff;
    transform: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 15px;
    z-index: 101;
    margin-right: -15px;
    /* Compensate for extra padding to keep alignment */
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger:hover span {
    background: #ffffff;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* Service Page Container - Slide functionality target */
.service-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px 120px 80px;
    display: none;
    /* Hidden by default */
    min-height: calc(100vh - 100px);
    /* Ensure minimum height for content */
}

.service-page.active {
    display: block;
    /* Shown when active */
}

/* Slide Navigation Controls (Fixed Bottom) */
.slide-nav-container {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(10, 20, 16, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 50px;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.slide-arrow {
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.4);
    color: #5EEAD4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2em;
}

.slide-arrow:hover {
    background: rgba(20, 184, 166, 0.3);
    border-color: #14b8a6;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}

.slide-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    color: rgba(255, 255, 255, 0.4);
}

.slide-arrow:disabled:hover {
    transform: scale(1);
    box-shadow: none;
    background: rgba(20, 184, 166, 0.15);
}

.slide-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    /* REQUIRED for tooltip positioning */
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.slide-dot.active {
    background: #ffffff;
    border-color: #ffffff;
    width: 32px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* --- Tooltip Styles for Dot Hover --- */
.slide-dot::after {
    content: attr(data-title);
    /* Pulls text from the data-title attribute */
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    white-space: nowrap;
    background: #ffffff;
    /* White color */
    color: #000000;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.8em;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 201;
    /* Ensure it's above the navigation bar */
}

.slide-dot:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* ------------------------------------ */


.slide-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    font-weight: 300;
    min-width: 60px;
    text-align: center;
}

/* Hero Section (Top of each page) */
.hero {
    padding: 120px 0 140px 0;
    text-align: left;
    border-bottom: 1px solid rgba(20, 184, 166, 0.15);
    margin-bottom: 100px;
    position: relative;
}

.hero h1 {
    font-size: 5em;
    font-weight: 200;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1.1;
}

}

.section-title {
    font-size: 3.2em;
    font-weight: 200;
    margin-bottom: 60px;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.overview-text {
    font-size: 1.4em;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    font-weight: 300;
}

/* Service Page Specific Spacing */
.service-page .section {
    margin-bottom: 80px;
}

.service-page .section-title {
    margin-bottom: 40px;
    margin-top: 20px;
}

.service-page .overview-text:last-of-type {
    margin-bottom: 50px;
}

.service-page .process-steps,
.service-page .engagement-models {
    margin-top: 40px;
}


/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

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

/* Cards (Standard) */
.card {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.card:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    border-color: rgba(20, 184, 166, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(20, 184, 166, 0.2);
}

.card h3 {
    font-size: 1.3em;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 12px;
}

.card p,
.card li {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95em;
}

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

.card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #14b8a6;
}

/* Problem Grid Items (Red/Error style) */
.problem-item {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.03) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95em;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.problem-item:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(0, 0, 0, 0.6) 100%);
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.15);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.process-step {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.03) 0%, rgba(0, 0, 0, 0.6) 100%);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:hover::before {
    opacity: 1;
}

.process-step:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(0, 0, 0, 0.7) 100%);
    border-color: rgba(20, 184, 166, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(20, 184, 166, 0.2);
}

.step-number {
    font-size: 3em;
    font-weight: 100;
    color: rgba(20, 184, 166, 0.5);
    margin-bottom: 16px;
    line-height: 1;
}

.step-title {
    font-size: 1.15em;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-description {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95em;
    line-height: 1.6;
}

/* Engagement Models */
.engagement-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.engagement-card {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.04) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-radius: 20px;
    padding: 44px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.engagement-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.engagement-card:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 0 16px 50px rgba(20, 184, 166, 0.25);
    transform: translateY(-4px);
}

.engagement-card h3 {
    font-size: 1.6em;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.engagement-card p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    font-size: 1.05em;
}

/* CTA Section */
.cta-section {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 24px;
    padding: 80px 60px;
    text-align: center;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-section canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-section h2 {
    font-size: 2.8em;
    font-weight: 200;
    margin-bottom: 40px;
    color: #ffffff;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #000000;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.cta-arrow {
    font-size: 1.3em;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

/* Overview Text */
.overview-text {
    font-size: 1.15em;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 1200px) {
    .service-page {
        padding: 0 40px 80px 40px;
    }

    .nav {
        padding: 20px 40px;
    }

    .hero h1 {
        font-size: 3.5em;
        /* Adjusted slightly from original to fit better */
    }

    .hero p {
        font-size: 1.2em;
    }

    .section-title {
        font-size: 2.5em;
        /* Adjusted slightly from original to fit better */
    }
}

@media (max-width: 768px) {
    .service-page {
        padding: 0 20px 60px 20px;
    }

    .nav {
        padding: 20px;
    }

    /* Show hamburger menu on mobile */
    .hamburger {
        display: flex;
    }

    /* Mobile menu overlay */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 40px 20px;
        border: none;
        border-left: 1px solid rgba(20, 184, 166, 0.3);
        transition: right 0.3s ease;
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-item {
        font-size: 1.1rem;
        padding: 12px 24px;
    }

    .hero {
        padding: 140px 0 60px 0;
        /* Increased top padding to prevent nav overlap */
        margin-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.2em;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.05em;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .slide-nav-container {
        bottom: 20px;
        padding: 15px 25px;
        gap: 20px;
    }

    .slide-arrow {
        width: 40px;
        height: 40px;
    }

    .slide-counter {
        font-size: 0.85em;
        min-width: 50px;
    }

}

/* =========================================
   HOMEPAGE STYLES - MATCHING WIX DESIGN
   ========================================= */

.home-hero {
    height: 80vh !important;
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Hero Canvas */
#hero-fx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: auto;
}

/* Mesh Background - Full Width */
.hero-mesh-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 1) 50%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 1) 50%);
}

.hero-mesh-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../media/hero image copy.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.95;
    z-index: 1;
}

/* Accent Line Removed */
.hero-accent-line {
    display: none;
}

/* Title Container - overlapping the mesh */
.hero-title-container {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.hero-title-container h1 {
    font-size: 7.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
    color: #fff;
    letter-spacing: -3px;
}

/* Bottom Right - Tagline and CTA */
.hero-bottom-right {
    position: absolute;
    bottom: 12%;
    right: 8%;
    z-index: 3;
    text-align: right;
}

.hero-tagline {
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.hero-cta-button {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.hero-cta-button:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
}

/* Services Cards Section */
.services-cards-section {
    padding: 80px 5% 100px;
    background: linear-gradient(180deg, #000 0%, #050a0f 50%, #000 100%);
    position: relative;
}

/* Add subtle overlay for extra depth */
.services-cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-card {
    position: relative;
    background: rgba(20, 184, 166, 0.05);
    border: 1.5px solid rgba(20, 184, 166, 0.3);
    border-radius: 20px;
    padding: 40px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.6s ease;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(20, 184, 166, 0.15),
        inset 0 0 30px rgba(20, 184, 166, 0.03);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../media/bg-mesh.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.08;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    background: #000000;
    border-color: rgba(20, 184, 166, 0.6);
    transform: translateY(-5px);
    box-shadow:
        0 0 40px rgba(20, 184, 166, 0.4),
        0 0 60px rgba(20, 184, 166, 0.2),
        inset 0 0 40px rgba(20, 184, 166, 0.05),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 0.05;
}

/* Card with interactive canvas (Card 2) */
.card-with-canvas {
    background: rgba(0, 0, 0, 0.8);
}

.card-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: auto;
}

/* Card with background image (Card 1) */
.card-with-bg-image::before {
    background: url('../media/glass-pane.png') no-repeat center center;
    background-size: cover;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.card-with-bg-image:hover::before {
    opacity: 0;
}

.card-with-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(20, 30, 35, 0.85) 0%,
            rgba(10, 20, 25, 0.9) 50%,
            rgba(5, 15, 20, 0.95) 100%);
    z-index: 0;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.card-with-bg-image:hover {
    background: #000000;
}

.card-with-bg-image:hover::after {
    opacity: 0;
}

/* Card with mesh background (Card 4) */
.card-with-mesh {
    transition: background 0.6s ease-out;
}

.card-with-mesh::before {
    opacity: 0.25;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Unique Backgrounds */
.card-bg-1::before {
    background-image: url('../media/mesh-panel_edited_edited (1).jpg');
}

.card-bg-3::before {
    background-image: url('../media/mesh-hero-cglass-pane (2).jpg');
    opacity: 0.2;
}

.card-bg-4::before {
    background-image: url('../media/hero image.jpg');
}

.card-with-mesh:hover {
    background: #000000;
}

.card-with-mesh:hover::before {
    opacity: 0.15;
}

/* Card Visual Container */
.card-visual {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    z-index: 1;
    opacity: 0.6;
    transition: all 0.6s ease-out;
}

.service-card:hover .card-visual {
    opacity: 0.9;
    transform: scale(1.05);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) saturate(1.2);
}

.card-number {
    font-size: 4rem;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: color 0.6s ease, text-shadow 0.6s ease;
}

.service-card:hover .card-number,
.service-card.active .card-number {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.card-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 15px;
}

.card-content p {
    font-size: 1.29rem;
    color: #a0aec0;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.service-card:hover .card-content p {
    color: #ffffff;
}



/* Services Overview Section */
.services-overview-section {
    padding: 100px 5%;
    background: #000;
    position: relative;
    overflow: hidden;
}

/* Services Canvas */
#services-fx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.services-overview-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 300;
    color: #fff;
    position: relative;
    z-index: 1;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 1;
}

.service-list-item {
    display: flex;
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
    margin-bottom: 8px;
    background: rgba(20, 184, 166, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-list-item:hover {
    background: rgba(20, 184, 166, 0.08);
    padding-left: 50px;
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow:
        0 0 20px rgba(20, 184, 166, 0.2),
        inset 0 0 20px rgba(20, 184, 166, 0.05);
    transform: translateX(5px);
}

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

.service-number {
    font-size: 3rem;
    font-weight: 300;
    width: 120px;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: #fff;
}

.service-info p {
    font-size: 1.25rem;
    color: #a0aec0;
    max-width: 700px;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title-container h1 {
        font-size: 4.5rem;
    }

    .hero-mesh-bg {
        width: 60%;
    }

    .hero-accent-line {
        left: 40%;
    }

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

@media (max-width: 768px) {
    .home-hero {
        height: 85vh !important;
        min-height: 85vh;
    }

    .hero-mesh-bg {
        width: 100%;
        opacity: 0.6;
    }

    .hero-accent-line {
        display: none;
    }

    .hero-title-container {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        padding: 180px 5% 50px;
        text-align: left;
    }

    .hero-title-container h1 {
        font-size: 3rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    .hero-bottom-right {
        position: relative;
        bottom: auto;
        right: auto;
        padding: 50px 5% 80px;
        text-align: center;
    }

    .hero-tagline {
        font-size: 0.95rem;
        text-align: left;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }

    .service-card {
        padding: 30px;
        min-height: 250px;
    }

    .card-number {
        font-size: 3rem;
    }

    .service-list-item {
        flex-direction: column;
        gap: 15px;
    }

    .service-number {
        width: auto;
    }

    .services-overview-section h2 {
        font-size: 2rem;
    }
}

/* --- Service Page Overrides (Migrated from services-2.html) --- */

/* Cards - Match Homepage Style */
.card {
    background: rgba(5, 25, 30, 0.85);
    border: 1.5px solid rgba(20, 184, 166, 0.4);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card::before {
    display: none;
}

.card:hover {
    background: rgba(5, 30, 35, 0.9);
    border-color: rgba(20, 184, 166, 0.7);
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.3),
        0 12px 40px rgba(20, 184, 166, 0.2);
    transform: translateY(-6px);
}

.card p,
.card li {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.7;
}

.card li::before {
    content: "";
    display: none;
}

.card li {
    padding-left: 0;
    margin-bottom: 12px;
}

/* Problem Items - Increased Contrast and Size */
.problem-item {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(20, 5, 5, 0.8) 100%);
    border: 1px solid rgba(239, 68, 68, 0.4);
    /* Brighter border */
    font-size: 1.2rem;
    /* Increased from 0.95em */
    color: #ffffff;
    /* Pure white */
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.problem-item:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(30, 10, 10, 0.9) 100%);
    border-color: rgba(239, 68, 68, 0.8);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.25);
    transform: translateY(-4px);
}

/* Section Titles - Make them pop too */
.section-title {
    text-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
    color: #ffffff;
}

/* ===== FOOTER ===== */
.footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 5% 40px;
    position: relative;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin: 0;
    margin-bottom: 20px;
}

.footer-social {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    width: 24px;
    height: 24px;
}

.footer-social:hover {
    color: #14b8a6;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    margin-bottom: 8px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    line-height: 1.6;
}

.footer-link:hover {
    color: #14b8a6;
}

.footer-newsletter {
    max-width: 400px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.newsletter-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 0;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-bottom-color: #14b8a6;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-button {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    align-self: flex-start;
}

.newsletter-button:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 300;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 5% 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

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

/* ===== BUILT FOR SECTION (Process-Style) ===== */
.built-for-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.built-for-item {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.03) 0%, rgba(0, 0, 0, 0.6) 100%);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.built-for-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.built-for-item:hover::before {
    opacity: 1;
}

.built-for-item:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(0, 0, 0, 0.7) 100%);
    border-color: rgba(20, 184, 166, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(20, 184, 166, 0.2);
}

.built-for-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.built-for-item li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 0;
}

/* ===== IMPROVED PROBLEM ITEMS ===== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.problem-item {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(20, 5, 5, 0.7) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-item:hover::before {
    opacity: 1;
}

.problem-item:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(30, 10, 10, 0.85) 100%);
    border-color: rgba(239, 68, 68, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.25);
}

/* ===== INTERACTIVE CURSOR SECTION ===== */
.cursor-interactive-section {
    position: relative;
    padding: 120px 40px;
    background: linear-gradient(135deg, rgba(5, 25, 30, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    overflow: hidden;
    cursor: none;
}

.cursor-interactive-section canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

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

.cursor-interactive-content h3 {
    font-size: 2.5em;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cursor-interactive-content p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Custom cursor for interactive section */
.cursor-interactive-section .custom-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(20, 184, 166, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.6);
}

.cursor-interactive-section .custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(20, 184, 166, 1);
    border-radius: 50%;
}

.cursor-interactive-section:hover .custom-cursor {
    transform: scale(1.5);
}

/* ===== WAITLIST APPLICATION SECTION ===== */
.waitlist-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(5, 15, 20, 0.98) 50%, rgba(0, 0, 0, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.waitlist-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(20, 184, 166, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.waitlist-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left content */
.waitlist-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.waitlist-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #14b8a6;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #14b8a6;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.waitlist-heading {
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.waitlist-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
}

.waitlist-criteria {
    margin-top: 16px;
}

.criteria-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 12px 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.criteria-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.criteria-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.criteria-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 1px;
    background: #14b8a6;
}

/* Right form wrapper */
.waitlist-form-wrapper {
    background: rgba(5, 15, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.waitlist-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.5), transparent);
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-align: center;
}

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

.form-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.waitlist-form .form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.waitlist-form .form-input:focus {
    outline: none;
    border-color: #14b8a6;
    background: rgba(20, 184, 166, 0.05);
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.1);
}

.waitlist-form .form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.waitlist-submit {
    background: transparent;
    border: 1.5px solid #14b8a6;
    color: #14b8a6;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.waitlist-submit:hover {
    background: #14b8a6;
    color: #000;
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.4);
}

.submit-arrow {
    transition: transform 0.3s ease;
}

.waitlist-submit:hover .submit-arrow {
    transform: translateX(4px);
}

.form-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 968px) {
    .waitlist-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .waitlist-heading {
        font-size: 2.5rem;
    }

    .waitlist-form-wrapper {
        padding: 36px;
    }
}

@media (max-width: 600px) {
    .waitlist-section {
        padding: 80px 5%;
    }

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

    .waitlist-badge {
        font-size: 0.75rem;
        padding: 8px 16px;
    }

    .waitlist-form-wrapper {
        padding: 28px;
    }

    .waitlist-submit {
        padding: 16px 28px;
    }
}