.elementor-kit-8 {
    --e-global-color-primary: #31006F;
    --e-global-color-secondary: #FF6720;
    --e-global-color-accent: #41B6E6;
    --e-global-color-text: #000000;
    --e-global-color-444d40b: #AC4FC6;
    --e-global-color-8992688: #D74388;
    --e-global-color-0338982: #F6BE00;
    --e-global-color-aee8064: #FFFFFF;
    --e-global-color-c1adafe: #F7F7F7;
    --e-global-typography-primary-font-family: "Poppins";
    --e-global-typography-primary-font-size: 85px;
    --e-global-typography-primary-font-weight: 700;
    --e-global-typography-primary-line-height: 1em;
    --e-global-typography-secondary-font-family: "Poppins";
    --e-global-typography-secondary-font-size: 45px;
    --e-global-typography-secondary-font-weight: 700;
    --e-global-typography-secondary-line-height: 1em;
    --e-global-typography-text-font-family: "Poppins";
    --e-global-typography-text-font-weight: 600;
    --e-global-typography-accent-font-family: "Poppins";
    --e-global-typography-accent-font-weight: 700;
    --e-global-typography-598656e-font-family: "Poppins";
    --e-global-typography-598656e-font-size: 65px;
    --e-global-typography-598656e-font-weight: 700;
    --e-global-typography-598656e-text-transform: lowercase;
    --e-global-typography-598656e-line-height: 1.25em;
    --e-global-typography-a8d52a9-font-family: "Poppins";
    --e-global-typography-a8d52a9-font-size: 45px;
    --e-global-typography-a8d52a9-font-weight: 700;
    --e-global-typography-a8d52a9-line-height: 1.15em;
    --e-global-typography-79c18f1-font-family: "Poppins";
    --e-global-typography-79c18f1-font-size: 32px;
    --e-global-typography-79c18f1-font-weight: 700;
    --e-global-typography-79c18f1-line-height: 1.25em;
    --e-global-typography-6ee44b7-font-family: "Poppins";
    --e-global-typography-6ee44b7-font-size: 23px;
    --e-global-typography-6ee44b7-font-weight: 700;
    --e-global-typography-6ee44b7-line-height: 1.15em;
    --e-global-typography-6422f2e-font-family: "Poppins";
    --e-global-typography-6422f2e-font-size: 18px;
    --e-global-typography-6422f2e-font-weight: 700;
    --e-global-typography-6422f2e-line-height: 1.15em;
    --e-global-typography-900f613-font-family: "Poppins";
    --e-global-typography-900f613-font-size: 16px;
    --e-global-typography-900f613-font-weight: 700;
    --e-global-typography-900f613-line-height: 1.15em;
    --e-global-typography-5143dd4-font-family: "Open Sans";
    --e-global-typography-5143dd4-font-size: 16px;
    --e-global-typography-5143dd4-font-weight: 400;
    --e-global-typography-5143dd4-line-height: 1.5em;
    --e-global-typography-63bfbd4-font-family: "Open Sans";
    --e-global-typography-63bfbd4-font-size: 20px;
    --e-global-typography-63bfbd4-font-weight: 400;
    --e-global-typography-63bfbd4-line-height: 1.5em;
    --e-global-typography-682df56-font-family: "Poppins";
    --e-global-typography-682df56-font-size: 16px;
    --e-global-typography-682df56-font-weight: 700;
    --e-global-typography-682df56-text-transform: uppercase;
    --e-global-typography-682df56-line-height: 1.2em;
    --e-global-typography-accbeac-font-family: "Poppins";
    --e-global-typography-accbeac-font-size: 20px;
    --e-global-typography-accbeac-font-weight: 600;
    --e-global-typography-accbeac-text-transform: uppercase;
    --e-global-typography-accbeac-line-height: 1em;
    --e-global-typography-7e076e3-font-family: "Poppins";
    --e-global-typography-7e076e3-font-size: 28px;
    --e-global-typography-7e076e3-font-weight: 400;
    --e-global-typography-7e076e3-line-height: 1.25em;
    --e-global-typography-efea4eb-font-family: "Poppins";
    --e-global-typography-efea4eb-font-size: 16px;
    --e-global-typography-efea4eb-text-transform: uppercase;
    --e-global-typography-efea4eb-line-height: 1.15em;
    --e-global-typography-436acda-font-family: "Poppins";
    --e-global-typography-436acda-font-size: 15px;
    --e-global-typography-436acda-font-weight: 700;
}

