/* Marketing/Public Pages Common CSS */

/* Template Color Scheme */
:root {
    --base-color-brand--green: #122fdb;
    --base-color-neutral--green-1: #f1f1f1;
    --base-color-neutral--green-2: #ffffff;
    --base-color-neutral--green-3: #f0f2fe;
    --base-color-neutral--green-4: #e6eed9;
    --base-color-neutral--green-5: #464a3e;
    --base-color-neutral--green-6: #060f28;
    --base-color-neutral--mid-neutral: #d0d4c7;
    --base-color-brand--white: white;
    --base-color-neutral--black: black;
    
    /* Legacy variables mapped to Truella colors */
    --brand-primary: var(--base-color-brand--green);
    --brand-primary-dark: #92c224;
    --brand-accent: var(--base-color-brand--green);
    --brand-ink: var(--base-color-neutral--green-6);
    --dark-bg: var(--base-color-neutral--green-6);
    --dark-bg-gradient: linear-gradient(135deg, var(--base-color-neutral--green-6) 0%, #1a2a0a 100%);
    --surface: var(--base-color-brand--white);
    --surface-muted: var(--base-color-neutral--green-2);
    --border: var(--base-color-neutral--mid-neutral);
    --ink-700: var(--base-color-neutral--green-6);
    --ink-600: var(--base-color-neutral--green-5);
    --ink-500: #5a6350;
    --muted: var(--base-color-neutral--green-5);
}

/* Font smoothing for better quality */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -o-font-smoothing: antialiased;
}

.bx{color:#000 !important}

a{color:var(--base-color-brand--green)}

/* Typography */
body { 
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--base-color-neutral--green-6);
    background-color: var(--base-color-neutral--green-1);
    font-size: 1rem;
    text-rendering: optimizeLegibility;
    background: #fff !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--base-color-neutral--green-6);
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 400;
}

h1 {
    font-size: 3.75rem;
    line-height: 1;
    font-weight: 400;
}

h2 {
    font-size: 3rem;
    line-height: 1;
    font-weight: 400;
}

h3 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 400;
}

h4 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 400;
}

h5 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 400;
}

h6 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 400;
}

p {
    color: var(--base-color-neutral--green-5);
    margin-bottom: 0;
}

.lead { 
    color: var(--base-color-neutral--green-5);
    font-size: 1rem;
}

.text-muted { 
    color: var(--base-color-neutral--green-5) !important; 
}

.hero {
background: #DDD;
background: linear-gradient(180deg,rgba(221, 221, 221, 1) 0%, rgba(255, 255, 255, 1) 32%);
    position: relative;
    overflow: hidden;
    min-height: 75dvh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    pointer-events: none;
}

.hero .container { 
    position: relative; 
    z-index: 1; 
}

.hero h1 {
    color: var(--base-color-neutral--green-6);
}

.hero .lead {
    color: var(--base-color-neutral--green-5);
}

/* Truella Form Input Styles */
.form-control,
.form-select {
    border: 1px solid var(--base-color-neutral--mid-neutral);
    background-color: var(--base-color-brand--white);
    color: var(--base-color-neutral--green-6);
    border-radius: 14px;
    height: auto;
    min-height: 2.75rem;
    margin-bottom: 0;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
}

.form-control:focus,
.form-select:focus {
    border-color: #000;
    box-shadow: none;
    outline: none;
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

/* Form Label - Auth Pages */
.form-label {
    font-size: 0.9rem;
    color: #060f28 !important;
}

/* Cards with Truella styling */
.card {
    background-color: var(--base-color-brand--white);
    border: 1px solid var(--base-color-neutral--mid-neutral);
    border-radius: 20px;
}

/* Phone mockup styling with progressive image loading */
.phone-mockup { 
    margin: 0 auto; 
    position: relative;
    background: var(--base-color-neutral--green-1);
    padding: 10px;
    border-radius: 30px;
}

.phone-mockup img { 
    width: 100%; 
    height: auto; 
    border-radius: 24px; 
    opacity: 0;
    transition: opacity 0.6s ease;
}

.phone-mockup img.loaded {
    opacity: 1;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 24px;
    z-index: -1;
    opacity: 1;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.phone-mockup.loaded::after,
.phone-mockup:has(img.loaded)::after {
    opacity: 0;
}

/* Truella Section Backgrounds */
.section-light { 
    background: var(--base-color-brand--white); 
}

.section-muted-new { 
    background: var(--base-color-neutral--green-2); 
}

.section-dark { 
    background: var(--base-color-neutral--green-6); 
    color: var(--base-color-brand--white); 
}

/* Enhanced footer styling */
footer.section-dark {
    background: var(--dark-bg);
    position: relative;
}

footer.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--brand-accent) 50%, transparent 100%);
}

