@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');

:root {
    --primary-color: #00a859;
    /* Corporate Green Accent */
    --primary-dark: #007c42;
    --bg-light: #f8f2f8;
    /* Soft Lilac Background */
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #333333;
    --text-gray: #555555;
    --font-sans: 'Inter', 'Outfit', sans-serif;
    --font-serif: 'DM Serif Display', serif;
    --transition-speed: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-light);
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
    width: 100%;
    -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    /* DM Serif Display is usually 400 weight */
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000; /* Increased to stay above all other elements */
    padding: 15px 0;
    background: rgba(255, 255, 255, 1.0); /* Solid white by default */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
}

/* Transparent Header Utility for Pages with full-screen heroes (like homepage) */
body.transparent-header #main-header:not(.scrolled) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: 1px solid transparent;
}

#main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.logo {
    justify-self: start;
}

.logo a {
    display: flex;
    align-items: center;
}

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

.logo img:hover {
    transform: scale(1.02);
}

.highlight {
    color: var(--primary-color);
}

.main-nav {
    justify-self: end;
}

.main-nav ul {
    display: flex;
    gap: 35px;
    align-items: center;
    justify-content: center;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    /* Thinner sophisticated underline */
    bottom: 0px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.main-nav ul li.dropdown {
    position: relative;
    display: inline-block;
}

.main-nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-white);
    min-width: 340px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
    z-index: 1000;
    border-radius: 12px;
    /* Rounded corners */
    padding: 10px 0;
    top: 100%;
    left: -130px;
    /* Shifted left to make room for right-opening nested menus */
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    overflow: visible;
}

.main-nav .dropdown-content li {
    display: block;
    margin: 0;
}

.main-nav .dropdown-content li a {
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    transition: background-color 0.2s, color 0.2s;
    /* Reset main nav link styles */
    border-bottom: none;
}

/* Remove the underline effect from dropdown links */
.main-nav .dropdown-content li a::after {
    display: none;
}

.main-nav .dropdown-content li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.main-nav ul li.dropdown:hover .dropdown-content {
    display: block;
}

/* Nested Dropdown Styles */
.main-nav .dropdown-content li.nested-dropdown {
    position: relative;
}

.main-nav .nested-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-white);
    min-width: 250px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 10px 0;
    top: -10px;
    left: 100%;
    /* Fly out to the right */
    right: auto;
    margin-left: 2px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1001;
}

.main-nav .nested-dropdown-content li a {
    /* Style same as the standard dropdown link */
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    transition: background-color 0.2s, color 0.2s;
    border-bottom: none;
}

.main-nav .nested-dropdown-content li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.main-nav .dropdown-content li.nested-dropdown:hover .nested-dropdown-content {
    display: block;
}

/* Add an arrow indicator for nested menus */
.main-nav .dropdown-content li.nested-dropdown>a {
    position: relative;
    padding-right: 30px;
    /* Space for the arrow */
    display: block;
    /* Override any flex that might cause wrapping issues */
}

.main-nav .dropdown-content li.nested-dropdown>a::after {
    content: '›';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    line-height: 1;
    color: var(--text-gray);
    transition: color 0.2s;
}

.main-nav .dropdown-content li.nested-dropdown>a:hover::after {
    color: var(--primary-color);
}

/* Base Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 14px 32px;
    border-radius: 50px;
    /* Pill shape */
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(30, 86, 184, 0.3);
    /* Navy glow */
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(30, 86, 184, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    margin-top: 4px;
    /* Better vertical alignment with logo */
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
    transform-origin: left center;
}

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

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

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

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    /* Light background */
    color: var(--text-dark);
    text-align: center;
    overflow: hidden;
}

#hero-sequence {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
    opacity: 0.8;
    /* Make globe less overpowering */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Soft glowing vignette from center */
    background: radial-gradient(circle at center, rgba(248, 242, 248, 0) 0%, rgba(248, 242, 248, 0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

#hero h1 {
    font-size: 5rem;
    /* Larger classic serif */
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    /* Tighter tracking for serif */
    color: var(--text-dark);
}

#hero .highlight {
    color: var(--primary-color);
    font-style: italic;
    /* Classic touch */
}

#hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-muted);
    /* Softer subtitle */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    /* Thicker weight for emphasis */
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-gray);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

.arrow span {
    display: block;
    width: 15px;
    height: 15px;
    border-bottom: 2px solid var(--text-gray);
    border-right: 2px solid var(--text-gray);
    transform: rotate(45deg);
    margin: -5px;
    animation: scrollArrow 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Services Section */
#services {
    background-color: #ffffff;
}

.section-header {
    margin-bottom: 60px;
    border-left: 5px solid var(--primary-color);
    padding-left: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    /* Slightly rounded */
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--bg-dark);
}