.elementor-kit-8 button,
.elementor-kit-8 input[type="button"],
.elementor-kit-8 input[type="submit"],
.elementor-kit-8 .elementor-button {
    background-color: var( --e-global-color-primary);
    font-family: "Poppins", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1em;
    color: var( --e-global-color-aee8064);
    border-style: none;
    border-radius: 0px 0px 0px 0px;
    padding: 20px 35px 20px 35px;
}

.elementor-kit-8 e-page-transition {
    background-color: #FFBC7D;
}

.elementor-section.elementor-section-boxed>.elementor-container {
    max-width: 90%;
}

.e-con {
    --container-max-width: 90%;
    --container-default-padding-top: 0px;
    --container-default-padding-right: 0px;
    --container-default-padding-bottom: 0px;
    --container-default-padding-left: 0px;
}

.elementor-widget:not(:last-child) {
    --kit-widget-spacing: 20px;
}

.elementor-element {
    --widgets-spacing: 20px 20px;
    --widgets-spacing-row: 20px;
    --widgets-spacing-column: 20px;
}

{}

h1.entry-title {
    display: var(--page-title-display);
}

@media(max-width:1024px) {
    .elementor-kit-8 {
        --e-global-typography-63bfbd4-font-size: 18px;
    }
    .elementor-section.elementor-section-boxed>.elementor-container {
        max-width: 90%;
    }
    .e-con {
        --container-max-width: 90%;
    }
}

@media(max-width:767px) {
    .elementor-kit-8 {
        --e-global-typography-primary-font-size: 40px;
        --e-global-typography-secondary-font-size: 30px;
        --e-global-typography-598656e-font-size: 45px;
        --e-global-typography-598656e-line-height: 1.25em;
        --e-global-typography-a8d52a9-font-size: 36px;
    }
    .elementor-section.elementor-section-boxed>.elementor-container {
        max-width: 90%;
    }
    .e-con {
        --container-max-width: 90%;
    }
}

/* Start custom CSS */

/* UNIVERSAL */

.single-post a {
    color: #AC4FC6;
}

.e-con>.e-con-inner {
    max-width: 1200px;
    width: 96%;
}

:target {
    scroll-margin-top: 200px;
}

.bullet-list-reset ul {
    padding-left: 20px;
}

/* HEADER */

.color-logo {
    display: none;
}

.elementor-sticky--effects {
    background: #fff;
}

.elementor-sticky--effects .color-logo {
    display: inline-block;
}

.elementor-sticky--effects .white-logo {
    display: none;
}

.header-menu.elementor-sticky--effects a {
    color: #31006f !important;
    fill: #31006f !important;
}

.page-id-17964 header {
    display: none;
}

@media (min-width: 1201px) {
    header .elementor-nav-menu .menu-item .elementor-item::after,
    header .elementor-nav-menu--dropdown .menu-item .elementor-sub-item::after,
    header .elementor-nav-menu--dropdown .menu-item.menu-item-has-children .elementor-nav-menu--dropdown .menu-item .elementor-sub-item::after {
        content: '';
        display: block;
        height: 3px;
        width: 0px;
        background: #ac4fc6 !important;
        position: absolute;
        bottom: 0;
        left: 0;
        transition: .3s;
        transition-timing-function: cubic-bezier( .58, .3, .005, 1);
    }
    header .elementor-nav-menu .menu-item:hover .elementor-item::after,
    header .elementor-nav-menu--dropdown .menu-item:hover .elementor-sub-item::after,
    header .elementor-nav-menu--dropdown .menu-item.menu-item-has-children .elementor-nav-menu--dropdown .menu-item:hover .elementor-sub-item::after {
        width: 100%;
    }
    header .elementor-nav-menu--dropdown {
        border-radius: 25px !important;
        padding: 10px 20px !important;
        box-shadow: 0 0px 20px 0 rgba( 0, 0, 0, .2);
    }
    header .elementor-nav-menu--dropdown .menu-item {
        /*background: green !important;*/
        padding: 0 !important;
        margin: 20px 0 !important;
        border: 0 !important;
    }
    header .elementor-nav-menu--dropdown .menu-item .elementor-sub-item {
        padding: 0 0 6px 0 !important;
        margin: 0 !important;
        border: 0 !important;
        display: inline-block;
        /*background: yellow;*/
    }
    /* Dropdown With Child Elements */
    header .elementor-nav-menu--dropdown .menu-item.menu-item-has-children .elementor-sub-item {
        /*background: red;*/
        display: flex;
        justify-content: space-between;
    }
    /* Dropdown Child Menu */
    header .elementor-nav-menu--dropdown .menu-item.menu-item-has-children .sub-menu {
        left: 20px !important;
    }
    header .elementor-nav-menu--dropdown .menu-item.menu-item-has-children .sub-menu .elementor-sub-item {
        /*background: pink;*/
        display: inline-block;
    }
}

