/********** Template CSS **********/
:root {
    --primary: #354F8E;
    --primary-rgb: 53, 79, 142;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #0e1f4e;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-outline-dark {
    border-width: 2px;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.site-header > .container-fluid {
    background-color: #fff;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.topbar-contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1.25rem;
    font-size: 0.9rem;
}

.topbar-contacts a,
.topbar-contacts span {
    white-space: nowrap;
}

@media (min-width: 992px) {
    .topbar-contacts {
        justify-content: flex-start;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-brand .brand-title {
    font-size: clamp(1.4rem, 2vw, 2rem);
    white-space: nowrap;
}

.navbar-brand .brand-logo {
    display: block;
    width: auto;
    height: 56px;
    max-width: 220px;
    object-fit: contain;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .navbar-brand .brand-title {
        font-size: 1.2rem;
        white-space: normal;
    }

    .navbar-brand .brand-logo {
        height: 46px;
        max-width: 190px;
    }

    .navbar {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand .brand-title {
        font-size: 1rem;
        line-height: 1.3;
    }

    .navbar-brand .brand-logo {
        height: 40px;
        max-width: 165px;
    }

    .navbar-toggler {
        padding: 0.35rem 0.5rem;
    }
}

.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
}

.hero-header h1 {
    overflow-wrap: anywhere;
}

.health-motion-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

#vision {
    isolation: auto;
}

.health-motion-section > .container,
.health-motion-section > .row {
    position: relative;
    z-index: 1;
}

.health-icon-field {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.health-icon {
    position: absolute;
    color: rgba(30, 101, 214, 0.2);
    font-size: clamp(2rem, 4vw, 4rem);
    will-change: transform;
}

.health-icon-one {
    top: 12%;
    left: 7%;
    animation: health-drift-one 18s ease-in-out infinite alternate;
}

.health-icon-two {
    top: 58%;
    left: 28%;
    animation: health-drift-two 22s ease-in-out infinite alternate;
}

.health-icon-three {
    top: 24%;
    right: 22%;
    animation: health-drift-three 20s ease-in-out infinite alternate;
}

.health-icon-four {
    right: 6%;
    bottom: 12%;
    animation: health-drift-four 12s ease-in-out infinite alternate;
}

.health-icon-five {
    top: 72%;
    left: 12%;
    animation: health-drift-five 10s ease-in-out infinite alternate;
}

.health-icon-six {
    top: 8%;
    right: 42%;
    animation: health-drift-six 14s ease-in-out infinite alternate;
}

.health-icon-seven {
    right: 34%;
    bottom: 8%;
    animation: health-drift-seven 11s ease-in-out infinite alternate;
}

.health-icon-eight {
    top: 42%;
    right: 4%;
    animation: health-drift-eight 9s ease-in-out infinite alternate;
}

.health-motion-section-dark .health-icon {
    color: rgba(112, 194, 255, 0.32);
}

@keyframes health-drift-one {
    to { transform: translate(18vw, 28vh) rotate(42deg) scale(1.18); }
}

@keyframes health-drift-two {
    to { transform: translate(-17vw, -24vh) rotate(-48deg) scale(0.82); }
}

@keyframes health-drift-three {
    to { transform: translate(16vw, 30vh) rotate(36deg) scale(1.16); }
}

@keyframes health-drift-four {
    to { transform: translate(-20vw, -26vh) rotate(-40deg) scale(0.84); }
}

@keyframes health-drift-five {
    to { transform: translate(22vw, -20vh) rotate(55deg) scale(1.2); }
}

@keyframes health-drift-six {
    to { transform: translate(-18vw, 24vh) rotate(-52deg) scale(0.8); }
}

@keyframes health-drift-seven {
    to { transform: translate(20vw, -22vh) rotate(46deg) scale(1.14); }
}

@keyframes health-drift-eight {
    to { transform: translate(-24vw, 18vh) rotate(-58deg) scale(0.86); }
}

@media (prefers-reduced-motion: reduce) {
    .health-icon {
        animation: none;
    }
}

.service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    height: 100%;
    padding: 30px 30px 24px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
    margin: 0 auto 1rem;
    flex-shrink: 0;
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item h4 {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.service-item p {
    flex: 1;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-item a.btn {
    width: 60px;
    margin: 1rem auto 0;
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover a.btn {
    opacity: 1;
}

.pricing-section {
    background: #f7f9fc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-heading .pricing-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pricing-heading h2 {
    color: var(--dark);
}

.pricing-heading p,
.price-card-intro {
    color: #667085;
}

.price-card {
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(14, 31, 78, 0.06);
}

.price-card-featured {
    border-top: 5px solid var(--primary);
}

.price-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e8edf3;
}

.price-card-label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.price-card h3 {
    margin: 0;
    color: var(--dark);
    font-size: 1.5rem;
}

.price-amount {
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 700;
    white-space: nowrap;
}

.price-amount span {
    font-size: 1rem;
}

.price-card-icon {
    color: var(--primary);
    padding-top: 0.35rem;
}

.price-card-intro {
    margin: 1.25rem 0 0.75rem;
}

.price-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.price-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    color: var(--dark);
    border-bottom: 1px solid #edf1f5;
}

.price-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.price-list strong {
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.05rem;
}

.pricing-note {
    max-width: 900px;
    padding: 1rem 1.25rem;
    margin-right: auto;
    margin-left: auto;
    color: #5b4510;
    background: #fff8e6;
    border-left: 4px solid #e1ae31;
}

@media (max-width: 575.98px) {
    .container-fluid {
        overflow-x: hidden;
    }

    .hero-header {
        min-height: 520px;
        background-position: 62% top;
    }

    .hero-header h1 {
        font-size: 2.6rem;
        line-height: 1.1;
    }

    .hero-header .btn {
        display: block;
        width: 100%;
        margin: 0.75rem 0 !important;
    }

    .price-card {
        padding: 1.5rem;
    }

    .price-card h3 {
        font-size: 1.25rem;
    }

    .price-amount {
        font-size: 1.3rem;
    }
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}

.appointment-form .form-select,
.appointment-form .form-control {
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    transition: all 0.3s ease;
}

.appointment-form .form-select:focus,
.appointment-form .form-control:focus {
    border-color: rgba(var(--primary-rgb), 0.7);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
}

.appointment-form .form-check {
    padding-left: 1.8rem;
}

.appointment-form .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
    border-color: var(--primary);
}

.appointment-form .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.consent-read-link {
    white-space: nowrap;
    font-size: 0.95rem;
    line-height: 1.2;
    padding: 0.3rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-rgb), 0.4);
    background: rgba(var(--primary-rgb), 0.08);
}

.consent-read-link:hover {
    background: rgba(var(--primary-rgb) , 0.15);
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .appointment-form .row > [class*="col-"] {
        width: 100%;
    }

    .appointment-form .d-flex {
        align-items: flex-start !important;
    }

    .consent-read-link {
        width: 100%;
        text-align: center;
    }

    #appointment .container > .row > [class*="col-"] > .bg-white {
        padding: 1.5rem !important;
    }

    #contact .row[style*="margin-top"] {
        margin-top: 1.5rem !important;
    }

    #contact .row > .col-12[style*="height"] {
        height: 300px !important;
    }

    #contact .bg-white.m-5 {
        margin: 0 !important;
        padding: 1.5rem !important;
    }
}
