:root {
            --bg-primary: #f0f5fa;
            --bg-secondary: #e8f0f8;
            --accent: #4a90d9;
            --accent-light: #7ab8e8;
            --accent-dark: #2d6cb5;
            --text-primary: #1a2a3a;
            --text-secondary: #5a6d7d;
            --text-muted: #8a9aad;
            --white: #ffffff;
            --shadow: rgba(26, 42, 58, 0.08);
            --shadow-hover: rgba(26, 42, 58, 0.12);
        }

        [data-theme="dark"] {
            --bg-primary: #0f172a;
            --bg-secondary: #1e293b;
            --accent: #60a5fa;
            --accent-light: #93c5fd;
            --accent-dark: #3b82f6;
            --text-primary: #f1f5f9;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;
            --white: #1e293b;
            --shadow: rgba(0, 0, 0, 0.3);
            --shadow-hover: rgba(0, 0, 0, 0.4);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            transition: background-color 0.4s ease, color 0.4s ease;
        }

        /* Typography */
        h1,
        h2,
        h3,
        h4 {
            font-family: 'Instrument Serif', serif;
            font-weight: 400;
            line-height: 1.1;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 1.25rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.4s ease;
        }

        nav.scrolled {
            background: rgba(240, 245, 250, 0.85);
            backdrop-filter: blur(20px);
            box-shadow: 0 2px 20px var(--shadow);
            padding: 0.875rem 5%;
        }

        .logo {
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
        
        .brand-text {
            font-family: 'Instrument Serif', serif;
            font-weight: 400;
            font-size: 1.35rem;
            color: var(--text-primary);
            letter-spacing: -0.02em;
        }

        .brand-logo {
            height: 48px;
            width: auto;
            border-radius: 50%;
            transition: transform 0.3s ease, filter 0.4s ease;
        }

        [data-theme="dark"] .brand-logo {
            filter: invert(1) hue-rotate(180deg) brightness(1.2);
        }
        
        .logo:hover .brand-logo {
            transform: scale(1.05);
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 0.9rem;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-cta {
            background: var(--accent);
            color: var(--white) !important;
            padding: 0.625rem 1.5rem;
            border-radius: 50px;
            transition: all 0.3s ease !important;
        }

        .nav-cta::after {
            display: none !important;
        }

        .nav-cta:hover {
            background: var(--accent-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(74, 144, 217, 0.3);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;
        }

        .theme-toggle {
            background: none;
            border: 2px solid rgba(90, 109, 125, 0.2);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--text-secondary);
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        .theme-toggle .icon-sun,
        .theme-toggle .icon-moon {
            transition: opacity 0.3s ease;
        }

        .theme-toggle .icon-sun {
            display: none;
        }

        [data-theme="dark"] .theme-toggle .icon-sun {
            display: block;
        }

        [data-theme="dark"] .theme-toggle .icon-moon {
            display: none;
        }

        /* Mobile Menu Overlay */
        .nav-links.mobile-open {
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--bg-primary);
            justify-content: center;
            align-items: center;
            gap: 2rem;
            z-index: 1000;
            animation: fade-in 0.3s ease;
        }

        .nav-links.mobile-open a {
            font-size: 1.5rem;
        }

        @keyframes fade-in {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        /* Hero Section */
        .hero {
            min-height: 85vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 7rem 5% 4rem;
            overflow: hidden;
        }

        .hero::before, .about::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: radial-gradient(var(--text-muted) 1px, transparent 1px);
            background-size: 32px 32px;
            opacity: 0.15;
            pointer-events: none;
            z-index: 1;
        }

        /* Organic Blob Backgrounds */
        .blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            opacity: 0.6;
            animation: blob-float 20s ease-in-out infinite;
        }

        .blob-1 {
            width: 600px;
            height: 600px;
            background: linear-gradient(135deg, var(--accent-light), var(--accent));
            top: -200px;
            right: -150px;
            animation-delay: 0s;
        }

        .blob-2 {
            width: 500px;
            height: 500px;
            background: linear-gradient(135deg, #a8d4f0, var(--accent-light));
            bottom: -150px;
            left: -100px;
            animation-delay: -5s;
        }

        .blob-3 {
            width: 300px;
            height: 300px;
            background: linear-gradient(135deg, #c5e4f5, #a8d4f0);
            top: 40%;
            left: 20%;
            animation-delay: -10s;
            opacity: 0.4;
        }

        @keyframes blob-float {

            0%,
            100% {
                transform: translate(0, 0) scale(1);
            }

            25% {
                transform: translate(30px, -30px) scale(1.05);
            }

            50% {
                transform: translate(-20px, 20px) scale(0.95);
            }

            75% {
                transform: translate(20px, 30px) scale(1.02);
            }
        }

        /* Floating Particles */
        .particles {
            position: absolute;
            inset: 0;
            overflow: hidden;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            width: 8px;
            height: 8px;
            background: var(--accent);
            border-radius: 50%;
            opacity: 0.3;
            animation: particle-float 15s ease-in-out infinite;
        }

        @keyframes particle-float {

            0%,
            100% {
                transform: translateY(0) translateX(0);
                opacity: 0.3;
            }

            50% {
                transform: translateY(-100px) translateX(50px);
                opacity: 0.6;
            }
        }

        .hero-content {
            position: relative;
            z-index: 10;
            text-align: center;
            max-width: 900px;
            opacity: 0;
            transform: translateY(40px);
            animation: fade-up 1s ease forwards;
            animation-delay: 0.3s;
        }

        @keyframes fade-up {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(74, 144, 217, 0.1);
            color: var(--accent);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 2rem;
            opacity: 0;
            animation: fade-up 0.8s ease forwards;
            animation-delay: 0.5s;
        }

        .hero-badge::before {
            content: '';
            width: 8px;
            height: 8px;
            background: var(--accent);
            border-radius: 50%;
            animation: pulse 2s ease infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }

            50% {
                opacity: 0.5;
                transform: scale(1.2);
            }
        }

        .hero-logo-wrapper {
            display: flex;
            justify-content: center;
            margin-bottom: 2.5rem;
            opacity: 0;
            animation: fade-up 0.8s ease forwards;
            animation-delay: 0.6s;
        }

        .hero-logo-wrapper img {
            width: 100%;
            max-width: 260px;
            height: auto;
            border-radius: 50%;
            transition: filter 0.4s ease;
        }

        [data-theme="dark"] .hero-logo-wrapper img {
            filter: invert(1) hue-rotate(180deg) brightness(1.2);
        }

        .hero h1 {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 400;
            color: var(--text-primary);
            margin-bottom: 1.5rem;
            letter-spacing: -0.03em;
            line-height: 1.05;
        }

        .hero h1 span {
            background: linear-gradient(135deg, var(--accent), var(--accent-dark));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.35rem);
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto 2.5rem;
            font-weight: 400;
            line-height: 1.6;
        }

        .hero-cta-group {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
        }

        .btn-primary {
            background: var(--accent);
            color: var(--white);
            box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
        }

        .btn-primary:hover {
            background: var(--accent-dark);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(74, 144, 217, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: var(--text-primary);
            border: 2px solid var(--text-muted);
        }

        .btn-secondary:hover {
            border-color: var(--accent);
            color: var(--accent);
            transform: translateY(-3px);
        }

        /* Section Styles */
        section {
            padding: 8rem 5%;
            position: relative;
        }

        .section-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 4rem;
        }

        .section-label {
            display: inline-block;
            color: var(--accent);
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 1rem;
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            color: var(--text-primary);
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        .section-subtitle {
            color: var(--text-secondary);
            font-size: 1.1rem;
        }

        /* Services Section */
        .services {
            background: var(--bg-secondary);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .modalities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 3rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        .modality-card {
            background: linear-gradient(145deg, var(--white), var(--bg-primary));
            border: 1px solid rgba(74, 144, 217, 0.1);
        }

        .service-card {
            background: var(--white);
            padding: 2.5rem;
            border-radius: 24px;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            opacity: 0;
            transform: translateY(30px);
        }

        .service-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--accent), var(--accent-light));
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 50px var(--shadow-hover), 0 0 0 1px rgba(74, 144, 217, 0.1);
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--accent-light), var(--accent));
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .service-card h3 {
            font-size: 1.35rem;
            margin-bottom: 0.75rem;
            color: var(--text-primary);
        }

        .service-card p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
        }

        /* About Section */
        .about {
            background: var(--bg-primary);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            max-width: 1200px;
            margin: 0 auto;
            align-items: center;
        }

        .about-visual {
            position: relative;
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: translateX(-30px);
            transition: all 0.8s ease;
        }

        .about-visual.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .about-blob {
            position: absolute;
            width: 400px;
            height: 400px;
            background: linear-gradient(135deg, var(--accent-light), var(--accent));
            border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            animation: morph 8s ease-in-out infinite;
            opacity: 0.8;
        }

        @keyframes morph {

            0%,
            100% {
                border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            }

            50% {
                border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
            }
        }

        .about-photo {
            position: relative;
            z-index: 2;
            width: 320px;
            height: 400px;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
            background: linear-gradient(135deg, var(--bg-secondary), var(--accent-light));
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .about-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
        }

        .photo-placeholder {
            text-align: center;
            color: var(--accent);
        }

        .photo-placeholder .initials {
            font-family: 'Instrument Serif', serif;
            font-size: 4rem;
            font-weight: 400;
            line-height: 1;
            margin-bottom: 0.5rem;
            opacity: 0.6;
        }

        .photo-placeholder .label {
            font-size: 0.85rem;
            font-weight: 500;
            opacity: 0.4;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .about-text {
            opacity: 0;
            transform: translateX(30px);
            transition: all 0.8s ease;
        }

        .about-text.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .about-text h2 {
            font-family: 'DM Serif Display', serif;
            font-size: clamp(2rem, 3.5vw, 2.75rem);
            margin-bottom: 1.5rem;
            color: var(--text-primary);
        }

        .about-text p {
            color: var(--text-secondary);
            margin-bottom: 1.25rem;
            line-height: 1.8;
        }

        .credentials {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-top: 1.5rem;
            margin-bottom: 2rem;
        }

        .credential-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(74, 144, 217, 0.08);
            color: var(--accent);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
        }

        .stats {
            display: flex;
            gap: 2.5rem;
            margin-top: 2.5rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(90, 109, 125, 0.15);
        }

        .stat {
            text-align: center;
        }

        .stat-number {
            font-family: 'Instrument Serif', serif;
            font-size: 2.5rem;
            font-weight: 400;
            color: var(--accent);
            display: block;
            line-height: 1;
        }

        .stat-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 0.25rem;
        }

        /* Process Section */
        .process {
            background: var(--bg-secondary);
        }

        .process-steps {
            display: flex;
            justify-content: center;
            gap: 2rem;
            max-width: 1000px;
            margin: 0 auto;
            flex-wrap: wrap;
        }

        .process-step {
            flex: 1;
            min-width: 250px;
            max-width: 300px;
            text-align: center;
            padding: 2rem;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .process-step.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .process-step .step-number {
            transform: scale(0.8);
            transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .process-step.visible .step-number {
            transform: scale(1);
        }

        .step-number {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--accent), var(--accent-dark));
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Instrument Serif', serif;
            font-size: 1.5rem;
            font-weight: 400;
            margin: 0 auto 1.5rem;
            position: relative;
        }

        .step-number::after {
            content: '';
            position: absolute;
            inset: -8px;
            border: 2px dashed var(--accent-light);
            border-radius: 50%;
            animation: spin 20s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .process-step h3 {
            font-size: 1.25rem;
            margin-bottom: 0.75rem;
            color: var(--text-primary);
        }

        .process-step p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
        }

        /* Insurance Section */
        .insurance {
            background: var(--bg-primary);
            text-align: center;
        }

        .insurance-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
            max-width: 900px;
            margin: 0 auto;
        }

        .insurance-logo {
            background: var(--white);
            color: var(--text-muted);
            padding: 1.5rem 2rem;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px var(--shadow);
            transition: all 0.3s ease;
            width: 200px;
            height: 90px;
        }

        .insurance-logo:hover {
            transform: translateY(-4px);
            color: var(--accent-dark);
            box-shadow: 0 10px 25px var(--shadow-hover);
        }

        [data-theme="dark"] .insurance-logo {
            background: rgba(255,255,255,0.02);
            box-shadow: none;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        [data-theme="dark"] .insurance-logo:hover {
            background: rgba(255,255,255,0.05);
            color: var(--white);
        }

        .insurance-svg {
            width: 100%;
            height: 100%;
            opacity: 0.7;
            transition: opacity 0.3s ease;
        }

        .insurance-logo:hover .insurance-svg {
            opacity: 1;
        }
        
        /* Philosophy Section */
        .philosophy {
            background: var(--white);
            text-align: center;
            padding: 6rem 5%;
        }
        
        .philosophy-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: left;
            font-size: 1.1rem;
            color: var(--text-secondary);
            line-height: 1.8;
        }
        
        .philosophy-content p {
            margin-bottom: 1.5rem;
        }

        .philosophy-lead {
            font-weight: 500;
            font-size: 1.3rem;
            color: var(--text-primary);
            font-family: 'Instrument Serif', serif;
            line-height: 1.4;
        }

        [data-theme="dark"] .philosophy {
            background: var(--bg-secondary);
        }

        /* Contact Section */
        .contact {
            background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 4rem;
            max-width: 1100px;
            margin: 0 auto;
            align-items: start;
        }

        .contact-info h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .contact-info>p {
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

        .contact-methods {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .contact-method {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .contact-icon {
            width: 48px;
            height: 48px;
            background: rgba(74, 144, 217, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-size: 1.25rem;
        }

        .contact-method div h4 {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 0.25rem;
            font-weight: 500;
        }

        .contact-method div p,
        .contact-method div a {
            color: var(--text-primary);
            font-weight: 500;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-method div a:hover {
            color: var(--accent);
        }

        .contact-form {
            background: var(--white);
            padding: 2.5rem;
            border-radius: 24px;
            box-shadow: 0 10px 40px var(--shadow);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 2px solid rgba(90, 109, 125, 0.15);
            border-radius: 12px;
            font-size: 1rem;
            font-family: 'Inter', sans-serif;
            transition: all 0.3s ease;
            background: var(--bg-primary);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent);
            background: var(--white);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .form-group select {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 2px solid rgba(90, 109, 125, 0.15);
            border-radius: 12px;
            font-size: 1rem;
            font-family: 'Inter', sans-serif;
            transition: all 0.3s ease;
            background: var(--bg-primary);
            color: var(--text-primary);
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6d7d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
        }

        .form-group select:focus {
            outline: none;
            border-color: var(--accent);
            background-color: var(--white);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .hipaa-notice {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            margin-top: 1.25rem;
            font-size: 0.8rem;
            color: var(--text-muted);
            line-height: 1.5;
        }

        .hipaa-notice svg {
            flex-shrink: 0;
            margin-top: 2px;
            color: var(--accent);
        }

        /* Footer */
        footer {
            background: var(--text-primary);
            color: var(--white);
            padding: 3rem 5%;
            text-align: center;
        }

        footer p {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 968px) {
            .nav-links {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .about-visual {
                height: 400px;
                order: -1;
            }

            .about-blob {
                width: 300px;
                height: 300px;
            }

            .about-photo {
                width: 260px;
                height: 340px;
            }

            .contact-content {
                grid-template-columns: 1fr;
            }

            .stats {
                justify-content: center;
            }
        }

        @media (max-width: 640px) {
            .hero {
                padding: 7rem 5% 4rem;
            }

            .hero-cta-group {
                flex-direction: column;
                align-items: center;
            }

            .btn {
                width: 100%;
                max-width: 280px;
                justify-content: center;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            section {
                padding: 4rem 5%;
            }

        }

        /* Dark mode overrides */
        [data-theme="dark"] nav.scrolled {
            background: rgba(15, 23, 42, 0.85);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        [data-theme="dark"] .service-card,
        [data-theme="dark"] .contact-form {
            background: #1e293b;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        [data-theme="dark"] .service-icon {
            background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(59, 130, 246, 0.3));
        }

        [data-theme="dark"] .form-group input,
        [data-theme="dark"] .form-group textarea,
        [data-theme="dark"] .form-group select {
            background: #0f172a;
            border-color: rgba(255, 255, 255, 0.1);
            color: var(--text-primary);
        }

        [data-theme="dark"] .form-group input:focus,
        [data-theme="dark"] .form-group textarea:focus,
        [data-theme="dark"] .form-group select:focus {
            background: #1e293b;
        }

        [data-theme="dark"] .form-group select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
        }

        [data-theme="dark"] footer {
            background: #0a0f1a;
        }

        [data-theme="dark"] .credential-tag {
            background: rgba(96, 165, 250, 0.12);
        }

        [data-theme="dark"] .nav-links.mobile-open {
            background: var(--bg-primary);
        }

        [data-theme="dark"] .about-photo {
            background: linear-gradient(135deg, #1e293b, rgba(96, 165, 250, 0.3));
        }

        /* Section dividers */
        .section-divider {
            width: 100%;
            height: 40px;
            position: relative;
            overflow: hidden;
            margin-top: -1px;
        }

        .section-divider svg {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 100%;
        }

        /* Focus states for accessibility */
        a:focus-visible,
        button:focus-visible,
        input:focus-visible,
        select:focus-visible,
        textarea:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
            border-radius: 4px;
        }

        /* Smooth theme transitions on key elements */
        section,
        nav,
        .service-card,
        .contact-form,
        footer,
        .form-group input,
        .form-group select,
        .credential-tag {
            transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
        }

        /* Scroll reveal animation helper */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

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