/* ═══════════════════════════════════════════
   AIREV — Animations
═══════════════════════════════════════════ */

@keyframes floatNode {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.ceo-node  { animation: floatNodeCenter 4s ease-in-out infinite; }
@keyframes floatNodeCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}

/* Fade-in-up for AOS fallback */
[data-aos="fade-up"] {
  transition-property: transform, opacity;
}

/* Stat counter pulse */
.stat-num {
  transition: all .3s ease;
}

/* Navbar scroll shrink */
#mainNav {
  transition: padding .3s ease, box-shadow .3s ease;
}

/* Card hover glow */
.program-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15,98,254,.15), rgba(0,194,255,.1));
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}

.program-card:hover::after {
  opacity: 1;
}

/* Journey step reveal */
.journey-step {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .5s ease, transform .5s ease;
}

.journey-step.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Button ripple effect */
.btn-primary, .btn-outline-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after, .btn-outline-primary::after {
  content: '';
  position: absolute;
  inset: 50%;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  width: 0; height: 0;
  transition: all .4s ease;
  transform: translate(-50%, -50%);
}

.btn-primary:active::after, .btn-outline-primary:active::after {
  width: 200px; height: 200px;
  opacity: 0;
}

/* Why card icon pulse on hover */
.why-card:hover .why-icon {
  background: var(--blue-primary);
  color: var(--white);
  transition: all .25s ease;
}

/* Scroll-triggered entrance */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stat-item {
  animation: countUp .6s ease both;
}

/* Testimonial swiper dots */
.swiper-pagination { margin-top: 24px !important; position: static !important; }
.testimonialSwiper { padding-bottom: 40px !important; }

/* Accordion smooth */
.accordion-collapse {
  transition: height .3s ease !important;
}

/* Form field focus glow */
.form-control:focus,
.form-select:focus {
  outline: none;
}

/* Success/error message */
#formMsg.success {
  background: #ECFDF5;
  border: 1px solid #059669;
  color: #065F46;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
}

#formMsg.error {
  background: #FEF2F2;
  border: 1px solid #DC2626;
  color: #991B1B;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
}
