:root {
     --bc-navy: #172e81;
     --bc-navy-mid: #0e1d53;
     --bc-gold: #ebbf14;
     --bc-gold-light: #ebbf14cc;
     --bc-cream: #e9ecef;
     --bc-white: #FFFFFF;
     --bc-gray-100: #e9ecef;
     --bc-gray-200: #ced4d9;
     --bc-gray-500: #8f999f;
     --bc-gray-700: #5f6368;
     --bc-gray-dark: #2f2f2f;
     --bc-text: #2f2f2f;
     --bc-alert: #B03A2E;
     --bc-blue-dark: #070f2c;
     --font-display: 'HelveticaNeueLTStd-Bd', Helvetica, Arial, sans-serif;
     --font-body: 'HelveticaNeueLTStd-Roman', Helvetica, Arial, sans-serif;
     --font-headers: 'Helvetica Neue LT Std', Helvetica, Arial, sans-serif;
     --radius: 6px;
     --radius-lg: 14px;
     --shadow-sm: 0 2px 8px rgba(10,31,68,0.08);
     --shadow-md: 0 6px 24px rgba(10,31,68,0.13);
     --shadow-lg: 0 16px 48px rgba(10,31,68,0.18);
     --transition: 0.25s ease;
}

 a:hover {
     color: var(--bc-gold);
}
 a:focus-visible {
     outline: 3px solid var(--bc-gold);
     outline-offset: 3px;
     border-radius: 2px;
}

 html {
     scroll-behavior: smooth;
     
}
p{
    font-size: 16px;
}

.referrHero{
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 600px;
    position: relative;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.referrHero::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 35%, rgba(0,0,0,0.08) 100%);
    z-index: 5;
    pointer-events: none;
}

.referrTitle{
  color: #ffffff;
  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.referrHeroTxt{
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.55);
}

.refContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    width: 100%;
    z-index: 10;
}

.max-w-2xl {
    max-width: 680px;
}

/* Styles for injected form inside #formContainer */
#formContainer{
    background: #ffffff;
    border-radius: 12px;
    /* stronger shadow for more noticeable elevation */
    box-shadow: 0 30px 60px -12px rgba(23,46,129,0.18), 0 10px 30px -8px rgba(10,31,68,0.06);
    border: 1px solid rgba(23,46,129,0.04);
    padding: 2em 5%;
}

/* Vertical spacing between direct children of the form to mimic .space-y-6 */
#formContainer form > * + * {
    margin-top: 1.5em;
}

/* Style inputs/selects/textareas inside the injected form to match referal-code */
#formContainer input[type="text"],
#formContainer input[type="email"],
#formContainer input[type="tel"],
#formContainer textarea,
#formContainer select {
    width: 100%;
    padding: 0.75em 1em;
    border: 1px solid var(--bc-gray-200);
    border-radius: 0.5em; /* rounded-lg */
    background: var(--bc-gray-100);
    box-sizing: border-box;
}

/* Focus state similar to focus:border-secondary + ring */
#formContainer input:focus, #formContainer textarea:focus, #formContainer select:focus {
    border-color: var(--bc-navy);
    box-shadow: 0 0 0 4px rgba(23,46,129,0.06);
    outline: none;
}

/* Submit button — full width and hero CTA style (rounded-xl) */
#formContainer button[type="submit"],
#formContainer input[type="submit"]{
    width: 100%;
    background: var(--bc-gold);
    color: #000000;
    border: none;
    padding: 1em 1.25em;
    border-radius: 0.75em; /* rounded-xl */
    font-weight: 700;
    cursor: pointer;
}

#formContainer button[type="submit"]:hover,
#formContainer input[type="submit"]:hover{
    background: #f2c200; /* slightly brighter gold for contrast with black text */
    box-shadow: 0 8px 20px -6px rgba(10,31,68,0.12);
    transform: translateY(-1px);
}

#formContainer button[type="submit"]:focus-visible,
#formContainer input[type="submit"]:focus-visible{
    outline: 3px solid rgba(23,46,129,0.16);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(23,46,129,0.06);
}

/* Match label, helper text and spacing from referal-code-2026--1.html */
#formContainer label{
    display: block;
    font-weight: 600;
    color: var(--bc-gray-700);
    margin-bottom: 8px;
    font-size: 14px;
}

