/* ============================================================
   services.css - Extracted inline styles from service pages
   ============================================================ */

/* --- Shared: ourservices-en.aspx --- */
/* Use regular family */
        body {
          font-family: "regularFont", Arial, sans-serif;
          font-weight: 400;
        }

        /* Use medium family for specific elements */
        p.lead {
          font-weight: 500;
        }

        /* Use semibold family for emphasis */
        strong {
          font-weight: 600;
        }

        /* Use bold family for headings */
        h1, h2 {
          color: #000000ba;
          font-weight: 700;
          
        }

/* --- Shared: ourservices-en.aspx --- */
/* General Reset */
         * {
             margin: 0;
             padding: 0;
             box-sizing: border-box;
         }


         .card-container {
             display: flex;
             flex-wrap: wrap;
             gap: 1rem;
             justify-content: center;
             padding: 1rem;
         }

         .ServicesCard-body {
             display: grid;
             flex-direction: column;
             gap: 1rem;
             border: 1px solid #ddd;
             border-radius: 8px;
             padding: 1rem;
             background-color: #fff;
             max-width: 400px !important;
             height: auto !important;
             flex-wrap: wrap-reverse;
             justify-items: flex-end;
         }

         .ServicesCard-image {
             width: 100%;
             border-radius: 8px;
         }

         .card-header {
             padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
             margin-bottom: 0;
             color: var(--bs-card-cap-color);
             background-color: var(--bs-card-cap-bg);
              border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
          }

             .card-header h2 {
                 font-size: 1.5rem;
                 color: black;
                 font-weight: bold;
             }

         .card-footer {
             display: flex;
             justify-content: space-between;
         }

          /* Bare <button> elements on service pages use the master-styles.css
             reset (transparent) + classed-button ramps. A leftover
             palevioletred/plum debug rule lived here and was removed in the
             2026-09-14 CTA-unification round (no <button> markup exists on
             the service pages — verified by whole-tree grep). */

         .text-sm {
             font-size: 16px;
            line-height: 25px;
            font-family: 'regularFont';
            color: #4b5563;
            text-align: justify;
         }

         .mt-4 {
             margin-top: 1rem;
         }

