* {
  box-sizing: border-box;
}

.wsua-section {
  position: relative; /* important to contain the ::before overlay */
  max-width: 1080px;
  margin: 48px auto;
  padding: 40px 24px 32px;
  background: #f9fbfd;
  border-radius: 24px;
  box-shadow: 0 10px 48px rgba(44, 102, 192, 0.12);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #f3f3f5;
  overflow: hidden; /* hide any overflow */
  z-index: 0;
}

/* Background image + gradient overlay using ::before */
.wsua-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1; /* behind content */
  background-image:
    linear-gradient(135deg, rgba(9,44,92,0.76) 24%, rgba(255,255,255,0.12) 100%),
  url('assets/img/mat/whats.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: overlay; /* blends gradient with image */
  border-radius: 22px;
  opacity: 0.8;
  pointer-events: none;
}

/* Titles */
.wsua-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  user-select: none;
  position: relative; /* to be above overlay */
  z-index: 1;
}

/* Highlight quote */
.wsua-highlight {
  background: linear-gradient(90deg, #ffecd1 35%, #eaf6fa 100%);
  border-radius: 20px;
  color: #2b3e55;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 auto 40px;
  padding: 20px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 3px 18px rgba(255, 224, 141, 0.42);
  max-width: 620px;
  font-style: italic;
  user-select: text;
  position: relative;
  z-index: 1;
}

/* Icon */
.wsua-icon {
  font-size: 2.6rem;
  color: #ffa500;
  flex-shrink: 0;
  user-select: none;
  position: relative;
  z-index: 1;
}

/* Quote Text */
.wsua-quote {
  font-size: 1.3rem;
  color: #2f3c57;
  line-height: 1.25;
}

/* Columns layout */
.wsua-columns {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Card styles */
.wsua-card {
  width: 300px;
  height: 300px;
  color: white;
  cursor: default;
  position: relative;
  box-shadow: 0 8px 32px rgba(44, 102, 192, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 30px;
  background-clip: padding-box;
}

/* Fix scale hover */
/* .wsua-card:hover,
.wsua-card:focus {
  box-shadow: 0 16px 48px rgba(44, 102, 192, 0.35);
  transform: scale(1.07);
  outline: none;
} */

/* Card icon */
.wsua-card-icon {
  font-size: 3rem;
  margin-bottom: 18px;
  color: #ffd54f;
  user-select: none;
  filter: drop-shadow(0 0 3px #ffca28);
}

/* Heading */
.wsua-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
  user-select: text;
}

/* Paragraph */
.wsua-card p {
  font-size: 1.1rem;
  line-height: 1.5;
  user-select: text;
  margin: 0;
}

/* Diamond cards */
.diamond-card {
  background: linear-gradient(135deg, #2a5298, #1e3c72);
  border-radius: 30px;
  transform: rotate(45deg);
  overflow: hidden;
  box-shadow:
    0 0 12px 2px rgba(58, 123, 213, 0.65),
    0 0 30px 8px rgba(58, 123, 213, 0.35);
  filter: drop-shadow(0 0 8px rgba(58, 123, 213, 0.8));
}

/* Diamond content counter rotate */
.diamond-content {
  transform: rotate(-45deg);
  height: 100%;
  padding: 40px 36px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Inverted diamond card */
.inverted-diamond-card {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  border-radius: 30px;
  transform: rotate(-45deg);
  overflow: hidden;
  box-shadow:
    0 0 12px 2px rgba(37, 92, 161, 0.65),
    0 0 30px 8px rgba(37, 92, 161, 0.35);
  filter: drop-shadow(0 0 8px rgba(37, 92, 161, 0.8));
}

/* Inverted diamond content counter rotate */
.inverted-diamond-content {
  transform: rotate(45deg);
  height: 100%;
  padding: 40px 36px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
  .wsua-columns {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .wsua-card {
    width: 280px;
    height: 280px;
  }
}
