/**

 * Frontend Custom Styles

 * 

 * This file contains all custom CSS for the front-end of your website.

 * These styles will be loaded on all pages.

 */

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

   YOUR CUSTOM CSS STARTS HERE

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

@import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;700&family=Noto+Kufi+Arabic:wght@400;700&display=swap");

:root {
  --bh-ff-primary: "Public Sans", "Noto Kufi Arabic", sans-serif;

  --bh-ff-secondary: "Noto Kufi Arabic", sans-serif;

  /* Heading Variable */

  --bh-fs-h1: 36px;

  --bh-fs-h2: 34px;

  --bh-fs-h3: 32px;

  --bh-fs-h4: 30px;

  --bh-fs-h5: 28px;

  --bh-fs-h6: 26px;

  /* Paragraph Variable */

  --bh-fs-p-xl: 20px;

  --bh-fs-p-l: 18px;

  --bh-fs-p-m: 16px;

  --bh-fs-p-s: 14px;

  --bh-fs-p-xs: 12px;

  --bh-fs-p-xxs: 10px;

  /* Font Weight Variable */

  --bh-fw-light: 300;

  --bh-fw-regular: 400;

  --bh-fw-medium: 500;

  --bh-fw-semibold: 600;

  --bh-fw-bold: 700;

  /* Color Variable */

  --bh-light: #ffffff;

  --bh-dark: #000000;

  --bh-brand: #012e5d;

  --bh-primary: #000000;

  --bh-primary-inverse: #ffffff;

  --bh-secondary: #333333;

  --bh-secondary-rgb: 51, 51, 51;

  --bh-tertiary: #999999;

  --bh-accent: #c63b2b;

  --bh-accent-hover: #9e2f22;

  --bh-info: #0aa2c0;

  --bh-info-off: #cff4fc;

  --bh-info-content: #055160;

  --bh-success: #3b9b6f;

  --bh-success-off: #dbf3e8;

  --bh-success-content: #2c7453;

  --bh-warning: #ff8300;

  --bh-warning-off: #ffe6cc;

  --bh-warning-content: #894701;

  --bh-failure: #dc3545;

  --bh-failure-off: #f8d7da;

  --bh-failure-content: #b02a37;

  --bh-error: #dc3545;

  --bh-error-star: #a91e2c;

  --bh-focus: rgba(54, 149, 250, 0.6);

  --bh-linkinverse: #f1f1f1;

  --bh-linkinverse-secondary: #f1f1f1;

  --bh-link: #012e5d;

  --bh-inverse: #cbcbcb;

  --bh-inverse-brand: #34587d;

  /* BackgroundColor Variable */

  --bh-bg-primary: #ffffff;

  --bh-bg-primary-rgba: 255, 255, 255;

  --bh-bg-secondary: #f7f7f7;

  --bh-bg-tertiary: #cbcbcb;

  --bh-bg-quartenary: #cbcbcb;

  --bh-bg-brand: #012e5d;

  --bh-bg-brand-accent: #012e5d;

  --bh-bg-accent: #c63b2b;

  --bh-bg-dark: #333333;

  --bh-bg-dark-inverse: #333333;

  --bh-bg-light: #ffffff;

  --bh-bg-light-grey: #e5e5e5;

  --bh-bg-light-brand: #e5eaef;

  --bh-bg-light-brand1: #e7f1fb;

  --bh-bg-inverse-accent: #012e5d;

  /* Border Variable */

  --bh-border-primary: #999999;

  --bh-border-secondary: #cbcbcb;

  --bh-border-tertiary: #f1f1f1;

  --bh-border-brand: #012e5d;

  --bh-border-accent: #c63b2b;

  /* Border Radius Variable */

  --bh-border-radius-l: 16px;

  --bh-border-radius-m: 12px;

  --bh-border-radius-s: 8px;

  --bh-border-radius-xs: 4px;

  --bh-border-radius-xss: 2px;

  --bh-border-radius-100: 100%;
}

/* ============================ icomoon icons ============================ */

@font-face {
  font-family: "icomoon";

  src: url("icons/fonts/icomoon.eot");

  src:
    url("icons/fonts/icomoon.eot?#iefix") format("embedded-opentype"),
    url("icons/fonts/icomoon.woff") format("woff"),
    url("icons/fonts/icomoon.ttf") format("truetype"),
    url("icons/fonts/icomoon.svg#icomoon") format("svg");

  font-weight: normal;

  font-style: normal;

  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */

  font-family: "icomoon" !important;

  speak: never;

  font-style: normal;

  font-weight: normal;

  font-variant: normal;

  text-transform: none;

  line-height: 1;

  /* Better Font Rendering =========== */

  -webkit-font-smoothing: antialiased;

  -moz-osx-font-smoothing: grayscale;
}

.icon-youtubeicon:before {
  content: "\e916";
}

.icon-Law-Icon:before {
  content: "\e915";
}

.icon-call:before {
  content: "\e913";
}

.icon-resize:before {
  content: "\e914";
}

.icon-smiley:before {
  content: "\e912";
}

.icon-accessibility:before {
  content: "\e90d";
}

