.icon-cards-repeater {
  /* padding: 60px 0; */
  /* background: #f8f9fa; */
}

.icon-cards-repeater .container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 20px;
}

.icon-cards-repeater .section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-content-after-title {
  margin-bottom: 5rem;
}

.icon-cards-repeater .section-title {
  font-size: var(--font-size-3xl, 2.5rem);
  font-weight: var(--font-weight-semibold);
  color: #2c3e50;
  margin: 0;
  position: relative;
}

/* .icon-cards-repeater .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #3498db;
    margin: 20px auto 0;
    border-radius: 2px;
} */

.icon-cards-repeater .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.icon-cards-repeater .icon-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  background: #fff url(/wp-content/themes/oceanwp-child/assets/images/fleche_AFC.svg)
    no-repeat;
  background-size: cover;
  background-position: center;
}

.icon-cards-repeater .icon-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.icon-cards-repeater .icon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.icon-cards-repeater .icon-card:hover::before {
  transform: scaleX(1);
}

.icon-cards-repeater .card-icon {
  width: 100px;
  /* height: 80px; */
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(135deg, #3498db, #2980b9); */
  border-radius: 50%;
  padding: 0px;
  /* box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3); */
}

.icon-cards-repeater .card-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  /* filter: brightness(0) invert(1); */
}

.icon-cards-repeater .card-title {
  font-size: var(--font-size-2-3xl);
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.icon-cards-repeater .card-text {
  color: var(--primary-color);
  line-height: 1.6;
  font-family: var(--font-family-tertiary);
  padding: 0 2rem;
}

.icon-cards-repeater .card-text p {
  font-size: var(--font-size-1xl);
  margin: 0 0 15px 0;
}

.icon-cards-repeater .card-text p:last-child {
  margin-bottom: 0;
}

.icon-cards-repeater .section-footer {
  text-align: center;
}

/* .icon-cards-repeater .section-link {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.icon-cards-repeater .section-link:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    color: white;
} */

/* Responsive */
@media (max-width: 768px) {
  .icon-cards-repeater {
    /* padding: 40px 0; */
  }

  .icon-cards-repeater .container {
    padding: 0 15px;
  }

  .icon-cards-repeater .section-title {
    /* font-size: 2rem; */
  }

  .icon-cards-repeater .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .icon-cards-repeater .icon-card {
    padding: 30px 20px;
  }

  .icon-cards-repeater .card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  .icon-cards-repeater .card-title {
    /* font-size: 1.2rem; */
  }
}

@media (max-width: 480px) {
  .icon-cards-repeater .section-title {
    /* font-size: 1.8rem; */
  }

  /* .icon-cards-repeater .section-link {
        padding: 12px 25px;
        font-size: 0.9rem;
    } */
}
