:root {
    --blockTitle-tc: #01849f;
    --blockSubTitle-tc: #111111;
    --common-item-link-bg: #009C86;
    --common-item-link-bgi: linear-gradient(90deg, #55c48b, #009C86);
    --common-item-link-bc: #e5e5e5;
    --common-item-link-tc: #fff;
    --hero-title-tc: #FFF;
    --hero-desc-tc: #FFF;
    --hero-btn-tc: #FFF;
    --hero-btn-bc: #FFF;
    --hero-btn-bg: rgba(0, 156, 134, 0.5);
    --hero-btn-hover-bg: rgba(0, 0, 0, .35);
    --hero-btn-frame-effect-odd: brightness(0.3) saturate(100%) sepia(94%) hue-rotate(135deg) brightness(1.1) saturate(300%);
    --hero-btn-frame-effect-evt: brightness(0.3) saturate(100%) sepia(94%) hue-rotate(135deg) brightness(1.1) saturate(300%);
    --about-bg: #f2f2f2;
    --about-content-bg: #FFF;
    --about-content-sc: rgba(0, 0, 0, 0.1);
    --about-title-tc: #009c86;
    --about-leadImage-sc: rgba(0, 0, 0, 0.1);
    --about-content-heading-tc: #009c86;
    --about-content-number-tc: rgba(196, 124, 71, 0.5);
    --patientPath-item-bg: #fff;
    --patientPath-item-bc: #f1f1f1;
    --patientPath-item-sc: rgba(0, 0, 0, 0.1);
    --patientPath-arrow-tc: #C47C47;
    --services-item-bg: #FFF;
    --services-item-sc: rgba(0, 0, 0, 0.2);
    --services-item-hover-bc: rgba(0, 156, 134, 0.5);
    --services-item-hover-bg: rgba(0, 156, 134, 0.02);
    --services-item-icon-bg: #e3e3e3;
    --services-item-icon-tc: #FFF;
    --services-item-title-tc: #111111;
    --services-item-title-hover-tc: #009C86;
    --services-item-text-tc: #555c66;
    --doctors-tc: #111;
    --doctors-img-bc: #c47c47;
    --doctors-img-hover-bc: #009C86;
    --places-subTitle-tc: #c47c47;
    --places-imgPlaceholder-bg: #f0ded1;
    --partners-list-bc: #e0e0e0;
    --partners-list-hover-tc: #111111;
}

:root[data-bs-theme="dark"] {
    --blockSubTitle-tc: #e0e0e0;
    --about-bg: #242824;
    --about-content-bg: #302e2e;
    --about-content-number-tc: rgba(196, 124, 71, 0.25);
    --patientPath-item-bc: #626262;
    --patientPath-item-bg: #222222;
    --services-item-bg: #222222;
    --services-item-icon-bg: #8f8f8f;
    --services-item-icon-tc: #111111;
    --services-item-title-tc: #8f8f8f;
    --services-item-text-tc: #e0e0e0;
    --doctors-tc: #e6e6e6;
    --places-imgPlaceholder-bg: #4e3927;
    --partners-list-bc: #8f8f8f;
    --partners-list-hover-tc: #c47c47;
}

/* --------------- COMMON START --------------- */
.blockIcon {
    height: 100px;
    aspect-ratio: auto;
    margin-bottom: 1rem;
}

.blockTitle {
    color: var(--blockTitle-tc);
    letter-spacing: 6px;
    margin-bottom: 3rem;
}

.blockSubTitle {
    color: var(--blockSubTitle-tc);
    letter-spacing: 6px;
    margin-bottom: 3rem;
    font-weight: 700;
    font-size: 3rem;
}

.linkButton {
    width: fit-content;
    display: block;
    font-weight: bold;
    font-size: 22px;
    color: var(--common-item-link-tc);
    background-color: var(--common-item-link-bg);
    background-image: var(--common-item-link-bgi);
    border: 1px solid var(--common-item-link-bc);
    border-radius: 90px;
    padding: .5rem 2rem;
    vertical-align: baseline;
    white-space: nowrap;
    transition: all .3s ease-in-out;
    box-shadow: 0 10px 15px -3px var(--patientPath-item-sc);
}

@media (max-width: 768px) {
    .blockSubTitle {
        font-size: 2.5rem;
    }
}

/* --------------- COMMON END --------------- */

/* --------------- HERO START --------------- */
.hero-container {
    background: url(../img/hero-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100vh - 95px);
    max-height: 730px;
    position: relative;
}

.hero-container .content-wrapper {
    position: relative;
    display: block;
    margin: auto;
    max-width: 1200px;
    width: 100%;
    height: 100%;
}

.hero-container .content-wrapper .text-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 100%;
    position: relative;
    width: 675px;
}