.icon-arrowup:before {
  content: "\e90e";
}

.icon-calendarcheck:before {
  content: "\e90f";
}

.icon-chatbot:before {
  content: "\e910";
}

.icon-chattext:before {
  content: "\e911";
}

.icon-facebook:before {
  content: "\e906";
}

.icon-instagram:before {
  content: "\e907";
}

.icon-linkedin:before {
  content: "\e908";
}

.icon-telegram:before {
  content: "\e909";
}

.icon-twitter:before {
  content: "\e90a";
}

.icon-whatsapp:before {
  content: "\e90b";
}

.icon-youtube:before {
  content: "\e90c";
}

.icon-down-arrow:before {
  content: "\e905";
}

.icon-search:before {
  content: "\e904";
}

.icon-globe:before {
  content: "\e900";
}

.icon-home:before {
  content: "\e901";
}

.icon-search1:before {
  content: "\e902";
}

.icon-lock:before {
  content: "\e903";
}

/* ============================ icomoon icons ============================ */

html[lang="en-US"] body {
  font-family: "Public Sans", sans-serif !important;
}

html[lang="ar"] body {
  font-family: "Noto Kufi Arabic", sans-serif !important;
  /* overflow-x: hidden; */
}

html[lang="ar"] .header .wpml-ls-display {
  padding: 2px 6px;
}

html[dir="rtl"] .hm-benefits .elementor-icon-box-wrapper {
  text-align: right !important;

  direction: rtl;
}

/* body {

	background-color: #F7F7F7;

} */

/* .hero-card:hover * {

	background-color: var(--e-global-color-accent);

	color: #fff !important;

} */

body {
  font-size: 18px;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 30px;
}

h5 {
  font-size: 28px;
}

h6 {
  font-size: 26px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--bh-primary);

  font-weight: var(--bh-fw-bold) !important;

  line-height: 1.4 !important;

  margin-bottom: 1rem;
}

.service-card {
  transition: all 0.4s ease-in-out;
}

.service-card:hover * {
  color: #fff;
}

.hm-benefits-cards:hover * {
  color: #fff !important;

  fill: #fff;
}

.media-card {
  transition: all 0.4s ease-in-out;
}

.media-card:hover * {
  color: #fff !important;

  fill: #fff;
}

a {
  color: var(--bh-brand);
}

a:active,
a:hover {
  color: var(--e-global-color-secondary);
}

.ministrys-directory-section {
  margin-bottom: 2.5rem;
}

.location-and-natural-resources .swiper-slide .swiper-slide-image {
  width: 100%;

  height: 262px;

  object-fit: cover;
}

.comments-area a,
.page-content a {
  text-decoration: initial;
}

.elementor-icon-box-description {
  color: var(--bh-secondary);
}

.wpml-ls-legacy-list-horizontal {
  font-family: "Noto Kufi Arabic", sans-serif;
}

.wpml-ls-legacy-list-horizontal,
.wpml-ls-legacy-list-horizontal a {
  border: none;

  padding: initial;
}

.header .wpml-ls-display,
.header .header-search {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

  padding: 8px;

  border-radius: 4px;

  cursor: pointer;

  width: 36px;

  height: 36px;

  transition: 0.3s ease;
}

.header .wpml-ls-display:hover,
.header .header-search:hover {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

  color: initial;
}

.elementor-widget-counter .elementor-counter-title {
  font-family: inherit;
}

.f-button {
  display: block;
}

@media (min-width: 1024px) {
  .hm-service-container .elementor-icon-box-wrapper {
    min-height: 144px;
  }

  .vg-video-item {
    min-height: 410px;
  }
}

@media (max-width: 768px) {
  .logo-box {
    width: 34%;
  }

  .ministrys-directory-section {
    width: 350px;
  }

  .history-line {
    display: none;
  }
}

/* dark mode */

.header .wp-dark-mode-switch ._track {
  background: #ffffff00;

  color: black;

  /*     margin-top: 3px; */

  border-radius: 4px !important;

  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

  transition: 0.3s ease;
}

.header .wp-dark-mode-switch .active ._track {
  color: #b1c0d2;
}

