@font-face {
  font-family: "Almarai";
  src: url("../fonts/Almarai/Almarai-Regular.ttf");
  font-display: swap;
}

@font-face {
  font-family: "Almarai-Bold";
  src: url("../fonts/Almarai/Almarai-Bold.ttf");
  font-display: swap;
}
@font-face {
  font-family: "Almarai-ExtraBold";
  src: url("../fonts/Almarai/Almarai-ExtraBold.ttf");
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit/Outfit-Regular.ttf");
  font-display: swap;
}
@font-face {
  font-family: "Outfit-Bold";
  src: url("../fonts/Outfit/Outfit-Bold.ttf");
  font-display: swap;
}

body {
  font-family: "Almarai", sans-serif;
  padding: 0;
  margin: 0;
  background-color: #021726;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}
p,
span {
  font-family: "Almarai", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Almarai-Bold", sans-serif;
}

header {
  position: relative;
  width: 100%;
  padding: 20px;
  background-image: url("../images/main-banner.png");
  background-repeat: no-repeat;
  min-height: 500px;
  background-size: cover;
}




.header-content {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  position: relative;
  z-index: 2;
}

.burger-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu-btn span {
  width: 100%;
  height: 3px;
  background-color: white; 
  transition: all 0.3s ease-in-out;
}

.menu-list {
  display: none;
}

.menu-link {
  font-family: "Almarai-Bold", sans-serif;
  font-size: 20px;
  text-decoration: none;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 5px;
}

.start-intro {
  width: 80% !important;
  margin: auto;
}
.main-title-wrapper {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

h1 {
  font-family: "Almarai-ExtraBold", sans-serif;
  font-size: 38px;
  margin: 0;
  color: #f5f3e8;
  text-align: center;
  line-height: 55px;
}
h2 {
  font-family: "Almarai-Bold", sans-serif;
  font-size: 28px;
  line-height: 42px;
  text-align: center;
  color: #f5f3e8;
}
h3 {
  font-family: "Almarai-Bold", sans-serif;
  font-size: 24px;
  line-height: 42px;
  color: #f5f3e8;
}
.sec-title h2 {
  margin-bottom: 50px;
}

.text-light {
  color: #f8f9fa !important;
}
.pink-text {
  color: #f94144 !important;
}
.bold {
  font-family: "Almarai-Bold", sans-serif;
}
.en-bold {
  font-family: "Outfit-Bold", sans-serif;
}
.diploma-content-area {
  margin-bottom: 100px;
}
.data-diploma-main-logo img {
  width: 100%;
  height: 65px;
}
.lang-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f94144;
  color: #f5f3e8;
  padding: 8px;
  border-radius: 7px;
  transition: all 0.4s ease-in-out;
  transform: scale(1);
  width: fit-content;
}
.lang-link:hover {
  transition: all 0.4s ease-in-out;
  transform: scale(0.9);
}
.lang-link span {
  font-family: "Outfit-Bold", sans-serif;
  font-size: 16px;
  color: #f5f3e8;
}
.lang-link img {
  width: 20px;
  height: 20px;
}

.content-container {
  width: 100%;
  padding: 60px 0;
}
.light-bg {
  background-color: #1d3557;
}
.dark-bg {
  background-color: #021726;
}
.lead {
  font-weight: 500;
  font-size: 19px;
  line-height: 1.68421053em;
  color: #f5f3e8;
  text-align: right;
}
.info-wrapper h3 {
  text-align: center;
  color: #f5f3e8;
}

.row-container {
  display: flex;
  width: 100%;
}
.col-map {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 50%;
  text-align: center;
}
.diploma-info-head {
  color: #f5f3e8;
  font-size: 20px;
  font-weight: 500;
}

.diploma-num-info-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 20px;
}
.diploma-num-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.diploma-num-info span {
  font-family: "Almarai-Bold", sans-serif;
  font-size: 18px;
  color: #f5f3e8;
}
.counter {
  font-family: "Outfit-Bold", sans-serif !important;
}
.counter span {
  font-size: 48px;
  line-height: 40px;
  color: #f94144;
}
.counter.small > span {
  font-size: 32px !important;
}
.counter.medium > span {
  font-size: 50px !important;
}
.counter.large > span {
  font-size: 62px !important;
}
.col-map p {
  font-size: 22px;
  width: 100%;
  margin: auto;
  line-height: 34px;
  color: #f5f3e8;
}
.diploma-team-wrapper {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-top: 0px;
}
.diploma-team-wrapper ul {
  padding: 0 10px;
}
.diploma-team-wrapper ul li {
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
  color: #f5f3e8;
}
.diploma-team-wrapper ul li button,
.diploma-team-wrapper ul li a:focus {
  color: #c9dee8;
  font-weight: 600;
  outline: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  transform: scale(1);
  transition: all 0.4s;
}
.diploma-team-wrapper ul li button:hover {
  transform: scale(0.9);
  color: #f5f3e8;
}

