﻿/* ============================================
   ENHANCED MINISTRY PAGE - RTL/LTR SUPPORT
   ============================================ */

:root {
    --moif-blue-dark: #0D1B3E;
    --moif-blue: #1A2B4A;
    --moif-gold: #C9A227;
    --moif-gold-bright: #F4D03F;
    --moif-white: #FFFFFF;
}

/* Main Container */
.ministry-simple-area {
    background: #ffffff;
    padding: 80px 0;
}

/* Page Title - Attractive light card with no border */
.page-title-simple {
    margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.8) 100%);
    border-radius: clamp(1rem, 2vw, 1.5rem);
    padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
    box-shadow: 0 0.5rem 2rem rgba(13, 27, 62, 0.03), 0 0.125rem 0.5rem rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

    /* Subtle animated background pattern */
    .page-title-simple::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(201, 162, 39, 0.03) 0%, transparent 70%);
        animation: subtleFloat 15s ease-in-out infinite;
        pointer-events: none;
    }

@keyframes subtleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-5%, -5%) scale(1.05);
    }
}

/* Elegant top accent - very subtle */
.page-title-simple::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.1875rem;
    background: linear-gradient( 90deg, transparent 0%, rgba(201, 162, 39, 0.3) 20%, rgba(201, 162, 39, 0.5) 50%, rgba(201, 162, 39, 0.3) 80%, transparent 100% );
}

.page-title-simple:hover {
    box-shadow: 0 0.75rem 2.5rem rgba(13, 27, 62, 0.05), 0 0.25rem 0.75rem rgba(0, 0, 0, 0.03);
    transform: translateY(-0.125rem);
}

/* Content positioning above background */
.page-title-simple > * {
    position: relative;
    z-index: 1;
}

/* RTL Page Title Alignment */
[dir="rtl"] .page-title-simple {
    text-align: right;
}

    [dir="rtl"] .page-title-simple .decree-text {
        display: inline-block;
    }

    [dir="rtl"] .page-title-simple .main-heading {
        text-align: right;
    }

    [dir="rtl"] .page-title-simple .main-desc {
        text-align: right;
        margin-left: 0;
        margin-right: 0;
    }

/* LTR Page Title Alignment */
[dir="ltr"] .page-title-simple {
    text-align: left;
}

    [dir="ltr"] .page-title-simple .decree-text {
        display: inline-block;
    }

    [dir="ltr"] .page-title-simple .main-heading {
        text-align: left;
    }

    [dir="ltr"] .page-title-simple .main-desc {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

/* Row Alignment and Direction */
.ministry-content-row {
    margin-top: 0;
    align-items: flex-start;
}

/* RTL Direction - Sidebar on Right (order 2), Content on Left (order 1) */
[dir="rtl"] .ministry-content-row {
    direction: rtl;
}

[dir="rtl"] .sidebar-column {
    order: 1;
}

[dir="rtl"] .content-column {
    order: 2;
}

/* LTR Direction - Sidebar on Left (order 1), Content on Right (order 2) */
[dir="ltr"] .ministry-content-row {
    direction: ltr;
}

[dir="ltr"] .sidebar-column {
    order: 1;
}

[dir="ltr"] .content-column {
    order: 2;
}

/* Section Display Control */
.section-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

    .section-content.active-section {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Font Sizing */
html {
    font-size: 16px;
}

@media (max-width: 1400px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
}

/* Page Title */
.page-title-simple {
    text-align: center;
    margin-bottom: 60px;
}

.decree-text {
    display: inline-block;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(244, 208, 63, 0.08));
    color: var(--moif-gold);
    padding: clamp(0.5rem, 1.2vw, 0.75rem) clamp(1.25rem, 2.5vw, 1.875rem);
    border-radius: clamp(1.25rem, 2vw, 2rem);
    font-size: clamp(0.75rem, 1.8vw, 0.9375rem);
    font-weight: 700;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.875rem);
    letter-spacing: 0.5px;
    border: 1px solid rgba(201, 162, 39, 0.15);
    transition: all 0.3s ease;
}

    .decree-text:hover {
        background: linear-gradient(135deg, rgba(201, 162, 39, 0.18), rgba(244, 208, 63, 0.12));
        transform: translateY(-0.0625rem);
    }