.header .wp-dark-mode-switch-1 ._track:hover {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.wp-dark-mode-switch-1 ._track ._icon img,
.wp-dark-mode-switch-1 ._track ._icon svg,
.wp-dark-mode-switch-13 ._track ._icon img,
.wp-dark-mode-switch-13 ._track ._icon svg {
  height: 42% !important;

  width: 42% !important;
}

/* accessibility */

.onetap-site-container .onetap-desc {
  display: none;
}

.onetap-container-toggle .onetap-toggle img.design-size1 {
  border-radius: 5px !important;

  padding: 4px !important;

  width: 40px !important;

  height: 40px !important;
}

.eael-ext-scroll-to-top-wrap .eael-ext-scroll-to-top-button {
  background-color: #fff !important;

  border: 1px solid #cbcbcb;

  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px -10px;

  transition: all 1s ease;
}

.eael-ext-scroll-to-top-wrap .eael-ext-scroll-to-top-button:hover {
  background-color: var(--bh-accent) !important;

  border: none;
}

.eael-ext-scroll-to-top-wrap .eael-ext-scroll-to-top-button svg {
  fill: #012e5d !important;
}

.eael-ext-scroll-to-top-wrap .eael-ext-scroll-to-top-button:hover svg {
  fill: #fff !important;
}

/* Hidden by default */

.hm-award-box .read-more-btn {
  display: inline-block;

  margin-top: 14px;

  padding: 8px 16px;

  background: #fff;

  color: #012e5d;

  border: 1px solid #012e5d;

  text-decoration: none;

  font-size: 14px;

  border-radius: 4px;

  font-weight: 700;

  text-transform: uppercase;

  opacity: 0;

  transform: translateY(10px);

  transition: 0.5s ease;
}

/* Show button on Image Box hover */

.hm-award-box:hover .read-more-btn {
  opacity: 1;

  transform: translateY(0);
}

/* Button hover styling */

.hm-award-box .read-more-btn:hover {
  background: var(--bh-accent);

  color: #fff;

  border-color: var(--bh-accent);
}

html[lang="ar"] .eael-ext-scroll-to-top-wrap .eael-ext-scroll-to-top-button {
  left: 22px;

  right: initial;
}

html[lang="ar"] button.onetap-toggle.design-border2 {
  left: 20px !important;

  right: initial !important;
}

/* Hide placeholder text in CatFolders Document Gallery search input */

input[aria-controls^="catf-dg-table"]::placeholder {
  color: transparent !important;
}

#cf-app .cf-table__top .dataTables_filter input {
  box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px !important;
}

/* scroll to top button */

@media (max-width: 768px) {
  .eael-ext-scroll-to-top-wrap .eael-ext-scroll-to-top-button {
    bottom: 110px !important;

    right: 6px !important;

    width: 44px !important;

    height: 44px !important;
  }

  .eael-ext-scroll-to-top-wrap .eael-ext-scroll-to-top-button svg {
    width: 22px !important;

    height: 22px !important;
  }
}

/* dark mode */

/* Default state */

.logo-dark {
  display: none;
}

/* When WP Dark Mode is active */

.wp-dark-mode-active .logo-light {
  display: none;
}

.wp-dark-mode-active .logo-dark {
  display: block;
}

.wp-dark-mode-active .elementor-button {
  border-color: #fff !important;
}

/* feeds */

#sby_lightbox .sby_btn a,
[id^="sb_youtube_"].sb_youtube .sby_btn a,
[id^="sb_youtube_"].sb_youtube .sby_follow_btn a,
[id^="sb_youtube_"].sb_youtube .sby_footer .sby_load_btn {
  background: #fff !important;

  border: 1px solid #012e5d !important;

  color: #012e5d !important;

  padding: 13px 20px !important;

  font-weight: 700 !important;

  font-size: 16px !important;

  border-radius: 4px !important;

  transition: all 0.5s ease !important;

  margin-top: 1rem !important;
}

.body #sb_youtube_sbyUCzaQqsTWICqdvnstCoirQYw3 .sby_load_btn:hover,
.body #sb_youtube_sbyUCzaQqsTWICqdvnstCoirQYw3 .sby_follow_btn:hover {
  background: var(--bh-accent) !important;

  border: 1px solid var(--bh-accent) !important;

  color: #ffffff !important;
}

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

   External Link Icon (Phosphor arrow-square-out)

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

a[href^="http"]:not([href*="mia.infovillage.net"]):not([href^="mailto:"]):not(
    [href^="tel:"]
  ):not(:has(> img)):not(:has(> svg))::after {
  content: "\e5de";
  /* Phosphor arrow-square-out */

  font-family: "Phosphor";

  font-weight: 400;

  font-size: 18px;

  margin: 0 8px;

  color: var(--bh-accent);

  text-decoration: none;

  display: inline-block;

  vertical-align: bottom;

  transition: transform 0.5s ease;
}

/* White version (footer + dark sections) */

footer
  a[href^="http"]:not([href*="mia.infovillage.net"]):not([href^="mailto:"]):not(
    [href^="tel:"]
  ):not(:has(> img)):not(:has(> svg))::after,
.hm-sust-dev
  a[href^="http"]:not([href*="mia.infovillage.net"]):not([href^="mailto:"]):not(
    [href^="tel:"]
  ):not(:has(> img)):not(:has(> svg))::after,
.hm-stats
  a[href^="http"]:not([href*="mia.infovillage.net"]):not([href^="mailto:"]):not(
    [href^="tel:"]
  ):not(:has(> img)):not(:has(> svg))::after {
  color: #fff;

  font-size: 16px;
}

/* -----------------------------------------

   LTR Hover Animation

----------------------------------------- */

a[href^="http"]:not([href*="mia.infovillage.net"]):not([href^="mailto:"]):not(
    [href^="tel:"]
  ):not(:has(> img)):not(:has(> svg)):hover::after {
  transform: translateX(5px);
}

/* -----------------------------------------

   RTL Base Flip

----------------------------------------- */

