:where([class^="ri-"])::before {
    content: "\f3c2";
}

.blog-card {
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.filter-active {
    background-color: #1e40af !important;
    color: white !important;
}

.search-input:focus {
    outline: none;
    ring: 2px;
    ring-color: #1e40af;
    border-color: transparent;
}

.pagination-active {
    background-color: #1e40af;
    color: white;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.dropdown-menu.show {
    display: block;
}

.reading-time {
    color: #6b7280;
    font-size: 0.875rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1e40af, #dc2626);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.mobile-filter-menu {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-filter-menu.open {
    transform: translateY(0);
}

.section-fade {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-bg {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(220, 38, 38, 0.8)),
                url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.pump-animation {
    animation: pump 2s ease-in-out infinite;
}

@keyframes pump {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.oil-flow {
    animation: flow 3s linear infinite;
}

@keyframes flow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.pulse-emergency {
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s infinite linear;
}

@keyframes float {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
}

.equipment-card {
    transition: all 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    transition: all 0.3s ease;
}

.service-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.counter {
    font-variant-numeric: tabular-nums;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #1e40af, #dc2626);
    z-index: 9999;
    transition: width 0.1s ease;
}