footer .container > .row {
    position: relative;
}

footer h6 {
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    margin-bottom: 1.25rem;
}

footer .list-unstyled li {
    margin-bottom: 0.75rem;
}

footer .list-unstyled a {
    transition: all 0.2s ease;
    display: inline-block;
}

footer .list-unstyled a:hover {
    color: var(--brand-accent) !important;
    transform: translateX(4px);
    text-decoration: none !important;
}

footer .border-top {
    border-color: rgba(255,255,255,0.1) !important;
}

.section-dark h2, 
.section-dark h3 { 
    color: #ffffff; 
}

.section-dark .text-muted { 
    color: rgba(255,255,255,0.7) !important; 
}

/* Partner logos */
.partners-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center; 
    gap: 2rem; 
    opacity: 0.6; 
}

.partners-grid img { 
    max-height: 40px; 
    filter: grayscale(100%); 
    transition: opacity 0.2s, filter 0.2s; 
    object-fit: contain; 
}

.partners-grid img:hover { 
    opacity: 1; 
    filter: grayscale(0%); 
}

/* Truella Button Styles */
.btn-hero,
.btn-primary {
    background-color: var(--base-color-brand--green);
    color: var(--base-color-brand--white);
    text-align: center;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 3px #cad0f5;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero:hover,
.btn-primary:hover {
    box-shadow: 0 6px #dbe0fd;
    color: var(--base-color-brand--white);
}

.btn-hero:active,
.btn-primary:active {
    transform: translateY(6px);
    box-shadow: 0 0 #dbe0fd;
}

/* CTA Button - Copy of btn-primary */
.btn-modal {
    background-color: var(--base-color-brand--green);
    color: var(--base-color-neutral--green-6);
    text-align: center;
    border-radius: 8px;
    padding: 0.4rem 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 3px #92c224;
    border: none;
}

.btn-modal:hover {
    background-color: var(--base-color-brand--green);
    color: var(--base-color-neutral--green-6);
    box-shadow: 0 6px #92c224;
}

.btn-modal:active {
    background-color: var(--base-color-brand--green);
    color: var(--base-color-neutral--green-6);
    transform: translateY(6px);
    box-shadow: 0 0 #dbe0fd;
}

/* Enhanced section spacing - improved vertical rhythm */
.section-space { 
    padding-top: 4.5rem !important; 
    padding-bottom: 4.5rem !important; 
}

@media (min-width: 992px) { 
    .section-space { 
        padding-top: 6.5rem !important; 
        padding-bottom: 6.5rem !important; 
    }
}

/* Truella Navbar - matching reference */
.marketing-nav { 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030; 
    transition: box-shadow .3s ease, background-color .3s ease; 
    background: var(--base-color-neutral--green-3) !important; 
    background-color: var(--base-color-neutral--green-3) !important; 
    backdrop-filter: none !important; 
    -webkit-backdrop-filter: none !important; 
    border-bottom: 0px !important; 
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.marketing-nav.is-sticky { 
    background: var(--base-color-neutral--green-3) !important;
    background-color: var(--base-color-neutral--green-3) !important;
    backdrop-filter: none !important; 
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.1); 
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.marketing-nav .navbar-brand { 
    color: var(--base-color-neutral--green-6) !important; 
    font-size: 1.25rem; 
    font-weight: 700; 
}

.marketing-nav .navbar-brand:hover { 
    color: var(--base-color-neutral--green-6) !important; 
}

.marketing-nav .navbar-brand span[style*="color: var(--brand-accent)"] {
    color: var(--base-color-brand--green) !important;
}

/* Truella Responsive Typography */
@media screen and (max-width: 991px) {
    h1 { font-size: 3.25rem; }
    h2 { font-size: 2.75rem; }
    h3 { font-size: 2.25rem; }
    h4 { font-size: 1.75rem; }
    h5 { font-size: 1.5rem; }
}

@media screen and (max-width: 767px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 2rem; }
    h4 { font-size: 1.5rem; line-height: 1.4; }
    h5 { font-size: 1.25rem; }
    h6 { font-size: 1.125rem; }
}

.marketing-nav .nav-link { 
    color: var(--base-color-neutral--green-6) !important; 
}

.marketing-nav .nav-link:hover { 
    color: var(--base-color-neutral--green-5) !important; 
}

/* Prevent white flash - ensure no default Bootstrap backgrounds */
.navbar,
.navbar.navbar-expand-lg,
.navbar.navbar-dark {
    background-color: transparent !important;
    background: transparent !important;
}

.marketing-nav.navbar,
.marketing-nav.navbar-dark {
    background-color: transparent !important;
    background: transparent !important;
}

.marketing-nav.is-sticky.navbar,
.marketing-nav.is-sticky.navbar-dark {
    background-color: var(--base-color-neutral--green-1) !important;
}

.marketing-nav .navbar-toggler { 
    border: none;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.marketing-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(160, 232, 112, 0.25);
    outline: none;
}

.marketing-nav .navbar-toggler:active {
    transform: scale(0.95);
}

.marketing-nav .navbar-toggler-icon { 
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2822, 31, 3, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Enhanced mobile menu - full screen with close button */
@media (max-width: 991px) {
    .marketing-nav .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: #fafcf7;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 2rem 1.5rem;
        padding-top: 4.5rem;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 0;
        transform: translateX(-100%);
        transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        pointer-events: none;
        overflow-y: auto;
        z-index: 1040;
    }
    
    .marketing-nav .navbar-collapse.show {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }
    
    .marketing-nav .navbar-collapse::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, var(--brand-accent) 50%, transparent 100%);
        z-index: 1;
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #122fdb;
        border: 1px solid rgba(255,255,255,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.2s ease;
        z-index: 10;
    }
    
    .mobile-menu-close:hover {
        background: rgba(160, 232, 112, 0.2);
        border-color: var(--brand-accent);
        transform: rotate(90deg);
    }
    
    .mobile-menu-close:active {
        transform: rotate(90deg) scale(0.95);
    }
    
    .marketing-nav .navbar-nav {
        gap: 0.5rem !important;
        margin-top: 2rem;
    }
    
    .marketing-nav .nav-link {
        padding: 1rem 1.25rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        display: block;
        font-size: 1.1rem;
        font-weight: 500;
    }
    
    .marketing-nav .nav-link:hover {
        background: rgba(160, 232, 112, 0.15);
        padding-left: 1.5rem;
        transform: translateX(4px);
    }
    
    .marketing-nav .nav-link.active {
        background: rgba(160, 232, 112, 0.2);
        color: var(--brand-accent) !important;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Truella Navbar Buttons */
.marketing-nav .btn-outline-secondary { 
    border: 1px solid var(--base-color-neutral--mid-neutral) !important; 
    color: var(--base-color-neutral--green-6) !important; 
    background: transparent !important; 
    border-radius: 14px;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.marketing-nav .btn-outline-secondary:hover { 
    background: var(--base-color-neutral--mid-neutral) !important; 
    border-color: var(--base-color-neutral--mid-neutral) !important; 
    color: var(--base-color-neutral--green-6) !important; 
}

.marketing-nav .btn-primary { 
    background-color: var(--base-color-brand--green);
    color: var(--base-color-neutral--green-6); 
    border: none; 
    font-weight: 500;
    border-radius: 14px;
    padding: 0.5rem 1rem;
    box-shadow: 0 3px #dbe0fd;
}

.marketing-nav .btn-primary:hover { 
    box-shadow: 0 6px #dbe0fd !important; 
    color: var(--base-color-neutral--green-6) !important; 
}

.marketing-nav .btn-primary:active {
    transform: translateY(6px);
    box-shadow: 0 0 #dbe0fd !important;
}

/* Marketing Nav CTA Button - Copy of btn-primary */
.marketing-nav .btn-cta { 
    background-color: var(--base-color-brand--green);
    color: var(--button1-bg);
    text-align: center;
    border-radius: 14px;
    padding: 0.4rem 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 3px #cad0f5;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.marketing-nav .btn-cta:hover { 
    background-color: var(--base-color-brand--green);
    color: var(--button1-bg);
    box-shadow: 0 6px #dbe0fd;
}

.marketing-nav .btn-cta:active {
    background-color: var(--base-color-brand--green);
    color: var(--button1-bg);
    transform: translateY(6px);
    box-shadow: 0 0 #dbe0fd;
}

/* Reveal on scroll */
.reveal { 
    opacity: 0; 
    transform: translateY(12px); 
    transition: opacity .45s ease, transform .45s ease; 
}

.reveal.show { 
    opacity: 1; 
    transform: none; 
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { 
        transition: none !important; 
        animation: none !important; 
    }
}

/* Smooth scroll with scroll snap - disabled for initial load */
html {
    scroll-behavior: smooth;
}

/* Disable scroll snap on initial load to prevent auto-scroll */
section[id] {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
}

/* Fluid responsive typography */
html { 
    font-size: 16px; 
}

@media (min-width: 576px) { 
    html { 
        font-size: calc(16px + 2 * ((100vw - 576px) / 384)); 
    } 
}

@media (min-width: 992px) { 
    html { 
        font-size: calc(18px + 2 * ((100vw - 992px) / 928)); 
    } 
}

@media (min-width: 1400px) { 
    html { 
        font-size: 20px; 
    } 
}

/* Backdrop blur on alternating sections */
.section-light {
    position: relative;
}

.section-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-light.reveal.show::before {
    opacity: 1;
}

.section-muted-new {
    position: relative;
}

.section-muted-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 250, 251, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-muted-new.reveal.show::before {
    opacity: 1;
}

/* Active nav link highlighting */
.marketing-nav .nav-link.active {
    color: var(--brand-accent) !important;
}

/* Truella Section Styles - Benefits Section */
.section-benefits {
    background-color: var(--base-color-neutral--green-1);
}

.padding-section-large {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.margin-bottom {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}

.margin-bottom.margin-small {
    margin-bottom: 1.5rem;
}

.margin-bottom.margin-xsmall {
    margin-bottom: 1rem;
}

.margin-bottom.margin-xxlarge {
    margin-bottom: 5rem;
}

.text-align-center {
    text-align: center;
}

.max-width-large {
    width: 100%;
    max-width: 48rem;
}

.align-center {
    margin-left: auto;
    margin-right: auto;
}

.w-layout-grid {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}

.w-embed {
    display: block;
}

.icon-embed-medium {
    color: var(--base-color-brand--green);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    display: flex;
}

.benefits-component {
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    grid-template-rows: auto;
    grid-template-columns: 1fr;
}

.benefits-row {
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
}

.benefits-card {
    background-color: var(--base-color-neutral--green-2);
    border-radius: 20px;
    flex-direction: column;
    align-items: stretch;
    display: flex;
}

.benefits-card-content {
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    padding: 2rem;
    display: flex;
}

.benefits-card-content-top {
    flex-direction: column;
    display: flex;
}

/* Truella FAQ Section Styles - from reference.css */
.faq-component {
    grid-column-gap: 2rem;
    grid-row-gap: 4rem;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    align-items: start;
    display: grid;
}

.faq-list {
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    grid-template-rows: auto;
    grid-template-columns: 100%;
    grid-auto-columns: 100%;
    align-items: start;
    justify-items: stretch;
    display: grid;
}

.faq-accordion {
    background-color: var(--base-color-neutral--green-1);
    border-radius: 20px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    display: flex;
}

.faq-question {
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    display: flex;
    color: #060f28;
    font-weight: 500;
}

.faq-icon-wrapper {
    align-self: flex-start;
    width: 2rem;
    margin-left: 1.5rem;
    display: flex;
}

.faq-answer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    overflow: hidden;
}

.icon-embed-small {
    color: var(--base-color-brand--green);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    display: flex;
}

/* Truella Footer Styles - from reference.css */
.footer-component {
    background-color: var(--base-color-neutral--green-1);
}

.padding-global {
    padding-left: 6rem;
    padding-right: 6rem;
}

.padding-vertical {
    padding-left: 0;
    padding-right: 0;
}

.padding-vertical.padding-xxlarge {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.padding-bottom.padding-xxlarge {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 5rem;
}

.padding-top.padding-medium {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 2rem;
}

.footer-top-wrapper {
    grid-column-gap: 4vw;
    grid-template-rows: auto;
    grid-template-columns: 0.25fr 1fr 0.25fr;
    justify-content: space-between;
    align-items: center;
    display: grid;
}

.footer-logo-link {
    padding-left: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--base-color-neutral--green-6);
}

.footer-logo-link:hover {
    color: var(--base-color-neutral--green-6);
    text-decoration: none;
}

.logo {
    border-radius: 0;
}

.footer-link-list {
    grid-column-gap: 1.5rem;
    grid-row-gap: 0px;
    white-space: normal;
    grid-template-rows: auto;
    grid-template-columns: max-content;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    justify-content: center;
    justify-items: start;
    display: grid;
}

.footer4-link {
    text-align: center;
    font-size: 1rem;
    text-decoration: none;
    color: var(--base-color-neutral--green-6);
}

.footer4-link:hover {
    color: var(--base-color-neutral--green-5);
}

.footer5-link {
    text-align: center;
    font-size: 12px;
    text-decoration: none;
    color: var(--base-color-neutral--green-6);
}

.footer5-link:hover {
    color: var(--base-color-neutral--green-5);
}

.footer-social-list {
    grid-column-gap: 0.75rem;
    grid-row-gap: 0rem;
    white-space: normal;
    grid-template-rows: auto;
    grid-template-columns: max-content;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    align-items: start;
    justify-items: end;
    justify-content: flex-end;
    display: grid;
    margin-left: auto;
}

.icon-embed-xsmall {
    color: var(--base-color-neutral--green-5);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
}

.line-divider {
    background-color: var(--base-color-neutral--mid-neutral);
    width: 100%;
    height: 1px;
}

.footer-bottom-wrapper {
    grid-column-gap: 1.5rem;
    grid-row-gap: 0rem;
    white-space: normal;
    grid-template-rows: auto;
    grid-template-columns: max-content;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    justify-content: center;
    display: grid;
}

.footer-credit-text {
    font-size: 12px;
    color: var(--base-color-neutral--green-5);
}

.footer-credit-text a {
    color: var(--base-color-neutral--green-6);
    text-decoration: underline;
}

.footer-credit-text a:hover {
    color: var(--base-color-brand--green);
}

@media screen and (max-width: 991px) {
    .padding-section-large {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    
    .benefits-row {
        grid-template-columns: 1fr;
    }
    
    .faq-component {
        grid-column-gap: 0rem;
        grid-row-gap: 1rem;
        grid-template-columns: 1fr;
    }
    
    .padding-global {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .padding-vertical.padding-xxlarge {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
    
    .padding-bottom.padding-xxlarge {
        padding-bottom: 4.5rem;
    }
    
    .footer-top-wrapper {
        grid-row-gap: 3rem;
        grid-template-columns: 1fr;
        justify-content: center;
        justify-items: center;
    }
}

@media screen and (max-width: 767px) {
    .padding-global {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .padding-section-large {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .benefits-card {
        border-radius: 18px;
    }
    
    .benefits-card-content {
        padding: 1.5rem;
    }
    
    .faq-accordion {
        border-radius: 18px;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-icon-wrapper {
        width: 1.75rem;
    }
    
    .faq-answer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .padding-vertical.padding-xxlarge {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .padding-bottom.padding-xxlarge {
        padding-bottom: 3rem;
    }
    
    .padding-top.padding-medium {
        padding-top: 1.5rem;
    }
    
    .footer-link-list {
        grid-column-gap: 0px;
        grid-row-gap: 1.5rem;
        grid-auto-flow: row;
        justify-items: center;
    }
    
    .footer-bottom-wrapper {
        grid-column-gap: 0rem;
        grid-row-gap: 1rem;
        grid-auto-flow: row;
        justify-items: center;
        padding-bottom: 1rem;
        display: flex;
    }
    
    .footer-credit-text {
        text-align: center;
        margin-top: 1rem;
    }
}

/* Modal styling */
.modal-content {
    background: #060f28 !important;
    border: 0px !important;
}

.modal-title {
    color: #fafcf7 !important;
}

.modal-header {
    border-bottom: none !important;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body p,
.modal-body {
    color: #fafcf7 !important;
}

.modal-footer {
    border-top: none !important;
}

.nav-tabs .nav-link {
    font-size: 0.8rem;
}

/* QR Form Styles */
.qrform .nav-tabs .nav-link {
    font-size: 14px !important;
}

.qrform .qr-type-btn {
    font-size: 14px !important;
}

.qrform h5 {
    font-size: 1.125rem !important;
}

.qrform .form-label {
    color: #6d6d6d !important;
    font-weight: 600 !important;
    font-size: 14.4px !important;
    margin-bottom: 0.5rem;
    letter-spacing: 0;
}

.qrform .step-label {
    font-size: 0.6rem !important;
}

.qrform .form-control, 
.qrform .form-select {
    padding: .375rem .75rem;
    font-size: 14px;
    min-height: auto;
}

.qrform .template-card .card-title {
    font-size: 13px !important; 
}

.qrform .mt-4 {
    margin-top: 1rem !important;
}

.qrform .mb-4 {
    margin-bottom: 1rem !important;
}

.qrform .alert {
    font-size: 14px !important;
}

/* Step number badges */
.step-number {
    width: 24px;
    height: 24px;
    background: #122fdb;
    color: #212529;
    border-radius: 0.375rem;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.5rem;
}

/* Blog Article Content Styles */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content blockquote {
    border-left: 4px solid #122fdb;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

/* Back to Blog button - match brand colors */
.btn-back-to-blog {
    background-color: #fff;
    border-color: #060f28;
    color: #060f28;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-back-to-blog:hover {
    background-color: #122fdb;
    border-color: #122fdb;
    color: #ffffff;
}

.btn-back-to-blog:focus {
    box-shadow: 0 0 0 0.2rem rgba(18, 47, 219, 0.25);
    border-color: #122fdb;
}

