body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #0c1123;
}

/* --- TRUSTED BY BEST SECTION --- */
.trustedbybest-section {
  position: relative;
  width: 100%;
  padding: 90px 0 100px 0;
  background: #10182a;
  overflow: hidden;
  z-index: 1;
  box-sizing: border-box;
}

.trustedbybest-bg-video {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  opacity: 0.81;
  filter: blur(2px) brightness(1.14) saturate(1.13);
}

.trustedbybest-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16,24,42,0.32) 0%, rgba(10,17,36,0.44) 100%);
}

.trustedbybest-content {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

/* --- TITLE & SUBTITLE (aligned with global typography) --- */
.trustedbybest-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.7rem); /* ✅ global H2 size */
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.07;
  margin-bottom: 22px;

  /* Animation prep */
  opacity: 0;
  transform: translateY(40px);
}

.trustedbybest-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem; /* ✅ body copy size */
  font-weight: 400;
  line-height: 1.54;
  color: #b8e5f6;
  margin-bottom: 52px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;

  /* Animation prep */
  opacity: 0;
  transform: translateY(40px);
}

/* --- CARDS WRAPPER --- */
.trustedbybest-cards.logos-only {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 36px;
  flex-wrap: nowrap;
  margin-top: 0;
  margin-bottom: 0;
}

/* --- CARD STYLES --- */
.trustedbybest-card {
  background: rgba(16, 26, 45, 0.13);
  border-radius: 18px;
  border: 1px solid #1fa2ff;
  box-shadow:
    0 0 8px 1px #56d9ff44,
    0 0 1.5px 1px #1fa2ff;
  backdrop-filter: blur(18px) saturate(1.14);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
  min-width: 192px;
  max-width: 220px;
  min-height: 192px;
  max-height: 220px;
  height: 205px;
  width: 205px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.28s, border-color 0.28s, transform 0.28s ease;
  cursor: default; /* ✅ Not clickable */
  position: relative;
  margin: 0;

  /* Animation prep */
  opacity: 0;
  transform: translateY(40px);
}

.trustedbybest-card:hover, 
.trustedbybest-card:focus-visible {
  box-shadow:
    0 0 14px 4px #5edbff66,
    0 0 4px 1px #33baff;
  border-color: #60e0ff;
  transform: translateY(-8px) scale(1.06); /* ✅ hover grow */
  z-index: 2;
}

/* --- LOGO --- */
.trustedbybest-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
}

.trustedbybest-card-logo img {
  width: 85%;   /* ✅ Bigger and responsive */
  height: auto;
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 1.5px 12px #3cbcff80);
  transition: filter 0.2s, transform 0.2s;
}

.trustedbybest-card:hover .trustedbybest-card-logo img {
  filter: drop-shadow(0 2.5px 16px #5edbffbb);
  transform: scale(1.06);
}

/* --- RESPONSIVE: TABLET --- */
@media (max-width: 900px) {
  .trustedbybest-cards.logos-only {
    gap: 14px;
  }
  .trustedbybest-card {
    min-width: 140px;
    max-width: 180px;
    min-height: 140px;
    max-height: 180px;
    height: 160px;
    width: 160px;
  }
  .trustedbybest-card-logo img {
    width: 80%;
    max-width: 110px;
    max-height: 110px;
  }
}

/* --- RESPONSIVE: MOBILE --- */
@media (max-width: 650px) {
  .trustedbybest-cards.logos-only {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
  }
  .trustedbybest-card {
    width: 88vw;
    max-width: 300px;
    height: auto;
    min-height: 120px;
    padding: 24px;
  }
  .trustedbybest-card-logo img {
    width: 70%;
    max-width: 100px;
    max-height: 100px;
  }
}