#team-popup.team-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  background: rgba(2, 23, 38, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.28s ease;
}
#team-popup.team-modal.is-open {
  opacity: 1;
}

.team-modal-dialog {
  position: relative;
  width: 100%;
  max-width: min(720px, 100%);
  max-height: min(88vh, 920px);
  overflow-x: hidden;
  overflow-y: auto;
  margin: auto;
  background-color: #021726;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  transform: scale(0.92) translateY(18px);
  opacity: 0;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}
#team-popup.team-modal.is-open .team-modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.close-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 243, 232, 0);
  border: none;
  border-radius: 10px;
  padding: 0;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.close-btn:hover {
  background: rgba(245, 243, 232, 0.22);
  transform: scale(1.05);
}
.close-btn img {
  width: 22px;
  height: 22px;
  filter: invert(1) grayscale(100%);
}

#team-popup h2 {
  font-size: 42px;
  padding: 0;
  color: #f5f3e8;
  text-align: center;
  display: none;
}
.team-content-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  padding: 12px 20px 28px;
}
.team-modal-dialog .diploma-person-container {
  margin-top: 28px;
}
.diploma-person-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: right;
  background-color: #f5f3e800;
  padding: 40px;
  margin-top: 75px;
  padding-top: 0;
}
.team-content {
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
}
.person-img-name-wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
}
.person-img-name-wrapper img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 100%;
  background-color: aliceblue;
}
.person-img-name-wrapper h4 {
  font-size: 23px;
  color: #f94144;
}
.diploma-person-container h6 {
  font-size: 20px;
  font-style: italic;
  font-weight: bold;
  margin: 0;
  color: #ffffff;
  line-height: 32px;
}
.diploma-person-container ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 10px;
}
.diploma-person-container ul li {
  font-size: 19px;
  font-weight: 500;
  line-height: 35px;
  list-style: "-";
  padding-right: 12px;
  color: #ffffff;
}
.diploma-person-container p {
  font-size: 19px;
  font-weight: 500;
  line-height: 35px;
  color: #ffffff;
}
.c-card__content {
  text-align: right;
}
.c-card__content a,
.c-card__content a:focus {
  color: #c9dee8;
  text-decoration: unset;
}
.c-card__content a:hover {
  color: #f5f3e8;
  text-decoration: unset;
}
.c-card__content span {
  display: inline-block;
  margin-top: 20px;
  color: #f5f3e8;
}
.c-card__more::after {
  display: none;
}
.recognitions-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
}
.recognitions-wrapper h3{text-align: center;}
.recognitions-info-wrapper {
  display: flex;
  gap: 32px;
  padding-bottom: 60px;
}
.awards-img-wrapper {
  max-width: 40%;
  min-width: 40%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.recognitions-info-wrapper:not(:last-child) {
  border-bottom: 1px solid #f5f3e8;
}
.recognitions-info-wrapper h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 52.48px;
  color: #f5f3e8;
  text-align: center;
}
.recognitions-info-wrapper img {
  width: 100%;
  height: auto;
}
.recognitions-info-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0;
}
.recognitions-info-wrapper ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.recognitions-info-wrapper ul li {
  display: flex;
  align-items: baseline;
  font-size: 17px;
  font-weight: 700;
  line-height: 28px;
  color: #f5f3e8;
  gap: 8px;
  width: 100%;
  text-align: right;
}
.recognitions-info-wrapper ul li::before {
  content: "";
  display: flex;
  max-width: 7px;
  height: 7px;
  width: 100%;
  background-color: #f5f3e8;
  border-radius: 50%;
  position: relative;
  bottom: 4px;
}

