/* =========================================================
   🌍 Global Focus Styles (Accessibility First)
   ========================================================= */

/* Remove outline only for non-keyboard focus */
:focus:not(:focus-visible) {
    outline: none;
}

/* Universal focus-visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.button:focus-visible,
.bdt-ep-accordion-title:focus-visible,
.elementor-button-wrapper:focus-visible,
iframe:focus-visible {
    outline: none;
    /* Prevent default outline if custom style exists */
    border: 2px solid #005fcc !important;
    /* High contrast border */
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.95),
        /* Inner ring - light bg fallback */
        0 0 0 4px #005fcc !important;
    /* Outer ring - high contrast */
    border-radius: 4px !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Optional: Dark theme support (if site uses dark mode) */
@media (prefers-color-scheme: dark) {

    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        box-shadow:
            0 0 0 2px rgba(0, 0, 0, 0.6),
            /* Inner ring for dark bg */
            0 0 0 4px #90c2ff;
        /* Outer blue ring */
    }
}

/* Forms: ensure visible borders and legibility */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    border-color: #005fcc;
    background-color: #ffffff;
    color: #000000;
}

input::placeholder,
textarea::placeholder {
    color: #000 !important;
    opacity: 1 !important;
}

/* Newsletter input placeholder */
.footer-newsletter input#form-fields-email::placeholder {
    color: #000000;
    opacity: 1;
}

#footer-newsletter-label {
    color: #ffffff
}

/* Recaptcha & hidden/special elements */
.grecaptcha-logo iframe:focus-visible,
a.uicore-btn:focus-visible,
a.sr-only:focus-visible {
    border: 2px solid #005fcc;
    outline: none;
    box-shadow:
        0 0 0 2px #ffffff,
        0 0 0 4px #005fcc;
    border-radius: 4px;
}

/* Screen reader only (accessible for assistive tech) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

/* Social icons fix */
.social-icons .elementor-icon-list-text {
    text-indent: 0 !important;
    white-space: normal !important;
    word-break: break-word;
    max-width: 100%;
}

/* Page background fallback */
#uicore-page {
    background-color: #ffffff;
}

/* Form input base styles */
.ui-e-field {
    background-color: #ffffff;
    border: 2px solid #4a4a4a;
    /* Contrast ratio ≥ 3:1 on white */
    color: #000000;
    padding: 8px 12px;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Placeholder text */
.ui-e-field::placeholder {
    color: #767676;
    opacity: 1;
}

/* Focus state for form fields */
.ui-e-field:focus,
.ui-e-field:focus-visible {
    border: 2px solid #005fcc;
    outline: none;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.9),
        0 0 0 4px #005fcc;
}

/* Logo carousel image handling */
.bdt-logo-carousel-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Responsive layout on small screens (400% zoom) */
@media (max-width: 420px) {
    .bdt-logo-carousel-img {
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }
}

/* Accessible focus for specific elements */
iframe[title="reCAPTCHA"]:focus-visible {
    border: 2px solid #005fcc;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.9),
        0 0 0 4px #005fcc;
    border-radius: 4px;
}

a[aria-controls]:focus-visible,
a.uicore-btn:focus-visible {
    border: 2px solid #005fcc;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.9),
        0 0 0 4px #005fcc;
    border-radius: 4px;
}

/* Icon + text inline layout */
.elementor-icon-list-item {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    align-items: center;
}

.elementor-icon-list-text {
    white-space: normal !important;
    word-break: break-word !important;
    max-width: 100%;
    display: inline-block;
}

/* Stacked layout for small screens */
@media (max-width: 420px) {
    .elementor-inline-item.elementor-icon-list-item {
        display: block;
        width: 100%;
        margin-bottom: 8px;
    }

    .elementor-icon-list-text {
        display: block;
        width: 100%;
        margin-top: 4px;
        font-size: 1rem;
    }
}

.elementor-widget-container>p>a,
.elementor-widget-container span a,
.elementor-widget-container ul li a {
    text-decoration: underline;
    color: #0066cc;
}

.uicore-nav-menu .uicore-nav .uicore-menu .menu-item > a {
  padding-left: 14px !important;
  padding-right: 14px !important;
  font-weight: 800 !important;
}

.color-primary {
  color: #576AD1 !important;
}

[name="Form newsltetter"] #footer-newsletter-label {
    display: none !important;
}

@media (max-width: 1024px) {
    .uicore-navigation-wrapper .uicore-menu {
        padding-top: 40px !important;
    }

    .uicore-navigation-wrapper .uicore-menu .menu-item {
        margin-top: 8px !important;
        margin-bottom: 8px !important;
    }
}

@media (max-width: 425px) {
    .uicore-navbar .uicore-header-wrapper .uicore-cta-wrapper {
        display: none !important;
    }
}