.main-heading {
    font-size: clamp(1.875rem, 5vw, 3.25rem);
    font-weight: 800;
    color: var(--moif-blue-dark);
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.main-desc {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: #5a6c7d;
    max-width: 100%;
    line-height: 1.75;
    margin: 0;
    font-weight: 400;
}

/* ============================================
   SIDEBAR WIDGET STYLES
   ============================================ */

.widget-sidebar {
    position: sticky;
    top: 20px;
    margin-bottom: 30px;
}

/* RTL Padding - Sidebar on right, so padding on left */
[dir="rtl"] .widget-sidebar {
    padding-right: 0;
    padding-left: 15px;
}

/* LTR Padding - Sidebar on left, so padding on right */
[dir="ltr"] .widget-sidebar {
    padding-left: 0;
    padding-right: 15px;
}

/*.sidebar-widget.categories {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 1rem;
    padding: 2.1875rem 1.875rem;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(201, 162, 39, 0.1);
    transition: all 0.3s ease;
}*/

    .sidebar-widget.categories:hover {
        box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, 0.12);
        border-color: rgba(201, 162, 39, 0.3);
    }

    .sidebar-widget.categories h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--moif-blue-dark);
        margin-bottom: 1.5625rem;
        padding-bottom: 1.25rem;
        border-bottom: 3px solid var(--moif-gold);
        position: relative;
    }

/* RTL Heading */
[dir="rtl"] .sidebar-widget.categories h3 {
    text-align: right;
}

    [dir="rtl"] .sidebar-widget.categories h3::after {
        content: '';
        position: absolute;
        bottom: -3px;
        right: 0;
        width: 3.75rem;
        height: 3px;
        background: var(--moif-gold-bright);
        border-radius: 2px;
    }

/* LTR Heading */
[dir="ltr"] .sidebar-widget.categories h3 {
    text-align: left;
}

    [dir="ltr"] .sidebar-widget.categories h3::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 3.75rem;
        height: 3px;
        background: var(--moif-gold-bright);
        border-radius: 2px;
    }

.sidebar-widget.categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sidebar-widget.categories ul li {
        margin-bottom: 0.75rem;
    }

        .sidebar-widget.categories ul li:last-child {
            margin-bottom: 0;
        }

        .sidebar-widget.categories ul li a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.875rem 1.125rem;
            background: white;
            border-radius: 0.625rem;
            color: #666;
            font-size: 0.9375rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid transparent;
            position: relative;
            overflow: hidden;
        }

/* RTL Link */
[dir="rtl"] .sidebar-widget.categories ul li a {
     text-align: right;
}

    /* Hide LTR icon in RTL mode */
    [dir="rtl"] .sidebar-widget.categories ul li a .ltr-icon {
        display: none;
    }

    /* Show RTL icon in RTL mode */
    [dir="rtl"] .sidebar-widget.categories ul li a .rtl-icon {
        display: inline-block;
    }

/* LTR Link */
[dir="ltr"] .sidebar-widget.categories ul li a {
    flex-direction: row;
    text-align: left;
}

    /* Hide RTL icon in LTR mode */
    [dir="ltr"] .sidebar-widget.categories ul li a .rtl-icon {
        display: none;
    }

    /* Show LTR icon in LTR mode */
    [dir="ltr"] .sidebar-widget.categories ul li a .ltr-icon {
        display: inline-block;
    }

.sidebar-widget.categories ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--moif-gold), var(--moif-gold-bright));
    transition: all 0.3s ease;
    opacity: 0;
}

/* RTL Before Element */
[dir="rtl"] .sidebar-widget.categories ul li a::before {
    right: 0;
    left: auto;
}

/* LTR Before Element */
[dir="ltr"] .sidebar-widget.categories ul li a::before {
    left: 0;
    right: auto;
}

