/* Willow OT - Custom Styles */

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Apply heading font to all heading elements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Scroll offset for fixed header */
html {
    scroll-padding-top: 80px;
}

/* Custom scrollbar styling (optional) */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #868F6E;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8AA8A1;
}

/* Floating CTA Button Animation */
#floating-cta {
    animation: fadeInUp 0.5s ease-in-out;
}

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

/* FAQ Accordion Icon Rotation */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Smooth transitions for interactive elements */
a, button, .faq-item {
    transition: all 0.3s ease;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #8AA8A1;
    outline-offset: 2px;
}

/* Mobile menu slide animation */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.active {
    max-height: 500px;
    opacity: 1;
}

/* Email link word-break for mobile */
.email-link {
    word-break: break-word;
    overflow-wrap: break-word;
}
