/* Makkah Statistics Section */
.makkah-stats {
  padding: 6rem 0;
  background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.makkah-stats::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(1,1,1,0.02) 0%, transparent 70%);
  transform: rotate(15deg);
}

.makkah-stats__title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 4rem;
  text-align: center;
  color: #010101;
  position: relative;
}

.makkah-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 0 auto;
  max-width: 65rem;
  position: relative;
  z-index: 1;
}

/* Stat Card */
.makkah-stat-card {
  text-align: center;
  padding: 0;
  position: relative;
}

.makkah-stat-card__number {
  font-size: 2rem;
  font-weight: 900;
  color: #010101;
  margin: 0 0 0.75rem;
  line-height: 1;
  position: relative;
  display: inline-block;
}


.makkah-stat-card__label {
  font-size: 1.25rem;
  color: #010101;
  margin: 0 0 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.makkah-stat-card__location {
  font-size: 1rem;
  color: #666;
  margin: 0;
  font-weight: 400;
}

/* Center card emphasis */
.makkah-stat-card:nth-child(2) {
  position: relative;
}

.makkah-stat-card:nth-child(2)::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: calc(100% + 4rem);
  background: linear-gradient(180deg, transparent 0%, rgba(1,1,1,0.02) 50%, transparent 100%);
  border-radius: 2rem;
  z-index: -1;
}


/* Animated counter effect */
.makkah-stat-card__number {
  transition: transform 0.3s ease;
}

.makkah-stat-card__number.count-complete {
  transform: scale(1.05);
}

.makkah-stat-card__number.count-complete::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(1,1,1,0.1) 0%, transparent 70%);
  animation: pulse 0.5s ease-out;
  pointer-events: none;
}

@keyframes pulse {
  from {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  to {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 48rem) {
  .makkah-stats {
    padding: 4rem 0;
  }

  .makkah-stats__title {
    font-size: 2rem;
    margin-bottom: 3rem;
  }

  .makkah-stats__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1rem;
  }

  .makkah-stat-card__number {
    font-size: 1.75rem;
  }

  .makkah-stat-card__label {
    font-size: 1.125rem;
  }

  .makkah-stat-card__location {
    font-size: 0.9375rem;
  }

  .makkah-stat-card:nth-child(2)::before {
    width: 100%;
    height: 100%;
    top: 0;
  }
}

@media (max-width: 36rem) {
  .makkah-stats {
    padding: 3rem 0;
  }

  .makkah-stats__title {
    font-size: 1.75rem;
  }

  .makkah-stat-card__number {
    font-size: 1.5rem;
  }
}