.ourvalues-section {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-block: 80px;
}

.ourvalues-section * {
    z-index: 2;
}

.ourvalues-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0f0f0ff0;
    
}

.ourvalues-section .values .value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
    padding-block: 40px;
    border: 1px solid #ffffff6b;
    background-color: #ffffff21;
    color: #ffffff;

    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.ourvalues-section .values .value-item::before {
    display: none;
    background-image: unset;
}


/* وصف قصير تحت عنوان القيمة */
.ourvalues-section .value-item .value-desc {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.8;
    opacity: .85;
}

/* خط الموقع ثابت في محتوى صفحات المنظمة — تنسيق Word الملصوق يبقى كما هو عدا الخط */
.dynamic-page-content-wrap,
.dynamic-page-content-wrap * { font-family: inherit !important; }

/* ═══ نافذة الاطلاع المحمية على الوثائق الرسمية ═══ */
.doc-viewer-wrap {
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e9e2d8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(92, 23, 49, .10);
    user-select: none;
}
.doc-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #5a1932, #7a2545);
    color: #fff;
    padding: 14px 22px;
}
.doc-viewer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
}
.doc-viewer-title i { color: #EFC072; font-size: 18px; }
.doc-viewer-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .35);
    padding: 4px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    color: #F3D9A4;
}
.doc-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 18px;
    background: #faf6ef;
    border-bottom: 1px solid #eee3d0;
}
.doc-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1.5px solid #e5d5b8;
    background: #fff;
    color: #6b5d4a;
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.doc-tab:hover { border-color: #D69832; color: #b07714; }
.doc-tab.active { background: #5a1932; border-color: #5a1932; color: #fff; }
.doc-canvas-stage {
    position: relative;
    background: #efeae3;
    min-height: 360px;
    display: flex;
    justify-content: center;
    padding: 16px;
    overflow: auto;
    scrollbar-width: none;
}
.doc-canvas-stage::-webkit-scrollbar { display: none; }
.doc-canvas-stage canvas,
.doc-canvas-stage img {
    box-shadow: 0 4px 18px rgba(0, 0, 0, .14);
    border-radius: 4px;
    max-width: none;
    width: 100%;
    height: auto;
    pointer-events: none;
    align-self: flex-start;
    user-select: none;
    -webkit-user-drag: none;
}
.doc-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #8a7a62;
    font-weight: 600;
    z-index: 2;
}
/* علامة مائية خفيفة فوق الوثيقة */
.doc-watermark {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='260'><text x='210' y='130' font-size='22' fill='rgba(90,25,50,0.05)' font-family='sans-serif' font-weight='bold' text-anchor='middle' transform='rotate(-25 210 130)'>جمعية يقين الخيرية - إندونيسيا — للاطلاع فقط</text></svg>");
    background-repeat: repeat;
}
.doc-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #eee3d0;
}
.doc-controls button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #e5d5b8;
    background: #fff;
    color: #5a1932;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .18s;
}
.doc-controls button:hover { background: #5a1932; border-color: #5a1932; color: #fff; }
.doc-controls #docPageInfo { font-weight: 700; color: #6b5d4a; min-width: 70px; text-align: center; }
.doc-controls .doc-sep { width: 1px; height: 22px; background: #eee3d0; }
