/* ========================================= */
/* إعدادات المتغيرات والألوان    */
/* ========================================= */
:root {
    --primary-color: #1b8354;
    --primary-dark: #14573a;
    --footer-bg: #074D31;
    --text-dark: #161616;
    --text-gray: #1F2A37;
    --light-gray: #f3f4f6;
    --border-color: #D2D6DB;
    --white: #ffffff;
    --font-main: 'IBM Plex Sans Arabic', sans-serif;

}


/* ========================================= */
/* إعدادات أساسية              */
/* ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: #f9f9f9;
    color: var(--text-dark);
    line-height: 1.5;
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    font-family: var(--font-main);
}

.main-container {
    max-width: 1440px;
    margin: 0 auto;
    background-color: var(--white);
    box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.05);
    overflow: visible;
    position: relative;
}

/* ========================================= */
/* تنسيقات الشريط العلوي (Top Bar)           */
/* ========================================= */
.top-bar {
    background-color: var(--light-gray);
    height: 40px;
    border-bottom: 1px solid var(--border-color);
    padding: 0 32px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    flex-wrap: nowrap;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    color: var(--text-gray);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.icon-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* ========================================= */
/* تنسيقات الهيدر الرئيسي (Main Header)      */
/* ========================================= */
.main-header {
    background-color: var(--white);
    padding: 0 32px;
    height: 80px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
}

.logo-area img {
    max-height: 60px;
    width: auto;
}

.main-nav {
    height: 80px;
    display: flex;
    align-items: center;
}

.menu-items {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 8px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.nav-link {
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-dark);
}

.nav-item:hover {
    border-bottom-color: var(--primary-color);
    background-color: #fcfcfc;
}

.arrow-down {
    font-size: 10px;
    color: #888;
}

/* القوائم المنسدلة (Mega Menu) */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 2px solid var(--primary-color);
    padding: 24px;
    z-index: 1000;
    width: 250px;
    border-radius: 0 0 8px 8px;
    flex-direction: column;
    gap: 16px;
    text-align: right;
}

.mega-menu.three-columns {
    width: 600px;
    flex-direction: row;
    justify-content: space-between;
}

.nav-item:hover .mega-menu {
    display: flex;
}

.menu-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.mega-menu.three-columns .menu-column:not(:last-child) {
    border-left: 1px solid #eee;
    padding-left: 20px;
}

.column-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.menu-link {
    font-size: 14px;
    color: #333;
    padding: 4px 0;
}

.menu-link:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}


.header-left-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    border-radius: 4px;
    font-size: 14px;
}

.btn-secondary:hover {
    background-color: var(--light-gray);
}

/* --- تنسيق شريط البحث  --- */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 90;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-top: 1px solid #eee;
}

.search-overlay.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 16px;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.search-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #888;
}

/* ========================================= */
/* تنسيقات القسم الرئيسي (Banner Section)      */
/* ========================================= */
.banner-dynamic-section {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
    color: #ffffff;
}

.dynamic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: background-image 1s ease-in-out;
}

.dynamic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, #1b583e 0%, rgba(27, 88, 62, 0.85) 50%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 2;
}

.banner-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 650px;
    text-align: right;
}

#banner-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 40px;
}

#banner-desc {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
}

.animate-text {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;

}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #ffffff;
    color: #14573a;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.banner-btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.slider-dots {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: #fff;
    width: 30px;
    border-radius: 10px;
}

/* ========================================= */
/* تنسيقات قسم الإحصائيات بالصفحة الرئيسية (Stats Section)    */
/* ========================================= */
.stats-section {
    padding: 60px 80px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 30px;
    color: var(--text-dark);
}

.btn-outline {
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 4px;
    color: var(--text-dark);
    font-size: 14px;
}

.btn-outline:hover {
    background-color: #104631;
    color: #fff;
}

.section-desc {
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
}

.cards-grid1 {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-card1 {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px;
    width: 224px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.icon-circle1 img {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #067647;

}

.stat-number1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: 'Roboto', sans-serif;
}

.stat-label1 {
    font-size: 18px;
    color: var(--text-gray);
}

/* ========================================= */
/* تنسيقات قسم الأمين بالصفحة الرئيسية       */
/* ========================================= */
.amin-section {
    padding: 60px 80px;
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.amin-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.amin-image-wrapper {
    flex: 0 0 326px;
}

.amin-img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.amin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.amin-content h2 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.amin-name {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.4;
}

.text-block p {
    margin-bottom: 16px;
    text-align: justify;
    color: #333;
    line-height: 1.8;
}

.amin-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.btn-primary-dark {
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 4px;
    color: var(--text-dark);
    font-size: 14px;
    background-color: #fcfcfc;

}

.btn-primary-dark:hover {
    background-color: #104631;
    color: #fff;
}

/* ========================================= */
/* تنسيقات قسم الأخبار بالصفحة الرئيسية        */
/* ========================================= */
.interactive-map-section.map-section {
    position: relative;
    height: 80vh;
    min-height: 720px;
    padding: 0;
    background:
        linear-gradient(135deg, #143f35 0%, #1b6b53 42%, #b58b47 100%);
}

.map-video-block {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(118deg, rgba(14, 55, 45, 0.58) 0%, rgba(20, 106, 80, 0.3) 42%, rgba(190, 143, 67, 0.2) 100%),
        linear-gradient(0deg, rgba(242, 213, 154, 0.2), rgba(242, 213, 154, 0.02));
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.map-video-block::before,
.map-video-block::after {
    content: "";
    position: absolute;
    inset: -8%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    filter: saturate(1) contrast(1.06);
    animation: hail-map-bg 20s infinite;
}

.map-video-block::before {
    background-image:
        linear-gradient(105deg, rgba(7, 21, 18, 0.34), rgba(11, 76, 57, 0.12), rgba(73, 53, 24, 0.24)),
        url("img/Banner/IMG_1769.JPG");
}

.map-video-block::after {
    background-image:
        linear-gradient(105deg, rgba(7, 21, 18, 0.42), rgba(27, 107, 76, 0.18), rgba(90, 68, 32, 0.32)),
        url("img/hail/ha.jpeg");
    animation-delay: 10s;
}

.hail-vector-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.72;
}

.vector-line,
.vector-route {
    fill: none;
    vector-effect: non-scaling-stroke;
}

.vector-line {
    stroke: rgba(238, 211, 155, 0.18);
    stroke-width: 1.2;
    stroke-dasharray: 8 12;
    animation: vector-drift 18s linear infinite;
}

.vector-line-b {
    animation-delay: -6s;
}

.vector-line-c {
    animation-delay: -11s;
}

.vector-route {
    stroke: rgba(242, 213, 154, 0.52);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 14 16;
    filter: drop-shadow(0 0 10px rgba(242, 213, 154, 0.18));
    animation: route-flow 9s linear infinite;
}

.vector-point {
    fill: #f2d59a;
    opacity: 0.85;
    filter: drop-shadow(0 0 8px rgba(242, 213, 154, 0.48));
}

.vector-point-b {
    animation-delay: 0.6s;
}

.vector-point-c {
    animation-delay: 1.2s;
}

@keyframes vector-drift {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -120;
    }
}

@keyframes route-flow {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -180;
    }
}

@keyframes hail-map-bg {
    0% {
        opacity: 0;
        transform: scale(1.06) translate3d(0, 0, 0);
    }

    12%,
    46% {
        opacity: 0.46;
    }

    50% {
        opacity: 0;
        transform: scale(1.14) translate3d(-18px, 10px, 0);
    }

    100% {
        opacity: 0;
        transform: scale(1.06) translate3d(0, 0, 0);
    }
}

.hrda-map-shell {
    position: relative;
    height: 100%;
    min-height: 720px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(12, 50, 40, 0.5) 0%, rgba(16, 78, 57, 0.24) 52%, rgba(167, 125, 58, 0.18) 100%),
        rgba(7, 21, 18, 0.08);
    font-family: 'Alexandria', var(--font-main);
    isolation: isolate;
}

.hrda-map-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(255, 220, 156, 0) 18%, rgba(255, 220, 156, 0.16) 36%, rgba(255, 220, 156, 0) 54%);
    transform: translateX(42%);
    animation: map-light-sweep 7s ease-in-out infinite;
    mix-blend-mode: screen;
}

@keyframes map-light-sweep {
    0%,
    28% {
        opacity: 0;
        transform: translateX(42%);
    }

    42% {
        opacity: 0.6;
    }

    70%,
    100% {
        opacity: 0;
        transform: translateX(-42%);
    }
}

.hrda-map-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 17, 14, 0.42) 0%, rgba(6, 40, 30, 0.22) 25%, rgba(6, 42, 31, 0.04) 52%, rgba(6, 24, 20, 0) 100%),
        linear-gradient(180deg, rgba(247, 226, 185, 0.05) 0%, rgba(255, 255, 255, 0) 25%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
    z-index: 0;
    pointer-events: none;
}

