/* ==========================================
   SCROLL REVEAL ANIMATION SYSTEM
   ========================================== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay untuk elemen yang muncul berurutan */
.reveal-delay-1 {
    transition-delay: 0.1s;
}
.reveal-delay-2 {
    transition-delay: 0.2s;
}
.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ==========================================
   UTILITY STYLES
   ========================================== */

/* Mengatasi teks yang terlalu panjang */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Smooth global transition */
a,
button {
    transition: all 0.2s ease;
}

/* ==========================================
   PAGINATION STYLING
   ========================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-item {
    display: flex;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background-color: white;
    border: 1px solid #f3f4f6;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background-color: #f0fdf4;
    color: #059669;
    border-color: #a7f3d0;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.pagination .disabled .page-link {
    color: #d1d5db;
    background-color: #f9fafb;
    cursor: not-allowed;
    border-color: transparent;
}
