:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --primary-color: #ffffff;
    --accent-color: #333;
    --font-family: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

#waveCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    position: relative;
    z-index: 10;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}



.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 8vh;
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(to bottom, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn-white {
    background-color: #fff;
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.btn-white:hover {
    opacity: 0.9;
}

.btn-dark {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

.btn-dark:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}



.contact-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

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

.btn-submit {
    background-color: var(--primary-color);
    color: #000;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
}

/* Case Studies Page */
.case-studies-container {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

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

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.case-study-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.case-study-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

.sector-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-study-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.client-name {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section h3 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section p,
.section ul {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ddd;
}

.section ul {
    list-style-type: none;
    padding-left: 0;
}

.section ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.section ul li::before {
    content: "•";
    color: var(--text-muted);
    position: absolute;
    left: 0;
}

.nav-links .active {
    color: var(--text-color);
    font-weight: 600;
}

/* Case Study Visuals */
.case-visual {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.case-study-card:hover .case-visual img {
    transform: scale(1.02);
}

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

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

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

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

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

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .navbar {
        padding: 1.5rem 2rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .case-study-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .navbar {
        padding: 1rem 1.5rem;
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 99;
    }

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

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}


/* =========================================
   New Home Page Styles
   ========================================= */

/* Intro Section */
.intro-section {
    padding: 10rem 2rem 6rem;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-heading {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #ffffff;
    max-width: 1000px;
    letter-spacing: -0.02em;
}

.intro-subtext {
    font-size: 1.1rem;
    color: #888;
    line-height: 1.6;
    max-width: 700px;
}

/* Carousel Section */
.carousel-section {
    padding: 2rem 0 8rem;
    overflow: hidden;
    position: relative;
}

.carousel-track-container {
    width: 100%;
    overflow-x: auto;
    /* Re-enable manual scrolling */
    padding: 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.carousel-track-container::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    /* Animation removed for JS control */
}

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

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.carousel-track:active {
    cursor: grabbing;
}

/* Premium Feature Card */
.feature-card {
    background: #0A0A0A;
    border: 1px solid #1A1A1A;
    border-radius: 24px;
    padding: 4rem 2rem 2rem;
    /* Increased top padding */
    width: 320px;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #333;
}

.card-visual {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    /* Gold accent color like in the example, or keep it white/brand color */
}

/* Optional: Add a subtle glow behind the icon */
.card-visual::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* =========================================
   Card Animations
   ========================================= */

.card-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1. Agentic Workflows */
.visual-agentic .agentic-hub {
    width: 40px;
    height: 40px;
    background: #ff8c00;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.6);
    z-index: 2;
    position: relative;
}

.visual-agentic .agentic-spoke {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    /* Length of spoke */
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.8), transparent);
    transform-origin: left center;
}

.visual-agentic .spoke-1 {
    transform: rotate(0deg) translateY(-1px);
}

.visual-agentic .spoke-2 {
    transform: rotate(120deg) translateY(-1px);
}

.visual-agentic .spoke-3 {
    transform: rotate(240deg) translateY(-1px);
}

.visual-agentic .agentic-dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: agenticPulse 2s infinite ease-in-out;
}

.visual-agentic .spoke-1 .agentic-dot {
    animation-delay: 0s;
}

.visual-agentic .spoke-2 .agentic-dot {
    animation-delay: 0.6s;
}

.visual-agentic .spoke-3 .agentic-dot {
    animation-delay: 1.2s;
}

@keyframes agenticPulse {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-50%) scale(1.5);
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 255, 255, 1);
    }
}

/* 2. Automated SOPs */
.visual-sop {
    flex-direction: column;
    gap: 10px;
}

.visual-sop .sop-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.visual-sop .sop-block {
    width: 60px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: sopSlide 3s infinite ease-in-out;
}

.visual-sop .sop-block:nth-child(1) {
    animation-delay: 0s;
}

.visual-sop .sop-block:nth-child(2) {
    animation-delay: 0.2s;
}

.visual-sop .sop-block:nth-child(3) {
    animation-delay: 0.4s;
}

.visual-sop .sop-lock {
    width: 24px;
    height: 24px;
    border: 2px solid #ff8c00;
    border-radius: 50%;
    margin-top: 10px;
    position: relative;
    animation: sopLock 3s infinite ease-in-out;
}