.hrda-map-stage,
.regions__container {
    position: relative;
    height: 100%;
    min-height: 720px;
}

.regions__container {
    overflow: hidden;
    z-index: 2;
}

.regions__bgs {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
}

.regions__bgs::before {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-end: 8%;
    width: min(62vw, 820px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(242, 213, 154, 0.24) 0%, rgba(27, 131, 84, 0.15) 34%, rgba(27, 131, 84, 0) 68%);
    transform: translateY(-50%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

.regions__bgs::after {
    content: "منطقة حائل";
    position: absolute;
    top: 96px;
    inset-inline-end: 86px;
    z-index: 0;
    color: rgba(255, 247, 230, 0.1);
    font-size: clamp(48px, 7vw, 110px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    pointer-events: none;
}

.regions__bgs::after {
    content: none;
}

.def-bg,
.region-layer {
    position: absolute;
    inset: 0;
}

.def-bg {
    z-index: 1;
    transition: opacity 0.45s ease;
}

.def-bg.is-hidden {
    opacity: 0;
}

.def-bg img,
.region-layer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transform: scale(1.035);
    transform-origin: center center;
    will-change: transform, opacity, filter;
    image-rendering: auto;
}

.region-layer {
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.75s ease-in-out, transform 0.9s ease, filter 0.9s ease;
    filter: none;
}

.region-layer.active {
    visibility: visible;
    opacity: 1 !important;
    filter: none;
}

.def-bg img {
    mix-blend-mode: normal;
    opacity: 1;
    filter:
        brightness(1.18)
        saturate(1.18)
        contrast(1.18)
        drop-shadow(0 22px 36px rgba(242, 213, 154, 0.22))
        drop-shadow(0 0 78px rgba(27, 131, 84, 0.34));
}

.region-layer img {
    mix-blend-mode: normal;
    opacity: 1;
    filter:
        brightness(1.2)
        saturate(1.24)
        contrast(1.22)
        drop-shadow(0 30px 48px rgba(242, 213, 154, 0.28))
        drop-shadow(0 0 88px rgba(27, 131, 84, 0.36));
}

.region-layer:not(.active) img {
    transform: scale(1.045);
}

.region-layer.active img {
    transform: scale(1.015);
}

.map-indicators {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.indicators {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    z-index: 6;
}

.indicators ul {
    position: relative;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.indicator-item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(242, 213, 154, 0.74);
    border-radius: 50%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
        rgba(12, 44, 35, 0.72);
    box-shadow:
        0 0 0 4px rgba(242, 213, 154, 0.08),
        0 12px 24px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    list-style: none;
    transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
    outline: none;
}

.indicator-item::after {
    content: "";
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(242, 213, 154, 0.2);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.indicator-item:hover,
.indicator-item:focus {
    border-color: #ffe6ad;
    background-color: rgba(242, 213, 154, 0.18);
    transform: translateY(-2px) scale(1.08);
    box-shadow:
        0 0 0 6px rgba(242, 213, 154, 0.12),
        0 0 28px rgba(242, 213, 154, 0.22),
        0 16px 30px rgba(0, 0, 0, 0.24);
}

.indicator-item:hover::after,
.indicator-item:focus::after,
.indicator-item.active::after {
    opacity: 1;
    transform: scale(1);
}

.indicator-item.baq { top: 35%; inset-inline-end: 38%; }
.indicator-item.hael { top: 27%; inset-inline-end: 25%; }
.indicator-item.shan { top: 53%; inset-inline-end: 36%; }
.indicator-item.mou { top: 44%; inset-inline-end: 22%; }
.indicator-item.som { top: 65%; inset-inline-end: 31%; }
.indicator-item.sul { top: 72%; inset-inline-end: 27.5%; }
.indicator-item.gah { top: 57.5%; inset-inline-end: 26%; }
.indicator-item.sham { top: 57%; inset-inline-end: 17%; }
.indicator-item.ha { top: 76%; inset-inline-end: 19%; }

@keyframes box-shadow-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.546); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.indicator-bg {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: #f8dfaa;
    animation: box-shadow-pulse 2s infinite;
    transition: background-color 0.25s ease, opacity 0.25s ease;
}

.indicator__label {
    display: flex;
    height: 40px;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #fff7e6;
    background: rgba(8, 31, 25, 0.48);
    backdrop-filter: blur(10px);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transform: translate(50%, -34px);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.58);
}

.indicator-item.baq .indicator__label,
.indicator-item.shan .indicator__label {
    transform: translate(12px, -35px);
}

.indicator-item.mou .indicator__label,
.indicator-item.sham .indicator__label,
.indicator-item.ha .indicator__label {
    transform: translate(13px, -35px);
}

.indicator-item.som .indicator__label,
.indicator-item.sul .indicator__label {
    transform: translate(16px, -35px);
}

.indicator-item.active .indicator-bg,
.indicator-item:hover .indicator-bg,
.indicator-item:focus .indicator-bg,
.indicator-item:focus-visible .indicator-bg {
    opacity: 0;
    background-color: transparent;
    animation: none;
}

.indicator-item.active {
    border-color: #ffe7b0;
    transform: scale(1.14);
    background:
        linear-gradient(180deg, rgba(255, 231, 176, 0.32), rgba(242, 213, 154, 0.1)),
        rgba(24, 91, 67, 0.82);
    box-shadow:
        0 0 0 7px rgba(242, 213, 154, 0.12),
        0 0 34px rgba(242, 213, 154, 0.32),
        0 16px 34px rgba(0, 0, 0, 0.26);
}

.indicator-item:focus-visible {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.region-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000;
    width: min(280px, calc(100vw - 32px));
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(18, 24, 22, 0.94);
    color: #fff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 8px, 0);
    transition: opacity 0.18s ease, transform 0.18s ease;
    text-align: right;
}

.region-tooltip.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.region-tooltip__name {
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.region-tooltip__population {
    margin-bottom: 8px;
    color: #f2d59a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.region-tooltip__description {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    line-height: 1.7;
}

.map-content-wrap {
    position: relative;
    height: 100%;
    padding: 0 28px;
    z-index: 7;
    pointer-events: none;
}

.map-c-w {
    position: relative;
    height: 100%;
    align-items: center;
}

.col-map {
    height: 100%;
    display: flex;
    align-items: center;
}

.content.map-content {
    position: absolute;
    top: 50%;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    width: min(100%, 470px);
    min-height: 430px;
    padding: 40px 36px 32px;
    border: 1px solid rgba(242, 213, 154, 0.18);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.065) 100%),
        linear-gradient(135deg, rgba(8, 31, 25, 0.92) 0%, rgba(15, 51, 39, 0.78) 60%, rgba(61, 55, 37, 0.68) 100%);
    box-shadow:
        0 26px 62px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(-50%) translateX(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.map-region-summary {
    position: absolute;
    top: 50%;
    inset-inline-start: 0;
    width: min(100%, 486px);
    min-height: 360px;
    padding: 38px 38px 32px;
    border: 1px solid rgba(242, 213, 154, 0.24);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.065)),
        linear-gradient(135deg, rgba(6, 25, 20, 0.92), rgba(18, 70, 50, 0.82));
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.035),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    transform: translateY(-50%);
    z-index: 6;
    pointer-events: auto;
}

.map-region-summary::after {
    content: "HRDA MAP";
    position: absolute;
    top: 24px;
    inset-inline-end: 30px;
    color: rgba(255, 255, 255, 0.12);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
}

.map-region-summary::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: 32px;
    width: 90px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f2d59a, rgba(242, 213, 154, 0));
}

.map-summary-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 13px;
    border: 1px solid rgba(242, 213, 154, 0.22);
    border-radius: 999px;
    color: #f2d59a;
    background: rgba(242, 213, 154, 0.08);
    font-size: 13px;
    font-weight: 600;
}

.map-summary-title {
    margin: 0 0 16px;
    color: #fff7e6;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
}

.map-summary-desc {
    min-height: 126px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.9;
    text-align: justify;
}

.map-summary-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.map-summary-stat {
    padding: 15px 16px;
    border: 1px solid rgba(242, 213, 154, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.map-summary-stat span {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
}

.map-summary-stat strong {
    color: #fff7e6;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.map-region-summary.is-changing {
    animation: summary-pop 0.34s ease both;
}

@keyframes summary-pop {
    from {
        opacity: 0.35;
        transform: translateY(-50%) translateX(14px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0) scale(1);
    }
}

.content.map-content::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: 34px;
    width: 84px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f2d59a, rgba(242, 213, 154, 0));
}

.content.map-content.active,
.content.map-content.disp {
    display: none;
    opacity: 0;
}

.content.map-content.active {
    animation: region-card-in 0.4s ease both;
}

@keyframes region-card-in {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0) scale(1);
    }
}

.region-name {
    margin-bottom: 16px;
    color: #fff7e6;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.region-desc {
    min-height: 168px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.9;
    text-align: justify !important;
}

.icon-txt {
    display: flex;
    margin-top: auto;
    gap: 28px;
    flex-wrap: wrap;
}