/* --- Shared: ourservices-en.aspx --- */
@media (prefers-reduced-motion: reduce) {
             * {
                 animation: none !important;
                 transition: none !important;
             }
         }

         @media screen and (min-width: 1200px) {
          }

          


          


          .ourServices {
              background: var(--background-background-card, #ffffff);
              border-radius: var(--radius-lg, 16px);
              border-style: solid;
              border-color: var(--border-border-neutral-primary, #d2d6db);
              border-width: 1px;
              padding: var(--global-spacing-xl, 16px);
              display: grid;
              flex-direction: column;
              gap: var(--card-card-lg-gap, 24px);
              align-items: flex-end;
              justify-content: flex-start;
              flex-shrink: 0;
              width: auto !important;
              height: 305px !important;
              position: relative;
              margin-bottom: 20px;
              display: flex;
              flex-wrap: wrap;
          }
              .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; */
    }




        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0px;
        }

        .logo {
            color: #000;
            margin-bottom: 10px;
        }

        .subtitle {
            font-size: 16px;
            color: #666;
            margin-bottom: 10px;
            line-height: 1.5;
            direction: rtl;
            font-family: regularFont;
        }

        .byline {
            font-size: 14px;
            color: #0066cc;
            text-decoration: none;
        }

        .main-content {
            display: flex;
            gap: 30px;
            margin-bottom: 30px;
            direction: ltr;
        }

        .article {
            flex: 3;
            text-align: right;
        }

        .sidebar {
            flex: 1;
            text-align: right;
        }

        .section-title {
            font-size: 18px !important;
            font-weight: bold;
            margin: 20px 0 15px;
            color: #000;
        }

        .article-title {
            font-size: 28px;
            font-weight: bold;
            margin: 15px 0;
            color: #166a45ba;
        }

        .article-text {
            font-size: 16px;
            color: #4b5563;
            margin-bottom: 15px;
            line-height: 1.8;
            direction: rtl;
            font-family: 'regularFont';
        }

        .article-section {
            margin-bottom: 25px;
            padding-top: 25px;
            border-top: 0px solid #eee;
            /* Add margin to prevent header overlap when scrolling */
            scroll-margin-top: 200px;
            scroll-margin-bottom: 50px;
        }

        .section-heading {
            font-size: 28px;
            font-weight: bold;
            margin: 15px 0 10px;
            color: #166a45ba;
        }

        .sidebar-list {
            list-style-type: none;
        }

        .sidebar-item {
            margin-bottom: 10px;
            font-size: 14px;
        }

        .sidebar-link {
            color: #4b5563;
            text-decoration: none;
            display: block;
            padding: 5px 0;
            transition: all 0.3s ease;
            font-size: 14px !important;
            cursor: pointer;
            font-family: 'regularFont';
        }

            .sidebar-link:hover {
                color: #067647;
                text-decoration: underline;
                font-weight: 700;
            }

        .active-section {
            background-color: #f9f9fb;
            padding: 10px;
            border-radius: 4px;
            margin: 15px 0;
        }

        .sidebar-link-acitve {
            color: #067647 !important;
            text-decoration: underline;
            display: block;
            padding: 5px 0;
            transition: all 0.3s ease;
            font-size: 14px !important;
        }

         /* Scoped to page content a bare `a` rule leaks into the
            master header/footer on service pages, repainting chrome links black. */
         :where(#main-content) a {
             color: #000;
             text-decoration: none;
             transition: color 0.3s ease-in-out;
         }

        .rounded-pill {
            border-radius: 1.3125rem !important;
        }

        /* --- NEW STYLES FOR VIDEO FIX --- */
        .video-wrapper-col {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .video-thumbnail-container {
            position: relative; /* Establish context for absolute centering */
            width: 280px;
            height: 280px;
            border-radius: 4px;
            overflow: visible; /* Ensures rounded corners on image */
            margin-bottom: 15px;
            cursor: pointer;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

            .video-thumbnail-container:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 12px rgba(0,0,0,0.15);
            }

        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); /* Perfect center */
            width: 50px;
            height: 50px;
            background-color: rgba(255, 255, 255, 0.9);
            color: #1B8354; /* Green brand color */
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            z-index: 2;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            pointer-events: none; /* Let clicks pass through to container */
        }

        /* Hover effect for the play button */
        .video-thumbnail-container:hover .play-icon {
            background-color: #1B8354;
            color: #fff;
            transform: translate(-50%, -50%) scale(1.1);
        }

        /* Modal Close Button: DGA icon-button states (2026-09-14
           CTA-unification follow-up) — dark overlay normal (kept), green
           fill hover (was near-invisible #000), darker pressed. */
        .video-close-btn {
            position: absolute;
            top: 10px;
            right: 10px; /* RTL positioning */
            z-index: 1050;
            background: rgba(0,0,0,0.6);
            color: #fff;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s;
        }

            .video-close-btn:hover {
                background: #166a45;
                color: #fff;
            }

            .video-close-btn:active {
                background: #104631;
                color: #fff;
            }

            .video-close-btn:focus-visible {
                outline: 2px solid #1b8354;
                outline-offset: 2px;
            }
        /* ------------------------------- */
        .fa, .far, .fas {
            font-family: "Font Awesome 5 Free" !important;
        }

/* --- Shared: HRServices.aspx, AuditServices.aspx --- */
/* Text Justification for Article Content */
        .article-text {
            text-align: justify;
            text-align-last: right; /* Align last line to right for Arabic readability */
            line-height: 1.8;
        }

        /* Mobile Layout Adjustments */
        @media (max-width: 991.98px) {

            .article-title, .section-heading {
                font-size: 20px;
                text-align: right;
            }
        }

        .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%;
        }

        


