/*
Theme Name: Nexus Care Services
Author: JE Consulting
Author URI: https://www.je-consulting.co.uk/
Version: 1.0.0
text-domain: nexus
*/

* {
    --four-point-star: url(/wp-content/themes/nexus-2026/assets/four-point-star.svg);
}

header {
    background-color: var(--purple-400);
    padding-top: 35px;
}

header .logo-col, header .buttons-col {
    flex-basis: 27.0585%;
}

header .menu-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-basis: 45.833%;
}

header .menu-col nav.main-menu {
    background-color: #ffffff;
    border-radius: 999px;
    font-family: var(--secondary-text);
    position: relative;
}

header .menu-col nav.main-menu #mega-menu-wrap-main-menu #mega-menu-main-menu li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu {
    border-radius: 10px!important;
    margin-top: 6px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 12px -3px;
    min-width: 130px;
}
#mega-menu-wrap-main-menu #mega-menu-main-menu li.mega-menu-item > ul.mega-sub-menu {
    border-radius: 10px!important;
}

header .menu-col nav.main-menu #mega-menu-wrap-main-menu #mega-menu-main-menu li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    transition: color 0.3s ease-in-out;
}

header .menu-col nav.main-menu #mega-menu-wrap-main-menu #mega-menu-main-menu li.mega-menu-item:last-of-type.mega-toggle-on > ul.mega-sub-menu {
    left: auto;
}

header .buttons-col {
    display: flex;
    flex-direction: row;
    align-content: center;
    flex-wrap: wrap;
    justify-content: end;
    gap: 20px;
}

/* Search bar */

.hidden {
    display: none;
}

#menu-overlay-container {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: hidden;
    border-radius: 999px;
}

#menu-overlay-container #menu-overlay {
    animation: menu-slide 0.3s ease;
}

#menu-overlay-container #menu-overlay.slide-out {
    animation: menu-slide-reverse 0.3s ease 1 forwards;
}

#menu-overlay-container.hidden #menu-overlay {
    animation-play-state: paused;
}

#menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border-radius: inherit;
    padding: 0 15px;
    height: 44.5px;
    margin: auto 0;
    padding-right: 0;
    border-radius: 999px;
}

#menu-overlay .search-container {
    display: flex;
    align-items: center;
    height: 100%;
}

#menu-overlay .search-container > .searchform {
    margin: 0;
    display: inline-block;
    height: 100%;
    width: 100%;
}

#menu-overlay .search-container > .searchform .form-inner {
    display: flex;
    height: 100%;
    align-items: center;
}


#menu-overlay .search-container > .searchform .s {
    border: none;
    font-size: 1.1em;
    width: 100%;
    height: fit-content;
    display: flex;
    outline: none;
    color: var(--purple-400);
}

#menu-overlay .search-container > .searchform .s::placeholder {
    color: var(--purple-200);
}

#menu-overlay .search-container > .searchform button[type="submit"] {
    width: 46.5px;
    height: 44.5px;
    margin-left: 0;
    color: var(--purple-200);
    background-color: transparent;
    border: none;
    font-size: 1em;
    cursor: pointer;
}

#menu-overlay .search-container .search-close {
    width: 46.5px;
    height: 44.5px;
    margin-left: 0;
    color: #fff;
    background-color: var(--purple-200);
    border: 2px solid currentColor;
    border-radius: 999px;
    font-size: 1em;
    cursor: pointer;
}

/* header extensions */

.header-slider-wrapper {
    background-color: var(--purple-400);
    padding-top: 3em;
    padding-bottom: 3em;
}

.header-slider-wrapper.header-normal {
    padding-bottom: 4em;
}

.header-slider-wrapper .h1.quot-accent {
    color: #fff;
}

.header-slider-wrapper .h1.quot-accent::after {
    top: -2.5rem;
    right: 5rem;
    width: 2em;
}

.header-slider-wrapper.header-post .h1.quot-accent::after {
    right: 0;
}

.header-slider-wrapper.header-normal.header-post .img-col .header-img-wrapper {
    text-align: right;
}

.header-slider-wrapper.header-normal.header-post .img-col .header-img-wrapper .header-img {
    aspect-ratio: 1 /1;
    width: auto;
    width: 300px;
}

.header-slider-wrapper > .container > .flex-row {
    align-items: center;
}

.header-slider-wrapper .text-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    height: fit-content;
}

.header-slider-wrapper .text-col .exerpt {
    color: #fff;
}

.header-slider-wrapper .text-col .button-container {
    display: flex;
    justify-content: space-between;
}

.header-slider-wrapper .text-col .btn.primary:hover, .header-slider-wrapper .text-col .btn:not(.primary):hover, .btn.primary:hover, .btn.secondary:hover {
    background-color: var(--purple-200);
    border-color: var(--purple-200);
    color: #fff;
}

.header-slider-wrapper .text-col .btn:hover::after {
    margin-left: 0.625em;
}

.header-slider-wrapper .text-col .btn.primary, .btn.primary {
    background-color: #fff;
    color: var(--purple-400);
}

