/* ==============================
   Trusted Services Section
============================== */
.ts-trusted-services {
  background: #f7faff;
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ts-section-title {
  font-size: 2.4rem;
  color: #003366;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.ts-section-subtitle {
  color: #666;
  margin-bottom: 60px;
  font-size: 1.05rem;
}

/* Grid layout */
.ts-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Individual Card */
.ts-service-card {
  background: #fff;
  border-radius: 18px;
  padding: 45px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.ts-service-card.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-in-out;
}

.ts-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Gradient border hover effect */
.ts-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #007bff, #00aaff) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: 0.4s;
}

.ts-service-card:hover::before {
  opacity: 1;
}

/* Icon Box */
.ts-icon-box {
  width: 75px;
  height: 75px;
  background: linear-gradient(135deg, #007bff, #00aaff);
  color: #fff;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  margin: 0 auto 25px;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.ts-service-card:hover .ts-icon-box {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
}

/* Titles & Text */
.ts-service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #003366;
  margin-bottom: 12px;
}

.ts-service-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .ts-section-title {
    font-size: 2rem;
  }
  .ts-service-card {
    padding: 35px 25px;
  }
}
