/* opendata.aspx */

/* Use regular family */
        body {
            font-family: "regularFont", Arial, sans-serif;
            font-weight: 400;
        }

        /* Use medium family for specific elements */
        p.lead {
            font-family: "mediumFont", Arial, sans-serif;
            font-weight: 500;
        }

        /* Use semibold family for emphasis */
        strong {
            font-family: "semiBoldFont", Arial, sans-serif;
            font-weight: 600;
        }

        /* Use bold family for headings */
        h1, h2 {
            font-family: "boldFont", Arial, sans-serif;
            font-weight: 700;
        }

.about-us-image-card::before {
            bottom: 0.5rem;
            inset-inline-end: -2.1875rem;
            width: 4.375rem;
            height: calc(100% - 50px);
            background-image: url(../images/about-us-image-card-pattern.png);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: left bottom;
        }

        .about-us-image-card::before, .about-us-image-card::after {
            content: "";
            position: absolute;
            z-index: -1;
        }

        .vision-and-mission-image-card::after {
            bottom: -3.4375rem;
            inset-inline-start: -4.25rem;
            width: 23.75rem;
            height: 28.75rem;
            background-color: rgba(145, 182, 187, 0.24);
            border-end-start-radius: 2.5rem;
        }

        


        .vision-and-mission-image-card > img {
            width: 100%;
            height: 31.25rem !important;
            object-fit: cover;
            border-start-start-radius: 2.5rem;
        }

        .section-title {
            font-size: calc(1.75rem + 0.8vw);
            color: #161616;
            text-align: right !important;
            margin-bottom: 0.5rem;
        }

        .about-us-image-card > img {
            width: 100%;
            height: 28.125rem !important;
            object-fit: cover;
            border-radius: 0.875rem;
        }

        .clr-light {
            color: #161616 !important;
        }

        .section-description {
            font-size: 18px;
            color: var(--clr-secondary);
            text-align: start;
            margin-bottom: 0;
        }

        /* Button greens/hover states for this page come from the global DGA
           ramp (styles.min.css .btn-primary/.btn-outline-primary,
           StyleSheet.css .btn-cta-*/a.btn-ssp-style). The dead .btn-green
           copy, the bootstrap-identical .btn:hover copy and the transparent
           .btn-primary:hover override were removed in the 2026-09-14
           CTA-unification round. */
        .py-2 {
            padding-top: .5rem !important;
            padding-bottom: .5rem !important;
        }

        .px-3 {
            padding-right: 1rem !important;
            padding-left: 1rem !important;
        }

        #main-content ul {
            display: block;
            list-style-type: disc;
            margin-block-start: 1em;
            margin-block-end: 1em;
            padding-inline-start: 40px;
            unicode-bidi: isolate;
        }

        tbody, td, tfoot, th, thead, tr {
            border-color: inherit;
            border-style: solid;
            border-width: 0;
            font-family: ibm;
            font-family: regularFont;
            font-size: 16px !important;
            padding: 5px;
        }

