    /* Custom styles and overrides */

    html {
        scroll-behavior: smooth;
    }

    body {
        overflow-x: hidden;
    }

    /* Navbar scroll state */
    nav.scrolled {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(15, 20, 46, 0.08);
    }

    nav.scrolled .font-serif {
        color: #0f142e;
    }

    nav.scrolled a:not(.bg-midnight-700):not(.mobile-link) {
        color: #3d4a8c;
    }

    /* Hero image gradient overlay */
    #hero img {
        display: block;
    }

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

    .faq-item.active .faq-content {
        max-height: 300px;
        padding-top: 0;
        padding-bottom: 1.5rem;
    }

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

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }

        .faq-content {
            transition: none;
        }

        #back-to-top {
            transition: none;
        }
    }

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

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

    ::-webkit-scrollbar-thumb {
        background: #a8e9d1;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #7cd3b5;
    }

    /* Selection color */
    ::selection {
        background: #a8e9d1;
        color: #0f142e;
    }

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

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

    /* Floating card animation */
    @keyframes float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-8px);
        }
    }

    .floating-card {
        animation: float 4s ease-in-out infinite;
    }

    @media (prefers-reduced-motion: reduce) {
        .floating-card {
            animation: none;
        }
    }