[dir="rtl"]
  a[href^="http"]:not([href*="mia.infovillage.net"]):not([href^="mailto:"]):not(
    [href^="tel:"]
  ):not(:has(> img)):not(:has(> svg))::after {
  transform: scaleX(-1);
}

/* -----------------------------------------

   RTL Hover Animation (flip + move)

----------------------------------------- */

[dir="rtl"]
  a[href^="http"]:not([href*="mia.infovillage.net"]):not([href^="mailto:"]):not(
    [href^="tel:"]
  ):not(:has(> img)):not(:has(> svg)):hover::after {
  transform: scaleX(-1) translateX(5px);
}

.elementor-button-icon {
  fill: var(--bh-accent);
}

.hero-video-container .elementor-button-icon,
.hm-sust-dev .elementor-button-icon {
  fill: var(--bh-light);
}

.hm-news-section .elementor-post-info__item-prefix {
  position: relative;

  font-size: 16px;

  text-transform: uppercase;

  padding-inline-end: 25px;
}

.hm-news-section .elementor-post-info__item-prefix::after {
  content: "";

  position: absolute;

  right: 10px;

  height: 17px;

  width: 1px;

  background-color: #333;

  top: 3px;

  opacity: 0.5;

  transition: all 0.4s ease 0s;
}

/* Hide the home icon by default */

