﻿
:root {
    --navy: #2b3077;
    --navy-700: #23286a;
    --navy-900: #1a1e54;
    --green: #86c440;
    --green-600: #74b033;
    --ink: #1b1f3a;
    --muted: #5b6079;
    --bg-soft: #f6f7fb;
    --line: #e7e9f3;
}

* {
    -webkit-font-smoothing: antialiased;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

* {
    max-width: 100%;
}

img {
    height: auto;
}

.container, .row, .col-12, [class*='col-'] {
    min-width: 0;
}

.hero p.lead {
    max-width: 100%;
}

.section-sub {
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans',system-ui,sans-serif;
    color: var(--ink);
    background: #fff;
    font-size: 17px;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .navbar-brand, .btn {
    font-family: 'Plus Jakarta Sans',sans-serif;
    letter-spacing: -0.01em;
}

h1, h2 {
    font-weight: 800;
    color: var(--navy);
}

h3, h4, h5 {
    font-weight: 700;
    color: var(--navy);
}

.text-navy {
    color: var(--navy) !important;
}

.text-green {
    color: var(--green) !important;
}

.bg-navy {
    background: var(--navy) !important;
}

.bg-soft {
    background: var(--bg-soft) !important;
}

a {
    color: var(--navy);
    text-decoration: none;
}

    a:hover {
        color: var(--green);
    }

.section {
    padding: 96px 0;
}

.section-sm {
    padding: 64px 0;
}

@@media (max-width:768px) {
    .section {
        padding: 64px 0;
    }

    .section-sm {
        padding: 48px 0;
    }
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
    padding: 6px 14px;
    border: 1px solid rgba(134,196,64,0.35);
    border-radius: 999px;
    background: rgba(134,196,64,0.08);
    margin-bottom: 18px;
}

/* NAVBAR */
.navbar {
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(12px);
    transition: all .25s ease;
    padding: 14px 0;
    border-bottom: 1px solid transparent;
}

    .navbar.scrolled {
        padding: 8px 0;
        box-shadow: 0 8px 30px rgba(43,48,119,0.08);
        border-bottom-color: var(--line);
    }

.navbar-brand img {
    height: 38px;
    transition: height .25s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 32px;
}

.nav-link {
    font-weight: 600;
    color: var(--ink) !important;
    margin: 0 6px;
    position: relative;
}

    .nav-link::after {
        content: "";
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 4px;
        height: 2px;
        background: var(--green);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .25s ease;
    }

    .nav-link:hover::after, .nav-link.active::after {
        transform: scaleX(1);
    }

/* BUTTONS */
.btn {
    font-weight: 700;
    border-radius: 999px;
    padding: 12px 26px;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
    border-width: 2px;
}

.btn-primary-navy {
    background: var(--navy);
    color: #fff;
    border: 2px solid var(--navy);
}

    .btn-primary-navy:hover {
        background: var(--green);
        border-color: var(--green);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(134,196,64,0.35);
    }

.btn-green {
    background: var(--green);
    color: #fff;
    border: 2px solid var(--green);
}

    .btn-green:hover {
        background: var(--green-600);
        border-color: var(--green-600);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(134,196,64,0.4);
    }

.btn-outline-light-navy {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

    .btn-outline-light-navy:hover {
        background: #fff;
        color: var(--navy);
        border-color: #fff;
        transform: translateY(-2px);
    }

.btn-ghost-navy {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

    .btn-ghost-navy:hover {
        background: var(--navy);
        color: #fff;
    }

/* HERO */
.hero {
    position: relative;
    background-image: linear-gradient(120deg, rgba(15,18,55,0.92) 0%, rgba(43,48,119,0.82) 55%, rgba(43,48,119,0.55) 100%), url('../../assets/images/curbsidemall_affiliate_1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 160px 0 120px;
    overflow: hidden;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(900px 500px at 85% 20%, rgba(134,196,64,0.28), transparent 60%), radial-gradient(700px 500px at 10% 90%, rgba(134,196,64,0.14), transparent 60%);
        pointer-events: none;
    }

    .hero > * {
        position: relative;
        z-index: 1;
    }

    .hero h1 {
        color: #fff;
        font-weight: 800;
        font-size: clamp(2.2rem, 5vw, 4rem);
        line-height: 1.05;
        margin-bottom: 22px;
        text-shadow: 0 2px 24px rgba(0,0,0,0.35);
    }

        .hero h1 .accent {
            color: var(--green);
        }

    .hero p.lead {
        font-size: clamp(1.05rem,1.6vw,1.3rem);
        color: rgba(255,255,255,0.92);
        max-width: 680px;
        margin-bottom: 36px;
        text-shadow: 0 1px 12px rgba(0,0,0,0.35);
    }

    .hero .orb {
        position: absolute;
        border-radius: 50%;
        background: radial-gradient(circle at 30% 30%, rgba(134,196,64,0.85), rgba(134,196,64,0) 70%);
        filter: blur(10px);
        animation: float 9s ease-in-out infinite;
        pointer-events: none;
    }

.orb-1 {
    width: 380px;
    height: 380px;
    top: -80px;
    right: -80px;
}

.orb-2 {
    width: 240px;
    height: 240px;
    bottom: -60px;
    left: -60px;
    animation-delay: -3s;
}

@@keyframes float {
    0%, 100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-22px)
    }
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

    .hero-stats .stat strong {
        font-family: 'Plus Jakarta Sans',sans-serif;
        font-size: 1.9rem;
        color: var(--green);
        display: block;
        font-weight: 800;
    }

    .hero-stats .stat span {
        color: rgba(255,255,255,0.75);
        font-size: 1.05rem;
    }

/* SECTION TITLES */
.section-title {
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    margin-bottom: 18px;
}

.section-sub {
    color: var(--muted);
    font-size: 1.20rem;
    max-width: 720px;
}

/* INTRO CARD */
.intro-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
    color: #fff;
    border-radius: 28px;
    padding: 42px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -25px rgba(43,48,119,0.45);
}

    .intro-card::before {
        content: "";
        position: absolute;
        right: -60px;
        top: -60px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: radial-gradient(circle,rgba(134,196,64,0.5),transparent 70%);
    }

    .intro-card h3 {
        color: #fff;
    }

    .intro-card .pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(134,196,64,0.18);
        color: var(--green);
        padding: 8px 14px;
        border-radius: 999px;
        font-weight: 600;
        font-size: 1.05rem;
        margin-bottom: 18px;
    }

.metric-row {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin-top: 24px;
}

.metric {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 18px;
}

    .metric .num {
        font-family: 'Plus Jakarta Sans',sans-serif;
        font-weight: 800;
        font-size: 1.6rem;
        color: var(--green);
        display: block;
    }

    .metric .lbl {
        font-size: 1.20rem;
        color: rgba(255,255,255,0.75);
    }

/* DO grid */
.do-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 14px;
    transition: background .25s ease;
}

    .do-item:hover {
        background: var(--bg-soft);
    }

.do-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(134,196,64,0.15);
    color: var(--green);
    font-size: 1.2rem;
}

