/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #0d1117;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Navbar */
/* Navbar (clean + centered) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #1b1f26;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.1);
    padding: 14px 0;
    /* remove 10% side padding; container will handle width */
}

/* NEW: center the inner content and control width */
.nav-container {
    width: 100%;
    max-width: 1200px;
    /* tweak 1100–1280 to taste */
    margin: 0 auto;
    /* centers on the page */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 10%;
    /* matches your section gutters */
}

/* Logo (same visual size as the original site) */
.nav-logo {
    flex: 0 0 auto;
}

.nav-logo:hover,
.nav-logo:focus,
.nav-logo:visited {
    text-decoration: none;
    color: inherit;
}

.nav-logo img {
    height: 28px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-logo .brand-text:empty {
    display: none;
}

/* Links (single, non-duplicated block) */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    flex: 1 1 auto;
    justify-content: center;
    /* center the whole group between logo and toggle */
    flex-wrap: wrap;
    /* allows wrap on narrow widths */
}

.nav-links a {
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-links a.active,


.btn-outline {
    padding: 10px 15px;
    border: 2px solid #007BFF;
    text-decoration: none;
    color: #007BFF;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 6px;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #007BFF;
    color: #fff;
}

/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #0d1117, #1b1f26);
    color: white;
    padding: 150px 10%;
    position: relative;
    overflow: hidden;
}

.hero-logo {
    max-width: 100%;
    height: 105px;
    /* Similar to your original h1 height */
    display: block;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    animation: pulse-bg 6s ease-in-out infinite;
    z-index: 0;
}

.hero-image {
    flex: 1 1 50%;
    min-height: 300px;
    background: url('your-image.jpg') center/cover no-repeat;
    z-index: 1;
}

.hero-content {
    flex: 1 1 50%;
    text-align: left;
    padding: 20px;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
}

.hero p {
    font-size: 20px;
    margin: 20px 0;
    color: #ccc;
}

.btn {
    background-color: #007BFF;
    color: white;
    padding: 12px 25px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2);
}

.btn:hover {
    background-color: #0056b3;
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.3);
}

/* About Section */
.about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 80px 10%;
    background-color: #1b1f26;
}

.about-text {
    max-width: 80ch;
    /* readable line length */
    margin-left: 0;
    margin-right: auto;
    /* push remaining space to the right */
    text-align: left;
}


.subheading {
    color: #007BFF;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    z-index: 1;
    position: relative;
}

.about-text h2 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.about-text p {
    margin-bottom: 20px;
    color: #ccc;
}

.about-text a {
    text-decoration: underline;
    color: #007BFF;
}

.mission-body {
    font-size: 23px;
    /* adjust as needed */
    line-height: 1.6;
}



/* Services Section */
.services {
    padding: 80px 10%;
    background-color: #0d1117;
    text-align: center;
}

.services h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #fff;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.service-cards .card {
    flex: 1 1 40%;
    /* make them wider */
    max-width: 400px;
    /* cap so they don’t get too huge */
}

.card {
    background: #1b1f26;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.05);
    width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 350px;
    /* or however tall you want it */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.1);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
}

.card p {
    font-size: 16px;
    color: #ccc;
}

/* AI FP&A Section */
.ai-fpa {
    padding: 100px 8%;
    background: linear-gradient(145deg, #0d1117, #1b1f26);
    /* modern, tech gradient */
    color: #f0f0f0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ai-fpa::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
    animation: pulse-bg 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse-bg {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.ai-fpa h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
}

.ai-fpa .ai-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
    /* space between subtitle and paragraph */
}

.subheading {
    color: #007BFF;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    z-index: 1;
    position: relative;
}

.ai-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

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

.ai-text p {
    margin-bottom: 20px;
    font-size: 17px;
    color: #ccc;
    line-height: 1.6;
}

.ai-text .btn-outline {
    margin-top: 20px;
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25);
    transition: all 0.3s ease-in-out;
    z-index: 1;
    position: relative;
}

