/* Kash Software Theme Custom Overrides & Layout Fixes */
:root {
    --lp-bg: #030712;
    --lp-gold: #c5a059;
}

/* Enforce Zero Padding & 100% Full Width on main sections */
.e-con.e-con-full,
.e-con.e-con-boxed,
.e-con {
    padding: 0 !important;
    gap: 0 !important;
}

.e-con.e-con-full {
    width: 100% !important;
    max-width: 100% !important;
}

.e-con.e-con-full > .elementor-widget,
[class*="elementor-widget-kash-software-"] {
    width: 100% !important;
    max-width: 100% !important;
}

/* -------------------------------------------------------------
   GLOBAL & ELEMENTOR IMAGE FIXES
   Prevent Chromium 3000px 1500px contain-intrinsic-size distortion
   ------------------------------------------------------------- */
img,
.elementor img,
.elementor-widget img {
    contain-intrinsic-size: none !important;
}

/* Fix Elementor global img styles from squashing Webflow absolute & card images */
.elementor img.absolute-img,
img.absolute-img {
    height: 100% !important;
    width: 100% !important;
    position: absolute !important;
    inset: 0% !important;
    object-fit: cover !important;
    max-width: none !important;
}

/* Hero 3D Graphic */
.home-hero-right img {
    aspect-ratio: 586 / 598 !important;
    height: auto !important;
    width: 100% !important;
    max-width: 36.625rem !important;
    object-fit: contain !important;
    display: block !important;
}

.home-hero-right {
    opacity: 1 !important;
    visibility: visible !important;
}

/* About Section Images */
.elementor img.h-about-left-img,
img.h-about-left-img {
    object-fit: cover !important;
    border-radius: 1.5rem !important;
    width: 40% !important;
    max-width: 26rem !important;
    height: 26.25rem !important;
    aspect-ratio: 416 / 420 !important;
}

.elementor img.h-about-right-img,
img.h-about-right-img {
    object-fit: cover !important;
    border-radius: 1.5rem !important;
    width: 60% !important;
    max-width: 41.25rem !important;
    height: 26.25rem !important;
    aspect-ratio: 660 / 420 !important;
}

/* Services item image */
.elementor img.h-service-item-img,
img.h-service-item-img {
    object-fit: cover !important;
    border-radius: 1rem !important;
    width: 100% !important;
    max-width: 29.875rem !important;
    height: 25.5625rem !important;
    aspect-ratio: 478 / 409 !important;
}

.service-card-img {
    object-fit: cover !important;
    border-radius: 0.75rem !important;
    width: 100% !important;
    max-width: 24rem !important;
    height: 15.1875rem !important;
    aspect-ratio: 478 / 303 !important;
}

/* Project / Portfolio marquee images aspect ratio fix */
.h-project-img {
    aspect-ratio: 562 / 387 !important;
    height: auto !important;
    width: 35.125rem !important;
    max-width: 100% !important;
    object-fit: cover !important;
    border-radius: 1rem !important;
}

.h-project-row {
    align-items: center !important;
    width: 100% !important;
    display: flex !important;
    overflow: hidden !important;
    user-select: none !important;
    margin-bottom: 1.5rem !important;
}

