/* ==========================================================================
   Marova Talent Partners - Common Master Stylesheet (custom.css)
   ========================================================================== */

/* Hero Section Animations */
@keyframes heroFadeDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-hero-title {
    animation: heroFadeDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-hero-card {
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.popular-tag {
    transition: all 0.2s ease-in-out;
}

.popular-tag:hover {
    color: #419532;
    transform: translateY(-1px);
}

/* Premium Scroll Reveal Animations */
.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Staggered Card Reveal */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-section.active .reveal-stagger > *:nth-child(1), .reveal-section.active.reveal-stagger > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0) scale(1); }
.reveal-section.active .reveal-stagger > *:nth-child(2), .reveal-section.active.reveal-stagger > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0) scale(1); }
.reveal-section.active .reveal-stagger > *:nth-child(3), .reveal-section.active.reveal-stagger > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0) scale(1); }
.reveal-section.active .reveal-stagger > *:nth-child(4), .reveal-section.active.reveal-stagger > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0) scale(1); }
.reveal-section.active .reveal-stagger > *:nth-child(5), .reveal-section.active.reveal-stagger > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0) scale(1); }
.reveal-section.active .reveal-stagger > *:nth-child(n+6), .reveal-section.active.reveal-stagger > *:nth-child(n+6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0) scale(1); }

/* Compact SweetAlert2 Toasts */
body .swal2-container.swal2-top-end {
    padding: 15px !important;
}

body .swal2-popup.swal2-toast {
    padding: 10px 14px !important;
    font-size: 12px !important;
    width: auto !important;
    max-width: 320px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
}

body .swal2-popup.swal2-toast .swal2-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 0 8px !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
}

body .swal2-popup.swal2-toast .swal2-icon {
    transform: scale(0.8) !important;
    margin: 0 4px 0 0 !important;
}

/* Hide Scrollbar Helper */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
