/* ============================================
   Aspire Edge — Custom Animations & Styles
   ============================================ */

/* Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes marquee {
    0%  { transform: translateX(0); }
    100%{ transform: translateX(-50%); }
}

/* Utility animation classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}
.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}
.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}
@media (max-width: 767px) {
    .animate-marquee {
        animation-duration: 20s;
    }
}
/* Pause marquee on hover */
.group:hover .animate-marquee {
    animation-play-state: paused;
}

/* Stagger delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up,
    .animate-fade-in,
    .animate-marquee,
    [data-reveal] {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Scroll reveal initial state */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.35s ease-out;
}
.faq-answer.open {
    max-height: 600px;
}

/* Range slider styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #E8E3DC;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0D9488;
    cursor: pointer;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0D9488;
    cursor: pointer;
    border: none;
}

/* Progress bar for multi-step forms */
.step-progress-bar {
    transition: width 0.4s ease-in-out;
}

/* WhatsApp float */
.whatsapp-float {
    transform-origin: bottom right;
}

/* Hero video */
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Smooth scroll for all anchor links */
html {
    scroll-behavior: smooth;
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.4);
}

/* Before/After columns */
.before-col .item::before {
    content: '✕ ';
    color: #9ca3af;
}
.after-col .item::before {
    content: '✓ ';
    color: #0D9488;
}

/* ============================================
   Header on hero: white text when transparent
   Scoped tightly to nav elements only
   ============================================ */
#site-header.header-on-hero nav a {
    color: rgba(255,255,255,0.85) !important;
}
#site-header.header-on-hero nav a:hover {
    color: #fff !important;
}
#site-header.header-on-hero nav a[aria-current="page"] {
    color: #fff !important;
    border-color: rgba(255,255,255,0.6) !important;
}
/* Logo brand text */
#site-header.header-on-hero nav a[aria-label] > span {
    color: #fff !important;
}
/* Free EQ Test outline button */
#site-header.header-on-hero nav a[href*="eq-assessment"] {
    border-color: rgba(255,255,255,0.35) !important;
    color: rgba(255,255,255,0.9) !important;
}
#site-header.header-on-hero nav a[href*="eq-assessment"]:hover {
    border-color: #fff !important;
    background: rgba(255,255,255,0.1) !important;
}
/* Mobile hamburger */
#site-header.header-on-hero #mobile-toggle {
    color: rgba(255,255,255,0.85) !important;
}
#site-header.header-on-hero #mobile-toggle:hover {
    color: #fff !important;
}