.visual-sop .sop-lock::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #ff8c00;
    transform: translate(-50%, -50%);
    border-radius: 2px;
}

@keyframes sopSlide {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    20% {
        transform: translateY(0);
        opacity: 1;
        background: rgba(255, 140, 0, 0.2);
        border-color: #ff8c00;
    }

    80% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

@keyframes sopLock {

    0%,
    20% {
        border-color: rgba(255, 255, 255, 0.2);
        transform: scale(0.8);
    }

    30%,
    80% {
        border-color: #ff8c00;
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.2);
        transform: scale(0.8);
    }
}

/* 3. AI Powered Operations */
.visual-ai-ops .ops-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.visual-ai-ops .ops-pulse {
    position: absolute;
    width: 0;
    height: 0;
    border: 1px solid #ff8c00;
    border-radius: 50%;
    opacity: 0;
    animation: opsPulseWave 4s infinite;
}

.visual-ai-ops .dot-1 {
    animation: opsChaos1 4s infinite;
}

.visual-ai-ops .dot-2 {
    animation: opsChaos2 4s infinite;
}

.visual-ai-ops .dot-3 {
    animation: opsChaos3 4s infinite;
}

.visual-ai-ops .dot-4 {
    animation: opsChaos4 4s infinite;
}

.visual-ai-ops .dot-5 {
    animation: opsChaos5 4s infinite;
}

@keyframes opsPulseWave {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    50% {
        width: 150px;
        height: 150px;
        opacity: 0;
    }

    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
    }
}

@keyframes opsChaos1 {
    0% {
        transform: translate(-40px, -30px);
    }

    40% {
        transform: translate(-20px, -20px);
    }

    /* Snap to grid */
    60% {
        transform: translate(-20px, -20px);
        background: #ff8c00;
        box-shadow: 0 0 10px #ff8c00;
    }

    100% {
        transform: translate(-50px, -10px);
    }
}

@keyframes opsChaos2 {
    0% {
        transform: translate(30px, -40px);
    }

    40% {
        transform: translate(20px, -20px);
    }

    60% {
        transform: translate(20px, -20px);
        background: #ff8c00;
        box-shadow: 0 0 10px #ff8c00;
    }

    100% {
        transform: translate(40px, -50px);
    }
}

@keyframes opsChaos3 {
    0% {
        transform: translate(0px, 40px);
    }

    40% {
        transform: translate(0px, 20px);
    }

    60% {
        transform: translate(0px, 20px);
        background: #ff8c00;
        box-shadow: 0 0 10px #ff8c00;
    }

    100% {
        transform: translate(10px, 50px);
    }
}

@keyframes opsChaos4 {
    0% {
        transform: translate(-30px, 30px);
    }

    40% {
        transform: translate(-20px, 20px);
    }

    60% {
        transform: translate(-20px, 20px);
        background: #ff8c00;
        box-shadow: 0 0 10px #ff8c00;
    }

    100% {
        transform: translate(-40px, 40px);
    }
}

@keyframes opsChaos5 {
    0% {
        transform: translate(40px, 20px);
    }

    40% {
        transform: translate(20px, 20px);
    }

    60% {
        transform: translate(20px, 20px);
        background: #ff8c00;
        box-shadow: 0 0 10px #ff8c00;
    }

    100% {
        transform: translate(50px, 10px);
    }
}

/* 4. Internal Intelligence (Orbit) */
.visual-orbit .sun {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.5);
    z-index: 2;
}

