:root {
 --primary-green: #1D6D3B;
 --secondary-green: #2D8C4A;
 --light-green: #E8F3EC;
 --dark-green: #0C4E27;
 --accent-gold: #D4A017;
 --light-gold: #F5E8C9;
 --white: #FFFFFF;
 --light-gray: #F5F5F5;
 --dark-text: #333333;
}


/* main */

.main-ncw {
  margin-top: 70px;
}

/* title submenues */

.overlay {
  display: inline-block;
  position:relative;
  top: -15px; /* was 7px */
  text-align: center;
  font-size: 30px;
}

/* download btns */

.nds-primary-btn {
  padding: 4px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  color: #fff;
  background: #067647;
  border: 1px solid #067647;
  border-radius: 4px;
  width: max-content;
}

/* side menu: heavy content sections */

@media (min-width: 768px) {
  .md\:top-0 {
      top: 40px;
  }
}

/* navbar */

.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

.fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

/* Headings title color (Green) */

h1, h2, h3, h4 {
  color: #1b8354;
}
        

/* digital Stamp Card */

.digital-stamp-card {
  padding: 8px 32px;
  background: #f3f4f6;
}

.digital-stamp-card .digital-stamp-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.container {
  max-width: 1140px;
  padding-right: 0px;
  padding-left: 0px;
}

.digital-stamp-card .digital-stamp-body {
  padding-top: 40px;
  padding-bottom: 32px;
  display: none;
}

/* banner */

.nds-banner-section {
  padding: 80px 0;
  width: 100%;
  position: relative;
  height: 700px;
}

.nds-banner-section .banner-text h1 {
  font-size: 60px;
  font-size: clamp(2rem, 5vw, 5.5rem);
  font-weight: bolder;
  color: #dba102;
}

.nds-banner-section .banner-text h4 {
  margin: 8px 0px;
  font-size: 25px;
  color: #fff;
}

.nds-banner-section .banner-text p {
  width: 42%;
  font-size: 24px;
  color: #fff;
}


/* Accessibility */

.dga-accessibility-tools-container a:last-of-type {
  padding: 0px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 14px;
  color: #fff;
  background: #1b8354;
  border-radius: 4px;
}

.dga-accessibility-tools-container a {
  background: #fff;
  border-radius: 100%;
  display: flex;
  width: 31px;
  height: 31px;
  margin: 16px 7px;
}

/* reports-complaints-card */

.reports-complaints-card {
  margin: auto;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.reports-complaints-card .box p {
  color: #161616;
  font-size: 16px;
}

/* knowlodge */

.ncw-knowledge-section {
  margin-top: 64px;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

/* Media: News section */

.news-container {
  max-width: 1200px;
  margin: 0 auto;
}

.news-title-current {
  margin: 0px;
  bottom: 32px;
  left: 32px;
  right: 32px;
  color: #fff;
  background: linear-gradient(
    120deg,
    rgba(12, 16, 28, 0.7098039216) 0%,
    #1b8354 100%
  );
  margin: 10px;
  border-radius: 10px;
  padding: 20px;
  font-size: 18px;
}

.section-title {
  color: #1a3650;
  font-size: 32px;
  margin-bottom: 16px;
  text-align: right;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Left Column Styles */
.left-column {
  display: grid;
  gap: 25px;
}

.left-card {
  background: white;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 15px;
  transition: transform 0.3s ease;
  border-radius: 16px;
  box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.1),
    0px 2px 4px -2px rgba(16, 24, 40, 0.06);
  border: 1px solid #d2d6db;
}

.left-card:hover {
  transform: translateY(-3px);
}

.left-image {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

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

.left-content {
  flex: 1;
}

/* Right Column Styles */
.right-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  height: 100%;
  border-radius: 16px;
  box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.1),
    0px 2px 4px -2px rgba(16, 24, 40, 0.06);
  border: 1px solid #d2d6db;
}

.right-image {
  height: 100%;
  position: relative;
}

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

.image-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 20px;
  color: white;
}

/* Common Styles */
.news-date {
  color: #000;
  font-size: 13px;
  margin-bottom: 8px;
}