.recognitions-info-wrapper ul li div {
   display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
}
.recognitions-info-wrapper ul li div span {
  width: 100%;
}
.recognitions-info-wrapper ul li div span a {
  color: #f94044;
}
.recognitions-info-wrapper ul li div span a:hover {
  text-decoration: underline;
  color: #f94044 !important;
}
.view-details-link {
  font-size: 15px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: #f5f3e8 !important;
  background-color: #f94144;
  border-radius: 10px;
  justify-content: center;
  transition: all 0.4s;
  transform: scale(1);
  line-height: 22px;
}
.view-details-link:hover {
  color: #f5f3e8 !important;
  transform: scale(0.9);
}
.data-diploma-links-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
  margin-bottom: 70px;
}
.data-diploma-link-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  background-color: #1d3557;
  padding: 60px 20px;
  text-align: center;
  flex: 0.2 1 calc(33.33% - 11px);
}
.data-diploma-link-box h3 {
  font-family: "Almarai-Bold", sans-serif;
  font-size: 24px;
  line-height: 52.48px;
  color: #f5f3e8;
}
.data-diploma-link-box p {
  font-size: 16px;
  color: #f5f3e8;
}
.data-diploma-link-box a {
  font-family: "Almarai-Bold", sans-serif;
  font-size: 16px;
  line-height: 12px;
  display: flex;
  align-items: center;
  padding: 15px 15px;
  color: #f5f3e8;
  background-color: #f94144;
  border-radius: 5px;
  justify-content: center;
  width: fit-content;
  text-transform: capitalize;
  transition: all 0.4s;
  transform: scale(1);
}
.data-diploma-link-box a:hover {
  transform: scale(0.9);
  color: #f5f3e8;
}

#svg03 path {
  fill: none;
  stroke: #ffe3ab !important;
  stroke-width: 4px;
}

#svg03 #Syrian {
  fill: none !important;
}
#svg03 #Egypt,
#svg03 #Yemen,
#svg03 #Sudan,
#svg03 #Iraq,
#svg03 #Palestine,
#svg03 #Morocco,
#svg03 #Tunisia,
#svg03 #Jordan,
#svg03 #Lebanon,
#svg04 #Egypt,
#svg04 #Iraq,
#svg04 #Jordan,
#svg04 #Lebanon,
#svg04 #Libya,
#svg04 #Morocco,
#svg04 #Syrian,
#svg04 #Tunisia,
#svg04 #Yemen,
#svg05 #Egypt,
#svg05 #Iraq,
#svg05 #Jordan,
#svg05 #Lebanon,
#svg05 #Morocco,
#svg05 #SaudiArabia,
#svg05 #Sudan,
#svg05 #Syrian,
#svg05 #Tunisia,
#svg05 #Yemen {
  fill: #826e48 !important;
}
#svg04 path,
#svg05 path {
  fill: transparent !important;
  stroke: #ffe3ab !important;
  stroke-width: 4px;
}

.main-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0 20px;
}
.main-content-wrapper p {
  font-size: 18px;
  font-weight: 500;
  line-height: 32.8px;
  text-align: justify;
  color: #f5f3e8;
  margin: 0;
}
.main-chart-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 100%;
  width: 100%;
  margin: 70px auto;
}
.main-chart-wrapper h2 {
  font-family: "Almarai-Bold", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 42px;
  text-align: center;
  color: #f5f3e8;
  margin: 0 50px;
}
.main-chart-wrapper p {
  font-size: 22px;
  font-weight: 700;
  line-height: 42px;
  text-align: center;
  color: #f5f3e8;
  margin: 75px 0 0 0;
}
.barchart-wrapper {
  width: 100%;
  max-width: 70%;
  margin: auto;
}
.chart-caption {
  text-align: center;
  font-size: 18px;
  color: #f5f3e8;
}
.data-diploma-content-container {
  width: 100%;
  background: none;
  padding: 0;
  overflow: auto;
}

.diploma-content-section {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================================
   FOOTER — professional 3-column layout
   ============================================================ */
footer {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 52px 80px 28px;
  width: 100%;
  background: linear-gradient(180deg, #021726 0%, #011220 100%);
  border-top: 1px solid rgba(249, 65, 68, 0.28);
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 255 255 / 60%) 35%,
    rgb(255 255 255 / 60%) 65%,
    transparent
  );
}
/* New 3-column container replaces old footer-top */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: 36px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(245, 243, 232, 0.07);
  gap: 20px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col-center {
  align-items: center;
  text-align: center;
  gap: 18px;
  flex: 1;
}
.footer-tagline {
  font-size: 13px;
  color: white;
  line-height: 1.7;
  max-width: 280px;
  margin: 0;
}
.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(245, 243, 232, 0.12);
  border-radius: 9px;
  color: rgba(245, 243, 232, 0.45);
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(245, 243, 232, 0.03);
}
.social-link:hover {
  border-color: rgba(249, 65, 68, 0.6);
  color: #ffffff !important;
  background: rgba(249, 65, 68, 0.08);
  transform: translateY(-2px);
}
.social-link svg {
  width: 17px;
  height: 17px;
  display: block;
}
.social-link:hover {
  color: white;
}