.visual-orbit .orbit-track {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.visual-orbit .planet {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    margin-top: -80px;
    margin-left: -80px;
    animation: orbit 4s linear infinite;
}

.visual-orbit .planet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 5. AI Dashboards */
.visual-dashboard {
    gap: 12px;
    align-items: flex-end;
    padding-bottom: 40px;
    /* Center vertically */
}

.visual-dashboard .dash-bar {
    width: 16px;
    background: linear-gradient(to top, #ff8c00, #ff4500);
    border-radius: 4px;
    position: relative;
    animation: dashEqualizer 2s infinite ease-in-out;
}

.visual-dashboard .bar-1 {
    height: 40px;
    animation-delay: 0s;
}

.visual-dashboard .bar-2 {
    height: 70px;
    animation-delay: 0.2s;
}

.visual-dashboard .bar-3 {
    height: 50px;
    animation-delay: 0.4s;
}

.visual-dashboard .bar-4 {
    height: 80px;
    animation-delay: 0.1s;
}

.visual-dashboard .dash-bar::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

@keyframes dashEqualizer {

    0%,
    100% {
        height: 40px;
        opacity: 0.7;
    }

    50% {
        height: 90px;
        opacity: 1;
        filter: brightness(1.2);
    }
}

/* 6. Automated Reporting */
.visual-report .report-paper {
    width: 80px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
    animation: reportFold 4s infinite ease-in-out;
}

.visual-report .report-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    width: 100%;
}

.visual-report .report-line:nth-child(1) {
    width: 80%;
    animation: lineFill 4s infinite;
}

.visual-report .report-line:nth-child(2) {
    width: 60%;
    animation: lineFill 4s infinite 0.2s;
}

.visual-report .report-line:nth-child(3) {
    width: 90%;
    animation: lineFill 4s infinite 0.4s;
}

@keyframes reportFold {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    20% {
        transform: translateY(0);
        opacity: 1;
    }

    70% {
        transform: translateY(0) scale(1);
        opacity: 1;
        border-color: rgba(255, 255, 255, 0.2);
    }

    80% {
        transform: scale(0.2);
        opacity: 0;
        border-color: #ff8c00;
        background: #ff8c00;
    }

    100% {
        transform: scale(0.2);
        opacity: 0;
    }
}

@keyframes lineFill {

    0%,
    20% {
        width: 0;
        background: rgba(255, 140, 0, 0.5);
    }

    40%,
    100% {
        background: rgba(255, 255, 255, 0.2);
    }
}

/* 7. Customer AI Systems */
.visual-interaction .node-left,
.visual-interaction .node-right {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: absolute;
}

.visual-interaction .node-left {
    left: 20px;
}

.visual-interaction .node-right {
    right: 20px;
}

.visual-interaction .node-center {
    width: 40px;
    height: 40px;
    background: #ff8c00;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
    z-index: 2;
    animation: centerPulse 3s infinite;
}

.visual-interaction .signal-left,
.visual-interaction .signal-right {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
}

.visual-interaction .signal-left {
    left: 50px;
    animation: signalMoveLeft 3s infinite;
}

.visual-interaction .signal-right {
    right: 50px;
    animation: signalMoveRight 3s infinite;
}

@keyframes centerPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
    }

    50% {
        transform: scale(1.2);
        box-shadow: 0 0 40px rgba(255, 140, 0, 0.8);
    }
}