.news-title {
  color: #161616;
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.right-card .news-title {
  color: white;
  font-size: 22px;
}

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

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

  .left-image {
    width: 100%;
    height: 150px;
  }

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

/* enhance navbar */

.header-menu__item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-nav__menu > li {
  padding: 10px 15px;
}

/* added by NCW - for submenu (main navigation) with fade effect */
.header-nav__menu .submenu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 320px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 4.5rem;
  z-index: 101;
  font-size: 38px;

  /* Grid Layout */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(1350px, 2fr));
  gap: 0.5rem;

  /* Fade Effect */
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-nav__menu .submenu li {
  padding: 8px 16px;
}

.header-nav__menu .submenu a {
  color: #14573a;
  text-decoration: underline;
  border-radius: 8px;
  font-size: 14px;
  display: block;
  width: 14%;
  padding: 14px 16px;
  color: #1f2a37;
}

.header-nav__menu .submenu a:hover {
  /* background: #f5f5f5; */
  width: 14%;
}

/* إظهار القائمة عند التمرير مع تأثير */
.header-nav__menu .has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* تعديلات للجوال */
@media (max-width: 768px) {
  .header-nav__menu .submenu {
    position: static;
    box-shadow: none;
    border: none;
    padding-right: 24px;

    /* Reset fade effect for mobile */
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .header-nav__menu .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .header-nav__menu .has-submenu.active .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* enhance submenu ncw style */

ul.submenu {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 16px 0;
  background-color: transparent; /* ✅ لا خلفية */
  position: absolute;
  right: 0;
  left: 0;
  top: 100%;
  z-index: 999;
}

/* ul.submenu li a {
  display: block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.85); /* ✅ خلفية خفيفة فقط للزر 
  border-radius: 6px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
} */

/* ul.submenu li a:hover {
  background-color: rgba(210, 240, 230, 0.9);
} */

ul.submenu li {
  display: flex;
  align-items: center;
}

/* الزر داخل القائمة الفرعية 
ul.submenu li a {
  display: inline-flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  height: 48px;
  min-width: 180px;
  padding: 0 24px;
  background-color: #f3f4f6;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #1b1b1b;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  flex-direction: inherit;

  /* ✅ الحركات 
  transition: background-color 0.3s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
} */

ul.submenu li a {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #1b1b1b;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  background-color: transparent; /* ✅ remove grey box */
  transition: background-color 0.3s ease, color 0.3s ease;
}

ul.submenu li a:hover {
  /* background-color: #1b8354;  ✅ green on hover */
  color: #1b8354;              /* ✅ white text on hover */
}

/* عند تمرير الماوس 
ul.submenu li a:hover {
  background-color: #e2ece6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
} */ 

/* عند الضغط */
ul.submenu li a:active {
  transform: scale(0.97);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* mobile menu: updated */

/* Hide mobile menu on desktop */
@media (min-width: 769px) {
  .mobile-menu-button,
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* Default Arabic layout — button on right */
  .mobile-menu-button {
    display: block;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1001;
    background-color: #1b8354;
    color: #fff;
    border: none;
    font-size: 16px;
    border-radius: 4px;
    padding: 5px 12px;
    cursor: pointer;
  }

  .mobile-menu-button {
    background: transparent !important;
    border: none;
    color: #161616;
    font-size: 16px;
    padding: 0;
  }

  @media (max-width: 768px) {
    .header-nav--full {
      padding-inline: 0 !important;
    }
  }  

  /* English layout — override to left */
  .mobile-menu-button.en {
    right: auto !important;
    left: 16px !important;
    
  }

  /* Mobile menu panel (slides in from the right) */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 280px;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
    padding: 1.5rem 1rem;
    overflow-y: auto;
  }

  .mobile-menu.open {
    transform: translateX(0);
  }

  /* Close (×) button */
  .mobile-menu-close {
    font-size: 26px;
    border: none;
    background: none;
    color: #161616;
    cursor: pointer;
    display: block;
    margin-bottom: 1rem;
    margin-right: 220px;
  }
}


  .menu-section {
    margin-bottom: 1.5rem;
  }

  .section-toggle {
    background: none;
    border: none;
    font-size: 18px;
    color: #1b8354;
    font-weight: bold;
    width: 100%;
    text-align: right;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .submenu {
    padding-right: 1rem;
    max-height: 0;
    overflow: hidden;
    display: grid;
    transition: max-height 0.4s ease;
  }

  .submenu a {
    display: block;
    color: #14573a;
    text-decoration: none;
    margin: 0.4rem 0;
    font-size: 15px;
  }

  .submenu.open {
    max-height: 500px;
  }

  .arrow-icon {
    width: 16px;
    height: 16px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
  }

  .submenu.open + .arrow-icon {
    transform: rotate(180deg);
  }
}

/* images-enhance */

.image-enhance {
  padding: 1%;
  border-radius: 16px;
  margin: auto;
}

/* article-ncw enhance */

article-ncw {
  padding-top: 30px;
}


article-ncw {
  max-width: 84rem; /* 1024px */
  margin: 1rem auto;
  border-radius: 0.75rem;
  overflow: hidden;
}

.container-core {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.image-box {
  flex: 1 1 300px;
  min-height: 270px;
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*filter: blur(3px);
  transform: scale(1.05);*/
}

.image-box::after {
  content: "";
  position: absolute;
  inset: 0;
  /*background: rgba(0,0,0,0.4);*/
  border-radius: 0.4rem;
}

.text-box {
  flex: 2 1 300px;
  /*background: rgba(255 255 255 / 0.9);*/
  padding: 1rem 1.5rem;
  /*border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgb(0 0 0 / 0.15);*/
  /*color: #111;*/
  /*direction: rtl;*/
}

.text-box h2 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /*text-align: center;*/
}

.text-box h2 span {
  font-size: 1.25rem;
}

.text-box p {
  margin-bottom: 1rem;
  /*font-size: 1.5rem;*/
  line-height: 1.6;
  /*direction: rtl;*/
  /*background: rgba(255 255 255 / 0.8);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);*/
}

strong {
  color: #DBA102;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .image-box,
  .text-box {
    flex: 1 1 100%;
    min-height: 200px;
  }
}

/* Paragraphs */
article-ncw p {
  /*background: rgba(255, 255, 255, 0.8);*/
  padding: 1rem;
  /*border-radius: 0.75rem;*/
  /*box-shadow: 0 4px 8px rgba(0,0,0,0.1);*/
  font-size: 1.125rem; /* 18px */
  line-height: 1.75;
}


/* span enhance */

.dga-divider {
  display: relative;
  top: 1;
  margin: 30px;
  width: 90%;
  height: 1px;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
}

/* breadcrumb enhance */

.dga-nav .dga-breadcrumb {
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  min-height: 52px;
  background: #1b8354;
}

/* green headlines work in progress */

nds-services-list-section .nds-title-section h1 {
  font-size: 36px;
  color: #1b8354;
}

/* news - media + paginations */

.container {
  max-width: 1140px;
  padding-right: 0px;
  padding-left: 0px;
}

.nds-title-section {
  margin-bottom: 32px;
}

.nds-filter {
  margin-top: 64px;
  margin-bottom: 40px;
  padding: 32px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  width: auto;
}

.nds-filter-title {
  margin-bottom: 24px;
  padding: 0px 16px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nds-services-list-section .row {
  gap: 24px 0px;
}
.row {
  margin-left: 0px;
  margin-right: 0px;
}

.dga-paginations {
  margin-top: 32px;
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* tables */

div.table-wrapper {
  width: 100%;
}
/* navbar-ncw-menu-fix */

/* NEWS PAGE - dga-ncw-title-share-page */

.nds-title-share-page h1 {
  padding-top: 50px;
  font-size: 40px;
}

.nds-title-share-page .title-share-container {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.nds-title-share-page .title-share-container .title-box {
  width: 70%;
}

.nds-title-share-page .title-share-container .title-box .date {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: #000;
}

.sharebox {
  width: 308px;
  text-align: center;
  align-self: center;
}

.sharebox .dga-share-box {
  padding: 0px;
  padding-bottom: 4px;
  width: auto;
  background: #ecfdf3;
  text-align: center;
  border-bottom: 0px;
  border-radius: 16px 16px 0px 0px;
}

.nds-title-share-page .title-share-container .title-box h1 {
  /*font-size: 32px;*/
  color: #1b8354;
  font-weight: bold;
}

.sharebox .dga-share-box span {
  margin-bottom: 16px;
  display: block;
  font-size: 16px;
  color: #1b8354;
}

.sharebox .social-sharing-buttons {
  margin: 0;
  padding: 16px;
  padding-top: 0px;
  width: auto;
  background: #ecfdf3;
  text-align: center;
  border-top: 0px;
  border-radius: 0px 0px 16px 16px;
}

/* dga-ncw-news-details */

.dga-news-details {
  margin: auto;
  width: 70%;
}

/* dga-ncw-news-post */

.basic-page p {
  margin-bottom: 16px;
  color: #757575;
  font-size: 16px;
}

.text-align-justify {
  text-align: justify;
  font-size: large;
}

/* committee-cards-section - soon */

/* FAQ */

.tabs-list--horizontal {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  position: relative;
  width: 100%;
}

/* News card*/

.grid-container {
  display: grid;
  border: 2px solid rgb(249, 249, 249);
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  display: flex !important;
  flex-direction: column;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  border: 1px solid #d2d6db;
  background: #fff;
}

.card:hover {
  transform: translateY(0);
}
.card:active {
  border: 2px solid green;
}

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

.card .content {
  padding: 15px;
  border: #2c0972;
}

.card .title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  height: 50px;
  overflow: hidden;
}

.card .date {
  color: #888;
  font-size: 14px;
}

/* 📱 Responsive for mobile */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
}
/*     pagination  */
.pagination {
  margin-top: 30px;
  text-align: center;
}

.pagination button {
  margin: 5px;
  padding: 8px 12px;
  border: none;
  background-color: #1b8354;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.pagination button.active {
  background-color: #c2cad2;
}

.pagination button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* calendar */

.event-card {
  display: flex !important;
  flex-direction: column;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.1),
    0px 2px 4px -2px rgba(16, 24, 40, 0.06);
  background: #fff;
  border: 1px solid #d2d6db;
}

.event-card .tags {
  margin-bottom: 12px;
}

.event-card .tags span {
  padding: 2px 8px;
  border-radius: 100px;
}

.tag-green {
  padding: 1px 8px;
  display: flex;
  align-items: center;
  gap: 2px;
  width: -moz-fit-content;
  width: fit-content;
  color: #085d3a;
  font-size: 12px;
  text-align: center;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  border-radius: 10px;
}

.event-card .location {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* social-sharing */
.social-sharing-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
/* social-sharing */
.social-sharing-buttons-button {
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10%;
  background-color: #1b8354;
  color: #fbfbfb;
  text-decoration: none;
  transition: transform 0.2s ease;
}

/* social-sharing : click*/
.social-sharing-buttons-button:active {
  background-color: #1b8354;
  color: #fbfbfb;
}
.dga-news-details img {
  display: flex;
  justify-content: center;
  margin: auto;
  margin-bottom: 32px;
}

/* Enhance Navigator Highlighting (Active Section) */

/* Base tab style */
.table-of-content__tab {
  position: relative;
  padding-left: 1rem;
  padding-right: 1rem;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  transition: all 0.3s ease;
}

/* Active tab for English (LTR) — left border only */
.table-of-content__tab.active-tab {
  font-weight: bold;
  color: #1B8354;
  border-left: 2px solid #1B8354;
  border-right: 2px solid transparent;
  background-color: #f0fef6;
}

/* Arabic override */
html[lang="ar"] .table-of-content__tab {
  padding-left: 0;
  padding-right: 1rem;
  border-left: none;
  border-right: 2px solid transparent;
}

/* Arabic active tab — right border only */
html[lang="ar"] .table-of-content__tab.active-tab {
  border-left: none;
  border-right: 2px solid #1B8354;
}


  /* BONUS: RTL Adjustment (Arabic Support) 

  .table-of-content__tab {
  padding-left: 1rem;
  border-left: 2px solid transparent;
  padding-right: 0;
}

.table-of-content__tab.active-tab {
  border-left: 2px solid #1B8354;
}
*/


/* arabic-text-clean */

.arabic-list-clean {
  direction: rtl;
  unicode-bidi: isolate;
  font-size: 14px;
  line-height: 2.4;
  font-weight: 500;
  color: #161616;
  list-style-position: inside;
}

.english-list-clean {

direction: ltr;
unicode-bidi: isolate;
font-size: 14px;
line-height: 2.4;
font-weight: 500;
color: #161616;
list-style-position: inside;
}

/* faq */

/* FAQ 2023-24 */

/* -------------------------------- Primary style -------------------------------- */
.faq-page *,
*::after,
*::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.faq-page *::after,
.faq-page *::before {
  content: "";
}
.faq-page .body {
  font-size: 100%;
  color: #1b8354;
  background-color: white;
}
.faq-page .body::after {
  /* overlay layer visible on small devices when the right panel slides in */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(78, 83, 89, 0.8);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}
.faq-page .body.cd-overlay::after {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}
@media only screen and (min-width: 768px) {
  .faq-page .body::after {
    display: none;
  }
}
a,
h1,
h2,
h3,
h4,
h5,
h6 {
  -webkit-font-smoothing: antialiased;
  text-decoration: none;
}

h6 {
  font-size: 1rem;
  color: #757575;
  font-weight: bold;
}

.faq-page .p {
  color: white;
  margin-bottom: 1rem;
  font-size: inherit;
  line-height: 1.4;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.faq-page .header-section h1 {
  font-size: 2em;
  margin: 0.67em 0;
  color: white;
  margin-left: -15px;
}
.faq-page .a {
  /* color: #a9c056;
   */
  color: #1b8354;
  text-decoration: none;
}
/* -------------------------------- Main components -------------------------------- */
.faq-page .header {
  position: relative;
  height: 180px;
  line-height: 180px;
  text-align: center;
}
@media only screen and (min-width: 1024px) {
  .faq-page .header {
    height: 240px;
    line-height: 240px;
  }
  .faq-page .header h1 {
    font-size: 36px;
    font-size: 2.25rem;
    font-weight: 300;
  }
}
.faq-page .faq {
  width: 90%;
  max-width: 1024px;
  margin: 2em auto;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
.faq-page .faq:after {
  content: "";
  display: table;
  clear: both;
}
@media only screen and (min-width: 768px) {
  .faq-page .faq {
    position: relative;
    margin: 4em auto;
    box-shadow: none;
  }
}
.faq-page .categories a {
  position: relative;
  /* display: inline;
   */
  display: block;
  overflow: hidden;
  height: 50px;
  line-height: 50px;
  padding: 0 28px 0 16px;
  /* background-color: #f3f3f5;
   */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1b8354;
  white-space: nowrap;
  /* border-bottom: 1px solid #555b61;
   */
  text-overflow: ellipsis;
}
.faq-page .categories a::before,
.categories a::after {
  /* plus icon on the right */
  position: absolute;
  top: 50%;
  right: 16px;
  display: inline-block;
  height: 1px;
  width: 10px;
  background-color: #7f868e;
}
.faq-page .categories a::after {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}
.faq-page .categories li:last-child a {
  border-bottom: none;
}
@media only screen and (min-width: 768px) {
  .faq-page .categories {
    width: 20%;
    float: left;
    /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
     */
  }
  .faq-page .categories a {
    text-align: right;
    font-size: 18px;
    color: #1b8354;
    font-size: 1.13rem;
    font-weight: 600;
    padding-left: 24px;
    padding: 0 24px; /* changed from 24 to 20 px */
    -webkit-transition: background 0.2s, padding 0.2s;
    -moz-transition: background 0.2s, padding 0.2s;
    transition: background 0.2s, padding 0.2s;
  }
  .faq-page .categories a::before,
  .categories a::after {
    display: none;
  }
  .faq-page .no-touch .categories a:hover {
    color: #B1684D;
  }
  .faq-page .no-js .categories {
    width: 100%;
    margin-bottom: 2em;
  }
}
@media only screen and (min-width: 1024px) {
  /* Not needed for now*/
  /*.categories a::before {
     decorative rectangle on the left visible for the selected item position:absolute;
     display: block;
     bottom:0;
     right: auto;
     right: 0;
     height: 60px;
     width: 3px;
     background-color: purple;
     border-radius: 25px;
     opacity: 0;
     -webkit-transition: opacity 0.2s;
     -moz-transition: opacity 0.2s;
     transition: opacity 0.2s;
  }
   */
  .faq-page .categories {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    z-index: 2;
  }
  .faq-page .verticalLine {
    position: absolute;
    left: 220px;
    z-index: 5;
    height: 100%;
    border-left: medium solid #777;
    border-radius: 25px;
    border-left: dotted 1px;
    background-color: transparent;
  }
  .faq-page .categories .selected {
    color: #777 !important;
    border-right: 2px solid #777;
    /* background: yellow !important;
    */
    /* border-bottom: 3px solid #6454a4;
    */
    opacity: 1;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
  }
  .faq-page .categories .selected::before {
    opacity: 1;
  }
  .faq-page .categories.is-fixed {
    /* top and left value assigned in jQuery */
    position: fixed;
  }
  .no-js .categories {
    position: relative;
  }
}
.faq-items {
  position: fixed;
  float: left;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  background: #fff;
  padding: 0 5% 1em;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0) translateX(100%);
  -moz-transform: translateZ(0) translateX(100%);
  -ms-transform: translateZ(0) translateX(100%);
  -o-transform: translateZ(0) translateX(100%);
  transform: translateZ(0) translateX(100%);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.faq-items.slide-in {
  -webkit-transform: translateZ(0) translateX(0%);
  -moz-transform: translateZ(0) translateX(0%);
  -ms-transform: translateZ(0) translateX(0%);
  -o-transform: translateZ(0) translateX(0%);
  transform: translateZ(0) translateX(0%);
  z-index: 999;
}
.no-js .faq-items {
  position: static;
  height: auto;
  width: 100%;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
@media only screen and (min-width: 768px) {
  .faq-items {
    position: static;
    height: auto;
    width: 64%;
    float: right;
    overflow: visible;
    -webkit-transform: translateZ(0) translateX(0);
    -moz-transform: translateZ(0) translateX(0);
    -ms-transform: translateZ(0) translateX(0);
    -o-transform: translateZ(0) translateX(0);
    transform: translateZ(0) translateX(0);
    padding: 0;
    background: transparent;
  }
}
@media only screen and (min-width: 1024px) {
  .faq-items {
    float: none;
    width: 100%;
    padding-left: 220px;
  }
  .no-js .faq-items {
    padding-left: 0;
  }
}
.cd-close-panel {
  position: sticky;
  background-color: #1b8354;
  margin: auto;
  border-radius: 70px;
  top: 5px;
  /*right: -90px;*/
  display: block;
  height: 40px;
  width: 40px;
  overflow: hidden;
  white-space: nowrap;
  z-index: 999;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: right 0.4s;
  -moz-transition: right 0.4s;
  transition: right 0.4s;
}
.cd-close-panel::before,
.cd-close-panel::after {
  /* close icon in CSS */
  position: absolute;
  top: 18px;
  left: 11px;
  display: inline-block;
  height: 3px;
  width: 18px;
  background: white;
}
.cd-close-panel::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.cd-close-panel::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.cd-close-panel.move-left {
  right: 2%;
}
@media only screen and (min-width: 768px) {
  .cd-close-panel {
    display: none;
  }
}

.faq-group {
  /* hide group not selected */
  display: none;
  margin-left: 100px;
}
.faq-group.selected {
  display: block;
}
.faq-group .faq-title {
  background: transparent;
  box-shadow: none;
  margin: 1em 0;
}
.no-touch .faq-group .faq-title:hover {
  box-shadow: none;
}
.faq-group .faq-title h2 {
  /* General: */
  font-size: 39px;
  font-size: 2.45rem;
  color: #1b8354;
  line-height: 50px;
}
.faq-group .faq-title a {
  background: red;
}
/* ^^^ not effecting */
.faq-items a {
  /* FAQ Questions */
  font-size: 15px;
  color: #1b8354;
}
.faq-page .iconh2div {
  overflow: hidden;
  margin-left: -63px;
}
/*.faq-page .icondiv, .faq-page .h2div {
   background: transparent;
   float: left;
}*/
.faq-page .icondiv {
  background: white;
  height: 70px;
  width: 70px;
}
.faq-page .h2div {
  margin-top: 15px;
  margin-left: 16px;
}
.no-js .faq-group {
  display: block;
}
@media only screen and (min-width: 768px) {
  /* all groups visible */
  .faq-group {
    display: block;
  }
  .faq-group > li {
    background: #fff;
    margin-bottom: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    -webkit-transition: box-shadow 0.2s;
    -moz-transition: box-shadow 0.2s;
    transition: box-shadow 0.2s;
  }
  .no-touch .faq-group > li:hover {
    box-shadow: 0 1px 10px rgba(108, 125, 142, 0.3);
  }
  .faq-group .faq-title {
    margin: 2em 0 1em;
  }
  .faq-group:first-child .faq-title {
    margin-top: 0;
  }
}
.faq-page .trigger {
  position: relative;
  display: block;
  margin: 1.6em 0 0.4em;
  line-height: 1.2;
}
@media only screen and (min-width: 768px) {
  .faq-page .trigger {
    font-size: 24px;
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    padding: 24px 72px 24px 24px;
  }
  .faq-page .trigger::before,
  .faq-page .trigger::after {
    /* arrow icon on the right */
    position: absolute;
    right: 24px;
    top: 50%;
    height: 2px;
    width: 13px;
    background: #777777;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
  }
  .faq-page .trigger::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    right: 32px;
  }
  .faq-page .trigger::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .faq-page .content-visible .trigger::before {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .faq-page .content-visible .trigger::after {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
}
.faq-content p {
  font-size: 0.875rem;
  line-height: 1.4;
  font-size: 15px;
  color: #909090;
}
@media only screen and (min-width: 768px) {
  .faq-content {
    display: none;
    padding: 30px 24px 30px 50px;
  }
  .faq-content p {
    line-height: 1.6;
  }
  .no-js .faq-content {
    display: block;
  }
}

/* FIXED CSS FOR BOARD MEMBERS SECTION */

      .board-directors-section {
        margin-top: 40px;
      }
      
      .board-directors-title {
        margin-bottom: 30px;
        color: #1B8354;
      }
      
      .directors-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 20px;
      }
      
      .director-card {
        /*background: white;*/
        border-radius: 12px;
        overflow: hidden;
        /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
      }
      
      .director-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
      }
      
      .director-image {
        width: 50%;
        height: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        /*background: #f8f9fa;*/
      }
      
      .director-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
      }
      
      .director-card:hover .director-image img {
        transform: scale(1.05);
      }
      
      .director-info {
        padding: 20px;
        text-align: center;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: #fff;
      }
      
      .director-name {
        font-weight: 700;
        font-size: 18px;
        color: #333;
        margin-bottom: 5px;
      }
      
      .director-position {
        color: #1B8354;
        font-size: 16px;
        font-weight: 600;
      }
      
      /* Responsive adjustments */
      @media (max-width: 991px) {
        .directors-container {
          grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        }
      }
      
      @media (max-width: 768px) {
        .directors-container {
          grid-template-columns: repeat(2, 1fr);
        }
      }
      
      @media (max-width: 576px) {
        .directors-container {
          grid-template-columns: 1fr;
        }
      }


    /* ncw structure css */

     .org-chart {
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 1600px;
      margin: 3px auto;
      padding: 0 20px;
      position: relative;
    }

    .level {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 16px;
      width: 100%;
      margin-bottom: 5px;
      position: relative;
      padding: 5px;
    }

    .position {
      background: var(--white);
      border-radius: 8px;
      padding: 7px;
      min-width: 130px;
      max-width: 220px;
      box-shadow: 0 8px 16px var(--shadow);
      text-align: center;
      border: 2px solid #1B8354;
      position: relative;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      flex: 1 1 15%;
    }

    .position:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px var(--shadow);
    }

    .position.ceo {
      background: var(--light-bg);
      border: 3px solid #1B8354;
      min-width: 220px;
      max-width: 260px;
    }

    .position-title {
      font-weight: bold;
      color: #1B8354;
      font-size: small;
      margin-bottom: 8px;
    }

    .position-content {
      font-size: 1rem;
      color: #333;
    }

    .sub-level {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 6px;
      margin-top: 10px;
    }

    .sub-box {
      background: #eaf7f1;
      border: 2px solid #1B8354;
      padding: 6px 10px;
      border-radius: 6px;
      font-size: 0.8rem;
      min-width: 120px;
    }

    .scroll-inline {
      display: flex;
      flex-wrap: nowrap;
      gap: 12px;
      overflow-x: auto;
      padding: 10px 20px;
      margin-top: 20px;
      border-top: 2px dashed #ccc;
      padding-top: 30px;
    }

    .scroll-inline .position {
      flex: 0 0 auto;
      min-width: 200px;
      max-width: 220px;
    }

    @media (max-width: 768px) {
      .position {
        min-width: 100%;
      }

      .position.ceo {
        width: 100%;
      }

      .level {
        gap: 16px;
        flex-direction: column;
      }
    }


/* custom button */

.btn-ugk5y8eft {
  color:#1b8354;;
}

  /* sadu   */

.sadu-divider {
  background-image: url('/assets/icons/sadu-ncw.png');
  background-repeat: repeat-x;
  background-position: center;
  height: 35px; /* adjust based on your image height */
  width: 100%;
}


/* beta ribbon (Ar/En) (will be removed soon */

#beta {
  float: left;
  top: 3em;
  left: 10em;
  position: absolute; /* or fixed if you want it to always be visible */
  transform: rotate(-90deg);
  background: #DBA102;
  color: white;
  font-weight: bold;
  padding-left: 3em;  padding-right: 3em;
  padding-top: .5em;  padding-bottom: .5em;
  border: 0;  margin: 0;
  height: auto;   width: auto;
  z-index: 999999999; /* or whatever is needed to show on top of other elements */
}
#beta::before {
  content: "نسخة تجريبية";
}

#beta-en {
  float: left;
  top: 3em;
  right: 10em;
  position: absolute; /* or fixed if you want it to always be visible */
  transform: rotate(-90deg);
  background: #DBA102;
  color: white;
  font-weight: bold;
  padding-left: 3em;  padding-right: 3em;
  padding-top: .5em;  padding-bottom: .5em;
  border: 0;  margin: 0;
  height: auto;   width: auto;
  z-index: 999999999; /* or whatever is needed to show on top of other elements */
}
#beta-en::before {
  content: "BETA";
}


/* badge */

.badge {
  background-color: #DBA102;
  color: white;
  padding: 4px 8px;
  text-align: center;
  border-radius: 5px;
  font-size: medium;
}


/* pagination style */
.page-link {
  background-color: #1b8354;
  color: #ffffff;
  margin-bottom: 10px;
  display: inline-block;
  min-width: 2.2em;       /* small but enough for numbers */
  padding: 0.3em 0.6em;   /* smaller vertical and horizontal padding */
  text-align: center;
  font-size: 0.85rem;     /* smaller font size for neatness */
  box-sizing: border-box;
  border-radius: 0.25rem;
  transition: background-color 0.3s, color 0.3s;
}

/* Optional: Adjust size on very small screens */
@media (max-width: 400px) {
  .page-link {
    min-width: 1.8em;
    padding: 0.25em 0.4em;
    font-size: 0.75rem;
  }
}

.page-link:hover, 
.page-link:focus, 
.page-link:active, 
.page-link.active {
  color: #777777;
  background-color: #B8EACB;
  border-color: #fff;
}


/* last update content */

.last-update-contant {
  margin-top: 64px;
  padding-top: 12px;
  border-top: 1px solid #d2d6db;
}
