/* Custom Styles for Durgutsoft */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #4f46e5, #7c3aed, #ec4899);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #4338ca, #6d28d9, #db2777);
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(to right, #4f46e5, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Delay animations */
.delay-1000 {
    animation-delay: 1s;
}

.delay-2000 {
    animation-delay: 2s;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(to right, #2563eb, #9333ea);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(to right, #1d4ed8, #7e22ce);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Card styles */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Loading animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease;
}

/* References Slider */
#references-slider {
    position: relative;
    overflow: hidden;
}

#references-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.ref-slide {
    flex-shrink: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .ref-slide {
        width: 33.333333%;
    }
}

#prev-ref, #next-ref {
    display: none;
}

@media (min-width: 768px) {
    #prev-ref, #next-ref {
        display: flex;
    }
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

