/*
Theme Name: Infine Child
Template:   infine
Theme URI: https://1.envato.market/infine-wp
Description: Life and Business Coach WordPress Theme
Author: AwaikenThemes
Author URI: https://awaikenthemes.com/
Version: 1.0.0
Text Domain: infine-child
*/

.preloader {
  background:
    radial-gradient(
      ellipse at 85% 50%,
      rgba(18, 216, 183, 0.07),
      transparent 42%
    ),
    linear-gradient(
      115deg,
      #202326 0%,
      #171c1f 65%,
      #123033 100%
    );
}

.bsiw-headerbar:not(.is-scrolled) {
        background: linear-gradient(110deg, rgb(24 29 32 / 20%) 0%, rgb(18 43 44 / 20%) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
    border-bottom: 1px solid rgba(0, 237, 255, 0.15);
}

.page-hero-lg {
    margin-top: -95px;
    padding-top: 50px;
}

/* .page-hero-lg::before {
    background: radial-gradient(ellipse at 85% 50%, rgba(18, 216, 183, 0.07), transparent 42%), linear-gradient(
293deg, #20232678 0%, #171c1fa6 65%, #123033 100%);
} */

.page-hero-lg::before, .page-hero-lg .elementor-background-video-container::before {
    background: linear-gradient(270deg, rgba(0, 79, 76, 0) 12.16%, rgba(0, 79, 76, 0.004) 12.16%, rgb(28 79 77 / 90%) 82.49%) !important;
}

/* Overlap both logo widgets in one grid cell */
.bracesure-logo-wrap {
    display: grid;
    align-items: center;
    transition: padding 0.25s ease;
}

.bracesure-logo-wrap > .elementor-element {
    grid-area: 1 / 1;
    margin-block: 0 !important;
}

/* Logo shown over the hero */
.bracesure-logo-wrap .bracesure-logo-on-hero {
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.25s ease,
        visibility 0s;
}

/* Logo shown on the white header */
.bracesure-logo-wrap .bracesure-logo-on-light {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        height 0.25s ease,
        visibility 0s linear 0.25s;
}

/* Fade out the white-wordmark logo */
.bracesure-header.is-scrolled
.bracesure-logo-on-hero {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0s linear 0.25s;
}

/* Fade in the dark-wordmark logo */
.bracesure-header.is-scrolled
.bracesure-logo-on-light {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 0.25s ease,
        visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
    .bracesure-logo-wrap .bracesure-logo-on-hero,
    .bracesure-logo-wrap .bracesure-logo-on-light {
        transition: none;
    }
}

.ekit-sticky--top:nth-child(3) .bracesure-logo-wrap .bracesure-logo-on-hero {
    display: none;
}

.bracesure-logo-on-light img {
    max-width: max-content;
}

.bracesure-header.is-scrolled {

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-bottom: 1px solid rgba(0, 127, 131, 0.14);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);

    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.bracesure-header.is-scrolled .bracesure-logo-wrap {
    padding-bottom:10px;
}

/* Header base style */
.bracesure-header {
    background-color: transparent !important;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* Dark translucent gradient while over the hero */
.bracesure-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background: linear-gradient(
        110deg,
        rgb(24 29 32 / 20%) 0%,
        rgb(18 43 44 / 20%) 100%
    );

    opacity: 1;
    transition: opacity 0.25s ease;
}

/* Keep header contents above the gradient layer */
.bracesure-header > * {
    position: relative;
    z-index: 1;
}

/* Scrolled header: lighter translucent off-white */
.bracesure-header.is-scrolled {
    background-color: rgb(252 254 254 / 88%) !important;
    border-bottom: 1px solid rgba(0, 127, 131, 0.12);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);

    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* Fade out the dark gradient on scroll */
.bracesure-header.is-scrolled::before {
    opacity: 0;
}

/* Light-background logo: normal size */
.bracesure-logo-on-light img {
    height: 50px;
    width: auto;
    max-height: none;
    max-width: 100%;
    object-fit: contain;

    transition: height 0.25s ease;
}

/* Once the logo has faded in, shrink it */
.bracesure-header.is-scrolled
.bracesure-logo-on-light img {
    height: 40px;

    transition: height 0.25s ease 0.25s;
}

.bracesure-header > .e-con-inner {
    transition: padding 0.25s ease;
}

.bracesure-header.is-scrolled > .e-con-inner {
    padding: 0;
    transition: padding 0.25s ease;
}

.bracesure-header .main-nav li > a {
    transition: color 0.25s ease;
}


.bracesure-header.is-scrolled .main-nav .elementskit-navbar-nav > li > a {
    color: #898989;
    transition: color 0.25s ease;
}


.bracesure-header.is-scrolled .main-nav .elementskit-navbar-nav > li.current-menu-ancestor > a,
.bracesure-header.is-scrolled .main-nav .elementskit-navbar-nav > li.current-menu-ancestor > a .elementskit-submenu-indicator {
color: #31BFCE;
}

.free-review-btn span.elementor-button-text::after {
    content: "➜";
    font-size: 1.4em;
    font-weight: 900;
    line-height: 1;
    padding-top: 10px;
    vertical-align: bottom;
}

.hero-btn-default span.elementor-button-text::before {
  content: "\260E";
  font-family: sans-serif;
  font-size: 1em;
  margin-right: 0.5em;
}

.company-support-item .elementor-icon-box-title span  {
  text-shadow: 0 0 0 transparent;
  transition: text-shadow 300ms ease;
}

.company-support-item .elementor-icon-box-title:hover span {
  text-shadow: 0 0 14px rgb(255 255 255);
}

.company-processing-box {
    animation: processingfloat 4s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

@keyframes processingfloat {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    }
    50% {
        transform: translateY(-5px);
        box-shadow: 0 13px 28px rgba(0, 0, 0, 0.14);
    }
}

@media (prefers-reduced-motion: reduce) {
    .company-processing-box {
        animation: none;
    }
}

/* ========================================
   BRACESURE: WHY CHOOSE US ACCORDION
   ======================================== */

/* Make the title clearly interactive */
.elementor-element-539886a .why-choose-icon-box
.elementor-icon-box-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: color 0.2s ease;
}

