/* Custom styles for Women's Health of Murray */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5ff;
}
::-webkit-scrollbar-thumb {
    background: #c084fc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

/* Nav styles */
.nav-text {
    color: #5b21b6;
    transition: color 0.3s ease;
}
.nav-subtext {
    color: #7c3aed;
    transition: color 0.3s ease;
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(124, 58, 237, 0.08);
}
nav.scrolled .nav-text {
    color: #5b21b6;
}
nav.scrolled .nav-subtext {
    color: #7c3aed;
}

/* Hero animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-blob {
    animation: float 8s ease-in-out infinite;
}
.blob-1 {
    animation-delay: 0s;
}
.blob-2 {
    animation-delay: -3s;
}
.blob-3 {
    animation-delay: -5s;
}

.hero-content {
    animation: fadeUp 1s ease forwards;
}
.hero-stats {
    animation: fadeUp 1s ease 0.4s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.4s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.5s; }

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button hover glow */
button:hover, a:hover {
    transform: translateY(-1px);
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

/* Service card gradient borders */
.group:hover .rounded-xl {
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2);
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(124, 58, 237, 0.05) 1px, transparent 0);
    background-size: 30px 30px;
}

/* Testimonial card hover */
.group:hover .italic {
    color: #4b5563;
}
