@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroWave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes vipGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); transform: scale(1); }
    50% { box-shadow: 0 0 22px rgba(245, 158, 11, 0.95); transform: scale(1.05); }
}
@keyframes pulseCall {
    0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.hero {
    background-size: 200% 200% !important;
    animation: heroWave 8s ease infinite !important;
}
.search-bar, .card, .login-card, .reg-card, .admin-card, .box {
    animation: slideUpFade 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.card:nth-child(2) { animation-delay: 0.08s; }
.card:nth-child(3) { animation-delay: 0.16s; }
.card:nth-child(4) { animation-delay: 0.24s; }
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14) !important;
}
.card img {
    transition: transform 0.45s ease !important;
}
.card:hover img {
    transform: scale(1.06) !important;
}
.vip-ribbon {
    animation: vipGlow 2.2s infinite ease-in-out !important;
}
.call-btn, .btn-call {
    animation: pulseCall 2.4s infinite !important;
    transition: transform 0.15s ease !important;
}
.call-btn:active, .view-btn:active, .btn:active, button:active, .chip:active {
    transform: scale(0.95) !important;
}
.chip {
    transition: all 0.2s ease !important;
}
.chip:hover {
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .header, .nav, .navbar, header, nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 12px 15px !important;
        text-align: center !important;
    }
    .nav-btns {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 8px !important;
    }
    .nav-btns a {
        flex: 1 1 42% !important;
        text-align: center !important;
        padding: 10px 12px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
    }
    .search-bar {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .search-bar select, .search-bar input, .search-bar button {
        width: 100% !important;
    }
}
/* ለሁለቱም ቁልፎች (Login እና አከራይ ተመዝገብ) ማራኪ Animation */
@keyframes btnShimmer {
    0% { left: -100%; }
    60%, 100% { left: 150%; }
}
@keyframes btnFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2.5px); }
}

.nav-btns a {
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.25s ease !important;
    animation: btnFloat 3s ease-in-out infinite !important;
}
.nav-btns .btn-outline {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: #ffffff !important;
    border: 1.5px solid #60a5fa !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
    font-weight: 700 !important;
}
.nav-btns .btn-post {
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45) !important;
    animation-delay: 1.5s !important;
}
.nav-btns a::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 60% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent) !important;
    transform: skewX(-20deg) !important;
    animation: btnShimmer 3.5s infinite !important;
}
.nav-btns a:active {
    transform: scale(0.95) !important;
}
