/* ========================================
   Debt Relief Theme - Custom Styles v3.0
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    --dr-primary: #0070E0;
    --dr-primary-dark: #0058B3;
    --dr-accent: #00C9A7;
    --dr-navy: #0F172A;
    --dr-navy-mid: #1E293B;
    --dr-charcoal: #334155;
    --dr-slate: #64748B;
    --dr-border: rgba(0, 112, 224, 0.08);
    --dr-bg-light: #F8FAFC;
    --dr-bg-lighter: #F1F5F9;
    --dr-gold: #F59E0B;
    --dr-success: #10B981;
    --dr-transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --dr-shadow-sm: 0 1px 3px rgba(0,0,0,0.03);
    --dr-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --dr-shadow-lg: 0 20px 40px rgba(0, 112, 224, 0.06);
}

/* ---------- Global Smoothing ---------- */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Main content wrapper */
main.wp-block-group {
    width: 100%;
    min-height: 100vh;
    background-color: #F8FAFC;
    margin-top: 0;
    margin-bottom: 0;
    padding-right: 0;
    padding-left: 0;
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(0, 112, 224, 0.15);
    color: inherit;
}

/* ---------- Links ---------- */
a {
    transition: color var(--dr-transition), opacity var(--dr-transition);
}

/* ---------- Header — base fallback (JS overrides with liquid glass) ---------- */
#header-nav {
    transition: background 0.35s ease, border-color 0.35s ease;
    padding: 0 !important;
    margin: 0 !important;
}

#header-nav p,
#header-nav a {
    transition: color 0.35s ease, text-shadow 0.35s ease, opacity 0.2s ease;
}

#header-nav a:hover {
    opacity: 1 !important;
}

/* Modern Call-To-Action Pill Button for Header Phone */
#header-phone,
#block_header-phone {
    margin: 0 !important;
    padding: 0 !important;
}

#header-phone a,
#block_header-phone a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, var(--dr-primary) 0%, #0058B3 100%) !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 14px rgba(0, 112, 224, 0.25) !important;
    text-shadow: none !important;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, filter 0.2s ease !important;
}

#header-phone a:hover,
#block_header-phone a:hover {
    transform: translateY(-1.5px) !important;
    box-shadow: 0 6px 20px rgba(0, 112, 224, 0.35) !important;
    filter: brightness(1.08) !important;
    opacity: 1 !important;
}

#header-phone a:active,
#block_header-phone a:active {
    transform: translateY(0.5px) !important;
    box-shadow: 0 2px 8px rgba(0, 112, 224, 0.2) !important;
}

/* Keep logo image crisp and correctly sized in nav/footer. */
#header-nav .wp-block-site-logo,
#footer-section .wp-block-site-logo {
    margin: 0;
    width: auto !important;
    max-width: none !important;
}

#header-nav #nav-logo-text {
    display: flex;
    align-items: center;
    gap: 0;
}

#header-nav .wp-block-site-logo a,
#footer-section .wp-block-site-logo a,
#header-nav .custom-logo-link,
#footer-section .custom-logo-link {
    width: auto !important;
    max-width: none !important;
}

#header-nav .wp-block-site-logo img {
    width: 180px !important;
    height: auto !important;
    aspect-ratio: 965 / 264 !important;
    max-width: none !important;
    max-height: none !important;
    opacity: 1 !important;
    filter: none !important;
}

#footer-section .wp-block-site-logo img {
    width: auto !important;
    height: 64px !important;
    aspect-ratio: 965 / 264 !important;
    max-width: none !important;
    max-height: none !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    #header-nav .wp-block-site-logo img {
        width: 160px !important;
        height: auto !important;
    }

    #footer-section .wp-block-site-logo img {
        height: 52px !important;
    }
}

/* ---------- Hero Section ---------- */
#hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#hero-inner > * {
    width: 100%;
}

#hero-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#hero-section .wp-block-video video {
    width: 100%;
    display: block;
    border-radius: 20px;
}

#hero-section .wp-block-video figure {
    margin: 0;
}

