@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-up {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-slide-up {
    opacity: 0;
    animation: slide-up 0.8s ease-out forwards;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

/* Before/After Slider Styles */
.ba-slider-container {
    position: relative;
    user-select: none;
    touch-action: none;
    cursor: col-resize;
}

.ba-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ba-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-before {
    position: relative;
    z-index: 1;
}
.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    border-right: 2px solid white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: width;
}



/* Mobile dropdown sublinks */
.mobile-sublink {
    font-size: 1rem;
    opacity: 0.8;
    padding-left: 1.5rem;
    border-bottom: none;
}

.mobile-sublink:hover {
    opacity: 1;
}
.ba-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 40px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.ba-handle-circle {
    width: 40px;
    height: 40px;
    background: black;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.ba-handle-line {
    flex: 1;
    width: 2px;
    background: white;
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Selection color */
::selection {
    background: #000;
    color: #fff;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Video container styles */
video {
    max-width: 100%;
}

/* Form styles */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

/* Gradient text support */
.text-transparent {
    -webkit-background-clip: text;
    background-clip: text;
}
/* Responsive typography adjustments */
@media (max-width: 640px) {
    .text-8xl {
        font-size: 3rem !important;
    }
    .text-7xl {
        font-size: 2.5rem;
    }
    .text-5xl {
        font-size: 2rem;
    }
    
    .ba-slider-handle {
        width: 30px;
    }
    
    .ba-handle-circle {
        width: 30px;
        height: 30px;
    }
    
    .ba-handle-circle svg {
        width: 16px;
        height: 16px;
    }
}
/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

.w-contacts{
    width: 1.5rem;
}
.h-contacts{
    height: 1.5rem;
}

.services-btn-contact:hover{
    color: black !important;
}

/*icons*/

.icon-truck {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('/assets/feather/truck.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
   