.sidebar-widget.categories ul li a:hover {
    background: #ffffff;
    color: var(--moif-blue-dark);
    border-color: rgba(201, 162, 39, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(-3px);
}

[dir="ltr"] .sidebar-widget.categories ul li a:hover {
    transform: translateX(3px);
}

.sidebar-widget.categories ul li a:hover::before {
    opacity: 1;
}

.sidebar-widget.categories ul li a i {
    font-size: 1.125rem;
    color: var(--moif-gold);
    transition: all 0.3s ease;
}

.sidebar-widget.categories ul li a:hover i {
    color: var(--moif-gold-bright);
}

/* RTL Icon Animation */
[dir="rtl"] .sidebar-widget.categories ul li a:hover .rtl-icon {
    transform: translateX(-5px);
}

/* LTR Icon Animation */
[dir="ltr"] .sidebar-widget.categories ul li a:hover .ltr-icon {
    transform: translateX(5px);
}

/* Active State */
.sidebar-widget.categories ul li a.active {
    background: linear-gradient(135deg, var(--moif-gold), var(--moif-gold-bright));
    color: white;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.3);
}

  

/* Section Spacing */
.content-section {
    margin-bottom: 100px;
    scroll-margin-top: 120px; /* Offset for smooth scrolling */
}

    .content-section:last-child {
        margin-bottom: 0;
    }

/* Timeline items scroll offset */
.timeline-item {
    scroll-margin-top: 120px;
}

/* Force alignment with maximum specificity */
html[dir="ltr"] .section-header-simple .section-simple-heading,
body[dir="ltr"] .section-header-simple .section-simple-heading,
[dir="ltr"] .ministry-simple-area .section-header-simple .section-simple-heading {
    text-align: left !important;
    padding: 30px;
}

html[dir="rtl"] .section-header-simple .section-simple-heading,
body[dir="rtl"] .section-header-simple .section-simple-heading,
[dir="rtl"] .ministry-simple-area .section-header-simple .section-simple-heading {
    text-align: right !important;
    padding: 30px;
}

html[dir="ltr"] .section-simple-heading::after,
body[dir="ltr"] .section-simple-heading::after {
    left: 0 !important;
    right: auto !important;
}

html[dir="rtl"] .section-simple-heading::after,
body[dir="rtl"] .section-simple-heading::after {
    right: 0 !important;
    left: auto !important;
}
/* ============================================
   SECTION 1: MINISTRY TASKS
   ============================================ */
.tasks-simple-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.task-simple-box {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .task-simple-box::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--moif-gold), var(--moif-gold-bright));
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

/* RTL Support */
[dir="rtl"] .task-simple-box::before {
    transform-origin: right;
}

[dir="ltr"] .task-simple-box::before {
    transform-origin: left;
}

.task-simple-box:hover {
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

    .task-simple-box:hover::before {
        transform: scaleX(1);
    }

.task-icon-simple {
    width: 3.75rem;
    height: 3.75rem;
    background: linear-gradient(135deg, var(--moif-gold), var(--moif-gold-bright));
    border-radius: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5625rem;
    box-shadow: 0 0.25rem 0.9375rem rgba(201, 162, 39, 0.3);
}

    .task-icon-simple i {
        font-size: 1.75rem;
        color: white;
    }

.task-simple-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--moif-blue-dark);
    margin-bottom: 0.9375rem;
    line-height: 1.5;
}

/* RTL/LTR Text Alignment */
[dir="rtl"] .task-simple-title,
[dir="rtl"] .task-simple-text {
    text-align: right;
}

[dir="ltr"] .task-simple-title,
[dir="ltr"] .task-simple-text {
    text-align: left;
}

.task-simple-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.9;
}

/* ============================================
   SECTION 2: STRATEGIC FRAMEWORK (TIMELINE)
   ============================================ */
.framework-timeline {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.framework-intro {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 35px;
    border-bottom: 2px dashed rgba(201, 162, 39, 0.3);
}

    .framework-intro h3 {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--moif-blue-dark);
        margin-bottom: 1.25rem;
        line-height: 1.4;
    }

    .framework-intro p {
        font-size: 1.0625rem;
        color: #666;
        line-height: 1.9;
        max-width: 900px;
        margin: 0 auto 0.9375rem;
    }

        .framework-intro p:last-child {
            margin-bottom: 0;
        }

/* Timeline Items */
.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
}

/* RTL Timeline */
[dir="rtl"] .timeline-items {
    padding-right: 45px;
    padding-left: 0;
}

    [dir="rtl"] .timeline-items::before {
        content: '';
        position: absolute;
        right: 18px;
        left: auto;
        top: 20px;
        bottom: 20px;
        width: 3px;
        background: linear-gradient(180deg, var(--moif-gold), var(--moif-gold), transparent);
    }

