:root {
    --primary-color: #06059B;
    --secondary-color: #2ecc71;
    --background-color: #f4f4f4;
    --text-color: #111;
    --header-background: #333;
    --footer-background: #333;
    --link-color: #06059B;
    --link-color-hover: #040374;
    --button-secondary-bg: #2ecc71;
    --border-radius: 4px;
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --font-body: "Archivo", sans-serif;
    --font-heading: "Red Hat Display", sans-serif;
    scroll-behavior: smooth;
}


*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-optical-sizing: auto;
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    color: var(--text-color);
    line-height: 1.6;
    font-family: var(--font-body);
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

nav {
    width: 100vw;
    background-color: #fff;
    box-shadow: 0 3px 3px rgb(0 0 0 / 12%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    padding: 10px 30px;
    z-index: 20;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

img {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.seo-title {
    font-family: var(--font-body);
    font-weight: 300;
    margin-bottom: 10px;
}

/*Styling logo*/
.logo {
    padding: 1vh 1vw;
    text-align: center;
}

/*Styling Links*/
.nav-links {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    margin: 0 1.2vw;
    font-weight: 400;
    font-size: 14px;
    color: var(--text-color);
}

.nav-links li a:hover {
    color: #333;
}

.nav-links li {
    position: relative;
    font-weight: 500;

}

.nav-links li a::before {
    content: "";
    display: block;
    height: 2px;
    width: 0%;
    background-color: var(--link-color-hover);
    position: absolute;
    bottom: -10px;
    transition: all ease-in-out 250ms;
    margin: 0 0 0 10%;
}

.nav-links li a:hover::before {
    width: 80%;
}

/*Styling Hamburger Icon*/
.hamburger div {
    width: 30px;
    height: 3px;
    background: var(--link-color);
    margin: 5px;
    transition: all 0.3s ease;
}

.hamburger {
    display: none;
}

@media screen and (max-width: 1199px) {
    .nav-links li a {
        margin: 0 1vw;
    }
}

/*Stying for small screens*/
@media screen and (max-width: 1024px) {
    nav {
        position: fixed;
        z-index: 3;
    }

    .hamburger {
        display: block;
        position: absolute;
        cursor: pointer;
        right: 5%;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
    }

    .nav-links {
        position: fixed;
        top: 55px;
        left: 0;
        background: var(--link-color);
        height: calc(100vh - 55px);
        width: 100%;
        flex-direction: column;
        clip-path: circle(50px at 90% -20%);
        -webkit-clip-path: circle(50px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
        overflow: scroll;
    }

    .nav-links .btn.primary {
        background-color: var(--link-color-hover);
        margin: auto;
        margin-top: 10px;
    }

    .nav-links.open {
        clip-path: circle(1500px at 90% -10%);
        -webkit-clip-path: circle(1500px at 90% -10%);
        pointer-events: all;
    }

    .nav-links li {
        opacity: 0;
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
        width: 80%;
        margin: 0;
        padding: 15px 0;
        text-align: center;
    }

    .nav-links li:not(:first-child) {

        border-top: 1px solid #fff;
    }

    .nav-links li a {
        font-size: 24px;
        color: #fff;
    }

    .nav-links li:nth-child(1) {
        transition: all 0.5s ease 0.2s;
    }

    .nav-links li:nth-child(2) {
        transition: all 0.5s ease 0.4s;
    }

    .nav-links li:nth-child(3) {
        transition: all 0.5s ease 0.6s;
    }

    .nav-links li:nth-child(4) {
        transition: all 0.5s ease 0.7s;
    }

    .nav-links li:nth-child(5) {
        transition: all 0.5s ease 0.8s;
    }

    .nav-links li:nth-child(6) {
        transition: all 0.5s ease 0.9s;
        margin: 0;
    }

    .nav-links li:nth-child(7) {
        transition: all 0.5s ease 1s;
        margin: 0;
    }

    li.fade {
        opacity: 1;
    }
}

@media screen and (max-width: 767px) {
    nav {
        padding: 8px 15px;
    }
}

/*Animating Hamburger Icon on Click*/
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    transition: all 0.7s ease;
    width: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

footer {
    background-color: #F2F2F2;
    font-size: 0;
    padding: 5rem 0;
    width: 100%;
    bottom: 0;
}

footer .logo {

    padding: 0;
}

footer a {
    color: #111;

}

footer .social-links a {
    color: #333;
}

.social-links a {
    text-decoration: underline;
}

footer ul.site-links {
    padding: 0;
    list-style: none;

}

footer .site-links a {
    font-family: var(--font-heading);

}


/* Buttons */
a.btn {
    display: inline-block;
}

button,
.btn {
    font-family: var(--font-heading);
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 1px;
    font-weight: 800;
}

button.primary,
.btn.primary {
    background-color: var(--link-color);
    color: #fff;
}

button.primary:hover,
.btn.primary:hover {
    background-color: var(--link-color-hover);
    /* Darker Blue */
}

@media (min-width:1200px) {
    nav button.primary {
        margin-left: 1vw;
    }
}


button.secondary,
.btn.secondary {
    background-color: var(--button-secondary-bg);
    color: var(--button-secondary-color);
}

button.secondary:hover,
.btn.secondary:hover {
    background-color: #27ae60;
    /* Darker Green */
}

/* Fonts and color */
.color-white {
    color: #fff;
}

.color-primary {
    color: var(--primary-color);
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.pt-5 {
    padding-top: 5rem;
}

.pb-5 {
    padding-bottom: 5rem;
}

@media (max-width:991px) {
    .md-mb-15 {
        margin-bottom: 15px;
    }

    .md-mb-30 {
        margin-bottom: 30px;
    }

    .md-col-bleed {
        padding: 0
    }
}

.text-bold {
    font-weight: 800;
}

.text-semi {
    font-weight: 600;
}

.text-12 {
    font-size: 12px;
}

.text-14 {
    font-size: 14px;
}

.text-16 {
    font-size: 16px;
}

.text-18 {
    font-size: 18px;
}

.text-20 {
    font-size: 20px;
}

.text-22 {
    font-size: 22px;
}

.text-36 {
    font-size: 36px;
}

.text-42 {
    font-size: 42px;
}

@media (max-width:991px) {
    .text-18 {
        font-size: 16px;
    }

    .text-22 {
        font-size: 18px;
    }

    .text-42,
    .text-36 {
        font-size: 28px;
    }

}


/* Forms */


input,
textarea,
select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-size: 14px;
    height: 40px;
    color: var(--text-color)
}

input::placeholder,
textarea::placeholder,
select.placeholder {
    color: #505050;
}


textarea {
    height: 150px;
}

@media (max-width:767px) {
    textarea {
        height: 80px;
    }
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.hero {
    background: url(../images/hero-img.jpg) no-repeat;
    width: 100%;
}

@media (min-width: 768px) {

    .hero {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        padding: 7rem 0;
    }

    .l-color-white {
        color: #fff;
    }
}



@media (max-width: 767px) {
    .hero {
        background: url(../images/hero-mobile.jpg) no-repeat;
        padding-top: 7rem;
        background-size: 100vw;
        padding-bottom: 75vw;
        background-position: bottom;
    }

}

.half-blue {
    background: linear-gradient(var(--link-color), var(--link-color)) no-repeat;
    background-size: 100% 40%;
    background-position: bottom;
}

.bg-blue {
    background: var(--link-color);
}

.testimonial-card::before,
.testimonial-card::after {
    content: '';
    background: url(../images/quote.svg) no-repeat;
    width: 45px;
    height: 40px;
    display: block;
    background-size: contain;
}

.testimonial-card::before {
    transform: scale(-1);
}

.testimonial-card::after {
    position: absolute;
    right: 60px;
    bottom: 30px;
}

.testimonial-card {
    background: #fff;
    box-shadow: 4px 4px 11px 3px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 30px 50px;
    text-align: center;
    height: 100%;
}

.testimonial-card h4 {
    font-weight: 500;
    line-height: 1.5;
}

.why-us {
    display: grid;
    gap: 15px;
}

#happy-patients {
    overflow: hidden;
    z-index: 0;
}

.swiper.testimonial-swiper {
    overflow: unset;
}

.testimonial-swiper .swiper-slide {
    height: auto;
    padding: 5px 15px 15px 5px;
}

.testimonial-card img {
    margin-bottom: 30px;
    width: 70px;
}

@media (max-width:767px) {
    .testimonial-card {
        padding: 30px;
    }

    .testimonial-card h4,
    .testimonial-card p {
        text-align: left;
    }

    .testimonial-card::before {
        display: none;
    }

    .testimonial-card::after {
        right: 30px;
        bottom: unset;
        top: 30px;
    }
}

@media (min-width:768px) {
    .testimonial-card img {
        margin-left: auto;
        margin-right: auto;
    }

    .why-us {
        grid-template-columns: 50% 50%;
    }

    .why-us .item {
        padding: 25px 30px;
    }

    .why-us .item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .why-us .item:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .why-us .item:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
    }

    .why-us .item:nth-child(4) {
        grid-column: 1;
        grid-row: 4;
    }

    .why-us .item:nth-child(5) {
        grid-column: 2;
        grid-row: 1;
    }

    .why-us .item:nth-child(6) {
        grid-column: 2;
        grid-row: 2;
    }

    .why-us .item:nth-child(7) {
        grid-column: 2;
        grid-row: 3;
    }

    .why-us .item:nth-child(8) {
        grid-column: 2;
        grid-row: 4;
    }
}

.why-us .item {
    background: var(--link-color-hover);
    border-radius: 10px;
    padding: 15px 30px;
}

.why-us .item strong {
    font-family: var(--font-heading);
    margin-right: 15px;
}

#our-treatment .treat-tab {
    padding: 10px 20px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

@media (min-width: 992px) {
    #our-treatment .treat-tab {
        padding: 1.3rem 1.5rem;
        display: inline-flex;
        justify-content: space-between;
        align-items: center;
        background: #F2F2F2;
        border-radius: 10px;
        width: calc(50% - 20px);
    }

    #our-treatment .tab-container:not(.hidden-md-up) {
        display: flex;
        justify-content: space-between;
        gap: 15px;
    }
}

#our-treatment .tab-container .treat-tab {
    font-size: 20px;
    font-weight: 500;
}

