/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes borderGlow {
    0%, 100% { border-color: rgba(201,168,76,0.2); }
    50% { border-color: rgba(201,168,76,0.6); box-shadow: 0 0 20px rgba(201,168,76,0.2); }
}

/* ===== APPLIED ANIMATIONS ===== */
.hero-badge { animation: fadeInDown 0.6s ease both; }
.animate-delay-1 { animation-delay: 0.1s !important; }
.animate-delay-2 { animation-delay: 0.2s !important; }
.animate-delay-3 { animation-delay: 0.3s !important; }
.animate-delay-4 { animation-delay: 0.4s !important; }

/* Gold shimmer on logo */
.logo-main {
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Glowing border on active cards */
.sector-card:hover { animation: none; }

/* Page entrance */
.main-content { animation: fadeIn 0.4s ease; }

/* Staggered card reveal */
.grid-3 .card:nth-child(1),
.grid-4 .sector-card:nth-child(1) { transition-delay: 0.05s; }
.grid-3 .card:nth-child(2),
.grid-4 .sector-card:nth-child(2) { transition-delay: 0.1s; }
.grid-3 .card:nth-child(3),
.grid-4 .sector-card:nth-child(3) { transition-delay: 0.15s; }
.grid-4 .sector-card:nth-child(4) { transition-delay: 0.2s; }

/* Loading spinner */
.spinner {
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--navy);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