/* LTR Timeline */
[dir="ltr"] .timeline-items {
    padding-left: 45px;
    padding-right: 0;
}

    [dir="ltr"] .timeline-items::before {
        content: '';
        position: absolute;
        left: 18px;
        right: auto;
        top: 20px;
        bottom: 20px;
        width: 3px;
        background: linear-gradient(180deg, var(--moif-gold), var(--moif-gold), transparent);
    }

.timeline-item {
    position: relative;
    background: white;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

    .timeline-item:hover {
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    }

/* RTL Timeline Dot */
[dir="rtl"] .timeline-item::before {
    content: '';
    position: absolute;
    right: -45px;
    left: auto;
    top: 35px;
    width: 18px;
    height: 18px;
    background: var(--moif-gold);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px var(--moif-gold);
}

[dir="rtl"] .timeline-item:hover {
    transform: translateX(-8px);
}

/* LTR Timeline Dot */
[dir="ltr"] .timeline-item::before {
    content: '';
    position: absolute;
    left: -45px;
    right: auto;
    top: 35px;
    width: 18px;
    height: 18px;
    background: var(--moif-gold);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px var(--moif-gold);
}

[dir="ltr"] .timeline-item:hover {
    transform: translateX(8px);
}

.timeline-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--moif-blue-dark);
    margin-bottom: 0.75rem;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.4;
}

/* RTL Arrow */
[dir="rtl"] .timeline-item h4 {
    flex-direction: row-reverse;
    text-align: right;
}

    [dir="rtl"] .timeline-item h4::before {
        content: "←";
        color: var(--moif-gold);
        font-size: 1.375rem;
    }

/* LTR Arrow */
[dir="ltr"] .timeline-item h4 {
    flex-direction: row;
    text-align: left;
}

    [dir="ltr"] .timeline-item h4::before {
        content: "→";
        color: var(--moif-gold);
        font-size: 1.375rem;
    }

.timeline-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.9;
    margin: 0;
}

[dir="rtl"] .timeline-item p {
    text-align: right;
}

[dir="ltr"] .timeline-item p {
    text-align: left;
}

/* ============================================
   SECTION 3: STRATEGIC OBJECTIVES (ICON GRID)
   ============================================ */
.objectives-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(15rem, 30vw, 20rem), 1fr));
    gap: clamp(1.25rem, 2vw, 1.875rem);
}

