/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile CTA bar spacer */
@media (max-width: 1023px) {
    body {
        padding-bottom: 4.5rem;
    }
}

/* FAQ animations */
.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Pulse slow animation for hero bg */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.08; }
    50% { opacity: 0.15; }
}

.animate-pulse-slow {
    animation: pulse-slow 6s ease-in-out infinite;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Custom scrollbar for dropdown menus */
.max-h-80::-webkit-scrollbar {
    width: 4px;
}

.max-h-80::-webkit-scrollbar-track {
    background: rgba(17, 29, 53, 0.5);
}

.max-h-80::-webkit-scrollbar-thumb {
    background: rgba(250, 204, 21, 0.3);
    border-radius: 2px;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #facc15;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Map container */
.map-container iframe {
    width: 100%;
    height: 8rem;
    border: 0;
}

/* Selection color */
::selection {
    background: rgba(250, 204, 21, 0.3);
    color: white;
}
