/* Custom Styles for Oral Surgery Center */

:root {
    --charcoal: #1F2937;
    --coral: #FF6B6B;
    --offwhite: #F9FAFB;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--charcoal);
    background-color: var(--offwhite);
}

h1, h2, h3, h4, .font-syne {
    font-family: 'Syne', sans-serif;
}

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

/* Navbar Scroll Effect */
.nav-scrolled #nav-bg {
    opacity: 1;
}

/* Hero Animations */
.hero-anim {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-anim:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-anim:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-anim:nth-child(4) {
    animation-delay: 0.6s;
}

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

/* Service Card Hover Effect */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

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

.faq-content.open {
    max-height: 200px;
    opacity: 1;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-btn.active .faq-icon {
    transform: rotate(45deg);
}

/* Mobile Menu Transition */
#mobile-menu {
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

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

::-webkit-scrollbar-track {
    background: var(--offwhite);
}

::-webkit-scrollbar-thumb {
    background: var(--coral);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--charcoal);
}
