/* SFELK public site — icon & CTA breathing motion (all front pages) */

.fa-solid,
.fa-regular,
.fa-brands,
.fas,
.far,
.fab {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@keyframes sfelkIconBreathe {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.06);
    }
}

@keyframes sfelkBtnBreathe {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 10px 24px rgba(12, 46, 120, 0.18);
    }
    50% {
        transform: translateY(-3px);
        box-shadow: 0 16px 34px rgba(12, 46, 120, 0.26);
    }
}

@keyframes sfelkBtnBreatheRed {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 10px 24px rgba(225, 6, 0, 0.28);
    }
    50% {
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(225, 6, 0, 0.38);
    }
}

@keyframes sfelkBtnBreatheLogin {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 8px 22px rgba(10, 39, 110, 0.32);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(10, 39, 110, 0.4);
    }
}

/* Icons */
.site-header .login-btn .user-badge,
.sfelk-topbar__social a,
.feature > .fas,
.sf-about-checks i,
.sf-program-icon .fas,
.sf-facility-icon i,
.sf-facility-arrow i,
.cap i,
.m-icon i,
.checks i,
.num,
.level .bubble i,
.info-banner i,
.play-dot i,
.btn-red > .fas,
.btn-red > .fa-solid,
.btn-watch .play-dot,
.sf-about-btn > .fas,
.sf-link-arrow svg,
.sf-cta-btn svg {
    animation: sfelkIconBreathe var(--sf-breathe-dur, 5s) ease-in-out infinite;
}

.feature:nth-child(1) > .fas { animation-delay: 0s; }
.feature:nth-child(2) > .fas { animation-delay: 0.35s; }
.feature:nth-child(3) > .fas { animation-delay: 0.7s; }
.feature:nth-child(4) > .fas { animation-delay: 1.05s; }
.feature:nth-child(5) > .fas { animation-delay: 1.4s; }
.feature:nth-child(6) > .fas { animation-delay: 1.75s; }

.sf-program-card:nth-child(1) .sf-program-icon .fas { animation-delay: 0s; }
.sf-program-card:nth-child(2) .sf-program-icon .fas { animation-delay: 0.4s; }
.sf-program-card:nth-child(3) .sf-program-icon .fas { animation-delay: 0.8s; }
.sf-program-card:nth-child(4) .sf-program-icon .fas { animation-delay: 1.2s; }
.sf-program-card:nth-child(5) .sf-program-icon .fas { animation-delay: 1.6s; }
.sf-program-card:nth-child(6) .sf-program-icon .fas { animation-delay: 2s; }
.sf-program-card:nth-child(7) .sf-program-icon .fas { animation-delay: 2.4s; }

/* Primary buttons */
.btn-red,
.sf-about-btn,
.sf-principal .btn-red,
.btn-navy {
    animation: sfelkBtnBreatheRed 5.6s ease-in-out infinite;
}

.login-btn {
    animation: sfelkBtnBreatheLogin 5.2s ease-in-out infinite;
}

.btn-watch,
.sf-cta-btn,
.page-hero .btn,
a.sfelk-btn {
    animation: sfelkBtnBreathe 5.8s ease-in-out infinite;
}

.btn-red:hover,
.btn-watch:hover,
.login-btn:hover,
.sf-about-btn:hover,
.sf-cta-btn:hover,
.btn-navy:hover {
    animation-play-state: paused;
}

.sf-facility-card,
.sf-mvv-card,
.sf-program-card,
.sf-news-card,
.home-card,
.p-card {
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
}

.sf-facility-card:hover,
.sf-mvv-card:hover,
.sf-program-card:hover,
.sf-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(12, 46, 120, 0.12);
}

.sf-glance__stat:hover {
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
    .site-header .login-btn .user-badge,
    .feature > .fas,
    .sf-program-icon .fas,
  .sf-facility-icon i,
    .btn-red,
    .btn-watch,
    .login-btn,
    .sf-about-btn {
        animation: none !important;
    }
}