/* ========================================
   NGO THEME CSS - ORGANIZED VERSION
   ========================================
   
   This file contains all styles for the NGO website.
   Organized into clear sections for better maintainability.
   
   Table of Contents:
   1. CSS Variables & Root Settings
   2. Font Definitions
   3. Base Styles & Typography
   4. Color System
   5. Layout Components
   6. Navigation
   7. Hero Section
   8. About Section
   9. Board of Trustees Section
   10. Objectives Section
   11. Vision & Mission Section
   12. Values Section
   13. Strategic Goals Section
   14. Core Issues Section
   15. Initiatives Section
   16. Contact Section
   17. Responsive Design
   18. Animations & Effects
   
   ======================================== */

/* ========================================
   1. CSS VARIABLES & ROOT SETTINGS
   ======================================== */

/* Ensure FA font-family/weight aren’t overridden by global styles */
.fa,
.fa-solid,
.fas,
.fa-regular,
.far,
.fa-brands,
.fab {
    font-family: "Font Awesome 6 Free" !important;
    font-style: normal !important;
}

.fa-solid,
.fas {
    font-weight: 900 !important;
}

/* Solid set */
.fa-regular,
.far {
    font-weight: 400 !important;
}

.fa-brands,
.fab {
    font-family: "Font Awesome 6 Brands" !important;
}

/* If any reset cleared pseudo content, restore it */
i[class^="fa"],
i[class*=" fa"]::before {
    display: inline-block;
}