/* Buttons override */
.elementor-button .elementor-button-content-wrapper {
    align-items: center;
}

.elementor-button {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 58px;
}

.elementor-button.elementor-button.btn-sm,
.elementor-button:not(.bdt-offcanvas-button).btn-sm,
.btn-sm {
    padding: 2px 9px  !important;
    min-height: 36px;
}

.elementor-button.elementor-button.btn-tag,
.elementor-button:not(.bdt-offcanvas-button).btn-tag,
.btn-tag {
    padding: 2px 18px  !important;
    min-height: 36px;
}

/* ICON LIST OVERRIDE */
.elementor-widget.elementor-widget-icon-list .elementor-icon-list-icon svg {
    margin:  0 !important;
}

.elementor-widget .elementor-icon-list-icon+.elementor-icon-list-text {
    padding-inline-start: 0;
}

.elementor-button svg {
    transition: all .3s;
}


/* Static Carrousel HP override */

.bdt-ep-static-carousel-item img {
    margin-left: auto !important;
    margin-right: auto !important;
}

.hp-carroursel .bdt-ep-static-carousel-content {
    padding: 8px 0 !important;
}

.hp-carroursel .bdt-ep-static-carousel-image {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-carroursel .swiper-carousel {
    padding: 25px 25px 40px !important;
}

.hp-carroursel .bdt-ep-static-carousel-item .bdt-ep-static-carousel-text p {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 66px;
    margin: 5px 0;
    text-wrap: balance;
}

.hp-carroursel .bdt-ep-static-carousel-item .bdt-ep-static-carousel-text p:first-child {
    max-width: 230px;
    margin-left: auto;
    margin-right: auto;
}

.elementor-button-icon svg {
    width: auto !important;
}

.hp-carroursel .swiper-slide {
    overflow: visible !important;
}

.hp-carroursel .swiper-slide:not(:last-child):after  {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: -32px;
    width: 47px;
    height: 93px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg width='57' height='94' viewBox='0 0 57 94' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_250_894)'%3E%3Cpath d='M39.5765 40.0311C41.5396 42.2887 41.5396 45.6476 39.5765 47.9052L13.5276 77.8614C9.88629 82.0489 3 79.4736 3 73.9243V14.012C3 8.46267 9.88628 5.88736 13.5276 10.0749L39.5765 40.0311Z' fill='white'/%3E%3C/g%3E%3Cpath d='M25.2887 41.959C26.2371 43.0654 26.2371 44.8621 25.2887 45.9684L25.2963 45.9772L13.1561 60.1384C12.2077 61.2447 10.6674 61.2447 9.71892 60.1384C8.77047 59.032 8.77047 57.2353 9.71892 56.129L17.7087 46.8004L19.9588 43.8504L17.7087 41.1271L9.71134 31.8073C8.76289 30.7009 8.76289 28.9042 9.71134 27.7979C10.6598 26.6916 12.2001 26.6916 13.1485 27.7979L25.2887 41.959Z' fill='%23576AD1'/%3E%3Cdefs%3E%3Cfilter id='filter0_d_250_894' x='2' y='0' width='54.0488' height='87.9363' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dx='7'/%3E%3CfeGaussianBlur stdDeviation='4'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_250_894'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_250_894' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* first slide on top, eighth at the back */
.hp-carroursel .swiper-slide:nth-child(1) { z-index: 8; }
.hp-carroursel .swiper-slide:nth-child(2) { z-index: 7; }
.hp-carroursel .swiper-slide:nth-child(3) { z-index: 6; }
.hp-carroursel .swiper-slide:nth-child(4) { z-index: 5; }
.hp-carroursel .swiper-slide:nth-child(5) { z-index: 4; }
.hp-carroursel .swiper-slide:nth-child(6) { z-index: 3; }
.hp-carroursel .swiper-slide:nth-child(7) { z-index: 2; }
.hp-carroursel .swiper-slide:nth-child(8) { z-index: 1; }



/* Override strong in icon list */

.elementor-icon-list-text strong {
    font-weight: 800 !important;
}

/* Flow list, arrows separator, HP */

.list-flow >.e-child {
    position: relative;
}

.list-flow >.e-child p {
    margin-bottom: 0 !important;
}

.list-flow >.e-child:not(:last-child):after {
    display: block;
    content: '';
    position: absolute;
    left: calc(100% - 30px);
    top: 50%;
    transform: translateY(-50%);
    width: 29px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' widdth='16' height='16' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 16 16' style='enable-background:new 0 0 16 16;' xml:space='preserve'%3E%3Cpath fill='%23576AD1' d='M15.5,8.8c0.4-0.4,0.4-1.2,0-1.6L9.9,1.6c-0.4-0.4-1.2-0.4-1.6,0C7.9,2,7.9,2.7,8.3,3.2L12,6.9H1.3 C0.6,6.9,0.1,7.4,0.1,8s0.5,1.1,1.1,1.1H12l-3.7,3.7c-0.4,0.4-0.4,1.2,0,1.6c0.4,0.4,1.2,0.4,1.6,0L15.5,8.8L15.5,8.8z'/%3E%3C/svg%3E");
    background-size: 29px 25px;
}

@media (max-width: 1024px) {
    .list-flow >.e-child:not(:last-child):after {
        left: 50%;
        top: calc(100%);
        transform: rotate(90deg) translate(-55% , 15px);
    }

    .list-flow >.e-child p {
        width: auto !important;
        max-width: 100% !important;
    }
}

/* Override element blockquote */
.elementor-blockquote {
    position: relative;
}

.elementor-blockquote .elementor-blockquote__content:before {
    content: "";
    display: block !important;
    width: 19px;
    height: 19px;
    margin-bottom: 6px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 19px 19px;
    background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 19 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.603 0.702069L18.174 3.93907C17.108 3.86107 16.302 4.06907 15.756 4.56307C15.21 5.05707 14.859 5.73307 14.703 6.59107C14.547 7.44907 14.508 8.39807 14.586 9.43807H18.603V18.2521H10.959V8.26807C10.959 5.53807 11.622 3.48407 12.948 2.10607C14.3 0.702069 16.185 0.234069 18.603 0.702069ZM7.64401 0.702069L7.21501 3.93907C6.14901 3.86107 5.34301 4.06907 4.79701 4.56307C4.25101 5.05707 3.90001 5.73307 3.74401 6.59107C3.58801 7.44907 3.54901 8.39807 3.62701 9.43807H7.64401V18.2521H1.02073e-05V8.26807C1.02073e-05 5.53807 0.66301 3.48407 1.98901 2.10607C3.34101 0.702069 5.22601 0.234069 7.64401 0.702069Z' fill='%23576AD1'/%3E%3C/svg%3E%0A");
}

body .elementor-blockquote__author, 
body .elementor-blockquote__content {
    font-weight: 500;
}

.results-image-fix img {
    position: relative;
    max-width: calc(100% + 40px) !important;
    margin-right: -40px;
    margin-top: -50px;
}

@media(max-width: 768px) {
    .results-image-fix img {
        max-width: calc(100%) !important;
        margin-right: auto;
        margin-top: 0;
    }

}

.floating-cta .elementor-widget-button {
    /* text-align: right !important; */
}

.floating-cta .elementor-button {
    white-space: nowrap;
}

.floating-cta .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
}

