* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

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

.animate-fade-in-up-delay {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.animate-fade-in-up-delay-2 {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

input:focus,
textarea:focus,
button:focus {
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #9CA3AF;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #111827;
    transition: width 0.3s ease;
}

.slide {
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-dot.active {
    background-color: white !important;
    transform: scale(1.3);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .animate-fade-in-up,
    .animate-fade-in-up-delay,
    .animate-fade-in-up-delay-2 {
        animation-duration: 0.8s;
    }
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
