.profile-outer-container,
.profile-outer-container * {
    box-sizing: border-box;
}

.profile-bread {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 40px;
}

.saita {
    width: 20px !important;
    height: 20px !important;
    margin-right: 15px !important;
}

.profile-bread-links {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row;
    width: fit-content;
    height: 100%;
    max-height: 100%;
}

.profile-bread-links a {
    margin: 0;
    font-size: 14px;
    text-transform: none;
    font-weight: 500;
    padding: 10px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.profile-bread-links a:first-child {
    padding-left: 0;
}

.profile-bread-name {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: #15A393;
}

.profile-name {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: 100%;
}

.profile-name h1 {
    margin: 0;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 800;
    text-align: left;
    margin-top: 15px;
    color: #fff;
}

.profile-name p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    color: #15A393;
    padding: 0;
    margin-top: 5px;
}


.profile-outer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: -webkit-fill-available;
    min-height: fit-content;
    max-height: 100%;
    margin: 0;
    padding: 0 2.375em 0 0;
}

@media (max-width: 768px) {
    .profile-outer-container {
        padding: 0 1.375em;
    }
}

.profile-inner-container {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: row;
    width: 100%;
    height: 100%;
    max-height: 100%;
}

.left {
    width: 74%;
    height: 100%;
    max-height: 100%;
}

.right {
    width: 25%;
    height: -webkit-fill-available;
    max-height: 100%;
}


.profile-info {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 800px;
    margin-bottom: 40px;
}


.profile-description p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    color: #000;
    padding: 0;
    margin-top: 45px;
    max-width: 80%;
}

.profile-image img {
    width: 491px;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    margin-top: 25px;
}

.profile-item p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    color: #000;
    padding: 0;
}

.profile-item a {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row;
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-size: 15px;
}

.profile-photos a,
.profile-articles a {
    color: #041036;
}


.profile-item svg {
    margin-right: 15px;
    fill: #253080;
}

.profile-video svg path {
    fill: #253080;
}

.profile-bio svg #secondary {
    fill: #fff;
}

.profile-bio svg #primary {
    fill: #fff;
}





.profile-conditions svg #secondary {
    fill: #fff;
}

.profile-conditions svg #primary {

    stroke: #253080;
}

.profile-conditions svg #primary-2 {

    stroke: #253080;
}









.profile-item img {
    width: 27px;
    height: 27px;
    margin-right: 15px;
}

.profile-item>div {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.profile-address img {
    width: 32px;
    height: 32px;
}

.profile-photos img,
.profile-articles img {
    width: 23px;
    height: 23px;
}


.profile-photos,
.profile-articles {
    background-color: #E9F2F8;
    padding: 15px;
    border-radius: 6px;
    margin-top: 10px !important;
}

.profile-photos {
    margin-top: 20px !important;
}

.profile-contact {
    padding-left: 0 !important;
}

.profile-item {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row;
    width: 100%;
    margin-top: 25px;
    padding-left: 15px;
}

.profile-address-link {
    color: #15A393 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    display: block;
    width: 100%;
}

.profile-contact {
    margin-top: 10px;

}

.profile-contact a {
    display: flex;
    justify-content: start;
    align-items: center;
    margin: 0;
    font-size: 15px;
    text-transform: none;
    font-weight: 500;
    background: #15A393;
    border: none;
    border-radius: 6px;
    padding: 15px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: #fff;
    width: 100%;
}

/*
.profile-contact a:after{
    content: "";
    width: 1px;
    height: 7px;
    background: #fff;
    position: absolute;
    top: 16px;
    right: 23px;
    transform: rotate(-45deg);
}

.profile-contact a:before{
    content: "";
    width: 1px;
    height: 7px;
    background: #fff;
    position: absolute;
    top: 21px;
    right: 23px;
    transform: rotate(45deg);
}
*/
.right {
    border-left: 1px solid #C9C9C9;
    padding-left: 20px;
}

.profile-item>div.popup-populator-content,
.profile-popup {
    display: none;
}

.popup-populator-controll {
    cursor: pointer;
}

@media (max-width: 768px) {
    .profile-description p {
        margin-top: 25px;
    }

    .profile-inner-container {
        flex-direction: column;
        max-height: unset;
        height: auto;
    }

    .left,
    .right {
        width: 100%;
        height: 100%;
        max-height: 100%;
        padding: 15px;
        margin-bottom: 40px;
        box-sizing: border-box;
        border-left: 0;
    }

    .right {
        border-top: 1px solid #C9C9C9;
        padding-top: 20px;
    }

    .profile-image {
        width: 100%;
        height: auto;
    }

    .profile-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
        object-position: center;
        margin-top: 25px;
    }

    .profile-number,
    .profile-email,
    .profile-website {
        margin-top: 25px;
    }

    .profile-contact {
        margin-top: 10px;
    }

    #therapeftes-map {
        height: 250px !important;

    }

    .profile-description p {
        max-width: 100%;
    }

    .profile-item a {
        font-size: 16px;
    }
}


.profile-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    margin: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.profile-popup.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.profile-popup-box {
    background: #ffffff;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: popupScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

@keyframes popupScale {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.profile-popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 300;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    user-select: none;
    color: white;
}

.profile-popup-close:hover {
    background: rgba(255, 0, 0, 0.15);
    color: #e74c3c;
    transform: scale(1.1);
}

.profile-popup-title {
    padding: 30px 30px 15px 30px;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    background: linear-gradient(135deg, #2d3d74 0%, #041036 100%);
    color: white;
    margin: 0;
    background-image: url(https://oidima.synergic.systems/wp-content/uploads/2025/09/header.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.profile-popup-content {
    padding: 30px;
    max-height: 600px;
    overflow-y: auto;
    font-size: 16px;
    line-height: 1.7;
    color: #000000;
    font-weight: 400;
}

.profile-popup-content::-webkit-scrollbar {
    width: 8px;
}

.profile-popup-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.profile-popup-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.profile-popup-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@media (max-width: 768px) {
    .profile-popup-box {
        width: 95%;
        border-radius: 12px;
    }

    .profile-popup-title {
        font-size: 24px;
        padding: 24px 20px 12px;
    }

    .profile-popup-content {
        padding: 20px;
    }

    .profile-popup-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}