/* 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 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: #1b1f26;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.1);
    flex-wrap: wrap;
    /* allows better responsive wrapping */
    gap: 10px;
    position: fixed;
    /* make it stay in place */
    top: 0;
    /* stick to top */
    left: 0;
    /* align to left */
    width: 100%;
    /* full width */
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    /* keeps items on same line until no room */
    gap: 20px;
}

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


.logo img {
    height: 28px;
    /* Match the visual height of original text */
    width: auto;
    display: block;

}


.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

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

.nav-links a.active,
.nav-links a:hover {
    color: #007BFF;
}

.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 {
    flex: 1 1 50%;
}

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

.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: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

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

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

/* 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%;
    }
}