.header-slider-wrapper .text-col .btn:not(.primary), .btn.secondary {
    background-color: transparent;
    border: 2px solid #fff;
    padding: 0.4em 1.2em;
}

.header-slider-wrapper .text-col .location {
    color: #fff;
    margin-top: 2em;
    margin-bottom: 2em;
}
.header-slider-wrapper .text-col .location .feature-location {
    color: var(--green-400);
    font-size: 1.5em;
    margin-right: 0.5rem;
}

/* Standard Header */

.header-slider-wrapper.header-normal .text-col {
    border: none;
    padding-right: 5em;
}

.header-slider-wrapper.header-normal .text-col .main-heading {
    color: #fff;
}
.header-slider-wrapper.header-normal .text-col .text-extract {
    margin-bottom: 2em;
}

.header-slider-wrapper.header-normal .text-col .text-extract > p {
    color: #fff;
    font-size: 20px;
}

.header-slider-wrapper.header-normal .img-col .header-img-wrapper {
    position: relative;
}

.header-slider-wrapper.header-normal .img-col .header-img-wrapper::before {
    content: "";
    background-image: url(/wp-content/themes/nexus-2026/assets/banner-cover.svg);
    position: absolute;
    top: -10%;
    right: 6%;
    bottom: -12%;
    width: 34.278%;
    background-size: contain;
    background-repeat: no-repeat;
}

.header-slider-wrapper.header-normal.header-post .img-col .header-img-wrapper::before {
    content: none;
}

