/* For custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #16a34a; /* Green color from the theme */
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}

/* Base styles for all transitions */
a, button {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- REVEAL ANIMATION SYSTEM --- */
.reveal-container {
    overflow: hidden;
}

[data-reveal="lines"] {
    transform: translateY(110%);
    opacity: 0;
}

[data-reveal="item"] {
    transform: translateY(50px);
    opacity: 0;
}

[data-reveal="group"] > * {
    transform: translateY(30px);
    opacity: 0;
}

/* --- INTERACTIVE 3D CARD --- */
.service-card {
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, box-shadow;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(22, 163, 74, 0.15), transparent 70%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}