.stat-box {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    min-width: 180px;
    padding: 10px 12px;
    border: 1px solid rgba(242, 213, 154, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: none;
}

.stat-box + .stat-box {
    margin-inline-start: 0;
}

.stat-box::before {
    content: "";
    display: block;
    grid-row: 1 / span 2;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-inline-end: 12px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.stat-box:first-child::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M20.6959 2.47419C20.3817 2.01919 19.9809 1.61835 19.5259 1.30419C18.4967 0.556687 17.1534 0.166687 15.5392 0.166687H6.46091C6.24425 0.166687 6.02758 0.17752 5.82175 0.199187C2.26841 0.426687 0.166748 2.73419 0.166748 6.46085V15.5392C0.166748 17.1534 0.556748 18.4967 1.30425 19.5259C1.61841 19.9809 2.01925 20.3817 2.47425 20.6959C3.36258 21.3458 4.48925 21.725 5.82175 21.8117C6.02758 21.8225 6.24425 21.8333 6.46091 21.8333H15.5392C19.4826 21.8333 21.8334 19.4825 21.8334 15.5392V6.46085C21.8334 4.84669 21.4434 3.50335 20.6959 2.47419ZM18.3126 8.83335C18.3126 9.27752 17.9442 9.64585 17.5001 9.64585C17.0559 9.64585 16.6876 9.27752 16.6876 8.83335V6.46085L12.1484 11L16.6876 15.5392V13.1667C16.6876 12.7225 17.0559 12.3542 17.5001 12.3542C17.9442 12.3542 18.3126 12.7225 18.3126 13.1667V17.5C18.3126 17.6084 18.2909 17.7059 18.2476 17.8142C18.1609 18.0092 18.0092 18.1717 17.8034 18.2584C17.7059 18.3017 17.5976 18.3234 17.4892 18.3234H13.1559C12.7117 18.3234 12.3434 17.955 12.3434 17.5109C12.3434 17.0667 12.7117 16.6984 13.1559 16.6984H15.5284L11.0001 12.1484L6.46091 16.6875H8.83341C9.27758 16.6875 9.64591 17.0559 9.64591 17.5C9.64591 17.9442 9.27758 18.3125 8.83341 18.3125H4.50008C4.39175 18.3125 4.28341 18.2909 4.18591 18.2475C3.99091 18.1609 3.82841 18.0092 3.74175 17.8034C3.70925 17.7059 3.68758 17.6084 3.68758 17.5V13.1667C3.68758 12.7225 4.05591 12.3542 4.50008 12.3542C4.94425 12.3542 5.31258 12.7225 5.31258 13.1667V15.5392L9.85175 11L5.31258 6.46085V8.83335C5.31258 9.27752 4.94425 9.64585 4.50008 9.64585C4.05591 9.64585 3.68758 9.27752 3.68758 8.83335V4.50002C3.68758 4.39169 3.70925 4.29419 3.75258 4.18585C3.83925 3.99085 3.99091 3.82835 4.19675 3.74169C4.29425 3.70919 4.39175 3.68752 4.50008 3.68752H8.83341C9.27758 3.68752 9.64591 4.05585 9.64591 4.50002C9.64591 4.94419 9.27758 5.31252 8.83341 5.31252H6.46091L11.0001 9.85168L15.5392 5.31252H13.1667C12.7226 5.31252 12.3542 4.94419 12.3542 4.50002C12.3542 4.05585 12.7226 3.68752 13.1667 3.68752H17.5001C17.6084 3.68752 17.7059 3.70919 17.8142 3.75252C18.0092 3.83919 18.1717 3.99085 18.2584 4.19669C18.2909 4.29419 18.3126 4.39169 18.3126 4.50002V8.83335Z' fill='white'/%3E%3C/svg%3E");
}

.stat-box + .stat-box::before {
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26' fill='none'%3E%3Cpath d='M9.74984 2.16669C6.9115 2.16669 4.604 4.47419 4.604 7.31252C4.604 10.0967 6.7815 12.35 9.61984 12.4475C9.70651 12.4367 9.79317 12.4367 9.85817 12.4475C9.87984 12.4475 9.89067 12.4475 9.91234 12.4475C9.92317 12.4475 9.92317 12.4475 9.93401 12.4475C12.7073 12.35 14.8848 10.0967 14.8957 7.31252C14.8957 4.47419 12.5882 2.16669 9.74984 2.16669Z' fill='white'/%3E%3Cpath d='M15.2545 15.328C12.232 13.313 7.30285 13.313 4.25868 15.328C2.88285 16.2488 2.12451 17.4946 2.12451 18.8271C2.12451 20.1596 2.88285 21.3946 4.24785 22.3046C5.76451 23.323 7.75785 23.8321 9.75118 23.8321C11.7445 23.8321 13.7378 23.323 15.2545 22.3046C16.6195 21.3838 17.3778 20.1488 17.3778 18.8055C17.367 17.473 16.6195 16.238 15.2545 15.328Z' fill='white'/%3E%3Cpath d='M21.6562 7.9575C21.8295 10.0533 20.3345 11.8833 18.2712 12.1325C18.2603 12.1325 18.2603 12.1325 18.2495 12.1325H18.217C18.152 12.1325 18.087 12.1325 18.0328 12.1542C16.982 12.2083 16.0178 11.8725 15.2919 11.2558C16.407 10.2483 17.0462 8.7425 16.9162 7.10667C16.8403 6.22917 16.5369 5.4275 16.082 4.745C16.4937 4.53917 16.9703 4.40918 17.4578 4.36585C19.5753 4.18168 21.472 5.75251 21.6562 7.9575Z' fill='white'/%3E%3Cpath d='M23.8223 17.9708C23.7356 19.0216 23.0639 19.9316 21.9389 20.5491C20.8573 21.1449 19.4914 21.4263 18.1364 21.3938C18.9164 20.6899 19.3714 19.8125 19.4581 18.8808C19.5664 17.5374 18.9273 16.2483 17.649 15.2191C16.9231 14.6458 16.0781 14.191 15.1573 13.8542C17.5514 13.1616 20.5656 13.6275 22.4173 15.1224C23.4106 15.9241 23.9089 16.9308 23.8223 17.9708Z' fill='white'/%3E%3C/svg%3E");
}

.stat-label {
    display: block;
    grid-column: 2;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

.stat-box strong {
    grid-column: 2;
    color: #fff7e6;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.regions__container.is__active__baq .def-bg,
.regions__container.is__active__hael .def-bg,
.regions__container.is__active__shan .def-bg,
.regions__container.is__active__mou .def-bg,
.regions__container.is__active__som .def-bg,
.regions__container.is__active__sul .def-bg,
.regions__container.is__active__gah .def-bg,
.regions__container.is__active__sham .def-bg,
.regions__container.is__active__ha .def-bg {
    opacity: 0;
}

@media (max-width: 991px) {
    .interactive-map-section.map-section {
        min-height: 620px;
        height: auto;
    }

    .hrda-map-shell,
    .hrda-map-stage,
    .regions__container {
        min-height: 620px;
    }

    .content.map-content {
        top: 50%;
        width: min(100%, 390px);
        min-height: 360px;
        padding: 32px 28px 26px;
    }

    .map-region-summary {
        width: min(100%, 390px);
        min-height: 320px;
        padding: 30px 26px 24px;
    }

    .map-summary-title {
        font-size: 28px;
    }

    .map-summary-desc {
        min-height: 104px;
        font-size: 14px;
    }

    .region-name {
        font-size: 28px;
    }

    .region-desc {
        max-width: none;
        min-height: 128px;
        font-size: 14px;
        line-height: 1.8;
    }

    .stat-box strong {
        font-size: 14px;
    }

    .stat-box::before {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 767px) {
    .interactive-map-section.map-section {
        min-height: 760px;
    }

    .hrda-map-shell,
    .hrda-map-stage,
    .regions__container {
        min-height: 760px;
    }

    .content.map-content {
        top: auto;
        bottom: 24px;
        width: calc(100% - 32px);
        min-height: auto;
        transform: translateY(0) translateX(0);
    }

    .map-region-summary {
        top: auto;
        bottom: 24px;
        width: calc(100% - 32px);
        min-height: auto;
        transform: none;
    }

    .map-region-summary.is-changing {
        animation: summary-pop-mobile 0.34s ease both;
    }

    @keyframes summary-pop-mobile {
        from {
            opacity: 0.35;
            transform: translateY(14px) scale(0.98);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .map-summary-stats {
        grid-template-columns: 1fr;
    }

    .region-desc {
        max-width: none;
        min-height: 0;
    }

    .indicator__label {
        font-size: 13px;
        padding: 3px 8px;
        transform: translate(9px, -20px) !important;
    }

    .indicator-item.baq { top: 272px; inset-inline-end: 56%; }
    .indicator-item.hael { top: 38%; inset-inline-end: 40%; }
    .indicator-item.shan { top: 50%; inset-inline-end: 53%; }
    .indicator-item.mou { top: 46%; inset-inline-end: 36%; }
    .indicator-item.som { top: 54%; inset-inline-end: 52%; }
    .indicator-item.sul { top: 57%; inset-inline-end: 42%; }
    .indicator-item.gah { top: 52%; inset-inline-end: 42%; }
    .indicator-item.sham { top: 54%; inset-inline-end: 31%; }
    .indicator-item.ha { top: 60%; inset-inline-end: 27%; }
}

.news-section {
    padding: 60px 80px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.news-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.news-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.news-body h3 {
    font-size: 18px;
    line-height: 1.4;
}

.news-body p {
    font-size: 14px;
    color: var(--text-gray);
    flex: 1;
}

.read-more {
    display: inline-block;
    padding: 8px 16px;
    background-color: #067647;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    align-self: flex-start;
    margin-top: 16px;
    font-size: 14px;
}

.read-more:hover {
    background-color: #104631;
}

/* ========================================= */
/* تنسيقات قسم الشركاء بالصفحة الرئيسية    */
/* ========================================= */
.partners-section {
    padding: 40px 80px;
    background-color: #f9f9f9;
    position: relative;
}

.partners-header {
    text-align: right;
    margin-bottom: 20px;
}

.partners-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-container {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px;
    width: 100%;
    scrollbar-width: none;
}

.partners-container::-webkit-scrollbar {
    display: none;
}

.partner-logo {
    flex: 0 0 auto;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.partner-logo img {
    width: auto;
    height: auto;
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-btn:hover {
    background-color: var(--primary-color);
}

.arrow-btn:hover img {
    filter: brightness(0) invert(1);
}

.right-btn {
    right: -50px;
}

.left-btn {
    left: -50px;
}

/* ========================================= */
/* تنسيقات شريط التقييم (Feedback Bar)       */
/* ========================================= */
.feedback-bar {
    border-top: 1px solid #ddd;
    background: var(--white);
    padding-bottom: 20px;
}

.last-modified {
    padding: 15px 80px;
    font-size: 14px;
    color: #161616;
    text-align: right;
    margin-bottom: 10px;
}

.feedback-action {
    padding: 10px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feedback-right-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feedback-question {
    font-weight: 600;
    color: var(--text-dark);
}

.buttons {
    display: flex;
    gap: 10px;
}

.btn-feedback {
    background-color: #438a60;
    color: white;
    border: none;
    padding: 8px 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-feedback:hover {
    background-color: #104631;
}

.feedback-result {
    color: #444;
    font-size: 14px;
    font-weight: 500;
}

/* ========================================= */
/* تنسيقات الفوتر (Footer)        */
/* ========================================= */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 60px 80px 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    flex: 1;
}

.footer-col h4 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
    margin-bottom: 16px;
    font-weight: 500;
    display: inline-block;
    min-width: 150px;
}

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

.footer-col ul li a {
    font-size: 14px;
    color: #e0e0e0;
}

.footer-col ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.social-icons,
.access-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.legal-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.legal-logos img {
    width: 106px;
    height: 42px;
    object-fit: contain;
}

.legal-text {
    text-align: right;
}

.legal-links {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-bottom: 8px;
}

.copyright {
    font-weight: bold;
    font-size: 14px;
    color: white;
    margin-bottom: 4px;
}

.developer {
    font-size: 14px;
    color: white;
    margin-bottom: 4px;
}

/* ========================================= */
/* تنسيقات الشريط الحكومي التحقق اللي فوق     */
/* ========================================= */
.dga-wrapper {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    font-family: var(--font-main);
    direction: rtl;
}

.dga-header {
    padding: 10px 0;
    cursor: pointer;
    background-color: #fff;
    position: relative;
    z-index: 200;
}

.dga-container-flex {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
}

.dga-right-section {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
}

.dga-flag-icon {
    width: 20px;
    height: auto;
}

.dga-main-text {
    color: #333;
}

.dga-link-text {
    color: #1b8354;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 5px;
}

.dga-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dga-header.active .dga-arrow {
    transform: rotate(180deg);
}

.dga-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}

.dga-content.open {
    max-height: 400px;
}

.dga-gray-section {
    background-color: #f8f8f8;
    padding: 30px 0;
}

.dga-content-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 60px;
}

.dga-info-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 500px;
}

.dga-icon-circle {
    width: 40px;
    height: 40px;
    border: 1px solid #1b8354;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dga-icon-circle img {
    width: 20px;
    height: 20px;
}

.dga-text-group strong {
    display: block;
    color: #161616;
    font-size: 14px;
    margin-bottom: 5px;
}

.dga-text-group p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.dga-reg-bar {
    background-color: #ffffff;
    padding: 15px 0;
    border-radius: 0 0 8px 8px;
}

.dga-reg-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.dga-logo-bottom {
    height: 45px;
    width: auto;
}

.reg-text {
    font-size: 15px;
    color: #333;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.reg-number {
    color: #1b8354;
    text-decoration: underline;
    font-weight: 700;
    font-family: sans-serif;
}

/* =========================================
   تنسيقات التجاوب (Mobile & Tablet Responsive)
   ========================================= */

/* زر القائمة  */
.mobile-menu-btn {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- شاشات التابلت والجوال (أقل من 1024px) --- */
@media (max-width: 1024px) {
    .main-header {
        height: auto;
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .header-right-group {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 15px;
    }


    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        flex-direction: column;
        height: auto;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 0;
        border-top: 1px solid #eee;
    }


    .main-nav.active {
        display: flex;
    }

    .menu-items {
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }


    .mega-menu,
    .mega-menu.three-columns {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        display: none;
        background-color: #f9f9f9;
        padding: 10px 20px;
        transform: none;
        border-radius: 0;
    }

    .nav-item:hover .mega-menu {
        display: flex;
    }

    .mega-menu.three-columns {
        flex-direction: column;
    }

    .mega-menu.three-columns .menu-column:not(:last-child) {
        border-left: none;
        border-bottom: 1px solid #eee;
        padding-left: 0;
        padding-bottom: 10px;
    }


    .mobile-menu-btn {
        display: block !important;
    }

    .header-left-group {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        flex-wrap: wrap;
    }

    /* banner Section */
    .banner-dynamic-section {
        padding: 0 20px;
        height: 400px;
    }

    #banner-title {
        font-size: 36px;
    }

    #banner-desc {
        font-size: 16px;
        width: 100%;
    }

    /* Partners */
    .right-btn {
        right: 0;
    }

    .left-btn {
        left: 0;
    }
}

/* --- شاشات الجوال فقط (أقل من 768px) --- */
@media (max-width: 768px) {

    /* DGA */
    .dga-container-flex,
    .dga-content-inner,
    .dga-reg-container {
        padding: 0 20px;
    }

    .dga-content-inner {
        flex-direction: column;
        gap: 20px;
    }

    .dga-reg-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .dga-content.open {
        max-height: 600px;
    }

    /* Top Bar */
    .top-bar {
        height: auto;
        padding: 10px 20px;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }

    .weather-info {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .top-actions {
        width: 100%;
        justify-content: center;
    }

    /* Stats Section */
    .stats-section {
        padding: 40px 20px;
    }

    .cards-grid {
        gap: 20px;
    }

    .stat-card {
        width: 100%;
        max-width: 300px;
    }

    /* Amin Section */
    .amin-section {
        padding: 40px 20px;
    }

    .amin-container {
        flex-direction: column;
        gap: 20px;
    }

    .amin-image-wrapper {
        width: 100%;
        flex: auto;
    }

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

    /* News Section */
    .news-section {
        padding: 40px 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    /* عمود واحد للأخبار */

    /* Feedback */
    .feedback-action {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding: 10px 20px;
    }

    .last-modified {
        padding: 15px 20px;
    }

    /* Footer */
    .main-footer {
        padding: 40px 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

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


/* مسار التنقل للصفحات */
/* العناوين والنصوص */
.vi-main-title {
    font-size: 30px;
    font-weight: 800;
    color: #161616;
    margin-bottom: 24px;
}

.vi-description {
    font-size: 16px;
    line-height: 1.8;
    color: #161616;
    margin-bottom: 28px;
    text-align: justify;
    max-width: 100%;
}

.vi-divider {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 20px;
}


/* التجاوب للجوال */
@media (max-width: 768px) {
    .vi-cards-grid {
        grid-template-columns: 1fr;
        /* عمود واحد في الجوال */
    }

    .vi-main-title {
        font-size: 28px;
    }
}

.main-body-content {
    padding: 20px 0;
    text-align: right;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: var(--font-main);

}

/* جزء الخاص بالبطاقات التفصيلية لعرض محتوى الموقع */
.vi-te {
    font-size: 14px;
    color: #9DA4AE;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vi-te a:hover {
    color: #1b8354;
    text-decoration: underline;
}


/* الشبكة (Grid) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* البطاقة (Card) */
.info-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #1b8354;
}

/* أيقونات  */
.card-icon-wrapper {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-bottom: 10px;
}

.card-icon-wrapper img {
    width: 30px;
    height: 30px;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #161616;
    margin-top: 10px;
}

/* زر عرض المزيد  */
.btn-view-account {
    align-self: flex-end;
    background-color: #438a60;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-view-account:hover {
    background-color: #14573a;
}

/* =========================================
   تجاوب الشاشات (Responsive)
   ========================================= */

/* شاشات التابلت واللابتوب الصغير (أقل من 1024px) */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
      
    }

    .page-title {
        font-size: 28px;
    }
}

/* شاشات الجوال (أقل من 600px) */
@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
       
    }

    .info-card {
        height: auto;
        gap: 15px;
    }

    .btn-view-account {
        width: 100%;
        text-align: center;
    }
}

/* عن الامانة */
/* جزء الامانة في سطور */



/* ========================================= */

/* ========================================= */
/* التنسيقات العامة للمحتوى الرئيسي          */
/* ========================================= */
.about-us-container {
    padding: 20px 0;
    text-align: right;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: var(--font-main);
    flex: 1;
}

.section-divider-line {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 40px auto;
    width: 80%;
}

/* عناوين الأقسام */
.section-title-center,
.section-title-right {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.section-title-center {
    text-align: center;
    display: block;
}

.section-title-center::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title-right {
    text-align: right;
    display: inline-block;
}

.section-title-right::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* ========================================= */
/* تنسيقات الرؤية والرسالة    */
/* ========================================= */
.vision-mission-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.strat-card {
    flex: 1;
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
    min-width: 280px;
}

.strat-card:hover {
    transform: translateY(-5px);
}

.strat-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.strat-icon-box {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.strat-icon-box img {
    width: 22px;
    height: 22px;
}

.strat-card h3 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.strat-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ========================================= */
/*  تنسيقات القيم المؤسسية     */
/* ========================================= */
.values-wrapper {
    margin-bottom: 40px;
    text-align: center;
}

.values-items-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.value-capsule {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.value-capsule:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ========================================= */
/*  تنسيقات الركائز الاستراتيجية   */
/* ========================================= */
.pillars-section-container {
    margin-bottom: 60px;
}

.pillars-cards-grid {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.pillar-item-card {
    background: #fff;
    flex: 1;
    min-width: 200px;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.pillar-icon-circle {
    width: 60px;
    height: 60px;
    background-color: #f4fcf8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.pillar-icon-circle img {
    width: 30px;
    filter: invert(36%) sepia(45%) saturate(836%) hue-rotate(108deg) brightness(93%) contrast(89%);
}

.pillar-item-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.pillar-item-card:hover .pillar-icon-circle {
    background-color: var(--primary-color);
}

.pillar-item-card:hover .pillar-icon-circle img {
    filter: brightness(0) invert(1);
}

/* ========================================= */
/*  تنسيقات الأهداف الاستراتيجية     */
/* ========================================= */
.goals-section-container {
    margin-bottom: 40px;
}

.goals-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.goal-info-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.goal-id {
    font-size: 14px;
    font-weight: 700;
    color: #cbd5e0;
    margin-bottom: 10px;
    font-family: sans-serif;
}

.goal-info-card p {
    margin: 0;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

.goal-info-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(27, 131, 84, 0.1);
    transform: translateY(-5px);
}

.goal-info-card:hover .goal-id {
    color: var(--primary-color);
}

/* التجاوب مع الجوال */
@media (max-width: 768px) {
    .vision-mission-wrapper {
        flex-direction: column;
    }

    .pillar-item-card {
        width: 100%;
        flex: none;
    }

    .goals-cards-grid {
        grid-template-columns: 1fr;
    }
}


/*حائل تاريخيا*/


/* ========================================= */
/*  تنسيقات المقدمة       */
/* ========================================= */
.hail-intro-section {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(180deg, #14573A 0%, #1B8354 100%);
    border-radius: 16px;
    color: white;
    box-shadow: 0 10px 20px rgba(27, 131, 84, 0.15);
}

.hail-main-title {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.hail-main-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: white;
    margin: 10px auto 0;
    border-radius: 2px;
}

.hail-lead-text {
    font-size: 1.1rem;
    color: white;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.95;

}

/* ========================================= */
/* العناوين الداخلية للأقسام     */
/* ========================================= */
.section-header1 {
    text-align: center;
    margin-bottom: 50px;
}

.section-header1 h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;

}

.section-header1 p {
    color: #666;
    font-size: 1rem;
    text-align: right;

}

.hail-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.history-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.history-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon img {
    width: 35px;
    height: 35px;
}

.history-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.history-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}


.geo-row {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-color);
}

.geo-text {
    flex: 1;
}

.geo-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.geo-image {
    flex: 1;
    position: relative;
}

.geo-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.geo-image img:hover {
    transform: scale(1.02);
}

.content-block {
    margin-bottom: 80px;
}

.content-block:last-child {
    margin-bottom: 40px;
}




/* ========================================= */
/*  تنسيقات السلايدر    */
/* ========================================= */
.hail-slider-section {
    padding: 10px 0;
    overflow: hidden;
}

.cards-slider-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px 40px 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.cards-slider-wrapper::-webkit-scrollbar {
    display: none;
}

.slider-card {

    flex: 0 0 calc((100% - 40px) / 3);
    min-width: auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
    border-top: 4px solid var(--primary-color);
}

.slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
    text-align: right;
}

.card-body h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.card-body p {
    font-size: 0.9rem;
    color: #777;
}


.slider-dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: -10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dot.active {
    background-color: var(--primary-color);
    width: 25px;
    border-radius: 5px;
}

/* ========================================= */
/*  التجاوب (Responsive)              */
/* ========================================= */
@media (max-width: 1024px) {
    .slider-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 768px) {

    :root {
        --section-gap: 50px;
    }

    .geo-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }

    .hail-main-title {
        font-size: 1.6rem;
    }

    .slider-card {
        flex: 0 0 100%;
    }
}



.section-header11 h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 15px;

}

.section-header11 p {
    color: #666;
    font-size: 1rem;
    text-align: right;
    margin-bottom: 15px;

}

/*  دليلك السياحي */

/* الكلاس الرئيسي للمحتوى */
.tg-main-wrapper {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: var(--font-main);
    text-align: right;
}

/*  الأقسام */
.tg-content-container {
    margin-bottom: 40px;
}

/* العناوين والوصف */
.tg-page-title {
    font-size: 30px;
    font-weight: 800;
    color: #161616;
    margin-bottom: 24px;
}

.tg-page-description {
    font-size: 16px;
    line-height: 1.8;
    color: #161616;
    margin-bottom: 28px;
}

/* تنسيق الهيدر لكل قسم (سلايدر) */
.tg-category-section {
    margin-bottom: 80px;
}

.tg-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.card-location-icon img {
    width: 20px;
    height: 20px;
    filter: invert(36%) sepia(54%) saturate(632%) hue-rotate(108deg) brightness(93%) contrast(89%);
}


.card-location-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
}

.card-location-icon:hover img {
    filter: brightness(0) invert(1);
}

.card-location-icon {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background-color: #f0fdf4;
    border: 1px solid #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.card-body {
    position: relative;
    padding-bottom: 20px;
}

/* زر عرض الكل */
.view-all-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #067647;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    align-self: flex-start;
    margin-top: 16px;
    font-size: 14px;

}

.view-all-btn:hover {
    background-color: #104631;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.header-text h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.header-text p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}



/*البيانات المفتوحة*/


.od-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.od-sidebar {
    width: 280px;
    flex-shrink: 0;
    border-left: 1px solid #eee;
    padding-left: 20px;
}

.od-sidebar-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.od-tabs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.od-tab-item {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 15px;
    color: #555;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.od-tab-item:hover {
    background-color: #f0f9f4;
    color: var(--primary-color);
}

.od-tab-item.active {
    color: var(--primary-color);
    font-weight: 700;
    border-right: 3px solid var(--primary-color);
    background-color: transparent;
}

.od-content-area {
    flex: 1;
    min-width: 0;
}

.od-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.od-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.od-section-header h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.green-line {
    width: 4px;
    height: 30px;
    background-color: var(--primary-color);
    display: inline-block;
    margin-left: 10px;
}


.od-tools-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.od-count-row {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.od-controls-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tool-btn,
.select-trigger {
    background: #fff;
    border: 1px solid #d2d6db;
    padding: 10px 15px;
    border-radius: 6px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    min-width: 160px;
    justify-content: space-between;
}

/* القائمة المنسدلة */
.custom-select-wrapper {
    position: relative;
    z-index: 10;
}

.custom-options {
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d2d6db;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    overflow: hidden;
}

.custom-select.open .custom-options {
    display: block;
}

.custom-option {
    padding: 10px 15px;
    display: block;
    cursor: pointer;
    font-size: 14px;
}

.custom-option:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
}

.custom-option.selected {
    background-color: #e7f7ef;
    color: var(--primary-color);
    font-weight: bold;
}

/* بطاقات البيانات */
.od-card-new {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.od-card-new:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
}

.od-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-right-content {
    flex: 1;
    padding-left: 20px;
}

.card-left-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 100px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #161616;
    margin-bottom: 8px;
}

.card-desc {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #777;
}

.card-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-badge.financial {
    background-color: #e7f7ef;
    color: #1b8354;
}

.card-badge.stats {
    background-color: #e8f0fe;
    color: #1967d2;
}

.card-badge.municipal {
    background-color: #fff8e1;
    color: #f57f17;
}

.card-badge.health {
    background-color: #fce4ec;
    color: #c2185b;
}

.od-card-footer-actions {
    border-top: 1px dashed #eee;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.external-data-link {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.file-badges-group {
    display: flex;
    gap: 8px;
}

/* تنسيق ملفات التحميل */
.file-icon {
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    color: #333;
    background: #f3f4f6;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-family: sans-serif;
}

.file-icon:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

.file-icon.api-icon {
    border: 1px solid transparent;
    background: #f3f4f6;
    color: #333;
}

.file-icon.api-icon:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

/* ========================================= */
/*  تنسيق التقييم والترقيم والترقيم المستخدم بصفحات الاخبار والفعاليات       */
/* ========================================= */

/* تنسيق النجوم التفاعلية */
.interactive-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 5px;
    direction: ltr;
    color: #FFC107;
    font-size: 20px;
    letter-spacing: 2px;
}

.star-btn {
    font-size: 16px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.star-btn.filled {
    color: #FFC107;
}

.star-btn:hover {
    transform: scale(1.2);
}

.rating-text {
    font-size: 12px;
    color: #888;
}

/* تنسيق الترقيم  */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    direction: rtl;
}

.page-num,
.page-arrow {
    width: auto;
    height: 36px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: 0.2s all;
    font-weight: 400;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.page-arrow {
    font-size: 16px;
    font-weight: 400;
}

.page-num.active {
    background-color: transparent;
    color: #000;
    font-weight: 400;
    border-bottom: 3px solid var(--primary-color);
    border-radius: 0;
}

.page-num:not(.active):hover,
.page-arrow:hover {
    color: var(--primary-color);
    background: transparent;
}

@media (max-width: 768px) {
    .od-container {
        flex-direction: column;
    }

    .od-sidebar {
        width: 100%;
        border-left: none;
        padding-left: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

    .od-tools-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .od-controls-row {
        flex-direction: column;
        width: 100%;
    }

    .tool-btn,
    .select-trigger {
        width: 100%;
    }

    .od-card-body {
        flex-direction: column;
    }

    .card-right-content {
        padding-left: 0;
        margin-bottom: 15px;
    }

    .card-left-rating {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .od-card-footer-actions {
        flex-direction: column-reverse;
        gap: 15px;
        align-items: stretch;
    }

    .external-data-link {
        justify-content: center;
    }

    .file-badges-group {
        justify-content: center;
    }
}

/* ========================================= */
/* تنسيقات صفحة سياسة البيانات      */
/* ========================================= */
.policy-content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.policy-content h3 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 12px;
    border-right: 3px solid #ddd;
    padding-right: 10px;
}

.policy-content ul {
    list-style: disc;
    margin-right: 25px;
    margin-bottom: 15px;
}

.policy-content ul li {
    margin-bottom: 8px;
    padding-left: 5px;
}

.policy-content p {
    margin-bottom: 15px;
}

.policy-group {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-right: 4px solid var(--primary-color);
}


.legislations-list li {
    margin-bottom: 12px;
    position: relative;
    padding-right: 15px;
}

.legislations-list li::before {
    position: absolute;
    right: 0;
    color: var(--primary-color);
}

.leg-link {
    color: #1b8354;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    padding-bottom: 2px;
}

.leg-link:hover {
    color: #14573a;
    border-bottom-style: initial;
}

/* ========================================= */
/* تنسيقات قسم API       */
/* ========================================= */
.api-box {
    background: #2d2d2d;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #444;
    direction: ltr;
    text-align: left;
    margin: 20px 0;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.api-box .method {
    background-color: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.api-box .url {
    color: #e6db74;
    word-break: break-all;
    flex: 1;
}

.copy-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: transform 0.2s;
}

.copy-btn:hover {
    transform: scale(1.2);
    color: var(--primary-color);
}

.btn-api-download {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-api-download:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ========================================= */
/* تنسيقات نموذج شاركنا رأيك        */
/* ========================================= */
.feedback-detailed-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.form-question-row {
    margin-bottom: 25px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 20px;
}

.form-question-row:last-child {
    border-bottom: none;
}

.question-label {
    display: block;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    font-size: 15px;
}

.required {
    color: #e74c3c;
    margin-right: 5px;
}

/* تنسيق خيارات  */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    user-select: none;
}

.radio-item input[type="radio"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

/* مربع النص */
.feedback-textarea {
    width: 100%;
    height: 120px;
    border: 1px solid #d2d6db;
    border-radius: 4px;
    padding: 12px;
    font-family: var(--font-main);
    resize: vertical;
    outline: none;
    font-size: 14px;
}

.feedback-textarea:focus {
    border-color: var(--primary-color);
}

.char-count {
    text-align: left;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}



.captcha-container {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed #ddd;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}


.captcha-right-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.captcha-label {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    display: block;
    text-align: right;
}

.captcha-inputs-row {
    display: flex;
    align-items: center;
    gap: 10px;
}


.captcha-input {
    padding: 0 15px;
    border: 1px solid #707070;
    border-radius: 4px;
    width: 200px;
    height: 45px;
    text-align: right;
    font-size: 14px;
    outline: none;
    font-family: var(--font-main);
}

.captcha-input:focus {
    border-color: var(--primary-color);
}


.captcha-box {
    background-color: #e8f5e9;
    color: #1b8354;
    font-family: 'Courier New', Courier, monospace;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 8px;
    padding: 0 15px;
    border-radius: 4px;
    border: 1px solid #c8e6c9;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    user-select: none;
    background-image: radial-gradient(#1b8354 0.5px, transparent 0.5px), radial-gradient(#1b8354 0.5px, #e8f5e9 0.5px);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
    opacity: 0.8;
}

/* زر التحديث */
.refresh-captcha {
    background: #fff;
    border: 1px solid #ccc;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.refresh-captcha:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

/* رسالة الخطأ */
.error-msg {
    display: none;
    color: #d32f2f;
    font-size: 13px;
    font-weight: 500;
    margin-top: 5px;
}


.captcha-left-section {
    padding-bottom: 2px;
}

.submit-feedback-btn {
    background-color: #e0e0e0;
    color: #333;
    border: none;
    padding: 0 40px;
    height: 45px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.submit-feedback-btn:hover {
    background-color: #ccc;
}

/* تنسيق للجوال */
@media (max-width: 768px) {
    .captcha-container {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-inputs-row {
        flex-direction: column;
        width: 100%;
    }

    .captcha-input,
    .captcha-box,
    .refresh-captcha,
    .submit-feedback-btn {
        width: 100%;
    }

    .submit-feedback-btn {
        margin-top: 10px;
    }

    .radio-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* ========================================= */
/* تنسيقات الإحصائيات  */
/* ========================================= */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.stat-icon-bg {
    width: 45px;
    height: 45px;
    background-color: #f0f9f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-bg img {
    opacity: 0.8;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.stat-trend {
    font-size: 11px;
    margin-top: 5px;
    font-weight: 600;
}

.stat-trend.positive {
    color: #1b8354;
}

.stat-sub {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
}

.dashboard-charts-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.chart-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
}

.chart-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    border-right: 3px solid var(--primary-color);
    padding-right: 10px;
}


.chart-bar-item {
    margin-bottom: 15px;
}

.bar-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
    font-weight: 600;
}

.progress-track {
    background-color: #f3f4f6;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    background-color: var(--primary-color);
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease-in-out;
}


.top-downloads-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.top-downloads-table th {
    text-align: right;
    color: #888;
    font-weight: 500;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 12px;
}

.top-downloads-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f9f9f9;
    color: #333;
}

.top-downloads-table tr:last-child td {
    border-bottom: none;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
}

.badge-dot.financial {
    background-color: #1b8354;
}

.badge-dot.municipal {
    background-color: #f57f17;
}

.badge-dot.stats {
    background-color: #1967d2;
}

.badge-dot.health {
    background-color: #c2185b;
}

@media (max-width: 768px) {
    .dashboard-charts-row {
        grid-template-columns: 1fr;
    }

    .chart-box {
        grid-column: span 1 !important;
    }
}

/*مركز المعرفة */
/*مشاركة البيانات */


.page-intro-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.main-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    max-width: 900px;
}

.breadcrumbs .current-page {
    color: var(--primary-color);
    font-weight: 600;
}


.form-card-container {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    max-width: 100%;
}

.card-header {
    margin-bottom: 30px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 20px;
}

.card-title {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 14px;
    color: #777;
}

/* --- تنسيق الحقول --- */
.styled-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #333;

}


.required {
    color: #e63946;
    margin-right: 3px;
}

.form-control {
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 14px;
    color: #333;
    background-color: #fff;
    transition: all 0.3s;
    appearance: none;
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 16px;
}

.form-control1 {
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 14px;
    color: #333;
    background-color: #fff;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 16px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(27, 131, 84, 0.08);
    outline: none;
}

.file-upload-box {
    position: relative;
    border: 2px dashed #d2d6db;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background-color: #fafafa;
    transition: border-color 0.3s;
}

.file-upload-box:hover {
    border-color: var(--primary-color);
    background-color: #f0fdf4;
}

.file-upload-box input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.upload-icon {
    font-size: 20px;
}


.captcha-wrapper {
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.captcha-box {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px 20px;
    font-family: monospace;
    font-size: 22px;
    letter-spacing: 4px;
    font-weight: bold;
    color: #333;
    border-radius: 6px;
    min-width: 120px;
    text-align: center;
    user-select: none;
    text-decoration: line-through;
}

.refresh-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s;
}

.refresh-btn:hover {
    transform: rotate(180deg);
}

.captcha-input {
    width: 150px;
    text-align: center;
    letter-spacing: 2px;
}


.form-footer {
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
    text-align: left;
}

.submit-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

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

    .form-row,
    .captcha-row {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-input {
        width: 100%;
    }

    .form-card-container {
        padding: 20px;
    }

    .main-title {
        font-size: 28px;
    }
}


/*قسم المركز الاعلامي */
/*الهوية البصرية*/

/* الشبكة (Grid) */
.info-grid-Visualidentity {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* عمودين */
    gap: 15px;
}

/* البطاقة (Card) */
.info-card-Visualidentity {
    background: #fff;
    border: 1px solid #d2d6db;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.3s ease;
}

.info-card-Visualidentity:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* أيقونات  */
.card-icon-wrapper-Visualidentity {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-bottom: 10px;
}

.card-icon-wrapper-Visualidentity img {
    width: 30px;
    height: 30px;

}

.info-card-Visualidentity h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
    width: 100%;
}

.info-card-Visualidentity p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 32px;
    flex-grow: 1;

}

/* زر التحميل */

.btn-view-account-Visualidentity:hover {
    background-color: #14573a;
}


.vi-card-footer-Visualidentity {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.vi-download-btn-Visualidentity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #438a60;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
}

.vi-download-btn-Visualidentity:hover {
    background-color: #14573a;
}

.vi-download-btn-Visualidentity .dl-icon {
    margin-top: 2px;
    gap: 8px;
}

/*المركز الاعلامي قسم التواصل الاجتماعي*/


/* الشبكة (Grid) */
.info-grid-Socialmedia {

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* البطاقة (Card) */
.info-card-Socialmedia {
    background: #fff;
    border: 1px solid #d2d6db;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.3s ease;
    padding: 24px;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.info-card-Socialmedia:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* أيقونات  */
.card-icon-wrapper-Socialmedia {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-bottom: 10px;
}

.card-icon-wrapper-Socialmedia img {
    width: 30px;
    height: 30px;

}

.info-card-Socialmedia h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
    width: 100%;
}



/* زر التحميل */

.btn-view-account-Socialmedia:hover {
    background-color: #14573a;
}


.vi-card-footer-Socialmedia {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.vi-download-btn-Socialmedia {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #438a60;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
}

.vi-download-btn-Socialmedia:hover {
    background-color: #14573a;
}


/* ========================================= */
/* تنسيق تفاصيل الخبر او الفعالية   */
/* تنسيقات صفحة تفاصيل الخبر (News Details)  */
/* ========================================= */

.news-details-container-Details {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* تنسيق عنوان الخبر */
.news-header-Details {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.news-title-Details {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
    margin-bottom: 16px;
}

.news-meta-Details {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-item-Details {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
}


.date-badge-Details {

    color: black;
    padding: 6px 12px;

}

.news-body-Details {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}


.news-image-wrapper-Details {
    flex: 0 0 45%;
    position: relative;
}

.news-main-image-Details {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.image-caption-Details {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    text-align: center;
    background: #f9f9f9;
    padding: 6px;
    border-radius: 4px;
}

.news-text-content-Details {
    flex: 1;
}

.lead-text-Details {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.news-text-content {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;


}

.news-text-content-Details {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.8;
    text-align: justify;
}



/* ========================================= */
/*قسم الاخبار -قسم الاعلامي         */
/* ========================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    position: relative;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.card-thumb-news {
    height: 200px;
    width: 100%;
    background-color: #f3f4f6;
    position: relative;
    overflow: hidden;
}

.card-thumb-news img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .card-thumb img {
    transform: scale(1.05);
}

.card-body-news {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}


.card-top-meta-news {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 12px;
}

.meta-date-news {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
    font-weight: 600;
    font-family: 'IBM Plex Sans', sans-serif;

}

.meta-date-news .icon {
    font-size: 14px;
}

/* تنسيق النصوص */
.card-body-news h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.5;
}

.card-body-news p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
    display: -webkit-box;

    -webkit-box-orient: vertical;
    overflow: hidden;
}


.card-footer-action {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #f9f9f9;
    padding-top: 15px;
}

.btn-view-news {
    align-self: flex-end;
    background-color: #438a60;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.3s;


    margin-top: auto;
}

.btn-view-news:hover {
    background-color: #14573a;
}


.news-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap-reverse;
    gap: 20px;
}

.newssearch-section {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1;
    max-width: 600px;
}


.input-group-styled {
    position: relative;
    flex: 1;
}

.input-group-styled input {
    width: 100%;
    padding: 12px 40px 12px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 14px;
    color: #333;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-group-styled input:focus {
    border-color: #b0b0b0;
}


.input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    color: #888;
}

.search-icon {
    right: 12px;
    pointer-events: none;
}

.mic-icon {
    left: 12px;
    cursor: pointer;
}


.btn-search-trigger {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 8px;
    color: #333;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-search-trigger:hover {
    background-color: #f9f9f9;
    border-color: #d0d0d0;
}


.results-count-text {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

/* تجاوب */
@media (max-width: 768px) {
    .news-toolbar {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .results-count-text {
        text-align: left;
        margin-bottom: -10px;
    }
}


/*الفعاليات */

.event-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* تنسيق التاريخ */
.event-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
    font-weight: 600;
    font-family: 'IBM Plex Sans', sans-serif;
}


.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}


.status-started {
    background-color: #d1fae5;
    color: #065f46;
}

.status-coming {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-ended {
    background-color: #fee2e2;
    color: #991b1b;
}


/*قسم مكتبة الوسائط */


/* Tabs */
.media-tabs-wrapper {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
    gap: 40px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 5px;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    position: relative;
    font-family: var(--font-main);
}

.tab-btn.active {
    font-weight: 700;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}


.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.media-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-img-holder {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
}

.card-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
    line-height: 1.4;
}

.card-date {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.btn-view {
    align-self: flex-end;
    background-color: #2e8b57;
    color: #fff;
    border: none;
    padding: 8px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-view:hover {
    background-color: #1b8354;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: transparent;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    font-weight: bold;
}

#modal-body img,
#modal-body video,
#modal-body iframe {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}


@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .media-tabs-wrapper {
        gap: 20px;
    }
}

/* ========================================= */
/* ========================================= */
/*عن الامانة*/
/* صفحة الامين*/

/* ========================================= */
/* ========================================= */

.amin-profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}

/* ---القائمة الجانبية  --- */
.amin-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-color);
}

.profile-image-box {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f8fcf9;
    box-shadow: 0 0 0 1px #e0e0e0;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-names .p-name {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-weight: 800;
}

.profile-names .p-role {
    display: inline-block;
    background-color: #f0fdf4;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.sidebar-divider {
    height: 1px;
    background-color: #eee;
    margin: 25px 0;
}


.contact-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: right;
}

.c-item-v {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fafafa;
    padding: 10px;
    border-radius: 8px;
    transition: 0.3s;
}

.c-item-v:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.c-text {
    display: flex;
    flex-direction: column;
    line-height: 1.8;

}

.c-text .label {
    font-size: 14px;
    color: #888;
}

.c-text .value {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.c-text .email {
    font-size: 12px;
    word-break: break-all;
    color: var(--primary-color);
}

/*كلمة الامين والسيرة الذاتية */
.amin-content-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-block-styled {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    position: relative;
}

.block-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.block-header h3 {
    font-size: 20px;
    color: var(--primary-dark);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* تنسيق الكلمة */
.speech-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 12px;
    text-align: justify;
}

/* تنسيق المؤهل */
.info-row {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fcfcfc;
    padding: 15px;
    border-radius: 8px;
    border-right: 4px solid var(--primary-color);
}

.info-bullet {
    font-size: 24px;
}

.info-row p {
    margin: 0;
    font-weight: 600;
    color: #333;
}

/* تنسيق الخبرات */
.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.date-tag {
    background: #e6f4ea;
    color: var(--primary-dark);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    min-width: 100px;
    text-align: center;
}

/* تنسيق الإنجازات */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.achieve-box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

.achieve-box:hover {
    border-color: var(--primary-color);
    background-color: #fbfbfb;
}

.a-year {
    font-size: 18px;
    font-weight: 800;
    color: #cbd5e1;
    font-family: sans-serif;
}

.achieve-box:hover .a-year {
    color: var(--primary-color);
}

/* --- التجاوب مع الجوال --- */
@media (max-width: 900px) {
    .amin-profile-container {
        grid-template-columns: 1fr;
    }

    .amin-sidebar {
        position: static;
        width: 100%;
    }

    .profile-image-box {
        width: 140px;
        height: 140px;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .date-tag {
        min-width: auto;
    }
}

/* عن الامانة*/
/*قسم الجوائز */

/* ========================================= */
/* ========================================= */

.awards-awards-container {
    padding: 5px 0;
    max-width: 100%;
}

/* تنسيق السنة */
.awards-year-group {
    margin-bottom: 60px;
}

/* عنوان السنة */
.year-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
    border-bottom: 2px solid #067647;
    padding-bottom: 10px;
    display: inline-block;
    min-width: 100px;
}

/* الشبكة */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.awards-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}

.awards-card:hover {
    transform: translateY(-5px);
}

/* الصورة */
.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #f9f9f9;
}

/* النصوص */
.card-text {
    padding: 20px;
}

.card-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #161616;
    margin-bottom: 10px;
}

.card-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* تحسين للجوال */
@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }

    .year-title {
        font-size: 24px;
        width: 100%;
    }
}


