/* Enhanced Global Coverage Section Styles */

.global-coverage {
  padding: 100px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.global-coverage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/world-map-dots.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  z-index: 0;
}

.global-coverage .container {
  position: relative;
  z-index: 1;
}

.global-coverage h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.4rem;
  color: var(--black);
  position: relative;
}

.global-coverage h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--whatsapp-green);
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #555;
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.region-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.region-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.region-header {
  padding: 25px;
  background-size: cover;
  background-position: center;
  position: relative;
  height: 140px;
  display: flex;
  align-items: flex-end;
}

.region-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
  z-index: 1;
}

.region-africa .region-header {
  background-image: url('../images/africa-map.jpg');
}

.region-caribbean .region-header {
  background-image: url('../images/caribbean-map.jpg');
}

.region-asia .region-header {
  background-image: url('../images/asia-map.jpg');
}

.region-latinamerica .region-header {
  background-image: url('../images/latinamerica-map.jpg');
}

.region-header h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.6rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.region-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.region-description {
  color: #555;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

.region-countries {
  margin-top: auto;
}

.countries-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 10px;
  font-weight: 600;
}

.countries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.country-tag {
  background-color: #f0f0f0;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #555;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.country-tag:hover {
  background-color: var(--whatsapp-light-green);
  color: var(--whatsapp-dark);
}

.country-flag {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 5px;
  object-fit: cover;
}

.region-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--whatsapp-teal);
  margin-bottom: 5px;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .regions-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}
