/* region Page Title*/
.page-title-container {
    position: relative;
    padding: 0;
    overflow: hidden;
    max-height: 420px;
    max-width: 2048px;
}
.page-title-image {
    width: 100%;
    height: auto;
    object-fit: fill;
    object-position: left;
}
.page-title-image-large {
    display: none;
}
@media (min-width: 1600px) {
    .page-title-image-large {
        display: block;
    }
    .page-title-image-small {
        display: none;
    }
}
.page-title-text {
    position: absolute;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 2em;
    color: whitesmoke;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px #000000d9;
    border-bottom: 2px solid rgb(255 255 255 / 35%);
    padding: 6px;
}
@media (max-width: 991px) {
    .page-title-text {
        border-bottom: none;
    }
}
/* endregion */

/* region Treatments */
.treatments-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 2em;
    color: #434854;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgb(118 127 148 / .85);
    padding: 16px 32px;
    border-top: 2px solid #434854;
    border-bottom: 2px solid #434854;
    border-radius: 10px;
    display: inline-block;
}
.treatment-card {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: 2px solid #767f94;
    border-bottom-right-radius: 128px;
    border-top-right-radius: 128px;
    box-shadow: -2px 4px 4px 0 rgb(172 186 216 / .86);
    padding: 10px;
}
.treatment-card-reverse {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: 2px solid #767f94;
    border-bottom-left-radius: 128px;
    border-top-left-radius: 128px;
    box-shadow: -2px 4px 4px 0 rgb(172 186 216 / .86);
    padding: 10px;
}
.treatment {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Full height of the parent container */
}
.treatment-title {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    color: #48565e;
    letter-spacing: 1.2px;
    font-weight: 600;
    font-size: 1.4em;
    margin: 0; /* Remove the default margin of h4 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.treatment-text {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #5a5a5a;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    padding: 0 10px;
}
.treatment-card img, .treatment-card-reverse img {
    height: 108px;
    width: auto;
    border-radius: 50%;
}
.treatment-card-last {
    border-radius: 128px;
}

.treatment-see-more-btn {
    display: inline-block;
    background-color: #434854;
    border: none;
    border-radius: 16px;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 0;
    margin: 12px 150px 2px 150px; /* My Margin */
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(72, 78, 96, 0.86);
    transition: all 0.3s ease;
    transform: scale(1);
}

.treatment-see-more-btn:hover {
    background-color: #4e5662; /* Lighter shade of blue for hover */
    box-shadow: 0 4px 12px rgb(120 128 150 / .85); /* More pronounced shadow on hover */
    transform: scale(1.025); /* Slightly scale up the button */
}

.treatment-see-more-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem #767f94; /* Focus box shadow */
}

@media (max-width: 991px) {
    .treatment-card {
        margin-bottom: 20px;
    }
    .treatment-card-last {
        border-radius: 0 128px 128px 0;
    }
}
@media (max-width: 1199px) {
    .treatment-see-more-btn {
        margin: 10px 50px 5px 50px;
    }
}
/* endregion */

/* region Treatments Before/After Photo Gallery */
.treatment-photos-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.5rem;
    color: #434854;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    padding: 14px 28px;
    border-top: 2px solid #434854;
    border-bottom: 2px solid #434854;
    margin-bottom: 2rem;
}
.beforeAfter-photoGallery-container {
    border: 1px solid #ecf0f1;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgb(0 0 0 / .15);
    padding: 20px;
    background-color: rgb(100 115 150 / .085);
}
.beforeAfter-row-photo {
    border: 2px solid rgb(64 72 85 / .85);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1); /* Initial scale */
}
.beforeAfter-row-photo:hover {
    box-shadow: 0 0 8px 2px #393d47; /* More pronounced shadow on hover */
    transform: scale(1.1); /* Slightly scale up the button */
}
.beforeAfter-load-more {
    display: inline-block;
    background-color: #393d47;
    border: none;
    border-radius: 16px;
    color: #ffffff;
    font-weight: 600;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(64, 75, 86, 0.85);
    transition: all 0.3s ease;
    transform: scale(1);
}
.beforeAfter-load-more:hover {
    background-color: #404e56;
    box-shadow: 0 7px 20px rgb(120 128 150 / .85);
    transform: scale(1.025);
}
.beforeAfter-load-more:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem #767f94; /* Focus box shadow */
}

