@font-face {
    font-family: 'Vazir';

    src: url('/admin/assets/fonts/vazir/Vazir.woff2') format('woff2');

    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'Vazir', sans-serif ;
    background: var(--dr-bg);
    color: var(--dr-text);
}

:root {
    --dr-primary: #92d1e0;
    --dr-primary-dark: #5ab7cb;
    --dr-dark: #12313a;
    --dr-text: #334155;
    --dr-muted: #64748b;
    --dr-bg: #f8fcfd;
    --dr-white: #ffffff;
    --dr-border: #e2eef2;
}


a {
    text-decoration: none;
}

.site-header {
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid var(--dr-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.navbar-brand {
    color: var(--dr-dark);
}

.nav-link {
    color: var(--dr-text);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--dr-primary-dark);
}

.btn-primary-custom {
    background: var(--dr-primary);
    border: 1px solid var(--dr-primary);
    color: var(--dr-dark);
    font-weight: 700;
    border-radius: 999px;
    padding: 10px 22px;
}

.btn-primary-custom:hover {
    background: var(--dr-primary-dark);
    border-color: var(--dr-primary-dark);
    color: #fff;
}

.site-footer {
    background: #eaf7fa;
    padding: 56px 0 24px;
    margin-top: 80px;
}

.site-footer h5,
.site-footer h6 {
    color: var(--dr-dark);
    font-weight: 800;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: var(--dr-muted);
}

.site-footer ul {
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin-bottom: 10px;
}


.hero-section {
    padding: 90px 0 70px;
}

.hero-badge {
    display: inline-flex;
    background: #e0f5f9;
    color: var(--dr-primary-dark);
    border: 1px solid var(--dr-border);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--dr-dark);
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 18px;
    line-height: 2;
    color: var(--dr-muted);
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn-outline-custom {
    border: 1px solid var(--dr-primary);
    color: var(--dr-primary-dark);
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 700;
}

.btn-outline-custom:hover {
    background: #e0f5f9;
    color: var(--dr-dark);
}

.doctor-card {
    background: #fff;
    border: 1px solid var(--dr-border);
    border-radius: 32px;
    padding: 18px;
    box-shadow: 0 24px 70px rgba(18, 49, 58, .08);
}

.doctor-image-placeholder {
    min-height: 470px;
    border-radius: 24px;
    background: linear-gradient(135deg, #e0f5f9, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dr-primary-dark);
    font-weight: 900;
    font-size: 28px;
}
.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-icon img{
    width:55px;
}

.section-padding {
    padding: 80px 0;
}

.light-section {
    background: #f1fbfd;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 42px;
}

.section-heading span {
    display: inline-flex;
    color: var(--dr-primary-dark);
    background: #e0f5f9;
    border: 1px solid var(--dr-border);
    border-radius: 999px;
    padding: 7px 16px;
    font-weight: 800;
    margin-bottom: 14px;
}

.section-heading h2 {
    color: var(--dr-dark);
    font-weight: 900;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.5;
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--dr-muted);
    line-height: 2;
    font-size: 16px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 34px;
}

.hero-stats div {
    background: #fff;
    border: 1px solid var(--dr-border);
    border-radius: 20px;
    padding: 16px;
}

.hero-stats strong {
    display: block;
    color: var(--dr-dark);
    font-weight: 900;
    font-size: 20px;
    margin-bottom: 6px;
}

.hero-stats span {
    color: var(--dr-muted);
    font-size: 13px;
}

.doctor-image-placeholder {
    flex-direction: column;
    gap: 14px;
}

.doctor-image-placeholder i {
    font-size: 80px;
}

.doctor-image-placeholder span {
    font-size: 20px;
}

.doctor-info-card {
    margin-top: -55px;
    margin-inline: 24px;
    position: relative;
    background: #fff;
    border: 1px solid var(--dr-border);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 18px 50px rgba(18, 49, 58, .12);
}

.doctor-info-card strong {
    display: block;
    color: var(--dr-dark);
    font-weight: 900;
    margin-bottom: 6px;
}

.doctor-info-card span {
    color: var(--dr-muted);
    font-size: 14px;
}

.service-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--dr-border);
    border-radius: 28px;
    padding: 28px;
    transition: .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(18, 49, 58, .08);
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: #e0f5f9;
    color: var(--dr-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
}

