/* ===== Animated Stats ===== */
.about-stats {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #eaf3f9 100%);
}
.about-stats .section-heading {
  text-align: center;
  margin-bottom: 50px;
}
.about-stats .section-heading h2 {
  color: #002538;
  font-weight: 700;
  letter-spacing: 1px;
}
.about-stats .section-heading p {
  color: #4a4a4a;
  max-width: 720px;
  margin: 12px auto 0;
}
.stat-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 32px 22px 26px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 37, 56, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  overflow: hidden;
  height: 100%;
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(32, 188, 237, 0.06),
    rgba(19, 234, 157, 0.06)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 37, 56, 0.18);
}
.stat-card:hover::before {
  opacity: 1;
}
.stat-card .stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #002538, #0a2e2a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6fbe44;
  font-size: 30px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(5, 38, 153, 0.25);
  transition: transform 0.5s ease;
}
.stat-card:hover .stat-icon {
  transform: rotateY(180deg);
  color: #13ea9d;
}
.stat-card .stat-number {
  font-size: 44px;
  font-weight: 800;
  color: #002538;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.stat-card .stat-number .plus {
  color: #6fbe44;
}
.stat-card .stat-label {
  margin-top: 10px;
  color: #4a4a4a;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* ===== MENA Map ===== */
.team-map {
  padding: 80px 0 90px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f6fa 100%);
  overflow: hidden;
}
.team-map .section-heading {
  text-align: center;
  margin-bottom: 50px;
}
.team-map .section-heading h2 {
  color: #002538;
  font-weight: 700;
  letter-spacing: 1px;
}
.team-map .section-heading p {
  color: #4a4a4a;
  max-width: 760px;
  margin: 12px auto 0;
}
.map-wrap {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0, 37, 56, 0.12);
}
.map-canvas {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 18px;
  overflow: hidden;
  background: #eaf3f9;
  z-index: 0;
}
.map-canvas .leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.7);
}
/* Custom Leaflet pin icon */
.leaflet-pin {
  position: relative;
  width: 28px;
  height: 28px;
  pointer-events: auto;
}
.leaflet-pin .pin-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(32, 188, 237, 0.55) 0%,
    rgba(32, 188, 237, 0) 70%
  );
  animation: pinPulse 2s ease-out infinite;
}
.leaflet-pin .pin-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a2e2a, #6fbe44);
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(5, 38, 153, 0.5);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.leaflet-pin:hover .pin-dot,
.leaflet-pin.is-active .pin-dot {
  transform: scale(1.4);
  background: linear-gradient(135deg, #6fbe44, #13ea9d);
  box-shadow:
    0 6px 18px rgba(32, 188, 237, 0.6),
    0 0 0 4px rgba(32, 188, 237, 0.25);
}
.country-popup .leaflet-popup-content-wrapper {
  background: #002538;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 37, 56, 0.35);
}
.country-popup .leaflet-popup-content {
  margin: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.country-popup .leaflet-popup-tip {
  background: #002538;
}
/* Permanent country labels on the map */
.country-label.leaflet-tooltip {
  background: #002538;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.4px;
  padding: 3px 9px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 37, 56, 0.28);
  white-space: nowrap;
}
.country-label.leaflet-tooltip::before {
  display: none;
}
.country-label.leaflet-tooltip-left::before,
.country-label.leaflet-tooltip-right::before,
.country-label.leaflet-tooltip-top::before,
.country-label.leaflet-tooltip-bottom::before {
  display: none;
}
@keyframes pinPulse {
  0% {
    transform: scale(0.55);
    opacity: 0.9;
  }
  80% {
    transform: scale(2.4);
    opacity: 0;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  margin-top: 30px;
}
.map-legend .legend-chip {
  background: #fff;
  color: #002538;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid #d6e0e8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.map-legend .legend-chip i {
  color: #6fbe44;
}
.map-legend .legend-chip:hover,
.map-legend .legend-chip.is-active {
  background: linear-gradient(135deg, #002538, #0a2e2a);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 37, 56, 0.25);
}
.map-legend .legend-chip:hover i,
.map-legend .legend-chip.is-active i {
  color: #13ea9d;
}

/* ===== Core Values (vision-mission-values) ===== */
.core-values {
  padding: 70px 0;
  background: #f8fafc;
}
.core-values .section-heading {
  text-align: center;
  margin-bottom: 50px;
}
.core-values .section-heading h2 {
  color: #002538;
  font-weight: 700;
}
.value-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(0, 37, 56, 0.07);
  height: 100%;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  border-top: 4px solid #6fbe44;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 37, 56, 0.16);
  border-top-color: #13ea9d;
}
.value-card .value-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, #002538, #0a2e2a);
  color: #6fbe44;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  transition: color 0.35s ease;
}
.value-card:hover .value-icon {
  color: #13ea9d;
}
.value-card h3 {
  color: #002538;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}
.value-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.value-card ul li {
  position: relative;
  padding-right: 0;
  padding-left: 22px;
  color: #4a4a4a;
  margin-bottom: 8px;
  line-height: 1.55;
  font-size: 14.5px;
}
.value-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: #6fbe44;
  border-radius: 50%;
}

/* RTL */
[dir="rtl"] .value-card ul li {
  padding-left: 0;
  padding-right: 22px;
}
[dir="rtl"] .value-card ul li::before {
  left: auto;
  right: 0;
}
[dir="rtl"] .map-legend span i {
  margin-right: 0;
  margin-left: 6px;
}

@media (max-width: 767px) {
  .stat-card .stat-number {
    font-size: 36px;
  }
  .stat-card .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 26px;
  }
  .map-marker .pin-label {
    font-size: 14px;
  }
}