.hero-container .content-wrapper .text-wrapper .hero-title {
    color: var(--hero-title-tc);
    font-family: Barlow, serif;
    font-size: 4.875rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 25px;
    margin-top: 0;
}

.hero-container .content-wrapper .text-wrapper .hero-desc {
    padding-right: 50px;
    color: var(--hero-desc-tc);
}

.hero-container .content-wrapper .text-wrapper .btn-hero {
    border-radius: 30px;
    padding: .75rem 1.5rem;
    font-size: 1.75rem;
    border: 1px solid var(--hero-btn-bg);
    color: var(--hero-btn-tc);
    transition: all .15s ease-in-out;
    z-index: 10;
    position: relative;
    background-color: var(--hero-btn-bg);
}

.hero-container .content-wrapper .text-wrapper .btn-hero:hover {
    box-shadow: inset 0 0 0 2px var(--hero-btn-bc);
    background-color: var(--hero-btn-hover-bg);
}

.hero-container .image-wrapper {
    overflow: hidden;
    top: 0;
    position: absolute;
    right: 0;
    text-align: right;
    left: calc((100vw - 1200px) / 2 + 395px);
    height: 100%;
    z-index: 0;
    transform-origin: center;
}

.hero-container .image-wrapper img,
.hero-container .image-wrapper .image-border-layer {
    -webkit-mask-image: url(../img/hero-img-mask.svg);
    mask-image: url(../img/hero-img-mask.svg);
    -webkit-mask-position: left top;
    mask-position: left top;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
    -o-object-fit: cover;
    object-fit: cover;
    max-width: 100%;
    vertical-align: middle;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 6s ease-in-out;
    pointer-events: none;
}

.hero-container .image-wrapper .image-border-layer {
    opacity: 1;
    will-change: transform, filter;
    transform: scale(1.05) translate3d(-8px, -3px, 0);
    filter: var(--hero-btn-frame-effect-evt);
}

.hero-container .image-wrapper img.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-container {
        max-height: calc(100vh - 95px);
    }

    .hero-container .content-wrapper .text-wrapper {
        align-items: start;
        padding-top: 30px;
    }
}

@media (min-resolution: 200dpi) {
    .hero-container .content-wrapper .text-wrapper .hero-title {
        font-size: 2.875rem;
    }
}

/* --------------- HERO END --------------- */

/* --------------- ABOUT START --------------- */
.about-container {
    background-color: var(--about-bg);
}

.about-container .about-content {
    position: relative;
    margin: -80px auto 40px auto;
    border-radius: 40px;
    padding: 5rem 2rem;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    background-color: var(--about-content-bg);
    box-shadow: 0 10px 15px -3px var(--about-content-sc);
}

.about-container .about-content .about-title {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--about-title-tc);
    letter-spacing: 6px;
}

.about-container .about-content .aboutLeadImg {
    width: 90%;
    border-radius: 8px;
    margin: auto;
    box-shadow: 0 10px 15px -3px var(--about-leadImage-sc);
    max-height: 400px;
    object-fit: cover;
}

.about-container .about-item {
    margin-bottom: 3rem;
    align-items: center;
    justify-content: space-between;
    display: flex;
}

.about-container .about-item h3 {
    color: var(--about-content-heading-tc);
}

.about-container .about-item h4 {
    color: var(--about-content-number-tc);
    font-size: 6rem;
    margin-left: 2rem;
}

@media (max-width: 768px) {
    .about-container .about-content .about-title {
        font-size: 1.5rem;
    }
}

