    /* Custom styles for Dr. Daniel Garcia MD website */

    :root {
        --teal-600: #0d9488;
        --teal-700: #0f766e;
        --slate-900: #0f172a;
    }

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Selection color */
    ::selection {
        background-color: rgba(13, 148, 136, 0.2);
        color: #0f766e;
    }

    /* Scroll reveal base - progressive enhancement */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        }

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

        .reveal:nth-child(2) { transition-delay: 0.1s; }
        .reveal:nth-child(3) { transition-delay: 0.2s; }
        .reveal:nth-child(4) { transition-delay: 0.3s; }
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f1f5f9;
    }
    ::-webkit-scrollbar-thumb {
        background: #94a3b8;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #64748b;
    }

    /* Focus styles */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible {
        outline: 2px solid #0d9488;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Mobile menu transitions */
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    #mobile-menu.open {
        max-height: 400px;
    }

    /* Image hover zoom */
    .img-zoom {
        transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .img-zoom:hover {
        transform: scale(1.03);
    }

    /* Print styles */
    @media print {
        header, footer, #contact-form, #mobile-menu-btn {
            display: none !important;
        }
        body {
            color: #000;
            background: #fff;
        }
        .bg-slate-950, .bg-slate-50 {
            background: #fff !important;
            color: #000;
        }
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
        html {
            scroll-behavior: auto;
        }
    }
