#iran-map path {
    transition: all 300ms;
    fill: rgba(200, 181, 149, 1)
}

#iran-map path:hover {
    fill: var(--adkh-secondary-color);
    cursor: pointer
}

#iran-map circle {
    stroke: none
}

.branches-wrapper {
    display: none
}

.branches-wrapper.active {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.branch-information {
    border-radius: var(--adkh-border-radius);
    padding: 1.5px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .08);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.8s ease;
    perspective: 800px;
}


.branch-information::before,
.branch-information::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--adkh-border-radius);
    backface-visibility: hidden;
    transition: transform 0.8s ease;
}

.branch-information::before {
    background-image: linear-gradient(180deg, var(--adkh-border-color-from) 0%, var(--adkh-border-color-to) 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: -1;
    transform: rotateY(0deg);
}

.branch-information::after {
    background-image: linear-gradient(0deg, var(--adkh-border-color-from) 0%, var(--adkh-border-color-to) 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: -2;
    transform: rotateY(-90deg);
}

.branch-information:hover::before {
    transform: rotateY(90deg);
}

.branch-information:hover::after {
    transform: rotateY(0deg);
}

.branch-information-wrap {
    background: #fff;
    padding: 24px;
    transition: background .3s ease;
    border-radius: var(--adkh-border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px
}

.branch-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 27px
}

.branch-title span {
    color: var(--adkh-primary-color)
}

.branch-separator {
    color: var(--adkh-secondary-color);
    width: 1px
}

.branch-information-wrap p {
    font-size: 16px;
    font-weight: 400;
    line-height: 27px
}

.branch-information-wrap h6 {
    font-weight: 500;
    font-size: 18px;
    line-height: 27px
}

.branch-working-days {
    background: url('../img/Group759.png');
    width: 100%;
    height: 145px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 45px;
    border-radius: var(--adkh-border-radius);
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 15px
}

.working-icon {
    width: 45px;
    height: 45px
}

.working-days {
    width: calc(100% - 45px)
}

.working-days h6 {
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    line-height: 25px
}

.working-days p {
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    line-height: 25px
}

.branch-desc {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: none;
    position: relative
}

.scroll-down-indicator {
    position: absolute;
    bottom: -30px
}

.scroll-down-indicator {
    position: absolute;
    bottom: 0;
    right: 42%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    flex-direction: column;
    gap: 10px;
    height: 350px
}

.scroll-down-indicator svg rect {
    fill: var(--adkh-primary-color);
    transition: all 300ms;
    cursor: pointer
}

.scroll-down-indicator svg:hover rect {
    fill: rgba(165, 165, 165, 1)
}

@media screen and (max-width : 768px) {
    #iran-map {
        width: 90%;
        height: auto;
    }

    .branch-working-days {
        background-size: 100%;
        padding: 25px 15px 15px 15px;
    }

    .working-days h6 {
        font-weight: 700;
        font-size: 15px;
        color: #fff;
        line-height: 21px
    }

    .working-days p {
        font-weight: 400;
        font-size: 14px;
        color: #fff;
        line-height: 20px
    }

    .branch-information-wrap p {
        font-size: 14px;
        font-weight: 400;
        line-height: 20px
    }

    .branch-information-wrap h6 {
        font-weight: 500;
        font-size: 16px;
        line-height: 21px
    }

    .scroll-down-indicator {
        position: absolute;
        bottom: -30px;
        right: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-direction: row;
        gap: 10px;
        height: auto;
        left: 0;
    }
}