.objective-icon-card {
    background: white;
    border-radius: clamp(0.75rem, 1.5vw, 1rem);
    padding: clamp(2rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(201, 162, 39, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: clamp(12.5rem, 20vw, 15rem);
}

    .objective-icon-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 0.25rem;
        background: linear-gradient(90deg, var(--moif-gold), var(--moif-gold-bright));
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

/* RTL Support */
[dir="rtl"] .objective-icon-card::before {
    transform-origin: right;
}

[dir="ltr"] .objective-icon-card::before {
    transform-origin: left;
}

.objective-icon-card:hover {
    box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, 0.15);
    transform: translateY(-0.5rem);
    border-color: rgba(201, 162, 39, 0.3);
}

    .objective-icon-card:hover::before {
        transform: scaleX(1);
    }

/* Icon Wrapper at Top */
.obj-icon-wrapper {
    width: clamp(3.75rem, 8vw, 5rem);
    height: clamp(3.75rem, 8vw, 5rem);
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(244, 208, 63, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 clamp(1.25rem, 2vw, 1.5rem);
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid rgba(201, 162, 39, 0.2);
}

    .obj-icon-wrapper::after {
        display: none;
    }

.objective-icon-card:hover .obj-icon-wrapper {
    background: linear-gradient(135deg, var(--moif-gold), var(--moif-gold-bright));
    transform: scale(1.05);
    border-color: transparent;
}

/* Icon Styling */
.obj-icon-wrapper i {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--moif-gold);
    transition: all 0.4s ease;
}

.objective-icon-card:hover .obj-icon-wrapper i {
    color: white;
    transform: scale(1.1);
}

/* Hide number icon, use font icon instead */
.obj-number-icon {
    display: none;
}

/* Title Styling */
.obj-icon-title {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 700;
    color: var(--moif-blue-dark);
    line-height: 1.6;
    margin: 0;
    min-height: auto;
    display: block;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.objective-icon-card:hover .obj-icon-title {
    color: var(--moif-gold);
}

/* Optional: Add description text support */
.obj-description {
    font-size: clamp(0.8125rem, 1.5vw, 0.875rem);
    color: #666;
    line-height: 1.7;
    margin-top: clamp(0.75rem, 1.5vw, 1rem);
    text-align: center;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets (Portrait) */
@media (max-width: 991px) {
    .ministry-simple-area {
        padding: 3.75rem 0;
    }

    .page-title-simple {
        margin-bottom: 2.5rem;
    }

    /* Reset column order on tablets - sidebar always on top */
    [dir="rtl"] .sidebar-column,
    [dir="ltr"] .sidebar-column {
        order: 1;
    }

    [dir="rtl"] .content-column,
    [dir="ltr"] .content-column {
        order: 2;
    }

    /* Sidebar stays on top on tablets */
    .ministry-content-row {
        margin-top: 0;
    }

    .widget-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2.5rem;
    }

    [dir="rtl"] .widget-sidebar,
    [dir="ltr"] .widget-sidebar {
        padding: 0;
    }

    .sidebar-widget.categories {
        padding: 1.875rem 1.5625rem;
    }

    .tasks-simple-grid {
        grid-template-columns: 1fr;
        gap: 1.5625rem;
    }

    .framework-timeline {
        padding: 2.5rem 1.875rem;
    }

    [dir="rtl"] .timeline-items {
        padding-right: 2.1875rem;
    }

    [dir="ltr"] .timeline-items {
        padding-left: 2.1875rem;
    }

    [dir="rtl"] .timeline-items::before {
        right: 0.9375rem;
    }

    [dir="ltr"] .timeline-items::before {
        left: 0.9375rem;
    }

    [dir="rtl"] .timeline-item::before {
        right: -2.1875rem;
    }

    [dir="ltr"] .timeline-item::before {
        left: -2.1875rem;
    }

    .objectives-icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5625rem;
    }
}

/* Mobile (Landscape & Portrait) */
@media (max-width: 767px) {
    .ministry-simple-area {
        padding: 3.125rem 0;
    }

    .page-title-simple {
        margin-bottom: clamp(2rem, 3vw, 2.5rem);
        padding: clamp(2rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
        border-radius: clamp(0.875rem, 1.5vw, 1rem);
    }

        /* Adjust animation for mobile */
        .page-title-simple::before {
            animation: none; /* Disable animation on mobile for performance */
        }

    /* Reset text alignment for mobile - center everything */
    [dir="rtl"] .page-title-simple,
    [dir="ltr"] .page-title-simple {
        text-align: center;
    }

        [dir="rtl"] .page-title-simple .main-heading,
        [dir="ltr"] .page-title-simple .main-heading {
            text-align: center;
        }

        [dir="rtl"] .page-title-simple .main-desc,
        [dir="ltr"] .page-title-simple .main-desc {
            text-align: center;
        }

    .decree-text {
        font-size: clamp(0.6875rem, 1.5vw, 0.8125rem);
    }

    .main-heading {
        font-size: clamp(1.5rem, 4vw, 2rem);
        letter-spacing: -0.01em;
    }

    .main-desc {
        font-size: clamp(0.9375rem, 2vw, 1.0625rem);
    }

    .ministry-content-row {
        margin-top: 0;
    }

    /* Reset column order on mobile - sidebar always on top */
    [dir="rtl"] .sidebar-column,
    [dir="ltr"] .sidebar-column {
        order: 1;
    }

    [dir="rtl"] .content-column,
    [dir="ltr"] .content-column {
        order: 2;
    }

    .content-section {
        margin-bottom: 0;
    }

    .section-header-simple {
        margin-bottom: 2.5rem;
    }

    /* Sidebar Adjustments */
    .widget-sidebar {
        margin-bottom: 1.875rem;
        position: relative;
        top: 0;
    }

    [dir="rtl"] .widget-sidebar,
    [dir="ltr"] .widget-sidebar {
        padding: 0;
    }

    .sidebar-widget.categories {
        padding: 1.5625rem 1.25rem;
    }

        .sidebar-widget.categories h3 {
            margin-bottom: 1.25rem;
            padding-bottom: 0.9375rem;
        }

        .sidebar-widget.categories ul li {
            margin-bottom: 0.625rem;
        }

            .sidebar-widget.categories ul li a {
                padding: 0.75rem 0.9375rem;
            }

    .task-simple-box {
        padding: 1.875rem 1.5625rem;
    }

    .task-icon-simple {
        width: 3.4375rem;
        height: 3.4375rem;
    }

    .framework-timeline {
        padding: 2.1875rem 1.5625rem;
    }

    .framework-intro {
        margin-bottom: 2.5rem;
        padding-bottom: 1.875rem;
    }

    [dir="rtl"] .timeline-items {
        padding-right: 1.875rem;
    }

    [dir="ltr"] .timeline-items {
        padding-left: 1.875rem;
    }

    [dir="rtl"] .timeline-items::before {
        right: 0.75rem;
    }

    [dir="ltr"] .timeline-items::before {
        left: 0.75rem;
    }

    .timeline-item {
        padding: 1.5625rem 1.25rem;
    }

    [dir="rtl"] .timeline-item::before {
        right: -1.875rem;
        width: 0.875rem;
        height: 0.875rem;
    }

    [dir="ltr"] .timeline-item::before {
        left: -1.875rem;
        width: 0.875rem;
        height: 0.875rem;
    }

    .objectives-icon-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .objective-icon-card {
        padding: 1.875rem 1.5625rem;
    }

    .obj-icon-wrapper {
        width: 4.0625rem;
        height: 4.0625rem;
    }

    .obj-icon-title {
        min-height: 3.125rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .ministry-simple-area {
        padding: 2.5rem 0;
    }

    .page-title-simple {
        margin-bottom: clamp(1.5rem, 2vw, 1.875rem);
        padding: clamp(1.75rem, 3vw, 2rem) clamp(1.25rem, 2vw, 1.5rem);
        border-radius: 0.875rem;
    }

    .decree-text {
        font-size: clamp(0.625rem, 1.2vw, 0.75rem);
        padding: clamp(0.4375rem, 1vw, 0.5625rem) clamp(1rem, 2vw, 1.25rem);
    }

    .main-heading {
        font-size: clamp(1.375rem, 3.5vw, 1.75rem);
        margin-bottom: clamp(0.875rem, 1.5vw, 1.125rem);
    }

    .main-desc {
        font-size: clamp(0.875rem, 1.8vw, 1rem);
        line-height: 1.65;
    }

    .ministry-content-row {
        margin-top: 0;
    }

    .widget-sidebar {
        margin-bottom: 1.5625rem;
    }

    [dir="rtl"] .widget-sidebar,
    [dir="ltr"] .widget-sidebar {
        padding: 0;
    }

    .sidebar-widget.categories {
        padding: 1.25rem 0.9375rem;
    }

        .sidebar-widget.categories h3 {
            margin-bottom: 0.9375rem;
            padding-bottom: 0.75rem;
        }

        .sidebar-widget.categories ul li {
            margin-bottom: 0.5rem;
        }

            .sidebar-widget.categories ul li a {
                padding: 0.625rem 0.75rem;
            }

    .task-simple-box {
        padding: 1.5625rem 1.25rem;
    }

    .framework-timeline {
        padding: 1.875rem 1.25rem;
    }
}

/* Print Styles */
@media print {
    .ministry-simple-area {
        padding: 20px 0;
    }

    .widget-sidebar {
        display: none;
    }

    .task-simple-box,
    .timeline-item,
    .objective-icon-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
/* ============================================
   SECTION 1: INTRODUCTION STYLES
   ============================================ */

#intro .section-content {
    padding: 40px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: 20px;
    border: 1px solid rgba(201, 162, 39, 0.1);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

    #intro .section-content::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(244, 208, 63, 0.08) 0%, transparent 70%);
        border-radius: 50%;
        transform: translate(30%, -30%);
    }

.investment-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--moif-blue-dark);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

[dir="rtl"] .investment-title {
    text-align: right;
}

[dir="ltr"] .investment-title {
    text-align: left;
}

.investment-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--moif-gold), var(--moif-gold-bright));
    border-radius: 2px;
}