.card-container {
            display: flex;
            justify-content: center; /* centers the cards horizontally */
            gap: 20px; /* space between cards */
            padding: 20px;
        }

        .card {
            width: 250px;
            height: 200px;
            background-color: #f0f0f0;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: sans-serif;
            --grad: #198754, #18345d;
            padding: 1.5rem;
            background-image: linear-gradient(to bottom left, #e0e4e5, #f2f6f9);
            border-radius: 0.5rem;
            /* gap: 0.5rem; */
            display: grid;
            grid-template:
                'title icon'
                'content content'
                'bar bar' / 1fr auto;
            font-family: system-ui, sans-serif;
            color: #444447;
            text-align: center !important;
        }

        .w-16 {
            width: 4rem !important;
        }

        .h-16 {
            height: 4rem !important;
        }

        .mx-auto {
            margin-left: auto !important;
            margin-right: auto !important;
        }

        img, video {
            max-width: 100%;
            height: auto;
        }

        .justify-center {
            justify-content: center;
        }

        .items-center {
            align-items: center;
        }

        .card:hover {
            box-shadow: 0 0 6px rgba(35, 173, 278, 1);
        }

        .title {
            font-size: 18px;
            grid-area: title;
            align-self: end;
            text-transform: uppercase;
            font-weight: 500;
            word-break: break-all;
        }

        /* Scoped to page content bare `a` rules leak into the master
           header/footer on open-data pages (they also fight the a11y toolbar). */
        :where(#main-content) a {
                color: #1b8354;
                text-decoration: none;
                transition: color .3s ease-in-out;
                font-family: 'regularFont';
                font-size: 16px;
        }
         :where(#main-content) a:active {
             color: #000000;
     outline: 2px solid #161616 !important;
 border-radius: 2px;
 }
        :where(#main-content) a:hover {
           text-decoration: underline;
        }
        .a:visited {
            color: #1b8354;
            outline: 2px solid #161616 !important;
            border-radius: 2px;
        }

        @media (max-width: 768px) {
            .opendata-title {
                font-size: 20px;
                color: #166a45ba;
            }

            .opendata-content {
                font-size: 16px !important;
                line-height: 35px !important;
                text-align: justify !important;
                padding-top: 20px !important;
                font-family: regularFont;
                color: #757575 !important;
            }
        }

        .opendata-title {
            font-size: 28px;
            color: #166a45ba;
        }

        .opendata-content {
            font-size: 16px;
            line-height: 35px !important;
            text-align: justify;
            padding-top: 20px;
            font-family: regularFont;
            color: #757575;
        }

        table, th, td {
            border: 1px solid gray; /* Sets a 1px solid gray border on all elements */
        }

        th, td {
            padding: 8px; /* Optional: Adds space between content and borders for readability */
            text-align: left; /* Optional: Aligns text to the left */
        }

.breadcrumb {
            direction: rtl;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            font-size: 14px;
            color: #333;
            padding: 8px 12px;
            background: #f3fcf6 !important;
            padding-right: 5%;
        }

/* --- GLOBAL RESETS & LAYOUT FIXES --- */
    :root {
        --ss-primary: #1B8354;
        --ss-primary-light: #ECFDF3;
        --ss-primary-dark: #067647;
        --ss-text-main: #161616;
        --ss-text-secondary: #4B5563;
        --ss-border: #D2D6DB;
    }

    body {
        font-family: boldFont;
        background-color: #fff;
        overflow-x: clip; /* Prevents horizontal scroll breakage */
    }

    /* Main Wrapper to ensure no container bleed */
    .home-page-desktop-ar-dga-version {
        width: 100%;
        overflow-x: clip;
        display: flex;
        flex-direction: column;
    }

    /* --- 1. SHARED BUTTON STYLE: canonical definition now lives in
       StyleSheet.css (global a.btn-ssp-style, DGA 3-state green ramp).
       This local outline copy was superseded and removed in the 2026-09-14
       CTA-unification round. --- */

    /* --- 2. ABOUT US & COUNTER SECTION STYLES (Fixed Alignment) --- */
    .about-us-section {
        padding: 60px 20px;
        background-color: #fff;
        position: relative;
    }

    .section {
        max-width: 1280px;
        margin: 0 auto;
        width: 100%;
    }

    .content3 {
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: flex-end; /* RTL alignment */
        text-align: right;
    }

    .aboutus-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 20px;
    }

    .title-content {
        color: var(--text-text-display, #1f2a37);
        font-size: 32px;
        font-weight: 700;
        margin: 0;
    }

    .frame-3 {
        display: flex;
        flex-direction: row;
        gap: 24px;
        align-items: flex-start;
        width: 100%;
    }

    .frame-3-content {
        color: #4B5563;
        font-size: 16px;
        line-height: 1.6;
        flex: 1;
        direction: rtl;
    }

    /* Counter Container Fixes */
    .counter-container {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        width: 100%;
        margin-top: 40px;
        flex-wrap: wrap;
    }

    .counter.card {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 16px;
        padding: 24px;
        flex: 1 1 200px; /* Responsive flex */
        display: flex;
        align-items: center;
        gap: 15px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        transition: transform 0.3s;
        min-width: 250px;
    }

    .counter.card:hover {
        transform: translateY(-5px);
        border-color: var(--ss-primary);
    }

    .featured-icon {
        width: 60px;
        height: 60px;
        background: var(--ss-primary-light);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .featured-icon img {
        width: 30px;
        height: 30px;
    }

    .content4 {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .counter-display {
        font-size: 28px;
        font-weight: 800;
        color: var(--ss-primary);
    }

    .counter-range {
        font-size: 14px;
        color: #666;
        font-weight: 500;
    }

    @media (max-width: 768px) {
        .frame-3 { flex-direction: column; }
        .counter-container { flex-direction: column; }
        .counter.card { width: 100%; }
    }

    /* --- 3. SERVICES WIDGET STYLES (Scoped & Isolated) --- */
    #ss-widget-container {
        width: 100%;
       
        box-sizing: border-box;
        padding: 60px 20px;
        position: relative;
        /* Prevent flex issues with parent */
        flex-shrink: 0; 
    }

    #ss-widget-container *,
    #ss-widget-container *::before,
    #ss-widget-container *::after {
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
    }

    #ss-widget-container .ss-inner-wrapper {
        display: flex;
        flex-direction: column;
        max-width: 1280px;
        margin: 0 auto;
        position: relative;
    }

    /* Header */
    #ss-widget-container .ss-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 40px;
    }

    #ss-widget-container .ss-title {
        font-size: 36px;
        font-weight: 800;
        color: #161616;
        margin: 0 0 8px 0;
    }
    
    #ss-widget-container .ss-desc {
        font-size: 16px;
        color: #4B5563;
        margin: 0;
        max-width: 600px;
        line-height: 1.6;
    }

    /* Carousel */
    #ss-widget-container .ss-viewport {
        position: relative;
        width: 100%;
        margin-top: 10px;
    }

    #ss-widget-container .ss-carousel {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        padding: 10px 4px 50px 4px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        scroll-behavior: smooth;
        align-items: stretch;
    }
    
    #ss-widget-container .ss-carousel::-webkit-scrollbar { display: none; }

    /* Cards */
    #ss-widget-container .ss-card {
        flex: 0 0 300px;
        background: #ffffff;
        border: 1px solid var(--ss-border);
        border-radius: 16px;
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        scroll-snap-align: start;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        
    }

    #ss-widget-container .ss-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        border-color: var(--ss-primary);
    }

    #ss-widget-container .ss-icon-wrap {
        width: 56px;
        height: 56px;
        background-color: var(--ss-primary-light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--ss-primary);
        font-size: 24px;
        transition: all 0.3s;
    }

    #ss-widget-container .ss-card:hover .ss-icon-wrap {
        background-color: #f3f4f6;
        color: #fff;
    }

    #ss-widget-container .ss-card-title {
        font-size: 18px;
        font-weight: 700;
        color: #1B8354;
        margin: 0 0 8px 0;
    }

    #ss-widget-container .ss-card-text {
        font-size: 14px;
        color: #4B5563;
        line-height: 1.5;
        margin: 0 0 16px 0;
        flex-grow: 1;
       font-family: regularFont;
    }

    #ss-widget-container .ss-tags {
        display: flex;
        gap: 8px;
        margin-bottom: 16px;
    }

    #ss-widget-container .ss-tag {
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 600;
    }
    
    .tag-green { background: #ECFDF3; color: #065F46; }
    .tag-blue { background: #EFF8FF; color: #175CD3; }
    .tag-orange { background: #FFF7ED; color: #C43100; }
    .tag-gray { background: #F3F4F6; color: #6C737F; }

    #ss-widget-container .ss-actions {
        display: flex;
        justify-content: flex-end;
        margin-top: auto;
    }

    /* Dots */
    #ss-widget-container .ss-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: -35px;
        position: relative;
        z-index: 5;
    }

    #ss-widget-container .ss-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #E5E7EB;
        cursor: pointer;
        transition: all 0.3s;
    }

    #ss-widget-container .ss-dot.active {
        width: 24px;
        border-radius: 8px;
        background-color: var(--ss-primary);
    }

    @media (max-width: 768px) {
        #ss-widget-container .ss-card { flex: 0 0 280px; }
        #ss-widget-container .ss-header { flex-direction: column; align-items: flex-start; }
    }

    /* --- 4. NEWS SECTION STYLES --- */
    .articles-and-news-section {
        padding: 60px 20px;
        background-color: #fff;
    }

    .news-section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
        flex-wrap: wrap;
        gap: 20px;
        width:100%;
    }
    .fa, .far, .fas {
        font-family: "Font Awesome 5 Free" !important;
        }
    .section-title-text {
        font-size: 32px;
        font-weight: 700;
        color: #161616;
        margin: 0;
    }

    .news-item {
        display: flex;
        flex-direction: column;
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid var(--ss-border);
        padding: 0; /* Image full width */
        gap: 5px;
        height: 100%;
        transition: all 0.3s ease;
        overflow: hidden;
        padding:10px;
    }

    .news-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        border-color: var(--ss-primary);
    }

    .news-item__image {
        position: relative;
        width: 100%;
        height: 220px;
        overflow: hidden;
    }

    .news-item__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .news-item:hover .news-item__image img {
        transform: scale(1.05);
    }

    .news-item__caption {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        gap: 12px;
    }

    .news-item__title {
        font-size: 16px;
        font-weight: 700;
        color: #000;
        line-height: 1.5;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 60px; /* Force height for alignment */
        font-family: boldFont;
    }

    .actionsbtn {
        margin-top: auto;
        display: flex;
        justify-content: flex-end;
        padding-top: 10px;
    }

    /* --- 5. PARTNERS SCROLLER STYLES --- */
    .Partners-and-Beneficiaries {
        padding: 60px 20px;
        background: #f9fafb;
        overflow: hidden;
    }

    .partners-showcase {
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        background: transparent;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .partner-block {
        width: 100%;
    }

    .section-title {
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 20px;
        color: #2c3e50;
        position: relative;
        padding-bottom: 10px;
        text-align: right;
        font-family: boldFont;
    }
    .section {
            display: flex;
            flex-direction: column;
            gap: var(--global-spacing-4xl, 32px);
            align-items: center;
            justify-content: center;
            align-self: stretch;
            flex-shrink: 0;
            position: relative;
            direction: rtl;
        }
    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 60px;
        height: 4px;
        background-color: #ffffff2f;
        border-radius: 2px;
        font-family: boldFont;
    }

    .scroller-wrapper {
        display: flex;
        align-items: center;
        gap: 15px;
        position: relative;
    }

    .logo-track {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding: 10px 5px;
        width: 100%;
        scrollbar-width: none;
    }

    


    .partner-card {
        width: 199px;
        height: 120px;
        background-color: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .partner-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-color: #1B8354;
    }

    .partner-card img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
    }

    .nav-btn {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        border: 1px solid #ddd;
        background: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        flex-shrink: 0;
        color: #555;
        z-index: 2;
    }

    .nav-btn:hover {
        background-color: #1B8354;
        border-color: #1B8354;
        color: #fff;
        transform: scale(1.1);
    }
    .nav-btn:hover .nav-btn svg {
        width: 20% !important;
        height: 20%;
        fill: currentColor;
        transform: rotate(180deg);
    }
    .nav-btn svg {
        width: 20%;
        height: 20%;
        fill: currentColor;
        transform: rotate(180deg); /* Adjusted for RTL */
    }
    

    .nav-btn.scroll-right svg {
        transform: rotate(180deg);
    }

    @media (max-width: 768px) {
        .partners-showcase { padding: 0; }
        .partner-card { min-width: 130px; height: 100px; }
    }

    /* Hero Section */
    .hero-section {
        position: relative;
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    .hero-section__video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .hero-section__caption {
        position: absolute;
        bottom: 40px;
        left: 0;
        width: 100%;
        color: #fff;
        z-index: 10;
    }
    main {
            display: flex;
            flex-direction: column;
            min-height: 0vh;
        }
    .aboutus-sub-title {
            color: #104631;
            text-align: right;
            font-family: var(--font-family-font-family-display);
            font-size: 18px;
            line-height: var(--line-height-display-line-heights-display-sm, 38px);
            font-weight: 700;
            position: relative;
            width: 100%; /* */
        }

table {
      width: 80%;
      border-collapse: collapse;
      margin-bottom: 12px;
    }

    th, td {
      border: 1px solid #ccc;
      padding: 10px;
      color: #757575;
    }

    th {
      background: #1b8354;
      color: #fff;
      text-align: center !important;
      font-weight: bold;
    }

    td a {
      color: #1b8354;
      font-weight: bold;
      text-decoration: none;
    }

    .pagination {
      display: flex;
      gap: 10px;
      align-items: center;
      font-size: 16px;
justify-content: flex-start;
    }

    .pagination button {
      padding: 6px 14px;
      cursor: pointer;
      background: #1b8354 !important;
      color: #fff;
      border: none;
      border-radius: 4px;
    }

    /* DGA 3-state ramp for table pagination (2026-09-14 CTA-unification). */
    .pagination button:hover:not(:disabled) {
      background: #166a45 !important;
      color: #fff;
    }

    .pagination button:active:not(:disabled) {
      background: #104631 !important;
      color: #fff;
    }

    .pagination button:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }




        


        


        


        


        .section-title {
            font-size: calc(1.75rem + 0.8vw);
            color: #161616;
            margin-bottom: 0.5rem;
        }

        


        


        


        


        


        


        


        


        


        


        





        


        


        


        


        


        


        


        


        


        

         

        

        


        @media (max-width: 768px) {
            .opendata-title {
                font-size: 20px;
            }

            .opendata-content {
                font-size: 16px !important;
                line-height: 35px !important;
                text-align: justify !important;
                padding-top: 20px !important;
                font-family: regularFont;
            }

            .card-container {
                display: grid;
                justify-content: center;
                gap: 20px;
                padding: 20px;
            }
        }

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

        .opendata-content {
            font-size: 16px;
            line-height: 35px !important;
            text-align: justify;
            padding-top: 20px;
            font-family: regularFont;
        }

        


        