.footer-logo-link img {
  object-fit: contain;
  display: block;
}
/* Keep old footer-top working if present */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 0;
  margin-top: 0;
}
.footer-bottom p {
  font-size: 13px;
  color: white;
  letter-spacing: 0.5px;
  margin: 0;
  text-align: center;
}


#page-loader {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #021726;
  z-index: 999999;
  transition: opacity 0.2s ease-in-out;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border-left-color: #f94144;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.inv-name {
  font-family: "Almarai-Bold", sans-serif;
  font-size: 17px;
  color: #f5f3e8;
  margin: 0;
}
.nav-lang-wrapper {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
}
#nav-menu{
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   HOME BUTTON — elegant back-to-home pill
   ============================================================ */
.home-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  background: rgba(245, 243, 232, 0.08);
  border: 1px solid rgba(245, 243, 232, 0.22);
  border-radius: 8px;
  color: #f5f3e8 !important;
  font-family: "Almarai", sans-serif;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  line-height: 1;
  flex-direction: row-reverse;
  border-radius:7px;
}
.home-link:hover {
  background: rgba(249, 65, 68, 0.15);
  border-color: rgba(249, 65, 68, 0.55);
  color: #f5f3e8;
  transform: scale(0.96);
}
.home-link .arrow-icon {
  width: 16px;
  height: 16px;
  filter: invert(0) brightness(1.5);
  opacity: 0.85;
  transition: transform 0.3s ease;
}
.home-link:hover .arrow-icon {
  transform: translateX(2px);
}
.home-link .home-label {
  font-size: 14px;
  color: #f5f3e8;
  opacity: 0.9;
}

/* ============================================================
   INVESTIGATION CARDS — unified overlay layer (fixed)
   ============================================================ */
/* Strong bottom-to-top gradient — z-index 0 keeps it BEHIND text
   (c-card__content has z-index:1) but ABOVE the raw image        */
.c-card__wrapper .lyar-img {
  background: linear-gradient(
    to top,
    rgba(2, 23, 38, 0.98) 0%,
    rgba(2, 23, 38, 0.92) 20%,
    rgba(2, 23, 38, 0.72) 45%,
    rgba(2, 23, 38, 0.3) 70%,
    rgba(2, 23, 38, 0) 100%
  ) !important;
  opacity: 1 !important;
  z-index: 0 !important; /* MUST be 0 so text (z-index:1) stays above */
  min-height: 100% !important;
}
/* Also ensure the body gradient is always visible (not just on hover) */
.c-card__wrapper .c-card__body:before {
  opacity: 1 !important;
  background: unset;
}
/* Card shape & red bottom accent on hover */
.c-card {
  border-radius: 6px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.c-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.c-card__wrapper {
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease;
}
.c-card__wrapper:hover {
  border-bottom-color: #f94144;
}
.c-card__author {
  font-size: 12px !important;
  letter-spacing: 0.3px;
  opacity: 0.75;
  text-transform: uppercase;
}

.c-card__content > span {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: #f94144 !important;
  font-family: "Almarai-Bold", sans-serif;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(249, 65, 68, 0.4);
  padding-bottom: 2px;
}
.c-card__desc {
  opacity: 0;
}
.card-img {
  filter: grayscale(0.5);
}
.c-card:hover .card-img {
  filter: grayscale(0);
}
.c-card:hover .c-card__desc {
  opacity: 1;
}

/* ============================================================
   DIPLOMA1 INFOGRAPHIC — 2-column redesigned stats section
   ============================================================ */

/* Grid wrapper: RTL → col-1 (380px) = right visual, col-2 (1fr) = left visual */
.diploma-infographic {
  display: flex;
  flex-direction: column-reverse;
  /* grid-template-columns: 360px 1fr; */
  gap: 52px;
  align-items: start;
  padding: 10px 0 30px;
}

/* ── LEFT visual column: edition label, title, stats, countries ── */
.dip-left {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.dip-edition-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 243, 232, 0.45);
  font-family: "Almarai", sans-serif;
  font-size: 15px;
  margin-bottom: 6px;
}

