/* ===== TRUSTED SECTION ===== */
.trusted {
  background-color: #f9f9f9;
  padding: 100px 8%;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

/* --- Content Container --- */
.trusted-content {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.2s;
}

/* --- Heading Animations --- */
/* Use clamp() for fluid, responsive font size */
.trusted-title {
  font-size: clamp(1.6rem, 5.5vw, 2.8rem); /* Min: 1.6rem, Ideal: ~5.5% of viewport, Max: 2.8rem */
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  line-height: 1.3;
}

.trusted-title .word {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.trusted-title .delay1 { animation-delay: 0.3s; }
.trusted-title .delay2 { animation-delay: 0.6s; }
.trusted-title .delay3 { animation-delay: 0.9s; }
.trusted-title .delay4 { animation-delay: 1.2s; }

.trusted-title span { font-weight: 700; color: #222; }
.trusted-title em  { font-style: italic; font-weight: 400; color: #555; }

/* --- Paragraph --- */
.trusted-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  max-width: 700px;
  margin: 20px auto 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 1.6s;
}

/* --- Button --- */
.btn-discover {
  background: #222;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 2s;
}

.btn-discover:hover {
  background: #444;
  transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Tablets */
@media (max-width: 1024px) {
  .trusted { padding: 90px 6%; }
}

/* iPad Pro 11" / Air */
@media (max-width: 834px) {
  .trusted { padding: 80px 5%; }
  .trusted-title { gap: 7px; }
}

/* iPad Mini */
@media (max-width: 768px) {
  .trusted { padding: 70px 5%; }
}

/* Phones in Landscape */
@media (max-width: 896px) and (orientation: landscape) {
  .trusted { padding: 50px 4%; }
  .trusted-title { gap: 6px; }
  .trusted-text { margin: 15px auto 25px; }
  .btn-discover { padding: 9px 22px; font-size: 0.9rem; }
}

/* Large Phones (iPhone 12–15 Pro Max, Galaxy S) */
@media (max-width: 428px) {
  .trusted { padding: 55px 4%; }
  .trusted-title {
    gap: 6px;
    line-height: 1.25;
  }
  .trusted-text { font-size: 0.89rem; margin: 12px auto 25px; }
  .btn-discover { padding: 9px 22px; font-size: 0.88rem; }
}

/* Medium/Small Phones (iPhone SE, Pixel 5, etc.) */
@media (max-width: 375px) {
  .trusted { padding: 50px 4%; }
  .trusted-title {
    gap: 5px;
    line-height: 1.2;
    flex-direction: column; /* Stack words vertically on very small screens */
    align-items: center;
  }
  .trusted-text { font-size: 0.86rem; margin: 10px auto 20px; }
  .btn-discover { padding: 8px 20px; font-size: 0.85rem; }
}

/* Tiny Screens (≤ 320px) */
@media (max-width: 320px) {
  .trusted { padding: 45px 3%; }
  .trusted-title {
    gap: 4px;
    line-height: 1.15;
  }
  .trusted-text { font-size: 0.82rem; }
  .btn-discover { padding: 7px 18px; font-size: 0.82rem; }
}