/* --------------- ABOUT END --------------- */

/* --------------- PATIENTPATH START --------------- */
.patientPath-container {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.patientPath-container .patientPathLeadImg {
    width: 90%;
    clip-path: shape(
        from 2.46% 10.91%,
        curve by 10.93% -10.76% with 2.11% -5.38%/6.13% -9.91%,
        curve by 15.78% 7.98% with 5.83% -1.03%/11.32% 3.26%,
        curve by 14.36% 12.27% with 4.46% 4.71%/8.72% 10.15%,
        curve by 30.93% -4.53% with 10.05% 3.75%/20.44% -4.47%,
        curve to 92.85% 25.66% with 81.33% 15.81%/88.14% 19.43%,
        curve by -19.9% 70.23% with 17.4% 23.09%/0.05% 60.08%,
        curve by -49.46% -9.07% with -16.08% 8.22%/-35.34% 3.57%,
        curve by -23.23% -53.55% with -13.43% -12.03%/-21.71% -33.18%,
        curve by -0.25% -4.77% with -0.1% -1.63%/-0.2% -3.2%,
        curve to 2.46% 10.91% with -0.09% 22.46%/0.36% 16.29%,
        close
    );
}

.patientPath-container .pyramid-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0;
}

.patientPath-container .patientPath-level {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.patientPath-container .patientPath-item {
    padding: 1rem;
    border-radius: 2rem;
    text-align: center;
    background-color: var(--patientPath-item-bg);
    border: 1px solid var(--patientPath-item-bc);
    box-shadow: 0 10px 15px -3px var(--patientPath-item-sc);
}

.patientPath-container .arrow-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    fill: var(--patientPath-arrow-tc);
    stroke: var(--patientPath-arrow-tc);
}

.patientPath-container .arrow-svg polygon {
    fill: var(--patientPath-arrow-tc);
}

/* --------------- PATIENTPATH END --------------- */

/* --------------- SERVICES START --------------- */
.services-container {
    padding-top: 0;
    padding-bottom: 5rem;
}

.services-container .service-item {
    background-color: var(--services-item-bg);
    box-shadow: 5px 5px 15px 0 var(--services-item-sc);
    border: 1px solid transparent;
    padding: 30px 20px;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
    max-width: 100%;
    transition-duration: inherit;
    will-change: transform, opacity;
    animation-duration: 1500ms;
    min-height: 455px;
    transition: all .3s ease-in-out;
}

.services-container .service-item:hover {
    margin-top: -20px;
    border-color: var(--services-item-hover-bc);
    background-color: var(--services-item-hover-bg);
}

.services-container .service-item:hover .service-title {
    color: var(--services-item-title-hover-tc);
}

.services-container .service-item:last-child:hover {
    margin-bottom: 20px;
}

.services-container .service-item .service-icon {
    height: 100px;
    aspect-ratio: 1 / 1;
    text-align: center;
    background-color: var(--services-item-icon-bg);
    color: var(--services-item-icon-tc);
    border-radius: 50%;
    font-weight: bold;
    line-height: 100px;
    overflow: hidden;
    position: relative;
}

.services-container .service-item .service-icon .icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.services-container .service-item .service-title {
    word-wrap: break-word;
    position: relative;
    text-align: center;
    margin: 20px 1px 0;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--services-item-title-tc);
    transition: color .3s ease-in-out;
}

.services-container .service-item p {
    font-style: italic;
    margin: 20px 10px 0;
    color: var(--services-item-text-tc);
    word-wrap: break-word;
    position: relative;
    text-align: center;
}

@media (min-width: 769px) {
    .services-container .service-item.pdown {
        margin-top: 5rem;
    }

    .services-container .service-item.pdown:hover {
        margin-top: calc(5rem - 20px);
    }
}

/* --------------- SERVICES END --------------- */

/* --------------- DOCTORS START --------------- */
.doctors-container .doctors-title {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 2.5rem;
    letter-spacing: 6px;
}

.doctors-container .docContentContainer .docContent {
    width: 100%;
}