.dip-dash-short {
  display: inline-block;
  width: 16px;
  height: 2px;
  background: #f94144;
  border-radius: 2px;
  flex-shrink: 0;
}

.dip-main-title {
  font-family: "Almarai-ExtraBold", sans-serif;
  font-size: 40px;
  color: #f5f3e8;
  margin: 0 0 36px;
  line-height: 1.25;
  text-align: right;
}

/* Stats row ─ three numbers with vertical dividers */
.dip-stats-row {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  direction: rtl;
}

.dip-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.dip-stat:first-child {
  padding-right: 0;
}

.dip-stat-top {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  direction: rtl;
}

/* Override existing .counter span size inside infographic */
.diploma-infographic .counter span,
.dip-stat-num {
  font-family: "Outfit-Bold", sans-serif !important;
  font-size: 70px !important;
  color: #f94144 !important;
  line-height: 1 !important;
}

.dip-gender-icon {
  color: rgb(245, 243, 232);
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.dip-from-text {
  font-family: "Almarai", sans-serif;
  font-size: 17px;
  color: rgb(255 255 255);
  margin-bottom: 12px;
  font-weight: bold;
}

.dip-stat-label {
  font-family: "Almarai", sans-serif;
  font-size: 16px;
  color: rgba(245, 243, 232, 0.65);
  margin-top: 9px;
  text-align: center;
}

.dip-vline {
  width: 1px;
  height: 85px;
  background: rgba(245, 243, 232, 0.1);
  flex-shrink: 0;
  align-self: center;
}

/* Countries text */
.dip-countries-text {
  font-family: "Almarai", sans-serif;
  font-size: 16px;
  color: rgba(245, 243, 232, 0.5);
  line-height: 1.9;
  margin: 0 0 28px;
  text-align: right;
}

/* Country pills section */
.dip-countries-section {
  margin-top: 4px;
}

.dip-section-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Almarai-Bold", sans-serif;
  font-size: 15px;
  color: rgba(245, 243, 232, 0.6);
  margin-bottom: 14px;
  direction: rtl;
}

.dip-pills-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 9px;
  justify-content: start;
  direction: rtl;
}
.dip-pill {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(249 64 68);
  border: 1px solid rgba(249, 65, 68, 0.2);
  color: rgb(255 255 255);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Almarai", sans-serif;
  text-align: center;
  transition:
    background 0.25s,
    border-color 0.25s;
  font-weight: bold;
}

.dip-pill:hover {
  background: rgba(249, 65, 68, 0.14);
  border-color: rgba(249, 65, 68, 0.4);
}

