.home-atf {
    height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 8px 20px;
}

.home-atf .row {
    height: 100%;
    width: 100%;
}

.home-atf .video-container {
    display: flex;
    align-items: flex-end;
    position: relative;
    padding: 20px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
}

.home-atf .video-container video,
.home-atf .video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65%;
    z-index: 0;
}

.home-atf .procedures-container {
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(27px);
    padding: 25px 13px 29px 22px;
    overflow: hidden;
    max-width: 350px;
    color: white;
}

.home-atf .procedures-container .title {
    font-size: 22px;
    font-weight: 500;
    line-height: 22px;
    margin-bottom: 18px;
    max-width: 300px;
}

.home-atf .procedures-container .subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 18px;
    max-width: 300px;
}

.home-atf .procedures-container .procedures-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 27px;
}

.home-atf .procedures-container .procedure {
    display: flex;
    align-items: center;
    padding: 0px 51px 0px 16px;
    height: 40px;
    background: white;
    border-radius: 60px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    position: relative;
    width: fit-content;
    transition: all 0.2s ease-in-out;
}

.home-atf .procedures-container .procedure span {
    position: relative;
    z-index: 3;
}

.home-atf .procedures-container .procedure::before {
    content: "";
    width: 30px;
    height: 30px;
    background: var(--primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    border-radius: 50%;
    z-index: 0;
    transition: all 0.2s ease-in-out;
}

.home-atf .procedures-container .procedure::after {
    content: url('/assets/img/icons/arrow-white.svg');
    position: absolute;
    top: 53%;
    transform: translateY(-50%);
    right: 12px;
    object-fit: contain;
    z-index: 1;
}

.home-atf .procedures-container .procedure:hover {
    color: white;
}

.home-atf .procedures-container .procedure:hover::before {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border-radius: 60px;
    transition: all 0.2s ease-in-out;
}

.home-atf .procedures-container .with-arrow {
    font-size: 14px;
}

.home-atf .title-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 85px;
}

.home-atf .title-wrapper h1 {
    font-size: 76px;
    font-weight: 400;
    line-height: 80px;
}

.section-study {
    height: 621px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-study p {
    margin: 0px;
}

.section-study .heading {
    margin-bottom: 27px;
}

.section-study img {
    height: 92px;
    width: 92px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0px 10px;
}

.section-prof .row {
    padding-top: 63px;
}

.section-prof .h4 {
    font-weight: 400;
    position: absolute;
    top: 0px;
    left: 0px;
}

.section-prof .h4 .phrase {
    display: block;
    width: fit-content;
    background: white;
    padding: 0px 28px 5px 8px;
    border-bottom-right-radius: 24px;
}

.section-prof .prof-img {
    height: 520px;
    width: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.section-prof .items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 70px;
}

.section-prof .item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0px 72px 0px 16px;
    height: 60px;
    background: white;
    border-radius: 60px;
    color: var(--secondary);
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    position: relative;
    width: fit-content;
    transition: all 0.2s ease-in-out;
}

.section-prof .item span {
    position: relative;
    z-index: 3;
}

.section-prof .item img {
    height: calc(100% - 30px);
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
}

.section-prof .item::before {
    content: "";
    width: 50px;
    height: 50px;
    background: var(--primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    border-radius: 50%;
    z-index: 0;
    transition: all 0.2s ease-in-out;
}

.section-prof .item::after {
    content: url('/assets/img/icons/arrow-white.svg');
    position: absolute;
    top: 46%;
    transform: translateY(-50%);
    right: 22px;
    object-fit: contain;
    z-index: 1;
}

.section-prof .item:hover {
    color: white;
}

.section-prof .item:hover::before {
    border-radius: 60px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    transition: all 0.2s ease-in-out;
}

.section-patologie .heading {
    margin-bottom: 57px;
}

.section-patologie .img-wrapper {
    max-width: 500px;
    height: 600px;
    overflow: hidden;
    border-radius: 24px;
    position: relative;
}

.section-patologie .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0;
    transition: all 0.2s ease-in-out;
}

.section-patologie .img-wrapper img.active {
    opacity: 1;
    transition: all 0.2s ease-in-out;
}

.section-patologie .treatment {
    display: block;
    padding: 34px 50px 34px 0px;
    border-bottom: 1px solid rgba(0, 96, 156, 0.5);
    color: var(--secondary);
    position: relative;
    transition: all 0.2s ease-in-out;
}

