/* ====== GRID WRAPPER ====== */
.contact-cards {
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.contact-cards-grid {
  /* display: grid; */
  /*grid-template-columns: repeat(4, 1fr); /* 4 per row on desktop */
  /*gap: 16px; /* space between cards */
  /* align-items: stretch; */
  justify-content: center;
}

/* Responsive breakpoints */
/* @media (max-width: 1440px) {
  .contact-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1024px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
} */
@media (max-width: 768px) {
  .contact-cards-grid {
    /*grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}

/* ====== CARD BASE ====== */
.contact-card {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;

  position: relative;
  /* border-radius: 12px; */
  overflow: hidden;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  aspect-ratio: 1 / 1;
  user-select: none; /* Modern browsers */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
}

@media (min-width: 768px) {
  .contact-card {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .contact-cards-grid {
    gap: 30px;
  }
}

.contact-card > * {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* ====== ALTERNATING BACKGROUNDS (Pink / Blue) ====== */
/* You can swap colors to match your brand */
.contact-card:nth-child(odd) {
  background: var(--color-pink-2);
}
.contact-card:nth-child(even) {
  background: #00b7bd;
}

.contact-card {
  background: var(--card-bg, #f2f6ff);
  box-shadow: 0 1px 2px rgba(2, 12, 27, 0.04), 0 6px 12px rgba(2, 12, 27, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, translate 0.18s ease;
}

/* Hover / focus */
.contact-card:hover,
.contact-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(2, 12, 27, 0.08),
    0 14px 28px rgba(2, 12, 27, 0.08);
}

/* ====== CONTENT STYLING ====== */
.contact-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}

.contact-card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px 0 2px;
  color: var(--color-white);
}

/* Size Elementor SVG/Icons nicely */
.contact-card-icon svg,
.contact-card-icon i {
  width: 40px;
  height: 40px;
  font-size: 40px;
  fill: var(--color-white);
}

/* Description text */
.contact-card-description {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-white);
  opacity: 0.9;
  max-width: 90%;
  margin: 0 auto;
}

/* ====== ACCESSIBILITY & REDUCED MOTION ====== */
@media (prefers-reduced-motion: reduce) {
  .contact-card {
    transition: none;
  }
  .contact-card:hover,
  .contact-card:focus-within {
    transform: none;
  }
}