.do-item h5 {
    margin: 0 0 4px;
    font-size: 1.1rem;
}

.do-item p {
    margin: 0;
    color: var(--muted);
    font-size: 1.1rem;
}

/* BENEFIT CARDS */
.benefit {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 32px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .benefit::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--green);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform .3s ease;
    }

    .benefit:hover {
        transform: translateY(-8px);
        box-shadow: 0 24px 50px -20px rgba(43,48,119,0.25);
        border-color: transparent;
    }

        .benefit:hover::before {
            transform: scaleY(1);
        }

    .benefit .ic {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        display: grid;
        place-items: center;
        margin-bottom: 20px;
        background: linear-gradient(135deg,rgba(43,48,119,0.08),rgba(134,196,64,0.15));
        color: var(--navy);
        font-size: 1.6rem;
        transition: transform .3s ease;
    }

    .benefit:hover .ic {
        transform: scale(1.08) rotate(-4deg);
        color: var(--green);
    }

    .benefit h4 {
        font-size: 1.18rem;
        margin-bottom: 10px;
    }

    .benefit p {
        color: var(--muted);
        margin-bottom: 12px;
    }

    .benefit ul {
        padding-left: 0;
        list-style: none;
        margin: 0;
    }

        .benefit ul li {
            position: relative;
            padding-left: 22px;
            color: var(--muted);
            font-size: 1.1rem;
            margin-bottom: 6px;
        }

            .benefit ul li::before {
                content: "";
                position: absolute;
                left: 0;
                top: 9px;
                width: 8px;
                height: 8px;
                border-radius: 2px;
                background: var(--green);
            }