.section-patologie .treatment:first-of-type {
    padding-top: 0px;
}

.section-patologie .treatment.active .h4 {
    color: var(--primary);
    transition: all 0.2s ease-in-out;
}

.section-patologie p {
    pointer-events: none;
}

.section-patologie .treatment:last-of-type {
    border-bottom: none !important;
}

.section-patologie .treatment.active::after {
    content: url("/assets/img/icons/arrow-up.svg");
    position: absolute;
    top: 45px;
    right: 0px;
    transition: all 0.2s ease-in-out;
}

.section-patologie .all-treatments {
    display: flex;
    align-items: center;
    padding: 0px 51px 0px 16px;
    height: 40px;
    background: white;
    border-radius: 60px;
    color: var(--secondary);
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    position: relative;
    width: fit-content;
    border: 1px solid var(--primary);
    margin-top: 20px;
    transition: all 0.2s ease-in-out;
}

.section-patologie .all-treatments span {
    position: relative;
    z-index: 3;
}

.section-patologie .all-treatments::before {
    content: "";
    width: 30px;
    height: 30px;
    background: var(--primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    border-radius: 50%;
    z-index: 0;
    transition: all 0.2s ease-in-out;
}

.section-patologie .all-treatments::after {
    content: url('/assets/img/icons/arrow-white.svg');
    position: absolute;
    top: 53%;
    transform: translateY(-50%);
    right: 12px;
    object-fit: contain;
    z-index: 1;
}

.section-patologie .all-treatments:hover {
    color: white;
}

.section-patologie .all-treatments:hover::before {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border-radius: 60px;
    transition: all 0.2s ease-in-out;
}

.section-reviews {
    overflow: hidden;
    padding: 83px 0px 159px;
}

.section-reviews h2 {
    font-size: 128px;
    font-weight: 400;
    line-height: 102px;
    color: rgba(255, 255, 255, 0.50);
}

.section-reviews .reviews-slider {
    margin-top: 73px;
}

.section-reviews .reviews-slider .slider-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    height: 100%;
    overflow: visible;
    transition: all 0.2s ease-in-out;
    height: auto;
}

.section-reviews .reviews-slider .slick-track,
.section-reviews .reviews-slider .slick-list {
    overflow: visible;
}

.section-reviews .reviews-slider .review {
    width: 700px;
    min-height: 237px;
    height: fit-content;
    display: flex;
    flex-shrink: 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(2px);
    pointer-events: none;
    margin-left: 24px;
    opacity: 0.5;
    filter: blur(2px);
    transition: all 0.2s ease-in-out;
}

.section-reviews .reviews-slider .review.slick-current {
    /* width: 946px;
    min-height: 321px;
    height: fit-content; */
    opacity: 1;
    filter: blur(0px);
    box-shadow: 0px 0px 23px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease-in-out;
}

.section-reviews .reviews-slider .review .img-wrapper {
    width: 50%;
    height: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-reviews .reviews-slider .review .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}

.section-reviews .reviews-slider .review .text-wrapper {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 31px 30px 21px 28px;
    color: var(--secondary);
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s ease-in-out;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}

.section-reviews .reviews-slider .review.active .text-wrapper {
    padding: 31px 30px 21px 28px;
    font-size: 20px;
    line-height: 25px;
    transition: all 0.2s ease-in-out;
}

.section-reviews .reviews-slider .review .text-wrapper .name {
    font-weight: 700;
    transition: margin-bottom 0.2s ease-in-out;
}

.section-reviews .reviews-slider .review.active .text-wrapper .name {
    margin-bottom: 37px;
}

.slide-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 47px;
}

.slide-counter .slick-dots {
    position: static !important;
}

.slide-counter .slide-btn {
    background: none;
    border: none;
    height: 48px;
    width: fit-content;
    display: flex;
    align-items: center;
    padding: 0px;
    justify-content: center;
}

.slide-counter .slide-btn span {
    display: block;
    width: 23px;
    height: 3px;
    background: var(--dark-blue);
    border-radius: 50px;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
}

.slick-dots li,
.slick-dots li button {
    width: fit-content !important;
    padding: 0px !important;
}

