/* Container grid */
.ecc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
}

/* Each client card */
.ecc-card {
  background-color: #0052CC; /* Professional blue background */
  color: #ffffff;
  text-align: center;
  padding: 32px 20px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}

/* Add a subtle pattern overlay */
.ecc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  opacity: 0.1;
}

/* Hover effect */
.ecc-card:hover {
  background-color: #0747A6;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Card text */
.ecc-card-body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

/* Title above the grid */
.ecc-grid-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 700;
  color: #172B4D;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  padding-bottom: 15px;
}

/* Add underline to title */
.ecc-grid-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #0052CC;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
  .ecc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .ecc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 100%;
    padding: 0 16px;
  }
  
  .ecc-card {
    padding: 24px 16px;
    min-height: 100px;
  }
  
  .ecc-card-body {
    font-size: 18px;
  }
  
  .ecc-grid-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .ecc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .ecc-card {
    padding: 20px 16px;
    min-height: 90px;
  }
  
  .ecc-card-body {
    font-size: 16px;
  }
  
  .ecc-grid-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
}