/* WHY (navy section) */
.why {
    background: radial-gradient(700px 400px at 90% 0%, rgba(134,196,64,0.18), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy));
    color: #fff;
}

    .why h2 {
        color: #fff;
    }

    .why .why-item {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        padding: 18px 20px;
        border-radius: 16px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
        transition: all .25s ease;
    }

        .why .why-item:hover {
            background: rgba(134,196,64,0.10);
            border-color: rgba(134,196,64,0.4);
            transform: translateY(-3px);
        }

    .why .check {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--green);
        color: #fff;
        display: grid;
        place-items: center;
        S font-weight:700;
    }

    .why .why-item h5 {
        color: #fff;
        font-size: 1.1rem;
        margin: 0 0 2px;
    }

    .why .why-item p {
        color: rgba(255,255,255,0.75);
        margin: 0;
        font-size: 1.1rem;
    }

/* IDEAL PARTNERS */
.ideal-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    height: 100%;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all .25s ease;
}

    .ideal-card:hover {
        border-color: var(--green);
        transform: translateY(-4px);
        box-shadow: 0 18px 40px -20px rgba(43,48,119,0.2);
    }

    .ideal-card .ic {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        border-radius: 14px;
        background: rgba(43,48,119,0.08);
        color: var(--navy);
        display: grid;
        place-items: center;
        font-size: 1.4rem;
        transition: all .25s ease;
    }

    .ideal-card:hover .ic {
        background: var(--green);
        color: #fff;
    }

    .ideal-card p {
        margin: 0;
        font-weight: 500;
    }

/* FORM */
.join-section {
    background: var(--bg-soft);
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    margin-top: 24px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
}

    .contact-row:last-child {
        border-bottom: none;
    }

    .contact-row .ic {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(134,196,64,0.15);
        color: var(--green);
        display: grid;
        place-items: center;
        font-size: 1.15rem;
        flex: 0 0 42px;
    }

    .contact-row .lbl {
        font-size: .78rem;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: .1em;
    }

    .contact-row .val {
        font-weight: 600;
        color: var(--navy);
    }

.form-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px -30px rgba(43,48,119,0.25);
    border: 1px solid var(--line);
}

    .form-card h3 {
        margin-bottom: 6px;
    }

    .form-card .form-label {
        font-weight: 600;
        color: var(--navy);
        font-size: .9rem;
        margin-bottom: 6px;
    }

.form-control, .form-select {
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: .98rem;
    transition: all .2s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--green);
        box-shadow: 0 0 0 4px rgba(134,196,64,0.15);
    }

    .form-control.is-valid {
        border-color: var(--green);
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%2386c440' d='M13.854 4.146a.5.5 0 010 .708l-7 7a.5.5 0 01-.708 0l-3.5-3.5a.5.5 0 11.708-.708L6.5 10.793l6.646-6.647a.5.5 0 01.708 0z'/%3e%3c/svg%3e");
    }

    .form-control.is-invalid {
        border-color: #dc3545;
    }

.invalid-feedback {
    font-size: .85rem;
}