.h-project-inner-row {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    width: max-content !important;
    grid-column-gap: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.h-project-inner-row:not(.reverse) {
    animation: projectMarqueeAnim 35s linear infinite !important;
    will-change: transform;
}

.h-project-row:not(.reverse):hover .h-project-inner-row {
    animation-play-state: paused !important;
}

.h-project-inner-row.reverse {
    animation: projectMarqueeReverseAnim 35s linear infinite !important;
    will-change: transform;
}

.h-project-row.reverse:hover .h-project-inner-row.reverse {
    animation-play-state: paused !important;
}

@keyframes projectMarqueeAnim {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes projectMarqueeReverseAnim {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Client Logos Marquee */
.client-row {
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    width: 100% !important;
    user-select: none !important;
}

.client-inner-row {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    width: max-content !important;
    grid-column-gap: 2.625rem !important;
    padding-left: 2.625rem !important;
    animation: clientMarqueeAnim 25s linear infinite !important;
    will-change: transform;
}

.client-row:hover .client-inner-row {
    animation-play-state: paused !important;
}

@keyframes clientMarqueeAnim {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Service Track Marquee */
.h-service-track {
    display: flex !important;
    flex-shrink: 0 !important;
    animation: serviceCtaLoop 20s linear infinite !important;
    will-change: transform;
}

.h-service-track:hover {
    animation-play-state: paused !important;
}

@keyframes serviceCtaLoop {
    0% {
        transform: translate3d(0%, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Hero 3D floating animation */
@keyframes hero3dFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateZ(0deg);
    }
    50% {
        transform: translate3d(0, -12px, 0) scale3d(1.015, 1.015, 1) rotateZ(1deg);
    }
}

.home-hero-right img {
    animation: hero3dFloat 6s ease-in-out infinite;
    will-change: transform;
}

/* Portfolio Card Container */
.h-portfolio-card {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    padding-top: 94% !important;
}

/* CTA 3D Graphic */
.cta-right-box img,
.h-cta-right img,
.cta-img-block img {
    aspect-ratio: 419 / 419 !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

/* Contact Grid Image */
.contact-grid-img {
    object-fit: cover !important;
    border-radius: 1rem !important;
    width: 44% !important;
    height: 37.5rem !important;
}

/* Full Width Image */
.full-w-img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
}

/* Testimonial Avatar */
.testimonial-profile-img {
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    width: 2.625rem !important;
    height: 2.625rem !important;
    object-fit: cover !important;
}

/* Swiper Work Slider layout */
#work-slider,
.swiper-container.work-slider,
.work-slider {
    overflow: hidden !important;
    width: 100% !important;
    position: relative !important;
}

.work-slider .swiper-wrapper,
#work-slider .swiper-wrapper {
    display: flex !important;
}

.work-slider .swiper-slide,
#work-slider .swiper-slide {
    flex-shrink: 0 !important;
}

/* Testimonial slider & Review Row Resilience */
.review-row {
    display: grid !important;
    grid-template-columns: minmax(18rem, 23.875rem) minmax(200px, 1fr) !important;
    grid-column-gap: 1.5rem !important;
    grid-row-gap: 1.5rem !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 991px) {
    .review-row {
        grid-template-columns: 1fr !important;
    }
}

.review-row .slider {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.review-row .swiper-container.testimonial-slider,
.review-row .swiper-container {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
}

.review-row .swiper-wrapper {
    display: flex !important;
    width: auto !important;
    min-width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.review-row .swiper-slide.testimonial {
    flex-shrink: 0 !important;
    height: auto !important;
    display: flex !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.review-row .testimonial-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background-color: #f1f3ed !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.review-row .testimonial-profile-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
}

.review-row .testimonial-profile-img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}

.review-row .company-stars {
    display: flex !important;
    gap: 4px !important;
    margin-bottom: 1rem !important;
}

.slider-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
}

.slider-bottom-left {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.slider-bottom-right {
    display: flex !important;
    gap: 0.75rem !important;
}

/* Scroll Highlight Whole Paragraph Animation */
.scroll-highlight {
    will-change: opacity, transform;
}

.scroll-highlight .char,
.scroll-highlight .word,
.scroll-highlight .line {
    display: inline !important;
    opacity: inherit !important;
    color: inherit !important;
    transform: none !important;
    transition: none !important;
}

/* Smooth Entrance Transition Utility */
.entrance-fade-in {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.entrance-fade-in.is-in-view {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

/* Dropdown Hover Transitions */
.dropdown-link .dropdown-link-icon {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.dropdown-link:hover .dropdown-link-icon {
    transform: scale(1);
    opacity: 1;
}

.page-wrapper {
    overflow-x: hidden;
    width: 100%;
}

/* -------------------------------------------------------------
   ON-SCROLL & HOVER INTERACTION ENHANCEMENTS
   ------------------------------------------------------------- */
.portfolio-card {
    position: relative;
    cursor: pointer;
}

.portfolio-card:hover .portfolio-card-icon-block {
    opacity: 1 !important;
    transform: scale(1) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.portfolio-card .portfolio-card-icon-block {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tool-card,
.service-card,
.practice-area-card,
.process-card,
.journal-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.tool-card:hover,
.service-card:hover,
.process-card:hover,
.journal-card:hover {
    transform: translateY(-4px) !important;
}

/* Scroll-highlight letters styling */
.scroll-highlight {
    will-change: opacity;
}

.scroll-highlight .char {
    display: inline-block;
    transition: opacity 0.2s ease;
}

/* FAQ Accordion Toggle Smooth Height & Icons */
.faq-item.w-dropdown {
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.faq-toggle {
    cursor: pointer;
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   Ensures 100% smooth layout and zero horizontal overflow
   ------------------------------------------------------------- */
html,
body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

@media (max-width: 991px) {
    .h-about-img-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
    }

    .elementor img.h-about-left-img,
    img.h-about-left-img,
    .elementor img.h-about-right-img,
    img.h-about-right-img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .contact-row {
        flex-direction: column !important;
    }

    .contact-grid-img {
        width: 100% !important;
        height: 22rem !important;
        margin-bottom: 2rem !important;
    }

    .pricing-content-row,
    .tools-content-row {
        flex-direction: column !important;
    }

    .pricing-row-left,
    .pricing-row-right,
    .tools-content-row-left,
    .tools-content-row-right {
        width: 100% !important;
    }

    .faq-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
    }

    .faq-grid-left,
    .faq-grid-right {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .home-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .home-hero-btn-group {
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
    }

    .home-hero-right {
        margin-top: 1rem !important;
    }

    .home-hero-right img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Comparison Table Horizontally Scrollable on Mobile */
    .compare-row-wraps {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        display: block !important;
        padding-bottom: 1rem !important;
    }

    .compare-header-row,
    .compare-item-row {
        min-width: 580px !important;
    }

    .tool-card-list,
    .practice-area-cards,
    .early-access-grid {
        grid-template-columns: 1fr !important;
    }

    .cta-block {
        flex-direction: column !important;
        text-align: center !important;
    }

    .cta-block-left {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .cta-block-right {
        width: 100% !important;
        margin-top: 1.5rem !important;
        display: flex !important;
        justify-content: center !important;
    }

    .cta-block-right img {
        max-width: 80% !important;
        height: auto !important;
    }
}

/* -------------------------------------------------------------
   JOURNAL ARCHIVE & CARD GRID ENHANCEMENTS
   ------------------------------------------------------------- */
.journal-cards,
.h-journal-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    column-gap: 24px !important;
    row-gap: 40px !important;
    margin-bottom: 60px !important;
}

@media (max-width: 991px) {
    .journal-cards,
    .h-journal-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 20px !important;
        row-gap: 32px !important;
    }
}

@media (max-width: 767px) {
    .journal-cards,
    .h-journal-cards {
        grid-template-columns: 1fr !important;
        row-gap: 24px !important;
    }
}

.journal-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border: 1px solid #CAD3D2 !important;
    border-radius: 16px !important;
    padding: 12px 12px 28px !important;
    background: #FFFFFF !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    overflow: hidden !important;
}

.journal-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px rgba(4, 25, 28, 0.08) !important;
    border-color: #085555 !important;
}

.journal-card-img {
    position: relative !important;
    width: 100% !important;
    height: 240px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background-color: #F1F3ED !important;
}

.journal-card-img img,
.journal-card-img .absolute-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.journal-card:hover .journal-card-img img {
    transform: scale(1.05) !important;
}

.journal-card-content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 16px 4px 0 !important;
}

.journal-card-info-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
}

.journal-card-info-divider {
    display: flex !important;
    align-items: center !important;
    color: #CAD3D2 !important;
}

.journal-card-link {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
}

/* Pagination */
.pagination-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 48px !important;
    margin-bottom: 24px !important;
}

.pagination-wrap .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid #CAD3D2 !important;
    color: #121E1D !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    background: #FFFFFF !important;
}

.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
    background: #085555 !important;
    color: #FFFFFF !important;
    border-color: #085555 !important;
}

/* -------------------------------------------------------------
   FIX ANIMATION FREEZE / STUCK OPACITY ON LOAD
   Ensure navbar, hero, cards, and animated elements are immediately visible
   even if the mouse is stationary and IX2 hasn't received mousemove/scroll.
   ------------------------------------------------------------- */
.navbar-wrapper,
.inner-hero-content,
.inner-hero-content-inner,
.all-tools-hero-cta-wrap,
.home-hero-left,
.home-hero-right {
    opacity: 1 !important;
    visibility: visible !important;
}

.navbar-wrapper {
    transform: translate3d(0px, 0rem, 0px) scale3d(1, 1, 1) !important;
}

/* Ensure above-the-fold content and entrance items reveal smoothly without staying stuck at opacity 0 */
.entrance-fade-in {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1) !important;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.entrance-fade-in.is-in-view {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1) !important;
}

/* Tool Form Enhancements */
.tool-f-input,
.tool-f-input.w-input,
.tool-f-input.select-field,
.tool-f-input.text-area {
    width: 100% !important;
    background-color: #F8FAF7 !important;
    border: 1px solid #CAD3D2 !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    color: #121E1D !important;
    font-size: 15px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    outline: none !important;
}

.tool-f-input:focus {
    border-color: #085555 !important;
    box-shadow: 0 0 0 3px rgba(8, 85, 85, 0.15) !important;
    background-color: #FFFFFF !important;
}

.input-control.tool-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
}