/* --- Shared: HRServices.aspx, HRServices-en.aspx, ITServices-en.aspx, FinanceServices.aspx, FinanceServices-en.aspx, AdministrativeServices-en.aspx, ProcurementServices-en.aspx, AuditServices.aspx, AuditServices-en.aspx --- */
:root {
            --bs-border-radius-pill: 50rem;
            --bs-modal-width: 1140px;
        }

        /* .srvc-btn carried a #7337ff purple .btn-outline-dark:hover from an old
           video-widget draft. No .srvc-btn/.btn-outline-dark markup exists on
           any service page (verified by whole-tree grep) — removed in the
           2026-09-14 CTA-unification round. Live video CTAs use .button2
           (StyleSheet.css, DGA ramp). */

        .srvc-play::after {
            content: "\25B6";
            font-family: "bootstrap-icons";
            position: relative;
            vertical-align: middle;
            left: 10px;
            top: -1px;
            box-sizing: border-box;
        }

        [dir=rtl] .srvc-play::after {
            left: auto;
            right: 10px;
        }

        .modal-backdrop {
            z-index: -1;
        }

        .modal-content {
            margin-top: 7rem;
        }

        .btn-close {
            cursor: pointer;
        }

        .currency {
            position: absolute;
            font-size: 24px;
            width: 100px;
        }
        .article-image {
            position: relative;
            isolation: isolate;
            padding-top: 1.5rem;
            padding-inline-start: 0rem;
            margin-bottom: 0.125rem;
            padding: 5px;
            border-radius: 15px;
        }

      .article {
          flex: 3;
      }
      .sidebar {
          flex: 1;
      }

     


     


     .article-title {
         font-size: 28px;
         font-weight: bold;
         margin: 15px 0;
         color: #000;
     }

     .article-text {
             font-size: 16px;
            color: #4b5563;
            margin-bottom: 15px;
             line-height: 1.8;
             font-family: 'regularFont';
     }

     



     


     


     


     


     


     


     


     

     
     


     

     
     


     

     
     


     

     

     





    /* Mobile Layout Adjustments */
    @media (max-width: 991.98px) {
        /* Stack the main layout columns */
        .main-content {
            flex-direction: column !important;
            display: flex !important;
            width: 100% !important;
        }

        /* Stack the inner article grid */
        .article .row {
            flex-direction: column !important;
            display: flex !important;
        }

        /* Force all columns to full width */
        .article .col-3,
        .article .col-7,
        .article .col-2 {
            width: 100% !important;
            max-width: 100% !important;
            flex: 0 0 100% !important;
            padding-left: 15px !important;
            padding-right: 15px !important;
            margin-bottom: 30px !important;
        }

        /* --- MOBILE REORDERING --- */
        /* HTML Order is: col-3 (Video), col-7 (Content), col-2 (Sidebar) */
        /* Desired Mobile Order: Video -> Sidebar -> Content */
        
        .article .col-3 { order: 1; } /* Video First */
        .article .col-2 { order: 2; } /* Sidebar Second */
        .article .col-7 { order: 3; } /* Content Third */
        
        /* --- STYLING THE SIDEBAR ON MOBILE --- */
        .sidebar {
            width: 100% !important;
            background-color: #f9f9fb;
            padding: 20px !important;
            border-radius: 8px;
            border-bottom: 3px solid #1B8354;
            text-align: center;
        }

        .sidebar-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 0;
        }

        .sidebar-link {
            display: block;
            padding: 12px 15px !important;
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            transition: all 0.3s;
            font-size: 16px !important;
        }

        .sidebar-link:hover, .sidebar-link-acitve {
            background: #1B8354;
            color: #fff !important;
            border-color: #1B8354;
            text-decoration: none;
        }

        /* Video Wrapper Responsiveness */
        .video-wrapper-col {
            width: 100%;
            align-items: center;
        }

        .video-thumbnail-container {
            width: 100% !important; /* Full width */
            height: auto !important;
            aspect-ratio: 16/9; /* Maintain video ratio */
        }

        .play-icon {
            width: 60px;
            height: 60px;
            font-size: 24px;
        }
        
        /* Adjust Font Sizes for Mobile */
        .section-title {
            font-size: 22px;
            text-align: center !important;
        }
        
        .article-title, .section-heading {
            font-size: 20px;
        }
    }

/* ============================================================
   ENGLISH (LTR) OVERRIDES FOR ALL SERVICE PAGES
   Ensures text aligns left, text direction is LTR
   ============================================================ */