.show-on-scroll {
  /* remove from layout so it doesn't take space when hidden */

  display: none;

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* Show it once the header becomes sticky (on scroll) */

.elementor-sticky--active .show-on-scroll {
  /* bring back into layout when sticky */

  display: inline-flex;

  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  padding-inline-end: 18px;
}

/* .elementor-button {

  position: relative;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 13px 20px;

  cursor: pointer;

  font-weight: var(--bh-fw-bold);

  font-size: var(--bh-fs-p-m);

  gap: 5px 10px;

  text-decoration: none;

  border-radius: var(--bh-border-radius-xs);

  color: var(--bh-light);

  background-color: var(--bh-brand);

  border: 1px solid var(--bh-brand);

  text-transform: uppercase;

  -webkit-transition: all 0.5s ease 0s !important;

  -moz-transition: all 0.5s ease 0s !important;

  -ms-transition: all 0.5s ease 0s !important;

  -o-transition: all 0.5s ease 0s !important;

  transition: all 0.5s ease 0s !important;

}







@media (max-width: 767.98px) {

  .elementor-button {

    padding: 10px 15px;

  }

}

@media (max-width: 575.98px) {

  .elementor-button {

    gap: 5px 5px;

  }

} */

/* Default (LTR) → icon after text */

.wpml-ls-native::after {
  content: "\e288";

  font-family: "phosphor";

  margin-left: 6px;

  color: #999;

  font-weight: 400;

  vertical-align: top;
}

/* RTL (Arabic) → icon before text */

html[dir="rtl"] .wpml-ls-native::before {
  content: "\e288";

  font-family: "phosphor";

  margin-right: 6px;

  color: #999;

  font-weight: 400;

  vertical-align: top;
}

/* Disable the unused pseudo-element in RTL */

html[dir="rtl"] .wpml-ls-native::after {
  content: none;
}

.wpml-ls-legacy-list-horizontal a span {
  vertical-align: top !important;
}

.wpml-ls-legacy-list-horizontal {
  padding: 0 !important;
}

.wpml-ls-legacy-list-horizontal a {
  padding: 0 !important;
}

.wp-dark-mode-active .elementor-button-icon,
.wp-dark-mode-active .elementor-button-icon svg {
  fill: #c9c3b8;
}

.wp-dark-mode-active .elementor-widget-loop-carousel .swiper-pagination-bullet {
  background: #c9c3b8;
}

.sdg-accordion-section .e-n-accordion-item-title {
  justify-content: space-between !important;
}

.about-page-section li {
  margin-block-end: 12px !important;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 13px 18px !important;
}

.required-star {
  color: var(--bh-accent);
}

@media (min-width: 1024px) {
  /* .header-logo-section .e-con-inner {

    border-bottom: 1px solid #cbcbcb;

  } */

  .desktop-header-menu {
    border-top: 1px solid #cbcbcb;
    width: 100%;
  }
}

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

   Documents Meta

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

.documents-meta {
  line-height: 28px;

  color: rgba(51, 51, 51, 0.8);

  display: flex;

  align-items: center;

  gap: 10px;
}

/* Common styles for all meta items */

.documents-meta-date,
.documents-meta-size,
.documents-meta-language {
  display: flex;

  align-items: center;
}

/* Shared icon styles */

.documents-meta-date::before,
.documents-meta-size::before,
.documents-meta-language::before {
  font-family: "Phosphor";

  font-size: 20px;

  color: var(--bh-accent);

  font-weight: 400;

  margin-inline-end: 2px;

  line-height: normal;
}

/* Individual icons */

.documents-meta-date::before {
  content: "\E712";
}

.documents-meta-size::before {
  content: "\E702";
}

.documents-meta-language::before {
  content: "\E288";
}

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

   Document Search Form

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

.document-search-form {
  display: flex;

  gap: 10px;

  width: 100%;
}

@media (max-width: 768px) {
  .document-search-form {
    flex-direction: column;
  }
}

.document-search-form .search-wrapper {
  position: relative;

  flex: 1;
}

.document-search-form input[type="search"] {
  width: 100%;

  padding: 12px 16px 12px 42px;

  border-radius: 4px;

  border: 1px solid #999;

  font-size: 15px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.document-search-form input[type="search"]:focus {
  outline: none;

  box-shadow: 0 0px 0px 3px var(--bh-focus) !important;
}

.document-search-form .ph-magnifying-glass {
  position: absolute;

  inset-inline-start: 14px;

  top: 50%;

  transform: translateY(-50%);

  color: var(--bh-bg-brand);

  font-size: 20px;

  pointer-events: none;
}

.document-search-form button[type="submit"], .e-search-submit {
  background: var(--bh-bg-brand);

  color: #fff;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 5px 10px;

  transition: background 0.2s ease;
}

.document-search-form button[type="submit"]:hover, .e-search-submit:hover {
  background: var(--bh-bg-accent);
}

.document-search-form button[type="submit"]::after,
.e-search-submit::after {
    content: "\e06c";
    font-family: "Phosphor";
    display: inline-block;
    color: #fff;
    transition:
        transform 0.5s ease,
        color 0.3s ease;
}

html[dir="rtl"] .document-search-form button[type="submit"]::after,
html[dir="rtl"] .e-search-submit::after {
    transform: scaleX(-1);
}

html:not([dir="rtl"]) .document-search-form button[type="submit"]:hover::after,
html:not([dir="rtl"]) .e-search-submit:hover::after {
    transform: translateX(4px);
}

html[dir="rtl"] .document-search-form button[type="submit"]:hover::after,
html[dir="rtl"] .e-search-submit:hover::after {
    transform: scaleX(-1) translateX(-4px);
}

.document-sort-date {
  border: 1px solid #999;
}

.sort-form select,
.sort-form option {
  color: var(--bh-secondary);
  line-height: 19px;
  cursor: pointer;
  padding: 8px 20px;
}

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

   RTL Support

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

html[dir="rtl"] .document-search-form input[type="search"] {
  padding: 12px 42px 12px 16px;
}

.elementor-pagination {
  margin-top: 60px !important;
}

.elementor-pagination .page-numbers {
  border: 1px solid var(--bh-border-secondary) !important;

  border-radius: 4px !important;

  padding: 8px 12px !important;

  color: var(--bh-brand) !important;

  font-size: 14px !important;

  transition: all 0.3s ease !important;
}

.elementor-pagination .page-numbers:hover {
  background: var(--bh-accent) !important;

  color: #fff !important;

  border: 1px solid var(--bh-accent) !important;
}

.elementor-pagination .current {
  background: var(--bh-brand) !important;

  color: #fff !important;

  border: 1px solid var(--bh-brand) !important;
}

/* photos & videos page */

.video-item {
  display: none;
}

selector:has(a[href*="youtube"]),
selector:has(a[href*="vimeo"]) .video-item {
  display: block;
}

selector:has(a[href*="youtube"]),
selector:has(a[href*="vimeo"]) .photo-item {
  display: none;
}

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

   HERO VIDEO CONTAINER

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

.hero-video-container {
  position: relative;

  overflow: hidden;
}

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

   FALLBACK IMAGE DARK OVERLAY

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

.hero-video-container::before {
  content: "";

  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.35);

  z-index: 1;

  pointer-events: none;

  transition: opacity 0.6s ease;
}

/* Fade overlay out when video is playing */

.hero-video-container.video-playing::before {
  opacity: 0;
}

/* Keep content above overlay */

.hero-video-container > * {
  position: relative;

  z-index: 2;
}

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

   BACKGROUND VIDEO FADE TRANSITION

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

/* Default: video hidden, fallback visible */

.hero-video-container .elementor-background-video-container video {
  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

/* Video fades in */

.hero-video-container.video-playing
  .elementor-background-video-container
  video {
  opacity: 1;

  visibility: visible;
}

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

   PLAY / PAUSE BUTTON

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

.custom-video-toggle {
  position: absolute;

  z-index: 20;
}

.playpause-btn {
  width: 50px;

  height: 50px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

/* ▶ PLAY (video paused) */

.playpause-btn.is-paused {
  background: var(--bh-accent);
}

/* ⏸ PAUSE (video playing) */

.playpause-btn:not(.is-paused) {
  background: rgba(0, 0, 0, 0.25);
}

.playpause-btn:hover {
  background: #9e2f22;
}

.hero-heading {
  border-inline-start: 5px solid var(--bh-accent);

  padding-inline-start: 16px;
}

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

   PHOSPHOR ICON STYLING

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

.playpause-btn i {
  font-size: 22px;

  color: #ffffff;

  line-height: 1;

  transition: transform 0.3s ease;
}

/* Play / Pause icon using Phosphor webfont */

.playpause-btn::before {
  content: "\E3D0";
  /* PLAY icon */

  font-family: "Phosphor";

  font-size: 22px;

  color: #ffffff;

  line-height: 1;
}

/* When video is playing → show PAUSE icon */

.playpause-btn:not(.is-paused)::before {
  content: "\E39E";
  /* PAUSE icon */
}

body.rtl .elementor-button-icon .e-font-icon-svg,
body.rtl .custom-video-toggle,
body.rtl .e-fas-angle-right {
  transform: scaleX(-1);
}

/* Make all Elementor buttons flex containers (text + arrow) */

.elementor-button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 5px 10px;
}

.elementor-button::after {
  content: "\e06c";
  /* Phosphor arrow */

  font-family: "Phosphor";
  font-weight: normal;

  display: inline-block;

  color: var(--bh-accent);

  transition:
    transform 0.5s ease,
    color 0.3s ease;
}

.govbh-btn--outline .elementor-button::after {
  color: var(--bh-light);
}

/* Hover color LTR */

html:not([dir="rtl"]) .elementor-button:hover::after {
  color: var(--bh-light);

  transform: translateX(4px);
  /* optional slide effect */
}

/* Flip arrow for RTL */

html[dir="rtl"] .elementor-button::after {
  transform: scaleX(-1);
}

/* Hover color & slide RTL */

html[dir="rtl"] .elementor-button:hover::after {
  color: var(--bh-light);

  transform: scaleX(-1) translateX(4px);
}

.govbh-btn-no-arrow .elementor-button::after {
  content: none;
}

.elementor-button-content-wrapper {
  gap: 5px 10px;
}

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

  CUSTOM CARD COMPONENT

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

.govbh-card {
  position: relative;

  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px 0px;

  display: flex;

  align-items: start;

  flex-wrap: wrap;

  flex-direction: column;

  height: auto;

  width: 100%;

  justify-content: space-between;

  overflow: hidden;

  background: var(--bh-bg-primary);

  border-radius: var(--bh-border-radius-xs);

  padding: 30px;

  text-decoration: none;

  transition:
    background 0.5s ease,
    color 0.5s ease;
}

/* Bottom sliding border */

.govbh-card::after {
  content: "";

  position: absolute;

  bottom: 0;

  inset-inline-start: 0;

  inline-size: 100%;

  height: 5px;

  background: var(--bh-accent);

  transform: scaleX(0);

  transform-origin: left;

  transition: transform 0.5s ease;
}

/* RTL support (Arabic) */

html[dir="rtl"] .govbh-card::after {
  transform-origin: right;
}

/* Hover / focus state */

.govbh-card:hover,
.govbh-card:has(a:focus-visible) {
  background: var(--bh-bg-brand);

  color: var(--bh-light) !important;
}

.govbh-card:hover h3,
.govbh-card:has(a:focus-visible) h3 {
  color: var(--bh-light) !important;
}

/* Animate border */

.govbh-card:hover::after,
.govbh-card:has(a:focus-visible)::after {
  transform: scaleX(1);
}

/* Image container */

.govbh-card .elementor-image-box-img {
  height: 80px;

  width: 80px !important;

  position: relative;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 20px;

  border-radius: 100%;

  background: var(--bh-bg-light-brand);
}

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

  Floating Accessibility Widget

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

/* CONTAINER */

.floating-accessibility {
  position: fixed;

  right: 27px;

  bottom: 140px;

  background: #fff;

  border: 1px solid #cbcbcb;

  border-radius: 12px;

  padding: 5px;

  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px -10px;

  z-index: 9999;
}

html[dir="rtl"] .floating-accessibility {
  right: initial;

  left: 27px;
}

/* ITEMS */

.fab-item {
  width: 48px;

  height: 48px;

  margin-bottom: 6px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 8px;

  cursor: pointer;

  position: relative;

  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.fab-item i {
  font-size: 34px;

  color: #012e5d;

  transition: color 0.25s ease;
}

.fab-item img {
  width: 34px;

  height: 34px;

  transition: filter 0.25s ease;
}

/* Hover */

.fab-item:hover {
  background: var(--bh-accent);
}

.fab-item:hover i {
  color: #fff;
}

.fab-item:hover img {
  filter: brightness(0) invert(1);
}

/* TOOLTIP (DESKTOP ONLY) */

.fab-item::after {
  content: attr(data-tooltip);

  position: absolute;

  right: 58px;

  background: #012e5d;

  color: #fff;

  padding: 6px 10px;

  font-size: 13px;

  border-radius: 6px;

  white-space: nowrap;

  opacity: 0;

  transform: translateX(10px);

  pointer-events: none;

  transition: all 0.2s ease;
}

html[dir="rtl"] .fab-item::after {
    left: 58px;
    right: auto;
}

.fab-item:hover::after {
  opacity: 1;

  transform: translateX(0);
}

/* ARROW */

.fab-arrow {
  text-align: center;

  margin-top: 4px;

  cursor: pointer;
}

.fab-arrow i {
  font-size: 26px;

  color: #cbcbcb;
}

/* DESKTOP ARROW STATES (UP / DOWN) */

.desktop-only {
  display: inline-block;
}

.mobile-only {
  display: none;
}

/* Default: expanded */

.floating-accessibility .arrow-up {
  display: none;
}

.floating-accessibility .arrow-down {
  display: inline-block;
}

/* Collapsed */

.floating-accessibility.collapsed .fab-items {
  display: none;
}

.floating-accessibility.collapsed .arrow-down {
  display: none;
}

.floating-accessibility.collapsed .arrow-up {
  display: inline-block;
}

/* MOBILE STYLES */

@media (max-width: 768px) {
  .floating-accessibility {
    top: auto;

    bottom: 16px;

    right: 50%;

    transform: translateX(50%);

    display: flex;

    align-items: center;

    gap: 6px;

    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);
  }

  .fab-items {
    display: flex;

    flex-direction: row;

    gap: 6px;
  }

  .fab-item {
    margin: 0;
  }

  .fab-item i,
  .fab-item img {
    width: 36px;

    height: 36px;

    font-size: 36px;
  }

  .fab-arrow {
    margin-left: 4px;
  }

  /* Disable tooltips on touch devices */

  .fab-item::after {
    display: none;
  }

  /* Switch arrow set */

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: inline-block;
  }

  /* Mobile arrow logic (LEFT / RIGHT) */

  .floating-accessibility .arrow-left {
    display: none;
  }

  .floating-accessibility .arrow-right {
    display: inline-block;
  }

  .floating-accessibility.collapsed .fab-items {
    display: none;
  }

  .floating-accessibility.collapsed .arrow-right {
    display: none;
  }

  .floating-accessibility.collapsed .arrow-left {
    display: inline-block;
  }
}

/* Submenu horizontal hover effect */

/* .elementor-nav-menu .sub-menu li {

  transition: transform 0.3s ease, color 0.3s ease

} */

/* .elementor-nav-menu .sub-menu li:hover {

  transform: translateX(10px);

} */

/* ── Text Resizer ── */

.tr-wrap {
  position: relative;

  display: inline-block;
}

/* The trigger button in the header */

.tr-trigger {
  background-color: transparent !important;

  border: none !important;

  cursor: pointer;

  padding: 0px !important;

  line-height: 1;

  display: inline-flex;

  align-items: center;

  color: var(--bh-brand);

  transition: color 0.15s;
}

.tr-trigger:hover,
.tr-trigger:focus {
  color: var(--bh-accent) !important;

  background: none !important;
}

.tr-trigger i {
  font-size: 24px;
}

/* Dropdown panel */

.tr-panel {
  display: none;

  position: absolute;

  top: calc(100% + 10px);

  right: 0;

  left: auto;

  background: #fff;

  border: 1px solid #e0e0e0;

  border-radius: 10px;

  padding: 18px 18px 16px;

  min-width: 200px;

  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);

  z-index: 99999;

  white-space: nowrap;

  direction: ltr;
  /* always LTR inside panel for consistency */

  text-align: left;
}