.slide-counter .slick-dots button::before {
    content: "";
    display: block;
    width: 23px;
    height: 3px;
    background: var(--dark-blue);
    border-radius: 50px;
    pointer-events: none;
    position: static !important;
    opacity: 1 !important;
    transition: all 0.2s ease-in-out;
}

.slide-counter .slide-btn.active span,
.slide-counter .slick-dots .slick-active button::before {
    width: 44px;
    height: 5px;
    transition: all 0.2s ease-in-out;
}

.slide-counter .slick-dots .slick-active button::before {
    position: relative !important;
    top: 1px;
}

.words-slider {
    width: 100%;
    height: fit-content;
}

.words {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    overflow: auto;
    gap: 37px;
}

.words-slider .words .word {
    font-size: 100px;
    line-height: 136%;
    font-weight: 400;
    margin: 0px;
}

.section-visita .heading {
    margin-bottom: 64px;
}

.section-visita .steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.section-visita .steps-container .step {
    display: flex;
    flex-direction: column;
    gap: 29px;
    flex-shrink: 0;
    width: calc(29% - 16px);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.section-visita .steps-container .step.active {
    width: calc(41.6% - 16px);
    transition: all 0.2s ease-in-out;
}

.section-visita .steps-container .step img {
    height: 406px;
    width: 100%;
    object-fit: cover;
    border-radius: 24px;
    pointer-events: none;
}

.section-visita .steps-container .step.active img {
    height: 600px;
}

.section-visita .steps-container .step .title {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 4px;
    color: var(--secondary);
    pointer-events: none;
    transition: all 0.2s ease-in-out;
}

.section-visita .steps-container .step .text {
    font-size: 20px;
    line-height: 25px;
    color: black;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
}

.section-visita .steps-container .step.active .text {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.section-visita .steps-container .step:hover .title {
    text-decoration: underline;
    color: var(--primary);
    transition: all 0.2s ease-in-out;
}

.section-patient .heading {
    margin-bottom: 38px;
}

.category-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 38px;
    flex-wrap: nowrap;
    overflow: auto;
}

.category-container .category {
    height: 30px;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
    color: black;
    border-radius: 100px;
    padding: 5px 10px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
}

.category-container .category:hover {
    background: var(--primary);
    color: white;
    transition: all 0.2s ease-in-out;
}

.category-container .category.active {
    background: var(--primary);
    color: white;
    transition: all 0.2s ease-in-out;
}

.section-patient .articles-slider,
.section-patient .related-slider {
    margin-top: 38px;
}

.section-patient .articles-slider .slider-inner .slick-track,
.section-patient .related-slider .slider-inner .slick-track {
    display: flex;
    gap: 24px;
}

.section-patient .articles-slider .slider-inner,
.section-patient .related-slider .slider-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    height: 100%;
    overflow: visible;
    transition: all 0.2s ease-in-out;
}

.section-videos .videos-slider {
    margin-top: 64px;
    position: relative;
}

.section-videos .videos-slider .slider-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    height: 100%;
    transition: all 0.2s ease-in-out;
}

