/* Info List Section */
section#info-graphic {
  padding: 4rem 0;
  background: #f8f9fa;
  margin: 0;
  color: #333;
}

/* Number counting animation */
@keyframes countUp {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1.1);
  }
}

@keyframes numberPulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

section#info-graphic .lgd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section#info-graphic .lgd-row {
  margin: 0;
  padding: 0;
}

section#info-graphic h2 {
  margin-bottom: 3rem;
  color: #333;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
}

/* Card grid layout for info list */
.info-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
}

.info-list li {
  background: white;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.info-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #218649;
}

.info-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.info-graphic {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: #218649;
  border-radius: 50%;
  position: relative;
}

.info-graphic svg {
  width: 40px;
  height: 40px;
  fill: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.info-txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.info-txt h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: white;
  line-height: 1.2;
  transition: transform 0.3s ease;
}

.info-list li:hover .info-txt h3 {
  animation: countUp 0.6s ease-out, numberPulse 0.6s ease-in-out;
}

.info-txt p {
  font-size: 1rem;
  margin: 0;
  color: white;
  line-height: 1.4;
  font-weight: 400;
  text-align: center;
}

section#info-graphic .govuk-body-l {
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #333;
}

/* Responsive adjustments for info cards */
@media (max-width: 1024px) {
  .info-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .info-list {
    grid-template-columns: 1fr;
  }
  
  .info-list li {
    padding: 2rem 1.5rem;
    min-height: 240px;
  }
  
  .info-txt h3 {
    font-size: 2rem;
  }
  
  section#info-graphic .govuk-body-l {
    font-size: 1rem;
  }
} 