.page-testimonials .testimonial-item-content p,
.page-testimonials .testimonial-author-content p{
	color: var(--white-color);
}
.section-title p{
    color: #131313;
}

/* 404 */
/* ============================= */
/* Modern Elegant 404 Page */
/* ============================= */

.error-404{
  position: relative;
  padding: clamp(64px, 7vw, 110px) 0;
  overflow: hidden;
  background: var(--bg-color);
  font-family: var(--default-font);
}

.error-404-bg{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 18% 22%, color-mix(in srgb, var(--accent-color) 22%, transparent) 0%, transparent 60%),
    radial-gradient(900px 520px at 80% 20%, color-mix(in srgb, var(--secondary-color) 18%, transparent) 0%, transparent 60%),
    radial-gradient(700px 480px at 55% 85%, color-mix(in srgb, var(--primary-color) 18%, transparent) 0%, transparent 60%);
  filter: blur(0px);
  animation: bgFloat 10s ease-in-out infinite;
}

@keyframes bgFloat{
  0%,100%{ transform: translate3d(0,0,0) scale(1); opacity: .9; }
  50%{ transform: translate3d(0,-10px,0) scale(1.02); opacity: 1; }
}

.error-404-card{
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  border: 1px solid color-mix(in srgb, var(--divider-color) 90%, transparent);
  box-shadow:
    0 30px 80px rgba(12, 36, 67, .10),
    0 10px 25px rgba(12, 36, 67, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  transform: translateY(14px);
  opacity: 0;
  animation: cardIn .8s ease-out forwards;
}

@keyframes cardIn{
  to{ transform: translateY(0); opacity: 1; }
}

.error-404-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--primary-color);
  background: color-mix(in srgb, var(--accent-color) 12%, white);
  border: 1px solid color-mix(in srgb, var(--accent-color) 18%, transparent);
}

.error-404-hero{
  position: relative;
  margin: 22px auto 14px;
  width: min(560px, 100%);
  height: 200px;
  display: grid;
  place-items: center;
}

.error-404-code{
  display: flex;
  gap: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -6px;
  font-size: clamp(74px, 10vw, 128px);
  color: var(--primary-color);
  text-shadow:
    0 10px 30px rgba(12, 36, 67, .12);
}

.error-404-code span{
  display: inline-block;
  transform: translateY(6px);
  opacity: 0;
  animation: digitPop .7s cubic-bezier(.2,.9,.2,1) forwards;
}

.error-404-code span:nth-child(1){ animation-delay: .05s; }
.error-404-code span:nth-child(2){ animation-delay: .14s; }
.error-404-code span:nth-child(3){ animation-delay: .23s; }

@keyframes digitPop{
  0%{ transform: translateY(20px) scale(.98); opacity: 0; }
  100%{ transform: translateY(0) scale(1); opacity: 1; }
}

.error-404-orbit{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb{
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--secondary-color);
  box-shadow: 0 10px 25px rgba(229, 128, 75, .25);
  opacity: .9;
  filter: saturate(1.05);
}

.orb-1{
  top: 22%;
  left: 18%;
  animation: orbFloat 3.6s ease-in-out infinite;
}

.orb-2{
  top: 30%;
  right: 22%;
  background: var(--accent-color);
  box-shadow: 0 10px 25px rgba(33, 83, 125, .22);
  animation: orbFloat 4.3s ease-in-out infinite reverse;
}

.orb-3{
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: color-mix(in srgb, var(--primary-color) 85%, white);
  box-shadow: 0 10px 25px rgba(12, 36, 67, .18);
  animation: orbFloat 3.9s ease-in-out infinite;
}

@keyframes orbFloat{
  0%,100%{ transform: translate3d(0,0,0); }
  50%{ transform: translate3d(0,-14px,0); }
}

.error-404-title{
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--primary-color);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.error-404-subtitle{
  margin: 10px auto 0;
  max-width: 56ch;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.7;
}

.error-404-actions{
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-404{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  border: 1px solid transparent;
  will-change: transform;
}

.btn-404-primary{
  color: var(--white-color);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  box-shadow: 0 14px 30px rgba(12, 36, 67, .18);
}

.btn-404-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(12, 36, 67, .22);
}

.btn-404-ghost{
  color: var(--primary-color);
  background: rgba(255,255,255,.75);
  border-color: color-mix(in srgb, var(--divider-color) 100%, transparent);
}

.btn-404-ghost:hover{
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-color) 35%, transparent);
  box-shadow: 0 14px 30px rgba(12, 36, 67, .10);
}

.error-404-links{
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-color);
  font-size: 14px;
}

.error-404-links a{
  color: color-mix(in srgb, var(--accent-color) 85%, var(--primary-color));
  text-decoration: none;
  font-weight: 600;
  transition: opacity .2s ease, transform .2s ease;
}

.error-404-links a:hover{
  opacity: .85;
  transform: translateY(-1px);
}

.error-404-links .dot{
  opacity: .6;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce){
  .error-404-bg,
  .error-404-card,
  .error-404-code span,
  .orb{
    animation: none !important;
  }
}