.arrows-container {
    position: absolute;
    width: 100%;
    height: fit-content;
    top: 50%;
    transform: translateY(-50%);
    left: 0px;
    padding: 0px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.arrows-container button {
    background: transparent;
    border: none;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrows-container button.hidden {
    opacity: 0.4;
    cursor: not-allowed;
}

.section-videos .arrows-container button {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid var(--primary);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 1200px) {
    .section-prof.bg-gradient {
        background: none !important;
        padding-bottom: 0px;
        padding-top: 100px;
    }

    .section-prof .row {
        padding-top: 0px;
    }

    .section-prof .items-wrapper {
        margin-top: 24px;
        background: var(--secondary);
        padding: 20px;
        border-radius: 24px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .section-prof .item {
        height: 50px;
        font-size: 18px;
        flex: 1 0;
        white-space: nowrap;
    }

    .section-prof .item img {
        height: calc(100% - 25px);
    }

    .section-prof .item::before {
        width: 40px;
        height: 40px;
    }

    .section-prof .item::after {
        top: 50%;
        right: 17px;
    }

    .section-prof .h4 {
        position: static;
    }

    .section-prof h3 {
        position: static;
    }

    .section-prof h3 .phrase {
        padding: 0px;
    }

    .section-prof .prof-img {
        height: 350px;
    }
}


@media screen and (max-width: 991px) {
    .home-atf {
        padding: 30px 0px 20px;
        height: fit-content;
    }

    .home-atf .video-container {
        height: 120%;
    }

    .home-atf .title-wrapper {
        padding-bottom: 0px;
    }

    .home-atf .title-wrapper h1 {
        font-size: 28px !important;
        font-weight: 400;
        line-height: 100% !important;
    }

    .section-study {
        height: fit-content;
        padding: 50px 0px 0px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section-study .fs-4 {
        font-size: 16px !important;
    }

    .section-patologie .h3 {
        font-size: 22px !important;
        line-height: 1.35 !important;
    }

    .section-patologie .heading {
        margin-bottom: 0px;
    }

    .section-patologie .img-wrapper {
        margin: 20px 0px 10px;
        max-width: 100%;
        height: 250px;
    }

    .section-patologie .treatment {
        padding: 15px 35px 15px 0px;
    }

    .section-patologie .treatment:first-of-type {
        padding-top: 15px;
    }

    .section-patologie .treatment .txt-lg {
        font-size: 16px;
        line-height: 1.35;
    }

    .section-patologie .treatment.active::after {
        top: 50%;
        transform: translateY(-50%);
    }

    .section-reviews {
        overflow: hidden;
        padding: 50px 0px;
    }

    .section-reviews .reviews-slider {
        margin-top: 30px;
    }

    .section-reviews .reviews-slider .slider-inner {
        height: auto;
    }

    .section-reviews .reviews-slider .review {
        width: 300px;
        min-height: 237px;
        height: fit-content;
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
        border-radius: 24px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.80);
        backdrop-filter: blur(2px);
        pointer-events: none;
        transition: all 0.2s ease-in-out;
    }

    .section-reviews .reviews-slider .review.active {
        width: 330px;
        min-height: 321px;
        height: fit-content;
        transition: all 0.2s ease-in-out;
    }

    .section-reviews .reviews-slider .review .img-wrapper {
        width: 100%;
        height: 100px;
        overflow: hidden;
        transition: all 0.2s ease-in-out;
    }

    .section-reviews .reviews-slider .review .img-wrapper img {
        width: auto;
        height: 100%;
        object-fit: contain;
        flex-shrink: 0;
    }

    .section-reviews .reviews-slider .review.active .img-wrapper {
        width: 100%;
        max-height: 162px;
        overflow: hidden;
        transition: all 0.2s ease-in-out;
    }

    .section-reviews .reviews-slider .review .text-wrapper {
        width: 100%;
        padding: 15px;
        font-size: 14px;
        line-height: 18px;
    }

    .section-reviews .reviews-slider .review.active .text-wrapper {
        padding: 15px;
        font-size: 16px;
        line-height: 18px;
    }

    .section-reviews .reviews-slider .review.active .text-wrapper .name {
        margin-bottom: 16px;
    }

    .words-slider .words .word {
        font-size: 50px;
        line-height: 136%;
        font-weight: 400;
        margin: 0px;
    }

    .section-visita .heading {
        margin-bottom: 24px;
    }

    .section-visita .steps-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
    }

    .section-visita .steps-container .step,
    .section-visita .steps-container .step.active {
        width: 100%;
    }

    .section-visita .steps-container .step img,
    .section-visita .steps-container .step.active img {
        height: 200px;
    }

    .section-visita .steps-container .step .text {
        font-size: 16px;
        line-height: 20px;
        opacity: 1;
    }

    .section-patient .heading {
        margin-bottom: 24px;
    }

    .section-patient .txt-lg {
        font-size: 16px;
        line-height: 20px;
    }

    .category-container {
        justify-content: flex-start;
    }

    .arrows-container {
        top: 108%;
    }

    .section-videos .videos-slider {
        margin-top: 30px;
    }

    .section-videos .videos-slider.mobile .slick-track,
    .section-videos .videos-slider.mobile .slick-list {
        overflow: visible;
    }

    .section-videos .videos-slider.mobile .card {
        margin-right: 24px;
    }
}

@media screen and (max-width: 468px) {
    .section-prof .item {
        white-space: normal;
        padding: 10px 50px 10px 16px;
    }

    .section-prof .item img {
        height: 100%;
    }

    .section-reviews .reviews-slider .review.active {
        width: 300px;
    }
}

@media screen and (max-width: 310px) {
    .section-prof .item img {
        display: none;
    }
}