.service-card p {
    color: #555;
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    text-decoration: underline;
}

/* About Section */
#about {
    background-color: var(--bg-dark-secondary);
    color: var(--text-light);
    text-align: center;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-gray);
}

/* Footer */
footer {
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 80px 0 40px;
    border-top: none;
}

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

.footer-col h4,
footer h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-col ul li,
footer ul li {
    margin-bottom: 12px;
}

.footer-col ul li a,
footer ul li a,
footer a.footer-email {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-col ul li a:hover,
footer ul li a:hover,
footer a.footer-email:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: left;
    font-size: 0.95rem;
    color: var(--text-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --------------------------------------------------------------------------
   Execution Grid V3 (Animated Graphics)
   -------------------------------------------------------------------------- */

#expertise {
    background-color: #ffffff !important;
    color: var(--text-dark);
    border-top: none;
    border-bottom: none;
}

.execution-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
    padding-bottom: 20px;
}

.exec-card-v2 {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    padding: 2px;
    /* For hover gradient border effect */
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.33, 1);
    overflow: hidden;
    /* Keep gradient strictly on border */
}

/* Removed staggered offset for v3 to focus on animations */
.exec-card-v2.staggered {
    transform: none;
}

.exec-card-inner-v2 {
    background: #ffffff;
    border-radius: 22px;
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Contain graphic area */
}

/* Hover Gradient Border Effect */
.exec-card-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), #2563eb, #8b5cf6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.exec-card-v2:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}

.exec-card-v2:hover::before {
    opacity: 1;
}

/* Animated Graphic Area */
.card-graphic-area {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.graphic-teal {
    background: #f0fdf4;
}

.graphic-blue {
    background: #eff6ff;
}

.graphic-purple {
    background: #faf5ff;
}

.graphic-amber {
    background: #fffbeb;
}

.animated-svg {
    width: 100%;
    height: 100%;
    max-width: 250px;
    overflow: visible;
}

.card-text-content {
    padding: 32px 40px;
    flex-grow: 1;
}

.card-text-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.card-text-content p {
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   SVG Animations
   -------------------------------------------------------------------------- */

/* SVG 1: AI Nodes */
.animate-dash {
    stroke-dasharray: 20, 200;
    stroke-dashoffset: 220;
    animation: dash-flow 3s linear infinite;
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: 0;
    }
}

.pulse-node {
    animation: pulse-op 2s infinite alternate;
}

.node-1 {
    animation-delay: 0s;
}

.node-2 {
    animation-delay: 0.5s;
}

.node-3 {
    animation-delay: 1s;
}

.node-4 {
    animation-delay: 1.5s;
}

@keyframes pulse-op {
    0% {
        opacity: 0.4;
        r: 6px;
    }

    100% {
        opacity: 1;
        r: 10px;
        box-shadow: 0 0 10px #10b981;
    }
}

.core-pulse {
    animation: core-beat 1.5s ease-in-out infinite;
    transform-origin: 100px 60px;
}

@keyframes core-beat {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(3);
        opacity: 0;
    }

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

/* SVG 2: ROI Chart */
.trend-line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: draw-line 4s ease-in-out infinite alternate;
}

.trend-area {
    clip-path: polygon(0 0, 0% 100%, 0 100%);
    animation: reveal-area 4s ease-in-out infinite alternate;
}