.tr-panel.tr-open {
  display: block;
}

/* Flip panel to left side on RTL pages */

[dir="rtl"] .tr-panel {
  right: auto;

  left: 0;

  direction: rtl;

  text-align: right;

  padding: 18px 40px;
}

/* Close ✕ */

.tr-close {
  position: absolute;

  top: 0px;

  right: 0px;

  left: auto;

  background: none !important;

  border: none !important;

  cursor: pointer;

  font-size: 14px;

  color: var(--bh-tertiary) !important;

  line-height: 1;

  padding: 0;
}

[dir="rtl"] .tr-close {
  right: auto;

  left: 0px;
}

.tr-close:hover {
  color: var(--bh-accent) !important;
}

/* Title row */

.tr-panel-title {
  font-size: 13px;

  font-weight: 600;

  color: #222;

  margin-bottom: 14px;
}

.tr-panel-reset a {
  font-weight: 400;

  color: #555;

  text-decoration: none;
}

.tr-panel-reset a:hover {
  text-decoration: underline;
}

/* The three icon buttons */

.tr-buttons {
  display: flex;

  align-items: center;

  gap: 8px;
}

.tr-btn {
  border: none;

  border-radius: 6px;

  background: transparent;

  cursor: pointer;

  color: #333;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 5px !important;

  line-height: 1;

  transition:
    color 0.15s,
    background 0.15s;
}