#formContainer .help-text, #formContainer .hint {
    font-size: 12px;
    color: var(--bc-gray-500);
    margin-top: 8px;
}



.refbggrey{
    background-color: var(--bc-gray-100);
    padding: 3% 0;
}

.refbggreyStrong    {
    background-color: var(--bc-gray-200);
    padding: 3% 0;
}

.refbgwhite    {
    background-color: var(--bc-white);
    padding: 3% 0;
}

/* Placeholder color */
#formContainer input::placeholder, #formContainer textarea::placeholder{
    color: var(--bc-gray-500);
}

/* Simple responsive two-column grid inside the form when appropriate */
#formContainer .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    #formContainer .grid.md-cols-2, #formContainer .grid.md-grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Center reCAPTCHA / hCaptcha widgets inside the injected form */
#formContainer .g-recaptcha,
#formContainer .g-recaptcha > div,
#formContainer .g-recaptcha iframe,
#formContainer .grecaptcha,
#formContainer .grecaptcha iframe,
#formContainer .h-captcha,
#formContainer .h-captcha iframe {
    display: block;
    margin: 0 auto;
}

/* Fallback for any parent wrapper the embed may use */
#formContainer .recaptcha-wrap,
#formContainer .clive-recaptcha {
    text-align: center;
}

.referrTitle {
  font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
        margin-bottom: 1.5em;
        margin:0;
        font-family: 'Helvetica Neue LT Std', helvetica, arial, sans-serif;
        font-weight: 900;
}
.referrTitleHighlight {
    color: #EBBF14;
}

/* Prominent step numerals for How It Works */
.worksNumbers{
    display: block; /* sit above the title */
    width: 64px;
    height: 64px;
    line-height: 64px;
    margin: 0 auto 0.6em;
    border-radius: 50%;
    background: var(--bc-navy);
    color: var(--bc-gold);
    font-weight: 800;
    font-size: 26px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
    .worksNumbers{
        width: 52px;
        height: 52px;
        line-height: 52px;
        font-size: 20px;
    }
}

.referrHeroTxt{
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 32em;
        color: var(--bc-white);    
margin:10px 0 20px 0;



}

.referrCtas{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.referrCtas a{
    word-break: break-word;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55em 1.25em;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.2em;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.btn-primary {
    background: var(--bc-gold);
    color: #000;
    border-color: var(--bc-gold);
}

.btn-primary:hover {
    background: #d6a800;
    color: #ffffff;
    border-color: #c79a00;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* Panel behind hero copy */
.referrPanel{
    position: relative;
    z-index: 12;
    display: inline-block;
    background: rgba(0,0,0,0.45);
    padding: 28px 32px;
    border-radius: 12px;
    max-width: 720px;
}

@media (max-width: 768px){
    .referrPanel{
        display: block;
        width: 100%;
        margin: 0 auto;
        padding: 18px 20px;
        border-radius: 10px;
        max-width: none;
        background: rgba(0,0,0,0.55);
    }
    .referrHero{
        padding-top: 60px;
        padding-bottom: 60px;
        min-height: 360px;
        align-items: flex-start;
    }
    .max-w-2xl { max-width: none; }
    .referrTitle, .referrHeroTxt { text-align: left; }
    .referrCtas { justify-content: flex-start; }

    .referrCtas a{
       font-size: 16px;
    }
    .referSectWrapper{
        padding: 10% 5% !important; 
    }
    
}

.section-white {
    background-color: var(--bc-white);
    padding-top: 50px;
    padding-bottom: 50px;
}

.px-gutter {
    padding-left: 24px;
    padding-right: 24px;
}

.max-w-container-max {
    max-width: 1200px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.mb-xl {
    margin-bottom: 2%;
}

.max-w-container-med {
    max-width: 900px;
}

.text-headline-lg {
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: var(--bc-gray-dark);
    margin: 0;
    font-family: 'Helvetica Neue LT Std', Helvetica, Arial, sans-serif;
}

.gap-lg {
    gap: 48px;
}

.grid {
    display: grid;
}

@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Vertical separators between the three "How It Works" boxes on desktop */
@media (min-width: 768px) {
    .grid.md\:grid-cols-3 > div {
        position: relative; /* required for pseudo element positioning */
    }

    /* Place the rule centered inside the column gap (half of .gap-lg = 48px -> 24px)
       and apply different heights for the first and second separators. */
    .grid.md\:grid-cols-3 > div + div::before {
        content: "";
        position: absolute;
        left: -24px; /* center the rule inside the grid gap */
        width: 1px;
        background: var(--bc-gray-200);
        opacity: 1;
        top: 0;
        bottom: 0;
    }
}

.text-headline-md {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.mb-sm {
    margin-bottom: 2%;
}

/*Splide styles*/

.testimonial-card2 {
padding: 1% 1px;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    min-height: 250px;
    align-content: center;
    align-items: center;
}

.testimonial-avatar2 {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-info2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 5%;
}

.testimonial-quote2 {
    font-size: 1em;
    line-height: 1.15;
    margin-bottom: 1em;
    font-style: italic;
}

.testimonial-name2 {
    font-weight: 600;
    color: #172e81;
    font-size: 1.2em;
}

.testimonial-origin2 {
    font-size: 1em;
    color: #5f6368;
    line-height: 1;
}

.splide__track {
    max-width: 900px;
    margin: 0 auto;
}

/* Top sticky navigation section links */
#page-nav{
    position: sticky;
    top: 218px;
    background: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 0;
    text-align: center;
    z-index: 2;
}
#page-nav ul{
    list-style: none;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    justify-content: center;
    max-width: 1200px;
}
#page-nav ul li{ 

border-right: 1px solid #e0e0e0;
padding: 0 10px;

}

#page-nav a{
    color: var(--bc-navy);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}
#page-nav a:hover{
    color: var(--bc-gold);
}
#page-nav a:focus{
    outline: 2px solid var(--bc-navy);
    outline-offset: 2px;
}
#page-nav a.active{
    color: var(--bc-navy);
    border-bottom: 2px solid var(--bc-navy);
    padding-bottom: 4px;
}