.floating-cta {
    position: fixed !important;
    bottom: 25%;
    right: 10px;
    z-index: 8 !important;
    width: auto !important;
    padding: 0 !important;
}

@media (max-width: 560px) {
    .floating-cta {
        display: none !important;
    }
}

.uicore-navbar a.uicore-btn {
    font-weight: 900 !important;
}


.uicore-navigation-wrapper.uicore-navbar.uicore-mobile-menu-wrapper {
    z-index: 999999;
}

#results,
#how-it-works {
    scroll-margin: 20px;
}

#why-chatroi {
    scroll-margin: 60px;
}

.uicore-navigation-content,
.uicore-navigation-wrapper .uicore-menu-container {
    height: auto !important;
}

@media (max-width: 1025px) {
    .uicore-navigation-wrapper .uicore-menu-container .uicore-menu {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        width: 100%;
    }
}

#uicore-tb-footer .social-icons {
    flex: 0 0 100% !important;
}

#uicore-tb-footer .social-icons .elementor-icon-list-items {
    display: flex !important;
}

#uicore-tb-footer .footer-menu-legal .elementor-icon-list-items li {
    flex:  0 0 auto !important;
    display: inline-block !important;
    width: auto !important;
}

body .e-con>.e-con-inner>.elementor-widget>.elementor-widget-container, 
body .e-con>.elementor-widget>.elementor-widget-container {
    min-width: 10px !important;
}

@media (max-width: 1024px) {
    body .elementor-850 .elementor-element.elementor-element-67cd6b10 img {
        width: 300px;
    }
}

#uicore-tb-footer .elementor-icon-list-items,
#uicore-tb-footer .social-icons .elementor-icon-list-items {
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#uicore-tb-footer .social-icons .elementor-icon-list-items a {
    text-decoration: none !important;
}

#uicore-tb-footer .social-icons .ti {
    font-size: 26px !important;
}

#uicore-tb-footer .social-icons .elementor-icon-list-icon svg {
    height: var(--e-icon-list-icon-size, 1em) !important;
    width: var(--e-icon-list-icon-size, 1em) !important;
}