/* Stats row centered below both columns */
#hero-stats {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ---------- Badge Pulse Animation ---------- */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

/* ---------- Step Cards ---------- */
#step-1,
#step-2,
#step-3 {
    transition: all var(--dr-transition);
}

#step-1:hover,
#step-2:hover,
#step-3:hover {
    transform: translateY(-4px);
    border-color: var(--dr-primary);
    box-shadow: 0 12px 32px rgba(0, 112, 224, 0.08);
}

/* ---------- Service Cards ---------- */
#service-1,
#service-2,
#service-3 {
    transition: all var(--dr-transition);
}

#service-1:hover,
#service-2:hover,
#service-3:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 112, 224, 0.2);
}

/* ---------- Feature Cards ---------- */
#feature-1,
#feature-2,
#feature-3,
#feature-4 {
    transition: all var(--dr-transition);
}

#feature-1:hover,
#feature-2:hover,
#feature-3:hover,
#feature-4:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 112, 224, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ---------- Testimonial Cards ---------- */
#testimonial-1,
#testimonial-2,
#testimonial-3 {
    transition: all var(--dr-transition);
}

#testimonial-1:hover,
#testimonial-2:hover,
#testimonial-3:hover {
    background-color: #ffffff !important;
    border-color: rgba(0, 112, 224, 0.2) !important;
    box-shadow: 0 12px 32px rgba(0, 112, 224, 0.08) !important;
    transform: translateY(-2px);
}

/* ---------- CTA Section ---------- */
#cta-inner {
    transition: all var(--dr-transition);
}

#cta-inner:hover {
    box-shadow: 0 24px 64px rgba(0, 112, 224, 0.12);
}

/* CTA Buttons */
#cta-inner .wp-block-button__link {
    transition: all var(--dr-transition);
}

#cta-inner .is-style-fill .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 112, 224, 0.5);
}

#cta-inner .is-style-outline .wp-block-button__link:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- Why Section CTA Button ---------- */
#why-choose-us .wp-block-button__link {
    transition: all var(--dr-transition);
}

#why-choose-us .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 112, 224, 0.35);
}

/* ---------- Footer ---------- */
#footer-section a:hover {
    color: #0070E0 !important;
}

/* ---------- Stats Pills ---------- */
#stat-1,
#stat-2,
#stat-3 {
    transition: all var(--dr-transition);
}

#stat-1:hover,
#stat-2:hover,
#stat-3:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.15);
}


/* ---------- Trust Bar ---------- */
#trust-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 24px 40px;
    flex-wrap: wrap;
    background-color: #ffffff;
    border: 1px solid #F1F5F9;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* Force vertical alignment and reset margins for all children */
#trust-bar > * {
    margin: 0 !important;
    display: flex;
    align-items: center;
}

#trust-bar p {
    margin: 0 !important;
    line-height: 1 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
}

/* Style the "Trusted by" text explicitly */
#trust-bar > p:first-of-type {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #94A3B8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-right: 16px !important;
}

/* Style the rest of the text */
#trust-bbb p, #trust-tp p, #trust-bar > p:nth-of-type(2), #trust-bar > p:nth-of-type(3) {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
}

/* Star color for Trustpilot */
#trust-tp p:first-of-type {
    color: #F59E0B !important;
    font-size: 16px !important;
}

#trust-bbb, #trust-tp {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
}

/* Style the vertical dividers */
#trust-bar div[style*="width:1px"] {
    height: 16px !important;
    background-color: #E2E8F0 !important;
}

/* ---------- Scroll Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply to major sections on load */
#how-it-works,
#services-section,
#why-choose-us,
#testimonials-section,
#cta-section {
    animation: fadeInUp 0.6s ease-out both;
}

/* Stagger for visual appeal */
#services-section { animation-delay: 0.05s; }
#why-choose-us { animation-delay: 0.1s; }
#testimonials-section { animation-delay: 0.15s; }
#cta-section { animation-delay: 0.2s; }

