/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* Navbar Styles */
#navbar {
    background-color: transparent;
}

#navbar.scrolled {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled #nav-title {
    color: #111827;
}

#navbar.scrolled .nav-link {
    color: #374151;
}

#navbar.scrolled .nav-link:hover {
    color: #0d9488;
}

#navbar.scrolled #mobile-menu-btn {
    color: #111827;
}

#navbar.scrolled #mobile-menu-btn:hover {
    background-color: #f3f4f6;
}

#navbar:not(.scrolled) #nav-title {
    color: white;
}

#navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

#navbar:not(.scrolled) .nav-link:hover {
    color: white;
}

#navbar:not(.scrolled) #mobile-menu-btn {
    color: white;
}

#navbar:not(.scrolled) #mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Test Overlay Styles */
#test-overlay {
    transition: background-color 0.3s ease;
}

/* Utility Classes */
.cursor-pointer {
    cursor: pointer;
}

.whitespace-nowrap {
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 640px) {
    .text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    
    .text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}