/* EN pages use LTR layout: Sidebar (left) | Content (middle) | Video (right) */
[dir="ltr"] .home-page-desktop-ar-dga-version .article {
    text-align: left;
}




[dir="ltr"] .home-page-desktop-ar-dga-version .article-text {
    direction: ltr;
    text-align: justify;
    text-align-last: left;
}

[dir="ltr"] .home-page-desktop-ar-dga-version .article-title,
[dir="ltr"] .home-page-desktop-ar-dga-version .section-heading {
    text-align: left;
    color: #166a45ba;
}

/* Footer text-align for EN pages */
[dir="ltr"] .home-page-desktop-ar-dga-version .subtitle {
    direction: ltr;
    text-align: left;
}




/* Video close button position for LTR (left side) */
[dir="ltr"] .video-close-btn {
    left: 10px;
    right: auto;
}







/* EN mobile responsive - adjust text alignment */
@media (max-width: 991.98px) {
    [dir="ltr"] .home-page-desktop-ar-dga-version .article-title,
    [dir="ltr"] .home-page-desktop-ar-dga-version .section-heading {
        font-size: 20px;
        text-align: left;
    }
}




     


     


     


     


     


     


     


     


     


     


     


     .article-text {
                   font-size: 16px;
color: #4b5563;
margin-bottom: 15px;
line-height: 1.8;
direction: rtl;
font-family: 'regularFont';
text-align: justify;
     }

     




     


     


     


     


     


     


     


     

     
     


     

     
     


     

     
     


     

     

     





     


     


     


     .subtitle {
        font-size: 14px;
        color: #666;
        margin-bottom: 10px;
        line-height: 1.5;
        direction: rtl;
     }

     


     


     


     


     


     


     


     .article-text {
         font-size: 14px;
         color: #333;
         margin-bottom: 15px;
         line-height: 1.8;
  direction: rtl;
     }

     



     


     


     


     


     


     


     


     

     
     


     

     
     


     

     
     


     

     

     





    

                     








     


      


     


     .subtitle {
        font-size: 14px;
        color: #666;
        margin-bottom: 10px;
         line-height: 1.5;
      }

     


     


      


      


     


     


     


     .article-text {
         font-size: 14px;
         color: #333;
         margin-bottom: 15px;
          line-height: 1.8;
 }
@media(max-width:800px) {
}
@media(max-width:768px) {
    
             .ourServices {
                 flex-direction: column;
                 gap: var(--card-card-lg-gap, 24px);
                 align-items: flex-end;
                 justify-content: flex-start;
                 flex-shrink: 0;
                 width: auto !important;
                 height: 305px !important;
                 position: relative;
                  margin-bottom: 20px;
                  display: flex;
                  flex-wrap: wrap;
              }
}
    

    .subtitle {
           font-size: 16px;
color: #666;
margin-bottom: 10px;
line-height: 1.5;
font-family: regularFont;
    }
    

    .article-image {
        /* Removed float/left styles to work with new wrapper */
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
    }
    
    /* Text Justification for Article Content */
    .article-text {
                 font-size: 16px;
color: #4b5563;
margin-bottom: 15px;
line-height: 1.8;
font-family: 'regularFont';
text-align: justify;
    }
    

[dir="ltr"] .home-page-desktop-ar-dga-version .sidebar {
    text-align: left;
}
    

[dir="ltr"] .home-page-desktop-ar-dga-version .header {
    text-align: left;
}
    

/* Play icon already centered via translate(-50%, -50%), no change needed */

/* Sidebar link alignment for EN */
[dir="ltr"] .home-page-desktop-ar-dga-version .sidebar-link {
    text-align: left;
}
    

[dir="ltr"] .home-page-desktop-ar-dga-version .section-title {
    text-align: left;
}

/* ===== Services detail updates (2026-09-14) =====
   Container was shrunk to 1200/20 by this file while the rest of the site
   (header + .section* wrappers) uses 1280/32 — unified to the site standard.
   Video thumbnail + poster normalized to the DGA image radius (16). */
.container {
    max-width: 1280px;
    /* padding: 20px 32px; */
}

.video-thumbnail-container {
    border-radius: 16px;
}

.article-image {
    border-radius: 16px;
}