@keyframes signalMoveLeft {
    0% {
        left: 50px;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    45% {
        left: 50%;
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes signalMoveRight {
    0% {
        right: 50px;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    45% {
        right: 50%;
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.card-footer {
    position: absolute;
    top: 2rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* =========================================
   Problems Section (Split Layout)
   ========================================= */

.problems-section .split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problems-section .content-container {
    max-width: 1400px;
    /* Increased width for this section only */
    padding: 0 4rem;
    /* Add some horizontal padding */
}

.problems-section .text-content {
    text-align: left;
}

.problems-section .visual-content {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

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

.problem-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.2rem;
    color: #ccc;
    line-height: 1.6;
    font-size: 1.05rem;
}

.problem-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* 1. Manual work -> Clock */
.problem-list li:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

/* 2. Scattered info -> Database/Layers */
.problem-list li:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96'/%3E%3Cline x1='12' y1='22.08' x2='12' y2='12'/%3E%3C/svg%3E");
}

/* 3. Unstructured processes -> Alert/Warning */
.problem-list li:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}

/* 4. Outdated SOPs -> File/Document */
.problem-list li:nth-child(4)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E");
}

/* 5. AI Prioritization -> Compass */
.problem-list li:nth-child(5)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/%3E%3C/svg%3E");
}

/* Dashboard Mockup Animation */
.dashboard-mockup {
    width: 100%;
    max-width: 800px;
    /* Increased size */
    height: 500px;
    /* Increased height */
    background: #0A0A0A;
    border: 1px solid #1A1A1A;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    overflow: hidden;
    opacity: 0;
    transform: translateX(50px) rotateY(-10deg);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
}

/* Animation Trigger */
.problems-section.is-visible .dashboard-mockup {
    opacity: 1;
    transform: translateX(0) rotateY(0);
}

/* Sidebar */
.dash-sidebar {
    width: 200px;
    /* Wider sidebar */
    background: #111;
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
}

.window-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.control {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.control.red {
    background: #ff5f56;
}

.control.yellow {
    background: #ffbd2e;
}

.control.green {
    background: #27c93f;
}

.sidebar-search .search-bar {
    width: 100%;
    height: 30px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-item.active {
    background: rgba(255, 140, 0, 0.1);
    color: #ff8c00;
}

.nav-icon {
    width: 16px;
    height: 16px;
    background: currentColor;
    opacity: 0.5;
    border-radius: 2px;
}

.nav-text {
    font-weight: 500;
}

.sidebar-projects {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.project-item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.project-item .dot.orange {
    background: #ff8c00;
}

.project-item .dot.purple {
    background: #9d4edd;
}

/* Main Content */
.dash-main {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #0e0e0e;
    overflow: hidden;
}

/* Header */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.header-info h3 {
    font-size: 18px;
    color: #fff;
    margin: 0 0 4px 0;
}

.header-info p {
    color: #666;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 32px;
    height: 32px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
}

.action-btn.primary {
    background: #ff8c00;
    border-color: #ff8c00;
    width: 100px;
}

/* Stats Row */
.dash-stats-row {
    display: flex;
    gap: 20px;
}

.dash-stat-card {
    flex: 1;
    background: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100px;
}

.stat-label {
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
}

.stat-value {
    font-size: 24px;
    color: #fff;
    font-weight: 600;
}

.stat-badge {
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    font-size: 11px;
    font-weight: 600;
}

.stat-badge.neutral {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
}

/* Table */
.dash-table-container {
    flex: 1;
    background: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}

.dash-table-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    padding-bottom: 15px;
    border-bottom: 1px solid #222;
    color: #666;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-table-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #1a1a1a;
    color: #ccc;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.dash-table-row:last-child {
    border-bottom: none;
}

.problems-section.is-visible .dash-table-row {
    opacity: 1;
    transform: translateY(0);
}

.problems-section.is-visible .dash-table-row:nth-child(2) {
    transition-delay: 0.2s;
}

.problems-section.is-visible .dash-table-row:nth-child(3) {
    transition-delay: 0.4s;
}

.problems-section.is-visible .dash-table-row:nth-child(4) {
    transition-delay: 0.6s;
}

.problems-section.is-visible .dash-table-row:nth-child(5) {
    transition-delay: 0.8s;
}

.cell-name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 500;
}

.avatar {
    width: 24px;
    height: 24px;
    background: #333;
    border-radius: 50%;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.status-badge.proposal {
    background: rgba(255, 189, 46, 0.1);
    color: #ffbd2e;
}

.status-badge.contracted {
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
}

.status-badge.lead {
    background: rgba(255, 140, 0, 0.1);
    color: #ff8c00;
}

@media (max-width: 1200px) {
    .problems-section .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .problems-section .content-container {
        padding: 0 2rem;
    }

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

    .problems-section .section-heading {
        border-left: none;
        border-bottom: 4px solid var(--primary-color);
        padding-left: 0;
        padding-bottom: 1rem;
        display: inline-block;
    }

    .problem-list {
        text-align: left;
        max-width: 600px;
        margin: 2rem auto;
    }

    .problems-section .visual-content {
        width: 100%;
        justify-content: center;
    }

    .dashboard-mockup {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .problems-section .split-layout {
        display: block;
        /* Switch to block layout on mobile to avoid grid overflow issues */
    }

    .problems-section .content-container {
        padding: 0 1.5rem;
        /* Ensure balanced padding on mobile */
    }

    .problems-section .text-content {
        text-align: left;
        padding-right: 0.5rem;
        /* Add a small buffer on the right */
    }

    .problems-section .section-heading {
        border-left: none;
        padding-left: 0;
        border-bottom: 4px solid var(--primary-color);
        padding-bottom: 0.5rem;
        display: inline-block;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .problem-list {
        margin: 2rem 0;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .dashboard-mockup {
        height: auto;
        flex-direction: column;
        max-width: 100%;
    }

    .dash-sidebar {
        width: 100%;
        flex-direction: row;
        padding: 10px;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid #222;
    }

    .nav-menu {
        flex-direction: row;
    }

    .sidebar-projects {
        display: none;
        /* Hide projects on mobile to save space */
    }

    .dash-stats-row {
        flex-direction: column;
    }

    .dash-table-header,
    .dash-table-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .dash-table-header span:nth-child(3),
    .dash-table-header span:nth-child(4),
    .dash-table-row div:nth-child(3),
    .dash-table-row div:nth-child(4) {
        display: none;
    }
}

/* Removed .plus-btn styles */
/* Removed .plus-btn styles */

/* Content Sections */
.content-section {
    padding: 6rem 2rem;
}

.content-section.alt-bg {
    background: rgba(255, 255, 255, 0.02);
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-heading {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--text-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 1.5rem;
}

.text-block strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Grid Layouts */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.grid-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #d0d0d0;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* 1. Close work -> Users/Team */
.feature-list li:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

/* 2. Translate problems -> Refresh/Transform */
.feature-list li:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpath d='M20.49 15a9 9 0 1 1-2.12-9.36L23 10'/%3E%3C/svg%3E");
}

/* 3. Consulting + Tech -> Layers/Stack */
.feature-list li:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E");
}

/* 4. Scale -> Trending Up */
.feature-list li:nth-child(4)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'/%3E%3Cpolyline points='17 6 23 6 23 12'/%3E%3C/svg%3E");
}

/* 5. Move quickly -> Zap/Lightning */
.feature-list li:nth-child(5)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E");
}

/* 6. Outcomes -> Target/Crosshair */
.feature-list li:nth-child(6)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='22' y1='12' x2='18' y2='12'/%3E%3Cline x1='6' y1='12' x2='2' y2='12'/%3E%3Cline x1='12' y1='6' x2='12' y2='2'/%3E%3Cline x1='12' y1='22' x2='12' y2='18'/%3E%3C/svg%3E");
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.testimonial-card .author {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 8rem 2rem;
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05));
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.small-text {
    font-size: 0.9rem;
    color: #888;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .intro-section {
        padding: 8rem 1.5rem 4rem;
    }

    .hero-statement {
        font-size: 1.8rem;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .cta-buttons .btn-primary,
    .cta-buttons .btn-white {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .nav-auth {

        position: fixed;
        bottom: 2rem;
        right: -100%;
        width: 70%;
        max-width: 300px;
        flex-direction: column;
        padding: 0 2rem;
        gap: 1rem;
        transition: right 0.3s ease;
        z-index: 99;
    }

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

    .nav-auth .btn-primary {
        text-align: center;
        width: 100%;
    }

    .nav-auth .signin {
        text-align: center;
        padding: 0.6rem 1.2rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 6px;
    }

    /* Hero Section */
    .hero {
        padding: 4vh 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .btn-white,
    .btn-dark {
        width: 100%;
        text-align: center;
    }

    /* Contact Section */
    .contact-section {
        padding: 3rem 1.5rem;
    }

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

    /* Case Studies Page */
    .case-studies-container {
        padding: 5rem 1.5rem 3rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .case-study-card {
        padding: 1.5rem;
    }

    .case-study-card h2 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .case-study-card {
        padding: 1.25rem;
    }

    .case-study-card h2 {
        font-size: 1.2rem;
    }

    .section h3 {
        font-size: 0.9rem;
    }

    .section p,
    .section ul {
        font-size: 0.9rem;
    }
}

/* Mobile Menu Overlay */
@media screen and (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 98;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }
}

/* Case Study Detail Page */
.case-study-detail-container {
    padding: 8rem 2rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.back-link {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--text-color);
}

.case-study-detail {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem;
    animation: fadeIn 0.5s ease;
}

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

.detail-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.2;
    background: linear-gradient(to bottom, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.detail-visual {
    margin-bottom: 3rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.detail-content .section h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.detail-content .section p,
.detail-content .section ul {
    font-size: 1.05rem;
    color: #e0e0e0;
}

/* Card Link */
.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.read-more {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.read-more span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.2s ease;
    display: inline-block;
}

.card-link:hover .read-more span {
    transform: translateX(5px);
}

@media screen and (max-width: 768px) {
    .case-study-detail {
        padding: 1.5rem;
    }

    .detail-header h1 {
        font-size: 1.8rem;
    }
}

/* Contact Page Specifics */
/* Contact Page Specifics */
.contact-page-container {
    padding-top: 2rem;
    padding-bottom: 4rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.contact-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-section .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   What We Do Section (Feature Rows)
   ========================================= */

.what-we-do-section .content-container {
    max-width: 1200px;
    padding: 0 2rem;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.text-col {
    flex: 1;
    text-align: left;
}

.text-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #fff;
}

.visual-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Workflow Animation Visual (Premium) */
.workflow-visual.premium {
    width: 100%;
    max-width: 600px;
    height: 300px;
    background: #0A0A0A;
    border: 1px solid #1A1A1A;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.workflow-visual.premium .workflow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#222 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.workflow-svg {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    z-index: 2;
}

.connector {
    fill: none;
    stroke: #333;
    stroke-width: 2;
}

@media (max-width: 900px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .text-col {
        text-align: center;
    }

    .visual-col {
        width: 100%;
    }
}

/* Footer */
.site-footer {
    padding: 4rem 2rem;
    border-top: 1px solid #1a1a1a;
    background: #050505;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.company-name {
    color: #888;
    font-size: 0.9rem;
}

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

.social-link {
    color: #888;
    transition: color 0.3s ease;
    width: 24px;
    height: 24px;
}

.social-link:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
}

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

.footer-policies a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: #fff;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-policies {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Discovery Call Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.form-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 3rem;
    font-size: 1rem;
}

.contact-form {
    background: #111;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #222;
}

.form-section {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #222;
    padding-bottom: 2rem;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

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

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label,
.group-label {
    color: #aaa;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="datetime-local"] {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-group input:focus {
    outline: none;
    border-color: #ff8c00;
}

/* Custom Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.radio-group.horizontal {
    flex-direction: row;
    gap: 2rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    color: #ddd;
    font-size: 0.95rem;
    position: relative;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #444;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
}

.radio-option:hover .radio-custom {
    border-color: #666;
}

.radio-option input:checked~.radio-custom {
    border-color: #ff8c00;
}

.radio-option input:checked~.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #ff8c00;
    border-radius: 50%;
}

/* Custom Checkboxes */
.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #444;
    border-radius: 4px;
    /* Square for checkbox */
    position: relative;
    transition: all 0.2s ease;
}

.radio-option:hover .checkbox-custom {
    border-color: #666;
}

.radio-option input:checked~.checkbox-custom {
    border-color: #ff8c00;
    background: #ff8c00;
}

.radio-option input:checked~.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 12px;
    font-weight: bold;
}

.btn-submit {
    width: 100%;
    background: #ff8c00;
    color: #000;
    border: none;
    padding: 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #e67e00;
}

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

    .contact-form {
        padding: 1.5rem;
    }
}

/* Standard Contact Page Styles */
.contact-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    max-width: 800px;
    margin: 3rem auto 0;
}

.standard-contact {
    width: 100%;
    max-width: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.contact-info-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    height: fit-content;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Add a subtle accent glow to the info card */
.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: 600;
}

.contact-info-items {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    width: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0;
    color: #ccc;
    font-size: 1.05rem;
}

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

.info-item svg {
    color: #ff8c00;
    flex-shrink: 0;
    margin-top: 3px;
    filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.3));
}

.info-item a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.info-item a:hover {
    color: #fff;
    border-bottom-color: #ff8c00;
}

@media (max-width: 900px) {
    .contact-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 1rem;
    }

    .contact-info-card {
        order: -1;
        /* Show contact info first on mobile */
        padding: 2rem;
    }

    .standard-contact {
        padding: 1.5rem;
    }
}

/* Privacy Policy Page Styles */
.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.privacy-content {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.05rem;
}

.privacy-content h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.privacy-content h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.privacy-content p {
    margin-bottom: 1.5rem;
}

.privacy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.privacy-content a {
    color: #ff8c00;
    text-decoration: none;
    transition: color 0.2s ease;
}

.privacy-content a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Instagram Icon Styles */
.instagram-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.instagram-link:hover img {
    filter: grayscale(0%) opacity(1);
}