/* BinaxPay: menu normal case, no submenu icons */
.site-main-nav a,
.tgmenu__navbar-wrap .site-main-nav li a,
.tgmobile__menu .site-main-nav li > a {
  text-transform: none;
}

/* Language switcher (top bar) */
.header-top-bar {
  position: relative;
  z-index: 1100;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}
@media (max-width: 991.98px) {
  .header-top-bar {
    display: none;
  }
}
.lang-switcher {
  position: relative;
  z-index: 1101;
}
.lang-switcher--top .lang-switcher__trigger {
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
}
.lang-switcher__label,
.lang-switcher__icon,
.lang-switcher__globe {
  color: #111827;
}
.lang-switcher__icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
.lang-switcher__icon-badge img {
  width: 100%;
  height: auto;
  display: block;
}
.lang-switcher__icon-badge .lang-switcher__globe-icon {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mobile header: language and menu icons grouped on the right */
@media (max-width: 991.98px) {
  .tgmenu__mobile-actions {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
  }
  /* Hide language icon when side menu is open */
  body.mobile-menu-visible .tgmenu__mobile-actions .lang-switcher {
    display: none;
  }
  .tgmenu__mobile-actions .mobile-nav-toggler {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .tgmenu__mobile-actions .mobile-menu-icon {
    color: #2563eb;
    font-size: 22px;
  }
}
.lang-switcher__dropdown {
  position: absolute;
  z-index: 1200;
  background: #ffffff;
}
.lang-switcher__dropdown a {
  color: #111827;
}
.lang-switcher__dropdown .lang-switcher__item--current {
  font-weight: 600;
}
.lang-switcher__flag {
  margin: 0 6px 0 4px;
  width: 18px;
  height: auto;
  border-radius: 2px;
}
.lang-switcher__dropdown .lang-switcher__flag {
  margin-left: 0;
}

/* Arabic/RTL: logo on left, menu on right */
[dir='rtl'] .tg-header__area-two .tgmenu__nav {
  flex-direction: row-reverse;
}
[dir='rtl'] .tg-header__area-two .tgmenu__navbar-wrap ul {
  margin: 0 0 0 auto;
}

/* Decrease logo size (header + footer) */
.tgmenu__nav .logo img {
  max-height: 34px;
  width: auto;
}
.tgmobile__menu .nav-logo img {
  max-width: 120px;
  height: auto;
}
.footer__logo-two img {
  max-height: 36px;
  width: auto;
}

/* Footer Binaxpay Federation description: white text */
.footer__federation-desc {
  color: #fff;
}

/* Partners: rounded image for Strategic Profile section */
.about__img-wrap-three--rounded {
  overflow: hidden;
  border-radius: 16px;
}
.about__img-wrap-three--rounded img {
  border-radius: 16px;
  display: block;
  width: 100%;
  height: auto;
}

/* Partners: rounded image for What the Partner Contributes (Alignment Without Eroding Sovereignty) */
.benefit__img--rounded img:first-child {
  border-radius: 16px;
  display: block;
  width: 100%;
  height: auto;
}
.benefit__img--rounded {
  overflow: visible;
}

/* Jurisdictions page: rounded banner image (Multi-Jurisdiction Network) */
.page-jurisdictions .banner__img-seven--rounded,
.page-jurisdictions .banner__img-seven--rounded img {
  border-radius: 16px;
  overflow: hidden;
}
.page-jurisdictions .banner__img-seven--rounded img {
  display: block;
  width: 100%;
  height: auto;
}

/* Jurisdictions page: rounded section images */
.page-jurisdictions .about__img-wrap-two--rounded,
.page-jurisdictions .about__img-wrap-two--rounded img {
  border-radius: 16px;
  overflow: hidden;
}
.page-jurisdictions .about__img-wrap-two--rounded img {
  display: block;
  width: 100%;
  height: auto;
}
.page-jurisdictions .about__img-three--rounded,
.page-jurisdictions .about__img-three--rounded img {
  border-radius: 16px;
  overflow: hidden;
}
.page-jurisdictions .about__img-three--rounded img {
  display: block;
  width: 100%;
  height: auto;
}
.page-jurisdictions .history__img-wrap-two--rounded,
.page-jurisdictions .history__img-wrap-two--rounded img {
  border-radius: 16px;
  overflow: hidden;
}
.page-jurisdictions .history__img-wrap-two--rounded img {
  display: block;
  width: 100%;
  height: auto;
}

/* Jurisdictions page: decrease space between menu and banner */
.page-jurisdictions .banner__bg-six {
  padding-top: 120px !important;
  padding-bottom: 56px !important;
}
@media (max-width: 1199.98px) {
  .page-jurisdictions .banner__bg-six {
    padding-top: 100px !important;
    padding-bottom: 48px !important;
  }
}
@media (max-width: 991.98px) {
  .page-jurisdictions .banner__bg-six {
    padding-top: 88px !important;
    padding-bottom: 44px !important;
  }
}
@media (max-width: 767.98px) {
  .page-jurisdictions .banner__bg-six {
    padding-top: 72px !important;
    padding-bottom: 40px !important;
  }
}

/* Investors page: center hero image */
.project__details-thumb-six--center {
  text-align: center;
}
.project__details-thumb-six--center img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* Investors page: decrease section spacing */
.page-investors .project__details-area-two.section-pb-130 {
  padding-bottom: 48px !important;
}
.page-investors .project__details-area-two.section-py-130 {
  padding-top: 40px !important;
  padding-bottom: 48px !important;
}
@media (max-width: 991.98px) {
  .page-investors .project__details-area-two.section-pb-130 {
    padding-bottom: 40px !important;
  }
  .page-investors .project__details-area-two.section-py-130 {
    padding-top: 32px !important;
    padding-bottom: 40px !important;
  }
}
@media (max-width: 767.98px) {
  .page-investors .project__details-area-two.section-pb-130 {
    padding-bottom: 32px !important;
  }
  .page-investors .project__details-area-two.section-py-130 {
    padding-top: 24px !important;
    padding-bottom: 32px !important;
  }
}

/* Hero bottom-left stat box (same style as top-right, text only) */
.hero-stat-bottom-left {
  right: auto;
  left: -8%;
  top: auto;
  bottom: 15%;
}
@media (max-width: 767.98px) {
  .hero-stat-bottom-left {
    display: none;
  }
}

/* Force reduced section spacing (overrides main.css .section-py-130) */
.banner__area-two {
  padding-bottom: 48px !important;
}
@media (max-width: 1199.98px) {
  .banner__area-two {
    padding-bottom: 40px !important;
  }
}
@media (max-width: 767.98px) {
  .banner__area-two {
    padding-bottom: 32px !important;
  }
}

.work__area-two.section-py-130 {
  padding-top: 40px !important;
  padding-bottom: 48px !important;
}
@media (max-width: 991.98px) {
  .work__area-two.section-py-130 {
    padding-top: 32px !important;
    padding-bottom: 40px !important;
  }
}
@media (max-width: 767.98px) {
  .work__area-two.section-py-130 {
    padding-top: 24px !important;
    padding-bottom: 32px !important;
  }
}

.services__area.section-py-130 {
  padding-top: 40px !important;
  padding-bottom: 48px !important;
}
@media (max-width: 991.98px) {
  .services__area.section-py-130 {
    padding-top: 32px !important;
    padding-bottom: 40px !important;
  }
}
@media (max-width: 767.98px) {
  .services__area.section-py-130 {
    padding-top: 24px !important;
    padding-bottom: 32px !important;
  }
}

.history__area-two.section-py-130 {
  padding-top: 40px !important;
  padding-bottom: 36px !important;
}
@media (max-width: 991.98px) {
  .history__area-two.section-py-130 {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
}
@media (max-width: 767.98px) {
  .history__area-two.section-py-130 {
    padding-top: 24px !important;
    padding-bottom: 28px !important;
  }
}

.about__area-two.section-py-130 {
  padding-top: 36px !important;
  padding-bottom: 48px !important;
}
@media (max-width: 991.98px) {
  .about__area-two.section-py-130 {
    padding-top: 28px !important;
    padding-bottom: 40px !important;
  }
}
@media (max-width: 767.98px) {
  .about__area-two.section-py-130 {
    padding-top: 24px !important;
    padding-bottom: 32px !important;
  }
}

/* Structure page: reduce section spacing */
.page-structure .banner__bg-two {
  padding-bottom: 56px !important;
}
@media (max-width: 991.98px) {
  .page-structure .banner__bg-two {
    padding-bottom: 48px !important;
  }
}
@media (max-width: 767.98px) {
  .page-structure .banner__bg-two {
    padding-bottom: 40px !important;
  }
}

.page-structure .services__area-two.section-py-130 {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
.page-structure .services__bottom-content.mt-70 {
  margin-top: 36px !important;
}
@media (max-width: 991.98px) {
  .page-structure .services__area-two.section-py-130 {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
}
@media (max-width: 767.98px) {
  .page-structure .services__area-two.section-py-130 {
    padding-top: 24px !important;
    padding-bottom: 28px !important;
  }
}

.page-structure .about__area-three.section-py-130 {
  padding-top: 40px !important;
  padding-bottom: 48px !important;
}
@media (max-width: 991.98px) {
  .page-structure .about__area-three.section-py-130 {
    padding-top: 32px !important;
    padding-bottom: 40px !important;
  }
}
@media (max-width: 767.98px) {
  .page-structure .about__area-three.section-py-130 {
    padding-top: 24px !important;
    padding-bottom: 32px !important;
  }
}

.page-structure .section-pb-130 {
  padding-bottom: 48px !important;
}
@media (max-width: 767.98px) {
  .page-structure .section-pb-130 {
    padding-bottom: 36px !important;
  }
}

/* Space below menu: prevent title overlapping nav (transparent-header is absolute) */
.breadcrumb__area-two {
  padding-top: 140px;
}
@media (max-width: 991.98px) {
  .breadcrumb__area-two {
    padding-top: 100px;
  }
}
@media (max-width: 767.98px) {
  .breadcrumb__area-two {
    padding-top: 80px;
  }
}

/* Infrastructure page: space between intro (Structure button) and Architectural Philosophy */
/* More space below menu on infrastructure page */
.page-infrastructure .breadcrumb__area-two {
  padding-top: 140px;
}
@media (max-width: 991.98px) {
  .page-infrastructure .breadcrumb__area-two {
    padding-top: 100px;
  }
}
@media (max-width: 767.98px) {
  .page-infrastructure .breadcrumb__area-two {
    padding-top: 80px;
  }
}

.page-infrastructure .career__area {
  margin-bottom: 48px;
}
@media (max-width: 767.98px) {
  .page-infrastructure .career__area {
    margin-bottom: 36px;
  }
}
.page-infrastructure .work__area-three.section-pb-130 {
  padding-top: 64px !important;
  padding-bottom: 48px !important;
}
@media (max-width: 767.98px) {
  .page-infrastructure .work__area-three.section-pb-130 {
    padding-top: 48px !important;
    padding-bottom: 36px !important;
  }
}
.page-infrastructure .services__area-seven.section-py-130 {
  padding-top: 48px !important;
}
@media (max-width: 767.98px) {
  .page-infrastructure .services__area-seven.section-py-130 {
    padding-top: 36px !important;
  }
}

/* Partners page: decrease section spacing and top space */
.page-partners .banner__bg-six {
  padding-top: 120px !important;
  padding-bottom: 56px !important;
}
@media (max-width: 1199.98px) {
  .page-partners .banner__bg-six {
    padding-top: 100px !important;
    padding-bottom: 48px !important;
  }
}
@media (max-width: 991.98px) {
  .page-partners .banner__bg-six {
    padding-top: 88px !important;
    padding-bottom: 44px !important;
  }
}
@media (max-width: 767.98px) {
  .page-partners .banner__bg-six {
    padding-top: 72px !important;
    padding-bottom: 40px !important;
  }
}

.page-partners .about__area-seven.section-py-130 {
  padding-top: 40px !important;
  padding-bottom: 48px !important;
}
.page-partners .services__area-eleven.section-py-130 {
  padding-top: 40px !important;
  padding-bottom: 48px !important;
}
.page-partners .benefit__area.section-pb-130 {
  padding-bottom: 48px !important;
}
.page-partners .history__area-six.section-py-130 {
  padding-top: 40px !important;
  padding-bottom: 48px !important;
}
.page-partners .faq__area-four.section-py-130 {
  padding-top: 40px !important;
  padding-bottom: 48px !important;
}

/* FAQ four: ensure + / − icon (theme uses flaticon) */
.faq__wrap-four .accordion-button::before {
  content: "\f109";
  font-family: flaticon_tg_default;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.faq__wrap-four .accordion-button:not(.collapsed)::before {
  content: "\f10a";
}
.faq__wrap-four .accordion-button::after {
  display: none;
}

@media (max-width: 991.98px) {
  .page-partners .about__area-seven.section-py-130,
  .page-partners .services__area-eleven.section-py-130,
  .page-partners .history__area-six.section-py-130,
  .page-partners .faq__area-four.section-py-130 {
    padding-top: 32px !important;
    padding-bottom: 40px !important;
  }
  .page-partners .benefit__area.section-pb-130 {
    padding-bottom: 40px !important;
  }
}
@media (max-width: 767.98px) {
  .page-partners .about__area-seven.section-py-130,
  .page-partners .services__area-eleven.section-py-130,
  .page-partners .history__area-six.section-py-130,
  .page-partners .faq__area-four.section-py-130 {
    padding-top: 24px !important;
    padding-bottom: 32px !important;
  }
  .page-partners .benefit__area.section-pb-130 {
    padding-bottom: 32px !important;
  }
}

/* Top bar: language switcher top-right (always visible in header) */
.tg-header__area-two {
  display: flex;
  flex-direction: column;
}
.header-top-bar {
  padding: 6px 0 4px;
  min-height: 36px;
  flex-shrink: 0;
}
/* Hide language icon when scrolled down (sticky header) */
#sticky-header.sticky-menu .header-top-bar {
  display: none;
}
.tg-header__area-two .container:last-of-type {
  flex: 1;
}
.tg-header__area-two .header-top-bar .lang-switcher__trigger {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 13px;
  padding: 5px 10px;
}
.tg-header__area-two .header-top-bar .lang-switcher__trigger:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.header-top-bar .lang-switcher__globe {
  font-size: 12px;
  margin-right: 4px;
  opacity: 0.95;
}

/* Language switcher dropdown (header) */
.lang-switcher-wrap {
  display: flex;
  align-items: center;
}
.lang-switcher {
  position: relative;
}
.lang-switcher__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lang-switcher__trigger:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}
.tg-header__area .lang-switcher__trigger {
  color: #fff;
}
.lang-switcher__icon {
  font-size: 10px;
  transition: transform 0.2s;
}
.lang-switcher[data-open] .lang-switcher__icon {
  transform: rotate(180deg);
}
.lang-switcher__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin: 4px 0 0;
  min-width: 140px;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 1000;
}
.lang-switcher[data-open] .lang-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switcher__dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: #1a1a1a;
  text-decoration: none;
  transition: background 0.15s;
}
.lang-switcher__dropdown a:hover {
  background: #f0f0f0;
}
.lang-switcher__dropdown a.lang-switcher__item--current {
  font-weight: 600;
  background: #f0f0f0;
  color: #0d6efd;
}