.ai-text .btn-outline:hover {
    background-color: #0056b3;
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.35);
}


/* Waitlist */
.waitlist {
    padding: 80px 10%;
    background: linear-gradient(145deg, #1a1f2a, #0d1117);
    text-align: center;
    color: #fff;
    position: relative;
}

.waitlist h2 {
    font-size: 26px;
    margin-bottom: 30px;
    font-weight: 700;
}

.waitlist form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.waitlist input[type="email"] {
    padding: 12px;
    font-size: 16px;
    width: 260px;
    border-radius: 6px;
    border: none;
    outline: none;
    background-color: #1e2633;
    color: #fff;
}

.waitlist button {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.waitlist button:hover {
    background-color: #0056b3;
}

/* Clients Section */
.clients {
    padding: 80px 10%;
    background-color: #0d1117;
    color: white;
    text-align: center;
}

.clients h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.client-subheading {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 30px;
}

.client-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.client-item {
    background-color: #1e1e2f;
    padding: 20px 30px;
    border-radius: 8px;
    font-weight: 600;
    color: #007BFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.success-message {
    display: none;
    color: green;
    margin-top: 10px;
    font-weight: 600;
}

@keyframes pulse-bg {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

/* Consent banner — matches site style */
.consent-banner[hidden] {
    display: none !important;
}

.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    /* above navbar (1000) */
    background: #1b1f26;
    /* site navbar color */
    color: #ccc;
    /* site body text color */
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 -8px 20px rgba(0, 123, 255, 0.08);
    padding: 14px 0;
    /* vertical rhythm */
    transform: translateY(100%);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
}

/* container width matches sections (10%) */
.consent-inner {
    margin: 0 10%;
    display: flex;
    align-items: center;
    gap: 16px;
    line-height: 1.5;
}

/* actions (buttons) */
.consent-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

/* Buttons styled like site */
.consent-btn {
    font-family: inherit;
    font-weight: 600;
    border-radius: 6px;
    padding: 10px 16px;
    border: 2px solid #007BFF;
    background: transparent;
    color: #007BFF;
    cursor: pointer;
    transition: all .2s ease;
}

.consent-btn:hover {
    background: rgba(0, 123, 255, 0.1);
}

.consent-btn.accept {
    background: #007BFF;
    /* like .btn */
    color: #fff;
    border-color: #007BFF;
}

.consent-btn.accept:hover {
    background: #0056b3;
}

.consent-link {
    color: #007BFF;
    text-decoration: underline;
}

.consent-link:hover {
    color: #0056b3;
}

/* Slide in when we add .show */
.consent-banner.show {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    #consent-banner .consent-inner {
        margin: 0 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    #consent-banner .consent-actions {
        margin-left: 0;
        justify-content: flex-end;
    }

    #consent-banner .consent-btn {
        padding: 8px 14px;
    }


    .hero,
    .about {
        flex-direction: column;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .service-cards,
    .client-list,
    .ai-content {
        flex-direction: column;
        align-items: center;
    }

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

/* Footer */
.footer {
    background-color: #1b1f26;
    padding: 25px 10%;
    text-align: center;
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-content p {
    font-size: 14px;
    color: #aaa;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007BFF;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

/* Mobile-only layout (does NOT affect desktop) */
@media (max-width: 768px) {
    .logo {
        order: 1;
    }

    .menu-toggle {
        order: 2;
        margin-left: auto;
        /* push to the far right */
    }

    .navbar {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding: 14px 16px;
        gap: 8px;
    }

    .menu-toggle {
        display: inline-block;
        margin-left: 8px;
    }

    /* Hide menu items & CTA until opened */
    .nav-links,
    .btn-outline {
        display: none;
    }

    /* When opened: stack links vertically */
    .navbar.open {
        flex-wrap: wrap;
        /* lets links drop to next line */
        align-items: flex-start;
    }

    .navbar.open .nav-links {
        order: 3;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 8px;
        width: auto;
        /* don’t stretch full width */
        margin-left: auto;
        /* anchor to the right edge */
        align-items: flex-end;
        /* right-align each link */
        text-align: right;
    }

    /* GET STARTED button below Services, smaller on mobile */
    .navbar.open .btn-outline {
        display: inline-block;
        flex: 0 0 100%;
        order: 4;
        /* ensures it's after nav links */
        margin-top: 6px;
        align-self: flex-start;
        padding: 8px 16px;
        /* smaller padding */
        font-size: 14px;
        width: fit-content;
        display: none;
    }

    /* Hero: tighter padding; hide big image */
    .hero {
        padding: 150px 16px 40px !important;
    }

    .hero-image {
        display: none !important;
    }

    .hero-content {
        padding: 0;
    }

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

    /* About: remove image on mobile */
    .about {
        padding: 48px 16px 40px;
    }

    .about-image {
        display: none;
    }

    .about-text p:last-of-type {
        margin-bottom: 14px;
    }

    /* Stack service cards nicely */
    .service-cards {
        flex-direction: column;
        gap: 16px;
    }

    .card {
        width: 100%;
        height: auto;
        padding: 24px;
    }

    /* Keep AI FP&A section tidy */
    .ai-content {
        max-width: 100%;
    }
}

/* Utility: visually hide elements but keep them for screen readers & SEO */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

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

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-color, #0d1117);
    border: 1px solid var(--border-color, #30363d);
    border-radius: 8px;
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color, #e6edf3);
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background-color: var(--hover-bg, #21262d);
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-left: 1rem;
    }

    .dropdown.active .dropdown-menu {
        max-height: 200px;
    }

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

    .dropdown-menu a {
        padding: 0.5rem 0;
        font-size: 0.9rem;
        color: var(--text-secondary, #8b949e);
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0;
    }
}

/* Case Study: base container spacing */
.cs-section {
    padding: 80px 10%;
}

.cs-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Section 2: Results – centered, larger heading, divider, larger cards */
.cs-results {
    text-align: center;
}

.cs-heading {
    color: #fff;
    font-size: 42px;
    /* larger */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}

.cs-divider {
    width: 140px;
    height: 2px;
    margin: 14px auto 22px;
    background: linear-gradient(90deg, transparent, #007BFF, transparent);
    border-radius: 2px;
}

.cs-sub {
    color: #a9b1ba;
    font-size: 22px;
    /* smaller than heading */
    margin-bottom: 30px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.result-card {
    background: #1b1f26;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0, 123, 255, .07);

    /* Make them large and square, center content */
    aspect-ratio: 1 / 1;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.result-card h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

.result-card .muted {
    color: #9aa4af;
    font-size: 30px;
}

.cs-footnote {
    margin-top: 22px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.cs-results .results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.cs-results .result-card {
    /* keep square shape, make a bit larger */
    aspect-ratio: 1 / 1;
    min-height: 320px;
    /* was 280px */
    padding: 32px;
    /* was ~28px */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Big emphasized values */
.result-value {
    color: #fff;
    font-weight: 800;
    font-size: 80px;
    line-height: 1;
    margin-bottom: 10px;
}

.result-emph {
    color: #fff;
    font-weight: 800;
    font-size: 28px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .results-grid {
        grid-template-columns: 1fr;
    }

    .result-card {
        min-height: 240px;
    }

    .cs-heading {
        font-size: 34px;
    }

    .cs-results .results-grid {
        grid-template-columns: 1fr;
    }

    .cs-results .result-card {
        min-height: 280px;
    }
}

/* Future Section */
.cs-future {
    text-align: center;
}

.cs-future .cs-hero-sub {
    margin-top: 10px;
}

.cs-pilot h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}

.cs-pilot .cs-divider {
    width: 140px;
    height: 2px;
    margin: 14px auto 22px;
    background: linear-gradient(90deg, transparent, #007BFF, transparent);
    border-radius: 2px;
}

.cs-pilot .cs-sub {
    color: #a9b1ba;
    font-size: 22px;
    /* smaller than heading */
    margin-bottom: 30px;
}

.pilot-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-card {
    background: #1b1f26;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 350px;
    /* or however tall you want it */
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.1);
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
}

.step-card p {
    font-size: 16px;
    color: #ccc;
}

.step-card .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

/* Enhanced CTA Section */
.enhanced-cta {
    padding: 80px 10%;
    background: linear-gradient(145deg, #0d1117, #1b1f26);
    color: #f0f0f0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.enhanced-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
    animation: pulse-bg 6s ease-in-out infinite;
    z-index: 0;
}

.enhanced-cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
}

.enhanced-cta p {
    margin-bottom: 20px;
    color: #ccc;
    z-index: 1;
    position: relative;
}

.enhanced-cta .btn {
    margin-top: 20px;
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25);
    transition: all 0.3s ease-in-out;
    z-index: 1;
    position: relative;
}

.enhanced-cta .btn:hover {
    background-color: #0056b3;
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.35);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 10%;
    background-color: #0d1117;
    color: white;
    text-align: center;
}

.testimonials h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #fff;
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.testimonial-card {
    background: #1b1f26;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 350px;
    /* or however tall you want it */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.1);
}

.testimonial-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
}

.testimonial-card p {
    font-size: 16px;
    color: #ccc;
    flex-grow: 1;
}

.testimonial-card .author {
    margin-top: 15px;
    font-weight: 600;
    color: #007BFF;
}

/* FAQ Section */
.faq {
    padding: 80px 10%;
    background-color: #1b1f26;
    color: white;
}

.faq h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.faq-item {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.faq-item:hover {
    background: rgba(0, 123, 255, 0.1);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    padding: 15px;
    margin: 0;
    color: #fff;
    cursor: pointer;
    position: relative;
}

.faq-item h3::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, #007BFF, transparent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.faq-item h3:hover::after {
    transform: scaleX(1);
}

.faq-item .faq-content {
    padding: 0 15px 15px;
    display: none;
    color: #ccc;
    line-height: 1.6;
}

.faq-item.active .faq-content {
    display: block;
}

/* Contact Section */
.contact {
    padding: 80px 10%;
    background-color: #0d1117;
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact input,
.contact textarea {
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    outline: none;
    background-color: #1e2633;
    color: #fff;
}

.contact button {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.contact button:hover {
    background-color: #0056b3;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 10%;
    background-color: #1b1f26;
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.newsletter form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter input[type="email"] {
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    outline: none;
    background-color: #1e2633;
    color: #fff;
}

.newsletter button {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.newsletter button:hover {
    background-color: #0056b3;
}

/* Enhanced Features Section */
.enhanced-features {
    padding: 80px 10%;
    background: linear-gradient(145deg, #0d1117, #1b1f26);
    color: #f0f0f0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.enhanced-features::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
    animation: pulse-bg 6s ease-in-out infinite;
    z-index: 0;
}

.enhanced-features h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
}

.enhanced-features p {
    margin-bottom: 20px;
    color: #ccc;
    z-index: 1;
    position: relative;
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.feature-card {
    background: #1b1f26;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 350px;
    /* or however tall you want it */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.1);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
}

.feature-card p {
    font-size: 16px;
    color: #ccc;
}

/* Case Studies: hover effect for result cards */
.cs-results .result-card {
    transition: transform 250ms ease, box-shadow 250ms ease;
    will-change: transform, box-shadow;
}

.cs-results .result-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 123, 255, 0.18), 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Global muted text (used across pages) */
.muted {
    color: #9aa4af;
}

/* Events page: centered hero-style section */
.events-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    /* match site spacing and background vibe */
    padding: 150px 10% 100px;
    min-height: 100vh;
    text-align: center;
    background: linear-gradient(145deg, #0d1117, #1b1f26);
    position: relative;
    overflow: hidden;
}

.events-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
    animation: pulse-bg 6s ease-in-out infinite;
    z-index: 0;
}

.events-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    z-index: 1;
}

.events-hero .muted {
    margin-top: 12px;
    font-size: 18px;
    z-index: 1;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .events-hero {
        padding: 150px 16px 40px;
        min-height: 60vh;
    }

    .events-hero h1 {
        font-size: 34px;
    }
}

/* Page filler to keep footer at bottom on short pages (events) */
.page-fill {
    min-height: 100svh;
    /* mobile-safe viewport height */
    display: flex;
    flex-direction: column;
}

/* Let the events hero consume remaining space */
.page-fill>.events-hero {
    flex: 1 0 auto;
}

/* keeps existing typography/visuals of .events-hero */

/* Team headshots */
.team-card {
    text-align: center;
}

.team-photo-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #2d3242, #181b22);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) inset;
    pointer-events: none;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Optional: placeholder style if image missing */
.team-photo:not([src]),
.team-photo[src=""] {
    background: repeating-linear-gradient(45deg, #333 0 10px, #3d3d3d 10px 20px);
}

/* Team full-image cards */
:root {
    --ra-blue: #2f8bff;
    /* Adjust to exact brand blue if different */
}

.team-card {
    position: relative;
    min-height: 400px;
    width: 100%;
    background: #0f141b center/cover no-repeat;
    background-image: var(--team-photo);
    display: flex;
    align-items: flex-end;
    padding: 1.1rem 1.15rem;
    overflow: hidden;
}

.team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.05) 100%);
    transition: opacity .35s ease;
    pointer-events: none;
}

.team-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.12), transparent 60%);
    mix-blend-mode: overlay;
    opacity: .55;
    pointer-events: none;
}

.team-card:hover::before {
    opacity: 0.9;
}

.team-info {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
}

/* Bottom-align team card text */
.team-card {
    position: relative;
    /* ensure positioning context */
    align-items: stretch;
    /* allow absolute overlay without extra space */
}

.team-card .team-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1rem 0.9rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.0) 70%);
    margin: 0;
}