.input-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #121E1D !important;
}

/* -------------------------------------------------------------
   SERVICES & PRICING TESTIMONIALS / FEEDBACK CARD LOGO SIZING
   ------------------------------------------------------------- */
.feedback-card-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    text-align: center !important;
    width: 100% !important;
}

.feedback-card-bottom .feedback-card-img,
.elementor .feedback-card-bottom img.feedback-card-img,
.elementor-widget .feedback-card-bottom img,
.feedback-card-bottom img,
img.feedback-card-img,
.feedback-card-img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    object-fit: contain !important;
    border-radius: 50% !important;
    display: block !important;
    margin: 0 auto !important;
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.24), inset 0 3px 3px rgba(255, 255, 255, 0.1), inset 0 -3px 3px rgba(0, 0, 0, 0.1), 0 3px 4px -1px rgba(42, 42, 42, 0.14), 0 1px 1px rgba(42, 42, 42, 0.08) !important;
}

.feedback-card-profile {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.375rem !important;
}

/* -------------------------------------------------------------
   FOOTER: PREVENT ANIMATIONS, TRANSFORMS & LAYOUT SHIFTS
   Freeze footer elements to eliminate scroll jump and layout shifting
   ------------------------------------------------------------- */
.footer-section,
.footer,
.footer-grid,
.footer-bottom,
.footer-col,
.footer-content-col,
.footer-content-col-top,
.footer-social-block,
.footer-brand {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
}