@keyframes draw-line {

    0%,
    20% {
        stroke-dashoffset: 300;
    }

    80%,
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes reveal-area {

    0%,
    20% {
        clip-path: polygon(0 0, 0 100%, 0 100%, 0 0);
    }

    80%,
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.float-up-1 {
    animation: float 3s ease-in-out infinite alternate;
}

.float-up-2 {
    animation: float 4s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

/* SVG 3: Manual Work Conveyer */
.spin-gear {
    transform-origin: 0 0;
    animation: spin 4s linear infinite;
}

.spin-gear-reverse {
    transform-origin: 0 0;
    animation: spin-reverse 4s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    100% {
        transform: rotate(-360deg);
    }
}

.slide-item {
    animation: convey 3s ease-in-out infinite;
}

@keyframes convey {
    0% {
        transform: translateX(0) scale(1);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateX(120px) scale(0.8);
        opacity: 0;
    }
}

/* SVG 4: Orbit */
.orbit-1 {
    animation: orbit 6s linear infinite;
}

.orbit-2 {
    animation: orbit 8s linear infinite reverse;
}

.orbit-3 {
    animation: orbit 5s linear infinite;
}

@keyframes orbit {
    0% {
        transform: translate(100px, 60px) rotate(0deg);
    }

    100% {
        transform: translate(100px, 60px) rotate(360deg);
    }
}

/* Responsive Grid */
@media (max-width: 900px) {
    .execution-grid-v2 {
        grid-template-columns: 1fr;
        padding-bottom: 0;
    }

    .exec-card-v2.staggered {
        transform: none;
    }

    .exec-card-v2.staggered:hover {
        transform: translateY(-12px);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-actions {
        display: none;
    }

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

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        padding: 0;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.4s ease;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-nav.active {
        max-height: 100vh;
        overflow-y: auto;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 16px 24px;
        width: 100%;
        font-size: 1.1rem;
    }

    /* Remove default hover flyout on mobile */
    .main-nav ul li.dropdown:hover .dropdown-content {
        display: none;
        /* Controlled by JS click active */
    }

    .main-nav .dropdown-content li.nested-dropdown:hover .nested-dropdown-content {
        display: none;
        /* Controlled by JS click active */
    }

    /* Mobile Dropdown Overrides */
    .main-nav .dropdown-content,
    .main-nav .nested-dropdown-content {
        position: relative;
        top: 0;
        left: 0;
        background-color: var(--bg-light);
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        border: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        display: none;
    }

    .main-nav .dropdown-content.active,
    .main-nav .nested-dropdown-content.active {
        display: block !important;
    }

    .main-nav .dropdown-content li a {
        padding: 14px 24px 14px 40px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-nav .nested-dropdown-content li a {
        padding: 12px 24px 12px 60px;
        font-size: 0.95rem;
    }

    .main-nav .dropdown-content li.nested-dropdown>a::after {
        right: 24px;
        transform: translateY(-50%) rotate(90deg);
    }

    .main-nav .dropdown-content li.nested-dropdown>a.active::after {
        transform: translateY(-50%) rotate(-90deg);
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* Animations using Intersection Observer classes */
.fade-in-up,
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Systems of Record Section */
#systems-record {
    padding: 120px 0;
    background-color: var(--bg-white);
}

.section-tag.center {
    text-align: center;
    display: table;
    margin: 0 auto 30px;
    background: rgba(30, 86, 184, 0.08);
    /* Soft Navy */
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(30, 86, 184, 0.15);
}

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

.section-header-center h2 {
    font-size: 4rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.section-lead strong {
    color: var(--text-dark);
    font-weight: 600;
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.feature-card {
    background: #fdfaf6;
    /* Soft Peach/Parchment */
    padding: 48px;
    border-radius: 32px;
    /* Very rounded afterquery style */
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card:nth-child(2) {
    background: #f4f7fb;
    /* Soft Light Blue */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.feature-card.highlight-border {
    border: 1px solid rgba(30, 86, 184, 0.1);
}

.card-icon {
    margin-bottom: 32px;
    color: var(--primary-color);
    background: rgba(30, 86, 184, 0.08);
    /* Light navy bg */
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.feature-card h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.card-lead {
    font-size: 1.15rem;
    color: var(--text-dark) !important;
    margin-bottom: 24px;
    font-weight: 500;
}

.sub-feature {
    margin-bottom: 24px;
    padding-left: 24px;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.highlight-border .sub-feature:last-child {
    border-left-color: var(--primary-color);
}

.sub-feature h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.sub-feature p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Advantage Section */
#advantage {
    padding: 100px 0;
    background-color: #050505;
    border-top: 1px solid #111;
}

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

.text-card {
    padding: 30px;
    border-left: 1px solid #333;
}

.text-card.highlight-card {
    border-left: 3px solid var(--primary-color);
    background: linear-gradient(90deg, rgba(0, 230, 118, 0.02) 0%, transparent 100%);
}

.icon-small {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.text-card h4 {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.text-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-header-center h2 {
        font-size: 2.2rem;
    }

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

/* Clients Section */
#clients {
    padding: 80px 0;
    background-color: var(--bg-dark);
    border-bottom: 1px solid #111;
    text-align: center;
    overflow: hidden;
    /* Ensure no scrollbar from marquee */
}

.clients-intro {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

/* Marquee Styles */
.clients-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    animation: scroll 30s linear infinite;
    /* Slower for smooth effect */
    gap: 80px;
    /* Space between logos */
    /* Removed padding-left: 100% to avoid initial blank */
}

/* Logo SVG Styles */
.client-logo-svg svg {
    height: 35px;
    /* Slightly larger for impact */
    width: auto;
    color: var(--text-muted);
    /* Darker gray for light theme */
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.client-logo-svg:hover svg {
    color: var(--primary-color);
    transform: scale(1.05);
}

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

    100% {
        /* Move by -25% because we have 4 sets of logos. 
           Moving 1 set length creates the loop. */
        transform: translateX(-25%);
    }
}

/* Pause on hover */
.clients-marquee:hover .marquee-content {
    animation-play-state: paused;
}

@media (max-width: 900px) {
    .execution-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}