[dir="rtl"] .investment-title::after {
    right: 0;
}

[dir="ltr"] .investment-title::after {
    left: 0;
}

.highlight-text {
    display: block;
    background: linear-gradient(135deg, rgba(244, 208, 63, 0.1), rgba(201, 162, 39, 0.05));
    border-left: 4px solid var(--moif-gold);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 12px 12px 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--moif-blue);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

[dir="rtl"] .highlight-text {
    border-left: none;
    border-right: 4px solid var(--moif-gold);
    border-radius: 12px 0 0 12px;
    text-align: right;
}

[dir="ltr"] .highlight-text {
    text-align: left;
}

.reform-period {
    display: block;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid rgba(13, 27, 62, 0.05);
    font-size: 1.05rem;
    line-height: 1.7;
}

[dir="rtl"] .reform-period {
    text-align: right;
}

[dir="ltr"] .reform-period {
    text-align: left;
}

.reform-period strong {
    color: var(--moif-gold);
    font-weight: 700;
}

.investment-bullets {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

    .investment-bullets li {
        background: white;
        padding: 1.25rem 1.5rem;
        border-radius: 12px;
        display: flex;
        align-items: center;
        gap: 1rem;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }

[dir="rtl"] .investment-bullets li {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="ltr"] .investment-bullets li {
    text-align: left;
}

.investment-bullets li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 162, 39, 0.2);
}