/* Plus indicator */
.elementor-element-539886a .why-choose-icon-box
.elementor-icon-box-title::after {
    content: "+";
    flex: 0 0 auto;
    color: #0097A7;
    font-size: 1.25em;
    font-weight: 400;
    line-height: 1;
    transition:
        transform 0.25s ease,
        color 0.2s ease;
}

/* Show minus when expanded */
.elementor-element-539886a .why-choose-icon-box.is-open
.elementor-icon-box-title::after {
    content: "\2212";
    transform: rotate(180deg);
}

/* Descriptions start collapsed */
.elementor-element-539886a .why-choose-icon-box
.elementor-icon-box-description {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    margin-top: 0;
    margin-bottom: 0;

    transition:
        height 0.3s ease,
        opacity 0.22s ease,
        transform 0.25s ease,
        margin-top 0.25s ease;
}

/* Description when its item is expanded */
.elementor-element-539886a .why-choose-icon-box.is-open
.elementor-icon-box-description {
    opacity: 1;
    transform: translateY(0);
    margin-top: 8px;
}

/* Pointer cues on the title and icon */
.elementor-element-539886a .why-choose-icon-box
.elementor-icon-box-icon,
.elementor-element-539886a .why-choose-icon-box
.elementor-icon-box-title {
    cursor: pointer;
}

/* Subtle desktop hover feedback */
@media (hover: hover) and (pointer: fine) {
    .elementor-element-539886a .why-choose-icon-box
    .elementor-icon-box-title:hover {
        color: #007F83;
    }

    .elementor-element-539886a .why-choose-icon-box
    .elementor-icon-box-icon .elementor-icon {
        transition:
            transform 0.2s ease,
            background-color 0.2s ease;
    }

    .elementor-element-539886a .why-choose-icon-box
    .elementor-icon-box-icon:hover .elementor-icon {
        transform: translateY(-2px);
    }
}