#our-treatment[data-active-tab="elderly"] .treat-tab[data-tab="elderly"],
#our-treatment[data-active-tab="orthopedic"] .treat-tab[data-tab="orthopedic"] {
    background-color: var(--link-color);
    font-weight: 600;
    color: #fff;
}

#our-treatment .tab-pane {
    font-size: 0;
    overflow: hidden;
}

#our-treatment .tab-pane img {
    border-radius: 10px;
    overflow: hidden;
}


#our-treatment .tab-pane {
    transform: translateY(0) scale(0);
    height: 0;
    overflow: hidden;
    transition: .5s ease;
    transform-origin: top;
}

#our-treatment[data-active-tab="elderly"] .tab-pane[data-container="elderly"],
#our-treatment[data-active-tab="orthopedic"] .tab-pane[data-container="orthopedic"] {
    padding-top: 3rem;
    transition-delay: 0.2s;
    transform: translateY(0) scale(1);
    opacity: 1;
    height: fit-content;
}

#our-treatment .tab-pane hr {
    margin: 15px 0;
    border: none;
    border-bottom: 1px solid var(--link-color);
}

#our-treatment .tab-pane hr::before {
    content: '';
    width: 3px;
    height: 3px;
    border: 3px;
    background: var(--link-color);
    position: absolute;
    transform: translateY(-1px);

}

