body,
h6,
a,
button,
p,
span,
div .h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
  font-family: "Titillium Web", serif !important;
}

:root {
  --primary-red: #9b000e;
}

.header-top::after,
.header-top::before,
.navbar-brand::before,
.navbar-brand-2::before {
  background: #fff;
}

@media (min-width: 1201px) {
  .navbar .navbar-nav .nav-btn {
    width: auto;
  }
}

.language-button.dropdown-toggle::after {
  color: #9b000e !important;
}

.hero-section {
  background: none;
  overflow: hidden;
}

.header-carousel-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.header-carousel.owl-carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.header-carousel .owl-stage-outer {
  overflow: hidden;
}

/* Owl applies transform on .owl-item — negative z-index hides slide media */
.header-carousel .header-carousel-item {
  position: relative;
  overflow: hidden;
  height: 700px;
}

.header-carousel .header-carousel-item .bg-image,
.header-carousel .header-carousel-item .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.header-carousel .header-carousel-item .bg-image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.header-carousel .header-carousel-item .bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-carousel .header-carousel-item .carousel-caption {
  z-index: 2;
}

.header-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 60px;
  height: 60px;
  padding: 0;
  border: none;
  background: #fff;
  color: #9b000e;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.5s;
  pointer-events: auto;
}

.header-carousel-control:hover {
  box-shadow: inset 0 0 65px 0 #9b000e;
  color: #212529;
}

.header-carousel-prev {
  left: 0;
}

.header-carousel-next {
  right: 0;
}

/*
 * Arabic hero uses an LTR Owl stage (see direction rules below), so keep
 * physical arrow sides and icon directions (← left / → right). Swapping
 * sides or flipping icons makes navigation feel reversed.
 */
html[lang="ar"] .header-carousel-prev,
html[dir="rtl"] .header-carousel-prev {
  left: 0;
  right: auto;
  transform: translateY(-50%);
}

html[lang="ar"] .header-carousel-next,
html[dir="rtl"] .header-carousel-next {
  right: 0;
  left: auto;
  transform: translateY(-50%);
}

html[lang="ar"] .header-carousel-control i,
html[dir="rtl"] .header-carousel-control i {
  display: inline-block;
  transform: none;
}

@media (max-width: 768px) {
  .header-carousel-control {
    display: flex;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -100;
}

.bg-video video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.banner-heading {
  font-size: 45px;
  font-weight: 600;
}

@media (min-width: 1200px) {
  .banner-heading {
    font-size: 62px;
  }
}

.banner-text {
  font-size: 16px;
}

@media (min-width: 1200px) {
  .banner-text {
    font-size: 17px;
  }
}

.bold-text {
  font-weight: 700;
}

.flags {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
}

/* rsponsive header */
@media (max-width: 991px) {
  .flags {
    margin-inline-start: 1rem;
  }

  .lines-content {
    flex-direction: column;
  }
}

@media (max-width: 525px) {
  .service .nav .nav-item {
    width: 100%;
  }

  .py-5 {
    padding-block: 2rem !important;
  }

  .owl-stage-outer {
    margin-bottom: 24px;
  }
}

.flags .flag {
  opacity: 0.35;
  cursor: pointer;
  width: 28px;
  height: 28px;
  padding: 2px;
  border-radius: 4px;
  background: transparent;
  transition: all 0.4s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.flags .flag:not(.active):hover {
  opacity: 1;
}

.flags .flag.active {
  opacity: 1;
  background: rgba(128, 128, 128, 0.35);
}

.flags .flag img {
  border: 0.5px solid rgba(0, 0, 0, 0.4);
  border-radius: 2px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flags .flag.active img {
  border-color: #000;
}

@media (min-width: 1200px) {
  .flags {
    gap: 14px;
  }
}

.about-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}

.about-item p {
  font-size: 16px;
  margin-bottom: 0px;
}

.about-item img {
  width: 55px;
  flex-shrink: 0;
  max-height: 38px;
}

.blog-img {
  height: 285px;
}

.blog-img img {
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
}

.team-carousel .owl-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
  padding: 10px 35px;
  border: 1px solid var(--bs-primary);
  color: var(--bs-dark);
  background: var(--bs-light);
  transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
}

.bg-primary h4 {
  color: #fff;
}

.banner {
  background: none;
}

.banner .bg-video:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.service>.container,
.team>.container {
  max-width: 1700px;
}

.service .nav {
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.footer-info {
  font-size: 14px;
}

.team .owl-stage {
  display: flex;
}

.team .owl-stage div:first-child:not(.team-img) {
  height: 100%;
}

.team .team-item {
  display: flex;
  flex-direction: column;
}

.team .team-item .team-content {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.owl-dots {
  position: absolute;
  text-align: center;
  bottom: 30px;
  left: 0;
  right: 0px;
}

@media (max-width: 767px) {
  .owl-dots {
    bottom: 18px;
  }
}

.owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #ccc !important;
  border-radius: 0;
}

.owl-dot.active {
  background: #9b000e !important;
}

.navbar .navbar-nav .nav-item,
.navbar .navbar-nav .dropdown-item {
  font-size: 0.875em;
}

.blog .blog-item:hover .blog-heading a.h4:hover,
.blog .blog-item:hover .blog-heading a.h4 {
  color: #000;
}

.blog .blog-item .blog-heading::after {
  display: none;
}

.footer {
  background: #fff !important;
}

/*  */
.service {
  background-size: cover;
}

.top-category-carousel {
  margin-bottom: 24px;
}

.category-item {
  padding: 8px 11.5px;
  color: #ffffff;
  border-radius: 8px;
  background-color: transparent;
  transition: all 0.4s;
  cursor: pointer;
  text-align: center;
}

.category-item.active,
.category-item:hover {
  color: #959595;
  background-color: #fff;
}

.bottom-category {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.left-category-items {
  display: flex;
  gap: 8px;
  flex-grow: 1;
}

.left-category-items> :is(a, button) {
  flex-grow: 1;
}

.bottom-category .divider {
  width: 1px;
  background-color: #959595;
}

.grey-btn {
  display: inline-block;
  border: 1px solid #535353;
  background-color: #535353;
  color: #fff;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s;
}

.grey-btn:hover {
  background-color: #fff;
  color: #535353;
}

.white-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid #000;
  background-color: #fff;
  color: #000;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s;
  font-weight: 400;
  font-size: 14.22px;
}

.white-btn:hover {
  color: #000;
}

.light-grey-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  background-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s;
  font-weight: 400;
  font-size: 16px;
}

.light-grey-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.products-container {
  display: flex;
  gap: 20px;
  position: relative;
}

.products-service-inner {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.products-section {
  width: 100%;
}

/* Products category / subcategory dropdowns — match contact-us Select2 style */
.products-category-dropdowns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  width: 100%;
  margin-bottom: 28px;
}

.products-nav-select-wrap.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  border-bottom: 1.5px solid #ffffff80;
  padding-block: 8px;
  position: relative;
}

.products-nav-select-label {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.products-nav-select-wrap select.custom-select,
.products-nav-select-wrap .select2 {
  width: 100% !important;
  font-size: clamp(16px, 2vw, 20px);
  color: #fff;
  background-color: transparent;
  border: none;
  outline: none;
}

.products-nav-select-wrap .select2-container--default .select2-selection--single {
  background: transparent;
  border: none;
  height: auto;
  min-height: 32px;
}

.products-nav-select-wrap .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff;
  font-weight: 500;
  padding-inline: 0 28px;
  line-height: 1.4;
}

.products-nav-select-wrap .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #fff;
}

.products-nav-select-wrap .select2-container--default .select2-selection--single .select2-selection__arrow {
  right: 12px;
  top: 50%;
  transform: translateY(-100%);
  width: 12px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  rotate: 45deg;
}

.products-nav-select-wrap .select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.products-nav-select-wrap.select2-container--disabled,
.products-nav-select-wrap .select2-container--disabled {
  opacity: 0.45;
}

html[dir="rtl"] .products-nav-select-wrap .select2-container--default .select2-selection--single .select2-selection__arrow,
html[lang="ar"] .products-nav-select-wrap .select2-container--default .select2-selection--single .select2-selection__arrow {
  right: auto;
  left: 12px;
}

@media (max-width: 767.98px) {
  .products-category-dropdowns {
    grid-template-columns: 1fr;
  }
}

.products-category-bar,
.products-subcategory-bar {
  width: 100%;
  border-bottom: 1px solid #ffffff8f;
  gap: 12px;
  margin-bottom: 18px;
  align-items: center;
}

.products-category-bar {
  margin-bottom: 28px;
  padding-bottom: 8px;
}

.products-subcategory-bar {
  margin-top: 8px;
  margin-bottom: 24px;
  padding-top: 4px;
}

.products-category-bar .arrow-slide,
.products-subcategory-bar .arrow-slide {
  flex-shrink: 0;
}

.products-category-bar .swiper-wrapper,
.products-subcategory-bar .swiper-wrapper {
  justify-content: flex-start !important;
  align-items: center;
}

.products-top-swiper,
.products-sub-swiper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.products-category-bar.custom-tabs .swiper-slide {
  min-width: auto !important;
}

/* Keep category labels on a single horizontal line (carousel scrolls overflow) */
.products-category-bar .swiper-slide {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 10px 14px !important;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
  color: #878d97;
  font-size: clamp(18px, 1.9vw, 24px) !important;
  font-weight: 600;
  line-height: 1.2;
}

.products-category-bar .swiper-slide:hover,
.products-category-bar .swiper-slide.custom-active,
.products-category-bar .swiper-slide.active {
  font-size: clamp(18px, 1.9vw, 24px) !important;
  color: #fff;
  font-weight: 700;
}

.products-category-bar .swiper-slide span {
  display: block;
  white-space: nowrap;
  line-height: 1.2;
}

.products-category-bar .swiper-slide.active,
.products-category-bar .swiper-slide.custom-active {
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 0 #fff;
}

/* Subcategory tiles: grey boxes matching Download Product Catalog */
.products-subcategory-bar.custom-tabs .swiper-slide {
  min-width: auto !important;
}

.products-subcategory-bar .swiper-slide {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  background: transparent;
  white-space: nowrap;
}

.products-subcategory-bar .swiper-slide span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  background: #535353;
  border: 1px solid #535353;
  color: #fff;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  line-height: 1.3;
  border-radius: 0;
  box-sizing: border-box;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.products-subcategory-bar .swiper-slide:hover span {
  background: #fff;
  color: #535353;
}

.products-subcategory-bar .swiper-slide.active span,
.products-subcategory-bar .swiper-slide.custom-active span {
  background: #fff;
  color: #535353;
  font-weight: 700;
}

.products-subcategory-bar .swiper-slide:not(:last-child) {
  margin-inline-end: 12px !important;
}

.products-catalog-btn,
.products-container .right-side .grey-btn.products-catalog-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 16px 22px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.service .main-heading,
.service .main-intro {
  color: #fff;
}

.filter-panel {
  width: 282px;
  flex-shrink: 0;
}

.filter-panel-content {
  width: 100%;
  border-inline-end: 1px solid #444444;
  padding-inline-end: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.filter-panel-content .heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  color: #fff;
  margin-bottom: 30px;
}

.filter-panel-content .heading p {
  margin-bottom: 0px;
}

.filter-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-item {
  width: 100%;
  padding-block: 16px;
  border-bottom: 1.5px solid rgba(255, 2558, 255, 0.5);
}

.form-item:last-of-type {
  padding-block: 0px;
  border-bottom: none;
}

.form-item input[type="text"] {
  width: 100%;
  outline: none;
  border: none;
  background-color: transparent;
  color: #fff;
  font-size: 16px;
}

.form-item input::placeholder {
  color: #fff;
}

/* Container styling */
.form-item .select2-container--default .select2-selection--single {
  background-color: transparent;
  border: none;
  color: #fff;
}

/* Selected item in trigger */
.form-item .select2-container--default .select2-selection--single .select2-selection__rendered,
.form-item .select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__placeholder {
  color: #fff;
  font-weight: 500;
}

/* Dropdown menu styling */
.new-dropdown-menu {
  background-color: transparent;
  border: none;
}

.new-dropdown-menu .select2-results__options {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.new-dropdown-menu .select2-results__option {
  background-color: #333333;
  padding: 8px 16px;
  font-size: 14.5px;
}

/* Hover state */
.new-dropdown-menu .select2-results__option--highlighted {
  background-color: #f8f9fa;
  color: #333;
}

.select2-container--default .new-dropdown-menu .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #252525;
  color: white;
}

/* Selected item in dropdown */
.new-dropdown-menu .select2-results__option--selected {
  background-color: #1a1a1a !important;
  color: white !important;
}

/* Dropdown arrow */
.new-dropdown-menu .select2-selection--single .select2-selection__arrow {
  height: 36px;
}

/* */
.form-item legend {
  font-size: 16px;
  color: #fff;
  margin-bottom: 16px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.form-radio label {
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.form-radio input[type="radio"] {
  /* Hide default radio */
  appearance: none;
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border: 3px solid transparent;
  outline: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-radio input[type="radio"]:checked {
  outline-color: #959595;
  border-color: #000;
  background-color: #959595;
}

.filter-panel-content> :is(a, button) {
  margin-top: auto;
}

/* */
.products-wrapper {
  width: 100%;
}

.products-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  column-gap: 17px;
  row-gap: 24px;
  margin-bottom: 32px;
}

.products-item {
  height: 336px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding: 16px;
}

.products-item .products-item-ing {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.products-item .products-item-ing img {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s;
  will-change: transform;
  backface-visibility: hidden;
}

.products-item:hover .products-item-ing img {
  scale: 1.06;
}

.products-item .products-item-ing::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 43.13%,
      rgba(0, 0, 0, 0.56) 100%);
}

.products-item .arrow {
  z-index: 3;
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
  transition: all 0.4s;
}

.products-item .products-item-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  background-color: transparent;
}

.products-item .products-item-content h4 {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  margin-bottom: 10px;
}