th, td {
    padding: 8px; /* Optional: Adds space between content and borders for readability */
    /* text-align: left; */ /* Optional: Aligns text to the left Commented out on 18th of May 2026*/
}

        





    


    


    /* --- 1. SHARED BUTTON STYLE: canonical definition now lives in
       StyleSheet.css (global a.btn-ssp-style, DGA 3-state green ramp).
       This local outline copy was superseded and removed in the 2026-09-14
       CTA-unification round. --- */

    


    

    
    


    


    


    .content3 {
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: flex-end; /* RTL alignment */
    }

    


    


    


    .frame-3-content {
        color: #4B5563;
        font-size: 16px;
        line-height: 1.6;
        flex: 1;
    }

    


    


    


    

    
    


    


    


    


    


    


    


    


    


    

    
    


    


    

    
    


    


    


    


    


    


    


    


    

    
    

    

    

    


    


    


    


    


    


    


    

    

    


    


    


    


    


    


    


    


    


    


    


    


    .section-title {
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 20px;
        color: #2c3e50;
        position: relative;
        padding-bottom: 10px;
        font-family: boldFont;
    }
    .section {
            display: flex;
            flex-direction: column;
            gap: var(--global-spacing-4xl, 32px);
            align-items: center;
            justify-content: center;
            align-self: stretch;
            flex-shrink: 0;
            position: relative;
        }
    


    


    


    


    


    


    


    


    

    

    

    

    


    


    

    

    

    

    .aboutus-sub-title {
            color: #104631;
            font-family: var(--font-family-font-family-display);
            font-size: 18px;
            line-height: var(--line-height-display-line-heights-display-sm, 38px);
            font-weight: 700;
            position: relative;
            width: 100%; /* */
        }

        .form-container {
            background: var(--white);
            width: 100%;
            max-width: 80%; /* Restored width to ensure horizontal scaling/grid */

            margin: 0 auto; /* Centers the form within the Master Page content area */

            padding: 25px;
            border-radius: var(--border-radius);
            /* Clean border instead of heavy shadow */

            border: 1px solid #e0e0e0;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            direction: rtl;
        }

        .required {
            color: #d92d20;
            margin-right: 4px;
            font-family: regularfont;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        select,
        textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ccc;
            border-radius: 6px;
            font-family: 'Tajawal', sans-serif;
            font-size: 1rem;
            background-color: #fafafa;
            direction: rtl;
        }
        label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #161616;
    display: block;
    margin-bottom: 8px;
    font-family: 'regularFont';
}
        .form-control, input[type="text"], .form-select {
    font-size: 16px;
    color: #000;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #9da4ae;
    padding-block: 0.75rem;
    border-radius: 4px !important;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    text-align: right;
    font-family: 'regularFont';
    margin: 0px;
    margin-bottom: 16px;
    padding: 8px 16px;
    outline-offset: 0px;
}
        .form-control:focus, input[type="text"]:focus, .form-select:focus
 {
    box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06), 0 2px 0 #1b8354;
    transition: width 0.3s ease-out;
}

        /* Responsive */

        @media (max-width: 768px) {

            .btn {
                width: 100%;
            }
        }

        @media (max-width: 1200px) {
        }

                        @keyframes slideUp {
                        }

                        .success-icon {
                            font-size: 80px;
margin-bottom: 20px;
animation: bounce 1s ease infinite alternate;
align-items: center;
text-align: center;
                        }

                        @keyframes bounce {
                        }

                        .success-content {
                            padding: 40px 30px;
                            direction: rtl;
                        }

                        .confirmation-message {
                            background: #f8f9fa;
                            border-radius: 12px;
                            padding: 25px;
                            margin-bottom: 30px;
                            border-right: 5px solid #1b8354;
                        }

                            .confirmation-message h2 {
                                color: #dba102;
                                margin-bottom: 15px;
                                font-size: 1.5rem;
                            }