@media (min-width:992px) {
    #our-treatment .tab-pane .right {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    #our-treatment .tab-pane .right>div {
        padding-left: 5rem;
    }

    #our-treatment .tab-pane .right img,
    #our-treatment .tab-pane .left>div {
        padding-left: 0;
    }

    #our-treatment .tab-pane .right>div,
    #our-treatment .tab-pane .left img {
        padding-right: 0;
    }

    #our-treatment .tab-pane .left>div {
        padding-right: 5rem;
    }
}

#our-treatment .tab-pane .left hr::before {
    left: 0;
}

#our-treatment .tab-pane .right hr::before {
    right: 0;
}

#our-treatment .tab-pane strong {
    display: block;
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    #our-treatment .treat-tab:not(.hidden-sm-down) {
        display: flex;
        justify-content: space-between;
        background: #F2F2F2;
        border-radius: 10px;
    }

    #our-treatment:not([data-active-tab]) .hidden-md-up .treat-tab {
        margin-top: 30px;
    }

    #our-treatment .treat-tab::after {
        content: "";
        background: url(../images/arrow.svg) no-repeat;
        width: 32px;
        height: 32px;
        transition: all 0.35s;
        transform-origin: center;
        position: absolute;
        right: 10px;
        top: 0;
        bottom: 0;
        margin: auto;
    }

    #our-treatment[data-active-tab="elderly"] .tab-pane[data-container="elderly"],
    #our-treatment[data-active-tab="orthopedic"] .tab-pane[data-container="orthopedic"] {
        padding-top: 15px;
    }

    #our-treatment[data-active-tab="elderly"] .treat-tab[data-tab="elderly"]::after,
    #our-treatment[data-active-tab="orthopedic"] .treat-tab[data-tab="orthopedic"]::after {
        transform: rotate(-180deg);
        filter: invert(1) grayscale(1);
    }

    #our-treatment[data-active-tab="elderly"] .tab-pane {
        padding-bottom: 30px;
    }

    #our-treatment .tab-pane .left hr::before {
        left: 15px;
    }

    #our-treatment .tab-pane .right hr::before {
        right: 15px;
    }
}





