/* Custom styles for Passsport Health Shelburne Travel Clinic */

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

/* Navbar scroll state */
#navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 251, 245, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .font-heading {
    color: #059669 !important;
}

#navbar.scrolled .text-emerald-500 {
    color: #10B981 !important;
}

/* Service card hover glow */
.service-card:hover {
    border-color: #A7F3D0;
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.12);
}

/* FAQ animations */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-content {
    max-height: 300px;
    opacity: 1;
    padding-top: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Scroll reveal animations (below fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Form input focus states */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Button ripple effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Selection color */
::selection {
    background-color: #A7F3D0;
    color: #064E3B;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFFBF5;
}
::-webkit-scrollbar-thumb {
    background: #6EE7B7;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #34D399;
}
