        /* Base styles for all viewports */
        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }
        
        body {
            overflow-x: hidden;
            text-rendering: optimizeLegibility;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        /* Improved hero section for mobile viewports */
        .hero-gradient {
            background: linear-gradient(135deg, rgba(2,132,199,0.9) 0%, rgba(14,165,233,0.9) 100%);
            min-height: 100svh; /* Uses svh for better mobile behavior */
            max-height: 1000px;
        }
        
        /* Swiper pagination improvements */
        .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            opacity: 0.5;
            background-color: white;
        }
        
        .swiper-pagination-bullet-active {
            opacity: 1;
            background-color: white !important;
            width: 30px;
            border-radius: 4px;
        }
        
        /* Card hover effects */
        .card-hover {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .card-hover:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        
        /* Doctor image effects */
        .doctor-image {
            transition: transform 0.5s ease, filter 0.3s ease;
        }
        
        .doctor-card:hover .doctor-image {
            transform: scale(1.05);
            filter: brightness(1.05);
        }
        
        /* Testimonial quote styling */
        .testimonial-quote::before {
            content: '"';
            font-size: 5rem;
            position: absolute;
            top: -2rem;
            left: -1rem;
            color: rgba(16, 185, 129, 0.1);
            font-family: serif;
            z-index: 0;
        }
        
        /* Form input focus states */
        .input-focus:focus {
            box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3);
            outline: none;
        }
        
        /* Back to top button transitions */
        .back-to-top {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        /* Mobile menu transitions */
        #mobile-menu {
            transition: max-height 0.3s ease, opacity 0.3s ease;
            max-height: 0;
            opacity: 0;
            overflow: hidden;
        }
        
        #mobile-menu.show {
            max-height: 500px;
            opacity: 1;
        }
        
        /* Minimum touch target sizes */
        a, button, [role="button"], input, label, select, textarea {
            touch-action: manipulation;
        }
        
        .touch-target {
            min-width: 48px;
            min-height: 48px;
        }
        
        /* Responsive adjustments */
        @media (max-width: 640px) {
            .hero-content {
                padding-top: 4rem;
                padding-bottom: 4rem;
            }
            
            .section-padding {
                padding-top: 3rem;
                padding-bottom: 3rem;
            }
            
            .mobile-stack {
                flex-direction: column;
            }
            
            .mobile-px {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            
            .mobile-text-center {
                text-align: center;
            }
        }
        
        @media (min-width: 1024px) {
            .hero-gradient {
                max-height: 800px;
            }
        }