/* Core styles/functionality */
.tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.tab img {
    overflow: hidden;
    border-radius: 1rem;
}

.tab__content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s;
    transform: scaleY(0);
    transform-origin: top;
    font-size: 0;
}

.tab input:checked~.tab__content {
    max-height: fit-content;
    transform: scale(1);
    padding: 3rem 0;
}

@media (min-width:768px) {
    .tab__content>div {
        padding-right: 5rem;
    }
}

#our-approach {
    background-color: var(--background-color);
}

/* Visual styles */
.accordion {
    overflow: hidden;
}

.tab {
    position: relative;
}

.tab__label,
.tab__close {
    display: flex;
    align-items: center;
    color: #000;
    background: var(--theme);
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
}

.tab__label {
    justify-content: space-between;
    padding: 1rem 0;
}

.tab__label:not(:last-child) {
    border-bottom: 1px solid #A5A5A5;

}

.tab__label::after {
    content: "";
    background: url(../images/arrow.svg) no-repeat;
    width: 32px;
    height: 32px;
    transition: all 0.35s;
    transform-origin: center;
    position: absolute;
    right: 0;
}

.tab input:checked+.tab__label {
    border-bottom: 1px solid var(--link-color);

}

.tab input:checked+.tab__label::after {
    transform: rotate(-180deg);
}

.tab__content p {
    margin: 0;
    padding: 1rem;
}