.investment-bullets li i {
    color: var(--moif-gold);
    font-size: 1.25rem;
    background: rgba(201, 162, 39, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.coordination-box {
    background: linear-gradient(135deg, rgba(13, 27, 62, 0.03) 0%, rgba(201, 162, 39, 0.03) 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid rgba(201, 162, 39, 0.1);
    position: relative;
    overflow: hidden;
}

    .coordination-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--moif-gold), var(--moif-gold-bright));
    }

.coordination-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--moif-blue-dark);
}

    .coordination-header i {
        color: var(--moif-gold);
        font-size: 1.5rem;
    }

[dir="rtl"] .coordination-header {
     text-align: right;
}

[dir="ltr"] .coordination-header {
    text-align: left;
}

.entities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.entity-badge {
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--moif-blue);
    border: 2px solid rgba(201, 162, 39, 0.2);
    transition: all 0.3s ease;
}

    .entity-badge:hover {
        background: var(--moif-gold);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(201, 162, 39, 0.3);
    }

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pillar {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

    .pillar:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        border-color: var(--moif-gold);
    }

    .pillar i {
        font-size: 2rem;
        color: var(--moif-gold);
        margin-bottom: 1rem;
        display: block;
    }

[dir="rtl"] .pillar {
    text-align: right;
}

[dir="ltr"] .pillar {
    text-align: center;
}

.strategic-role {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    border: 2px solid rgba(13, 27, 62, 0.08);
    position: relative;
}

    .strategic-role::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--moif-blue-dark), var(--moif-blue));
        border-radius: 0 0 16px 16px;
    }

[dir="rtl"] .strategic-role {
    flex-direction: row-reverse;
}