.tr-btn-sm i {
  font-size: 12px;
}

.tr-btn-md i {
  font-size: 20px;
}

.tr-btn-lg i {
  font-size: 26px;
}

/* Active state */

.tr-btn.tr-active {
  color: var(--bh-light);

  background: var(--bh-brand);

  border: 1px solid var(--bh-brand);
}

/* Hover state */

.tr-btn:hover:not(.tr-active) {
  color: var(--bh-light);

  background: var(--bh-brand);

  border: 1px solid var(--bh-brand);
}

html[lang="ar"] .eael-breadcrumbs__content a[href$="/ar/"] {
  font-size: 0;
}

html[lang="ar"] .eael-breadcrumbs__content a[href$="/ar/"]::after {
  content: "الرئيسية";

  font-size: 16px;
}

@media (max-width: 768px) {
  .eael-breadcrumbs {
    align-items: baseline;
  }
}

.documents-read-btn .elementor-button::after,
.documents-download-btn .elementor-button::after,
.elementor-button[type="submit"]::after {
  content: none;
}

.documents-details-download-btn .elementor-button::after {
  content: "\e20c";
  font-family: "Phosphor";
  color: var(--bh-light);
  font-weight: normal;
}

.govbh-text--extra-small a::after {
  color: var(--bh-accent) !important;
}