/* ---------- Button Global Styles ---------- */
.wp-block-button__link {
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Video Aspect Ratio ---------- */
.wp-block-video video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
    /* Hide hero subtitle sentence on mobile only. */
    #block_hero-subtitle,
    #hero-subtitle {
        display: none !important;
    }

    /* Tighter spacing on mobile */
    #hero-inner {
        padding-top: 100px !important;
    }

    /* Stack hero content */
    #hero-content {
        flex-direction: column !important;
    }

    #video-col,
    #quiz-container {
        width: 100% !important;
    }

    /* Steps + Services stack */
    #steps-grid,
    #services-grid {
        flex-direction: column !important;
    }

    /* Why section stack */
    #why-inner {
        flex-direction: column !important;
    }

    #why-left,
    #why-right {
        width: 100% !important;
    }

    /* Feature rows stack */
    #feature-row-1,
    #feature-row-2 {
        flex-direction: column !important;
    }

    /* Testimonials stack */
    #test-grid {
        flex-direction: column !important;
    }

    /* Footer stack */
    #footer-top {
        flex-direction: column !important;
    }

    #footer-brand {
        width: 100% !important;
    }

    /* Trust bar hide dividers */
    #trust-bar > div[style*="width:1px"] {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Stats wrap on very small screens */
    #hero-stats {
        gap: 8px !important;
    }

    #stat-1,
    #stat-2,
    #stat-3 {
        padding: 8px 12px !important;
    }
}

/* ---------- Print Styles ---------- */
@media print {
    #header-nav,
    #cta-section {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* Generated from Block responsiveStyles */
#hero-section {
    width: 100%;
    background-color: #0A1628;
    overflow: hidden;
    position: relative;
}
#hero-inner {
    width: 100%;
    max-width: 1200px;
    padding-top: 100px;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}
#trust-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding-top: 28px;
    padding-bottom: 28px;
    padding-left: 40px;
    padding-right: 40px;
    flex-wrap: wrap;
    background-color: #ffffff;
    border: 1px solid #F1F5F9;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
#trust-bbb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
}
#trust-tp {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
}
#testimonials-section {
    width: 100%;
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 40px;
    padding-right: 40px;
    background-color: #F8FAFC !important;
}
#testimonials-inner {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
#test-grid {
    display: flex;
    gap: 24px;
    flex-direction: row;
}

#testimonials-section p.has-text-align-center:first-of-type {
    color: #0070E0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}
#testimonials-section h2.wp-block-heading.has-text-align-center {
    color: #0F172A !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}
#testimonials-section p.has-text-align-center:last-of-type {
    color: #64748B !important;
    font-size: 17px !important;
}

#testimonial-1 {
    flex: 1;
    padding-top: 36px;
    padding-bottom: 36px;
    padding-left: 32px;
    padding-right: 32px;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 112, 224, 0.06) !important;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01), 0 20px 40px rgba(0, 112, 224, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
#testimonial-1:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 112, 224, 0.15) !important;
    box-shadow: 0 30px 60px rgba(0, 112, 224, 0.06) !important;
}
#testimonial-1 p:nth-of-type(2) {
    color: #475569 !important;
    line-height: 1.7 !important;
}
#t1-info p:first-of-type {
    color: #0F172A !important;
    font-weight: 700 !important;
}
#t1-info p:last-of-type {
    color: #64748B !important;
}
#t1-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

#testimonial-2 {
    flex: 1;
    padding-top: 36px;
    padding-bottom: 36px;
    padding-left: 32px;
    padding-right: 32px;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 112, 224, 0.06) !important;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01), 0 20px 40px rgba(0, 112, 224, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
#testimonial-2:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 112, 224, 0.15) !important;
    box-shadow: 0 30px 60px rgba(0, 112, 224, 0.06) !important;
}
#testimonial-2 p:nth-of-type(2) {
    color: #475569 !important;
    line-height: 1.7 !important;
}
#t2-info p:first-of-type {
    color: #0F172A !important;
    font-weight: 700 !important;
}
#t2-info p:last-of-type {
    color: #64748B !important;
}
#t2-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

