/**
 * unomedic custom styles 2026
 * aesthetics: clean, premium, medical-tech
 */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar - unomedic style */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #5271FF;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7DC1F8;
}

/* Nav Link Active State */
.nav-link.active {
    color: #5271FF;
    font-weight: 700;
}

/* Base Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Form Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #5271FF;
    box-shadow: 0 0 0 4px rgba(82, 113, 255, 0.1);
}

/* unomedic प्रीमियम animations */
@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #5271FF;
    }
}

.animate-typing {
    display: inline-block;
    overflow: hidden;
    border-right: .15em solid #5271FF;
    white-space: nowrap;
    margin: 0 auto;
    animation:
        typing 3.5s steps(40, end),
        blink-caret .75s step-end infinite;
}

@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(-8px);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 4s infinite;
}

/* Glassmorphism effects */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover scales */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
}

/* Accessibility & Clean Text */
p {
    line-height: 1.7;
    letter-spacing: -0.01em;
}

/* Footer & specific unomedic elements */
.footer-link {
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: #FFFFFF;
    padding-left: 4px;
}

/* Carousel fixes */
.swiper-pagination-bullet-active {
    background: #5271FF !important;
}