html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


.mode-transition {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass {
    @apply backdrop-blur-xl bg-white/5 dark:bg-slate-900/40 border border-white/10;
}

.service-card {
    @apply p-8 rounded-[2.5rem] transition-all duration-500 bg-white dark:bg-slate-900 border border-slate-200 dark:border-white/5 hover:border-primary/40 hover:shadow-[0_20px_50px_rgba(56,189,248,0.1)];
}

.nav-link {
    @apply relative py-2 transition-all hover:text-primary;
}

    .nav-link::after {
        content: '';
        @apply absolute bottom-0 left-0 w-0 h-0.5 bg-primary transition-all duration-300;
    }

    .nav-link:hover::after {
        @apply w-full;
    }

section {
    scroll-margin-top: 100px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.snap-x {
    scroll-snap-type: x mandatory;
}

.snap-center {
    scroll-snap-align: center;
}