#testimonial-3 {
    flex: 1;
    padding-top: 36px;
    padding-bottom: 36px;
    padding-left: 32px;
    padding-right: 32px;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 112, 224, 0.06) !important;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01), 0 20px 40px rgba(0, 112, 224, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
#testimonial-3:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 112, 224, 0.15) !important;
    box-shadow: 0 30px 60px rgba(0, 112, 224, 0.06) !important;
}
#testimonial-3 p:nth-of-type(2) {
    color: #475569 !important;
    line-height: 1.7 !important;
}
#t3-info p:first-of-type {
    color: #0F172A !important;
    font-weight: 700 !important;
}
#t3-info p:last-of-type {
    color: #64748B !important;
}
#t3-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Main header inner container — flex row: [logo+nav area] — [phone] */
#header-nav > .wp-block-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 12px 24px !important;
    gap: 0 !important;
}

/* Second-level wrapper: contains logo-wrapper + nav links
   This is the direct child of the main container that wraps everything except phone */
#header-nav > .wp-block-group > .wp-block-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Third level: logo wrapper inside the second-level wrapper */
#header-nav > .wp-block-group > .wp-block-group > .wp-block-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Nav links horizontal row */
#header-nav-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Nav links text styling */
#header-nav-links p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

/* Logo container — #nav-logo-text */
#header-nav #nav-logo-text {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Logo block vertical alignment */
#header-nav .wp-block-site-logo {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    line-height: 0 !important;
}

#header-nav .wp-block-site-logo a {
    display: flex !important;
    align-items: center !important;
    line-height: 0 !important;
}

/* Phone number alignment */
#header-phone {
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}


/* ---------- Footer ---------- */
#footer-section {
    margin-top: 0 !important;
    background-color: #F1F5F9 !important;
    width: 100%;
    padding: 64px 0 0;
    border-top: 1px solid #e2e8f0;
}

#block_apply-footer-wrap,
footer.wp-block-template-part {
    margin-top: 0 !important;
}

/* ---------- Thank-You Page ---------- */
/* Light body background so no white peeks through behind the hero. */
body:has(#thank-you-hero) {
    background-color: #F8FAFC !important;
}

/* Remove the global min-height on the content wrapper for this page. */
body:has(#thank-you-hero) main.wp-block-group,
body:has(#thank-you-hero) > .wp-block-group {
    min-height: auto;
    background-color: transparent !important;
}

/* Ensure the wrapper group doesn't add padding or constrain width. */
#thank-you-hero {
    margin-left: calc(-1 * var(--wp--style--root--padding-left, 0px));
    margin-right: calc(-1 * var(--wp--style--root--padding-right, 0px));
}

/* Remove default block group top margin for this page. */
body:has(#thank-you-hero) .wp-block-group.is-layout-flow {
    margin-top: 0;
}

/* ==========================================================================
   Modern Mobile Navigation & Hamburger Overlay Drawer (Curated HSL / Glassmorphic)
   ========================================================================== */

/* Body locking when menu drawer is open */
body.mobile-menu-open {
    overflow: hidden !important;
    height: 100vh !important;
    position: fixed !important;
    width: 100% !important;
}

/* Hamburger button styling */
#mobile-menu-trigger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    position: relative;
    outline: none;
    border-radius: 0;
}

#mobile-menu-trigger .bar {
    width: 100%;
    height: 2px;
    background-color: rgba(15, 23, 42, 0.9);
    border-radius: 99px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.35s ease;
    transform-origin: center;
}

/* Active Hamburger states (transforms to a clean cross) */
#mobile-menu-trigger.active .bar-1 {
    transform: translateY(8px) rotate(45deg);
    background-color: rgba(15, 23, 42, 0.95);
}

#mobile-menu-trigger.active .bar-2 {
    opacity: 0;
}

#mobile-menu-trigger.active .bar-3 {
    transform: translateY(-8px) rotate(-45deg);
    background-color: rgba(15, 23, 42, 0.95);
}

/* Full-Screen Glassmorphic Drawer Overlay */
#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(40px) saturate(220%) brightness(0.98);
    backdrop-filter: blur(40px) saturate(220%) brightness(0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-12px);
    box-sizing: border-box;
}

#mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Inner drawer content */
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: 440px;
    padding: 130px 32px 64px;
    box-sizing: border-box;
}

/* Drawer navigation links layout */
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
    box-sizing: border-box;
}

.mobile-menu-links a {
    font-size: 20px;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 24px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(24px);
    box-sizing: border-box;
}

/* Staggered entrance animation for links when opened */
#mobile-menu-overlay.active .mobile-menu-links a {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu-overlay.active .mobile-menu-links a:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu-overlay.active .mobile-menu-links a:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu-overlay.active .mobile-menu-links a:nth-child(3) { transition-delay: 0.2s; }

.mobile-menu-links a:hover,
.mobile-menu-links a:active {
    background: rgba(0, 112, 224, 0.06);
    border-color: rgba(0, 112, 224, 0.15);
    color: #0070E0;
    transform: translateY(-2px);
}

.mobile-menu-links a svg {
    color: #0070E0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-links a:hover svg {
    transform: translateX(4px);
}

/* Drawer footer & call button layout */
.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
    box-sizing: border-box;
}

#mobile-menu-overlay.active .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-footer p {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    padding: 0;
}

.mobile-phone-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: linear-gradient(135deg, var(--dr-primary) 0%, #0058B3 100%) !important;
    color: #ffffff !important;
    padding: 16px 36px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 112, 224, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
}

.mobile-phone-btn:hover,
.mobile-phone-btn:active {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 112, 224, 0.35) !important;
    filter: brightness(1.08) !important;
}

.mobile-phone-btn svg {
    flex-shrink: 0;
}

/* Media Query Overrides for Mobile Viewports */
@media (max-width: 768px) {
    #header-nav-links {
        display: none !important;
    }
    
    #header-phone {
        display: none !important;
    }

    #mobile-menu-trigger {
        display: flex !important;
    }

    #header-nav > .wp-block-group > .wp-block-group {
        gap: 0 !important;
    }
}

/* ==========================================================================
   Premium Multi-Step Quiz & Calculator Styling Overrides
   ========================================================================== */