@media (max-width: 768px) {
             
                                .success-content {
                                    padding: 30px 20px;
                                }
                            }

/* ===== ENGLISH LTR OVERRIDES FOR OPENDATA ===== */
[dir="ltr"] .form-container {
    direction: ltr;
}

[dir="ltr"] .form-grid {
    direction: ltr;
}

[dir="ltr"] .form-group {
    direction: ltr;
}

[dir="ltr"] label {
    direction: ltr;
}

[dir="ltr"] fieldset {
    direction: ltr;
}

[dir="ltr"] legend {
    direction: ltr;
}

[dir="ltr"] .form-control,
[dir="ltr"] input[type="text"],
[dir="ltr"] .form-select {
    text-align: left;
    direction: ltr;
}

[dir="ltr"] .required {
    margin-left: 4px;
    margin-right: 0;
}

[dir="ltr"] .breadcrumb {
    direction: ltr;
    padding-left: 5%;
    padding-right: 12px;
}

/* Opendatarequestform-en.aspx */

.btn-secondary {
            background-color: transparent !important;
            border: 2px solid #1b8354 !important;
            color: #1b8354 !important;
        }
        .btn-secondary:hover {
            background-color: #166a45 !important;
            border-color: #166a45 !important;
            color: #ffffff !important;
        }
        .btn-secondary:active {
            background-color: #104631 !important;
            border-color: #104631 !important;
            color: #ffffff !important;
        }
        /* .btn-primary normal/hover/pressed come from the global DGA ramp in
           styles.min.css (#1b8354/#166a45/#104631). */

        main {
            padding: 20px;
        }

        .form-container {
            background: var(--white);
            width: 100%;
            max-width: 80%; /* Restored width to ensure horizontal scaling/grid */

            margin: 0 auto; /* Centers the form within the Master Page content area */

            padding: 25px;
            border-radius: var(--border-radius);
            /* Clean border instead of heavy shadow */

            border: 1px solid #e0e0e0;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
        }

        .page-title {
            color: #1b8354 !important;
            text-align: center;
            margin-bottom: 30px;
            font-size: 1.8rem;
            border-bottom: 2px solid #1b8354 !important; /* Green underline */

            display: inline-block;
            padding-bottom: 10px;
            position: relative;
            left: 8%;
            transform: translateX(-50%);
        }

        /* --- Form Elements --- */

        fieldset {
            border: 1px solid #e0e0e0;
            border-radius: var(--border-radius);
            padding: 25px;
            margin-bottom: 25px;
        }

        legend {
            padding: 0 10px;
            font-weight: 700;
            color: #1b8354 !important;
            font-size: 1.1rem;
        }

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

        .form-group {
            margin-bottom: 15px;
            position: relative;
        }

            .form-group.full-width {
                grid-column: 1 / -1;
            }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--text-color);
        }

        .required {
            color: var(--error-color);
            margin-right: 4px;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        select,
        textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ccc;
            border-radius: 6px;
            font-family: 'Tajawal', sans-serif;
            font-size: 1rem;
            background-color: #fafafa;
        }

            input:focus,
            select:focus,
            textarea:focus {
                outline: none;
                border-color: var(--primary-color); /* Green focus */

                background-color: var(--white);
            }


        /* Captcha Styling */

        .captcha-container {
            display: flex;
            gap: 15px;
            align-items: center;
            background: #f8f9fa;
            padding: 15px;
            border-radius: 6px;
        }

        .captcha-display {
            background: #1b8354 !important; /* Green background */

            color: #fff;
            padding: 10px 20px;
            font-family: 'Courier New', monospace;
            font-weight: bold;
            letter-spacing: 3px;
            border-radius: 4px;
            user-select: none;
        }

        .refresh-captcha {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 1.2rem;
            color: var(--primary-color);
        }

        /* Buttons */

        .btn-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        .btn {
            padding: 12px 35px;
            font-size: 1.1rem;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-family: 'Tajawal', sans-serif;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        /* .btn-primary/.btn-secondary states are defined once near the top of
           this file (DGA ramp / 3-state outline). The duplicate
           var(--primary-color)/var(--white) copies were no-ops (tokens
           undefined) and were removed in the 2026-09-14 CTA-unification. */

        /* Validation & Feedback */

        .error-msg {
            color: var(--error-color);
            font-size: 0.85rem;
            margin-top: 5px;
            display: none;
        }

        input.invalid, select.invalid, textarea.invalid {
            border-color: var(--error-color);
        }

        /* Success Modal - Static */

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            pointer-events: none;
        }

            .modal-overlay.active {
                opacity: 1;
                pointer-events: auto;
            }

        .success-card {
            background: white;
            padding: 40px;
            border-radius: 12px;
            text-align: center;
            max-width: 400px;
            width: 90%;
            border-top: 5px solid var(--primary-color);
        }

        .checkmark-circle {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--secondary-color);
            margin: 0 auto 20px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .checkmark-svg {
            width: 50px;
            height: 50px;
            stroke: var(--primary-color);
            stroke-width: 4;
            stroke-linecap: round;
            stroke-linejoin: round;
            fill: none;
        }

        /* Responsive */

        @media (max-width: 768px) {

            .form-container {
                padding: 20px;
                max-width: 100%;
            }

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

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

            

        }

        @media (max-width: 1200px) {

            .container, .container-fluid {
                padding-inline: 0.25rem;
            }
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            font-size: 14px;
            color: #333;
            padding: 8px 12px;
            background: #f3fcf6 !important;
            padding-right: 5%;
        }

        hr {
            margin: 0px !important;
            color: #f3fcf6 !important;
            border: 0;
            border-top: var(--bs-border-width) solid;
            opacity: .25;
            /* background: #f3fcf6; */
        }
        /* .btn-secondary 3-state outline is defined once near the top of this
           file — duplicate removed (2026-09-14 CTA-unification). */