@media (max-width: 767px) {
    .header-menu {
        background: #fff;
    }
    header .elementor-item.has-submenu.highlighted .sub-arrow,
    header .elementor-item.highlighted .sub-arrow,
    header .elementor-sub-item.highlighted .sub-arrow {
        fill: #ac4fc6;
    }
    header .elementor-item.has-submenu[aria-expanded="false"] {
        color: #31006f !important;
    }
    .white-logo {
        display: none;
    }
    .color-logo {
        display: inline-block;
    }
    .elementor-widget-video.video_overlay .elementor-custom-embed-image-overlay img {
        aspect-ratio: 1.777;
    }
}

.gtranslate_wrapper select {
    border: none !important;
    border-radius: 0 !important;
    padding: 9px 10px !important;
}

.grecaptcha-badge {
    z-index: 10;
}

.elementor-widget-icon-box .elementor-icon-box-content {
    align-content: center;
}

footer .copy a {
    color: #fff;
    text-decoration: underline;
}

.post-slider .swiper-pagination-bullet {
    border: solid 2px #fff;
    opacity: 1;
}

.post-slider .swiper-pagination-bullet-active {
    background: #fff;
}

.boxSquared {
    aspect-ratio: 1;
}

.textBreak {
    display: block;
}

.elementor-widget-video.video_thumbnail .elementor-custom-embed-image-overlay img {
    aspect-ratio: auto;
}

.highlight-purple,
.highlight-violet {
    color: #ac4fc6;
}

.highlight-yellow {
    color: #f6be00;
}

.highlight-blue {
    color: #41b6e6;
}

.btn_donate {
    clip-path: polygon(0 0, 100% 10%, 100% 99%, 10% 100%);
}

.btn_polygon {
    clip-path: polygon(0 18%, 95% 0%, 90% 100%, 0% 100%);
    padding-right: 5%;
}

.box-section {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50.5% 100%, 52% 68%, 0% 78%);
    padding: 85px 0 240px 0;
    margin-bottom: -110px;
}

.box-section-single {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50.5% 100%, 52% 68%, 0% 78%);
    margin-bottom: -50px;
}

.box-path {
    clip-path: polygon(0% 0%, 100% 24px, 100% 100%, 0% 100%, 0% 0%);
}

.img_box {
    clip-path: polygon(0 0, 100% 32px, 100% 100%, 0% 100%);
}

@media (max-width: 1024px) {
    .box-section {
        clip-path: polygon(0 0%, 100% 0, 100% 95%, 0 100%);
        padding: 85px 0;
        margin-bottom: 30px;
    }
    .box-section-single {
        clip-path: polygon(0 0%, 100% 0, 100% 95%, 0 100%);
        margin-bottom: 30px;
    }
    .box-path {
        margin-top: -22px;
        transform: translateY(0) !important;
    }
    .box-path:not(:last-child) {
        /* generate white border top */
        clip-path: polygon(0 0, 100% 24px, 100% 100%, 0 calc( 100% - 24px));
    }
}

/* SLIDER NAVIGATION*/

.sliderMoralityHomeCare .elementor-swiper-button-prev {
    border-radius: 40px 0 0 40px;
}

.sliderMoralityHomeCare .elementor-swiper-button-next {
    border-radius: 0 40px 40px 0;
}

/* ANIMATIONS */

@-webkit-keyframes rotating {
    from {
        -webkit-transform: rotate( 0deg);
    }
    to {
        -webkit-transform: rotate( 360deg);
    }
}

.rotateInfinite {
    -webkit-animation: rotating 36s linear infinite;
}

/* TAPP */

.tapp-referral-card ul {
    font-size: 16px;
    padding-inline-start: 20px;
    color: var(--e-global-color-primary);
}

/* FAMILY TREATMENT CENTER */

.elementor-flip-box__layer.elementor-flip-box__front,
.elementor-flip-box__layer.elementor-flip-box__back {
    border-radius: 30px;
}

.flip-icon {
    width: 30px;
    margin-top: 40px;
}

/* PARTNERS */

.partners-gallery .gallery-item {
    filter: grayscale( 1);
    opacity: .8;
    transition: .3s ease-in-out
}

.partners-gallery .gallery-item:hover {
    filter: grayscale( 0);
    opacity: 1
}

/* Video Playlist */

.elementor-widget-video-playlist .e-tabs .e-tabs-main-area .e-tabs-wrapper .e-tabs-items-wrapper .e-tab-title-text button {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.125em;
    text-transform: none;
    text-wrap: wrap;
}

