.elementor-579 .elementor-element.elementor-element-0132736{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-579 .elementor-element.elementor-element-1d6a354{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-theme-post-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-579 .elementor-element.elementor-element-efdbd50{text-align:center;}.elementor-579 .elementor-element.elementor-element-efdbd50 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-weight:600;color:#61CE70;}.elementor-widget-theme-post-excerpt{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-579 .elementor-element.elementor-element-272dcec{text-align:center;}.elementor-579 .elementor-element.elementor-element-b054790.elementor-element{--align-self:center;}.elementor-579 .elementor-element.elementor-element-16655c1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-579 .elementor-element.elementor-element-8ce1e25{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-579 .elementor-element.elementor-element-8ce1e25:not(.elementor-motion-effects-element-type-background), .elementor-579 .elementor-element.elementor-element-8ce1e25 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://www.jordan-hospital.com/wp-content/uploads/2025/08/ewidget_bg.jpg");}@media(min-width:768px){.elementor-579 .elementor-element.elementor-element-1d6a354{--width:70%;}.elementor-579 .elementor-element.elementor-element-16655c1{--width:30%;}}/* Start custom CSS for container, class: .elementor-element-0132736 *//* Main container styling */
.doctor_page {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    font-family: 'Poppins', 'Arial', sans-serif;
    color: #333;
    max-width: 1200px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.doctor_page:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

/* Doctor info section - Arabic friendly only for text */
.doctor_info {
    flex: 1;
    min-width: 320px;
    direction: rtl; /* Only Arabic text flipped */
    text-align: right;
}

.doctor-name {
    color: #0d8a4f;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
    letter-spacing: 0.5px;
}

.doctor-name:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /* RTL alignment */
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0d8a4f, #22d07f);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.doctor-name:hover:after {
    width: 120px;
}

.doctor-description {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #555;
}

/* Meta info styling - two-column grid for label/value */
.doctor_extra_information {
    margin-top: 40px;
}

.doctor-meta-box {
    display: grid;
    gap: 15px;
}

.doctor-meta-field {
    display: grid;
    grid-template-columns: 140px 1fr; /* Label & Value */
    align-items: center;
    background: #f9fafb;
    padding: 15px 20px;
    border-radius: 10px;
    border-right: 4px solid #0d8a4f; /* RTL side border */
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.doctor-meta-field:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.doctor-meta-field strong {
    color: #0d8a4f;
    font-size: 16px;
    font-weight: 600;
}

.doctor-meta-field div {
    font-size: 16px;
    line-height: 1.6;
    white-space: pre-line;
    color: #444;
}

/* Image box styling */
.doctor-image_box {
    width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doctor-image {
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin-bottom: 25px;
    border: 3px solid #0d8a4f;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.doctor-image:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Contact button styling */
.doctor-contact-btn {
    background: linear-gradient(135deg, #0d8a4f, #15a762);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(13, 138, 79, 0.3);
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.doctor-contact-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 18px rgba(13, 138, 79, 0.4);
    background: linear-gradient(135deg, #0b7944, #129155);
}

/* Additional heading styles */
.doctor-meta-box h2,
.doctor-meta-box h3,
.doctor-meta-box h4 {
    color: #0d8a4f;
    margin: 20px 0 15px 0;
}

.doctor-meta-box h2 {
    font-size: 24px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
    font-weight: 700;
}

.doctor-meta-box h3 {
    font-size: 20px;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .doctor_page {
        flex-direction: column;
        padding: 20px;
        margin: 20px auto;
        gap: 30px;
    }
    
    .doctor-image_box {
        width: 100%;
        order: -1;
    }
    
    .doctor-image {
        max-width: 300px;
        margin: 0 auto 25px;
    }
    
    .doctor-name {
        font-size: 28px;
        text-align: center;
    }
    
    .doctor-name:after {
        right: 50%;
        transform: translateX(50%);
    }

    .doctor-meta-field {
        grid-template-columns: 1fr; /* Stack label and value */
        text-align: center;
        border-right: none;
        border-top: 4px solid #0d8a4f;
    }
}

/* Micro-interactions */
.doctor-meta-field div::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #0d8a4f;
    transition: width 0.3s;
    margin-top: 5px;
}

.doctor-meta-field:hover div::after {
    width: 50px;
}/* End custom CSS */