.team-card h3,
.team-card p {
    margin: 0 0 .4rem;
}

/* Pulsing finance / ML banner */
.pulse-banner {
    position: relative;
    padding: 180px 1rem;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(circle at 30% 40%, rgba(47, 139, 255, 0.12), transparent 65%),
        radial-gradient(circle at 75% 60%, rgba(47, 139, 255, 0.10), transparent 70%),
        #070b11;
}

.pulse-banner::before,
.pulse-banner::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 139, 255, 0.55), rgba(47, 139, 255, 0) 70%);
    filter: blur(42px);
    opacity: 0.28;
    animation: pulseA 9s ease-in-out infinite;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.pulse-banner::after {
    width: 620px;
    height: 620px;
    opacity: 0.18;
    animation: pulseB 11s ease-in-out infinite;
}

@keyframes pulseA {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.22;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.33;
    }
}

@keyframes pulseB {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.15;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.22);
        opacity: 0.22;
    }
}

.pulse-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 1;
}

.pulse-line {
    font-size: clamp(1.9rem, 4.2vw, 3.4rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1.15;
    margin: 0;
}

.pulse-line .dot {
    color: var(--ra-blue, #2f8bff);
}

/* Slight subtle scan shimmer */
.pulse-banner .pulse-line {
    background: linear-gradient(90deg, #fff 0%, #cfe6ff 20%, #fff 40%, #fff 60%, #cfe6ff 80%, #fff 100%);
    -webkit-background-clip: text;
    color: transparent;
    animation: textSheen 8s linear infinite;
}

@keyframes textSheen {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 400% 50%;
    }
}

@media (max-width: 700px) {
    .pulse-banner {
        padding: 140px 1rem;
    }

    .pulse-line {
        letter-spacing: .5px;
    }
}