﻿/*
---------------------------------------------------------------------------------
 RTL / ARABIC VERSION
---------------------------------------------------------------------------------
*/

body {
    font-family: "Tajawal", "Cairo", "Segoe UI", Arial, sans-serif;
    background-image: url('../../sky.jpg');
    background-color: #e0f2f7;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    direction: rtl;
    text-align: right;
}

/* Updated styles for #chevron_inside */
#chevron_inside {
    font-family: "Tajawal", "Cairo", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    direction: rtl;
    line-height: 1.9;
    background-color: transparent;
    padding: 25px 20px;
    margin-top: 5px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    }

    .logo img {
        transition: transform0px;
    }

    .logo {
        text-align: center;
    }

    .logo img {
        transition: transform 0.35s ease, box-shadow 0.35s ease;
        display: inline-block;
    }

    .logo:hover img {
        transform: scale(1.08) translateY(-4px);
    }

    /*
    ---------------------------------------------------------------------------------
     ARTICLE BODY CONTAINER STYLES
    ---------------------------------------------------------------------------------
    */

    .body-of-articles {
        background-color: #ffffff;
        width: 80%;
        max-width: 1100px;
        margin-bottom: 200px;
        margin-left: auto;
        margin-right: auto;
        padding: 20px;
        border-radius: 0px 0px 25px 25px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
        direction: rtl;
        text-align: center;
    }

    @media (max-width: 750px) {
        .body-of-articles {
            width: 100%;
            padding: 20px 25px;
            margin-top: 20px;
            margin-bottom: 30px;
        }

        h2, h3 {
            text-align: center !important;
            direction: rtl;

        }
    }

    @media (max-width: 480px) {
        .body-of-articles {
            width: 100%;
            border-radius: 0;
            box-shadow: none;
            padding: 15px 20px;
            margin-top: 15px;
            margin-bottom: 20px;
        }
    }

    /*
    ---------------------------------------------------------------------------------
     HEADINGS
    ---------------------------------------------------------------------------------
    */

    h1 {
        font-size: 30px;
        font-family: "Tajawal", "Cairo", "Segoe UI", Arial, sans-serif;
        color: #4e90cd;
        direction: rtl;
        text-align: center !important;
    }

    h2 {
        font-size: 25px;
        font-family: "Tajawal", "Cairo", "Segoe UI", Arial, sans-serif;
        color: #DC143C;
        direction: rtl;
        text-align: center !important;
    }

    h3 {
        font-size: 20px;
        font-family: "Tajawal", "Cairo", "Segoe UI", Arial, sans-serif;
        color: darkgreen;
        direction: rtl;
        text-align: right;
    }

    /*
    ---------------------------------------------------------------------------------
     RESPONSIVE IMAGES
    ---------------------------------------------------------------------------------
    */

    .responsive-image-container img {
        max-width: 100%;
        height: auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .responsive-image-container {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .style1 {
        color: #0000FF;
    }

    .related {
        line-height: 2;
        padding: 20px;
        font-family: "Tajawal", "Cairo", "Segoe UI", Arial, sans-serif;
        direction: rtl;
        text-align: right;
        background-color: #494343;
    }

    .related h3 {
        color: #FFFF99;
    }

    .related a {
        color: white;
        text-decoration: none;
        padding: 8px;
        border-radius: 10px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .related a:hover {
        background-color: #3e8ed7;
        color: white;
    }

    .related_links {
        background-color: #1c1a1a;
    }

    .menubar-li {
        background: #3e8ed7;
        border-radius: 16px;
        padding: 12px 20px;
        color: #fff;
        text-decoration: none;
        white-space: nowrap;
        text-align: center;
        font-size: 14px;
        max-width: 200px;
        margin-bottom: 20px;
        font-family: "Tajawal", "Cairo", "Segoe UI", Arial, sans-serif;
        display: block;
    }



.submenu {
    position: relative;
    display: inline-block;
    text-align: center;

}



    .submenu2 {
        position: relative;
        display: inline-block;
        background-color: #f0f0f0;
        border: 1.5px solid #3e8ed7;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        width: 300px;
        max-width: 90%;
        margin-bottom: 20px;
        margin-top: -5px;
        font-family: "Tajawal", "Cairo", "Segoe UI", Arial, sans-serif;
        text-align: center;
        direction: rtl;
    }

    .submenu2 a {
        color: dimgrey;
    }

    .submenu2::before {
        content: '';
        position: absolute;
        top: -10px;
        right: 50%;
        transform: translateX(50%);
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid #f0f0f0;
        z-index: 1;
    }

    .submenu2::after {
        content: '';
        position: absolute;
        top: -11px;
        right: 50%;
        transform: translateX(50%);
        width: 0;
        height: 0;
        border-left: 11px solid transparent;
        border-right: 11px solid transparent;
        border-bottom: 11px solid #3e8ed7;
        z-index: 0;
    }

    /* Q&A Box */

    .question-answer {
        background: #ffffff;
        border: 1px solid #e5eef5;
        border-radius: 12px;
        padding: 18px 20px;
        margin: 18px 0;
        box-shadow: 0 3px 10px rgba(0,0,0,0.06);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        position: relative;
        overflow: hidden;
        direction: rtl;
        text-align: right;
    }

    /* Right colored bar */

    .question-answer::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom,#1ca3e2,#0d8cc9);
    }

    .question-answer:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(13,140,201,0.12);
    }

    .question {
        display: block;
        font-size: 14px;
        color: #0d4f73;
        margin-bottom: 12px;
        line-height: 1.9;
        position: relative;
        padding-right: 34px;
        padding-left: 0;
    }

    .question::before {
        content: "?";
        position: absolute;
        right: 0;
        top: 0;
        width: 24px;
        height: 24px;
        background: #1ca3e2;
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: bold;
        box-shadow: 0 2px 6px rgba(28,163,226,0.35);
    }

    .answer {
        display: block;
        font-size: 15px;
        line-height: 2;
        color: #444;
        background: #f8fbfe;
        border-radius: 8px;
        padding: 14px 16px;
        margin-top: 10px;
        border: 1px solid #e3edf5;
        direction: rtl;
        text-align: right;
    }

    /* SEARCH FORM */

    .search_answers_inner {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 12px;
        background: linear-gradient(135deg, #ffffff, #f7faff);
        border: 1px solid #dbe7ff;
        border-radius: 18px;
        padding: 14px;
    }

    .search_answers_input {
        flex: 1;
        height: 54px;
        border: none;
        outline: none;
        background: transparent;
        font-size: 16px;
        color: #0f172a;
        padding: 0 14px;
        border-radius: 12px;
        font-family: inherit;
        direction: rtl;
        text-align: right;
    }






























/*  Buttons  */
.sky-blue-button {
    display: inline-block;
    padding: 6px 24px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #1ca3e2, #0d8cc9);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    margin-top: 20px;
    margin-bottom: 40px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.18), 0 1px 2px rgba(255,255,255,0.4) inset;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
}

.sky-blue-button::after {
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:120%;
    height:100%;
    background:linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.7), rgba(255,255,255,0) 70%);
    transition: left 0.6s ease;
}