/* Main Glassmorphic Wrapper */
.debt-relief-quiz-wrapper {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    background: rgba(255, 255, 255, 0.78) !important;
    border: 1px solid rgba(0, 112, 224, 0.08) !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px -10px rgba(0, 112, 224, 0.05), 
                0 20px 40px -15px rgba(0, 112, 224, 0.03), 
                0 30px 60px -20px rgba(15, 23, 42, 0.08) !important;
    padding: 30px 24px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Title Gradient Overrides */
.debt-relief-quiz-wrapper .drq-title {
    background: linear-gradient(135deg, var(--dr-primary) 0%, var(--dr-accent) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 800 !important;
    font-size: 28px !important;
    letter-spacing: -0.02em !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
}

/* Benefits checklist badges */
.debt-relief-quiz-wrapper .drq-benefits-list li {
    font-size: 14.5px !important;
    color: var(--dr-charcoal) !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
}

.debt-relief-quiz-wrapper .drq-benefits-list li span:first-of-type,
.debt-relief-quiz-wrapper .drq-benefits li::before {
    background: rgba(0, 112, 224, 0.08) !important;
    color: var(--dr-primary) !important;
    border-radius: 50% !important;
    width: 22px !important;
    height: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    flex-shrink: 0 !important;
}

/* Standard Inputs & State Dropdowns (Step 2) */
.debt-relief-quiz-wrapper .drq-amount-select-wrapper::after {
    display: none !important;
}

/* Color generic green icons with our brand Mint color */
.debt-relief-quiz-wrapper .drq-icon-green svg {
    stroke: var(--dr-accent) !important;
}

.debt-relief-quiz-wrapper .drq-form-field input,
.debt-relief-quiz-wrapper .drq-form-field select {
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    min-height: 52px !important;
    font-size: 15px !important;
    color: var(--dr-navy) !important;
    background-color: #ffffff !important;
    transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    box-shadow: var(--dr-shadow-sm) !important;
}

.debt-relief-quiz-wrapper .drq-form-field input:focus,
.debt-relief-quiz-wrapper .drq-form-field select:focus {
    border-color: var(--dr-primary) !important;
    box-shadow: 0 0 0 4px rgba(0, 112, 224, 0.08) !important;
}

/* Radio/Checkbox Option Cards */
.debt-relief-quiz-wrapper .drq-option-card {
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: #ffffff !important;
    box-shadow: var(--dr-shadow-sm) !important;
}

.debt-relief-quiz-wrapper .drq-option-card:hover {
    border-color: #94a3b8 !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04) !important;
}

.debt-relief-quiz-wrapper .drq-option-card.selected {
    border-color: var(--dr-primary) !important;
    background: #f0f7ff !important;
    box-shadow: 0 0 0 1px rgba(0, 112, 224, 0.1) !important;
}

.debt-relief-quiz-wrapper .drq-option-label {
    color: var(--dr-navy) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

/* Secondary Button Overrides (Back buttons) */
.debt-relief-quiz-wrapper .drq-btn-secondary {
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    color: var(--dr-charcoal) !important;
    font-weight: 600 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: #ffffff !important;
}

.debt-relief-quiz-wrapper .drq-btn-secondary:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
}

/* Step 2 Submit Button */
.debt-relief-quiz-wrapper .drq-btn-step2 {
    background: linear-gradient(135deg, var(--dr-primary) 0%, #0058B3 100%) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(0, 112, 224, 0.22) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: none !important;
    color: #ffffff !important;
    min-height: 56px !important;
}

.debt-relief-quiz-wrapper .drq-btn-step2:hover {
    transform: translateY(-1.5px) !important;
    box-shadow: 0 6px 20px rgba(0, 112, 224, 0.32) !important;
    filter: brightness(1.04) !important;
}

.debt-relief-quiz-wrapper .drq-btn-step2:active {
    transform: translateY(0.5px) !important;
    box-shadow: 0 2px 8px rgba(0, 112, 224, 0.15) !important;
}

/* Step 2 Progress Indicators */
.debt-relief-quiz-wrapper .drq-step2-badge {
    border-radius: 6px !important;
    background: var(--dr-primary) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    padding: 6px 12px !important;
}

.debt-relief-quiz-wrapper .drq-prog-step.completed .drq-prog-icon,
.debt-relief-quiz-wrapper .drq-prog-step.active .drq-prog-icon {
    background: var(--dr-primary) !important;
}

.debt-relief-quiz-wrapper .drq-prog-step.completed span,
.debt-relief-quiz-wrapper .drq-prog-step.active span {
    color: var(--dr-primary) !important;
}

.debt-relief-quiz-wrapper .drq-prog-line.completed {
    background: var(--dr-primary) !important;
}

.debt-relief-quiz-wrapper .drq-avatar-icon {
    background: #eff6ff !important;
}

.debt-relief-quiz-wrapper .drq-inner-card {
    border: 1px solid rgba(0, 112, 224, 0.06) !important;
    box-shadow: 0 4px 20px rgba(0, 112, 224, 0.02) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
}

/* Trust dividers on desktop & mobile responsive borders */
.debt-relief-quiz-wrapper .drq-trust-footer,
.debt-relief-quiz-wrapper .drq-trust-badges {
    border-top: 1px solid rgba(0, 112, 224, 0.08) !important;
}

.debt-relief-quiz-wrapper .center-col {
    border-left: 1px solid rgba(0, 112, 224, 0.08) !important;
    border-right: 1px solid rgba(0, 112, 224, 0.08) !important;
}

.debt-relief-quiz-wrapper .drq-trust-badges > div {
    border-left-color: rgba(0, 112, 224, 0.08) !important;
    border-right-color: rgba(0, 112, 224, 0.08) !important;
}

@media (max-width: 480px) {
    .debt-relief-quiz-wrapper {
        padding: 24px 16px !important;
        border-radius: 20px !important;
    }
}


