/* Container: float+width, white bg, rounded, shadow */
.trust-badge-container {
  float: right;               /* float to the right; change to left if desired */
  width: 300px;               /* fixed width—adjust as needed */
  margin: 20px;               /* space around the box */
  background: #fff;           /* white background */
  border-radius: 12px;        /* rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* soft elevated shadow */
  padding: 20px;              /* inner spacing */
  box-sizing: border-box;     /* include padding in width */
}

/* Allow logos to overflow their box */
.trust-badge,
.trust-badge .platform-logos,
.trust-badge .platform-logo-box {
  overflow: visible !important;
}

/* Base logo state */
.trust-badge .platform-logo {
  display: inline-block !important;
  transform: none !important;
  transform-origin: left center !important;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out !important;
  will-change: transform, filter;
  height: 34px;
  width: auto;
  max-width: 160px;
}

/* Scale logo only on hover */
.trust-badge .platform-logo-box:hover .platform-logo,
.trust-badge .platform-logo:hover {
  transform: scale(1.15) translateX(4px) !important;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)) brightness(1.1) !important;
}

/* Keep the box itself static but highlight it on hover */
.trust-badge .platform-logo-box {
  transition: box-shadow 0.35s ease-out, border-color 0.35s ease-out, background 0.35s ease-out !important;
  background: #fff;
  border-radius: 9px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.07);
  padding: 14px 18px;
  margin-bottom: 20px;  /* gap between rows */
  box-sizing: border-box;
  cursor: pointer;
}
.trust-badge .platform-logo-box:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.12) !important;
  border-color: #d7d7d7 !important;
  background: #fdfdfd !important;
}

/* Stack each logo box in its own row */
.platform-logos {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px;    /* <-- adds 20px between each .platform-logo-box */
}


/* Mobile adjustments */
@media (max-width: 480px) {
  .trust-badge-container {
    float: none;
    width: auto;
    margin: 10px auto;
  }
  .trust-badge .platform-logo {
    height: 30px !important;
  }
  .trust-badge .platform-logo-box:hover .platform-logo,
  .trust-badge .platform-logo:hover {
    transform: scale(1.12) translateX(3px) !important;
  }
}