.btn {
    padding: 12px 35px;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
/* .btn-primary normal/hover/pressed come from the global DGA ramp in
   styles.min.css (#1b8354/#166a45/#104631) — the file-local mint override
   was removed in the 2026-09-14 CTA-unification round. */
                .captcha-control .captcha-img .captchaimg {
            width: 200px; max-width: 100%;
            border-radius: 4px;
            overflow: hidden;
            border: solid 1px #000;
            height: 50px !important;
            }
    
        .captcha-control .captcha-img .refreshcaptcha {
            position: static;
            inset-inline-end: 0;
            inset-block: 0;
            margin: auto;
            width: 64px;
            height: 32px;
        }
        .form-label {
        font-family: boldFont;
        font-size: 16px;
        color: var(--clr-primary);
        }

.success-container {
                                background: white;
                                border-radius: 10px;
                                box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
                                width: 100%;
                                max-width: auto;
                                overflow: hidden;
                                animation: slideUp 0.6s ease-out;
                            }

                            @keyframes slideUp {
                                from {
                                    opacity: 0;
                                    transform: translateY(30px);
                                }
                                to {
                                    opacity: 1;
                                    transform: translateY(0);
                                }
                            }

                            .success-header {
                                background: linear-gradient(135deg, #1b8354 100%, #f3fcf6 70%);
                                color: white;
                                padding: 40px 30px;
                                text-align: center;
                                position: relative;
                            }

                            .success-icon {
                                font-size: 80px;
                                margin-bottom: 20px;
                                animation: bounce 1s ease infinite alternate;
                            }

                            @keyframes bounce {
                                from {
                                    transform: translateY(0);
                                }
                                to {
                                    transform: translateY(-10px);
                                }
                            }

                            .success-header h1 {
                                font-size: 2.8rem;
                                margin-bottom: 10px;
                                font-weight: 700;
                            }

                            .success-header p {
                                font-size: 1.2rem;
                                opacity: 0.9;
                            }

                            .success-content {
                                padding: 40px 30px;
                            }

                            .confirmation-message {
                                background: #f8f9fa;
                                border-radius: 12px;
                                padding: 25px;
                                margin-bottom: 30px;
                                border-left: 5px solid #1b8354;
                            }

                            .confirmation-message h2 {
                                color: #2c3e50;
                                margin-bottom: 15px;
                                font-size: 1.5rem;
                            }

                            .confirmation-message p {
                                color: #546e7a;
                                line-height: 1.6;
                                font-size: 1.05rem;
                            }

                            @media (max-width: 768px) {
                                .success-container {
                                    border-radius: 15px;
                                }
            
                                .success-header {
                                    padding: 30px 20px;
                                }
            
                                .success-header h1 {
                                    font-size: 2.2rem;
                                }
            
                                

                            }
    

        .vision-and-mission-image-card::before, .vision-and-mission-image-card::after {
            content: "";
            position: absolute;
            z-index: -1;
        }
    

        table {
            border-collapse: collapse; /* Collapses the double borders into a single border */
            /*width: 100%;*/ /* Optional: Makes the table span the full width of its container */
        }
    

    .logo-track::-webkit-scrollbar { display: none; }
    
    .nav-btn svg:hover {
        width: 20%;
        height: 20%;
        fill: currentColor;
        transform: rotate(180deg); /* Adjusted for RTL */
    }

/* ===== Remaining pages updates (2026-09-15) =====
   DGA card standards on the open-data cards: radius 16 kept, padding 24->32, gap 16->8.
   Mirrors the same block appended to the opendata.aspx inline styles (AR page is inline-only). */
#ss-widget-container .ss-card {
    padding: 32px;
    gap: 8px;
}
/* ===== End ===== */

@media (max-width: 768px) {
    #ss-widget-container .ss-carousel {
        flex-direction: column;
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 16px;
        padding-bottom: 16px;
    }

    #ss-widget-container .ss-card {
        flex: 0 0 auto;
        width: 100%;
    }

    #ss-widget-container .ss-dots {
        display: none;
    }
}

