/* =======================================
   TRUST FIRST PAGE COMPONENT STYLES
======================================= */

.trust-hero {
  padding: 80px 5% 60px;
  background: linear-gradient(135deg, #fdf8ee 0%, #ffffff 50%, #faf9f6 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.05);
}

.trust-hero-left {
  flex: 1.2;
}

.trust-hero-tag {
  display: inline-block;
  background: rgba(212, 175, 55, 0.08);
  color: #d4af37;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.trust-hero-left h1 {
  font-size: 52px;
  font-weight: 900;
  color: #111111;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.trust-hero-left h1 span {
  color: #d4af37;
}

.trust-hero-desc {
  font-size: 16.5px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 14px;
}

.trust-hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.trust-hero-right img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.03);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: transform 0.4s ease;
}

.trust-hero-right img:hover {
  transform: translateY(-5px);
}

/* =======================================
   WHY TRUST FIRST CARDS
======================================= */

.trust-section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #111111;
  margin-top: 20px;
  margin-bottom: 40px;
  position: relative;
}

.trust-section-title span {
  color: #d4af37;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.trust-grid.trust-grid-large {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.trust-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 6px 24px rgba(17, 17, 17, 0.03);
  border: 1px solid rgba(17, 17, 17, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.trust-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
}

.trust-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.trust-card:nth-child(even) .trust-card-icon {
  background: rgba(17, 17, 17, 0.06);
  color: #111111;
}

.trust-card:hover .trust-card-icon {
  background: #d4af37;
  color: #fff;
  transform: scale(1.08);
}

.trust-card:nth-child(even):hover .trust-card-icon {
  background: #111111;
  color: #fff;
  transform: scale(1.08);
}

.trust-card h3 {
  font-size: 20px;
  color: #111111;
  margin-bottom: 14px;
  font-weight: 750;
}

.trust-card p {
  color: #555;
  line-height: 1.75;
  font-size: 14.5px;
}

/* =======================================
   TRUST PLEDGE & PRACTICE
======================================= */

.trust-promise-box {
  background: linear-gradient(135deg, #1f1c18 0%, #0c0b0a 100%);
  color: #fff;
  border-radius: 22px;
  padding: 50px 40px;
  margin: 60px auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.12);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.trust-promise-box::after {
  content: "\f3ed";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  bottom: -40px;
  right: 20px;
  font-size: 220px;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.trust-promise-box h3 {
  font-size: 28px;
  font-weight: 800;
  color: #d4af37;
  margin-bottom: 35px;
  text-align: center;
}

.pledges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pledge-item {
  display: flex;
  gap: 15px;
}

.pledge-item i {
  color: #d4af37;
  font-size: 20px;
  margin-top: 4px;
}

.pledge-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #c4d1df;
}

.pledge-item p strong {
  color: #fff;
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

/* =======================================
   RESPONSIVE — TRUST FIRST PAGE
======================================= */

@media(max-width: 900px) {
  .trust-hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
    gap: 30px;
  }
  
  .trust-hero-left, .trust-hero-right {
    width: 100%;
  }

  .trust-hero-left h1 {
    font-size: 38px;
  }

  .trust-hero-right img {
    max-width: 380px;
  }

  .trust-section-title {
    font-size: 28px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 5%;
  }

  .pledges-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media(max-width: 550px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-promise-box {
    padding: 35px 25px;
  }
}

/* =======================================
   ENHANCED MICRO-ANIMATIONS (trust-first page)
======================================= */

.trust-hero-left h1 {
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.trust-hero-desc {
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}
.trust-hero-tag {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Trust card icon bounce hover */
.trust-card i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease, color 0.3s ease;
}
.trust-card:hover i {
  transform: rotate(18deg) scale(1.2);
}
.trust-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}
.trust-card:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.14);
}

/* Promise-box heartbeat glow */
.trust-promise-box {
  animation: trustGlow 3.5s ease-in-out infinite;
}
@keyframes trustGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.1), 0 12px 40px rgba(17,17,17,0.06); }
  50%       { box-shadow: 0 0 0 10px rgba(212,175,55,0), 0 12px 40px rgba(212,175,55,0.1); }
}

/* Section title animated underline */
.trust-section-title::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #111111);
  border-radius: 2px;
  margin: 10px auto 0;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.trust-section-title.visible::after {
  width: 80px;
}