.products-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.products-pagination .pagination-items {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.products-pagination .pagination-items li {
  font-size: 20px;
  line-height: 24px;
  color: #ffffff66;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

.products-pagination .pagination-items li:hover,
.products-pagination .pagination-items li.active {
  color: #ffffff;
}

/* Unify pagination arrows with HTML reference (thin white chevrons) */
.custom-pagination .arrow,
.products-pagination .arrow {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  line-height: 0;
}

.custom-pagination .arrow img,
.products-pagination .arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.custom-pagination .arrow.disable,
.products-pagination .arrow.disable {
  opacity: 0.4;
  filter: none;
  pointer-events: none;
  cursor: default;
}

html[dir="rtl"] .custom-pagination .arrow img,
html[lang="ar"] .custom-pagination .arrow img,
html[dir="rtl"] .products-pagination .arrow img,
html[lang="ar"] .products-pagination .arrow img {
  transform: scaleX(-1);
}

@media (max-width: 1200px) {
  .bottom-category {
    flex-wrap: wrap;
  }

  .copy-right {
    font-size: 13px;
  }

  .btn.btn-primary.contact-btn {
    width: 150px;
    margin-left: 16px;
  }

  .navbar-brand-2>img {
    max-width: 150px;
  }

  .bottom-category .divider {
    display: none;
  }

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

  .filter-panel {
    width: 100%;
  }

  .filter-items {
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
  }

  .form-item {
    width: 23%;
  }

  .form-item:has(.form-radios) {
    width: 100%;
  }

  .form-radios {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .form-item {
    width: 48%;
  }

  .form-item:has(.form-radios) {
    width: 100%;
  }

  .left-category-items {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .form-item {
    width: 100%;
  }

  .filter-panel-content {
    border-inline-end: unset;
    padding-inline-end: 0px;
  }
}

.stock-ticker-container {
  width: 100%;
  padding-block: 15px;
  background-color: #333333;
  color: #fff;
  overflow: hidden;
}

.stock-ticker-marquee {
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

.stock-ticker-track {
  display: flex;
  width: max-content;
  animation: stock-ticker-scroll 25s linear infinite;
  will-change: transform;
}

.stock-ticker-marquee.is-paused .stock-ticker-track {
  animation-play-state: paused;
}

@keyframes stock-ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.stock-ticker-slide {
  flex: 0 0 auto;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-weight: 600;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
  padding: 15px 36px;
  border-left: 2px solid #fff;
}

.stock-ticker-slide:first-child {
  border-left: none;
}

.business-line {
  background-color: #000;
  padding-inline: 0px;
}

.business-line-item img,
.business-line-item video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  max-width: 100%;
  margin-bottom: 32px;
}

.business-line-item .heading {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 0px;
}

.business-line-item .desc {
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 32px;
}

.business-line-item .white-btn {
  width: fit-content;
}

.business-line-content>div {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px;
  padding-inline: 30px;
}

.business-line-content {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.business-line .business-line-item {
  height: 500px;
  position: relative;
  margin-top: 0px;
  flex: 1 1 0px;
}

@media (max-width: 991px) {
  .business-line .lines-content {
    align-items: stretch;
  }

  .business-line .business-line-item {
    width: 100%;
    height: clamp(280px, 68vw, 360px);
    flex: 0 0 auto;
  }

  .business-line .business-line-content {
    height: 100%;
  }

  .business-line-item img,
  .business-line-item video {
    display: block;
    margin-bottom: 0;
  }
}

.business-line-content::after {
  display: block;
  content: "";
  position: absolute;
  width: 25%;
  height: 400%;
  background: rgba(255, 255, 255, 0.2);
  top: 0;
  filter: blur(5px);
  transform: rotate(46deg) translate(-250%, -33%);
  transition: all 1.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  top: -60%;
  left: -60%;
}

.business-line-content:hover::after {
  top: 130%;
  left: 130%;
}

.blog-item .blog-img {
  position: relative;
  overflow: hidden;
}

.blog-item .blog-img::after {
  display: block;
  content: "";
  position: absolute;
  width: 25%;
  height: 400%;
  background: rgba(255, 255, 255, 0.2);
  top: 0;
  filter: blur(5px);
  transform: rotate(46deg) translate(-250%, -33%);
  transition: all 1.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  top: -100%;
  left: -100%;
}

.blog-item:hover .blog-img::after {
  top: 130%;
  left: 130%;
}

@media (min-width: 1201px) {
  .navbar .navbar-nav {
    font-weight: 500;
  }
}

.navbar-brand::after,
.navbar-brand::before,
.navbar-brand-2::after,
.navbar-brand-2::before {
  display: none;
}

.news-wrapper {
  position: relative;
  padding-inline: 70px;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.news-wrapper .owl-prev,
.news-wrapper .owl-next {
  position: absolute;
  top: 50%;
  background-color: #9b000e;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #fff;
}

.news-wrapper .owl-prev {
  left: 10px;
}

.news-wrapper .owl-next {
  right: 10px;
}

/* Homepage news carousel only (not hero or IR investor news) */
.home-news-wrapper .home-news-carousel.owl-carousel {
  width: 100%;
  overflow: hidden;
}

.home-news-wrapper .home-news-carousel .owl-item>.wow {
  visibility: visible !important;
  width: 100%;
}

.home-news-wrapper .owl-prev,
.home-news-wrapper .owl-next {
  z-index: 10;
  transform: translateY(-50%);
}

html[lang="ar"] .home-news-wrapper,
html[dir="rtl"] .home-news-wrapper {
  direction: ltr;
}

html[lang="ar"] .home-news-wrapper .home-news-carousel.owl-carousel,
html[dir="rtl"] .home-news-wrapper .home-news-carousel.owl-carousel {
  direction: ltr;
}

html[lang="ar"] .home-news-wrapper .home-news-carousel .owl-item,
html[dir="rtl"] .home-news-wrapper .home-news-carousel .owl-item {
  direction: ltr;
  float: left;
}

html[lang="ar"] .home-news-wrapper .owl-prev,
html[dir="rtl"] .home-news-wrapper .owl-prev {
  left: auto;
  right: 10px;
}

html[lang="ar"] .home-news-wrapper .owl-next,
html[dir="rtl"] .home-news-wrapper .owl-next {
  right: auto;
  left: 10px;
}

html[lang="ar"] .home-news-wrapper .owl-prev i,
html[lang="ar"] .home-news-wrapper .owl-next i,
html[dir="rtl"] .home-news-wrapper .owl-prev i,
html[dir="rtl"] .home-news-wrapper .owl-next i {
  display: inline-block;
  transform: scaleX(-1);
}

.navbar .navbar-nav .nav-item {
  white-space: nowrap;
}

@media (min-width: 992px) {
  .header-top .navbar-brand {
    padding: 25px;
    padding-inline-start: 0px;
  }
}

.header-top {
  height: auto;
}

.ir-page .blog-img img {
  object-fit: contain;
}

.ir-page .news-carousel.owl-carousel {
  width: 100%;
  overflow: hidden;
}

.ir-page .news-carousel .owl-item {
  display: flex;
  height: auto;
}

.ir-page .news-carousel .owl-item>.wow {
  visibility: visible !important;
  width: 100%;
}

/* Arabic IR investor news only — owl-rtl (does not affect homepage hero) */
html[lang="ar"] .ir-page .news-wrapper,
html[dir="rtl"] .ir-page .news-wrapper {
  direction: ltr;
}

html[lang="ar"] .ir-page .news-wrapper .news-carousel.owl-rtl,
html[dir="rtl"] .ir-page .news-wrapper .news-carousel.owl-rtl {
  direction: rtl;
}

html[lang="ar"] .ir-page .news-wrapper .owl-prev,
html[dir="rtl"] .ir-page .news-wrapper .owl-prev {
  left: auto;
  right: 10px;
  z-index: 10;
}

html[lang="ar"] .ir-page .news-wrapper .owl-next,
html[dir="rtl"] .ir-page .news-wrapper .owl-next {
  right: auto;
  left: 10px;
  z-index: 10;
}

html[lang="ar"] .ir-page .news-wrapper .owl-prev i,
html[lang="ar"] .ir-page .news-wrapper .owl-next i,
html[dir="rtl"] .ir-page .news-wrapper .owl-prev i,
html[dir="rtl"] .ir-page .news-wrapper .owl-next i {
  display: inline-block;
  transform: scaleX(-1);
}

/* Arabic homepage hero — LTR carousel + centered caption (not investor news) */
html[lang="ar"] .header-carousel.owl-carousel,
html[dir="rtl"] .header-carousel.owl-carousel {
  direction: ltr;
}

html[lang="ar"] .header-carousel .owl-item,
html[dir="rtl"] .header-carousel .owl-item {
  direction: ltr;
  float: left;
}

html[lang="ar"] .header-carousel-wrapper,
html[dir="rtl"] .header-carousel-wrapper {
  direction: ltr;
}

html[lang="ar"] .header-carousel .header-carousel-item .carousel-caption,
html[dir="rtl"] .header-carousel .header-carousel-item .carousel-caption {
  left: 0;
  right: 0;
  width: 100%;
  display: grid !important;
  place-items: center;
}

html[lang="ar"] .header-carousel .hero-slide-content,
html[dir="rtl"] .header-carousel .hero-slide-content {
  direction: rtl;
  text-align: center !important;
  width: 100%;
}

.ir-page .news-carousel .owl-item>div,
.ir-page .news-carousel .blog-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.ir-page .news-carousel .blog-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.ir-page .news-carousel .blog-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

.banner::before,
.banner::after,
.banner .banner-design-2,
.banner .banner-design-1 {
  display: none;
}

.blog .blog-item .blog-heading,
.blog .blog-item .blog-content {
  padding-inline: 10px;
}

.footer-logo {
  width: 200px;
  height: 70px
}

.navbar-brand img {
  max-width: 170px;
  height: 60px
}

@media (max-width: 767px) {
  .footer-item {
    justify-content: center;
    align-items: center;
  }

  .footer-logo {
    display: block;
    margin-inline: auto;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .navbar .navbar-nav .nav-item {
    margin-right: 6px;
    /* font-size: 0.72rem; */
  }

  .navbar-brand img {
    max-width: 115px;
  }
}

@media (max-width: 768px) {
  .subscribe-field {
    background-color: transparent;
    border: 0;
  }

  .subscribe-field .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .subscribe-field button {
    width: 100%;
    margin: 0 !important;
    position: static !important;
    height: 50px;
  }

  .subscribe-field input {
    border: 1px solid #ced4da;
    padding: 10px 12px !important;
    height: 50px;
  }

  .subscribe-field input::placeholder {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .footer .btn.btn-light {
    margin: 0 !important;
  }
}

/* 1. Show main dropdown on hover for desktop */
@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
  }

  /* 2. Sub-menu positioning */
  .dropdown-submenu {
    position: relative;
  }

  .dropdown-submenu .sub-menu-right {
    top: 0;
    left: 104%;
    /* Positions it to the right */
    margin-top: -1px;
    display: none;
    /* Hidden by default */
    position: absolute;
    background-color: #fff;
  }

  /* 3. Show sub-menu on hover */
  .dropdown-submenu:hover>.sub-menu-right {
    display: block;
  }

  /* Optional: Arrow indicator for sub-menu */
  .dropdown-submenu>.dropdown-toggle::after {
    transform: rotate(-90deg);
    vertical-align: middle;
    margin-left: 10px;
  }
}

/* Mobile Tweaks */
@media (max-width: 991px) {
  .dropdown-submenu .sub-menu-right {
    padding-left: 20px;
    /* Indent sub-items on mobile */
  }
}

/* Desktop Styles (Hover Logic) */
@media (min-width: 992px) {

  /* Show dropdown on hover */
  .nav-item.dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
    /* Prevents a gap that causes flickering */
  }

  /* Submenu Right positioning */
  .dropdown-submenu {
    position: relative;
  }

  .dropdown-submenu>.sub-menu-right {
    top: 0;
    left: 100%;
    /* Positions it to the right */
    margin-top: -1px;
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
  }

  /* Show submenu on hover */
  .dropdown-submenu:hover>.sub-menu-right {
    display: block;
  }

  /* Buffer to bridge any gap */
  .dropdown-submenu>.sub-menu-right::before {
    content: "";
    position: absolute;
    left: -10px;
    /* Bridge the tiny gap between menu and submenu */
    top: 0;
    width: 10px;
    height: 100%;
  }
}

/* Mobile Styles (Click/Collapse Logic) */
@media (max-width: 991px) {
  .sub-menu-right {
    position: static !important;
    display: none;
    /* Controlled by JS toggle */
    padding-left: 1.5rem;
    /* Indent for mobile */
    background-color: #f8f9fa;
    box-shadow: none;
  }

  .sub-menu-right.show {
    display: block;
  }

  .dropdown-toggle::after {
    transition: transform 0.3s;
  }

  .dropdown-submenu.open>.dropdown-toggle::after {
    transform: rotate(-90deg);
  }
}

#login {
  color: var(--bs-primary);
  border: 0;
  background: transparent;
  outline: none;
}

.btn.btn-light.form-group.two-column:hover .custom-select {
  color: #fff !important;
}

.btn.btn-light.form-group.two-column:hover .custom-select option {
  color: #9b000e;
}

@media (max-width: 768px) {
  .footer.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .footer .row.g-5 {
    --bs-gutter-y: 1rem;
  }

  .footer .row.mb-5 {
    margin-bottom: 1rem !important;
  }

  .footer-lists {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-bottom: 0 !important;
  }

  .footer-lists .btn.btn-light {
    margin: 0 !important;
  }

  .footer-lists .btn.btn-light:not(.btn-md-square) {
    width: auto !important;
    min-width: 86px;
    padding-inline: 10px;
    white-space: nowrap;
  }

  .footer-lists .btn-md-square {
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    padding: 0;
  }

  .copy-row {
    flex-direction: column-reverse;
    gap: 12px;
    --bs-gutter-y: 0.75rem;
  }

  .copy-row>[class*="col-"] {
    padding-bottom: 0;
  }

  .copy-right {
    font-size: 13px;
    text-align: center !important;
  }

  .privacy-btn {
    text-align: center;
  }
}

.navbar-light .navbar-toggler {
  color: #9b000e;
  border-color: #9b000e;
}

.header-top {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  align-self: flex-start;
  width: 100%;
  flex-shrink: 0;
}

section[id],
.inner-page-content [id],
.about-tabs,
.sales-tabs {
  scroll-margin-top: 100px;
}

.main-banner-desc {
  width: 70%;
  margin: 0 auto 30px;
  text-align: center;
}

.banner-heading {
  text-align: center;
}

.about-us-section {
  background-color: #f5f2ed;
}

/* Collage overlay must stay transparent so the main video shows through */
.about-us-section .about-collage-frame {
  background-color: transparent;
}

.about-us-section .about-badge-frame,
.about-us-section .about-video-frame {
  background-color: #f5f2ed;
}

.about-us-section .about-collage-frame,
.about-us-section .position-relative>.bg-white {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Physical left/right so the collage matches the HTML layout in LTR and RTL */
.about-us-section .about-badge-frame,
.about-us-section .position-relative>.bg-white>.position-absolute[style*="width: 70%"] {
  position: absolute;
  width: 70%;
  left: 0;
  right: auto;
  bottom: 0;
  z-index: 2;
  box-sizing: border-box;
  padding-top: 1rem;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.about-us-section .about-video-frame,
.about-us-section .position-relative>.bg-white>.position-absolute[style*="width: 30%"] {
  position: absolute;
  width: 30%;
  right: 0;
  left: auto;
  bottom: 0;
  height: 225px;
  z-index: 1;
  box-sizing: border-box;
  padding-top: 1rem;
  padding-left: 1rem;
  padding-right: 0;
  padding-bottom: 0;
}

.about-us-section .about-badge-frame .bg-primary,
.about-us-section .about-video-frame video {
  pointer-events: none;
}

/* Mobile about collage — no white gaps; larger video area */
@media (max-width: 991.98px) {
  .about-us-section .col-lg-5>.position-relative {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto !important;
  }

  .about-us-section .col-lg-5>.position-relative>video {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 240px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .about-us-section .about-collage-frame {
    position: relative !important;
    inset: auto !important;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
    background-color: #f5f2ed;
    margin-top: 0;
  }

  .about-us-section .about-badge-frame,
  .about-us-section .about-video-frame {
    position: relative !important;
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    height: auto !important;
    min-height: 200px;
    padding: 0 !important;
    background-color: #f5f2ed;
  }

  .about-us-section .about-video-frame {
    min-height: 240px;
  }

  .about-us-section .about-badge-frame .bg-primary {
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem !important;
  }

  .about-us-section .about-video-frame video {
    width: 100% !important;
    height: 100% !important;
    min-height: 240px;
    object-fit: cover;
  }
}

.about-us-section .text-dark,
.about-us-section h1 {
  color: #5c5652 !important;
}

.about-us-section h4 .red-divider {
  display: inline-block;
  width: 40px;
  background-color: #9b000e;
  height: 3px;
  margin-right: 10px;
}

.stock-ticker-container {
  padding-block: 0;
}

.about-cards {
  display: flex;
}

.about-cards .about-item {
  width: 48%;
}

@media (max-width: 991px) {
  .about-cards {
    flex-direction: column;
  }

  .about-cards .about-item {
    width: 100%;
  }

  .footer .btn-md-square {
    width: 25px;
  }
}

.business-line-content>div {
  background-color: rgba(0, 0, 0, 0.5);
}

.business-line-content .white-btn {
  display: inline-flex;
  align-items: end;
  border: 0;
  background-color: transparent;
  color: #fff;
  padding: 0;
  font-size: 18px;
  line-height: 1.2;
}

.business-line-content .white-btn .arrow-45 {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.business-line-content .white-btn:hover {
  color: #9b000e;
}

.footer .btn.btn-light:hover {
  color: var(--bs-white);
  background: var(--bs-primary);
}

.footer .btn.btn-light:hover .nav-link {
  color: var(--bs-white);
}

.footer .form-group {
  padding-inline: 0;
}

.over-desc {
  transition: transform 0.5s ease-in-out;
  opacity: 0;
  transform: translateY(100px);
  visibility: hidden;
}

.grey-btn,
.category-item,
.white-btn,
.light-grey-btn {
  border-radius: 0;
}

@media (min-width: 1500px) {
  .product-details {
    .flow-actions {
      right: 60px;
      left: unset !important;
    }
  }
}

@media (min-width: 991px) and (max-width: 1500px) {
  .product-details {
    .flow-actions {
      right: 0 !important;
      z-index: 8;
      left: unset !important;
    }
  }
}

.business-line .business-line-item:hover .over-desc {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.over-desc p {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  margin-top: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog .list-gallery-media {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  grid-auto-rows: 1fr;
  margin-bottom: 40px;
}

@media (max-width: 1300px) {
  .blog .list-gallery-media {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .blog .list-gallery-media {
    display: grid !important;
    grid-template-columns: minmax(0, 360px);
    justify-content: center;
    gap: 16px;
  }
}

.header-section {
  & .filter-section {
    & .list-filter {
      .btn-filter {
        border-radius: 0 !important;
        /* The filter tabs are now <a> links; make them fill their equal-width
           list cell exactly like the original <button> (which honoured
           width:100%). Without this, inline anchors shrink to their text and
           produce uneven gaps between tabs. */
        display: block;
        width: 100%;
        text-align: center;
        text-decoration: none;
      }
    }
  }
}

.header-section {
  & .filter-section {
    .btn-more-filter {
      border-radius: 0 !important;
    }
  }
}

.header-section {
  & .filter-section {
    @media (max-width: 778px) {
      gap: 15px !important;
    }
  }
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #fff;
}

.contact-us .application-form textarea::placeholder {
  color: #fff;
}

.btn-search {
  background-color: transparent;
}

.btn-search.btn.btn-primary {
  color: #878d97;
}

.btn-search.btn.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-red);
}

/* .years-next,.years-prev{
              background: none;
        border: none;
        border: 1px solid #fff;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        padding: 8px;
        transition: 0.3s all ease-in-out;
    } */
.read-more {
  color: #fff;
  transition: all 0.3s ease-in-out;
  background-color: transparent;
  border: 0;
  z-index: 99;
  text-align: start;
}

.read-more:hover {
  color: #9b000e;
}

.custom-tabs {
  .arrow-slide {
    border: 0 !important;
  }
}

.material-disclosure-header form {
  display: none;
}

.material-disclosure-header {
  &>div {
    max-width: 100% !important;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {

  /* .navbar .navbar-nav .nav-item,
  .navbar .navbar-nav .dropdown-item {
    font-size: 11px;
  } */
  .navbar .navbar-nav {
    min-width: 0;
    padding-inline: 6px;
  }

  .navbar .navbar-nav .nav-item {
    margin-inline: 0 6px;
  }

  .navbar .navbar-nav .nav-item .nav-link {
    white-space: nowrap;
  }

  .navbar .flags {
    gap: 6px;
    margin-inline-start: 6px;
  }

  .navbar .flags .flag {
    width: 20px;
    height: 20px;
  }

  .navbar .nav-btn {
    padding-inline-start: 4px !important;
  }

  .navbar .language-menu {
    margin-inline-start: 6px !important;
  }

  .copy-right {
    font-size: 13px;
  }

  .btn.btn-primary.contact-btn {
    font-size: 13px;
    padding: 0.5rem;
  }
}

.footer .btn.btn-light {
  height: 38px;
}

.news-wrapper .owl-prev,
.news-wrapper .owl-next {
  border-radius: 0;
}

.form-content {
  & .form-group {
    & .select2 {
      & .select2-selection--single {
        .select2-selection__arrow {
          width: 7px !important;
          height: 7px !important;
        }
      }
    }
  }
}

.search-card-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-actions a {
  transition: all 0.3s ease-in-out;
}

.card-actions a:hover {
  transform: translate(5px, -5px);
}

@media (min-width: 991px) and (max-width: 1400px) {
  .custom-tabs {
    & .swiper-slide {

      &:hover,
      &.custom-active {
        font-size: clamp(18px, 1.4vw, 32px) !important;
      }
    }
  }

  .custom-tabs {
    .swiper-slide {
      padding: 8px;
      transition: 0.3s all ease-in-out;
      font-size: clamp(16px, 1.4vw, 24px) !important;
    }
  }
}

.product-details {
  @media (max-width: 1200px) {
    & .mobile-actions {
      display: grid !important;
      grid-template-columns: repeat(4, 1fr);
      margin-top: 24px;
      gap: 16px;
    }
  }
}

.product-details {
  @media (max-width: 1200px) {
    .flow-actions {
      display: none !important;
    }
  }
}

.filter-panel-content> :is(a, button) {
  margin-top: 30px;
}

.sub-links ul {
  columns: 4;
  width: 100%;
}

.sub-links ul li {
  padding-bottom: 10px;
  break-inside: avoid;
}

@media (max-width: 1200px) {
  .sub-links ul {
    columns: 2;
  }
}

@media (max-width: 420px) {
  .sub-links ul {
    columns: 1;
  }
}

.sales-items.invest-items .sales-item a {
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.sales-items.invest-items .sales-item a:hover {
  color: #9b000e;
}

.mobile-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-content .btn-search {
  margin-bottom: 0 !important;
}

@media (min-width: 1200px) {
  .mobile-content .btn-search {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  .navbar-nav .btn-search {
    display: none;
  }

  .navbar .navbar-collapse {
    height: auto;
    padding-bottom: 30px;
    background: #fff;
  }
}

.btn-back.product-back {
  flex: 1;
}

.about-page {
  & .about-content {
    & .about-content-item {
      &.vision-mission {
        & .inner-content {
          & .card-vision-mission {
            & .body-card {
              ul {
                list-style: none;
              }
            }
          }
        }
      }
    }
  }
}

.product-details {
  .detail-product {
    align-items: flex-start !important;
  }
}

.header-article {
  .title-article {
    font-size: clamp(20px, 4vw, 42px) !important;
    font-weight: 700;
    color: #fff;
  }
}

.header-article>div {
  flex-direction: column;
}

.event-detail-article .header-article {
  align-items: flex-start;
}

.event-detail-article .btn-back {
  width: fit-content;
  border: 0;
  color: #fff;
  padding: 0;
}

.event-detail-article .btn-back .icon {
  width: 27px;
  height: 27px;
}

.event-detail-article .btn-back:hover {
  color: var(--primary-red);
}

.event-detail-article .body-article {
  align-items: stretch;
}

.event-detail-article .body-article .image-article {
  width: 100%;
  height: 522px;
  border-radius: 0;
  margin-bottom: 20px;
}

.event-detail-article .body-article .image-article img,
.event-detail-article .body-article img.richtext-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.event-detail-article .body-article>p,
.event-detail-article .body-article>h3,
.event-detail-article .body-article>h4,
.event-detail-article .body-article>.normal-title,
.event-detail-article .body-article>.normal-title-2 {
  max-width: none;
  width: 100%;
}

@media (max-width: 768px) {
  .event-detail-article {
    gap: 24px;
  }

  .event-detail-article .body-article .image-article {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .sustainability.inner-content {
    gap: 16px;
  }

  .sustainability.inner-content .card-sustainability {
    padding: 24px !important;
    align-items: flex-start !important;
  }

  .sustainability.inner-content .card-sustainability:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .sustainability.inner-content .card-sustainability .header-card,
  .sustainability.inner-content .card-sustainability:first-child .header-card {
    width: 100%;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .sustainability.inner-content .card-sustainability .header-card .icon,
  .sustainability.inner-content .card-sustainability:first-child .header-card .icon {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px;
  }

  .sustainability.inner-content .card-sustainability .body-card {
    width: 100%;
    max-width: none !important;
    font-size: 14px !important;
    line-height: 1.55;
  }

  .sustainability.inner-content .card-sustainability .body-card p:last-child {
    margin-bottom: 0;
  }

  .product-inquiry .header-article>.d-flex {
    align-items: flex-start !important;
    gap: 0 !important;
  }

  .product-inquiry .header-article .title-article {
    margin: 0 !important;
    padding: 0 !important;
    text-align: start;
  }
}

/* .sales-page {
    .sales-tabs {
      max-width: 100%!important;
    }}
    .sales-page {
    .sales-tabs.company-tabs{
      max-width: 800px!important;

    }} */
.custom-tabs {
  border-bottom: 0 !important;
  max-width: 800px;
  margin: auto;
}

.corp-tabs.custom-tabs {
  max-width: 100% !important;
}

.btn-remove {
  background: #9b000e;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 0;
  display: none;
  border: 1px solid #9b000e !important;
  transition: all 0.3s ease-in-out !important;
  max-width: 120px;
}

.btn-remove:hover {
  background-color: transparent;
  color: #9b000e;
}

.item-certifications .btn-download {
  color: #fff !important;
}

/* About certifications — keep Download buttons on one baseline */
.about-content-item.certifications-awards .list-certifications,
.certifications-awards .list-certifications {
  align-items: stretch;
}

.about-content-item.certifications-awards .list-certifications .item-certifications,
.certifications-awards .list-certifications .item-certifications {
  display: flex;
  min-width: 0;
}

.about-content-item.certifications-awards .list-certifications .inner-item,
.certifications-awards .list-certifications .inner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 10px;
}

.about-content-item.certifications-awards .list-certifications .certifications-name,
.certifications-awards .list-certifications .certifications-name {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: 2.6em;
  margin: 0;
  text-align: center;
}

.about-content-item.certifications-awards .list-certifications .btn-download,
.certifications-awards .list-certifications .btn-download {
  margin-top: auto;
  flex-shrink: 0;
}

.sales-page {
  & .sales-tabs {
    & .swiper-slide {

      &:hover,
      &.custom-active {
        font-size: clamp(16px, 2.4vw, 21px) !important;
      }
    }
  }
}

.sales-page {
  & .sales-tabs {
    .swiper-slide {
      padding: 8px;
      transition:
        0.3s color ease-in-out,
        0.3s font-size ease-in-out;
      font-size: clamp(16px, 2.4vw, 20px) !important;
    }
  }
}

.sales-items.invest-items .sales-item {
  height: 100%;
}

.privacy-btn {
  padding: 0;
  color: #878d97;
  font-size: 16px;
  display: block;
  transition: all 0.3s ease-in-out;
}

.copy-right {
  margin-bottom: 0
}

.privacy-btn:hover {
  text-decoration: underline;
  color: #9b000e;
}

:root {
  --line-color: #d32f2f;
  --dot-color: #b71c1c;
  --bg-gray: #f9f9f9;
}

.timeline-section {
  background-color: #fff;
  padding: 50px 0;
  font-family: sans-serif;
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* The Vertical Line */
.timeline-container::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: var(--line-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

/* Year Circles */
.timeline-year {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  background: #444;
  color: white;
  border: 4px solid var(--line-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 40px auto;
}

/* Individual Item Wrapper */
.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

/* The small red dots on the line */
.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--dot-color);
  border: 4px solid #fff;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  right: -10px;
  /* Adjust to sit on line */
  z-index: 3;
  box-shadow: 0 0 0 2px var(--line-color);
}

/* Alternating Sides Logic */
.mile-item:nth-child(even) .timeline-item {
  left: 0;
  text-align: right;
}

.mile-item:nth-child(odd) .timeline-item {
  left: 50%;
  text-align: left;
}

.mile-item:nth-child(odd) .timeline-item .timeline-dot {
  left: -10px;
}

/* The Content Box */
.timeline-content {
  padding: 20px;
  background: white;
  position: relative;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* The Bracket Effect */
.timeline-content::before {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 15px;
  border: 2px solid var(--dot-color);
}

/* Bracket for Right-side items */
.mile-item:nth-child(odd) .timeline-content::before {
  left: -5px;
  border-right: none;
  border-radius: 8px 0 0 8px;
}

/* Bracket for Left-side items */
.mile-item:nth-child(even) .timeline-content::before {
  right: -5px;
  border-left: none;
  border-radius: 0 8px 8px 0;
}

/* --- Responsive Mode (Mobile) --- */
@media screen and (max-width: 768px) {
  .timeline-container::after {
    left: 41px;
  }

  .mile-item:nth-child(odd) .timeline-item {
    left: 0;
  }

  .timeline-year {
    margin-left: 0;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    text-align: left !important;
  }

  .timeline-item:nth-child(odd) {
    left: 0;
  }

  .timeline-dot {
    left: 31px !important;
    right: auto;
  }

  .timeline-content::before {
    left: -5px !important;
    right: auto !important;
    border-right: none !important;
    border-left: 2px solid var(--dot-color) !important;
    border-radius: 8px 0 0 8px !important;
  }
}

/* Ensure board images are uniform */
.member-card img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.member-card:hover img {
  transform: scale(1.05);
}

.member-card {
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.member-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Modal styling tweaks */
.modal-content {
  border-radius: 15px;
  border: none;
}

.member-main {
  display: flex;
  gap: 20px;
}

@media (min-width: 576px) {
  .board-member-modal .modal-dialog {
    max-width: 1000px;
    margin: 1.75rem auto;
  }
}

@media (max-width: 991px) {
  .member-main {
    flex-direction: column;
  }

  .mem-main-desc {
    height: auto;
    max-height: 300px;
    overflow-y: auto;
  }
}

.mem-main-desc {
  max-height: 400px;
  overflow-y: auto;
  font-size: 16px;
  color: black;
}

:root {
  --primary-color: #007bff;
  --border-color: #ddd;
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
}

/* The Main Box */
.select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.select-trigger .arrow {
  border: solid #fff;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.3s;
}

.custom-select-wrapper.open .select-trigger .arrow {
  transform: rotate(-135deg);
}

.placeholder {
  font-size: 18px;
  color: #fff;
}

.select-trigger {
  padding-inline-start: 0;
}

.select2-dropdown {
  background-color: #000;
}

/* The Options Dropdown */
.options-container {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #000;
  border: 1px solid #fff;
  border-top: none;
  border-radius: 0 0 5px 5px;
  display: none;
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.custom-select-wrapper.open .options-container {
  display: block;
}

.option {
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.option:hover {
  background-color: #f8f9fa;
}

/* Selected State */
.option.selected {
  background-color: #9b000e;
  color: white;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #9b000e;
}

.select2-search__field {
  background-color: #fff !important;
  color: #000 !important;
}

.select2-search__field::placeholder {
  color: #000 !important;
  opacity: 1;
}

.option.selected::after {
  content: ' ✓';
  float: right;
}

.product-details {
  & .detail-product {
    & .left-side {
      .property-product {
        font-size: 24px;
        list-style: square !important;

      }
    }
  }
}

/* Custom Owl Carousel Nav Arrows */
.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
}

.header-carousel .owl-nav button.owl-prev,
.header-carousel .owl-nav button.owl-next {
  width: 50px;
  height: 50px;
  background: rgba(165, 0, 0, 0.7) !important;
  /* Brand Red with transparency */
  color: #fff !important;
  border-radius: 50%;
  font-size: 24px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  pointer-events: all;
  /* Re-enables clicking on the buttons */
  margin: 0 20px;
}

.header-carousel .owl-nav button:hover {
  background: rgba(165, 0, 0, 1) !important;
  transform: scale(1.1);
}

/* Optional: Hide arrows on small mobile screens */
@media (max-width: 768px) {
  .header-carousel .owl-nav {
    display: none;
  }
}

.top-category-carousel.owl-carousel {
  padding: 0 30px;
  position: relative;

}

.top-category-carousel .owl-nav .owl-next {
  right: 0;
  background-color: #fff;
  position: absolute;
  top: 10px;
  padding: 0 5px;


}

.top-category-carousel .owl-nav .owl-prev {
  left: 0;
  background-color: #fff;
  position: absolute;
  top: 10px;
  padding: 0 5px;


}

.products-container .right-side .grey-btn {
  margin-bottom: 20px;
}

.products-container .right-side .grey-btn.products-catalog-btn {
  width: 100%;
  min-height: 56px;
  padding: 16px 22px;
  font-size: 18px;
  font-weight: 700;
}

/* Standard styling for the button on the screen */
.print-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.print-button:hover {
  background-color: #0056b3;
}

/* --- THE PRINT LOGIC --- */
@media print {

  /* Hide the print button so it doesn't show up on the paper */
  .print-btn,
  .header-top,
  .footer,
  .sidebar,
  .btn-back.product-back,
  .nav-bar .navbar,
  .back-to-top,
  .mobile-actions,
  .btn-black {
    display: none !important;
  }

  .product-details .additional-features .list-additional-features {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr) !important;
  }

  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  span,
  p,
  ul li,
  h3,
  h2,
  .property-product li {
    color: #000 !important;
  }

  .inner-page-content {
    background-image: none !important;
    background: transparent !important;
  }

  .inner-page-content>div {
    background-image: none !important;
    background: transparent !important;
  }

}

@media print {

  /* 1. Force Landscape orientation and remove browser margins */
  @page {
    size: landscape;
    margin: 10mm;
    /* Adjusts the safe-zone for the printer */
  }

  body {
    background: white !important;
    color: black !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  /* Hide UI elements like buttons/nav */
  .print-button,
  nav,
  footer,
  .sidebar {
    display: none !important;
  }

  /* 2. Container Adjustment */
  .table-product-details {
    width: 100% !important;
    display: block !important;
  }

  .dividend-table {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    border: none !important;
    margin: 0 auto !important;
  }

  /* Flatten the table structure to allow flex-grid behavior */
  .dividend-table thead,
  .dividend-table tbody,
  .dividend-table tr {
    display: contents !important;
  }

  /* 3. The Cells (The "Card" boxes) */
  .dividend-table th,
  .dividend-table td {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* Box Styling */
    background-color: #f8f8f8 !important;
    /* Very light grey */
    color: #000 !important;
    border: 0.5pt solid #bbb !important;
    border-radius: 10px !important;

    /* 9-Column Math: 100% / 9 = 11.1%. 
       We use 10.5% to account for margins and prevent overflow. */
    width: 10.5% !important;
    margin: 2px !important;
    padding: 10px 4px !important;

    /* Font size must be small for 9 columns */
    font-size: 8pt !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;

    /* Force background colors to show */
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* 4. Header-specific styling (The black boxes) */
  .dividend-table thead th {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    font-weight: bold !important;
    min-height: 70px !important;
    /* Gives room for long header text */
  }

  /* Ensures rows don't break awkwardly across pages */
  tr {
    page-break-inside: avoid;
  }

}

@media print {

  /* 1. Set Page to Landscape and remove margins */
  @page {
    size: landscape;
    margin: 5mm;
  }

  .product-details {
    & .additional-features {
      & .list-additional-features {
        li {
          padding: 0 !important;
        }
      }
    }
  }

  body {
    background: white !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  /* Hide navigation and buttons */
  .print-button,
  nav,
  footer,
  .sidebar {
    display: none !important;
  }

  /* 2. Table Reset */
  .dividend-table {
    display: table !important;
    /* Keep as table to help row management */
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 4px !important;
    /* Space between the "cards" */
  }

  /* Force rows to be flex containers so cells stay in one line */
  .dividend-table tr {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    /* Prevents cells from jumping to next line */
    width: 100% !important;
    page-break-inside: avoid;
  }

  /* Ensure the head/body sections don't break the flex flow */
  .dividend-table thead,
  .dividend-table tbody {
    display: block !important;
    width: 100% !important;
  }

  /* 3. The "Card" Boxes (TH and TD) */
  .dividend-table th,
  .dividend-table td {
    /* Layout */
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* 9 Columns Calculation */
    /* (100% / 9) minus a tiny bit for the spacing */
    flex: 1 1 10.5% !important;
    min-height: 75px !important;
    padding: 8px 4px !important;
    margin: 2px !important;
    box-sizing: border-box !important;

    /* Styling */
    background-color: #f4f4f4 !important;
    color: #000 !important;
    border: 0.5pt solid #bbb !important;
    border-radius: 10px !important;

    /* Typography */
    font-size: 8pt !important;
    line-height: 1.1 !important;
    word-break: break-word !important;

    /* CRITICAL: Force backgrounds to show in print */
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* 4. Header-Specific Styling (The Dark Boxes) */
  .dividend-table thead th {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    font-weight: bold !important;
    min-height: 90px !important;
    /* Extra height for long titles */
  }
}

.filter-group {
  margin-bottom: 18px;
}

.filter-group h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

.filter-group .filter-item {
  display: block;
}

.filter-group .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.filter-panel .filter-sidebar .filter-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.35;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  margin-bottom: 0;
}

.filter-panel .filter-sidebar .filter-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.filter-panel .filter-sidebar .filter-item .box {
  display: none;
}

.filter-panel .filter-sidebar .filter-item.active,
.filter-panel .filter-sidebar .filter-item:has(input:checked) {
  background: #fff;
  color: #111;
  border-color: #fff;
  font-weight: 600;
}

.highlights-section .animate-number-container {
  font-size: 30px !important;


}

.highlights-section .shareholders-column {

  padding: 25px;
  box-shadow: -2px 0 12px -3px rgba(0, 0, 0, 0.57);
  -webkit-box-shadow: -2px 0 12px -3px rgba(0, 0, 0, 0.57);
  -moz-box-shadow: -2px 0 12px -3px rgba(0, 0, 0, 0.57);
}

@media (max-width:768px) {
  .highlights-section .shareholders-columns {
    gap: 20px;
  }
}



.assembly-container {
  max-width: 380px;
}

.assembly-container .section-title {
  color: #fff;
  font-size: 22px;
  margin: 20px 0;
  font-weight: 600;
}

/* The White Card */
.assembly-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  /* Subtle depth */
  margin-bottom: 30px
}

.assembly-container .card-heading {
  color: #000;
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.4;
  font-weight: 700;
}

/* The small grey line */
.accent-line {
  width: 35px;
  height: 1px;
  background-color: #bdbdbd;
  margin: 15px 0 25px 0;
}

/* List Styling */
.document-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.document-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.document-item:last-child {
  margin-bottom: 0;
}

/* The Blue Links */
.assembly-container .doc-link {
  color: #000;
  /* Accurate cyan-blue from image */
  text-decoration: underline;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s;
  padding-right: 15px;
}

.doc-link:hover {
  color: #9b000e;
}

/* Icon Styling */
.download-icon svg {
  width: 20px;
  height: 20px;
  color: #000;
  /* Soft grey for the icons */
  cursor: pointer;
  display: block;
}

.download-icon:hover svg {
  color: #b71c1c;
}

/* Ensure the grid can scroll on smaller screens for the carousel effect */
.statement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  /* Hide scrollbar for clean carousel look */
}

.statement-grid::-webkit-scrollbar {
  display: none;
}

/* Active box styling */
.statement-box.active {
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.3);
  font-weight: bold;
}

:root {
  --zain-blue: #007fa3;
  --zain-dark: #002b3d;
  --light-bg: #f5f7f9;
  --border-color: #e6e9ed;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* 1. Top Navigation Bar */
.top-tabs {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  background-color: #fff;
}

.tab-btn {
  padding: 15px 25px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  border-bottom: 4px solid transparent;
}

.tab-btn.active {
  border-bottom-color: #000;
  /* Dashed border effect from screenshot */
  outline: 1px dashed #999;
  outline-offset: -5px;
}

/* 2. Main Content Wrapper */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
}

/* 3. Annual / Quarterly Toggle */
.period-selector {
  display: flex;
  gap: 20px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 20px;
}

.period-btn {
  background: none;
  border: none;
  padding: 10px 5px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  border-bottom: 4px solid transparent;
}

.period-btn.active {
  color: var(--zain-blue);
  border-bottom-color: var(--zain-blue);
}

/* 4. Selection Slider & Grid */
.selection-slider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
}

.statement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex: 1;
}

.statement-box {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 15px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  line-height: 1.5;
}

.dark-navy {
  background-color: var(--zain-dark);
}

.corporate-blue {
  background-color: var(--zain-blue);
}

.arrow-btn {
  width: 32px;
  height: 110px;
  background-color: #e9f3f6;
  border: none;
  color: var(--zain-blue);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 5. Section Header & Toggle Icons */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.results-header h2 {
  font-size: 1.3rem;
  color: #333;
  font-weight: 500;
  margin: 0;
}

.view-controls {
  display: flex;
  gap: 10px;
}

.control-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px;
  cursor: pointer;
  color: #666;
  border-radius: 2px;
}

.control-btn.active {
  background-color: #f0f0f0;
  color: #000;
}

/* .form-register .bg-light .form-label{
  color: #000;

} */
.form-register h4,
.form-register h5,
.form-register .text-muted {
  color: #fff !important;
}

.form-register .table-responsive td {
  color: #fff;
  white-space: nowrap;
  border-color: #fff;
}

.form-register .form-check-label,
.form-register label,
.form-register p {
  color: #fff;
}

.form-register {

  input,
  select,
  .select2,
  textarea {
    font-size: clamp(16px, 2vw, 20px);
    color: #fff !important;
    background-color: transparent;
    border: none;
    outline: none;
    border-bottom: 1.5px solid #ffffff80;
    padding-inline-start: 0;
  }
}

.form-register .form-control:disabled,
.form-register .form-control:read-only {
  background-color: transparent;
}

.form-register input::placeholder,
.form-register textarea::placeholder {
  color: #fff;
}

.form-register input:focus,
.form-register textarea:focus {
  background-color: transparent;
  box-shadow: none;
}

.form-register .form-check-input {
  background-color: #fff;
}

.form-register .btn.btn-primary {
  border: 1px solid #9b000e;
}

.form-register .btn.btn-primary:hover {
  background-color: transparent;
}

.navbar .dropdown-toggle::after {
  margin-left: 1px;
}

.faq-section h2 {
  color: #fff;
}

.blog .blog-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.blog .blog-item .blog-heading {
  display: flex;
  align-items: flex-start;
  height: auto;
  min-height: 100px;
}

.blog .blog-item .blog-heading a.h4 {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  margin-bottom: 0;
}

.blog .blog-item .blog-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 10px 10px 20px !important;
  height: 250px;
}

.blog .blog-item .blog-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

.blog .blog-item .blog-content>p {
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 6em;
}

@media (max-width: 1200px) {
  .blog .blog-item .blog-heading {
    min-height: 120px;
  }
}

@media (min-width: 1200px) {
  .blog .blog-item .blog-heading a.h4 {
    min-height: 125px;
  }
}

.products-section .custom-tabs {
  max-width: 100% !important;
}

.products-section .products-category-bar .swiper-slide.active,
.products-section .products-category-bar .swiper-slide.custom-active {
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 0 #fff;
}

.products-item .arrow {
  display: none;
}

/* Project detail page styles live in project-details.css (page extra_css). */

.nav-bar {
  height: 80px;
}

/* Stellarnav-style responsive navigation */
@media (max-width: 1199.98px) {

  .header-top,
  .header-top .container,
  .nav-bar,
  .nav-bar .navbar {
    height: 80px !important;
    min-height: 80px;
  }

  /* Keep sticky header visible when the mobile menu opens/closes */
  .header-top {
    position: sticky !important;
    top: 0 !important;
    z-index: 1100 !important;
    overflow: visible !important;
    max-height: none !important;
    background: #fff;
  }

  .header-top::after {
    display: none;
  }

  .nav-bar .navbar {
    align-items: center;
    justify-content: space-between;
    padding: 0 !important;
  }

  .navbar-brand-2 {
    width: min(180px, 45vw);
    min-width: 0;
    flex-shrink: 1;
  }

  .navbar-brand-2::before,
  .navbar-brand-2::after {
    display: none;
  }

  .navbar-brand-2 img {
    display: block;
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .mobile-content {
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
  }

  .mobile-content .mobile-country-flags {
    display: flex !important;
    width: auto !important;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 0 !important;
  }

  .mobile-content .mobile-country-flags .flag {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    opacity: 0.35;
    padding: 2px;
    border-radius: 4px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
  }

  .mobile-content .mobile-country-flags .flag.active {
    opacity: 1 !important;
    background: rgba(128, 128, 128, 0.4) !important;
  }

  .mobile-content .mobile-country-flags .flag img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    border: 0.5px solid rgba(0, 0, 0, 0.4);
    object-fit: cover;
  }

  .mobile-content .nav-btn {
    display: flex;
    align-items: center;
    padding-inline-start: 0 !important;
  }

  .mobile-content .btn-search,
  .mobile-content .navbar-toggler {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0;
    line-height: 1;
  }

  .navbar-collapse .country-flags {
    display: none !important;
  }

  .navbar .navbar-collapse {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 1090;
    margin-top: 0 !important;
    height: auto !important;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
  }

  .navbar .navbar-nav {
    width: 100%;
    margin: 0 !important;
    padding: 0;
    background: #fff !important;
    border-top: 4px solid var(--bs-primary);
    border-radius: 0;
  }

  .navbar .navbar-nav .nav-item {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    border-bottom: 1px solid #eef1f4;
  }

  .navbar .navbar-nav .nav-link,
  .navbar .navbar-nav>.nav-link,
  .navbar .navbar-nav .dropdown>.nav-link {
    position: relative;
    width: 100%;
    min-height: 52px;
    padding: 15px 56px 15px 20px !important;
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    color: var(--bs-dark) !important;
    font-weight: 600;
    line-height: 1.25;
  }

  .navbar .navbar-nav .dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: static;
  }

  /* Arrows pinned to the end of each menu row */
  .navbar .navbar-nav .dropdown-toggle::after,
  .navbar .dropdown-submenu>.dropdown-toggle::after {
    position: absolute !important;
    top: 50% !important;
    right: auto !important;
    left: auto !important;
    inset-inline-end: 12px !important;
    inset-inline-start: auto !important;
    width: 34px;
    height: 34px;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background: transparent;
    color: var(--bs-primary);
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
  }

  html[dir="rtl"] .navbar .navbar-nav .dropdown-toggle::after,
  html[lang="ar"] .navbar .navbar-nav .dropdown-toggle::after,
  html[dir="rtl"] .navbar .dropdown-submenu>.dropdown-toggle::after,
  html[lang="ar"] .navbar .dropdown-submenu>.dropdown-toggle::after {
    right: auto !important;
    left: auto !important;
    inset-inline-start: auto !important;
    inset-inline-end: 12px !important;
  }

  /* Active / current menu item — red background, white text (all levels) */
  .navbar .navbar-nav .nav-link.active,
  .navbar .navbar-nav .nav-item.active>.nav-link,
  .navbar .navbar-nav .dropdown>.nav-link.active {
    color: #fff !important;
    background: var(--bs-primary) !important;
  }

  .navbar .navbar-nav .nav-link.active *,
  .navbar .navbar-nav .nav-item.active>.nav-link *,
  .navbar .navbar-nav .dropdown>.nav-link.active *,
  .navbar .navbar-nav .nav-link.active .dropdown-toggle::after {
    color: #fff !important;
  }

  .navbar .dropdown-menu .dropdown-item:hover,
  .navbar .dropdown-menu .dropdown-item:focus,
  .navbar .dropdown-menu .dropdown-item.active,
  .navbar .dropdown-menu .dropdown-item.active:hover,
  .navbar .dropdown-submenu .sub-menu-right .dropdown-item:hover,
  .navbar .dropdown-submenu .sub-menu-right .dropdown-item.active,
  .navbar .dropdown-submenu .sub-menu-right .dropdown-item.active:hover {
    background: var(--bs-primary) !important;
    background-color: var(--bs-primary) !important;
    color: #fff !important;
  }

  .navbar .dropdown-menu .dropdown-item:hover,
  .navbar .dropdown-menu .dropdown-item:focus,
  .navbar .dropdown-menu .dropdown-item.active,
  .navbar .dropdown-menu .dropdown-item.active *,
  .navbar .dropdown-menu .dropdown-item:hover *,
  .navbar .dropdown-submenu .sub-menu-right .dropdown-item.active,
  .navbar .dropdown-submenu .sub-menu-right .dropdown-item.active *,
  .navbar .dropdown-submenu .sub-menu-right .dropdown-item:hover,
  .navbar .dropdown-submenu .sub-menu-right .dropdown-item:hover * {
    color: #fff !important;
  }

  .navbar .nav-item .dropdown-menu,
  .navbar .dropdown-menu[data-bs-popper] {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100%;
    min-width: 100%;
    margin: 0 !important;
    padding: 0;
    display: block;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #f7f9fb;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  .navbar .nav-item .dropdown-menu.show,
  .navbar .nav-item.dropdown.show>.dropdown-menu {
    max-height: 75vh;
    opacity: 1;
    pointer-events: auto;
  }

  .navbar .dropdown-menu .dropdown-item {
    width: 100%;
    min-height: 46px;
    padding: 13px 20px 13px 34px;
    display: flex;
    align-items: center;
    color: #263238;
    font-weight: 500;
    white-space: normal;
    border-bottom: 1px solid #e7edf1;
  }

  .navbar .dropdown-menu .dropdown-item:hover,
  .navbar .dropdown-menu .dropdown-item:focus,
  .navbar .dropdown-menu .dropdown-item.active {
    background: var(--bs-primary) !important;
    color: #fff !important;
  }

  .navbar .dropdown-menu .dropdown-item.active * {
    color: #fff !important;
  }

  .navbar .dropdown-submenu {
    width: 100%;
    position: static;
  }

  .navbar .dropdown-submenu>.dropdown-toggle {
    position: relative;
    padding-right: 56px;
  }

  .navbar .dropdown-submenu>.dropdown-toggle::after {
    top: 50%;
    right: 14px;
    margin: 0;
    transform: translateY(-50%) rotate(0deg);
  }

  .navbar .dropdown-submenu>.sub-menu-right {
    position: static !important;
    display: block;
    width: 100%;
    min-width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    padding: 0;
    background: #eef3f6;
    box-shadow: none;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  .navbar .dropdown-submenu.open>.sub-menu-right,
  .navbar .dropdown-submenu>.sub-menu-right.show {
    max-height: 60vh;
    opacity: 1;
    pointer-events: auto;
  }

  .navbar .navbar-nav .dropdown.show>.nav-link .dropdown-toggle::after,
  .navbar .navbar-nav .nav-link.show .dropdown-toggle::after,
  .navbar .navbar-nav .dropdown-submenu.open>.dropdown-toggle::after {
    transform: translateY(-50%) rotate(180deg);
  }

  .navbar .dropdown-submenu .sub-menu-right .dropdown-item {
    padding-left: 50px;
    background: transparent;
    color: #263238;
  }

  .navbar .dropdown-submenu .sub-menu-right .dropdown-item:hover,
  .navbar .dropdown-submenu .sub-menu-right .dropdown-item:focus,
  .navbar .dropdown-submenu .sub-menu-right .dropdown-item.active,
  .navbar .dropdown-submenu .sub-menu-right .dropdown-item.active:hover {
    background: var(--bs-primary) !important;
    background-color: var(--bs-primary) !important;
    color: #fff !important;
  }

  .navbar .dropdown-submenu .sub-menu-right .dropdown-item:hover *,
  .navbar .dropdown-submenu .sub-menu-right .dropdown-item.active,
  .navbar .dropdown-submenu .sub-menu-right .dropdown-item.active * {
    color: #fff !important;
  }

  .navbar-collapse .flags,
  .navbar .language-menu,
  .navbar-collapse .lang-toggle {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #eef1f4;
  }

  .navbar .nav-btn {
    padding: 14px 0 !important;
  }

  .navbar .flags {
    display: flex;
    gap: 10px;
    margin-inline-start: 0 !important;
  }

  .navbar .language-menu .language-button,
  .navbar-collapse .lang-toggle .lang-link {
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 15px 20px !important;
    color: #212529 !important;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.25;
    text-align: start;
    text-decoration: none;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 389.98px) {

  .header-top .container {
    padding-inline: 12px;
  }

  .navbar-brand-2 {
    margin: 0;
    padding: 0 !important;
    width: min(150px, 42vw);
  }

  .navbar-brand-2 img {
    max-width: 100%;
    height: auto;
  }

  .nav-bar .navbar {
    justify-content: flex-end;
    padding: 0;
  }

  .mobile-content {
    gap: 5px;
    margin-inline-start: auto;
  }

  .mobile-content .mobile-country-flags {
    gap: 5px;
  }

  .mobile-content .mobile-country-flags .flag {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    opacity: 0.35;
    padding: 2px;
  }

  .mobile-content .mobile-country-flags .flag.active {
    opacity: 1 !important;
    background: rgba(128, 128, 128, 0.4) !important;
  }

  .mobile-content .btn-search,
  .mobile-content .navbar-toggler {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 12px;
  }

  .mobile-content .nav-btn {
    padding: 0 !important;
  }

}

/* Arabic / RTL layout: activate by setting <html lang="ar" dir="rtl"> */
html[lang="ar"],
html[dir="rtl"] {
  direction: rtl;
}

html[lang="ar"] body,
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .navbar,
html[dir="rtl"] .navbar,
html[lang="ar"] .navbar .navbar-nav,
html[dir="rtl"] .navbar .navbar-nav {
  direction: rtl;
}

html[lang="ar"] .navbar .navbar-nav .nav-item,
html[dir="rtl"] .navbar .navbar-nav .nav-item {
  margin-right: 0;
  margin-left: 20px;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {

  html[lang="ar"] .navbar .navbar-nav .nav-item,
  html[dir="rtl"] .navbar .navbar-nav .nav-item {
    margin-right: 0;
    margin-left: 6px;
  }

  /* html[lang="ar"] .language-menu,
  html[dir="rtl"] .language-menu {
    margin-right: 6px !important;
    margin-left: 0 !important;
  } */

  html[lang="ar"] .navbar .flags,
  html[dir="rtl"] .navbar .flags {
    margin-inline-end: 6px;
  }
}

html[lang="ar"] .navbar .dropdown-toggle::after,
html[dir="rtl"] .navbar .dropdown-toggle::after {
  margin-left: 0;
  margin-right: 8px;
}

html[lang="ar"] .dropdown-submenu>.dropdown-toggle::after,
html[dir="rtl"] .dropdown-submenu>.dropdown-toggle::after {
  transform: rotate(90deg);
  margin-left: 0;
  margin-right: auto;
}

@media (min-width: 1200px) {

  html[lang="ar"] .dropdown-submenu .sub-menu-right,
  html[dir="rtl"] .dropdown-submenu .sub-menu-right,
  html[lang="ar"] .dropdown-submenu>.sub-menu-right,
  html[dir="rtl"] .dropdown-submenu>.sub-menu-right {
    left: auto;
    right: 100%;
  }

  html[lang="ar"] .dropdown-submenu>.sub-menu-right::before,
  html[dir="rtl"] .dropdown-submenu>.sub-menu-right::before {
    left: auto;
    right: -10px;
  }
}

html[lang="ar"] .navbar .flags,
html[dir="rtl"] .navbar .flags {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

/* html[lang="ar"] .language-menu,
html[dir="rtl"] .language-menu {
  margin-left: 0 !important;
  margin-right: 1rem !important;
} */

html[lang="ar"] .language-menu .language-button,
html[dir="rtl"] .language-menu .language-button {
  text-align: right;
}

html[lang="ar"] .dropdown-menu,
html[dir="rtl"] .dropdown-menu,
html[lang="ar"] .sub-menu-right,
html[dir="rtl"] .sub-menu-right {
  text-align: right;
}

html[lang="ar"] .dropdown-menu .dropdown-item,
html[dir="rtl"] .dropdown-menu .dropdown-item {
  text-align: right;
}

/* html[lang="ar"] .navbar-brand,
html[dir="rtl"] .navbar-brand {
  padding: 40px 0 40px 50px;
} */

html[lang="ar"] .navbar-brand::before,
html[dir="rtl"] .navbar-brand::before,
html[lang="ar"] .navbar-brand::after,
html[dir="rtl"] .navbar-brand::after {
  right: auto;
  left: 0;
  transform: rotate(18deg);
}

html[lang="ar"] .navbar-brand-2::before,
html[dir="rtl"] .navbar-brand-2::before,
html[lang="ar"] .navbar-brand-2::after,
html[dir="rtl"] .navbar-brand-2::after {
  right: auto;
  left: 18px;
  transform: rotate(18deg);
}

html[lang="ar"] .mobile-content,
html[dir="rtl"] .mobile-content {
  margin-left: 0;
  margin-right: auto;
}

html[lang="ar"] .section-heading,
html[dir="rtl"] .section-heading,
html[lang="ar"] .section-desc,
html[dir="rtl"] .section-desc,
html[lang="ar"] .inner-banner,
html[dir="rtl"] .inner-banner,
html[lang="ar"] .blog-content,
html[dir="rtl"] .blog-content,
html[lang="ar"] .products-container,
html[dir="rtl"] .products-container,
html[lang="ar"] .filter-panel,
html[dir="rtl"] .filter-panel,
html[lang="ar"] .footer,
html[dir="rtl"] .footer {
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .owl-carousel:not(.header-carousel):not(.home-news-carousel),
html[dir="rtl"] .owl-carousel:not(.header-carousel):not(.home-news-carousel),
html[lang="ar"] .swiper:not(.stock-ticker-swiper),
html[dir="rtl"] .swiper:not(.stock-ticker-swiper) {
  direction: rtl;
}

html[lang="ar"] .stock-ticker-marquee,
html[dir="rtl"] .stock-ticker-marquee {
  direction: ltr;
}

html[lang="ar"] .search-input img,
html[dir="rtl"] .search-input img {
  left: auto;
  right: 16px;
}

html[lang="ar"] .search-input input,
html[dir="rtl"] .search-input input {
  padding-left: 16px;
  padding-right: 44px;
  text-align: right;
}

html[lang="ar"] table,
html[dir="rtl"] table {
  direction: rtl;
}

html[lang="ar"] th,
html[dir="rtl"] th,
html[lang="ar"] td,
html[dir="rtl"] td {
  text-align: right;
}

@media (max-width: 1199.98px) {

  html[lang="ar"] .navbar .navbar-nav .nav-item,
  html[dir="rtl"] .navbar .navbar-nav .nav-item {
    margin-left: 0;
  }

  html[lang="ar"] .navbar .navbar-nav .nav-link,
  html[dir="rtl"] .navbar .navbar-nav .nav-link,
  html[lang="ar"] .navbar .navbar-nav>.nav-link,
  html[dir="rtl"] .navbar .navbar-nav>.nav-link,
  html[lang="ar"] .navbar .navbar-nav .dropdown>.nav-link,
  html[dir="rtl"] .navbar .navbar-nav .dropdown>.nav-link {
    padding: 15px 20px 15px 56px !important;
    text-align: right;
  }

  html[lang="ar"] .navbar .dropdown-submenu>.dropdown-toggle,
  html[dir="rtl"] .navbar .dropdown-submenu>.dropdown-toggle {
    padding-right: 34px;
    padding-left: 56px;
  }

  html[lang="ar"] .navbar .dropdown-menu .dropdown-item,
  html[dir="rtl"] .navbar .dropdown-menu .dropdown-item {
    padding: 13px 34px 13px 20px;
    text-align: right;
  }

  html[lang="ar"] .navbar .dropdown-submenu .sub-menu-right .dropdown-item,
  html[dir="rtl"] .navbar .dropdown-submenu .sub-menu-right .dropdown-item {
    padding-left: 20px;
    padding-right: 50px;
  }

  html[lang="ar"] .navbar .navbar-nav .dropdown-toggle::after,
  html[dir="rtl"] .navbar .navbar-nav .dropdown-toggle::after,
  html[lang="ar"] .navbar .dropdown-submenu>.dropdown-toggle::after,
  html[dir="rtl"] .navbar .dropdown-submenu>.dropdown-toggle::after {
    left: auto !important;
    right: auto !important;
    inset-inline-start: auto !important;
    inset-inline-end: 14px !important;
    margin: 0 !important;
  }

  html[lang="ar"] .mobile-content .mobile-country-flags,
  html[dir="rtl"] .mobile-content .mobile-country-flags {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 0 !important;
  }

  html[lang="ar"] .navbar-collapse .flags,
  html[dir="rtl"] .navbar-collapse .flags,
  html[lang="ar"] .navbar .language-menu,
  html[dir="rtl"] .navbar .language-menu,
  html[lang="ar"] .navbar-collapse .lang-toggle,
  html[dir="rtl"] .navbar-collapse .lang-toggle {
    padding: 0 !important;
  }

  html[lang="ar"] .navbar .language-menu,
  html[dir="rtl"] .navbar .language-menu,
  html[lang="ar"] .navbar-collapse .lang-toggle,
  html[dir="rtl"] .navbar-collapse .lang-toggle {
    margin: 0 !important;
  }

  html[lang="ar"] .navbar-collapse .lang-toggle .lang-link,
  html[dir="rtl"] .navbar-collapse .lang-toggle .lang-link {
    padding: 15px 20px !important;
    color: #212529 !important;
    text-align: right;
    justify-content: flex-start;
  }
}

html[lang="ar"] .navbar .navbar-nav .nav-item,
html[dir="rtl"] .navbar .navbar-nav .nav-item,
html[lang="ar"] .navbar .navbar-nav .dropdown-item,
html[dir="rtl"] .navbar .navbar-nav .dropdown-item {
  font-size: .85rem !important;
}

:lang(ar) .end-0 {
  left: 0 !important;
  right: unset !important;
}

:lang(ar) .back-to-top {
  left: 30px;
  right: unset !important;
}

:lang(ar) .ps-4 {
  padding-right: 1.5rem !important;

}

:lang(ar) .pe-5 {
  padding-left: 3rem !important;
}

:lang(ar) .header-top::after {
  left: unset;
  right: 0;
}

:lang(ar) .px-4 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

:lang(ar) .me-2 {
  margin-left: 0.5rem !important;
}

:lang(ar) .navbar-brand {
  margin-right: 0;
}

:lang(ar) .ps-3 {
  padding-right: 1rem !important;
  padding-left: 0 !important;
}

:lang(ar) .me-3 {
  margin-left: 1rem !important;
  margin-right: 0 !important;
}

:lang(ar) .custom-tabs {
  & .arrow-slide {
    img {
      transform: scaleX(-1);
    }
  }
}



:lang(ar) .mile-item:nth-child(odd) .timeline-item {
  right: 50%;
  text-align: right;
}

:lang(ar) .mile-item:nth-child(even) .timeline-item .timeline-dot {
  left: -10px;
  right: unset;
}

:lang(ar) .mile-item:nth-child(odd) .timeline-content::before {
  right: -5px;
  border-right: none;
  border-radius: 8px 0 0 8px;
  transform: scaleX(-1);
}

:lang(ar) .mile-item:nth-child(even) .timeline-content::before {
  left: -5px;
  right: unset;
  border-left: none;
  border-radius: 0 8px 8px 0;
  transform: scaleX(-1);
}

@media (min-width: 1500px) {
  :lang(ar) .product-details {
    .flow-actions {
      left: 60px !important;
      right: unset !important;
    }
  }
}

:lang(ar) .product-details {
  & .additional-features {
    & .list-additional-features {
      & li {
        & span {
          &::before {
            right: -24px;
            left: unset;
          }
        }
      }
    }
  }
}

:lang(ar) .product-details {
  & .additional-features {
    & .list-additional-features {
      li {

        padding: 16px 64px 16px 32px;
      }
    }
  }
}

.accordion-button {
  text-align: start;
}

html[dir="rtl"] .accordion-button,
html[lang="ar"] .accordion-button {
  text-align: right;
}

.accordion-button::after {
  margin-inline-start: auto;
  margin-inline-end: 0;
}

:lang(ar) .disclosure-table {
  & th {
    &:first-child {
      border-top-right-radius: 16px;
      border-bottom-right-radius: 16px;
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;



    }
  }
}

:lang(ar) .disclosure-table {
  & th {
    &:last-child {
      border-top-left-radius: 16px;
      border-bottom-left-radius: 16px;
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
    }
  }
}

:lang(ar) .years-tabs-container {

  .years-prev img,
  .years-next img {
    transform: scaleX(-1);
  }
}

:lang(ar) .custom-pagination .arrow img,
:lang(ar) .products-pagination .arrow img {
  transform: scaleX(-1);
}

:lang(ar) .sales-lists ul {
  padding-right: 0;
}

:lang(ar) .application-form {
  & .section-form {
    & .form-content {
      & .form-group {
        & .select2 {
          & .select2-selection--single {
            .select2-selection__arrow {
              left: 12px;
              right: unset;
            }
          }
        }
      }
    }
  }
}

:lang(ar) .phone-number .select2-container--default .select2-selection--single .select2-selection__arrow {
  right: 12px !important;
  left: unset !important;
}

:lang(ar) .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
  padding-left: 8px;
  padding-right: 20px;
}

:lang(ar) .application-form {
  & .section-form {
    & .form-content {
      & .form-group {

        & input,
        & select,
        & .select2 {
          text-align: right;
        }
      }
    }
  }
}


:lang(ar) .application-form {
  & .section-form {
    & .form-content {
      & .form-group {
        & .file-field {
          label {
            left: 0;
            right: unset
          }
        }
      }
    }
  }
}

/* Phone field stays LTR in Arabic: [flag +965 | mobile] with + on the left */
:lang(ar) .application-form .phone-number,
html[dir="rtl"] .application-form .phone-number {
  direction: ltr;
  unicode-bidi: isolate;
}

:lang(ar) .application-form .phone-number .select2::before,
html[dir="rtl"] .application-form .phone-number .select2::before {
  left: auto;
  right: -14px;
}

:lang(ar) .application-form .phone-number .mobile-num,
html[dir="rtl"] .application-form .phone-number .mobile-num {
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}

:lang(ar) .application-form {
  & .section-form {
    & .form-content {
      & .form-group {
        & .select2 {
          & .select2-selection--single {
            & .option-content {
              direction: ltr;
            }
          }
        }
      }
    }
  }
}

:lang(ar) .modal-header .btn-close {
  margin: -0.5rem auto -0.5rem -0.5rem;
}

:lang(ar) .date-field:after {
  left: 0;
  right: unset
}

.about.about-us-section .bg-white {
  background-color: #f5f2ed !important;

}

/* ── Arabic RTL UI fixes (tasks 1–9) ─────────────────────────────────────── */

/* 1. Product floating sidebar — move to the left in Arabic */
@media (min-width: 991px) {

  html[dir="rtl"] .product-details .flow-actions,
  html[lang="ar"] .product-details .flow-actions {
    left: 0 !important;
    right: unset !important;
  }
}

@media (min-width: 1500px) {

  html[dir="rtl"] .product-details .flow-actions,
  html[lang="ar"] .product-details .flow-actions {
    left: 60px !important;
    right: unset !important;
  }
}

html[dir="rtl"] .product-details .flow-actions .btn:hover .text-action,
html[lang="ar"] .product-details .flow-actions .btn:hover .text-action {
  margin-left: 0;
  margin-inline-start: 8px;
}

/* 2. Financial statement — uniform Presentation / Transcript / Financial columns */
.financial-statement .reports-content .left-side {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

.financial-statement .reports-content .left-side .heading {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 600;
}

.financial-statement .reports-content .left-side .anuual-report,
.financial-statement .reports-content .left-side .anuual-report:first-of-type {
  width: 200px;
  max-width: 200px;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 4;
}

.financial-report-item .report-content .left>.financial-report-row,
.financial-report-item .report-content .left>div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px 40px;
  align-items: center;
  width: 100%;
}

.financial-report-item .financial-report-label,
.financial-report-item .report-content .left>div>p:first-child {
  margin: 0 !important;
  width: 130px;
  min-width: 130px;
  flex-shrink: 0;
  white-space: nowrap;
}

.financial-report-item .report-content .download-items {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  flex-wrap: nowrap !important;
}

.financial-report-item .report-content .download-items li,
.financial-report-item .report-content .download-items .download-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px !important;
  min-width: 0;
}

.financial-report-item .download-items .name {
  min-width: 0;
  white-space: nowrap;
}

.financial-report-item .download-items .size {
  white-space: nowrap;
  justify-self: start;
}

.financial-report-item .download-items .download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-height: 28px;
  flex-shrink: 0;
}

.financial-report-item .download-item--empty .name,
.financial-report-item .download-item--empty .size {
  opacity: 0.45;
}

@media (max-width: 991px) {

  .financial-report-item .report-content .left>.financial-report-row,
  .financial-report-item .report-content .left>div {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .financial-report-item .report-content .download-items {
    grid-template-columns: 1fr;
  }
}

html[dir="rtl"] .financial-statement .left-side .heading,
html[lang="ar"] .financial-statement .left-side .heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

html[dir="rtl"] .financial-report-item .report-content .download-items li,
html[lang="ar"] .financial-report-item .report-content .download-items li {
  direction: rtl;
}

html[dir="rtl"] .financial-report-item .download-items .size,
html[lang="ar"] .financial-report-item .download-items .size,
html[dir="rtl"] .financial-statement .left-side .heading .size,
html[lang="ar"] .financial-statement .left-side .heading .size {
  direction: rtl;
  unicode-bidi: isolate;
  display: inline-block;
}

/* Material Disclosure — Attachments header aligns with icons */
.material-disclosure .disclosure-table th:last-child {
  text-align: end;
}

/* 3. Back arrow — flip direction for RTL */
html[dir="rtl"] .btn-back .icon img,
html[lang="ar"] .btn-back .icon img {
  transform: scaleX(-1);
}

/* 4. Download button — icon on opposite side in Arabic */
html[dir="rtl"] .sales-items.download-items .disclosure-table a,
html[lang="ar"] .sales-items.download-items .disclosure-table a,
html[dir="rtl"] .disclosure-table td:last-child a,
html[lang="ar"] .disclosure-table td:last-child a,
html[dir="rtl"] .procurement-page .disclosure-table a,
html[lang="ar"] .procurement-page .disclosure-table a {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
}

html[dir="rtl"] .sales-items.download-items .disclosure-table td:last-child,
html[lang="ar"] .sales-items.download-items .disclosure-table td:last-child,
html[dir="rtl"] .sales-items.download-items .disclosure-table th:last-child,
html[lang="ar"] .sales-items.download-items .disclosure-table th:last-child {
  text-align: start;
}

html[dir="rtl"] .form-success-icon::after,
html[lang="ar"] .form-success-icon::after {
  left: auto;
  right: 21px;
}

/* 6. Phone country code — plus sign before digits (flag + +965 left → right) */
html[dir="rtl"] .phone-number,
html[lang="ar"] .phone-number {
  direction: ltr !important;
  unicode-bidi: isolate;
}

html[dir="rtl"] .phone-number .select2-selection__rendered,
html[lang="ar"] .phone-number .select2-selection__rendered,
html[dir="rtl"] .phone-number .select2-results__option .option-content,
html[lang="ar"] .phone-number .select2-results__option .option-content {
  direction: ltr !important;
  unicode-bidi: isolate;
  text-align: left !important;
}

html[dir="rtl"] .phone-number .select2-results__option .phone-code,
html[lang="ar"] .phone-number .select2-results__option .phone-code,
html[dir="rtl"] .phone-number .select2-selection__rendered .phone-code,
html[lang="ar"] .phone-number .select2-selection__rendered .phone-code {
  direction: ltr !important;
  unicode-bidi: isolate;
  display: inline-block;
}

html[dir="rtl"] .phone-number .select2-container--default .select2-selection--single .select2-selection__arrow,
html[lang="ar"] .phone-number .select2-container--default .select2-selection--single .select2-selection__arrow {
  right: 12px !important;
  left: auto !important;
}

/* 7. Table cell spacing for Arabic */
html[dir="rtl"] .disclosure-table th,
html[lang="ar"] .disclosure-table th,
html[dir="rtl"] .disclosure-table td,
html[lang="ar"] .disclosure-table td {
  padding-inline-start: 32px;
  padding-inline-end: 32px;
}

html[dir="rtl"] .procurement-page .disclosure-table td:first-child,
html[lang="ar"] .procurement-page .disclosure-table td:first-child,
html[dir="rtl"] .procurement-page .disclosure-table th:first-child,
html[lang="ar"] .procurement-page .disclosure-table th:first-child {
  text-align: right;
}

html[dir="rtl"] .procurement-page .disclosure-table th:last-child,
html[lang="ar"] .procurement-page .disclosure-table th:last-child {
  text-align: left;
}

html[dir="rtl"] .dividend-table th,
html[lang="ar"] .dividend-table th,
html[dir="rtl"] .dividend-table td,
html[lang="ar"] .dividend-table td {
  padding-inline: 16px;
}

/* 9. Menu navigation arrows — alignment and size */
@media (min-width: 992px) {

  html[dir="rtl"] .navbar .navbar-nav>.nav-item>.nav-link.dropdown-toggle::after,
  html[lang="ar"] .navbar .navbar-nav>.nav-item>.nav-link.dropdown-toggle::after {
    font-size: 11px;
    margin-inline-start: 6px;
    margin-inline-end: 0;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    top: -1px;
  }

  html[dir="rtl"] .dropdown-submenu>.dropdown-toggle,
  html[lang="ar"] .dropdown-submenu>.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  html[dir="rtl"] .dropdown-submenu>.dropdown-toggle::after,
  html[lang="ar"] .dropdown-submenu>.dropdown-toggle::after {
    font-size: 10px;
    margin-inline-start: 8px;
    margin-inline-end: 0;
    transform: rotate(90deg);
    vertical-align: middle;
    flex-shrink: 0;
  }
}

@media (max-width: 991.98px) {

  html[dir="rtl"] .navbar .navbar-nav .dropdown-toggle::after,
  html[lang="ar"] .navbar .navbar-nav .dropdown-toggle::after,
  html[dir="rtl"] .navbar .dropdown-submenu>.dropdown-toggle::after,
  html[lang="ar"] .navbar .dropdown-submenu>.dropdown-toggle::after {
    width: 28px;
    height: 28px;
    font-size: 12px;
    left: 14px;
    right: auto;
  }
}

/* ── Contact page RTL / layout fixes ─────────────────────────────────────── */

/* 1. Accordion chevrons at the inline end (Sales, Purchase, FAQ sections) */
.contact-us .accordion-button,
.contact-us .faq-section .accordion-button,
.faq-section .accordion-button {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100%;
  text-align: start;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.4;
  gap: 12px;
}

.contact-us .accordion-button::after,
.contact-us .faq-section .accordion-button::after,
.faq-section .accordion-button::after {
  position: static !important;
  margin-inline-start: auto !important;
  margin-inline-end: 0 !important;
  margin-left: auto;
  margin-right: 0;
  flex-shrink: 0;
  align-self: center;
}

html[dir="rtl"] .contact-us .accordion-button::after,
html[lang="ar"] .contact-us .accordion-button::after,
html[dir="rtl"] .faq-section .accordion-button::after,
html[lang="ar"] .faq-section .accordion-button::after {
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* 2. Tab alignment in Arabic — flush with accordion content below */
html[dir="rtl"] .contact-us .nav-tabs,
html[lang="ar"] .contact-us .nav-tabs {
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

html[dir="rtl"] .contact-us .nav-tabs .nav-item,
html[lang="ar"] .contact-us .nav-tabs .nav-item {
  flex: 1 1 0;
}

html[dir="rtl"] .contact-us .nav-tabs .nav-link,
html[lang="ar"] .contact-us .nav-tabs .nav-link {
  width: 100%;
  text-align: center;
}

html[dir="rtl"] .contact-us .tab-content,
html[lang="ar"] .contact-us .tab-content {
  width: 100%;
  padding-inline: 0;
}

html[dir="rtl"] .contact-us .nav-tabs .nav-item:first-child .nav-link.active,
html[lang="ar"] .contact-us .nav-tabs .nav-item:first-child .nav-link.active {
  border-top-right-radius: 8px;
  border-top-left-radius: 0;
}

html[dir="rtl"] .contact-us .nav-tabs .nav-item:last-child .nav-link,
html[lang="ar"] .contact-us .nav-tabs .nav-item:last-child .nav-link {
  border-top-left-radius: 8px;
  border-top-right-radius: 0;
}

/* 3. Phone icon — flip in Arabic (contact info + sales lists) */
html[dir="rtl"] .contact-us .contact-phone-icon,
html[lang="ar"] .contact-us .contact-phone-icon {
  display: inline-block !important;
  transform: scaleX(-1) !important;
}

html[dir="rtl"] .contact-us .sales-lists ul li,
html[lang="ar"] .contact-us .sales-lists ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  direction: rtl;
}

html[dir="rtl"] .contact-us .sales-lists ul li .contact-phone-icon,
html[lang="ar"] .contact-us .sales-lists ul li .contact-phone-icon {
  flex-shrink: 0;
}

/* Contact info: align icons with first line of text (overrides baseline) */
.contact-us .contact-info .info-item {
  align-items: flex-start !important;
}

.contact-us .contact-info .info-item>img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 0.15em;
  object-fit: contain;
  display: block;
}

.contact-us .contact-info .info-item>p {
  flex: 1;
  margin: 0 !important;
  line-height: 1.5;
  min-width: 0;
  padding-top: 0;
}

/* 4. Phone / fax — stack multiple numbers and keep them LTR in both languages */
.contact-us .contact-info .info-item .contact-phone-line {
  direction: ltr !important;
  unicode-bidi: isolate;
  flex: 1;
  margin: 0;
}

.contact-us .contact-info .info-item .contact-phone-value {
  direction: ltr !important;
  unicode-bidi: isolate;
  display: inline-block;
  white-space: nowrap;
}

/* 5. Working hours — label then times; keep 7:00 ص - 3:00 م order stable */
html[dir="rtl"] .contact-us .contact-info .info-item .contact-hours,
html[lang="ar"] .contact-us .contact-info .info-item .contact-hours {
  display: flex;
  flex-direction: row;
  direction: rtl;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 0.35em;
  flex: 1;
  margin: 0;
}

html[dir="rtl"] .contact-us .contact-info .info-item .contact-hours-label,
html[lang="ar"] .contact-us .contact-info .info-item .contact-hours-label {
  flex-shrink: 0;
  unicode-bidi: isolate;
}

html[dir="rtl"] .contact-us .contact-info .info-item .contact-hours-value,
html[lang="ar"] .contact-us .contact-info .info-item .contact-hours-value {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.25em;
  direction: ltr !important;
  unicode-bidi: isolate;
  text-align: left;
  white-space: nowrap;
}

html[dir="rtl"] .contact-us .contact-info .info-item .contact-hours-unit,
html[lang="ar"] .contact-us .contact-info .info-item .contact-hours-unit {
  display: inline-block;
  direction: ltr !important;
  unicode-bidi: isolate;
  white-space: nowrap;
}

/* Footer newsletter: space before placeholder start (RTL) */
html[dir="rtl"] .subscribe-field input,
html[lang="ar"] .subscribe-field input {
  padding-right: 1.5rem !important;
  padding-left: 7rem !important;
  text-align: right;
}

html[dir="rtl"] .subscribe-field input::placeholder,
html[lang="ar"] .subscribe-field input::placeholder {
  text-indent: 0.35em;
}

@media (max-width: 768px) {

  html[dir="rtl"] .subscribe-field input,
  html[lang="ar"] .subscribe-field input {
    padding: 10px 16px !important;
    text-align: right;
  }
}

/* All menus: active/hover red fill must use white text (desktop + mobile) */
.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item.active:hover,
.navbar .dropdown-menu .dropdown-item:active,
.navbar .sub-menu-right .dropdown-item.active,
.navbar .sub-menu-right .dropdown-item.active:hover,
.navbar .dropdown-submenu>.dropdown-item.active,
.navbar .dropdown-submenu>.dropdown-item.active:hover {
  background: var(--bs-primary) !important;
  background-color: var(--bs-primary) !important;
  color: #fff !important;
}

.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item.active *,
.navbar .sub-menu-right .dropdown-item.active,
.navbar .sub-menu-right .dropdown-item.active *,
.navbar .dropdown-submenu>.dropdown-item.active,
.navbar .dropdown-submenu>.dropdown-item.active * {
  color: #fff !important;
}

/* Desktop top-level current section remains red text on the white header. */
@media (min-width: 1200px) {
  .navbar .navbar-nav .nav-item.active>.nav-link,
  .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
  }
}

/* Product details — Swiper main + horizontal thumbs underneath */
.product-details .detail-product .right-side {
  display: block !important;
  max-width: min(640px, 100%);
  width: 100%;
  border-radius: 0 !important;
  overflow: visible !important;
}

.product-gallery {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: clamp(10px, 2vw, 16px);
  width: 100%;
}

html[dir="rtl"] .product-gallery,
html[lang="ar"] .product-gallery {
  flex-direction: column-reverse;
}

.product-thumbs-swiper {
  --product-thumb-size: 72px;
  --product-thumb-gap: 10px;
  /* Exactly 4 full thumbs wide — no half slides */
  width: min(100%, calc(4 * var(--product-thumb-size) + 3 * var(--product-thumb-gap)));
  height: var(--product-thumb-size);
  margin: 0;
  overflow: hidden;
}

.product-thumbs-swiper .swiper-slide {
  height: var(--product-thumb-size) !important;
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 0.2s ease;
  box-sizing: border-box;
}

.product-thumbs-swiper .swiper-slide-thumb-active,
.product-thumbs-swiper .swiper-slide:hover {
  opacity: 1;
}

.product-thumbs-slide {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: #ececec;
  box-sizing: border-box;
}

.product-thumbs-swiper .swiper-slide-thumb-active .product-thumbs-slide {
  border-color: var(--bs-primary);
}

.product-thumbs-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-main-swiper-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: clamp(220px, 55vw, 420px);
}

.product-main-swiper {
  width: 100%;
  min-height: clamp(220px, 55vw, 420px);
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #ececec;
}

/* Fade/absolute slides must not collapse the gallery height */
.product-main-swiper .swiper-wrapper {
  min-height: inherit;
}

.product-main-swiper .swiper-slide {
  height: auto;
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transform: translateY(-50%);
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.product-gallery-prev {
  left: 10px;
  inset-inline-start: 10px;
  inset-inline-end: auto;
}

.product-gallery-next {
  right: 10px;
  inset-inline-end: 10px;
  inset-inline-start: auto;
}

.product-gallery-nav img {
  width: 20px;
  height: 20px;
  display: block;
}

.product-gallery-nav:hover {
  background: #fff;
  border-color: var(--bs-primary);
}

.product-gallery-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

html[dir="rtl"] .product-gallery-nav img,
html[lang="ar"] .product-gallery-nav img {
  transform: scaleX(-1);
}

.product-main-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 55vw, 420px);
  padding: clamp(12px, 3vw, 24px);
  box-sizing: border-box;
}

.product-main-img,
.product-details .detail-product .right-side .product-main-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: clamp(220px, 55vw, 420px) !important;
  object-fit: contain;
  display: block;
  border-radius: 0;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .product-details .detail-product .right-side {
    max-width: min(520px, 100%);
  }

  .product-main-slide {
    min-height: 360px;
  }

  .product-main-img,
  .product-details .detail-product .right-side .product-main-img {
    max-height: 360px !important;
  }
}

@media (max-width: 991.98px) {
  .product-thumbs-swiper {
    --product-thumb-size: 64px;
    --product-thumb-gap: 8px;
    /* Fit exactly 3 full thumbs */
    width: min(100%, calc(3 * var(--product-thumb-size) + 2 * var(--product-thumb-gap)));
    height: var(--product-thumb-size);
  }

  .product-main-slide {
    min-height: 280px;
    padding: 16px;
  }

  .product-main-img,
  .product-details .detail-product .right-side .product-main-img {
    max-height: 320px !important;
  }
}


@media (max-width: 575.98px) {
  .product-thumbs-swiper {
    --product-thumb-size: 56px;
    --product-thumb-gap: 8px;
    width: min(100%, calc(3 * var(--product-thumb-size) + 2 * var(--product-thumb-gap)));
  }

  .product-gallery-nav {
    width: 36px;
    height: 36px;
  }

  .product-gallery-prev {
    left: 6px;
    inset-inline-start: 6px;
  }

  .product-gallery-next {
    right: 6px;
    inset-inline-end: 6px;
  }

  .product-gallery-nav img {
    width: 18px;
    height: 18px;
  }

  .product-main-slide {
    min-height: 200px;
    padding: 12px;
  }

  .product-main-img,
  .product-details .detail-product .right-side .product-main-img {
    max-height: 220px !important;
  }
}

.form-success-body .btn-white {
  background-color: #bbb !important
}

.form-success-body .btn-white:hover {
  background-color: #9b000e !important;
  color: #fff !important;
}

.form-success-body .btn-white:focus {
  background-color: #9b000e !important;
  color: #fff !important;
}

.form-success-body .btn-white:active {
  background-color: #9b000e !important;
  color: #fff !important;
}

.form-success-body .btn-white:visited {
  background-color: #9b000e !important;
  color: #fff !important;
}

/* About Us tabs — transparent panels + white text on all tabs */
.about-page .about-content .about-content-item {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #fff;
}

.about-page .about-content .about-content-item :is(h1, h2, h3, h4, h5, h6, p, li, span, a, label, td, th) {
  color: #fff;
}

.about-page .about-content .about-content-item .modal :is(h1, h2, h3, h4, h5, h6, p, li, span, a, label, td, th),
.about-page .about-content .about-content-item .modal-title,
.about-page .about-content .about-content-item .modal-body,
.about-page .about-content .about-content-item .modal-body .member-position {
  color: #212529 !important;
}

.about-page .about-content .about-content-item.ceo-message .title,
.about-page .about-content .about-content-item.ceo-message .ceo-name,
.about-page .about-content .about-content-item.ceo-message .ceo-position,
.about-page .about-content .about-content-item.ceo-message .right-side,
.about-page .about-content .about-content-item.ceo-message .right-side p,
.about-page .about-content .about-content-item.ceo-message .right-side li {
  color: #fff !important;
}

.about-page .about-content .about-content-item.board-members .members-section-title,
.about-page .about-content .about-content-item.board-members .member-name {
  color: #fff !important;
}

.about-page .about-content .about-content-item.board-members .member-position {
  color: #cfcfcf !important;
}

/* Board members — grayscale by default, full color on hover */
.about-page .about-content .about-content-item.board-members .member-image {
  position: relative;
  overflow: hidden;
}

.about-page .about-content .about-content-item.board-members .member-image::after {
  content: none;
  display: none;
}

.about-page .about-content .about-content-item.board-members .member-image img {
  filter: grayscale(1);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.about-page .about-content .about-content-item.board-members .member:hover .member-image img {
  filter: grayscale(0);
}

.about-page .about-content .about-content-item.certifications-awards .box-content,
.about-page .about-content .about-content-item.sustainability .card-sustainability {
  background: transparent !important;
  color: #fff;
}

.about-page .about-content .about-content-item.certifications-awards .title-box,
.about-page .about-content .about-content-item.certifications-awards .body-box,
.about-page .about-content .about-content-item.certifications-awards .body-box p,
.about-page .about-content .about-content-item.certifications-awards .certifications-name,
.about-page .about-content .about-content-item.sustainability .card-sustainability .title,
.about-page .about-content .about-content-item.sustainability .card-sustainability .body-card,
.about-page .about-content .about-content-item.sustainability .card-sustainability .body-card p,
.about-page .about-content .about-content-item.sustainability .card-sustainability .body-card a {
  color: #fff !important;
}

.about-page .about-content .about-content-item.certifications-awards .btn-download {
  color: #fff !important;
  background: rgba(83, 83, 83, 0.45);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.about-page .about-content .about-content-item.certifications-awards .btn-download:hover {
  background: #9b000e !important;
  color: #fff !important;
}

/* Vision & Mission — transparent cards with a thicker outline */
.about-page .about-content .about-content-item.vision-mission .card-vision-mission {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 3px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: none;
  transition: border-color 0.3s ease;
}

.about-page .about-content .about-content-item.vision-mission .card-vision-mission:hover {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  box-shadow: none;
}

:lang(ar) #dividend .dividend-table tr td,
:lang(ar) #dividend .dividend-table tr th {
  text-align: center !important;
}

:lang(ar) .dividend-table {
  & thead tr:nth-child(2) {
    th:last-child {
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
      border-bottom-left-radius: 16px;
      border-bottom-right-radius: 0;
    }
  }
}

:lang(ar) .dividend-table {
  & thead tr:nth-child(2) {
    th:first-child {
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
      border-bottom-right-radius: 16px;
      border-bottom-left-radius: 0;
    }
  }
}
@media (max-width:1400px) {
 .phone-number .select2-results__option .phone-code,
 .phone-number .select2-results__option .phone-code,
 .phone-number .select2-selection__rendered .phone-code,
 .phone-number .select2-selection__rendered .phone-code{
font-size: 16px;
}}

/* Drum collection: use the brand red for selected radio buttons */
#drumForm .radio-group input[type="radio"] {
  accent-color: var(--primary-red, #9b000e);
}
@media (min-width:1200px) and (max-width:1400px) {
:lang(ar) .contact-inquiry .mobile-num{
  text-align: start!important
}}

/* Shared success confirmation modal for site forms. Lives here (loaded
   unconditionally in base.html) rather than in inner-styles2.css, since the
   footer newsletter form/modal appear on every page including the homepage,
   which overrides page_css to an empty block. */
.form-success-modal .modal-dialog {
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.form-success-modal .modal-content {
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.form-success-panel {
  max-width: 430px;
  margin: 0 auto;
  background: #fff;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.form-success-card::before {
  content: "";
  display: block;
  height: 5px;
  background: #9b000e;
}

.form-success-card .modal-header {
  min-height: 0;
  padding: 0;
}

.form-success-card .btn-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 14px;
  height: 14px;
  padding: 8px;
  background-size: 12px;
  border-radius: 50%;
}

.form-success-body {
  padding: 42px 36px 36px;
}

.form-success-icon {
  position: relative;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(155, 0, 14, 0.08);
  border: 1px solid rgba(155, 0, 14, 0.18);
}

.form-success-icon::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 16px;
  width: 16px;
  height: 25px;
  border: solid #9b000e;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}

.form-success-title {
  margin-bottom: 10px;
  color: #101010;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.form-success-message,
.form-success-message p {
  margin-bottom: 0;
  color: #5f6670;
  font-size: 16px;
  line-height: 1.7;
}

.form-success-message p + p {
  margin-top: 8px;
}

.form-success-modal .btn-white,
.form-success-card .btn-white,
.form-success-panel .btn-white,
.form-success-panel .btn-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 150px;
  max-width: none;
  margin-top: 24px !important;
  padding: 12px 22px;
  white-space: nowrap;
  font-weight: 700;
}

.form-success-panel .btn-new {
  background: #9b000e;
  border: 1px solid #9b000e;
  color: #fff;
}

.form-success-panel .btn-new:hover {
  background: #fff;
  color: #9b000e;
}

:lang(ar) .form-success-card .btn-close {
  right: auto;
  left: 18px;
}

@media (max-width: 575.98px) {
  .form-success-modal .modal-dialog {
    max-width: calc(100% - 32px);
  }

  .form-success-body {
    padding: 38px 24px 30px;
  }
}

/* Footer newsletter form inline validation error (navigation/footer.html).
   Not covered by .error-msg's color rule, which is scoped under
   .application-form and doesn't apply to the footer. */
.newsletter-error {
  color: #ff3300;
}

/* Sustainability page: dark theme matching other about pages */
.sustainability-page-content {
  background-color: #000 !important;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  color: #fff;
}

.sustainability-introduction {
  max-width: 1180px;
  margin: 0 0 48px;
}

.sustainability-introduction h2,
.sustainability-reports>h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
}

.sustainability-introduction-copy {
  max-width: 1100px;
  color: #fff;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.65;
}

.sustainability-introduction-copy p,
.sustainability-introduction-copy li {
  color: #fff;
}

.sustainability-introduction-copy p:last-child {
  margin-bottom: 0;
}

.sustainability-reports {
  max-width: 1180px;
  margin: 0 ;
}

.sustainability-reports .years-tabs-container {
  min-height: 0;
  padding: 0;
  border: none;
  border-bottom: 1px solid #333;
  border-radius: 0;
  background: transparent;
}

.sustainability-reports .years-tab {
  color: rgba(255, 255, 255, 0.55);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.sustainability-reports .years-tab.custom-active {
  color: #fff;
  background: transparent !important;
}

.sustainability-reports .years-prev img,
.sustainability-reports .years-next img {
  filter: brightness(0) invert(1);
}

.sustainability-year-content {
  padding-top: 40px;
}

.sustainability-reports-content {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 2.5vw, 32px);
}

.sustainability-cover-col {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sustainability-report-heading,
.sustainability-page-content .sustainability-report-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin: 0 0 20px;
  min-height: 40px;
  color: #fff !important;
  font-family: Sora, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.sustainability-report-heading .size {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 14px;
  font-weight: 400;
}

.sustainability-report-heading a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.sustainability-report-heading img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.sustainability-page-content .sustainability-report-cover,
.sustainability-page-content .sustainability-report-cover:first-of-type {
  width: 200px;
  max-width: 200px;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 4;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  background: #fff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.sustainability-page-content .sustainability-report-cover img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  display: block;
}

.sustainability-highlights {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sustainability-highlights-label,
.sustainability-highlights>h3.sustainability-highlights-label {
  display: flex;
  align-items: center;
  margin: 0 0 20px;
  min-height: 40px;
  color: #fff !important;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.sustainability-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.sustainability-highlight-group {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.sustainability-highlight-group__title,
.sustainability-highlight-group h4 {
  margin: 0;
  padding: 10px 14px;
  color: #fff !important;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  background: #535353;
}

/* Brand-aligned section headers */
.sustainability-highlight-group--environmental .sustainability-highlight-group__title {
  background: #4a4a4a;
}

.sustainability-highlight-group--social .sustainability-highlight-group__title {
  background: var(--bs-primary, #9b000e);
}

.sustainability-highlight-group--governance .sustainability-highlight-group__title {
  background: #4a4a4a;
}

.sustainability-highlight-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  flex: 1 1 auto;
  gap: 1px;
  background: #dedede;
}

.sustainability-highlight-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  /* Icon sits flush at this padding, top-left (top-right in RTL) of the cell */
  padding: 14px;
  background: #fff;
  min-width: 0;
  min-height: 160px;
  height: 100%;
  box-sizing: border-box;
  overflow: visible;
  box-shadow: none;
}

.sustainability-highlight-group--environmental .sustainability-highlight-item:nth-child(odd) {
  background: #f5f5f5;
}

.sustainability-highlight-item--empty {
  background: #f5f5f5;
}

.sustainability-highlight-item__icon img {
  /* Source PNGs are uniform 150x150 (small fixed margin baked in), so this is the only knob for icon size */
  display: block;
  width: auto;
  height: auto;
  max-width: 34px;
  max-height: 34px;
  /* Crush source PNG (transparent bg, any glyph color) to black, then recolor to brand primary */
  filter: brightness(0) saturate(100%) invert(9%) sepia(90%) saturate(5500%) hue-rotate(345deg);
}

.sustainability-highlight-item__value,
.sustainability-highlight-item p.sustainability-highlight-item__value {
  margin: 0;
  max-width: 100%;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 700;
  line-height: 1.2;
  color: #222 !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.sustainability-highlight-group--environmental .sustainability-highlight-item__value {
  color: var(--bs-primary, #9b000e) !important;
}

.sustainability-highlight-item__label,
.sustainability-highlight-item p.sustainability-highlight-item__label {
  margin: 0;
  max-width: 100%;
  color: #444 !important;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html[dir="rtl"] .sustainability-page-content,
html[lang="ar"] .sustainability-page-content {
  text-align: right;
}

@media (max-width: 1199.98px) {
  .sustainability-highlights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .sustainability-reports-content {
    flex-direction: column;
    align-items: center;
  }

  .sustainability-cover-col {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    align-items: center;
  }

  .sustainability-highlights {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .sustainability-highlight-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .sustainability-page-content.py-5,
  .sustainability-page-content .container.py-5 {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  .sustainability-introduction {
    margin-bottom: 36px;
  }

  .sustainability-reports .years-tabs-container {
    min-height: 0;
    padding-inline: 0;
  }

  .sustainability-report-heading,
  .sustainability-page-content .sustainability-report-heading {
    font-size: 20px;
  }
}
:lang(ar) .search-results-page .search-item .search-card-main .card-actions img{
  transform: scaleX(-1);

}
.media-page {
  & .media-content {
      .list-projects-media {
          margin-bottom: 40px;
      }

      /* .item-media is a fixed-height flex column, but its <a> child only
         gets real height from its own content (image/video). A gallery item
         with no image or video file set collapses that link to 0 height,
         leaving the visible tile with no clickable/openable area. */
      .list-gallery-media .item-media > a[data-fancybox] {
          flex: 1 1 auto;
          min-height: 0;
      }
  }
}

/* Vendor registration — center remove (x) on the input underline */
.product-inquiry.vendor-registration-page .vendor-mgmt-section .management-contact-row.form-content {
  align-items: end;
}

.product-inquiry.vendor-registration-page .vendor-remove-row-wrap {
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
  padding: 0;
  min-height: 0;
  height: auto;
}

.product-inquiry.vendor-registration-page .vendor-remove-mgmt-row {
  margin: 0;
  padding: 0;
  line-height: 1;
  /* Keep bottom edge flush with form-group border-bottom */
  position: relative;
  bottom: 0;
}

.product-inquiry.vendor-registration-page .vendor-remove-mgmt-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  transform: translateY(-1px);
}
.product-main-slide {
    min-height: 100%!important;
    height:100%!important;
    padding: 0!important;}
    .product-main-img, .product-details .detail-product .right-side .product-main-img {
    width: 100%!important;
    max-height: 100%!important;
    object-fit:unset!important;
    height: 100%!important;}
    .product-inquiry.vendor-registration-page {
      .vendor-remove-mgmt-row {
          width: 24px;
          height: 24px;
       
          border-radius: 0;
          background: #9b000e;
          color: #fff;
          font-size: 15px;}}
          .project-detail-article .btn-back:hover .icon,
           .project-detail-article .btn-back:focus .icon{
            color: #959595 !important;
        }
        .project-detail-article .btn-back:hover .icon img, .project-detail-article .btn-back:focus .icon img {
          filter:none!important;
      }

      @media (min-width:1100px) and (max-width:1399.98px) {
        .footer .btn.btn-light{
          font-size: 14px!important;
          padding: 0.375rem 0.25rem!important;
        }
      }

/* ── Mobile / tablet layout fixes (Kuwait + Jordan) ─────────────────────── */

/* 1. News & events cards — keep two columns on tablets, cap width on phones */
@media (max-width: 991.98px) {
  .blog .blog-item .blog-heading {
    min-height: 0;
  }

  .blog .blog-item .blog-content {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 575.98px) {
  .blog .blog-item {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }
}

/* 2. Job application: stop CV / Other Documents overlapping on small screens */
@media (max-width: 991.98px) {
  .application-form .section-form .form-content {
    grid-template-columns: 1fr !important;
    gap: 24px 16px;
  }

  .application-form .form-group.two-column,
  .application-form .form-group.four-column,
  .application-form .form-group.form-group-with-label {
    grid-column: 1 / -1 !important;
  }

  .application-form .form-group-with-label {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
  }

  .application-form .form-group-with-label .input-wrapper,
  .application-form .form-group-with-label .input-wrapper:has(.file-field) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    grid-column: auto;
  }

  .application-form .form-group-with-label .input-wrapper > label {
    position: static;
    margin: 0;
    line-height: 1.3;
  }

  .application-form .form-group-with-label .file-field {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    width: 100%;
    min-height: 44px;
    padding-inline-end: 90px;
  }

  .application-form .form-group-with-label .file-field .file-field__filename {
    max-width: 100%;
  }
}

/* 3. Contact / FAQ accordion: chevron at the far end; wrapped text stays clear */
@media (max-width: 768px) {
  .contact-us .accordion-button,
  .contact-us .faq-section .accordion-button,
  .faq-section .accordion-button {
    padding: 16px 18px !important;
    font-size: 16px;
    min-height: 56px;
  }

  .contact-us .accordion-item .accordion-body {
    padding: 0 18px 18px !important;
  }
}

/* 4. Listing filter tabs flush with the content, no leftover side gap */
.header-section .filter-section {
  width: 100%;
}

.header-section .filter-section .list-filter {
  max-width: 100% !important;
  width: 100%;
  justify-content: flex-start;
}

.header-section .filter-section .list-filter li {
  max-width: none;
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 778px) {
  .header-section .filter-section .list-filter {
    justify-content: stretch;
  }

  .header-section .filter-section .list-filter .btn-filter {
    padding: 10px 6px;
    font-size: 13px;
  }
}

.contact-us .nav-tabs {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
}

.contact-us .nav-tabs .nav-item {
  flex: 1 1 0;
  max-width: none;
}

.contact-us .nav-tabs .nav-link {
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .contact-us .nav-tabs {
    flex-direction: row !important;
  }
}

/* 5. Language switcher matches other mobile menu items */
.navbar-collapse .lang-toggle .lang-link,
.navbar-collapse .lang-toggle .lang-link:link,
.navbar-collapse .lang-toggle .lang-link:visited,
.navbar-collapse .lang-toggle .lang-link:hover,
.navbar-collapse .lang-toggle .lang-link:focus {
  color: #212529;
  text-decoration: none;
  font-weight: 600;
}

@media (min-width: 1200px) {
  .navbar-collapse .lang-toggle {
    display: flex;
    align-items: center;
    padding-inline-start: 1rem;
  }

  .navbar-collapse .lang-toggle .lang-link {
    color: inherit;
    font-weight: 600;
    padding: 0;
    min-height: 0;
    width: auto;
  }
}

/* 6. Homepage hero arrows — small enough for phones, still tappable */
@media (max-width: 768px) {
  .header-carousel-control {
    display: flex !important;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .header-carousel-control i {
    font-size: 14px;
    line-height: 1;
  }

  .header-carousel-prev {
    left: 8px;
  }

  .header-carousel-next {
    right: 8px;
  }

  .header-carousel .owl-nav {
    display: none;
  }
}
.application-form {
  & .section-form {
      & .form-content {
          & .form-group {
              &.form-group-with-label {
                  & .input-wrapper {
                      &:has(.file-field) {
                          align-items: baseline;
                      }
                  }
              }
          }
      }
  }
}
.project-detail-article .btn-back {
  color: #fff !important;
  }
  @media (max-width: 1199.98px) {
    .mobile-content .mobile-country-flags .flag.active {
        opacity: 1 !important;
        background-color: transparent!important;
    }
}
.flags .flag img{
  border: 0;
}
.flags .flag.active {
  opacity: 1;
  background: transparent!important;
}
@media (min-width: 1200px) and (max-width: 1400px) {
  .navbar .flags .flag {
      width: 28px; 
       height: 28px;
  }
}

/* Fancybox v5: keep lightbox shell LTR on RTL pages (same idea as v3 .fancybox-stage) */
html[dir="rtl"] .fancybox__container,
html[lang="ar"] .fancybox__container {
  direction: ltr;
}

html[dir="rtl"] .fancybox__toolbar,
html[dir="rtl"] .fancybox__nav,
html[dir="rtl"] .fancybox__infobar,
html[dir="rtl"] .fancybox__caption,
html[lang="ar"] .fancybox__toolbar,
html[lang="ar"] .fancybox__nav,
html[lang="ar"] .fancybox__infobar,
html[lang="ar"] .fancybox__caption {
  direction: ltr;
}