/* ── RIGHT visual column: team card ── */
.dip-team-card {
  background: #0c1f30;
  border: 1px solid rgba(245, 243, 232, 0.08);
  border-radius: 18px;
  padding: 40px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.dip-team-card .diploma-team-wrapper {
  width: 100%;
  align-self: stretch;
  direction: rtl;
  text-align: right;
  gap: 20px;
}

.dip-team-card .diploma-team-wrapper h3 {
  font-family: "Almarai-Bold", sans-serif;
  font-size: 20px;
  color: #f5f3e8;
  margin: 0;
}

.dip-team-icon-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid rgba(249, 65, 68, 0.32);
  background: rgba(249, 65, 68, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f94144;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.dip-team-title {
  font-family: "Almarai-Bold", sans-serif;
  font-size: 21px;
  color: #f5f3e8;
  margin: 0 0 12px;
  text-align: center;
}

.dip-team-accent {
  width: 34px;
  height: 2px;
  background: #f94144;
  border-radius: 2px;
  margin-bottom: 28px;
}

.dip-team-member {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
  border-top: 1px solid rgba(245, 243, 232, 0.05);
  direction: rtl;
}

.dip-team-member:first-of-type {
  border-top: none;
}

.dip-member-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(249, 65, 68, 0.25);
  background: rgba(249, 65, 68, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f94144;
  flex-shrink: 0;
}

.dip-member-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
}

.dip-member-role {
  font-family: "Almarai", sans-serif;
  font-size: 11px;
  color: rgba(245, 243, 232, 0.35);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Inherits .team-btn click behavior, overrides list style */
.dip-member-name {
  font-family: "Almarai-Bold", sans-serif !important;
  font-size: 17px !important;
  color: #f5f3e8 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer;
  text-align: right;
  display: block;
  transition: color 0.25s ease;
  transform: scale(1) !important;
}

.dip-member-name:hover {
  color: #f94144 !important;
  transform: scale(1) !important;
}


.diploma-infographic .dip-pills-grid {
  justify-content: center;
}

/* ============================================================
   DIPLOMA EDITION CARDS — enhanced visual style
   ============================================================ */
.data-diploma-links-container {
  counter-reset: diploma-counter;
}
.data-diploma-link-box {
  counter-increment: diploma-counter;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(245, 243, 232, 0.07);
  background: linear-gradient(145deg, #1d3557 0%, #162a46 60%, #112238 100%);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
/* Large ghost number watermark */
.data-diploma-link-box::before {
  content: counter(diploma-counter);
  position: absolute;
  bottom: -14px;
  left: 10px;
  font-family: "Outfit-Bold", sans-serif;
  font-size: 110px;
  font-weight: 800;
  color: rgba(245, 243, 232, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -4px;
  display: none;
}
/* Red accent bar on the right side (visual start in RTL) */
.data-diploma-link-box::after {
  content: "";
  position: absolute;
  top: 15%;
  bottom: 15%;
  right: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(
    to bottom,
    transparent,
    #f94144 30%,
    #f94144 70%,
    transparent
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}
.data-diploma-link-box:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(249, 65, 68, 0.2);
  border-color: rgba(249, 65, 68, 0.22);
}
.data-diploma-link-box:hover::after {
  opacity: 1;
}
.data-diploma-link-box h3 {
  position: relative;
  z-index: 1;
}
.data-diploma-link-box p {
  position: relative;
  z-index: 1;
  opacity: 0.75;
  font-size: 14px !important;
}
.data-diploma-link-box a {
  position: relative;
  z-index: 1;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  letter-spacing: 0.3px;
  transition: all 0.3s ease !important;
}
.data-diploma-link-box a:hover {
  box-shadow: 0 6px 20px rgba(249, 65, 68, 0.5) !important;
  transform: scale(0.97) !important;
}


/* Responsive */


@media (max-width: 991px) {
  .main-chart-wrapper h2{
    font-size: 24px;
    line-height: 38px;
  }
  .home-link{
    display: none;
  }
  #nav-menu{flex-direction: column;}
  .data-diploma-main-logo{z-index: 9999;}
  .lang-link{margin: 0 auto;}
  .start-intro{width: 100% !important;}
   p{
    text-align: right !important;
  }
  .diploma-infographic {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .dip-main-title {
    font-size: 32px;
  }
  .dip-team-card {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
  .dip-pills-grid {
    grid-template-columns: repeat(3, auto);
    justify-content: center;
  }
  .recognitions-info-wrapper ul li {
    gap: 12px;
  }
  .recognitions-info-wrapper ul li div {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .recognitions-info-wrapper ul li div span {
    font-size: 16px;
    max-width: 100%;
  }
  .recognitions-info-wrapper ul li a,
  .data-diploma-link-box {
    max-width: 100%;
  }
  .data-diploma-link-box{flex:1}
  .data-diploma-link-box h6 {
    font-size: 28px;
  }
  .col-map {
    width: 100%;
  }
  .main-chart-wrapper {
    max-width: 100%;
  }
  .main-chart-wrapper h4 {
    margin: 0;
  }
  .data-diploma-links-container {
    flex-direction: column;
  }
   footer {
    padding: 40px 24px 24px;
  }
  .footer-content {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 32px;
  }
  .footer-col-center {
    order: -1;
  }
  .recognitions-info-wrapper{flex-direction: column;}
  .awards-img-wrapper{
    min-width: 100%;
    max-width: 100%;
  }
  .burger-menu-btn {
    display: flex; 
  }

  .nav-links-menu {
    position: fixed;
    top: 0;
    left: -150%; 
    width: 100%;
    height: 100vh;
    background-color: #031726; 
    transition: left 0.4s ease;
    z-index: 1000;
  }

  .nav-links-menu.active {
    left: 0; 
  }

  .menu-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 150px 0 0 0;
    padding: 20px;
    align-items: center;
  }

  .burger-menu-btn.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .burger-menu-btn.open span:nth-child(2) {
    opacity: 0;
  }
  .burger-menu-btn.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}