/* =============================================
   ANIMATIONS & ENHANCEMENTS
   ============================================= */

/* ---- Hero animated gradient ---- */
@keyframes heroGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero {
  background: linear-gradient(135deg,
    var(--color-primary, #1a3a6b) 0%,
    #0a1628 35%,
    #0d2a4a 65%,
    var(--color-primary, #1a3a6b) 100%
  ) !important;
  background-size: 300% 300% !important;
  animation: heroGradientShift 10s ease infinite;
}

/* ---- Floating shapes in hero ---- */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-shape-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  top: -100px; right: -80px;
  animation: floatShape 8s ease-in-out infinite;
}
.hero-shape-2 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  bottom: -50px; left: 10%;
  animation: floatShape 12s ease-in-out infinite reverse;
}
@keyframes floatShape {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.05); }
}

/* ---- Stats section ---- */
.stats-section {
  padding: 64px 0;
  background: white;
  border-bottom: 1px solid #eef0f4;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {
  padding: 24px 16px;
  border-radius: 16px;
  background: #f8faff;
  border: 1px solid #e8edf8;
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.stat-number {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-primary, #1a3a6b);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-suffix {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-accent, #e63946);
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #667;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ---- Service icon box ---- */
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #eef1fb;
  color: var(--color-primary, #1a3a6b);
  font-size: 1.6rem;
  margin-bottom: 18px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.service-card:hover .service-icon {
  background: var(--color-primary, #1a3a6b);
  color: white;
  transform: scale(1.1) rotate(-3deg);
}

/* ---- Enhanced service card ---- */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent, #e63946));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover::before {
  transform: scaleX(1);
}

/* ---- Process step icon (FA6) ---- */
.step-icon {
  font-size: 1.8rem;
  color: var(--color-primary, #1a3a6b);
  margin-bottom: 12px;
  display: block;
}

/* ---- Trust icon spacing ---- */
.trust-item i,
.call-badge i,
.cta-guarantee i,
.sidebar-benefits li i,
.hero-trust .trust-item i {
  margin-right: 5px;
}

/* ---- Swiper testimonials skin ---- */
.testimonials-swiper {
  padding-bottom: 48px !important;
}
.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: var(--color-primary, #1a3a6b) !important;
  transform: scale(1.3);
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--color-primary, #1a3a6b) !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.1rem !important;
  font-weight: 900;
}

/* ---- AOS base (prevent flash) ---- */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* ---- Call btn improvements ---- */
.btn-call-hero i,
.btn-call-large i,
.btn-call-final i,
.btn-call-header i {
  margin-right: 8px;
}

/* ---- Sticky call bar icon ---- */
.sticky-call-btn i {
  margin-right: 6px;
}

/* ---- Location page badge icons ---- */
.location-badge i {
  margin-right: 4px;
}