/* امراء المنطقة + امناء المنطقة + وكلاء الامين */
/* ========================================= */
/* ========================================= */

.princes-layout-container {

    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
}

/* --- القائمة الجانبية --- */
.princes-sidebar {
    width: 300px;
    flex-shrink: 0;
    padding-left: 20px;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    width: 280px;
    flex-shrink: 0;
    border-left: 1px solid #eee;
    padding-left: 20px;

}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #067647;
    margin-bottom: 20px;
    padding-bottom: 10px;


}

.princes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prince-item {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.prince-item:hover {
    background-color: #f0f9f4;
    color: var(--primary-color);
}

.prince-item.active {
    color: var(--primary-color);
    font-weight: 700;
    border-right: 3px solid var(--primary-color);
    background-color: transparent;
}

/* --- منطقة المحتوى --- */
.prince-content-area {
    flex: 1;
    position: relative;
}

.prince-detail-card {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    animation: fadeIn 0.5s ease;
}

.prince-detail-card.active {
    display: flex;
}

.prince-text-info {
    width: 100%;
}


.p-main-name {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.3;
}

.p-role-title {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.p-date-badge {
    display: inline-block;
    background-color: #f3f4f6;
    color: #374151;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
}

.p-description {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    text-align: justify;
}



.prince-image-box {
    width: 220px;
    height: 220px;
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    align-self: right;
}

.prince-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- التجاوب مع الجوال --- */
@media (max-width: 900px) {
    .princes-layout-container {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .princes-sidebar {
        width: 100%;
        border-left: none;
        border-bottom: 1px solid #eee;
        padding-left: 0;
        padding-bottom: 20px;
    }

    .prince-detail-card {

        align-items: center;
        text-align: center;
    }

    .prince-image-box {
        width: 100%;
        max-width: 300px;
        height: 350px;
        margin-bottom: 20px;
    }

    .p-description {
        text-align: center;
    }
}




/* ========================================= */
/* التجاوب ( Responsive) */
/* ========================================= */


img {
    max-width: 100%;
    height: auto;
}


body,
html {
    overflow-x: hidden;
}


@media (max-width: 480px) {
    .main-container {
        box-shadow: none;
    }

    .vi-main-title,
    #banner-title,
    .section-header h2,
    .hail-main-title {
        font-size: 24px !important;
        line-height: 1.3;
    }

    .section-desc,
    .vi-description {
        font-size: 14px;
        text-align: justify;
    }
}

@media (max-width: 576px) {
    .weather-info .info-item:not(:first-child) {
        display: none;
    }

    .logo-area img {
        max-height: 45px;
    }

    .mobile-menu-btn {
        padding: 10px;
    }

    .search-container {
        flex-direction: column;
        padding: 10px;
    }

    .search-input {
        width: 100%;
    }

    .search-submit-btn {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .banner-content-wrapper {
        text-align: center;
        margin: 0 auto;
        padding-top: 20px;
    }

    .banner-btn-white {
        width: 100%;
    }

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

    .arrow-btn {
        display: none;
    }

    .partners-container {
        padding: 20px 0;
        gap: 20px;
    }

    .partner-logo {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 20px;
        text-align: center;
    }

    .footer-col h4 {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .social-icons,
    .access-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .legal-logos {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 992px) {

    .geo-row {
        flex-direction: column;
        padding: 20px;
    }

    .geo-text,
    .geo-image {
        width: 100%;
        flex: auto;
    }


    .vision-mission-wrapper {
        flex-direction: column;
    }

    .strat-card {
        min-width: 100%;
    }
}

@media (max-width: 600px) {

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .awards-year-group {
        text-align: center;
    }

    .year-title {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .top-downloads-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }


    .od-tools-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .od-controls-row {
        flex-direction: column;
    }

    .tool-btn,
    .select-trigger {
        width: 100%;
        justify-content: space-between;
    }


    .od-card-body {
        flex-direction: column;
    }

    .card-right-content {
        padding-left: 0;
        margin-top: 15px;
    }

    .od-card-footer-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .file-badges-group {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .captcha-container {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-inputs-row {
        flex-direction: column;
        width: 100%;
    }

    .captcha-input {
        width: 100% !important;
        text-align: center;
    }

    .submit-feedback-btn,
    .submit-btn {
        width: 100%;
        margin-top: 15px;
    }


    .api-box {
        flex-direction: column;
        align-items: flex-start;
        word-break: break-all;
    }

    .api-box .url {
        font-size: 12px;
    }
}

@media (max-width: 992px) {

    .news-body-Details {
        flex-direction: column;
    }

    .news-image-wrapper-Details {
        width: 100%;
        margin-bottom: 20px;
    }

    .news-title-Details {
        font-size: 22px;
    }

    .news-meta-Details {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 900px) {

    .princes-layout-container,
    .amin-profile-container {
        display: flex;
        flex-direction: column;
    }


    .princes-sidebar,
    .amin-sidebar {
        width: 100%;
        border-left: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
        position: static;
    }


    .princes-list {
        display: flex;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 10px;
    }

    .prince-item {
        white-space: nowrap;
        background: #f9f9f9;
        border: 1px solid #eee;
    }


    .prince-detail-card {
        flex-direction: column;
        text-align: center;
    }

    .prince-image-box {
        margin: 0 auto 20px;
    }

    .prince-text-info {
        width: 100%;
    }
}

@media (max-width: 1100px) {
    .map-content-wrap {
        padding: 48px 36px 40px;
    }

    .region-layer img {
        padding-inline: 8px;
    }
}

@media (max-width: 768px) {
    .interactive-map-section {
        padding: 56px 20px;
    }

    .hrda-map-shell,
    .hrda-map-stage,
    .regions__container,
    .regions__bgs {
        min-height: 760px;
        border-radius: 24px;
    }

    .hrda-map-shell::before {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.46) 42%, rgba(0, 0, 0, 0.84) 100%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);
    }

    .region-layer img {
        object-fit: contain;
        object-position: center top;
        padding: 10px 6px 248px;
    }

    .map-content-wrap {
        min-height: 760px;
        align-items: flex-end;
        padding: 24px 16px 24px;
    }

    .map-content {
        width: 100%;
    }

    .region-name {
        font-size: 28px;
    }

    .region-desc {
        font-size: 15px;
        line-height: 1.9;
    }

    .icon-txt {
        gap: 10px;
    }

    .stat-box {
        min-width: calc(50% - 5px);
    }

    .indicator-item.baq { top: 14%; left: 72%; }
    .indicator-item.hael { top: 23%; left: 57%; }
    .indicator-item.shan { top: 30%; left: 67%; }
    .indicator-item.mou { top: 42%; left: 46%; }
    .indicator-item.som { top: 52%; left: 57%; }
    .indicator-item.sul { top: 53%; left: 70%; }
    .indicator-item.gah { top: 41%; left: 57%; }
    .indicator-item.sham { top: 34%; left: 31%; }
    .indicator-item.ha { top: 69%; left: 60%; }
}

@media (max-width: 480px) {
    .hrda-map-shell,
    .hrda-map-stage,
    .regions__container,
    .regions__bgs,
    .map-content-wrap {
        min-height: 820px;
    }

    .region-layer img {
        padding-bottom: 300px;
    }

    .stat-box {
        min-width: 100%;
    }
}