:root {
    /* Brand Colors */
    --primary-purple: #3E0048;
    --secondary-purple: #4B006E;
    --dark-purple: #3b0056;
    --teal: #1F4E4E;
    --light-teal: #0D6B70;
    --frame-color: #E9DDCA;
    --accent-blue: #87CEEB;

    /* Text Colors */
    --text-primary: #3E0048;
    --text-white: #ffffff;
    --text-gray: #6b6b6b;
    --text-light: #E0E0E0;

    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light-gray: #F8F8F8;
    --bg-purple-gradient: radial-gradient(100% 120% at 50% 20%, #1a0030 0%, #1a0030 100%);

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 15px;

    /* Typography */
    --font-family: 'Doran', sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;

    /* Layout */
    --max-width: 1200px;
    --border-radius: 8px;
    --box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

    /* Board Section Specific */
    --photo-size: 280px;
    --board-bg: url('/sfc/images/R/1SecionBG.png');
    --decoration-bg: url('/sfc/images/R/tileD.png');

    /* Objectives Section */
    --goals-max: 1180px;
    --goals-gutter: clamp(16px, 3vw, 40px);
    --strip-height: clamp(70px, 9vw, 110px);
}

/* ========================================
   2. FONT DEFINITIONS
   ======================================== */

/* Regular */
@font-face {
    font-family: 'Doran';
    src: url('../fonts/doran/Doran-Regular.woff2') format('woff2'),
        url('../fonts/doran/Doran-Regular.woff') format('woff'),
        url('../fonts/doran/Doran-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Bold */
@font-face {
    font-family: 'Doran';
    src: url('../fonts/doran/Doran-Bold.woff2') format('woff2'),
        url('../fonts/doran/Doran-Bold.woff') format('woff'),
        url('../fonts/doran/Doran-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Medium */
@font-face {
    font-family: 'Doran';
    src: url('../fonts/doran/Doran-Medium.woff2') format('woff2'),
        url('../fonts/doran/Doran-Medium.woff') format('woff'),
        url('../fonts/doran/Doran-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Thin */
@font-face {
    font-family: 'Doran';
    src: url('../fonts/doran/Doran-Thin.woff2') format('woff2'),
        url('../fonts/doran/Doran-Thin.woff') format('woff'),
        url('../fonts/doran/Doran-Thin.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

/* Light */
@font-face {
    font-family: 'Doran';
    src: url('../fonts/doran/Doran-Light.woff2') format('woff2'),
        url('../fonts/doran/Doran-Light.woff') format('woff'),
        url('../fonts/doran/Doran-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* ========================================
   3. BASE STYLES & TYPOGRAPHY
   ======================================== */

/* Global Reset & Base Styles */
* {
    box-sizing: border-box;
}

/* اجعل دوران هو الخط الأساسي */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button {
    font-family: 'Doran', sans-serif;
}


/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 1rem 0;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin: 0 0 1rem 0;
    line-height: 1.8;
}

/* ========================================
   4. COLOR SYSTEM
   ======================================== */

/* Color Utility Classes */
.colorFont {
    color: var(--text-primary);
    font-family: var(--font-family);
}

.colorW {
    color: var(--text-white);
    font-family: var(--font-family);
}

/* Base Body Styles */
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-white);
    background-color: var(--primary-purple);
    margin: 0;
    padding: 0;
}

/* Background Color Classes */
.bg-white {
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.bg-light-gray {
    background-color: var(--bg-light-gray) !important;
    color: var(--text-primary) !important;
}

.bg-lavender {
    background-color: #7D86F3 !important;
    color: var(--text-white) !important;
}

/* Text Color Overrides for White Backgrounds */
.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-white h4 {
    color: var(--text-primary);
}

/* ========================================
   5. LAYOUT COMPONENTS - FLEXBOX SYSTEM
   ======================================== */

/* Container & Section Spacing */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.page-section {
    padding: var(--section-padding);
    min-height: 100vh;
    position: relative;
}

@media (min-width: 992px) {
    .page-section {
        padding: 100px 0;
    }
}

/* ========================================
   FLEXBOX LAYOUT SYSTEM
   ======================================== */

/* Flex Container Base */
.flex-container {
    display: flex;
    width: 100%;
}

/* Flex Direction */
.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.flex-column-reverse {
    flex-direction: column-reverse;
}

/* Flex Wrap */
.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

/* Justify Content */
.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-evenly {
    justify-content: space-evenly;
}

/* Align Items */
.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

.align-baseline {
    align-items: baseline;
}

/* Align Content */
.align-content-start {
    align-content: flex-start;
}

.align-content-end {
    align-content: flex-end;
}

.align-content-center {
    align-content: center;
}

.align-content-stretch {
    align-content: stretch;
}

.align-content-between {
    align-content: space-between;
}

.align-content-around {
    align-content: space-around;
}

/* Flex Item Properties */
.flex-item {
    flex: 1;
}

.flex-grow {
    flex-grow: 1;
}

.flex-shrink {
    flex-shrink: 1;
}

.flex-basis-auto {
    flex-basis: auto;
}

.flex-basis-0 {
    flex-basis: 0;
}

/* Flex Item Sizing */
.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.flex-3 {
    flex: 3;
}

.flex-4 {
    flex: 4;
}

.flex-5 {
    flex: 5;
}

.flex-6 {
    flex: 6;
}

/* Flex Item Alignment */
.self-start {
    align-self: flex-start;
}

.self-end {
    align-self: flex-end;
}

.self-center {
    align-self: center;
}

.self-stretch {
    align-self: stretch;
}

.self-baseline {
    align-self: baseline;
}

/* Gap Properties */
.gap-0 {
    gap: 0;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-16 {
    gap: 4rem;
}

.gap-20 {
    gap: 5rem;
}

/* Responsive Flexbox */
@media (max-width: 767.98px) {
    .flex-mobile-column {
        flex-direction: column;
    }

    .flex-mobile-row {
        flex-direction: row;
    }

    .flex-mobile-wrap {
        flex-wrap: wrap;
    }

    .flex-mobile-nowrap {
        flex-wrap: nowrap;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .flex-tablet-column {
        flex-direction: column;
    }

    .flex-tablet-row {
        flex-direction: row;
    }
}

@media (min-width: 992px) {
    .flex-desktop-column {
        flex-direction: column;
    }

    .flex-desktop-row {
        flex-direction: row;
    }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-title-descr {
    font-size: 1.2rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 2rem;
}

/* ========================================
   6. NAVIGATION
   ======================================== */

/* Navigation Bar Styles */
.navbar-custom {
    background-color: transparent !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-custom .inner-nav a {
    color: var(--text-white) !important;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.navbar-custom .inner-nav a:hover {
    color: #FFD700 !important;
}

/* Scrolled Navigation State */
.navbar-custom.navbar-scrolled {
    background-color: var(--secondary-purple) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.navbar-custom.navbar-scrolled .inner-nav a {
    color: var(--text-white) !important;
    text-shadow: none;
}

/* ========================================
   7. HERO SECTION
   ======================================== */

/* Hero Section Layout */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: var(--bg-purple-gradient),
    url("{{ asset('sfc/images/R/MBG.png') }}");
    background-repeat: no-repeat, no-repeat;
    background-position: center top, center top;
    background-size: cover, 100% auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section>* {
    position: relative;
    z-index: 5;
}


/* Hero Content */
.hero-content {
    color: var(--text-white);
    text-align: right;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle-en {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-subtitle-ar {
    font-size: 1rem;
    color: #bbb;
    margin-top: 0.5rem;
}

/* Hero Actions */
.hero-actions {
    margin-top: 2rem;
}

.hero-actions .btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.hero-actions .btn-primary {
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-purple));
    border: none;
    color: var(--text-white);
}

.hero-actions .btn-outline-light {
    border: 2px solid var(--text-white);
    color: var(--text-white);
    background: transparent;
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Hero Overlay Elements */
.hero-overlay-elements {
    z-index: 4;
}

.hero-overlay-elements .overlay-elements {
    position: absolute;
    top: 16%;
    right: -4%;
    width: 42%;
    height: auto;
    object-fit: contain;
    z-index: 4;
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    z-index: 10 !important;
}


/* ========================================
   11. VISION & MISSION SECTION
   ======================================== */

/* Vision Mission Section Layout */
.vision-mission-section {
    background-color: var(--primary-purple);
    padding: 100px 20px;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.overlay-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 60px 40px;
    max-width: 900px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.section-block {
    margin-bottom: 60px;
}

.small-title {
    font-size: 14px;
    font-weight: bold;
    color: #7d86f3;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.main-title {
    font-size: 30px;
    color: var(--text-primary);
    margin: 15px 0;
    font-family: 'Doran-Bold', sans-serif;
}

.divider {
    width: 60px;
    border: none;
    border-top: 2px solid var(--text-primary);
    margin: 15px auto;
}

.description {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
}

.goals-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.goals-list li {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.goals-list li::before {
    content: "•";
    color: #7d86f3;
    font-size: 22px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* ========================================
   8. ABOUT SECTION
   ======================================== */

/* About Section Layout */
.about-sfc {
    background: var(--bg-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* About Section Grid */
.about-sfc .row {
    align-items: stretch;
}

/* Text Content */
.text-content {
    min-height: clamp(540px, 66vh, 720px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    max-width: 620px;
    margin-inline-start: auto;
    padding: 0 10px;
}

.about-paragraph {
    color: #265b60;
    line-height: 2;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

/* Bullet Points */
.about-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #265b60;
    list-style-type: disc;
    /* شكل النقطة */
    padding-right: 20px;
    /* إزاحة بسيطة */
    margin-top: 15px;
    color: #265b60;
    /* نفس لون النص */
    line-height: 2;
    /* تباعد الأسطر */
    font-size: 1.05rem;
}

.about-bullets li {
    position: relative;
    padding-right: 28px;
    margin-bottom: 0.65rem;

}

.about-bullets li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.6em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-purple);
}

/* Visual Content */
.about-visual {
    position: relative;
    min-height: clamp(540px, 66vh, 720px);
}

.about-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--lines-url);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: clamp(520px, 44vw, 760px) auto;
    opacity: 0.95;
    z-index: 1;
    pointer-events: none;
}

.about-flag {
    z-index: 2;
    position: absolute;
    bottom: 0;
    right: clamp(24px, 3vw, 48px);
    width: clamp(420px, 36vw, 620px);
    height: auto;
}


/* ========================================
   12. VALUES SECTION
   ======================================== */

/* Values Section Layout */
.values-section {
    background: var(--bg-white);
    padding: 60px 0;
    text-align: center;
}

.values-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.value-item {
    flex: 1;
    padding: 20px;
    position: relative;
}

.value-item .icon {
    font-size: 40px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.value-item h4 {
    font-family: var(--font-family);
    font-size: 22px;
    color: var(--text-primary);
    margin: 0;
}

/* Separator Lines */
.value-item::before {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: #fff;
}

.value-item:first-child::before {
    display: none;
}

.values-desc {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.8;
}


/* ========================================
   13. STRATEGIC GOALS SECTION
   ======================================== */

/* Strategic Goals Layout */
.goal-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease-in-out;
}

.goal-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.goal-icon {
    font-size: 35px;
    color: #C9B7D6;
    margin-bottom: 15px;
}

.goal-title {
    color: var(--text-white);
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: bold;
}


.hero-section {
    position: relative;
    min-height: 100vh;
    /* طبقتان: 1) تحت = لون/تدرّج يملأ كامل الـsection  2) فوق = الصورة */
    background-image: radial-gradient(100% 120% at 50% 20%, #1a0030 0%, #1a0030 100%),
    url("{{ asset('sfc/images/R/MBG.png') }}");
    background-repeat: no-repeat, no-repeat;
    background-position: center top, center top;
    background-size: cover, 100% auto;
    /* التدرج يغطي كله / الصورة عرضها 100% */
}

.hero-section>* {
    position: relative;
    z-index: 5;
}

.hero-section .hero-overlay-elements {
    z-index: 4;
}

.scroll-down-indicator {
    z-index: 10 !important;

}

.shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.3;
    animation: float 10s infinite ease-in-out;
}

/* دوائر */
.shape.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #b657ff;
    top: 20%;
    left: 10%;
    animation-duration: 12s;
}

/* مثلث */
.shape.triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid #ff6b6b;
    top: 60%;
    left: 70%;
    animation-duration: 14s;
}

/* مربع */
.shape.square {
    width: 70px;
    height: 70px;
    background: #ffd93d;
    top: 30%;
    left: 80%;
    transform: rotate(20deg);
    animation-duration: 16s;
}

/* نقاط صغيرة */
.shape.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #6bcdfd;
    top: 75%;
    left: 25%;
    animation-duration: 10s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-40px) rotate(20deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.content {
    position: relative;
    z-index: 1;
}

.vision-section {
    position: relative;
    background: #3E0048;
    /* الموف الأساسي */
    color: white;
    text-align: center;
    padding: 120px 20px;
    overflow: hidden;
}

.bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-shapes .circle {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 12s infinite ease-in-out;
}

.bg-shapes .circle.big {
    width: 250px;
    height: 250px;
    top: -100px;
    left: -100px;
}

.bg-shapes .circle.small {
    width: 120px;
    height: 120px;
    bottom: -60px;
    right: -60px;
    animation-duration: 15s;
}

.bg-shapes .line {
    position: absolute;
    width: 150px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    top: 20%;
    left: 10%;
    animation: slide 10s infinite linear;
}

.bg-shapes .line.diagonal {
    top: 70%;
    left: 80%;
    transform: rotate(45deg);
    animation-duration: 14s;
}

.content {
    position: relative;
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(15deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(40px);
    }

    100% {
        transform: translateX(0);
    }
}

.member img {
    width: 280px !important;
    /* العرض */
    height: 280px !important;
    /* الطول */
    object-fit: cover;
    /* يقص الصورة للحجم المطلوب */
    border-radius: 10px;
    /* اختياري - يعطي حواف ناعمة */
}


/* حجم قياسي للصورة داخل صفحة الخبر */
.news-detail-image {
    max-width: 850px !important;
    /* يمنع تعارض الثيم */
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    /* توسيط الصورة */
}

/* لو القالب يفرض عرض كبير عبر .blog-media img، نقيّده هنا */
.blog-media img.news-detail-image {
    max-width: 850px !important;
}


.bg-lavender {
    background-color: #7D86F3 !important;
    color: #FFFFFF !important;
}

.bg-white {
    background-color: #FFFFFF !important;
    color: #3E0048 !important;
}

.bg-light-gray {
    background-color: #F8F8F8 !important;
    color: #3E0048 !important;
}

:root {
    --mov: #4B006E;
    --mov-700: #3b0056;
}

/* ألوان مساعدة للنص */
.colorMov {
    color: var(--mov);
}

.colorMov-700 {
    color: var(--mov-700);
}

/* القسم */
:root {
    --mov: #4B006E;
    --about-h: 640px;
    /* ارتفاع موحّد للعمودين على الديسكتوب */
}

/* القسم */
.about-sfc {
    background: #fff;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

/* شبكة القسم */
.about-sfc .row {
    align-items: stretch;
}

/* عمود النص = نفس ارتفاع عمود الصورة */
.text-content {
    min-height: var(--about-h);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10px;
}

/* عمود الصورة: خطوط الخلفية على اليمين + طبقات فوقها */
:root {
    --mov: #4B006E;
    --about-h: clamp(540px, 66vh, 720px);
    /* توحيد ارتفاع العمودين */
}

/* القسم */
.about-sfc {
    background: #fff;
    padding: 80px 0;
    overflow: hidden;
}

/* العمودان بنفس الارتفاع ومُحاذاة وسط */
.text-content {
    min-height: var(--about-h);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    max-width: 620px;
    /* عرض السطور مثل الصورة */
    margin-inline-start: auto;
    /* يجي يسار العمود في RTL */
}

.about-paragraph {
    color: #265b60;
    line-height: 2;
    font-size: 1.125rem;
}

/* نقاط القوائم */
.about-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #265b60;
}

.about-bullets li {
    position: relative;
    padding-right: 28px;
    margin-bottom: .65rem;
}

.about-bullets li::before {
    content: "";
    position: absolute;
    right: 0;
    top: .6em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mov);
}

/* العمود الأيمن (العَلم + خطوط الخلفية) */
.about-visual {
    position: relative;
    min-height: var(--about-h);
    /* احذف أي background سابق هنا */
}

/* الخلفية الرصاصية كطبقة خلفية */
.about-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--lines-url);
    /* نمررها من الـHTML */
    background-repeat: no-repeat;
    background-position: right center;
    background-size: clamp(520px, 44vw, 760px) auto;
    /* عدّلها لو احتجت */
    opacity: .95;
    /* خفّة الخطوط */
    z-index: 1;
    /* خلف العلم */
    pointer-events: none;
}

/* العلم فوق الخلفية */
.about-flag {
    z-index: 2;
    position: absolute;
    bottom: 0;
    right: clamp(24px, 3vw, 48px);
    width: clamp(420px, 36vw, 620px);
    height: auto;
}

/* الديكورات أعلى الكل */
.about-visual .dec {
    z-index: 3;
    position: absolute;
}

/* الديكورات */
.about-visual .dec {
    position: absolute;
    z-index: 3;
    width: clamp(70px, 7vw, 96px);
    height: auto;
}

.dec-tl {
    left: clamp(32px, 6vw, 64px);
    top: clamp(24px, 6vh, 80px);
}

.dec-tr {
    right: clamp(120px, 12vw, 160px);
    top: clamp(60px, 10vh, 120px);
}

.dec-mid {
    left: clamp(120px, 12vw, 180px);
    top: clamp(260px, 28vh, 340px);
}

/* استجابة */
@media (max-width: 1199.98px) {
    :root {
        --about-h: 520px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --about-h: 460px;
    }

    .about-visual {
        background-position: center top;
        background-size: clamp(380px, 60vw, 480px) auto;
        margin-top: 24px;
    }

    .about-flag {
        right: 50%;
        transform: translateX(50%);
        width: clamp(360px, 70vw, 480px);
    }

    .dec-tl {
        left: 6%;
        top: 6%;
    }

    .dec-tr {
        right: 12%;
        top: 18%;
    }

    .dec-mid {
        left: 14%;
        top: 45%;
    }
}

/* توازن النص العربي: يمين + مبرَّر */
.about-sfc .text-content p,
.about-sfc .text-content li {
    text-align: justify;
    /* يوازن بداية/نهاية كل الأسطر */
    text-align-last: right;
    /* آخر سطر يكون لليمين (أفضل للعربية) */
    -moz-text-align-last: right;
    /* فايرفوكس */
    line-height: 2;
    /* راحة للقراءة */
    word-spacing: .3px;
    /* لمسة خفيفة للعربية */
    font-size: 30px;
    font-weight: 500;
}

/* العنوان يتوزن كسطرين/ثلاثة بشكل أجمل */
.about-sfc .text-content h2 {
    text-wrap: balance;
    /* يوزّع الكلمات بين الأسطر */
}

@media (max-width: 575.98px) {
    :root {
        --about-h: 380px;
    }

    .about-visual .dec {
        width: 64px;
    }
}

:root {
    --mov: #4B006E;
    --frame: #E9DDCA;
    /* لون الإطار البيج */
    --matte: #0D6B70;
    /* لون الخلفية داخل الإطار خلف الصورة */
    --photo: 280px;
    /* مقاس الصورة داخل الإطار */
    --sep: rgba(255, 255, 255, .35);
    /* لون الفواصل العمودية */
}

/* قسم مجلس الأمناء */
.board-section {
    padding: 72px 0 0 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh !important;
}

/* عنوان */
.board-section .section-title {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
    text-align: right;
    margin-bottom: 3rem;
    letter-spacing: .3px;
}

/* شبكة البطاقات + الفواصل العمودية */
.board-members-row {
    row-gap: 40px;
    padding-bottom: 3%;
}

.board-members-row>[class*="col-"] {
    position: relative;
}

@media (min-width: 992px) {
    .board-members-row>[class*="col-"]:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 40px;
        bottom: -10px;
        left: calc(100% + 12px);
        /* منتصف المجرى بين الأعمدة */
        width: 1px;
        background: var(--sep);
        opacity: .8;
    }
}

/* بطاقة العضو */
.board-member {
    text-align: center;
    background: transparent;
    padding: 10px 10px 0;
    position: relative;
}

/* الإطار البيج + المات التركوازي + الصورة */
.member-photo {
    margin-bottom: 22px;
    position: relative;
    display: inline-block;
}

.member-photo .frame-outer {
    display: inline-block;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.member-photo .frame-inner {
    display: block;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.member-photo img {
    width: var(--photo);
    height: var(--photo);
    object-fit: cover;
    display: block;
    border-radius: 0;
    background: transparent;
    border: none;
}

/* معلومات العضو */
.member-info {
    color: #fff;
    text-align: center;
}

.member-title {
    color: #fff;
    opacity: .85;
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.member-name {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 10px;
}

.member-position {
    color: #fff;
    font-size: 1.05rem;
    margin: 0;
    opacity: .95;
}

/* ديكور سفلي */
.board-decoration {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    z-index: 1;
    pointer-events: none;
    background-image: var(--decoration-bg);
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: auto 100%;
}

.decoration-img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ديكور علوي (اختياري) */
.board-dec-top {
    position: absolute;
    top: 92px;
    left: 82px;
    width: 72px;
    height: 72px;
    z-index: 0;
    opacity: .9;
}

/* استجابة */
@media (max-width: 1199.98px) {
    .board-section .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }

    :root {
        --photo: 240px;
    }
}

@media (max-width: 991.98px) {
    .board-section {
        padding-top: 60px;
    }

    .board-section .section-title {
        text-align: center;
    }

    :root {
        --photo: 200px;
    }
}

@media (max-width: 575.98px) {
    :root {
        --photo: 160px;
    }

    .member-name {
        font-size: 1.3rem;
    }

    .member-position {
        font-size: .95rem;
    }
}

/* 1) إصلاح خطأ مطبعي في الخط الافتراضي (Dorran -> Doran) */
body {
    /* السطر الحالي عندك:
     font-family: 'Dorran', sans-serif;  */
    font-family: 'Doran', sans-serif;
}

/* 2) تموضع صورة الـoverlay في الـHero بدون تضارب مع الخلفية المزدوجة */
.hero-overlay-elements .overlay-elements {
    position: absolute;
    top: 16%;
    right: -4%;
    width: 42%;
    height: auto;
    object-fit: contain;
    z-index: 4;
    /* أعلى من ::before وأقل من النص */
}

/* 3) تفعيل “الإطار البيج + المات التركوازي” اختيارياً عبر .has-frame
   (لن يغيّر شيء إلا إذا أضفنا الكلاس في الـBlade) */
.member-photo.has-frame .frame-outer {
    background: var(--frame);
    /* البيج */
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.member-photo.has-frame .frame-inner {
    background: var(--matte);
    /* التركوازي */
    padding: 12px;
    border-radius: 4px;
}

.member-photo.has-frame img {
    width: var(--photo);
    height: var(--photo);
    object-fit: cover;
    display: block;
    border-radius: 2px;
}


@media (min-width:992px) {
    .page-section {
        padding: 100px 0;
    }
}


/* ==== مجلس الأمناء: خلفية بيضاء + ألوان نصوص مناسبة ==== */
.board-section {
    padding: 72px 0 88px 0;
    /* مساحة أسفل للديكور */
    --sep: rgba(0, 0, 0, .08);
    /* لون الفواصل على خلفية بيضاء */
}

.board-section .section-title {
    color: #3E0048 !important;
    /* موف الهوية */
}

.member-info {
    color: #3E0048;
    text-align: center;
}

.member-title {
    color: #6b6b6b;
    opacity: 1;
}

.member-name {
    color: #3E0048;
    font-weight: 800;
    font-size: 1.65rem;
    line-height: 1.35;
}

.member-position {
    color: #3E0048;
    opacity: .9;
}

/* الفواصل العمودية بين الأعمدة على الديسكتوب */
@media (min-width: 992px) {
    .board-members-row>[class*="col-"]:not(:last-child)::after {
        background: var(--sep) !important;
    }
}

/* ==== الإطار: جعل الصورة تملأ الإطار تمامًا ==== */
/* فعّلنا هذا عبر إضافة كلاس has-frame على عنصر .member-photo في الـBlade */
.member-photo.has-frame .frame-outer {
    background: var(--frame);
    /* البيج */
    padding: 10px;
    /* عرض الحدّ البيج */
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.member-photo.has-frame .frame-inner {
    background: transparent;
    /* نلغي المات التركوازي */
    padding: 0;
    /* حتى تلتصق الصورة بالإطار من الداخل */
    border-radius: 4px;
}

.member-photo.has-frame img {
    display: block;
    width: var(--photo);
    height: var(--photo);
    object-fit: cover;
    /* تملأ الإطار بدون فراغات */
    border-radius: 2px;
}


/* اجعل صورة العضو تملأ الإطار 1:1 */
.member-photo.has-frame {
    display: grid !important;
    place-items: center;
    width: max-content !important;
    /* تمنع تمدد الحاوية */
}

.member-photo.has-frame .frame-outer {
    display: grid;
    place-items: center;
    width: var(--photo) !important;
    /* مقاس الصورة نفسه */
    height: var(--photo) !important;
    padding: 10px;
    /* سماكة الإطار البيج */
    box-sizing: content-box;
    background: var(--frame);
    /* البيج */
    border-radius: 6px;
}

.member-photo.has-frame .frame-inner {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    /* لا خلفية داخلية */
    border-radius: 4px;
    display: grid;
}

.member-photo.has-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* تملأ الإطار بدون فراغات */
    display: block;
    border-radius: 2px;
    box-shadow: none !important;
    /* إلغاء ظل قديم */
}

/* تأكد أن حاويات أخرى ما تكبّر الإطار */
.board-member,
.member-photo {
    background: transparent !important;
}

/* حجم مرن للصورة داخل الإطار */
:root {
    --photo: clamp(220px, 20vw, 320px);
}

/* تأكد أن الحاويات ما تضيف ألوان/ظلال */
.board-section {
    background-color: #fff !important;
    background-image: var(--board-bg), var(--board-bg) !important;
    background-position: 110% 10%, -60% -50% !important;
    background-repeat: no-repeat, no-repeat !important;
    background-size: 60% 80%, 45% 70% !important;
    background-attachment: fixed !important;
    position: relative;
    min-height: 100%;
}

/* إضافة شفافية مختلفة لكل خلفية */
.board-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--board-bg) !important;
    background-position: 80% 20% !important;
    background-size: 60% 80% !important;
    background-repeat: no-repeat !important;
    opacity: 0.4;
    z-index: 1;
}

.board-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--board-bg) !important;
    background-position: 20% 60% !important;
    background-size: 45% 70% !important;
    background-repeat: no-repeat !important;
    opacity: 0.2;
    z-index: 1;
}

.board-member,
.member-photo {
    background: transparent !important;
}

/* الإطار البيج حول الصورة */
.board-section .member-photo.has-frame {
    display: grid;
    place-items: center;
    width: max-content !important;
}

.board-section .member-photo.has-frame .frame-outer {
    box-sizing: border-box;
    width: calc(var(--photo) + 20px) !important;
    /* 10px إطار يمين + يسار */
    height: calc(var(--photo) + 20px) !important;
    /* 10px إطار أعلى + أسفل */
    padding: 10px;
    background: #E9DDCA;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.board-section .member-photo.has-frame .frame-inner {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    background: #0D6B70;
    /* المات الأخضر-مزرق */
    border-radius: 4px;
    display: grid;
    place-items: center;
}

/* الصورة تسد الإطار بالكامل */
.board-section .member-photo.has-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    border-radius: 2px;
    box-shadow: none !important;
    filter: none !important;
    /* Ensure consistent sizing */
    min-width: 280px;
    min-height: 280px;
}

/* لو عندك قاعدة عامة تخرّب المقاسات (مثل .member img {width:300px}) عطّلها هنا */
.board-section .member img {
    width: auto;
    height: auto;

}

/* فواصل الأعمدة على خلفية بيضاء */
@media (min-width: 992px) {
    .board-members-row>[class*="col-"]:not(:last-child)::after {
        background: rgba(0, 0, 0, .08) !important;
    }
}

.backgroundBoard {
    background-image: url("{{ asset('sfc/images/R/1SecionBG.png') }}"),
    url("{{ asset('sfc/images/R/1SecionBG.png') }}");
    background-position: right center, left center !important;
    background-repeat: no-repeat, no-repeat !important;
    background-size: auto 100%, auto 100% !important;
}

.board-badge {
    position: relative;
    right: 0;
    float: right;
    margin-inline-start: auto;
    width: max-content;
    background: #2c7077;
    color: #fff;
    padding: 10px 18px;
    padding-right: 7%;
    border-radius: 0px;
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

/* ===== خلفية القسم (خطوط خفيفة يمين ويسار) ===== */
.board-section {
    position: relative;
    z-index: 0;
}

.board-section::before,
.board-section::after {
    content: "";
    position: absolute;
    top: -80px;
    bottom: -40px;
    width: min(50vw, 920px);
    background-image: var(--board-lines);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .14;
    /* خفّة التصميم */
    pointer-events: none;
    z-index: 0;
}

.board-section::before {
    left: -60px;
    /* يسار */
}

.board-section::after {
    right: -60px;
    transform: scaleX(-1);
    /* نعكس نفس الصورة لليمين */
}

/* (اختياري) تدرّج تلاشي للأطراف الحديثة فقط */
@supports (-webkit-mask-image: linear-gradient(#000, #000)) {
    .board-section::before {
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 90%);
    }

    .board-section::after {
        -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 18%, #000 90%);
    }
}

/* ===== مربعات الهوية خلف صور الأعضاء ===== */
.board-member {
    position: relative;
    z-index: 2;
}



/* الأشكال الهندسية الإضافية */
.board-section {
    overflow: hidden;
}

.board-section .geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.board-section .geometric-shapes .shape-1 {
    position: absolute;
    top: 20%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: #1F4E4E;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 3;
}

.board-section .geometric-shapes .shape-2 {
    position: absolute;
    top: 70%;
    right: 8%;
    width: 40px;
    height: 40px;
    background: #5C2D7C;
    transform: rotate(45deg);
    opacity: 0.5;
    z-index: 3;
}

.board-section .geometric-shapes .shape-3 {
    position: absolute;
    top: 40%;
    left: 80%;
    width: 30px;
    height: 30px;
    background: #1F4E4E;
    border-radius: 4px;
    opacity: 0.4;
    z-index: 3;
}

/* تم حذف الخطوط المتصلة */

.board-member::before {
    content: "";
    position: absolute;
    width: clamp(64px, 6.5vw, 96px);
    height: clamp(64px, 6.5vw, 96px);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
    opacity: 1;
}

/* يسار: مربع تركوازي أسفل يسار */
.board-members-row>.col-lg-4:nth-child(1) .board-member::before {
    background-image: var(--board-tile-teal);
    left: -14px;
    bottom: -22px;
}

/* الوسط: مربع بنفسجي أعلى الوسط */
.board-members-row>.col-lg-4:nth-child(2) .board-member::before {
    background-image: var(--board-tile-purple);
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
}

/* يمين: مربع تركوازي أسفل يمين */
.board-members-row>.col-lg-4:nth-child(3) .board-member::before {
    background-image: var(--board-tile-teal);
    right: -14px;
    bottom: -22px;
}

/* تأكد إن الإطار فوق المربعات */
.member-photo.has-frame .frame-outer {
    position: relative;
    z-index: 2;
}

/* ===== (تأكيد) الصورة تملأ الإطار بالكامل ===== */
.member-photo.has-frame {
    display: grid;
    place-items: center;
    width: max-content !important;
}

.member-photo.has-frame .frame-outer {
    box-sizing: content-box;
    width: calc(var(--photo)) !important;
    height: calc(var(--photo)) !important;
    padding: 10px;
    background: #E9DDCA;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.member-photo.has-frame .frame-inner {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    background: #0D6B70;
    border-radius: 4px;
    display: grid;
}

.member-photo.has-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 2px;
    box-shadow: none !important;
}

/* مقاس ثابت للصور داخل الإطار */
:root {
    --photo: 280px;
    --board-bg: url('/sfc/images/R/1SecionBG.png');
    --decoration-bg: url('/sfc/images/R/tileD.png');
}

/* Ensure all frame-inner images are the same size */
.frame-inner img {
    width: 280px !important;
    height: 280px !important;
    object-fit: cover !important;
    border-radius: 2px !important;
}

/* قاعدة شاملة لجميع صور مجلس الأمناء */
.board-section img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Ensure all board member images are the same size regardless of section */
.board-section .member img,
.team-item-image .member img,
.member-photo img,
.member-photo.has-frame img,
.frame-inner img {
    width: 280px !important;
    height: 280px !important;
    object-fit: cover !important;
    display: block !important;
}

/* تنسيق صور الديكور تحت الأعضاء */
.member-decoration {
    position: absolute;
    z-index: -1;
    opacity: 1;
}

.decoration-small {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain !important;
    filter: brightness(0.8);
}

/* مواضع مختلفة للديكور */

/* العضو الأول - أعلى يمين */
.decoration-right-top {
    bottom: 90px;
    right: -7.5%;
}

/* العضو الثاني - أسفل يسار */
.decoration-left-bottom {
    bottom: 87%;
    left: 9%;
}

/* العضو الثالث - أعلى وسط */
.decoration-center-top {
    bottom: 90px;
    right: 58%;
    transform: translateX(-50%);
}

/*.objectives-section {*/
/*  --goals-max: 1180px;
    /* أقصى عرض للحاوية */
/*  --goals-gutter: clamp(16px, 3vw, 40px);
    /* حواف داخلية للحاوية */
/*  --strip-half: clamp(420px, 42vw, 560px);
    /* طول نصف الشريط من المنتصف */
/*  --strip-h: clamp(70px, 9vw, 110px);
    /* ارتفاع الشريط */
/*  --center-gap: clamp(8px, 1.5vw, 24px);
    /* فراغ بسيط حول منتصف الهدف */
/*}*/

.objectives-section .container.goals {

    width: 100%;
    max-width: min(92vw, var(--goals-max));
    padding-inline: var(--goals-gutter);
    margin-inline: auto;
}

/* ===== قسم الأهداف ===== */
.objectives-section {
    background: #fff;
    padding: 80px 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container .goals {
    display: flex;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    position: relative;
}

.objectives-badge {
    position: absolute;
    background: #1F4E4E;
    color: #fff;
    padding: 15px 30px;
    border-radius: 0px;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    float: right;
    padding-right: 12%;
    right: 7%;
}

.objectives-intro {
    position: absolute;
    top: 30%;
    right: 12%;
    text-align: center;
    margin-bottom: 50px;
}

.objectives-intro p {
    color: #3E0048;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}


.objectives-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    right: 7%;
}

/* الرسم البياني المستهدف */
.target-graphic {
    position: relative;
    width: 350px;
    height: 350px;
    transform: rotate(-15deg);
}

.target-rings {
    position: relative;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 8px solid;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ring-1 {
    width: 340px;
    height: 340px;
    border-color: #5C2D7C;
    opacity: 0.85;
    background: radial-gradient(circle, rgba(92, 45, 124, 0.1) 0%, transparent 70%);
}

.ring-2 {
    width: 270px;
    height: 270px;
    border-color: #1F4E4E;
    opacity: 0.75;
    background: radial-gradient(circle, rgba(31, 78, 78, 0.1) 0%, transparent 70%);
}

.ring-3 {
    width: 200px;
    height: 200px;
    border-color: #5C2D7C;
    opacity: 0.65;
    background: radial-gradient(circle, rgba(92, 45, 124, 0.1) 0%, transparent 70%);
}

.ring-4 {
    width: 130px;
    height: 130px;
    border-color: #1F4E4E;
    opacity: 0.55;
    background: radial-gradient(circle, rgba(31, 78, 78, 0.1) 0%, transparent 70%);
}

.target-center {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #5C2D7C;
    border-radius: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    box-shadow: 0 4px 12px rgba(92, 45, 124, 0.4);
}

/* قائمة الأهداف */
.objectives-list {
    position: absolute;
    width: 100%;
    height: 100%;

}

.objective {
    position: absolute;
    display: flex;
    align-items: flex-start;
    max-width: 320px;
    flex-direction: row;
}



.objective-number {
    background: transparent;
    color: #fff;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    font-weight: 800;
    margin-left: 0;
    flex-shrink: 0;
    position: absolute;
    z-index: 10;
    text-shadow: 0 0 15px rgba(92, 45, 124, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.objective-text {
    color: #3E0048;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: right;
    font-weight: 500;
    margin-top: 5px;
    margin-right: 10px;
    max-width: 300px;
    padding: 8px;
}

/* مواضع الأهداف - محدثة لتناسب الصورة الأصلية بدقة */
.objective-1 {
    top: 45%;
    right: 2%;
}

.objective-1 .objective-number {
    top: 35%;
    right: 20%;
    transform: translate(30%, -50%);
}

.objective-2 {
    bottom: 20%;
    right: 2%;
}

.objective-2 .objective-number {
    bottom: 35%;
    right: 20%;
    transform: translate(30%, 50%);
}

.objective-3 {
    top: 40%;
    left: 2%;
}

.objective-3 .objective-number {
    top: 35%;
    left: 20%;
    transform: translate(-30%, -50%);
}

.objective-4 {
    bottom: 10%;
    left: 2%;
}

.objective-4 .objective-number {
    bottom: 35%;
    left: 20%;
    transform: translate(-30%, 50%);
}

/* ديكور سفلي */
.objectives-decoration {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    z-index: 1;
    pointer-events: none;
    background-image: var(--decoration-bg);
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: auto 100%;
}

.objectives-decoration .decoration-img {
    display: none;
}

/* صور الديكور للأهداف */
.objective-decoration {
    position: absolute;
    z-index: 2;
}

.decoration-large {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
}

.decoration-small {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain !important;
}

.decoration-1 {
    top: 20%;
    left: 15%;
}

.decoration-2 {
    bottom: 25%;
    right: 20%;
}

/* استجابة قسم الأهداف */
@media (max-width: 991.98px) {
    .objectives-section {
        padding: 60px 0;
    }

    .target-graphic {
        width: 280px;
        height: 280px;
    }

    .ring-1 {
        width: 280px;
        height: 280px;
    }

    .ring-2 {
        width: 220px;
        height: 220px;
    }

    .ring-3 {
        width: 160px;
        height: 160px;
    }

    .ring-4 {
        width: 100px;
        height: 100px;
    }

    .objective {
        max-width: 250px;
    }

    .objective-number {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }

    .objective-text {
        font-size: 0.9rem;
    }

    .decoration-large {
        width: 60px !important;
        height: 60px !important;
    }

    .decoration-small {
        width: 40px !important;
        height: 40px !important;
    }
}

@media (max-width: 575.98px) {
    .objectives-section {
        padding: 40px 0;
    }

    .target-graphic {
        width: 220px;
        height: 220px;
    }

    .ring-1 {
        width: 220px;
        height: 220px;
    }

    .ring-2 {
        width: 180px;
        height: 180px;
    }

    .ring-3 {
        width: 140px;
        height: 140px;
    }

    .ring-4 {
        width: 100px;
        height: 100px;
    }

    .objective {
        max-width: 200px;
    }

    .objective-text {
        font-size: 0.8rem;
    }

    .objective-number {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .decoration-large {
        width: 50px !important;
        height: 50px !important;
    }

    .decoration-small {
        width: 35px !important;
        height: 35px !important;
    }
}

/* قسم الرؤية والرسالة والأهداف الاستراتيجية */
.vision-mission-strategic-section {
    background: #fff;
    padding: 80px 0;
    position: relative;
}

/* الرؤية والرسالة */
.vision-mission-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 30px;
}

.vision-box {
    background: #5C2D7C;
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    flex: 1;
    margin-left: 20px;
    box-shadow: 0 8px 25px rgba(92, 45, 124, 0.2);
}

.mission-box {
    background: #5C2D7C;
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    flex: 2;
    box-shadow: 0 8px 25px rgba(92, 45, 124, 0.2);
}

.vision-box h3,
.mission-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.vision-box p,
.mission-box p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    color: #fff;
}

/* الأهداف الاستراتيجية */
.strategic-objectives-header {
    text-align: center;
    margin-bottom: 50px;
}

.strategic-objectives-header h2 {
    background: #5C2D7C;
    color: #fff;
    padding: 15px 40px;
    border-radius: 25px;
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.strategic-objectives-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.strategic-objective {
    background: #fff;
    border: 2px solid #5C2D7C;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(92, 45, 124, 0.1);
    transition: transform 0.3s ease;
}

.strategic-objective:hover {
    transform: translateY(-5px);
}

.strategic-objective .objective-number {
    background: #5C2D7C;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 8px rgba(92, 45, 124, 0.3);
}

.strategic-objective .objective-image {
    margin: 20px 0 15px 0;
}

.strategic-objective .objective-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.strategic-objective .objective-text {
    color: #3E0048;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    font-weight: 500;
}

/* الأهداف التمكينية */
.enabling-objectives-section {
    position: relative;
    padding: 40px 20px;
}

.telescope-graphic {
    text-align: center;
    margin-bottom: 40px;
}

.telescope-image {
    width: 200px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.enabling-objectives-container {
    position: relative;
}

.enabling-objective {
    position: absolute;
    max-width: 250px;
}

.enabling-objective .objective-number {
    background: #5C2D7C;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    box-shadow: 0 3px 6px rgba(92, 45, 124, 0.3);
}

.enabling-objective .objective-text {
    color: #3E0048;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: right;
    font-weight: 500;
}

/* مواضع الأهداف التمكينية */
.enabling-obj-1 {
    top: 20px;
    right: 20px;
}

.enabling-obj-2 {
    bottom: 120px;
    right: 20px;
}

.enabling-obj-3 {
    top: 20px;
    left: 20px;
}

.enabling-obj-4 {
    bottom: 120px;
    left: 20px;
}

/* القيم */
.values-section {
    padding: 40px 20px;
}

.values-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.value-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateX(-5px);
}

.value-icon {
    margin-left: 15px;
    flex-shrink: 0;
}

.value-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.value-text {
    color: #3E0048;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: right;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 991.98px) {
    .vision-mission-container {
        flex-direction: column;
        gap: 20px;
    }

    .vision-box,
    .mission-box {
        margin: 0;
    }

    .strategic-objectives-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .enabling-objectives-section {
        margin-bottom: 40px;
    }

    .telescope-image {
        width: 150px;
    }

    .enabling-objective {
        position: relative;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .enabling-obj-1,
    .enabling-obj-2,
    .enabling-obj-3,
    .enabling-obj-4 {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }

    .values-container {
        gap: 20px;
    }

    .value-item {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .vision-mission-strategic-section {
        padding: 60px 0;
    }

    .vision-box,
    .mission-box {
        padding: 20px;
    }

    .vision-box h3,
    .mission-box h3 {
        font-size: 1.3rem;
    }

    .vision-box p,
    .mission-box p {
        font-size: 0.9rem;
    }

    .strategic-objectives-header h2 {
        font-size: 1.5rem;
        padding: 12px 30px;
    }

    .strategic-objective {
        padding: 20px;
    }

    .strategic-objective .objective-image img {
        width: 60px;
        height: 60px;
    }

    .strategic-objective .objective-text {
        font-size: 0.9rem;
    }

    .telescope-image {
        width: 120px;
    }

    .enabling-objective .objective-text {
        font-size: 0.8rem;
    }

    .value-text {
        font-size: 1.1rem;
    }

    .value-icon img {
        width: 40px;
        height: 40px;
    }
}


/* test objective */

.objectives-content1 {
    position: relative;
    min-height: 560px;
    /* مساحة عمل للطبقات */
    display: grid;
    place-items: center;
    padding: 40px 0;
    overflow: hidden;
    /* يمنع نزيف الظلال */
}


.target-illus {
    position: absolute;
    inset: 0 auto auto 50%;
    /* نقطة ارتكاز تقريبية من المنتصف */
    transform: translateX(-35%) rotate(5deg);
    width: clamp(260px, 38vw, 520px);
    /* استجابة مرنة */
    z-index: 3;
    /* بين الشرائط والنصوص حسب الحاجة */
    pointer-events: none;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .2));
    right: 20%;
    top: 8%;
}

/* الشرائط الخلفية للأرقام (خلف الهدف قليلاً) */
.objective-strip {
    position: absolute;
    height: var(--strip-h);
    display: flex;
    align-items: center;
    inset-inline: 0;
    /* يمين/يسار حسب RTL */
    height: 190px;
    background: rgba(92, 45, 124, .12);
    /* بنفسجي شفاف */
    border-radius: 8px;
    z-index: 2;
    /* خلف الهدف لو تبغى الهدف فوقها */
    backdrop-filter: blur(1px);
    background: linear-gradient(to right,
            /* اتجاه التدرج (يمين → يسار) */
            rgb(92, 45, 124, 0.5) 10%,
            /* بنفسجي خفيف مع شفافية عند البداية */
            rgba(92, 45, 124, 0.015)80%,
            /* بنفسجي أوضح في المنتصف */
            rgba(92, 45, 124, 0) 100%
            /* بنفسجي أغمق عند النهاية */
        );
    padding: clamp(12px, 1.8vw, 24px);
    direction: rtl;
    isolation: isolate;
    z-index: 2;
}

.strip-1 {
    top: 45%;
    max-width: 40%;
    right: 10%;
}

.strip-2 {
    top: 45%;
    right: 45%;
    backdrop-filter: blur(1px);
    background: linear-gradient(to left,
            /* اتجاه التدرج (يمين → يسار) */
            rgb(92, 45, 124, 0.5) 10%,
            /* بنفسجي خفيف مع شفافية عند البداية */
            rgba(92, 45, 124, 0.015)80%,
            /* بنفسجي أوضح في المنتصف */
            rgba(92, 45, 124, 0) 100%
            /* بنفسجي أغمق عند النهاية */
        );
    max-width: 40%;
}

.num-right::before {
    right: 24px;
}

.num-left::before {
    left: 24px;
}

.strip-3 {
    top: 88%;
    max-width: 30%;
    right: 8%;
}

.strip-4 {
    top: 92%;
    backdrop-filter: blur(1px);
    background: linear-gradient(to left,
            /* اتجاه التدرج (يمين → يسار) */
            rgb(92, 45, 124, 0.5) 10%,
            /* بنفسجي خفيف مع شفافية عند البداية */
            rgba(92, 45, 124, 0.015)80%,
            /* بنفسجي أوضح في المنتصف */
            rgba(92, 45, 124, 0) 100%
            /* بنفسجي أغمق عند النهاية */
        );
    padding: 20px;
    right: 38%;
    max-width: 40%
}

.objective-strip .txt {
    position: relative;
    z-index: 2;
    color: #3E0048;
    font-weight: 700;
    line-height: 1.9;
    font-size: clamp(30px, 1.6vw, 22px);
    max-width: 60%;
}


.objectives-list1 {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 24px;
    width: min(1100px, 92%);
    z-index: 4;
    /* فوق الهدف والشرائط */
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* عمودان */
    gap: 28px 40px;
}


.objective1 {
    position: relative;
    color: #3E0048;
    line-height: 1.8;
    font-weight: 600;
    padding-inline-start: 78px;
}

.objective1::before {
    content: counter(obj);
    /* سنضبط العداد بالأسفل */
    counter-increment: obj;
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    background: radial-gradient(circle at 35% 35%, #5C2D7C 0 60%, #1F4E4E 100%);
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
}

/* توزيعة العناصر لتقليد الصورة (1 و2 يمين، 3 و4 يسار) */
.item-1 {
    grid-column: 2;
    align-self: start;
}

.item-2 {
    grid-column: 2;
    align-self: end;
}

.item-3 {
    grid-column: 1;
    align-self: start;
}

.item-4 {
    grid-column: 1;
    align-self: end;
}

.objectives-list {
    counter-reset: obj;
}

@media (max-width: 992px) {
    .target-illus {
        transform: translateX(-50%) rotate(5deg);
        width: clamp(220px, 46vw, 420px);
        z-index: 2;
        /* خلّي النص فوق الصورة لو تزاحم */
    }

    .objectives-list1 {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .objective1 {
        padding-inline-start: 68px;
    }

    .objective-strip {
        opacity: .8;
        height: 70px;
    }

    .strip-1 {
        top: 40%;
    }

    .strip-2 {
        top: 60%;
    }

    .strip-3 {
        top: 80%;
    }

    .strip-4 {
        bottom: 7%;
    }
}

.page-section.objectives-section {
    /* تحكم سريع */
    --top-space: clamp(-15px, -15vw, -145px)
        /* كان 80-100px */
        --bottom-space: clamp(48px, 5vw, 72px);
    --section-min: clamp(520px, 60vh, 720px);
    /* بدل 100vh */

    padding-top: var(--top-space);
    /*padding-bottom: var(--bottom-space);*/
    /*min-height: var(--section-min);*/
}



/* ===== سكشن التعريف ===== */
.about-sfc {
    /* متغيّرات سريعة للضبط */
    --flag-w: clamp(240px, 39vw, 800px);
    --flag-right: clamp(24px, 10vw, 33%);
    --flag-bottom: clamp(12px, 6vh, 48px);

    --bg-size: clamp(520px, 70vw, 1200px) auto;
    /* حجم خلفية الخطوط */
    --bg-pos: 66% center;
    /* موضع الخلفية */
    --bg-opacity: .8;
    /* شفافية الخلفية */
}

/* الخلفية على كامل السكشن */
.about-sfc::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--lines-url);
    background-repeat: no-repeat;
    background-size: var(--bg-size);
    background-position: var(--bg-pos);
    opacity: var(--bg-opacity);
    z-index: 0;
    /* تحت كل شيء */
    pointer-events: none;
}

/* شبكة المحتوى */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* مساحة للنص مقابل العلم */
    gap: clamp(24px, 4vw, 48px);
    position: relative;
    z-index: 1;
    /* فوق الخلفية */
    right: 30%;
}

/* نص */
.text-content {
    max-width: 90ch;
    margin-inline-start: auto;
    /* يجي يمين في RTL */
}

.about-paragraph {
    line-height: -1;
    color: #265b60;
}

.about-sfc .text-content p {
    line-height: 1.5;
}

/* العلم فوق الخلفية والكونتينر */
.about-flag {
    position: absolute;
    bottom: var(--flag-bottom);
    inset-inline-end: var(--flag-right);
    /* يمين في RTL */
    width: var(--flag-w);
    height: auto;
    z-index: 2;
    /* أعلى من الخلفية والنص */
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .18));
}

/* استجابة: على الشاشات الصغيرة نخلي الشبكة عمود واحد، ونحرك الخلفية والعلم */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-sfc {
        --bg-size: clamp(420px, 90vw, 880px) auto;
        --bg-pos: center 18%;
        --flag-w: clamp(220px, 44vw, 360px);
        --flag-right: 50%;
        --flag-bottom: 6%;
    }

    .about-flag {
        transform: translateX(50%);
    }

    /* يوسّط العلم أفقيًا */
}


/* ===== ضبط عام للصف ===== */
:root {
    --vm-gap: clamp(24px, 4vw, 48px);
    /* المسافة بين البطاقتين */
    --vm-chip-bg: #3E6F74;
    /* لون شارة العنوان (أقرب للّقطة) */
    --vm-chip-fg: #fff;
    --vm-text: #254c51;
    /* لون نص الفقرة */
    --vm-divider: #7a7a7a22;
    /* لون الفاصل */
    --vm-card-pad: clamp(16px, 2vw, 20px);
    --vm-font-size: clamp(1.05rem, 1.35vw, 1.25rem);
    --vm-line: 1.7;
    /* تقارب الأسطر */
    --vm-maxw: 36em;
    /* عرض النص داخل البطاقة */
}

.page-section.vm-row {
    min-height: 100vh;
    /* كما طلبت: كل page-section بطول الشاشة */
    display: grid;
    align-items: center;
    background: #fff;
}

.vm-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 3fr;
    /* بطاقة يمين | فاصل | بطاقة يسار */
    align-items: start;
    gap: var(--vm-gap);
}

/* البطاقة */
.vm-card {
    background: transparent;
    padding: var(--vm-card-pad);
}

.vm-card .vm-text {
    margin: .75rem 0 0;
    color: var(--vm-text);
    font-size: var(--vm-font-size);
    line-height: var(--vm-line);
    max-width: var(--vm-maxw);
    text-align: justify;
    text-align-last: right;
    word-spacing: .3px;
}

/* شارة العنوان (مستطيل قصير مثل الصورة) */
.vm-chip {
    display: inline-block;
    background: var(--vm-chip-bg);
    color: var(--vm-chip-fg);
    padding: .4rem .9rem;
    font-weight: 700;
    letter-spacing: .4px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    padding-right: 20% !important;
}

/* الفاصل العمودي */
.vm-divider {
    width: 2px;
    background: linear-gradient(to bottom,
            transparent 0%,
            var(--vm-divider) 10%,
            var(--vm-divider) 90%,
            transparent 100%);
    min-height: clamp(200px, 38vh, 200px);
    align-self: center;
    border-radius: 2px;
}

/* ===== تجاوب ===== */
@media (max-width: 992px) {
    .vm-grid {
        grid-template-columns: 1fr;
        /* تكديس عمودي */
    }

    .vm-divider {
        display: none;
    }

    .vm-card {
        padding-inline: 0;
    }

    :root {
        --vm-maxw: 100%;
        --vm-line: 1.6;
        /* سطور أقرب قليلًا على الجوال */
    }
}


:root {
    --purple: #5C2D7C;
    --teal: #2f6b72;
    --so-gap: 18px;
    --so-h: clamp(120px, 13vw, 100px);
    --so-bg: #2f6b72;
    /* تركوازي غامق للنص */
    --so-num: #ffffff20;
    /* رقم مائي شفاف */
    --badge-bg: #5C2D7C;
    /* بنفسجي الشارة */
}

/* العنوان */
.strategic-header {
    text-align: right;
    margin-bottom: 5rem;
}

.strategic-badge {
    background: var(--purple);
    color: #fff;
    padding: 10px 30px;
    /*border-radius: 8px;*/
    font-weight: 700;
    font-size: 1.3rem;
    float: right;
}

/* stratigic grid */
.strategic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--so-gap);
    padding: var(--vm-card-pad);
}

/* الكرت: صورة يسار + نص يمين (RTL) */
.strategic-card {
    display: grid;
    grid-template-columns: minmax(70%, 70%) 1fr;
    /* صورة | نص */
    min-height: var(--so-h);
    border-radius: 8px;
    overflow: hidden;
    /*box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
    background: #eaeff1;*/
    padding: var(--vm-card-pad);
}

.fright {
    margin-right: 0%;
}

/* الصورة (يسار) */
.strategic-card>img {
    width: 175px;
    height: 120px;
    object-fit: cover;
    display: block;
}

/* مساحة النص (يمين) */
.card-body {
    position: relative;
    background: var(--so-bg);
    color: #fff;
    display: grid;
    align-items: center;
    padding: clamp(12px, 2.2vw, 22px);
}

/* النص يستوعب كامل المستطيل */
.card-body p {
    margin: 0;
    line-height: 1.9;
    font-size: clamp(.98rem, 1.15vw, 1.05rem);
    text-align: right;
}

/* الرقم المائي داخل جزء النص فقط */
.card-body::after {
    content: attr(data-num);
    position: absolute;
    inset-block-end: 8px;
    inset-inline-end: 12px;
    /* يمين في RTL */
    font-weight: 800;
    font-size: clamp(48px, 10vw, 110px);
    line-height: 1;
    color: var(--so-num);
    pointer-events: none;
}

/* تجاوب */
@media (max-width: 992px) {
    .strategic-grid {
        grid-template-columns: 1fr;
    }

    .fright {
        margin-right: 0px;
    }

    .fright {
        margin-right: 0px;
    }

    .strategic-card {
        grid-template-columns: 1fr 1fr;
    }

    .strategic-card>img {
        height: 180px;
    }

    .strategic-card>img {
        display: inline-block;
    }

    /* الصورة أعلى، النص تحت */
}


/* ===== Enabling Row (الأهداف التمكينية) ===== */
:root {
    --en-bg: #6A3B88;
    /* البنفسجي العام */
    --en-bg-700: #5c2d7c;
    /* أغمق قليلًا */
    --en-num: #2c0f4a1f;
    /* الرقم المائي */
    --en-text: #fff;
    --en-h: clamp(80px, 10vw, 108px);
    /* ارتفاع كل شريط */
}

.enabling-row {
    display: grid;
    grid-template-columns: minmax(180px, 260px) 1fr;
    /* عنوان | شرائط */
    gap: 0;
    align-items: stretch;
    margin-block: clamp(16px, 2vw, 28px);
}

/* كتلة العنوان يمين */
.en-title {
    display: grid;
    justify-items: stretch;
}

.en-title-inner {
    background: var(--en-bg-700);
    color: var(--en-text);
    height: 100%;
    display: grid;
    place-items: center;
    padding: clamp(12px, 2vw, 18px);
    text-align: center;
}

.en-title h3 {
    margin: 0;
    line-height: 1.15;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 800;
}

/* منطقة الشرائط */
.en-strips {
    display: flex;
    flex-direction: row;
    /* صف أفقي */
    /*gap: clamp(10px, 2vw, 20px);*/
    align-items: stretch;
}

/* الشريط */
.en-strip {
    flex: 1;
    /* يخلي كل شريط ياخذ عرض متساوي */
    min-height: var(--en-h);
    position: relative;
    background: var(--en-bg);
    color: var(--en-text);
    display: flex;
    align-items: center;
    padding: 0 clamp(16px, 2.2vw, 24px);
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

/* الرقم المائي */

.en-strip::before {
    content: attr(data-num);
    font-weight: 900;
    font-size: clamp(32px, 6vw, 60px);
    color: var(--en-num);
    flex-shrink: 0;
    /* يمنع الرقم من الانضغاط */
    line-height: 1;
}

/* النص */
.en-strip p {
    margin: 0;
    font-size: clamp(.95rem, 1.2vw, 1.05rem);
    line-height: 1.8;
    text-align: right;
}

/* تجاوب */
@media (max-width: 992px) {
    .enabling-row {
        grid-template-columns: 1fr;
        /* تكديس العنوان فوق الشرائط */
        row-gap: 10px;
    }

    .en-title-inner {
        border-radius: 6px;
    }

    .en-strips {
        grid-template-rows: 1fr 1fr;
        /* ارتفاع تلقائي */
    }
}

/* Style القيم */
:root {
    --values-gap: 10px;
    --values-h: 86px;
    --values-bg: #713a85;
    /* بنفسجي مطابق */
    --values-ico: #00000022;
    /* درجة باهتة للأيقونة */
}

.values-header {
    text-align: right;
    margin-bottom: 1rem;
}

.values-badge {
    background: #5C2D7C;
    color: #fff;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
}

.values-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.value-tile {
    background: #713a85;
    color: #fff;
    display: flex;
    flex-direction: row-reverse;
    /* ← الأيقونة يمين والنص يسار */
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
    min-height: 100px;
}

.value-ico {
    font-size: 28px;
    color: #512d69;
    /* لون أيقونة غامق */
    margin-left: 10px;
    /* مسافة بين الأيقونة والنص */
}

.value-label {
    /*font-weight: 600;*/
    font-size: 1.4rem;
}

/* موبايل: عمودين */
@media (max-width: 992px) {
    .values-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* شاشة صغيرة جداً: عمود واحد */
@media (max-width: 480px) {
    .values-row {
        grid-template-columns: 1fr;
    }
}

/**/
/* الغلاف والسماحية حوله */
/* ===== غلاف التلسكوب والديكورات ===== */
.en-wrap {
    position: relative;
    isolation: isolate;
    /* يمنع تداخل z-index من خارج الغلاف */
    overflow: visible;
    margin-block: 24px;
}

/* العنوان + الشرائط في صفّين (عنوان | شرائط) */
.enabling-row {
    position: relative;
    z-index: 2;
    /* فوق التلسكوب */
    display: grid !important;
    grid-template-columns: 240px 1fr;
    align-items: stretch;
    gap: 0;
    min-height: 120px;
}

/* عنوان يمين */
.en-title {
    display: grid;
}

.en-title-inner {
    background: #5C2D7C;
    color: #fff;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 14px;
    text-align: center;
}

.en-title h3 {
    margin: 0;
    line-height: 1.15;
    font-weight: 800;
}

/* الشرائط جنب بعض */
.en-strips {
    display: flex !important;
    /* يتغلب على أي grid سابق */
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
    padding-inline-start: 12px;
}

/* شريط الهدف: الرقم قبل النص */
.en-strip {
    display: flex;
    flex-direction: row-reverse;
    /* الرقم يمين */
    align-items: center;
    gap: 12px;
    background: #6A3B88;
    color: #fff;
    padding: 0 18px;
    min-height: 108px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.en-strip::before {
    content: attr(data-num);
    font-weight: 900;
    font-size: clamp(32px, 6vw, 60px);
    color: #2c0f4a30;
    /* مائي */
    line-height: 1;
    flex: 0 0 auto;
}

.en-strip p {
    margin: 0;
    line-height: 1.8;
    text-align: right;
}

/* التلسكوب تحت الشرائط */
.en-telescope {
    position: absolute !important;
    left: -279px;
    /* عدّلها حسب ذوقك */
    bottom: -284px;
    /* ينزل قليل تحت الشريط */
    width: clamp(180px, 26vw, 320px);
    height: auto;
    z-index: 3;
    /* تحت الشرائط */
    pointer-events: none;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .18));
}

/* ديكورات فوق الشرائط */
.en-dec {
    position: absolute !important;
    z-index: 6;
    /* فوق الشرائط */
    pointer-events: none;
    opacity: .95;
}

.en-dec-top {
    left: -238px;
    /* موضع الديكور العلوي */
    top: 69px;
    width: clamp(52px, 6vw, 84px);
}

.en-dec-bottom {
    left: -232px;
    /* موضع الديكور السفلي */
    bottom: -232px;
    width: clamp(64px, 8vw, 110px);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .15));
}

/* ===== موبايل: نخفي التلسكوب والديكورات ونبسط التخطيط ===== */
@media (max-width: 991.98px) {

    .en-telescope,
    .en-dec {
        display: none !important;
    }

    .enabling-row {
        grid-template-columns: 1fr;
    }

    .en-strips {
        flex-direction: column;
        padding-inline-start: 0;
    }

    .en-strip {
        min-height: 84px;
    }
}


/* ===== Vision–Mission–Goals (bg_mission) ===== */
:root {
    --vmg-maxw: 1220px;
    --vmg-ink: #ffffff;
    /* لون النص */
}

.vmg-section {
    /*position: relative;
    background: url('/sfc/images/R/bg_mission.png') center/cover no-repeat;
    color: var(--vmg-ink);
    background-size: contain;
    padding: clamp(40px, 6vw, 80px) 0;
    overflow: hidden;
    isolation: isolate;*/

    position: relative;
    background:
        url('/sfc/images/R/bg_mission.png') no-repeat center top,
        /* صورة الخلفية */
        #1b5d69;
    /* اللون تحت */
    background-size: 70% auto, cover;
    /* الصورة حجمها 70% واللون يغطي الباقي */
    background-color: #1b5d69;
    /* fallback */
    color: #fff;
    padding: clamp(40px, 6vw, 80px) 0;

}

/* الحاوية الداخلية */
.vmg-container {
    width: min(100% - 32px, var(--vmg-maxw));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    /* صورة | نص (RTL) */
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

/* الصورة */
.vmg-visual {
    margin: 0;
    display: grid;
    place-items: center;
}

.vmg-visual img {
    width: clamp(300px, 48vw, 640px);
    height: auto;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .25));
    user-select: none;
    pointer-events: none;
}

/* النص */
.vmg-text {
    display: grid;
    gap: clamp(16px, 2.2vw, 22px);
}

.vmg-title {
    margin: 0 0 .35rem;
    font-weight: 800;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    color: #fff;
    text-align: center;
}

.vmg-p {
    margin: 0;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 2;
    text-align: right;
}

.vmg-list {
    margin: .25rem 0 0;
    padding: 0 1.2rem 0 0;
    list-style: none;
}

.vmg-list li {
    position: relative;
    line-height: 2;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.vmg-list li::before {
    content: "•";
    position: absolute;
    right: -1.2rem;
    top: 0;
    font-size: 1.3em;
    line-height: 1;
    opacity: .7;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .vmg-container {
        grid-template-columns: 1fr;
        /* صورة فوق، نص تحت */
        text-align: center;
    }

    .vmg-visual img {
        width: clamp(260px, 70vw, 520px);
    }

    .vmg-text {
        text-align: center;
    }

    .vmg-p,
    .vmg-list li {
        text-align: center;
    }

    .vmg-list {
        padding: 0;
    }

    .vmg-list li::before {
        display: none;
    }

    /* تبسيط النقاط في الموبايل */
}


/* قيمنا */
.values-section {
    background: #fff;
    padding: 100px 20px;
    /* بدل 60px خليه 100px */
    text-align: center;
}

/* شبكة القيم تبقى Grid عادي */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 5px;
    /* مهم: يسمح بالاختلاف الرأسي */
}

/* ظل خفيف */
.value-item {
    background: #1b5d69;
    color: #fff;
    min-height: 220px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* يخلي الأيقونة فوق والنص تحت */
    align-items: flex-start;
    /* النص بمحاذاة اليسار */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* الأيقونة في الزاوية اليمنى العليا */
.value-item i {
    font-size: 2.5rem;
    align-self: flex-start;
    /* يدفع الأيقونة للزاوية اليمين */
    margin-bottom: auto;
    /* يخلي النص ينزل تحت */
}

/* النص كبير وتحت يسار */
.value-label {
    font-size: 1.8rem;
    /* أكبر من الحالي */
    font-weight: 700;
    margin-top: auto;
    align-self: flex-end;
    /* النص يلتصق باليسار */
}

.values-desnew {
    /*max-width: 800px;*/
    margin: 0 auto 50px auto;
    font-size: 35px;
    color: #2f5c67;
    line-height: 1.8;
}

/* كسرة متدرجة: عدّل الأرقام/القيم كما تحب */
.value-item:nth-child(2) {
    transform: translateY(12px);
}

/* الوصول ينزل شوي */
.value-item:nth-child(4) {
    transform: translateY(18px);
}

/* التأثير ينزل أكثر */
.value-item:nth-child(5) {
    transform: translateY(0);
}

/* الإحسان يبقى بمستوى أعلى */

/* لو ودك “الإحسان” أعلى شوي */
.value-item:nth-child(5) {
    transform: translateY(-4px);
}

/* على الجوال نلغي الكسرة عشان الترتيب ما يتلخبط */
@media (max-width: 992px) {
    .value-item {
        transform: none !important;
    }
}


/* ===== Strategic Cards Section ===== */
.sc-section {
    background: #fff;
    padding: clamp(48px, 6vw, 88px) 0;
}

.sc-title {
    text-align: center;
    color: #3E0048;
    /* غامق/موف للعُنوان */
    font-weight: 800;
    font-size: clamp(1.6rem, 2.6vw, 3rem);
    margin: 0 0 clamp(20px, 3vw, 36px);
}

.sc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    /* بلا فواصل خارجية */
    border: 1px solid #e9e0ef;
    /* إطار خفيف يطابق الفواصل */
}

/* البطاقة */
.sc-card {
    position: relative;
    min-height: clamp(320px, 35vw, 520px);
    /* ارتفاع مثل الصورة */
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* فواصل عمودية بين الأعمدة */
.sc-card+.sc-card {
    border-inline-start: 1px solid rgba(255, 255, 255, .65);
    box-shadow: inset 1px 0 0 rgba(62, 0, 72, .2);
    /* خط خفيف داكن للعمق */
}

/* طبقة بنفسجية نصف شفافة */
.sc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(92, 45, 124, .55) 0%,
            rgba(92, 45, 124, .60) 55%,
            rgba(92, 45, 124, .65) 100%);
    mix-blend-mode: multiply;
    /* يعطي إحساس دمج مثل التصميم */
}

/* المحتوى (النص) */
.sc-content {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(12px, 3vw, 28px);
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: clamp(1.15rem, 1.9vw, 2.2rem);
    line-height: 1.8;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .25);
    /* وضوح النص فوق الصورة */
}

/* تجاوب */
@media (max-width: 1200px) {
    .sc-card {
        min-height: clamp(280px, 42vw, 440px);
    }
}

@media (max-width: 992px) {
    .sc-grid {
        grid-template-columns: repeat(2, 1fr);
        /* ٢×٢ */
    }

    .sc-card:nth-child(odd) {
        border-inline-start: none;
    }

    .sc-card {
        border-block-start: 1px solid rgba(255, 255, 255, .65);
    }

    .sc-card:nth-child(1),
    .sc-card:nth-child(2) {
        border-block-start: none;
    }
}

@media (max-width: 575.98px) {
    .sc-grid {
        grid-template-columns: 1fr;
    }

    /* عمود واحد */
    .sc-card {
        min-height: 320px;
    }

    .sc-card {
        border-block-start: 1px solid rgba(255, 255, 255, .65);
    }

    .sc-card:first-child {
        border-block-start: none;
    }
}

/* Section Background */
.core-issues {
    background: #2f5c67;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.core-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #fff;
}

.core-desc {
    font-size: 2.2rem;
    margin: 0 auto 50px;
    max-width: 800px;
    line-height: 1.8;
}

/* Grid */
.core-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    /* الصف العلوي */
    grid-auto-rows: minmax(120px, auto);
    gap: clamp(22px, 3vw, 40px) clamp(40px, 6vw, 80px);
    justify-items: center;
    align-items: start;
}

/* Item */
.core-item {
    position: relative;
    width: 100%;
    max-width: 420px;
    display: grid;
    justify-items: center;
    align-items: start;
    padding: 16px 8px 48px;
}

/* Icon (جديد) */
.core-icon {
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    /* تحت النص */
    font-size: clamp(72px, 8vw, 120px);
    /* كبيرة */
    color: #28515c;
    /* اللون المطلوب */
    /*opacity: .28;*/
    /* شفافية للنقش */
    line-height: 1;
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
    display: block;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
}

/* Label */
.core-label {
    position: relative;
    z-index: 2;
    /* فوق الأيقونة */
    font-size: clamp(1.4rem, 2.4vw, 2.6rem);
    font-weight: 800;
}

/* Stagger effect */
.core-item:nth-child(2),
.core-item:nth-child(4) {
    transform: translateY(30px);
}

/* Responsive */
@media (max-width: 991px) {
    .core-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .core-item {
        transform: none;
    }
}

@media (max-width: 575px) {
    .core-grid {
        grid-template-columns: 1fr;
    }
}



/* مشسف */
:root {
    --exec2-title: #1b5d69;
    --exec2-accent: #5C2D7C;
    --exec2-cardbg: #f7f7f7;
    --exec2-gap: 18px;
    /* مسافة ثابتة بين الصورة والنص */
    --exec2-card-w: 980px;
    /* عرض البطاقة الأقصى (أصغر من الحاوية) */
}

.exec2-section {
    position: relative;
    background: #fff;
    padding: clamp(40px, 6vw, 80px) 0 96px;
    overflow: hidden;
}

.exec2-section .container {
    width: min(100% - 32px, 1200px);
    margin-inline: auto;
}

.exec2-title {
    color: var(--exec2-title);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    text-align: center;
    margin: 0 0 clamp(16px, 3vw, 28px);
}

/* ===== القائمة تضبط محاذاة كل بطاقة (يمين/يسار) ===== */
.exec2-list {
    display: grid;
    row-gap: clamp(14px, 2.2vw, 24px);
}

.exec2-card {
    justify-self: end;
    /* البطاقة الأولى يمين */
}

.exec2-card.alt {
    justify-self: start;
    /* البطاقة الثانية يسار */
}

/* ===== البطاقة ===== */
.exec2-card {
    width: min(100%, var(--exec2-card-w));
    /* أصغر من الحاوية */
    background: var(--exec2-cardbg);
    border-radius: clamp(18px, 3vw, 34px);
    padding: clamp(18px, 2.6vw, 38px);
    position: relative;

    display: grid;
    grid-template-columns: 1fr minmax(190px, 240px);
    /* نص | صورة (يمين) */
    align-items: center;
    column-gap: var(--exec2-gap);

    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.02)
}

/* مرآة للبطاقات البديلة: الصورة يسار والنص يمين */
.exec2-card.alt {
    direction: ltr;
    /* نعكس ترتيب الأعمدة داخل البطاقة فقط */
}

.exec2-card.alt .exec2-content {
    direction: rtl;
    text-align: right;
}

/* نرجّع RTL للنص */

/* النص */
.exec2-content {
    text-align: right;
    display: grid;
    align-content: center;
    row-gap: 6px;
}

.exec2-heading {
    color: var(--exec2-accent);
    margin: 0;
    line-height: 1.25;
    font-weight: 800;
    font-size: clamp(1.1rem, 2.1vw, 1.9rem);
}

.exec2-sub {
    color: var(--exec2-accent);
    opacity: .9;
    margin: 0;
    line-height: 1.9;
    font-size: clamp(.95rem, 1.05vw, 1.05rem);
}

/* الصورة */
.exec2-visual {
    display: grid;
    place-items: center;
}

.exec2-visual img {
    width: clamp(140px, 18vw, 210px);
    height: auto;
    display: block;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .15));
    user-select: none;
    pointer-events: none;
}

/* ديكور داخل البطاقة */
.exec2-dec-in {
    position: absolute;
    inset-inline-start: clamp(12px, 2vw, 20px);
    inset-block-start: clamp(10px, 2vw, 18px);
    width: clamp(44px, 4.6vw, 60px);
    height: clamp(44px, 4.6vw, 60px);
    background: #2f5c67;
    opacity: .12;
    border-radius: 10px;
    z-index: 0;
}

/* الشريط السفلي */
.exec2-strip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background-image: url('/sfc/images/R/tileD.png');
    /* ← مسار ثابت بدون asset() */
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: auto 100%;
    opacity: .98;
    z-index: 2;
    /* يعلو أي عناصر لاحقة */
    pointer-events: none;
}

/* تجاوب */
@media (max-width: 992px) {

    .exec2-card,
    .exec2-card.alt {
        justify-self: center;
        /* في التابلت/الموبايل كل البطاقات وسط */
        width: min(100%, 760px);
        grid-template-columns: 1fr;
        text-align: center;
    }

    .exec2-content {
        text-align: center;
    }

    .exec2-card.alt {
        direction: rtl;
    }

    /* نلغي المرآة على الشاشات الصغيرة */
}