.tab__close {
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.accordion--radio {}

/* Arrow animation */
.tab input:not(:checked)+.tab__label:hover::after {
    animation: bounce 1s infinite;
}

ul:not(.nav-links) {
    padding-left: 5px;
}


.tab__content ul li {
    margin-bottom: 10px;
}

@media (max-width:767px) {
    .tab__label {
        padding-right: 35px;
    }

}

@keyframes bounce {
    25% {
        transform: rotate(0) translateY(.25rem);
    }

    75% {
        transform: rotate(0) translateY(-.25rem);
    }
}

.content-pane {
    font-size: 0;
}

.content-pane img {
    border-radius: 10px;
}

@media (min-width:1200px) {

    .content-pane>.indent {
        padding-left: 5rem;
    }

    .grid.content-pane>.indent {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

#contact-us .container {
    font-size: 0;
}

.iframe-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 0;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    border: 0;
    border-radius: 10px;
}

.iframe-container::after {
    padding-top: 50.25%;
    display: block;
    content: '';
}


/* erro class styling */
.error {
    color: #ff0000;
    font-weight: normal;
    font-size: 14px;
}

button {
    display: block;
    background: var(--link-color-hover);
    color: #fff;
}

.lg-btn {
    padding: 1rem 5rem
}

.signup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    display: flex;
    align-items: center;
    transition: .2s ease;
    z-index: -1;
    opacity: 0;
}

.signup-open {
    overflow: hidden;
}

.signup-open .signup-modal {
    z-index: 30;
    opacity: 1;
}

.signup-modal .logo {
    position: fixed;
    right: 50px;
    bottom: 50px;
}

@media (max-width:767px) {
    .signup-modal {
        display: unset;
    }

    .signup-modal .logo {
        position: relative;
        right: unset;
        bottom: -20px;
        padding: 0;
    }
}

.signup-modal .close {
    cursor: pointer;
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 32px;
    opacity: 0.5;
    border: 2px solid #FFF;
    border-radius: 30px;
}

.signup-modal .close:hover {
    opacity: 1;
}

.signup-modal .close:before,
.signup-modal .close:after {
    position: absolute;
    left: 13px;
    content: ' ';
    height: 16px;
    width: 2px;
    background-color: #fff;
    top: 6px;
}

.signup-modal .close:before {
    transform: rotate(45deg);
}

.signup-modal .close:after {
    transform: rotate(-45deg);
}

@media (max-width:525px) {
    .signup-modal .close {
        right: 15px;
        top: 15px;
    }

    input,
    select {
        height: 35px;
    }
}

.pos-relative {
    position: relative;
}

.swiper-nav {
    --swiper-navigation-size: 19px;
    display: flex;
    width: 100px;
    margin: 30px auto 0;
    justify-content: space-between;
}

.swiper-nav .swiper-button-next,
.swiper-nav .swiper-button-prev {
    display: flex;
    position: relative;
    width: 32px;
    height: 32px;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    filter: grayscale(1);
}

.swiper-nav .swiper-button-prev::after,
.swiper-nav .swiper-button-next::after {
    content: "";
    background: url(../images/arrow.svg) no-repeat;
    width: 32px;
    height: 32px;
    transition: all 0.35s;
    transform-origin: center;
    margin: auto;
}

.swiper-nav .swiper-button-next {
    transform: rotate(-90deg);
}

.swiper-nav .swiper-button-prev {
    transform: rotate(90deg);
}

@media (max-width:767px) {

    .swiper-button-next,
    .swiper-button-prev {
        filter: invert(1) grayscale(1);
    }
}

@media (min-width:768px) {
    .testimonial-swiper-nav {
        position: absolute;
        top: 0;
        right: 0;
        --swiper-navigation-size: 12px;
    }
}

.fit-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

@media (min-width:992px) {
    .divLine::before {
        content: '';
        position: absolute;
        height: 100%;
        width: 1px;
        background: #fff;
        left: 40px;
    }
}

.form-group label {
    margin-bottom: 5px;
    display: block;
}

@media (max-width:767px) {
    .content-pane .imgBleed {
        margin: -10px -30px 0;
        width: calc(100% + 60px);
        border-radius: 0;
    }

    .form-group {
        padding-top: 5px;
    }
}

.text-nf {
    font-size: 10rem;
}