.service-card h3 {
    color: var(--dr-dark);
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--dr-muted);
    line-height: 2;
    min-height: 64px;
}

.service-card a {
    color: var(--dr-primary-dark);
    font-weight: 800;
}

.case-placeholder {
    aspect-ratio: 1 / 1;
    background: linear-gradient(90deg, #dbeafe 50%, #e0f5f9 50%);
    border-radius: 28px;
    border: 1px solid var(--dr-border);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dr-dark);
    font-weight: 900;
}

.case-line {
    width: 4px;
    height: 100%;
    background: #fff;
    position: absolute;
    left: 50%;
    top: 0;
    box-shadow: 0 0 20px rgba(0,0,0,.18);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.feature-item {
    background: #fff;
    border: 1px solid var(--dr-border);
    border-radius: 22px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dr-dark);
    font-weight: 700;
}

.feature-item i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0f5f9;
    color: var(--dr-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultation-box {
    background: #fff;
    border: 1px solid var(--dr-border);
    border-radius: 32px;
    padding: 34px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    box-shadow: 0 24px 70px rgba(18, 49, 58, .08);
}

.consultation-box span {
    color: var(--dr-primary-dark);
    font-weight: 800;
}

.consultation-box h2 {
    color: var(--dr-dark);
    font-weight: 900;
    margin: 10px 0;
}

.consultation-box p {
    color: var(--dr-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .hero-stats,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .consultation-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-section {
        padding: 55px 0 45px;
    }

    .section-padding {
        padding: 56px 0;
    }
}



/*compare*/
.before-after-card {
    background: #fff;
    border: 1px solid var(--dr-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(18, 49, 58, .06);
}

.before-after-slider {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    background: #e2eef2;
}

.before-after-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.before-img {
    position: absolute;
    inset: 0;
}

.after-wrapper {
    position: absolute;
    inset-block: 0;
    right: 0;
    overflow: hidden;
    height: 100%;
}

.after-img {
    position: absolute;
    inset-block: 0;
    right: 0;
    width: 100% !important;
    max-width: none;
}

.slider-handle {
    position: absolute;
    top: 0;
    height: 100%;
    width: 4px;
    background: #fff;
    transform: translateX(50%);
    z-index: 5;
    box-shadow: 0 0 22px rgba(0,0,0,.22);
}

.slider-handle span {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--dr-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.case-label {
    position: absolute;
    top: 14px;
    z-index: 6;
    background: rgba(255,255,255,.9);
    color: var(--dr-dark);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 800;
}

.before-label {
    left: 14px;
}

.after-label {
    right: 14px;
}

.before-after-content {
    padding: 20px;
}

.before-after-content h3 {
    color: var(--dr-dark);
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 8px;
}

.before-after-content p {
    color: var(--dr-muted);
    line-height: 1.9;
    margin: 0;
    font-size: 14px;
}



/*breadcrumb*/
.site-breadcrumb {
    margin-bottom: 18px;
}

.site-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.site-breadcrumb li {
    color: var(--dr-muted);
    font-size: 14px;
    font-weight: 600;
}

.site-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-right: 8px;
    color: #b6cbd2;
}

.site-breadcrumb a {
    color: var(--dr-primary-dark);
}

.site-breadcrumb span {
    color: var(--dr-muted);
}


/*consultation form*/

.consultation-form-card {
    background: #fff;
    border: 1px solid var(--dr-border);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 18px 45px rgba(18, 49, 58, .06);
}

.consultation-form-header {
    margin-bottom: 24px;
}

.consultation-form-header span {
    display: inline-flex;
    color: var(--dr-primary-dark);
    background: #e0f5f9;
    border: 1px solid var(--dr-border);
    border-radius: 999px;
    padding: 7px 16px;
    font-weight: 800;
    margin-bottom: 12px;
}

.consultation-form-header h2 {
    color: var(--dr-dark);
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 10px;
}

.consultation-form-header p {
    color: var(--dr-muted);
    line-height: 2;
    margin: 0;
}

.consultation-form-card label {
    color: var(--dr-dark);
    font-weight: 800;
    margin-bottom: 8px;
}

.consultation-form-card .form-control {
    border-color: var(--dr-border);
    border-radius: 16px;
    padding: 12px 14px;
}

.consultation-form-card .form-control:focus {
    border-color: var(--dr-primary);
    box-shadow: 0 0 0 .2rem rgba(146, 209, 224, .22);
}

@media (max-width: 768px) {
    .consultation-form-card {
        padding: 22px;
        border-radius: 24px;
    }
}


/*chatbot*/

.floating-chatbot {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 2000;
    font-family: Vazirmatn, sans-serif;
}

.chatbot-toggle {
    position: relative;
    border: 0;
    background: var(--dr-primary);
    color: var(--dr-dark);
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 18px 45px rgba(18, 49, 58, .18);
    animation: chatbotPulse 2.8s infinite;
}

.chatbot-toggle i {
    font-size: 20px;
}

.chatbot-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

@keyframes chatbotPulse {
    0% {
        box-shadow: 0 18px 45px rgba(18, 49, 58, .18), 0 0 0 0 rgba(146, 209, 224, .65);
    }

    70% {
        box-shadow: 0 18px 45px rgba(18, 49, 58, .18), 0 0 0 14px rgba(146, 209, 224, 0);
    }

    100% {
        box-shadow: 0 18px 45px rgba(18, 49, 58, .18), 0 0 0 0 rgba(146, 209, 224, 0);
    }
}

.chatbot-box {
    width: 360px;
    background: #fff;
    border: 1px solid var(--dr-border);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(18, 49, 58, .18);
    display: none;
    margin-bottom: 12px;
}

.chatbot-box.active {
    display: block;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--dr-primary), #e0f5f9);
    color: var(--dr-dark);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header strong {
    display: block;
    font-weight: 900;
}

.chatbot-header span {
    font-size: 12px;
    color: var(--dr-text);
}

.chatbot-header button {
    border: 0;
    background: rgba(255,255,255,.7);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--dr-dark);
}

.chatbot-messages {
    height: 310px;
    overflow-y: auto;
    padding: 16px;
    background: #f8fcfd;
}

.chat-message {
    max-width: 88%;
    padding: 11px 14px;
    border-radius: 18px;
    margin-bottom: 10px;
    line-height: 1.9;
    font-size: 14px;
}

.chat-message.bot {
    background: #fff;
    border: 1px solid var(--dr-border);
    color: var(--dr-text);
    margin-left: auto;
}

.chat-message.user {
    background: var(--dr-primary);
    color: var(--dr-dark);
    margin-right: auto;
}

.chatbot-input-area {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--dr-border);
    background: #fff;
}

.chatbot-input-area input {
    flex: 1;
    border: 1px solid var(--dr-border);
    border-radius: 999px;
    padding: 10px 14px;
    outline: none;
}

.chatbot-input-area input:focus {
    border-color: var(--dr-primary);
}

.chatbot-input-area button {
    border: 0;
    background: var(--dr-primary);
    color: var(--dr-dark);
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.chatbot-mini-form {
    display: grid;
    gap: 9px;
}

.chatbot-mini-form input,
.chatbot-mini-form textarea {
    width: 100%;
    border: 1px solid var(--dr-border);
    border-radius: 14px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.chatbot-mini-form textarea {
    min-height: 76px;
    resize: vertical;
}

.chatbot-mini-form button {
    border: 0;
    background: var(--dr-primary);
    color: var(--dr-dark);
    border-radius: 14px;
    padding: 10px 12px;
    font-weight: 900;
}

.chatbot-form-status {
    font-size: 13px;
    line-height: 1.8;
}

.chatbot-form-status.success {
    color: #15803d;
}

.chatbot-form-status.error {
    color: #b91c1c;
}

@media (max-width: 768px) {
    .floating-chatbot {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .chatbot-box {
        width: 100%;
    }

    .chatbot-toggle {
        margin-right: auto;
    }
}

.chat-message.typing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 64px;
}

.chat-message.typing span {
    width: 7px;
    height: 7px;
    background: var(--dr-primary-dark);
    border-radius: 50%;
    display: inline-block;
    animation: typingDot 1s infinite ease-in-out;
}

.chat-message.typing span:nth-child(2) {
    animation-delay: .15s;
}

.chat-message.typing span:nth-child(3) {
    animation-delay: .3s;
}

@keyframes typingDot {
    0%, 80%, 100% {
        opacity: .25;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-4px);
    }
}