/* Keyboard accessibility */
.elementor-element-539886a .why-choose-icon-box
.elementor-icon-box-title:focus-visible,
.elementor-element-539886a .why-choose-icon-box
.elementor-icon-box-icon:focus-visible {
    outline: 2px solid #0097A7;
    outline-offset: 4px;
    border-radius: 3px;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .elementor-element-539886a .why-choose-icon-box
    .elementor-icon-box-description,
    .elementor-element-539886a .why-choose-icon-box
    .elementor-icon-box-title::after,
    .elementor-element-539886a .why-choose-icon-box
    .elementor-icon-box-icon .elementor-icon {
        transition: none !important;
    }
}

.section-title .elementor-heading-title::before {
    background: url('/wp-content/themes/infine-child/assets/images/section-title-heading-dot.svg') no-repeat center;
}

.how-work-item-box::after {
    background: url('/wp-content/themes/infine-child/assets/images/how-work-box-arrow-1.svg') no-repeat;
}

.how-it-work .how-work-item:nth-child(even) .how-work-item-box::after {
    background: url('/wp-content/themes/infine-child/assets/images/how-work-box-arrow-2.svg') no-repeat;
}

/* ========================================
   BRACESURE INSURANCE FEATURE CARDS
   ======================================== */

.features-item-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    height: 100%;

    background: #FFFFFF;
    border: 1px solid #E2E8E8;
    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(25, 50, 52, 0.04);

    transition:
        transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Static teal accent */
.features-item-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    z-index: 2;

    width: 42px;
    height: 3px;

    background: #0097A7;
    border-radius: 0 0 3px 3px;
}

/* Soft teal wash, revealed on hover */
.features-item-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(0, 151, 167, 0.11),
            transparent 48%
        ),
        linear-gradient(
            135deg,
            rgba(0, 151, 167, 0.025),
            transparent 65%
        );

    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Keep the actual content above the wash */
.features-item-card > .elementor-widget-container {
    position: relative;
    z-index: 1;

    box-sizing: border-box;
    height: 100%;
    padding: 28px 24px 24px;
}

/* Smooth icon and heading transitions */
.features-item-card .elementor-icon-box-icon .elementor-icon {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.features-item-card .elementor-icon-box-title,
.features-item-card .elementor-icon-box-title a {
    transition: color 0.25s ease;
}

/* Hover and keyboard focus */
@media (hover: hover) and (pointer: fine) {
    .features-item-card:hover {
        transform: translateY(-5px);

        border-color: rgba(0, 151, 167, 0.5);

        box-shadow:
            0 15px 32px rgba(0, 76, 90, 0.11),
            0 0 0 1px rgba(0, 151, 167, 0.06);
    }

    .features-item-card:hover::after {
        opacity: 1;
    }

    .features-item-card:hover
    .elementor-icon-box-icon .elementor-icon {
        transform: translateY(-3px) scale(1.07);

        box-shadow:
            0 5px 14px rgba(0, 151, 167, 0.22);
    }

    .features-item-card:hover .elementor-icon-box-title,
    .features-item-card:hover .elementor-icon-box-title a {
        color: #007F83;
    }
}

.features-item-card:focus-within {
    border-color: #0097A7;
    box-shadow: 0 0 0 3px rgba(0, 151, 167, 0.13);
}

/* Reduce movement for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .features-item-card,
    .features-item-card::after,
    .features-item-card .elementor-icon-box-icon .elementor-icon,
    .features-item-card .elementor-icon-box-title,
    .features-item-card .elementor-icon-box-title a {
        transition: none !important;
    }

    .features-item-card:hover {
        transform: none;
    }
}

.features-item:last-child:before {
    display: unset !important;
}

/* CTA arrow: still at rest, responsive on interaction */
.cta-box-btn::before {
    animation: none !important;
    transition: transform 0.3s ease,
        opacity 0.3s ease;
}

/* Small directional movement on hover or keyboard focus */
.cta-box-btn:hover::before, .cta-box-btn:focus-visible::before {
    transform: translateX(calc(50% - 30px));
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .cta-box-btn::before {
        animation: none !important;
        transition: none !important;
    }
}

.about-img img {
    object-position: 75% 50% !important;
}

.elementor-widget-button.call-us-cta-btn .elementor-button::before {
    background: #0097A7;
}