.strategy-icon {
    background: linear-gradient(135deg, var(--moif-blue-dark), var(--moif-blue));
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .strategy-icon i {
        font-size: 1.75rem;
        color: white;
    }

.strategy-content {
    flex: 1;
}

    .strategy-content strong {
        display: block;
        font-size: 1.3rem;
        color: var(--moif-blue-dark);
        margin-bottom: 1rem;
    }

[dir="rtl"] .strategy-content {
    text-align: right;
}

[dir="ltr"] .strategy-content {
    text-align: left;
}

.goals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.goal-tag {
    background: rgba(201, 162, 39, 0.1);
    color: var(--moif-gold);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(201, 162, 39, 0.3);
    transition: all 0.3s ease;
}

    .goal-tag:hover {
        background: var(--moif-gold);
        color: white;
        transform: translateY(-2px);
    }

.vision-statement {
    background: linear-gradient(135deg, rgba(244, 208, 63, 0.05), rgba(201, 162, 39, 0.08));
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    border-left: 4px solid var(--moif-gold);
    position: relative;
    overflow: hidden;
}

[dir="rtl"] .vision-statement {
    border-left: none;
    border-right: 4px solid var(--moif-gold);
    text-align: right;
}

[dir="ltr"] .vision-statement {
    text-align: left;
}

.vision-statement i {
    color: var(--moif-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.vision-statement strong {
    display: block;
    font-size: 1.3rem;
    color: var(--moif-blue-dark);
    margin-bottom: 0.75rem;
}

/* ============================================
   ANIMATIONS FOR INTRODUCTION
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#intro .section-content > * {
    animation: fadeInUp 0.6s ease-out forwards;
}

#intro .investment-title {
    animation-delay: 0.1s;
}

#intro .highlight-text {
    animation-delay: 0.2s;
}

#intro .reform-period {
    animation-delay: 0.3s;
}

#intro .investment-bullets {
    animation-delay: 0.4s;
}

#intro .coordination-box {
    animation-delay: 0.5s;
}

#intro .strategic-role {
    animation-delay: 0.6s;
}

#intro .vision-statement {
    animation-delay: 0.7s;
}

/* ============================================
   RESPONSIVE STYLES FOR INTRODUCTION
   ============================================ */

@media (max-width: 991px) {
    #intro .section-content {
        padding: 30px;
    }

    .investment-bullets {
        grid-template-columns: 1fr;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .strategic-role {
        flex-direction: column;
        text-align: center;
    }

    [dir="rtl"] .strategic-role,
    [dir="ltr"] .strategic-role {
        text-align: center;
    }

    .strategy-icon {
        align-self: center;
    }
}

@media (max-width: 767px) {
    #intro .section-content {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .investment-title {
        font-size: 1.3rem;
    }

    .highlight-text {
        padding: 1rem;
        font-size: 1rem;
    }

    .coordination-box {
        padding: 1.5rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .strategic-role {
        padding: 1.5rem;
        flex-direction: column;
    }

    .goals {
        justify-content: center;
    }

    .vision-statement {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    #intro .section-content {
        padding: 20px 15px;
    }

    .investment-title {
        font-size: 1.2rem;
    }

    .entity-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .goal-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ============================================
   ENHANCE EXISTING SECTION HEADERS
   ============================================ */

.section-header-simple {
    margin-bottom: 3.5rem;
    position: relative;
}

.section-simple-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--moif-blue-dark);
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

    .section-simple-heading::after {
        content: '';
        position: absolute;
        bottom: 0;
        height: 4px;
        width: 80px;
        background: linear-gradient(90deg, var(--moif-gold), var(--moif-gold-bright));
        border-radius: 2px;
    }

[dir="rtl"] .section-simple-heading::after {
    right: 0;
}

[dir="ltr"] .section-simple-heading::after {
    left: 0;
}

.section-header-simple .main-desc {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #5a6c7d;
    margin-top: 1.5rem;
}

/* ============================================
   IMPROVE TASK BOXES
   ============================================ */

.task-simple-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.task-icon-simple {
    transition: all 0.3s ease;
}

.task-simple-box:hover .task-icon-simple {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(201, 162, 39, 0.4);
}

/* ============================================
   IMPROVE TIMELINE
   ============================================ */

.timeline-item h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .timeline-item h4::before {
        font-weight: 900;
        transition: transform 0.3s ease;
    }

.timeline-item:hover h4::before {
    transform: translateX(5px);
}

[dir="rtl"] .timeline-item:hover h4::before {
    transform: translateX(-5px);
}

/* ============================================
   IMPROVE OBJECTIVE CARDS
   ============================================ */

.obj-icon-wrapper {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.objective-icon-card:hover .obj-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(201, 162, 39, 0.25);
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */

.scroll-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--moif-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(201, 162, 39, 0.3);
}

    .scroll-indicator.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-indicator:hover {
        background: var(--moif-gold-bright);
        transform: translateY(-5px);
    }

[dir="rtl"] .scroll-indicator {
    right: auto;
    left: 30px;
}

/* ============================================
   PAGE LOAD ANIMATION
   ============================================ */

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ministry-simple-area {
    animation: pageLoad 0.6s ease-out;
}

/* ============================================
   IMPROVE SCROLL BEHAVIOR
   ============================================ */

.section-content {
    scroll-margin-top: 100px;
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}