/* For 2 images per row on -xs devices*/
@media (max-width: 768px) {
    .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}
/* For 2 images per row on -xl and -xxl devices*/
@media (min-width: 1200px) {
    .col-xl-2 {
        flex: 0 0 auto;
        width: 20%;
    }
}
/* endregion */

/* region Treatments Before/After Modal Style */
.modal-beforeAfter {
    max-width: 750px;
}
.modal-beforeAfter > .modal-content {
    /*background-color: #F2F7FB;*/
    background: url("../../images/treatments-beforeAfterModal_bg.jpg");
    background-size: cover;
    background-position-x: left;
    background-position-y: top;
    border: 1px solid #434854;
    border-radius: 24px !important;
}
.modal-beforeAfter > .modal-content > .modal-header {
    position: relative; /* Establish relative positioning */
    border-color: #434854;
    border-radius: 16px;
}

.modal-beforeAfter > .modal-content > .modal-header > .modal-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 2rem;
    color: #434854;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-beforeAfter > .modal-content > .modal-header > .btn-close {
    margin-right: var(--bs-modal-padding) !important;
    color: #434854;
    background-image: url("../../images/close-btn-292c33.png");
    opacity: .75;
}
.modal-beforeAfter > .modal-content > .modal-header > .btn-close:hover,
.modal-beforeAfter > .modal-content > .modal-header > .btn-close:focus {
    opacity: 1;
}
.modal-beforeAfter > .modal-content > .modal-header > .btn-close:focus {
    box-shadow: 0 0 0 0.25rem #767f94;
}
.modal-beforeAfter-img {
    border-radius: 64px;
    border: 2px solid #434854;
}
#beforeAfterModalCarousel > .carousel-control-prev, #beforeAfterModalCarousel > .carousel-control-next {
    position: relative;
}
#beforeAfterModalCarousel > .carousel-control-prev > .carousel-control-prev-icon {
    background-image: url("../../images/carousel-control-prev-icon-393d47.png");
    filter: none;
}
#beforeAfterModalCarousel > .carousel-control-next > .carousel-control-next-icon {
    background-image: url("../../images/carousel-control-next-icon-393d47.png");
    filter: none;
}
#beforeAfterCarouselInner > .carousel-item {
    padding: 8px;
}
/* endregion */

/*region Patients Comments */
.patient-comments-pp-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.patient-comments-photo {
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
}
.patient-comments-photo:hover {
    transform: scale(1.05);
}

.patient-comments-col{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.patient-comments-col h2 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* A clean, professional font */
    font-size: 2.5rem; /* Adjust the size as needed */
    color: #555e62; /* A calming blue often associated with healthcare */
    text-transform: uppercase; /* Uppercase letters for a touch of sophistication */
    text-align: center; /* Center-align the text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
    padding: 14px 28px;
    border-bottom: 2px solid #e0e0e0; /* A subtle bottom border */
    margin-bottom: 2rem; /* Adds some space below the heading */
}
.patient-comment {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 80px;
    min-height: 465px;
}
.patient-comment-itself {
    font-style: italic;
    color: #7f8c8d;
}
.patient-comment-owner-container {
    display: flex;
    justify-content: center;
    text-align: center;
}
.patient-comment-owner-container-inside {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.patient-comment-owner {
    font-weight: bold;
    margin: 0;
}
.patient-comment-owner-country {
    margin: 0;
}
.patient-comment-flag {
    height: 44px;
    width: auto;
    vertical-align: middle;
    margin-right: 10px;
}
#patientCommentsSlider .carousel-inner {
    border: 1px solid #ecf0f1;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#patientCommentsSlider.carousel-indicators button {
    background-color: #2c3e50;
}
#patientCommentsSlider .carousel-indicators .active {
    background-color: #2c3e50;
}
/* X-Small devices */
@media (min-width: 0px) and (max-width: 575px) {
    .patient-comment {
        padding: 48px;
        min-height: 560px;
    }
}
/* endregion */