.doctors-container .blockSubTitle {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    letter-spacing: 3px;
    word-break: break-word;
}

.doctors-container .docContentContainer .docContent,
.doctors-container .docContentContainer .docContent .personLink {
    position: relative;
    max-width: 100%;
    transition-duration: inherit;
    display: flex;
    justify-content: start;
    align-items: center;
    color: var(--doctors-tc);
}

.doctors-container .docContentContainer .docContent:hover img {
    border-width: 8px;
    border-color: var(--doctors-img-hover-bc);
}

.doctors-container .docContentContainer .docContent:hover .desc .descTitle {
    color: var(--services-heading-tc);
}

.doctors-container .docContentContainer .docContent img {
    width: 141px !important;
    height: 141px !important;
    border-radius: 50% !important;
    overflow: clip;
    object-fit: cover;
    object-position: top;
    vertical-align: middle;
    border-style: solid;
    border-width: 5px;
    border-color: var(--doctors-img-bc);
    transition: all .2s ease-in-out;
}

.doctors-container .docContentContainer .docContent .desc {
    margin-left: 2rem;
}

.doctors-container .docContentContainer .docContent .desc .descText {
    margin-bottom: 0;
    line-height: 1;
    font-size: 1rem;
}

.doctors-container .docContentContainer .docContent.offset-1 {
    margin-left: 5rem;
}

@media (max-width: 768px) {
    .doctors-container .docContentContainer {
        margin-top: 2.5rem;
        padding: 0;
        justify-content: center;
    }

    .doctors-container .docContentContainer .docContent.offset-1 {
        margin-left: 0;
    }

    .doctors-container .docContentContainer .docContent {
        margin-bottom: 2rem;
    }

    .doctors-container .docContentContainer .docContent .desc {
        margin-left: 1rem;
    }
}

@media (min-width: 769px) {
    .doctors-container .docContentContainer,
    .doctors-containerOne .docContentContainer {
        padding: 2rem 2rem;
    }
}

/* --------------- DOCTORS END --------------- */

/* --------------- PLACES START --------------- */
.places-container {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.places-container .blockSubTitle {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--places-subTitle-tc);
}

.places-container .placeLeadImg1Container {
    margin-bottom: 3rem;
}

.places-container .placeLeadImg1Container img {
    max-height: 400px;
}

.places-container .placeLeadImg2Container {
    max-width: 500px;
    position: relative;
    padding-top: 40px;
    margin-bottom: 120px;
}

.places-container .placeLeadImg2Container .placeLeadImgPlaceholder {
    width: 100%;
    height: 100%;
    margin: 40px 0 0 40px;
    background-color: var(--places-imgPlaceholder-bg);
    position: absolute;
    border-radius: 8px;
}

.places-container .placeLeadImg1Container img,
.places-container .placeLeadImg2Container img {
    width: 100%;
    margin: auto;
    object-fit: cover;
    /*position: relative;*/
    z-index: 2;
    border-radius: 8px;
}

/* --------------- PLACES END --------------- */

/* --------------- PARTNERS START --------------- */
.partners-container {
    padding-top: 5rem;
    padding-bottom: 8rem;
}

.partners-container .partners-list {
    border-top: 1px solid var(--partners-list-bc);
    padding-top: 8rem;
    overflow: hidden;
    white-space: nowrap;
}

.partners-container .partners-list ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.partners-container .partners-list ul li {
    display: inline-block;
    padding: 10px 30px;
    font-size: 1.2em;
    margin: 0 10px;
    border-radius: 5px;
    white-space: nowrap;
    transition: all .3s ease-in-out;
}

.partners-container .partners-list ul:not(.clickable) li {
    pointer-events: none;
    user-select: none;
}

.partners-container .partners-list ul.clickable li {
    cursor: pointer;
}

.partners-container .partners-list ul.clickable li:hover {
    color: var(--partners-list-hover-tc);
}

@media (max-width: 768px) {
    .partners-container {
        padding-top: 3rem;
        padding-bottom: 0;
    }

    .partners-container .partners-list {
        padding-top: 3rem;
    }
}

/* --------------- PARTNERS END --------------- */