.elementor-widget-video-playlist .e-tabs-items-wrapper .e-tab-title svg path {
    fill: var(--e-global-color-8992688) !important;
}

.elementor-widget-video-playlist .e-tabs-items-wrapper .e-tab-title {
    height: auto !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* EVENTS */

.elementor-element-6cd3fbc .elementor-widget-taxonomy-filter .e-filter-item[aria-pressed=true] {
    background-color: var(--e-global-color-primary);
    color: #ffffff;
}

.elementor-element-6cd3fbc .elementor-widget-taxonomy-filter .e-filter-item[aria-pressed=true]:hover {
    background-color: var(--e-global-color-444d40b);
    color: #ffffff;
}

.elementor-widget-taxonomy-filter .e-filter-item[aria-pressed=true] {
    background-color: var(--e-global-color-444d40b) !important;
    color: #ffffff !important;
}

/* Animated Foster Button */

.playbtn {
    position: relative;
    display: inline-block;
    padding: 30px 16px;
    margin: 0;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    font-family: "Poppins", Sans-serif;
    font-weight: 500;
    font-size: 24px;
    letter-spacing: 1px;
    overflow: hidden;
}

.playbtn .btn-text {
    background-color: #FF6720;
    padding: 15px 30px;
}

.playbtn:hover {
    color: #FFFFFF;
}

.playbtn .btn-text:hover {
    background: #31006F;
    transition: 0.3s;
}

.playbtn span.runner {
    position: absolute;
    display: block;
}

.playbtn span:nth-child(1) {
    top: 0;
    left: -100%;
    /* Hidden by default */
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #FF6720);
    animation: animate1 2s linear infinite;
}

@keyframes animate1 {
    0% {
        left: -100%;
    }
    50%,
    100% {
        left: 100%;
    }
}

.playbtn span:nth-child(2) {
    top: -100%;
    /* Hidden by default */
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #FF6720);
    animation: animate2 2s linear infinite;
    animation-delay: 0.5s;
    /* Adjusted for smoother loop */
}

@keyframes animate2 {
    0% {
        top: -100%;
    }
    50%,
    100% {
        top: 100%;
    }
}

.playbtn span:nth-child(3) {
    bottom: 0;
    right: -100%;
    /* FIX: Changed from 0 to -100% to prevent pre-load flash */
    width: 100%;
    height: 5px;
    background: linear-gradient(270deg, transparent, #FF6720);
    animation: animate3 2s linear infinite;
    animation-delay: 1s;
    /* Adjusted for logical sequence */
}

@keyframes animate3 {
    0% {
        right: -100%;
    }
    50%,
    100% {
        right: 100%;
    }
}

.playbtn span:nth-child(4) {
    bottom: -100%;
    /* Hidden by default */
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #FF6720);
    animation: animate4 2s linear infinite;
    animation-delay: 1.5s;
    /* Adjusted for logical sequence */
}

@keyframes animate4 {
    0% {
        bottom: -100%;
    }
    50%,
    100% {
        bottom: 100%;
    }
}

/* Animated Voulnteer Button */

.pulsating-button-container {
    position: relative;
}

.pulsating-button {
    width: 200px;
    padding: 20px;
    background-color: #31006F;
    border-radius: 0;
    position: absolute;
    top: 0;
    left: 0;
    color: #ffffff !important;
    font-family: 'Poppins', Sans-Serif;
    font-weight: 500;
    font-size: 24px;
    text-transform: uppercase;
    text-align: center;
}

.pulsating-button:hover {
    background-color: #AC4FC6;
    transition: .5s;
}

.radiate {
    border: 3px solid #31006F;
    -webkit-border-radius: 0;
    height: 100px;
    width: 220px;
    position: relative;
    left: -10px;
    top: -10px;
    -webkit-animation: pulsate 1.5s ease-out;
    -webkit-animation-iteration-count: infinite;
    opacity: 0.0
}

@-webkit-keyframes pulsate {
    0% {
        -webkit-transform: scale(0.1, 0.1);
        opacity: 0.0;
    }
    50% {
        opacity: 1.0;
    }
    100% {
        -webkit-transform: scale(1.2, 1.2);
        opacity: 0.0;
    }
}

/* DONATIONS */

.donation-card {
    flex: 0 0 calc(25% - 20px) !important;
}

@media screen and (max-width: 1200px) {
    .donation-card {
        flex: 0 0 calc(50% - 20px) !important;
    }
}

@media screen and (max-width: 500px) {
    .donation-card {
        flex: 100% !important;
    }
}

/* End custom CSS */