/* FOOTER */
footer {
    background: var(--navy-900);
    color: rgba(255,255,255,0.75);
    padding: 48px 0 28px;
}

    footer .brand-block img {
        height: 36px;
        filter: brightness(0) invert(1);
        margin-bottom: 14px;
    }

    footer a {
        color: rgba(255,255,255,0.85);
    }

        footer a:hover {
            color: var(--green);
        }

    footer .divider {
        height: 1px;
        background: rgba(255,255,255,0.12);
        margin: 32px 0 18px;
    }

    footer .small {
        font-size: 1.1rem;
        color: rgba(255,255,255,0.55);
    }

/* MODAL */
.modal-content {
    border-radius: 20px;
    border: none;
}

    .modal-content .ic-success {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        background: rgba(134,196,64,0.15);
        color: var(--green);
        display: grid;
        place-items: center;
        font-size: 2.2rem;
        margin: 0 auto 16px;
    }


@@media (max-width:576px) {
    .hero {
        padding: 130px 0 80px;
    }

        .hero h1 {
            font-size: 2rem;
            line-height: 1.1;
            word-wrap: break-word;
        }

        .hero p.lead {
            font-size: 1rem;
        }

    .hero-stats {
        gap: 20px 28px;
        margin-top: 36px;
        padding-top: 24px;
    }

        .hero-stats .stat strong {
            font-size: 1.4rem;
        }

    .intro-card {
        padding: 26px;
        border-radius: 22px;
    }

        .intro-card h3 {
            font-size: 1.3rem;
        }

    .metric-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .metric {
        padding: 14px;
    }

        .metric .num {
            font-size: 1.3rem;
        }

    .section-title {
        font-size: 1.7rem;
    }

    .form-card {
        padding: 24px;
        border-radius: 20px;
    }

    .benefit {
        padding: 24px;
    }
}

@@media (max-width:380px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .metric-row {
        grid-template-columns: 1fr;
    }
}

/* Reveal helpers for hero (AOS handles the rest) */
.hero [data-aos] {
    transition-duration: .9s;
}

/* Hero collage */
.hero-collage {
    position: relative;
    min-height: 520px;
}

    .hero-collage .ph {
        position: absolute;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.1);
    }

        .hero-collage .ph img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

    .hero-collage .ph-1 {
        top: 0;
        right: 8%;
        width: 62%;
        height: 58%;
        transform: rotate(-3deg);
        animation: floaty 7s ease-in-out infinite;
    }

    .hero-collage .ph-2 {
        bottom: 6%;
        left: 0;
        width: 52%;
        height: 46%;
        transform: rotate(3deg);
        animation: floaty 9s ease-in-out infinite reverse;
    }

    .hero-collage .ph-3 {
        bottom: 0;
        right: 0;
        width: 40%;
        height: 34%;
        transform: rotate(-2deg);
        animation: floaty 8s ease-in-out infinite;
    }

    .hero-collage .badge-float {
        position: absolute;
        top: 42%;
        left: -4%;
        background: #fff;
        color: var(--navy);
        padding: 12px 16px;
        border-radius: 14px;
        font-weight: 700;
        font-size: 1.1rem;
        box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
        display: flex;
        align-items: center;
        gap: 10px;
        z-index: 3;
    }

        .hero-collage .badge-float i {
            color: var(--green);
            font-size: 1.3rem;
        }

@@keyframes floaty {
    0%, 100% {
        transform: translateY(0) rotate(var(--r,0deg));
    }

    50% {
        transform: translateY(-12px) rotate(var(--r,0deg));
    }
}

@@media (max-width:991px) {
    .hero-collage {
        min-height: 340px;
        margin-top: 40px;
    }
}

@@media (max-width:575px) {
    .hero-collage {
        min-height: 280px;
    }

        .hero-collage .badge-float {
            font-size: .75rem;
            padding: 8px 12px;
            left: 0;
        }
}