#history-btn:hover {
  background-color: transparent;

  color: inherit;
}

.sdg-accordion .e-n-accordion-item-title-text {
  display: flex;

  gap: 1rem;
}

.sdg-accordion-item-icon {
  width: 80px;

  height: 80px;

  object-fit: cover;

  flex-shrink: 0;
}

.sdg-toggle {
  cursor: pointer;

  transition: 0.3s;

  font-size: var(--bh-fs-p-m);

  color: var(--bh-brand);

  text-decoration: underline;
}

.sdg-toggle:hover {
  color: var(--bh-accent);
}

.about-sust-dev .elementor-button {
  gap: 0;
}

.about-sust-dev .elementor-button:hover::after {
  color: #fff !important;
}

.cookies-banner-texts a {
  outline: 0;
}

.cookies-banner-texts a:hover {
  color: var(--bh-accent) !important;
}

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

.feedback-panel {
  max-height: 0;

  overflow: hidden;

  opacity: 0;

  visibility: hidden;

  transition: all 0.3s ease;
}

.feedback-panel.active {
  max-height: 1000px;

  opacity: 1;

  visibility: visible;
}

.govbh-text--extra-small {
  font-size: var(--bh-fs-p-xs);

  margin: 0;
}

.iti {
  width: 100%;

  display: block;
}

.iti input {
  width: 100%;

  height: 48px;

  padding-inline-start: 110px !important;

  box-sizing: border-box;
}

.iti__flag-container {
  left: 0;
}

.iti__selected-flag {
  width: 100px;

  background: transparent !important;

  border-inline-end: 1px solid #ddd;
}

html[dir="rtl"] .iti__dial-code {
  direction: ltr;
}

.search-popup-trigger {
  cursor: pointer;
}

body.search main {
  width: min(1320px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 2rem 0;
}

body.rtl span.elementor-icon-list-text {
  unicode-bidi: plaintext;
}

.sdg-accordion li {
  margin: 12px 0px;
  padding-inline-start: 12px;
}

/* ==========================
   Common
========================== */

.gallery-trigger,
.elementor-custom-embed-image-overlay {
  position: relative;
  overflow: hidden;
}

/* Hide Elementor play button */
.elementor-custom-embed-play {
  display: none !important;
}

/* Zoom */
.gallery-trigger img,
.elementor-custom-embed-image-overlay img {
  transition: transform 0.45s ease;
}

.e-loop-item:hover .gallery-trigger img,
.e-loop-item:hover .elementor-custom-embed-image-overlay img {
  transform: scale(1.08);
}

/* ==========================
   Top-right badge
========================== */

.gallery-trigger::before,
.elementor-custom-embed-image-overlay::before {
  position: absolute;
  top: 16px;
  right: 16px;

  width: 48px;
  height: 48px;

  border-radius: 50%;
  background: #fff;
  color: var(--bh-brand);

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Phosphor";
  font-size: 30px;
  font-weight: normal;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

  z-index: 3;
  pointer-events: none;
}

/* Photo badge */
.e-loop-item:not(:has(.video-url-hidden)) .gallery-trigger::before {
  content: "\E836";
}

/* Video badge */
.e-loop-item:has(.video-url-hidden)
  .elementor-custom-embed-image-overlay::before {
  content: "\E740";
}

/* ==========================
   Centre overlay icon
========================== */

.gallery-trigger::after,
.elementor-custom-embed-image-overlay::after {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.35);

  font-family: "Phosphor";
  font-weight: normal;
  font-size: 60px;
  color: #fff;

  opacity: 0;
  transition: all 0.35s ease;

  z-index: 2;
  pointer-events: none;
}

/* Photo centre icon */
.e-loop-item:not(:has(.video-url-hidden)) .gallery-trigger::after {
  content: "\E3D4"; /* Plus */
}

/* Video centre icon */
.e-loop-item:has(.video-url-hidden)
  .elementor-custom-embed-image-overlay::after {
  content: "\E3D2"; /* Play */
}

/* Hover */
.e-loop-item:hover .gallery-trigger::after,
.e-loop-item:hover .elementor-custom-embed-image-overlay::after {
  opacity: 1;
}

html[lang="ar"] .elementor-loop-container .swiper-wrapper {
  transform: translate3d(0, 0, 0) !important;
}

.elementor-nav-menu a,
.elementor-nav-menu a:focus,
.elementor-nav-menu a:hover {
  line-height: normal;
}

.wpml-ls-legacy-list-horizontal a {
  line-height: 22px;
}

/* Fix WP Dark Mode RTL horizontal overflow */
html[dir="rtl"] #wp-dark-mode-announcer {
    position: fixed !important;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.elementor-posts-nothing-found {
  color: var(--bh-accent);
  font-size: 18px;
}

.icon-resize {
  font-size: 18px;
}