/* Custom styles for Mind Masters */

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(250, 245, 247, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(138, 61, 88, 0.08);
}

/* Service card hover - text color transitions handled via Tailwind group */

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

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

::-webkit-scrollbar-thumb {
    background: #dbb0ba;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: #ffd966;
    color: #502634;
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card {
        transition: none;
    }
    
    .service-card img {
        transition: none;
    }
    
    #mobileMenu {
        animation: none;
    }
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a3d58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Floating card animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Only animate if user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .absolute.-top-4.-right-4 {
        animation: float 4s ease-in-out infinite;
    }
    
    .absolute.-bottom-6.-left-6 {
        animation: float 4s ease-in-out infinite 1s;
    }
}