/* Retain smooth hover styling on interactive footer links and social icons only */
.footer-link,
.social-item {
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease !important;
}

/* KASH refinements use the existing type, color, and spacing system. */
.navbar-brand img { width: 155px !important; max-width: 155px !important; height: auto; }
.footer-brand img { width: 190px !important; max-width: 100%; height: auto; }
h1, h2, h3, .h1, .h3 { text-wrap: balance; }
p, .hero-description, .text-base { text-wrap: pretty; }
.hero-description { max-width: 65ch; }
.kash-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.kash-principles p { max-width: 42ch; line-height: 1.65; }
.kash-price { font-size: clamp(1.35rem, 1.8vw, 1.8rem); line-height: 1.4; font-variant-numeric: tabular-nums; }
.price-card { display: flex; flex-direction: column; }
.price-card-top { flex: 1; }
.price-card-bottom .primary-btn { margin-top: 1.5rem; }
.kash-pricing-note { margin: 2rem auto 0; max-width: 80ch; text-align: center; }
.kash-concept-note { padding: 2rem; background: #f5f5f2; border-left: 3px solid #085555; }
.kash-policy { max-width: 78ch; margin-inline: auto; }
.kash-policy h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin-top: 2.5rem; }
.kash-guide-stack { display: grid; gap: 5rem; margin-bottom: 3rem; }
.kash-guide-stack article { max-width: 78ch; scroll-margin-top: 8rem; }
.kash-faq-detail { border-bottom: 1px solid #b8c9c5; padding: 1.25rem 0; }
.kash-faq-detail summary { cursor: pointer; line-height: 1.5; }
.kash-faq-detail > div { margin-top: 1rem; line-height: 1.7; }
.kash-table-scroll { overflow-x: auto; }
.kash-comparison { width: 100%; border-collapse: collapse; text-align: left; }
.kash-comparison caption { text-align: left; padding-bottom: 1rem; }
.kash-comparison th, .kash-comparison td { padding: 1rem; border-bottom: 1px solid #b8c9c5; vertical-align: top; }
.kash-skip-link { position: fixed; top: 0.5rem; left: 0.5rem; padding: 1rem; background: #ffbf84; color: #04191c; z-index: 10000; transform: translateY(-160%); }
.kash-skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [role="button"]:focus-visible { outline: 3px solid #ffbf84; outline-offset: 4px; }
.nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.4rem; }
@media (max-width: 767px) {
 .navbar-brand img { width: 130px !important; max-width: 130px !important; }
 .kash-principles { grid-template-columns: 1fr; gap: 2rem; }
 .kash-comparison { min-width: 640px; }
 .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
 .resources-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
 [data-w-id], [data-lp-animate], .entrance-fade-in { opacity: 1 !important; transform: none !important; }
}

/* -------------------------------------------------------------
   METRICS SECTION 4-CARD STAT GRID (Screenshot 2 Match)
   ------------------------------------------------------------- */
.h-stat-cards {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    margin-top: 2.5rem !important;
}
.h-stat-card {
    background-color: #f7f8f4 !important;
    border-radius: 1.25rem !important;
    padding: 2.75rem 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    text-align: left !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.h-stat-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05) !important;
}
.h-stat-card-number-wrap {
    display: flex !important;
    align-items: baseline !important;
    color: #085555 !important;
    font-size: clamp(2.75rem, 3.8vw, 3.75rem) !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.02em !important;
}
.h-stat-card-number {
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    line-height: 1 !important;
}
.h-stat-card-suffix {
    font-size: 0.85em !important;
    font-weight: inherit !important;
    color: inherit !important;
    margin-left: 0.05em !important;
}
.h-stat-card-label {
    font-size: 1.125rem !important;
    font-weight: 500 !important;
    color: #2b3034 !important;
    line-height: 1.35 !important;
}
.h-stat-card-desc {
    font-size: 0.875rem !important;
    color: #60686d !important;
    margin-top: 0.5rem !important;
    line-height: 1.5 !important;
}
@media (max-width: 991px) {
    .h-stat-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }
}
@media (max-width: 575px) {
    .h-stat-cards {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .h-stat-card {
        padding: 2rem 1.5rem !important;
    }
}

/* -------------------------------------------------------------
   FAQ ACCORDION DISCLOSURE STYLING
   ------------------------------------------------------------- */
.kash-faq-detail summary {
    cursor: pointer;
    line-height: 1.5;
    list-style: none;
    position: relative;
    padding-right: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kash-faq-detail summary::-webkit-details-marker {
    display: none;
}
.kash-faq-detail summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    color: #085555;
    transition: transform 0.2s ease;
}
.kash-faq-detail[open] summary::after {
    content: "−";
}

/* -------------------------------------------------------------
   TESTIMONIALS SLIDER & REVIEW ROW LAYOUT
   ------------------------------------------------------------- */
.review-row {
    display: flex !important;
    gap: 2rem !important;
    align-items: stretch !important;
}
.review-action-block {
    flex: 0 0 382px !important;
    max-width: 382px !important;
    position: relative !important;
    border-radius: 1.25rem !important;
    overflow: hidden !important;
}
.review-action-block-img img,
img.review-action-block-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
.review-row .slider,
.review-row .swiper-container {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
}
.review-row .swiper-wrapper,
.review-row .testimonial-slider-wrapper {
    display: flex !important;
    width: auto !important;
    min-width: 100% !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
    gap: 1.5rem !important;
}
.review-row .swiper-wrapper::-webkit-scrollbar {
    display: none !important;
}
.review-row .swiper-slide.testimonial {
    flex: 0 0 380px !important;
    max-width: 85vw !important;
    scroll-snap-align: start !important;
    height: auto !important;
    display: flex !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
}
@media (max-width: 991px) {
    .review-row {
        flex-direction: column !important;
    }
    .review-action-block {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 280px !important;
    }
    .review-row .swiper-slide.testimonial {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Injected Custom Sections */
.custom-injected-section {
    width: 100% !important;
    clear: both !important;
    display: block !important;
}

/* -------------------------------------------------------------
   HERO DESCRIPTION & SUBTITLE HIGH CONTRAST FIX
   On dark hero backgrounds, ensure description and secondary text
   are crisp, readable, high-contrast light slate / off-white.
   ------------------------------------------------------------- */
.inner-hero-section .text-large,
.inner-hero-section .text-base,
.inner-hero-section .neutral-400,
.inner-hero-section .neutral-500,
.inner-hero-section .accent-500:not(h1):not(h2):not(h3):not(.h1):not(.h2):not(.h3),
.inner-hero-content .text-large,
.inner-hero-content .text-base,
.inner-hero-content .neutral-400,
.inner-hero-content .neutral-500,
.inner-hero-content-inner .text-large,
.inner-hero-content-inner .text-base,
.inner-hero-content-inner .accent-500,
.inner-hero-content-inner .primary-600,
.details-hero-section .text-large,
.details-hero-section .text-base,
.details-hero-section .neutral-400,
.details-hero-section .color-a3a3a3,
.details-hero-content .text-large,
.details-hero-content .text-base,
.details-hero-content .neutral-400,
.details-hero-content .color-a3a3a3,
.all-tools-hero-cta-wrap .text-base,
.hero-desc-text {
    color: #cbd5e1 !important; /* Premium light slate for dark backgrounds */
}

/* -------------------------------------------------------------
   FORM BUTTON & RESPONSIVE LAYOUT FIXES
   Ensures card forms (early-access, inquiry, tool generator)
   have clean button alignment on desktop and 100% width on mobile.
   ------------------------------------------------------------- */
.early-access-form,
.early-access-form-block {
    width: 100% !important;
    max-width: 100% !important;
}

.early-f-inputs-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
    width: 100% !important;
}

.early-f-input-control {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.early-f-input-control .early-f-label,
.early-f-input-control .input-label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #121e1d !important;
    margin-bottom: 2px !important;
}

.early-f-input-control .early-f-input,
.early-f-input-control .w-input {
    width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    color: #0f172a !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.early-f-input-control .early-f-input:focus,
.early-f-input-control .w-input:focus {
    border-color: #085555 !important;
    box-shadow: 0 0 0 3px rgba(8, 85, 85, 0.12) !important;
    outline: none !important;
}

/* Early access submit button */
.early-f-inputs-wrap input[type="submit"],
.early-f-inputs-wrap .secondary-btn,
.early-f-inputs-wrap .primary-btn {
    align-self: flex-start !important;
    width: auto !important;
    min-width: 180px !important;
    margin-top: 6px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    border-radius: 9999px !important;
    padding: 14px 28px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-align: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

/* Disclaimer text appended below form by theme-interactions.js */
.early-access-form > p.text-base,
.kash-software-ajax-form > p.text-base {
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #64748b !important;
    text-align: left !important;
}

.early-access-form > p.text-base a,
.kash-software-ajax-form > p.text-base a {
    color: #085555 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* Mobile & Tablet Responsiveness for all form cards */
@media (max-width: 767px) {
    .early-f-inputs-wrap {
        gap: 14px !important;
    }

    .early-f-inputs-wrap input[type="submit"],
    .early-f-inputs-wrap .secondary-btn,
    .early-f-inputs-wrap .primary-btn,
    .early-access-form input[type="submit"],
    .early-access-form .secondary-btn,
    .early-access-form .primary-btn {
        width: 100% !important;
        align-self: stretch !important;
        text-align: center !important;
        display: block !important;
        box-sizing: border-box !important;
        min-height: 48px !important;
    }

    .early-access-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .early-access-grid-right {
        width: 100% !important;
    }

    .early-access-form-block {
        padding: 24px 20px !important;
    }

    .early-access-form > p.text-base,
    .kash-software-ajax-form > p.text-base {
        text-align: center !important;
    }
}

/* ==========================================================================
   Shortcode Form Wrapper & Embeds (CF7, WPForms, Kash Software Form Builder)
   ========================================================================== */
.kash-software-shortcode-form-wrap {
    width: 100%;
    position: relative;
}

.kash-software-shortcode-form-wrap .kash-software-form-card {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

/* Form embeds within dark .primary-600 background sections */
.section.primary-600 .kash-software-shortcode-form-wrap label,
.section.primary-600 .kash-software-shortcode-form-wrap .early-f-label,
.section.primary-600 .kash-software-shortcode-form-wrap .wpforms-field-label,
.section.primary-600 .kash-software-shortcode-form-wrap .wpcf7-form label {
    color: #ffffff !important;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.section.primary-600 .kash-software-shortcode-form-wrap input[type="text"],
.section.primary-600 .kash-software-shortcode-form-wrap input[type="email"],
.section.primary-600 .kash-software-shortcode-form-wrap input[type="tel"],
.section.primary-600 .kash-software-shortcode-form-wrap textarea,
.section.primary-600 .kash-software-shortcode-form-wrap select {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #04191c !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.section.primary-600 .kash-software-shortcode-form-wrap input[type="submit"],
.section.primary-600 .kash-software-shortcode-form-wrap button[type="submit"] {
    background: #00d084 !important;
    color: #04191c !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.section.primary-600 .kash-software-shortcode-form-wrap input[type="submit"]:hover,
.section.primary-600 .kash-software-shortcode-form-wrap button[type="submit"]:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
}

/* Light context embeds (Contact Page / Section) */
.lp-contact-form-wrap .kash-software-shortcode-form-wrap input[type="text"],
.lp-contact-form-wrap .kash-software-shortcode-form-wrap input[type="email"],
.lp-contact-form-wrap .kash-software-shortcode-form-wrap input[type="tel"],
.lp-contact-form-wrap .kash-software-shortcode-form-wrap textarea,
.lp-contact-form-wrap .kash-software-shortcode-form-wrap select {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 12px 14px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    background: #f8fafc;
}

.lp-contact-form-wrap .kash-software-shortcode-form-wrap input:focus,
.lp-contact-form-wrap .kash-software-shortcode-form-wrap textarea:focus,
.lp-contact-form-wrap .kash-software-shortcode-form-wrap select:focus {
    border-color: #04191c;
    background: #ffffff;
    outline: none;
}



/* Metrics stay visible in both Elementor and the public page. */
.metrics-section .h-stat-card{opacity:1!important;transform:none!important;}