@media (max-width: 768px){
    .testimonial-card2 {
        flex-direction: column;
        min-height: auto;
    }

    .testimonial-avatar2 {
        width: 150px;
        height: 150px;
        margin-bottom: 1em;
    }

    .testimonial-info2 {
        margin: 0;
        text-align: center;
    }
    .mb-xl {
        margin-bottom: 5%;
    }

    .px-gutter {
        padding-left: 10px;
        padding-right: 10px;
    }

    #page-nav ul {
        gap: 10px;
    }
    #page-nav ul{
        padding: 0 10px;
        justify-content: center;
    }
    #page-nav ul li{
        border-left: solid 1px #e0e0e0;
        padding: 0 15px;
    }

    #page-nav{
       
    }
}

@media (max-width: 576px){

    #page-nav ul {
        width: 340px;
        gap: 10px;
    }
}

/* Subtle grey background for the testimonials area */
#lpSlider {
    background-color: var(--bc-gray-100);
    padding: 3% 0;
}

.reffIntroTxt{
    font-size: 18px;
    max-width: 1000px;
}

.splide__pagination__page {
    background: #172e81; /* inactive bullets: navy */
    border: none;
    border-radius: 50%;
    display: inline-block;
    height: 14px;
    width: 14px;
    margin: 0;
    opacity: 1;
    padding: 0;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease;
}

.splide__pagination__page.is-active {
    background: #ebbf14; /* active bullets: gold */
    border: none;
    transform: scale(1.18);
    box-shadow: 0 6px 18px rgba(23,46,129,0.12);
    z-index: 2;
}

.splide{
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    min-width: 0;
}

.splide__pagination {
    /* place pagination directly beneath the track, close to the card */
    position: relative;
    bottom: auto;
    margin-top: 12px;
    display: flex;
    gap: 12px; /* accessible spacing between bullets */
    justify-content: center;
    align-items: center;
    padding-top: 6px;
}

/* Ensure no dark background sits behind pagination bullets (override defaults) */
.splide__pagination {
    background: transparent !important;
    box-shadow: none !important;
}



.clive-form-description-wrapper{
    margin: 5% auto;
    width: 100%;
}

.clive-form-description-wrapper span {
    font-family:var(--font-body);
    font-weight: 100 !important;
    text-align: center;
        margin: 5% auto;
    width: 100%;
    display: block;
}

.refIntroCopy{
    padding: 2% 0 1% 0
}