/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease;
}

/* Featured Card Animation */
.featured-card {
    perspective: 1000px;
}

.featured-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Custom Scrollbar */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Dark Mode Toggle Transition */
.dark-mode-toggle {
    transition: all 0.3s ease;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

/* Before/After Showcase */
.before-after-card {
    position: relative;
    overflow: hidden;
}

.before-after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.before-after-slider input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
}

.before-after-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 4px;
    height: 100vh;
    background: white;
    cursor: ew-resize;
}

/* Process Steps */
.process-step {
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    width: 2px;
    height: calc(100% - 40px);
    background: #e5e7eb;
    z-index: 0;
}

@media (min-width: 768px) {
    .process-step:nth-child(odd)::before {
        display: none;
    }
}