.header-slider-wrapper.header-normal .img-col .header-img-wrapper .header-img {
    aspect-ratio: 803 / 326;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

/*.header-slider-wrapper.header-normal .img-col .header-img-wrapper .header-img*/

.featured-img-wrapper {
    position: relative;
    width: fit-content;
    float: right;
    margin-left: 6em;
    margin-bottom: 2em;
}


.header-slider-wrapper.header-normal .img-col .header-img-wrapper .star, 
.featured-img-wrapper .star,
.archive.category article.archive-post .post-img-wrapper .star {
    --corner-radius-std: 20px;
    position: absolute;
    right: 0;
    z-index: 9;
    bottom: 0;
    background-color: var(--purple-400);
    padding-top: 15px;
    padding-right: 10px;
    padding-left: 17px;
    padding-bottom: 10px;
    border-top-left-radius: var(--corner-radius-std);
}

.header-slider-wrapper.header-normal .img-col .header-img-wrapper .star::before, 
.header-slider-wrapper.header-normal .img-col .header-img-wrapper .star::after,
.featured-img-wrapper .star::before, .featured-img-wrapper .star::after,
.archive.category article.archive-post .post-img-wrapper .star::before,
.archive.category article.archive-post .post-img-wrapper .star::after {
    --shadow-color : var(--purple-400);
    content: "";
    position: absolute;
    height: 40px;
    width: 30px;
    background-color: transparent;
    border-bottom-right-radius: calc(var(--corner-radius-std) + 2px);
    box-shadow: 0 19px 0 0 var(--shadow-color);
    z-index: -1;
}

.header-slider-wrapper.header-normal .img-col .header-img-wrapper .star::before,
.featured-img-wrapper .star::before {
    left: -30px;
    bottom: 2px;
}

.header-slider-wrapper.header-normal .img-col .header-img-wrapper .star::after,
.featured-img-wrapper .star::after {
    right: 0px;
    top: -40px;
}

.featured-img-wrapper .star {
    background-color: #fff;
}

.featured-img-wrapper .star::before, .featured-img-wrapper .star::after {
    --shadow-color: #fff;
}

.featured-img-wrapper .star > img {
    filter: var(--purple-400-filter);
}

.featured-img-wrapper img.header-img.post-img {
    border-radius: 20px;
    width: 450px;
}

.archive.category article.archive-post .post-img-wrapper .star::before,
.archive.category article.archive-post .post-img-wrapper .star::after {
    box-shadow: 0 21px 0 0 var(--shadow-color);
}

.archive.category article.archive-post .post-img-wrapper .star::before {
    left: -30px;
    bottom: 7px;
}


.archive.category article.archive-post .post-img-wrapper .star::after {
    right: 0;
    top: -40px;
}

/* Header Slider */

.header-slider-wrapper .slider-col {
    overflow: hidden;
}

.header-slider-wrapper .slider-col .home-slider-wrapper {
    padding-left: 3em;
    position: relative;
    padding-bottom: 3em;
    margin-bottom: 2em;
    margin-left: 2em;
}

.header-slider-wrapper .slider-col .home-slider-wrapper::before {
    position: absolute;
    background: url(/wp-content/themes/nexus-2026/assets/double-bubble-accent.svg);
    content: "";
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-repeat: no-repeat;
    background-size: 60%;
    background-position-x: 2%;
    background-position-y: 80%;
}

.header-slider-wrapper .slider-col .home-slider-wrapper::after {
    content: var(--four-point-star);
    position: absolute;
    right: 1%;
    top: 1%;
    transform: scale(1.2);
}

.header-slider-wrapper .slider-col .home-slider-wrapper .home-slide .slide-inner > img {
    aspect-ratio: 762 / 542;
    object-fit: cover;
    mask-image: url(/wp-content/themes/nexus-2026/assets/double-bubble-clip-path.svg);
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
}

.header-slider-wrapper .slider-col .home-slider-wrapper .home-slide .slide-inner {
    position: relative;
}

.header-slider-wrapper .slider-col .home-slider-wrapper .home-slide .slide-inner::after {
    padding: 4px;
    background: linear-gradient(90deg, rgba(13, 177, 75, 0) 50.13%, #0DB14B 100%);
    content: "";
    position: absolute;
    width: 366px;
    height: 75.5%;
    right: 45%;
    bottom: 1%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container {
    position: absolute;
    right: 24%;
    bottom: 0;
    display: flex;
    z-index: 99;
}

.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container .arrow-container {
    text-align: center;
    background-color: var(--purple-400);
    padding: 12px;
    border-radius: 16px;
    padding-bottom: 1.65em;
    position: relative;
}

.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container .arrow-container::before,
.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container .arrow-container::after {
    --corner-radius: 1em;
    --lr-distance : -23px;
    position: absolute;
    content: "";
    background-color: transparent;
    top: -3.5%;
    height: 31px;
    width: 24px;
    box-shadow: 0 19px 0 0 var(--purple-400);
    z-index: -1;
}

.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container .arrow-container::before {
    left: var(--lr-distance);
    border-bottom-right-radius: var(--corner-radius);
}

.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container .arrow-container::after {
    right: var(--lr-distance);
    border-bottom-left-radius: var(--corner-radius);
}

.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container .arrow-inner {
    padding: 6px 10px;
    border-radius: inherit;
    background-color: #fff;

}

.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container .arrow-inner .home-slider-arrow {
    background-color: var(--green-400);
    border: none;
    border-radius: 99px;
    color: #fff;
    height: 33px;
    width: 33px;
    font-size: 1.2em;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container .arrow-inner .home-slider-arrow:first-of-type {
    margin-right: 6px;
}

.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container .circle-container {
    display: flex;
    justify-content: center;
}

.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container .circle-container .slick-dots {
    list-style: none;
    margin: 0;
    text-align: center;
    padding: 6px 10px;
    background-color: rgba(255, 255, 255, 0.3);
    display: inline-flex;
    gap: 10px;
    border-radius: 999px;    
}

.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container .circle-container .slick-dots > li {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
 
.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container .circle-container .slick-dots button {
    font-size: 0;
    line-height: 0;
    width: 0.8rem;
    height: 0.8rem;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    transition: background-color 0.3s ease-in-out;
}

.header-slider-wrapper .slider-col .home-slider-wrapper .extras-container .circle-container .slick-dots .slick-active button {
    background-color: #fff;
}

.header-slider-wrapper .tagline-col {
    margin-top: 1em;
}

.header-slider-wrapper .tagline-col .tagline-container {
    display: flex;
    justify-content: space-between;
    gap: 0.625em;
}

.header-slider-wrapper .tagline-col .tagline-container .tagline {
    display: flex;
}

.header-slider-wrapper .tagline-col .tagline-container .tagline > p {
    color: #fff;
    display: inline-block;
    margin-left: 1em;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 999px;
}

.header-slider-wrapper .tagline-col .tagline-container .tagline > p a {
    color: #fff;
}

.header-slider-wrapper .tagline-col .tagline-container .tagline > .tagline-icon {
    color: var(--green-400);
    font-size: 1.5625em;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-slider-wrapper .tagline-col .tagline-container .tagline > .tagline-icon.sheild-icon::before {
    --shield-icon: url('/wp-content/themes/nexus-2026/assets/shield_icon.svg');
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    background-color: currentColor;
    -webkit-mask: var(--shield-icon) center / contain no-repeat;
    mask: var(--shield-icon) center / contain no-repeat;
}


.contact-btn {
    padding-right: 0.625em;
    padding-left: 0.9375em;
    transition: all 0.4s ease-in-out;
}

.contact-btn::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    background-color: #fff;
    color: var(--purple-400);
    border-radius: 50%;
    transform: rotateZ(-45deg);
    width: 1.625em;
    height: 1.625em;
    text-align: center;
    font-size: 1.1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease-in-out;
}

.contact-btn:hover {
    background-color: var(--purple-200);
}

.contact-btn:hover::after {
    transform: rotate(0);
    margin-left: 0.625em;
}

.search-btn {
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #fff;
    padding-left: 0;
    padding-right: 0;
    width: 2.7em;
    height: 2.7em;
    display: inline-flex;
    justify-content: center;
    margin: 0;
    border-radius: 50%;
    transition: all 0.4s ease-in-out;
}

.search-btn:hover {
    background-color: var(--purple-200);
    border-color: var(--purple-200);
}

.search-btn::after {
    content: none;
}

/* Pre Footer Elements */

/* Get In Touch Section */

.get-in-touch-wrapper {
    margin: 7em 0;
}

.get-in-touch-wrapper .get-in-touch-container {
    background-clip: padding-box;
    border: solid transparent 3px; /* .get-in-touch-container::before margin needs to be opposite of this, eg: 3px here -3px on ::before */
    border-radius: 20px;
    background-color: #fff;
    padding: 2em;
    position: relative;
}

.get-in-touch-wrapper  .get-in-touch-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    margin: -3px; /* .get-in-touch-container border needs to be opposite of this, eg: -3px here 3px on primary element */
    border-radius: inherit;
    background: var(--purple-gradient);
}

.get-in-touch-wrapper  .get-in-touch-container .upper {
    padding-bottom: 20px;
    position: relative;
}

.get-in-touch-container .upper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    bottom: -6px;
    width: 100%;
    background: var(--green-gradient);
    transform: scaleX(-1) rotate(0.3deg);
    clip-path: polygon(100% 25%, 100% 75%, 0 100%, 0 0);
    border-radius: 20px;
}

.get-in-touch-container .lower {
    padding-top: 20px;
    margin-bottom: 1.5em;
}

.get-in-touch-wrapper  .get-in-touch-container .get-in-touch-heading {
    width: fit-content;
    font-weight: bold;
    margin-bottom: 10px;
}

.get-in-touch-wrapper  .get-in-touch-container .get-in-touch-subheading {
    width: fit-content;
    font-weight: 600;
}

.get-in-touch-wrapper  .get-in-touch-container .img-col {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: flex-end;
    margin-bottom: 1.5em;
}

.get-in-touch-wrapper  .get-in-touch-container .img-col > img {
    height: 35%;
    aspect-ratio: initial;
}

.gform-theme--foundation .gfield .ginput_password.large, .gform-theme--foundation .gfield input.large, .gform-theme--foundation .gfield select.large, .gform-theme--foundation .gfield textarea.large, .gform-theme--foundation .gfield select, .gform-theme--framework input {
    background-color: rgba(188, 203, 209, 0.2)!important;
    border: none!important;
    color: var(--green-400)!important;
    border-radius: 6px!important;
}

.gform-theme--framework input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::before {
    color: var(--green-400)!important;
}

.contact-column-bg .gform-theme--foundation .gfield .ginput_password.large, .contact-column-bg .gform-theme--foundation .gfield input.large, .contact-column-bg .gform-theme--foundation .gfield select.large, .contact-column-bg .gform-theme--foundation .gfield textarea.large {
    color: #fff!important;
}

/* .gform-theme--foundation .gfield .ginput_password.large, .contact-column-bg .gform-theme--foundation .gfield input.large, .contact-column-bg .gform-theme--foundation .gfield select.large, .contact-column-bg .gform-theme--foundation .gfield textarea.large */

.gform-theme.gform-theme--framework.gform_wrapper .button.nexus-btn:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    font-family: var(--secondary-text)!important;
    font-weight: 500!important;
    font-size: 1rem!important;
    background-color: var(--green-400)!important;
    border-radius: 999px!important;
    padding: 12px 16px!important;
}

.gform-theme.gform-theme--framework.gform_wrapper .button.nexus-btn:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::after, .get-in-touch-container .gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button.nexus-btn:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::after, #ContentWrap .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::after {
    content: "\f105"!important;
    font-family: "Font Awesome 6 Free"!important;
    font-weight: 900!important;
    margin-left: 0.625em!important;
    transition: all .2s ease-in-out!important;
    color: #fff!important;
}

.gform-theme.gform-theme--framework.gform_wrapper .button.nexus-btn:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover {
    background-color: var(--green-700);
}

/* Logo Carousel */

.logo-carousel-wrapper {
    margin-bottom: 8em;
}

.logo-carousel-wrapper .logo-carousel > .slick-list.draggable {
    cursor: default;
}

.logo-carousel-wrapper .logo-carousel .slick-slide .single-logo {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.logo-carousel-wrapper .logo-carousel .slick-slide .single-logo .award-logo-icon {
    max-height: 150px;
    object-fit: contain;
    width: auto;
}

.logo-carousel-wrapper .logo-carousel .slick-slide .single-logo .award-logo-icon.rounded {
    border-radius: 8px;
}

.support-you-section {
    --transition-type: 0.3s ease-in-out;
    margin-bottom: 30px;
    row-gap: 3em;
}

.support-you-section  .support-you-col {
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.support-you-section  .support-you-col .support-you-wrapper {
    padding: 20px 30px;
    border-radius: 20px;
    transition: transform var(--transition-type);
    height: 100%;
}

.support-you-section .support-you-col .support-you-wrapper:hover {
    transform: scale(1.025);
}

.support-you-section  .support-you-col .support-you-wrapper .header .four-point-star {
    transition: transform var(--transition-type), opacity var(--transition-type);
}

.support-you-section  .support-you-col .support-you-wrapper:hover .header .four-point-star {
    transform: rotate(90deg);
    opacity: 50%;
}

.support-you-section  .support-you-col .support-you-wrapper .header .h5 {
    color: #fff;
    margin-bottom: 20px;
    margin-top: 20px;
}

.support-you-section  .support-you-col .support-you-wrapper .support-you-content {
    color: #fff;
}

.support-you-section  .support-you-col .support-you-wrapper .support-you-content p {
    color: #fff;
}

.support-you-section .button-section .col-2 {
    text-align: right;
}

.support-you-section .button-arrow {
    background: transparent;
    border: 2px solid;
    height: 36px;
    width: 36px;
    padding: 0.5em 0.75em;
    transition: all var(--transition-type);
}

.support-you-section  .support-you-col .support-you-wrapper:hover .button-arrow {
    transform: scale(1.1);
    background-color: #fff;
    border-color: #fff;
    color: var(--green-400);
}

.support-you-section .button-arrow::after {
    display: none;
}

/* Better Care section */

.better-care-section {
    margin-bottom: 4em;
}

.better-care-col {
    padding-left: 1.5em;
    padding-right: 1.5em;
    position: relative;
}

/*
.three-col-row .item:has(+ .item)::after {
  content: "→";
  position: absolute;
  right: -1.25rem;
  top: 50%;
  transform: translateY(-50%);
}
*/

.better-care-section .better-care-col:has(+ .better-care-col):not(:nth-child(3n))::after {
    content: url('/wp-content/themes/nexus-2026/assets/care-section-arrow.svg');
    position: absolute;
    right: -0.5rem;
    z-index: 3;
}

.better-care-section .better-care-col:nth-child(3n + 1):has(+ .better-care-col)::after {
    bottom: -5.5rem;
    right: -9.5rem;
    transform: scaleY(-1) scale(0.6);
}

.better-care-section .better-care-col:nth-child(3n + 2):has(+ .better-care-col)::after {
    top: -6.5em;
    right: -10.5rem;
}

.better-care-col .better-care-wrapper {
    height: 100%;
    background: linear-gradient(124.85deg, var(--green-400) 8.95%, var(--green-200) 91.05%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.better-care-col .better-care-wrapper > * {
    position: relative;
}

.better-care-col .better-care-wrapper::before {
    content: "";
    position: absolute;
    inset: -30%;
    border-radius: inherit;
    background: linear-gradient(124.85deg, var(--green-400) 25.95%, var(--green-200) 70.05%);
    z-index: 0;
    transition: transform 0.3s ease-in-out;
}
.better-care-col .better-care-wrapper:hover:before {
    transform: rotate(90deg);
}


.better-care-col .better-care-wrapper .better-care-heading {
    background-color: #fff;
    color: var(--purple-400);
    padding: 20px 30px;
    margin-bottom: 20px;
    border-radius: inherit;
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.better-care-col .better-care-wrapper .better-care-heading .h5 {
    font-size: 500;
}

.better-care-col .better-care-wrapper .better-care-heading .col-2 {
    text-align: right;
}

.better-care-col .better-care-wrapper .better-care-heading .col-2 .fa-solid, .better-care-col .better-care-wrapper .better-care-heading .col-2 .fa-regular {
    font-size: 30px;
}

.better-care-col .better-care-wrapper .better-care-content {
    padding: 0 30px;
    margin-bottom: 20px;
}

.better-care-col .better-care-wrapper .better-care-content p, .better-care-col .better-care-wrapper .better-care-content a {
    color: #fff;
}

.better-care-col .better-care-wrapper .better-care-content a {
    font-weight: 700;
}

/* Testimonial carousel */

.testimonial-slider-wrapper .testimonial-slide {
    background: linear-gradient(315deg, var(--purple-200) 0%, var(--purple-400) 100%);
    border-radius: 1.4em;
}

.testimonial-slider-wrapper .testimonial-slide .inner {
    padding: 2em;
}

.testimonial-slider-wrapper .testimonial-slide .inner .big-quote {
    font-size: 3em;
}

.testimonial-slider-wrapper .testimonial-slide .inner .read-more {
    margin-top: 1em;
}

.testimonial-slider-wrapper .extras-container {
    margin-top: 2em;
}

.testimonial-slider-wrapper .extras-container .arrow-container button.testimonial-arrow.slick-arrow {
    margin: 0 0.3em;
    background-color: var(--green-400);
    border: none;
    border-radius: 99px;
    color: #fff;
    height: 40px;
    width: 40px;
    font-size: 1.3em;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.testimonial-slider-wrapper .extras-container .arrow-container button.testimonial-arrow.slick-arrow.slick-disabled {
    background-color: #BCBCBC;
}

.button-white {
    background-color: #fff;
    color: var(--purple-400);
}

/* Footer */

footer {
    background-color: var(--purple-400);
    padding-top: 5em;
    padding-bottom: 5em;
    --padding-upper-lower: 2.5em;
}

footer .upper {
    padding-bottom: var(--padding-upper-lower);
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
}

footer .lower {
    padding-top: var(--padding-upper-lower);
}

footer .lower > .flex-row > .col-6 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

footer .highlight-text {
    color: #fff;
    display: inline-block;
}

/*footer .col-top {
    margin-bottom: 20px;
}*/

footer .col-bottom .footer-contact {
    margin-bottom: 0;
}

footer .col-bottom .footer-contact:last-child {
    margin-bottom: 10px;
}

footer .col-bottom .footer-contact > a {
    color: #fff;
    font-weight: 700;
}

footer .legal-text {
    font-size: 14px;
}

footer .legal-nav {
    margin-bottom: 10px;
}

footer .legal-nav > a.nav-link {
    color: #fff;
    font-size: 14px;
}

footer .legal-nav > a.nav-link:not(:last-of-type)::after {
    content: "|";
    padding: 0 0.5em;
}

footer .accreditation > a {
    color: #fff;
    font-weight: bold;
}

footer .upper > .flex-row {
    align-items: center;
}

footer .col-4.text-align-right .display-inline-block {
    margin: 0;
}

footer .social-icons-container {
    gap: 20px;
    display: inline-flex;
    margin-left: 1.25em;
}

footer .social-icons-container .social-icon-wrapper > a {
    font-size: 28px;
    color: #fff;
}

.quot-accent {
    position: relative;
}

.quot-accent::after {
    content: url('/wp-content/themes/nexus-2026/assets/special-quot.svg');
    position: absolute;
    top: -1.5em;
    right: -2em;
    width: 2em;
}

.quot-accent.quot-adjust::after {
    top: -0.5em;
}

.single-post .PageTitle .quot-accent::after {
    width: auto;
    top: -0.75em;
    right: -1em;
}

/* Post page Styling */

.single-post header {
    padding-bottom: 20px;
}

.single-post #ContentWrap {
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: hidden;
}

.single-post h1 {
    margin-bottom: 50px;
}

/* WP Bakery Blocks */

/* Partial Sidebar */

.partial-sidebar {
    background: linear-gradient(278deg, var(--purple-200), var(--purple-400));
    border-radius: 20px;
    padding: 45px 35px;
    min-height: 516px;
    height: 100%;
}

.partial-sidebar .header-section .h4 {
    color: #fff;
}

.partial-sidebar .content-section .item-wrapper {
    padding: 1em 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-family: var(--secondary-text);
}

.partial-sidebar .content-section .item-wrapper:first-of-type {
    padding-top: 2em;
}
.partial-sidebar .content-section .item-wrapper:last-of-type {
    margin-bottom: 2em;
    border-bottom: none;
}

.partial-sidebar .content-section .item-wrapper a.item-link {
    color: #fff;    
    display: block;
    position: relative;
}

.partial-sidebar .content-section .item-wrapper a.item-link > span {
    display: block;
    transition: transform 0.3s ease;
    transform-origin: bottom left;
}

.partial-sidebar .content-section .item-wrapper a.item-link:hover > span {
    transform: scale(1.05);
    opacity: 0.8;
}

.partial-sidebar .content-section .item-wrapper a.item-link::after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--green-400);
    position: absolute;
    top: 0;
    right: 0;
    background-color: #fff;
    height: 28px;
    width: 28px;
    border-radius: 999px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.partial-sidebar .content-section .item-wrapper a.item-link:hover::after {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
}

    /* Thin Type */

/* bullet points section */

.bullet-points-container {
    background: var(--purple-gradient);
    color: #fff;
    border-radius: 20px;
    padding: 2.5em;
}

.bullet-points-container .header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.bullet-points-container .header-section > .h3 {
    color: #fff;
    margin: 0;
}

.bullet-points-container .header-section > .h3.quot-accent::after {
    top: -0.45em;
    right: -2.25em;
    width: 2em;
}

.bullet-points-container .description-section {
    margin-bottom: 20px;
}

.bullet-points-container .description-section * {
    color: #fff;
}

.bullet-points-container .content-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 25px;
}

.bullet-points-container .content-section .bulletwrapper {
    padding: 1.25rem 0;
    border-bottom: solid 1px rgba(255, 255, 255, 0.4);
    padding-left: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    font-family: var(--secondary-text);
    font-weight: 600;
}

.bullet-points-container .content-section .bulletwrapper::before {
    content: '\2a';
    font-weight: 900;
    font-family: 'Font Awesome 6 Free';
    font-size: 16px;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
}

/* Tiered Steps */

.tiered-steps {
    margin-bottom: 30px;
}

.tiered-steps .tiers-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tiered-steps .tiers-wrapper .step-wrapper {
    border-radius: 20px;
    height: 100%;
    background: linear-gradient(124.85deg, var(--green-400) 8.95%, var(--green-200) 91.05%);
    position: relative;
    overflow: hidden;
}

.tiered-steps .tiers-wrapper .step-wrapper .step-header {
    background-color: var(--purple-400);
    color: #fff;
    padding: 20px 30px;
    margin-bottom: 25px;
    border-radius: inherit;
    min-height: 90px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tiered-steps .tiers-wrapper .step-wrapper::before {
    content: "";
    position: absolute;
    inset: -60%;
    border-radius: inherit;
    background: linear-gradient(124.85deg, var(--green-400) 25.95%, var(--green-200) 70.05%);
    z-index: 0;
    transition: transform 0.3s ease-in-out;
}

.tiered-steps .tiers-wrapper .step-wrapper.no-green {
    background: none;
}

.tiered-steps .tiers-wrapper .step-wrapper.no-green::before {
    display: none;
}

.tiered-steps .tiers-wrapper .step-wrapper:hover::before {
    transform: rotate(90deg);
}

.tiered-steps .tiers-wrapper .step-wrapper .step-header .heading-wrapper {
    width: 75%;
}
.tiered-steps .tiers-wrapper .step-wrapper .step-header .tier-header {
    color: #fff;
    margin-bottom: 0;
}

.tiered-steps .tiers-wrapper .step-wrapper .step-content {
    padding: 0 30px;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.tiered-steps .tiers-wrapper .number-wrapper {
    width: 25%;
    position: relative;
}

.tiered-steps .tiers-wrapper .number-wrapper .number {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(63%);
    text-align: center;
    font-size: 90px;
    font-family: var(--secondary-text);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgb(255 255 255 / 40%) 100%);
    background-clip: text;
    color: transparent;
    line-height: 100%;
}

.tiered-steps .button-wrapper {
    margin-top: 30px;
}

/* Arrow Steps */

.arrows-steps-container .arrow-steps-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.arrows-steps-container .arrow-steps-wrapper .arrow-step {
    border-radius: 20px;
    background: linear-gradient(360deg, rgba(255, 255, 255, 0) 14.99%, rgba(255, 255, 255, 0.25) 49.65%, rgba(255, 255, 255, 0.5) 94.44%);
    min-height: 500px;
    position: relative;
}

.arrow-steps-taller .arrows-steps-container .arrow-steps-wrapper .arrow-step {
    min-height: 650px;
}

.arrows-steps-container .arrow-steps-wrapper .arrow-step:not(:nth-child(5n)) > .lower::after {
    content: url('/wp-content/themes/nexus-2026/assets/care-section-arrow.svg');
    bottom: 6%;
    position: absolute;
    z-index: 9999;
}

.arrows-steps-container .arrow-steps-wrapper .arrow-step:nth-child(even):not(:nth-child(5n))  > .lower::after {
    content: url('/wp-content/themes/nexus-2026/assets/loop-arrow.svg');
    transform: scale(0.8);
    right: -70%;
}

.arrows-steps-container .arrow-steps-wrapper .arrow-step:nth-child(odd) > .lower::after {
    transform: scaleY(-1) scale(0.6);
    right: -80%;
    bottom: 12%;
}

.arrows-steps-container .arrow-steps-wrapper .arrow-step .upper {
    background-color: #fff;
    padding: 30px;
    border-radius: inherit;
    position: relative;
    min-height: 152px;
}

.arrows-steps-container .arrow-steps-wrapper .arrow-step .upper::before {
    content: var(--four-point-star);
    position: absolute;
    bottom: 20px;
    right: 20px;
    filter: var(--green-400-filter);
    transition: transform 0.3s ease-in-out;
}

.arrows-steps-container .arrow-steps-wrapper .arrow-step:hover .upper::before {
    transform: rotate(90deg);
}

.arrows-steps-container .arrow-steps-wrapper .arrow-step .upper .arrow-step-heading {
    color: var(--purple-400);
    font-weight: 500;
    font-family: var(--secondary-text);
}

.arrows-steps-container .arrow-steps-wrapper .arrow-step .lower {
    padding: 30px;
}

.arrows-steps-container .arrow-steps-wrapper .arrow-step .lower p {
    color: #fff;
}

/* Service Summary */

.service-summary {
    --primary-color: var(--purple-400);
    border-radius: 20px;
    border: solid 2px var(--purple-200);
    height: 100%;
}

.service-summary.service-summary-green {
    --primary-color: var(--green-400);
}

.service-summary .upper {
    padding: 30px 35px;
    border-radius: 20px;
    background-color: var(--primary-color);
    color: #fff;
    margin: -2px;
}

.service-summary .upper > h3 {
    color: #fff;
    margin-bottom: 0;
}

.service-summary .lower {
    padding: 30px 35px;
}

/* Feature Box */

.feature-box {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3em;
}

.feature-box .feature-box-inner {
    padding: 50px 45px;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0) 21.87%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-box .feature-box-inner .feature-box-header {
    display: inline-flex;
    gap: 20px;
    align-items: center;

}

.feature-box .feature-box-inner .feature-box-header::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;

}

.feature-box .feature-box-inner .feature-box-header, .feature-box .feature-box-inner .subheading {
    color: #fff;
}

.gradient-border {
    background: var(--green-gradient);
    transform: scaleX(-1) rotate(0.3deg);
    clip-path: polygon(100% 25%, 100% 75%, 0 100%, 0 0);
    border-radius: 20px;
    height: 6px;
}

.home-care-img img {
    aspect-ratio: 845 / 333;
    object-fit: cover;
    object-position: center;
}

/* Testimonials Archive page */

.post-type-archive-testimonials .archive-loop {
    display: block;
}

.post-type-archive-testimonials .testimonial-post {
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    background-clip: padding-box;
    margin-bottom: 3em;
    background: linear-gradient(315deg, var(--purple-200) 0%, var(--purple-400) 100%);
    cursor: pointer;
}

.post-type-archive-testimonials .testimonial-post .testimonial-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}


.post-type-archive-testimonials .testimonial-post .secondary-content .button.open-close {
    background-color: #fff;
    color: var(--purple-400);
    width: 40px;
    height: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.1s ease-in-out;
    cursor: pointer;
}

.post-type-archive-testimonials .testimonial-post .secondary-content .button.open-close::after {
    display: none;
}

.post-type-archive-testimonials .testimonial-post .big-quote {
    font-size: 3em;
}

.post-type-archive-testimonials .testimonial-post .primary-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    width: 100%;
}

.post-type-archive-testimonials .testimonial-post .primary-content .lower-row {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.post-type-archive-testimonials .testimonial-post .primary-content .lower-row::after {
    content: var(--four-point-star);
    position: absolute;
    right: -50px;
}

.post-type-archive-testimonials .testimonial-post .primary-content .content {
    display: none;
    line-height: 1.6em;
    color: #fff;
    font-size: 28px;
    height: 0;
    transition: height 0.3s ease-in-out, opacity 0.2s ease-in-out;
    margin-bottom: 20px;
    overflow: hidden;
}

.post-type-archive-testimonials .testimonial-post .big-quote, .post-type-archive-testimonials .testimonial-post .primary-content .excerpt, .post-type-archive-testimonials .testimonial-post .testimonial-author {
    color: #fff;
}

.post-type-archive-testimonials .testimonial-post.active {
    cursor: default;
}

.post-type-archive-testimonials .testimonial-post::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    opacity: 0;
    background-color: rgb(255 255 255 / 20%);
    transition: opacity 0.2s ease-in-out;
}

.post-type-archive-testimonials .testimonial-post.active::before {
    opacity: 1;
}

.post-type-archive-testimonials .testimonial-post.active .primary-content .excerpt {
    display: none;
}

.post-type-archive-testimonials .testimonial-post.active .primary-content .content {
    display: block;
    padding-bottom: 25px;
    height: 100%;
}

.post-type-archive-testimonials .testimonial-post.active:not(.btn-reverse) .secondary-content .button.open-close > i {
    transform: rotate(180deg);
}

/* Category styling */

.archive.category .header-container h1 {
    display: inline-block;
    font-weight: bold;
    margin-bottom: 40px;
}

.archive.category .header-container h1.underline::after {
    bottom: -0.2em;
}

.archive.category article.archive-post {
    background-color: var(--purple-400);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.archive.category article.archive-post .post-img-wrapper {
    --post-img-margin-width: 8px;
    position: relative;
    margin: var(--post-img-margin-width);
}

.archive.category article.archive-post .post-img-wrapper img {
    border-radius: calc(20px - var(--post-img-margin-width));
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.archive.category article.archive-post .main-content {
    padding: 20px;
}

.archive.category article.archive-post .main-content h2 > a, .archive.category article.archive-post .main-content .excerpt > * {
    color: #fff;
}

.archive.category article.archive-post .main-content h2 {
    line-height: 1.3em;
}

.archive.category article.archive-post .main-content .excerpt > * {
    line-height: 140%;
}

.archive.category article.archive-post .button-container {
    padding: 0 20px;
    padding-bottom: 20px;
    margin-top: auto;
}

.ctl-wrapper .ctl-label-big, .ctl-wrapper .ctl-label-big a {
    display: none!important;
}

/* contact-column-bg */

.contact-column-bg .vc_column-inner {
    background: linear-gradient(297.01deg, #B78FCC 16.24%, #6F2C91 83.76%);
    border-radius: 20px;
    color: #fff;
}

.extend-height > .vc_column-inner > .wpb_wrapper {
    height: 95%;
}

.extend-height-full > .vc_column-inner > .wpb_wrapper {
    height: 100%;
}

.map-embed-wrap {
    position: relative;
    width: 100%;
    height: 565px;
    overflow: hidden;
    border-radius: 20px;
}

.map-embed-wrap iframe {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 625px;
    border: 0;
}

@keyframes menu-slide {
    0% {
        transform: translateX(94%);
    }
    100% {
        transform: translateX(0%);
    }
}
@keyframes menu-slide-reverse {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

@media screen and (max-width:1400px) {
    .col-xl-6 {
        flex-basis: 50%;
    }
    header .logo-col, header .buttons-col {
        flex-basis: 25%;
    }
}

/* Resonsive Code */
/* Device = Laptops, Desktops */
@media (min-width: 1025px) and (max-width: 1280px) {
}

/* Device = Tablets, Ipads (portrait) */
@media (min-width: 768px) and (max-width: 1024px) {
}

/* Device = Tablets, Ipads (landscape) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
}

/* Device = Low Resolution Tablets, Mobiles (Landscape) */
@media (min-width: 481px) and (max-width: 767px) {
}

/* Device = Most of the Smartphones Mobiles (Portrait) */
@media (min-width: 320px) and (max-width: 480px) {
}