.sky-blue-button:hover {
    transform: scale(1.09);
    background: linear-gradient(135deg, #23b0f3, #1099d9);
    box-shadow: 0 10px 25px rgba(30,140,200,0.35), 0 0 18px rgba(30,140,200,0.45), 0 2px 4px rgba(255,255,255,0.35) inset;
}

.sky-blue-button:hover::after {
    left:120%;
}














/* CLOSE BUTTON */

    .close-btn {
        position: absolute;
        top: 5px;
        left: 15px;
        font-size: 28px;
        font-weight: bold;
        color: #888;
        cursor: pointer;
        line-height: 1;
        transition: color 0.3s ease;
    }

    .close-btn:hover {
        color: #ff4d4d;
    }

/*  Fixed footer form  */
/*  Fixed footer form  */
.fixed-form {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px;
    text-align: center;
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    direction: rtl;
    font-family: "Tahoma", "Segoe UI", Arial, sans-serif;
}

.fixed-form .header-section {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.fixed-form .header-section h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    flex-grow: 1;
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
}

.fixed-form .close-btn {
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    margin-left: 10px;
    margin-right: 10px;
}

.fixed-form .close-btn:hover {
    color: #c00;
}

.fixed-form .buttons-container {
    display: flex;
    width: 100%;
    justify-content: space-around;
    gap: 10px;
}

.fixed-form .buttons-container a {
    flex: 1;
    text-decoration: none;
}

.fixedform_button {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    direction: rtl;
    font-family: "Tahoma", "Segoe UI", Arial, sans-serif;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fixedform_icon {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.fixedform_chat {
    background-color: #298d7d;
    color: #ffffff;
}

.fixedform_chat:hover {
    background-color: #1f6e62;
}

.fixedform_call {
    background-color: #d51122;
    color: #ffffff;
}

.fixedform_call:hover {
    background-color: #9e0025;
}

@media (max-width: 768px) {
    .fixedform_button {
        font-size: 14px;
        padding: 10px 0;
    }
    .fixed-form .header-section h3 {
        font-size: 16px;
        padding-left: 25px;
        padding-right: 25px;
    }
}

.xlink {
    color: #3e8ed7;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
}

.xlink:hover {
    color: #1f5fa3;
    text-decoration: underline;
    font-size: 1.1em;
}

/* Compare table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    direction: ltr;
    background: #ffffff;
    overflow: hidden;
    font-family: "Segoe UI", Arial, sans-serif;
}

.compare-table thead th {
    background: #3460c2;
    color: #fff;
    padding: 18px;
    text-align: center;
    font-size: 14px;
}

.compare-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.compare-table td:first-child {
    font-weight: bold;
    background: #e0dbdb;
}

@media(max-width: 820px){
    .compare-table thead { display: none; }
    .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
    .compare-table tr { margin-bottom: 15px; border: 1px solid #e6e6e6; border-radius: 10px; overflow: hidden; }
    .compare-table td { text-align: left; padding: 12px 15px; position: relative; }
    .compare-table td::before { content: attr(data-label); font-weight: bold; color: #2ba36f; display: block; margin-bottom: 6px; }
}

/* Sensitivity Blur */
.sensitive-wrapper {
    position: relative;
    cursor: pointer;
    margin-bottom: 20px;
    display: inline-block;
}

.sensitive-img {
    filter: blur(12px);
    transition: filter 0.4s ease;
    border-radius: 6px;
}

.sensitive-wrapper.active .sensitive-img {
    filter: none;
}

.sensitive-warning {
    position: absolute;
    inset: 0;
    background: rgba(58, 51, 51, 0.55); /* Fixed numbers */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 19px;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    padding: 12px 18px;
    font-weight: bold;
    border-radius: 6px;
    z-index: 2;
    backdrop-filter: blur(2px);
    box-sizing: border-box;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.sensitive-wrapper.active .sensitive-warning {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}








blockquote {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    min-height: 250px;
    direction: rtl;
    text-align: right;

    /* دو لایه گیومه + عکس دکتر در پس‌زمینه (موقعیت‌ها برای RTL برعکس شده) */
    background-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewBox='0 0 24 24'%3E%3Cpath fill='%237cc7ff' d='M11.2 15.8c0 2-1.6 3.6-3.6 3.6S4 17.8 4 15.8C4 11.9 7.2 8.7 11.1 8.7v2.1c-2.8 0-5 2.2-5 5h5.1v.0zM20.8 15.8c0 2-1.6 3.6-3.6 3.6s-3.6-1.6-3.6-3.6c0-3.9 3.2-7.1 7.1-7.1v2.1c-2.8 0-5 2.2-5 5h5.1v.0z'/%3E%3C/svg%3E"), /* گیومه باز */
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewBox='0 0 24 24'%3E%3Cpath fill='%237cc7ff' d='M12.8 8.2c0-2 1.6-3.6 3.6-3.6S20 6.2 20 8.2c0 3.9-3.2 7.1-7.1 7.1v-2.1c2.8 0 5-2.2 5-5h-5.1v.0zM3.2 8.2c0-2 1.6-3.6 3.6-3.6s3.6 1.6 3.6 3.6c0 3.9-3.2 7.1-7.1 7.1v-2.1c2.8 0 5-2.2 5-5H3.2v.0z'/%3E%3C/svg%3E"), /* گیومه بسته */
            url('../photo2/dr-hamidreza-hosnani-quote200.png'), /* عکس دکتر */
            radial-gradient(circle at 20% 80%, rgba(123, 199, 255, 0.15) 0%, rgba(255, 255, 255, 0.9) 100%),
            linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);

    background-position:
            right 25px 25px,              /* گیومه باز در راست بالا */
            left 40px bottom 125px,       /* گیومه بسته در چپ پایین */
            bottom left,                  /* عکس دکتر در سمت چپ پایین */
            center,
            center;

    background-repeat: no-repeat;
    background-size: 40px, 40px, auto, cover, cover;

    border: 1px solid #e1f2ff;
    border-radius: 15px;
    padding: 70px 60px 140px 60px;

    font-family: "Tahoma", "Georgia", serif;
    font-style: italic;
    font-size: 17px;
    color: #3e4b55;
    line-height: 1.8;
    box-sizing: border-box;
    box-shadow: 0 15px 35px rgba(180, 210, 230, 0.2);
}



/* ============ Dubbed Video Show ============ */
.dubbed_video_show {
    max-width: 960px;
    margin: 24px auto;
    padding: 24px 26px 30px;
    background: #ffffff;
    border: 1px solid #e3e8f0;
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(37, 60, 99, 0.09);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #1f2a37;
}

/* سطر اول: عنوان */
.dubbed_video_show h3 {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 12px;
    border-bottom: 2px solid #2563eb;
}

/* سطر دوم: دو ستونه */
.dv_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 26px;
    align-items: stretch;
}

/* کادر سمت چپ: کاور */
.dv_cover {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    min-height: 240px;
}

.dv_cover_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dv_cover_empty {
    color: #94a3b8;
    font-size: 14px;
    padding: 20px;
    text-align: center;
}

/* کادر سمت راست: شرح */
.dv_desc {
    background: #f2f6ff;
    border: 1px solid #dbe6ff;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.dv_desc p {
    margin: 0 0 10px;
}

.dv_desc strong {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2563eb;
}

.dv_text {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
}

/* سطر سوم: ویدئو با ابعاد واقعی */
.dv_video {
    text-align: center;
}

.dv_video video {
    display: inline-block;
    width: auto;          /* عرض طبیعی ویدئو */
    height: auto;         /* ارتفاع طبیعی ویدئو */
    max-width: 100%;      /* فقط تا عرض کارت منبسط شود */
    background: #0f172a;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

/* موبایل: ستون‌ها زیر هم */
@media (max-width: 700px) {
    .dv_content {
        grid-template-columns: 1fr;
    }
}

