/* Layout refresh
   این فایل باید پس از style.min.css، responsive.css و dark-theme.css بارگذاری شود.
*/

html {
    scroll-behavior: smooth;
}

.site-main {
    display: block;
    min-height: 50vh;
    outline: none;
}

.site-skip-link {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 99999;
    padding: 10px 16px;
    border-radius: 8px;
    background: #ffffff;
    color: #063f63;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.site-skip-link:focus {
    transform: translateY(0);
}

.header-top .contact-info li,
.header-top .contact-info li p {
    white-space: nowrap;
}

.header-top .social-profile a,
.footer-social-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar .nav-link {
    position: relative;
}

.navbar .nav-link.active {
    font-weight: 700;
}

.navbar .nav-link.active::after {
    position: absolute;
    right: 15px;
    bottom: 4px;
    left: 15px;
    height: 2px;
    border-radius: 4px;
    background: currentColor;
    content: "";
}

.footer-action-widget p {
    margin-bottom: 20px;
}

.footer-appointment-btn {
    width: 100%;
    margin-bottom: 16px;
    text-align: center;
}

.footer-call-link,
.footer-hours {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-call-link {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.footer-call-link:hover {
    color: var(--mainColor, #ff375f);
}

.footer-hours {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.footer-social-list {
    margin-top: 20px;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.footer-menu .ri-arrow-left-s-line {
    margin-left: 4px;
    margin-right: 0;
}

@media only screen and (max-width: 991px) {
    .navbar .nav-link.active::after {
        display: none;
    }

    .header-top .contact-info li,
    .header-top .contact-info li p {
        white-space: normal;
    }
}

@media only screen and (max-width: 767px) {
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .header-top-left .contact-info {
        justify-content: center;
    }

    .header-top-right {
        justify-content: center;
    }
}
