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

:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #1e40af;
    --success-color: #3b82f6;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-accent: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #60a5fa;
    --secondary-color: #3b82f6;
    --accent-color: #1e40af;
    --success-color: #3b82f6;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-light: #9ca3af;
    --bg-primary: #1e293b;
    --bg-secondary: #334155;
    --bg-accent: #475569;
    --border-color: #64748b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
}

/* System preference detection */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --primary-color: #60a5fa;
        --secondary-color: #3b82f6;
        --accent-color: #1e40af;
        --success-color: #3b82f6;
        --warning-color: #f59e0b;
        --error-color: #ef4444;
        --text-primary: #ffffff;
        --text-secondary: #e5e7eb;
        --text-light: #9ca3af;
        --bg-primary: #1e293b;
        --bg-secondary: #334155;
        --bg-accent: #475569;
        --border-color: #64748b;
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
        color-scheme: dark;
    }
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    touch-action: manipulation;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
    font-size: 1.1rem;
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    }
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border: none;
    box-shadow: none;
}

.navbar.scrolled {
    box-shadow: none;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
    min-width: 180px;
}

.nav-logo i {
    font-size: 1.6rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    justify-content: flex-end;
    margin-right: 1rem;
    flex-shrink: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.language-picker {
    position: relative;
    margin-left: 1rem;
}

.language-picker select {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 35px 8px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 140px;
    box-shadow: var(--shadow-sm);
}

.language-picker select:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.language-picker select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.language-picker::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.language-picker:hover::after {
    color: var(--primary-color);
}

/* Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Modern Theme Picker */
.theme-picker {
    position: relative;
    display: flex;
    align-items: center;
}

.theme-picker select {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 35px 8px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 140px;
    box-shadow: var(--shadow-sm);
}

.theme-picker select:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.theme-picker select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.theme-picker::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.theme-picker:hover::after {
    color: var(--primary-color);
}

/* Theme transition */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Ensure all elements use CSS variables */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
}

.navbar {
    background: var(--bg-primary);
    border: none;
}

/* Force remove any borders from navbar elements */
.navbar, .nav-container, .nav-menu, .nav-logo {
    border: none !important;
    outline: none !important;
}

.services {
    background: var(--bg-secondary);
}

.doctors-profiles {
    background: var(--bg-secondary);
}

.reviews-section {
    background: var(--bg-primary);
}

.insurance {
    background: var(--bg-secondary);
}

.appointment-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
}

.footer {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Ensure all cards and components use variables */
.service-card,
.insurance-card,
.doctor-profile,
.quick-contact-card,
.modern-appointment-form,
.office-map {
    background: var(--bg-primary);
    border-color: var(--border-color);
}

.service-card h3,
.insurance-card h4,
.doctor-profile h3 {
    color: var(--text-primary);
}

.service-card p,
.insurance-card li,
.doctor-profile p {
    color: var(--text-secondary);
}

/* Form elements */
input, select, textarea {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color) !important;
}

/* COMPREHENSIVE DARK MODE - FORCE EVERYTHING DARK */
[data-theme="dark"] {
    color-scheme: dark;
    background: var(--bg-primary) !important;
}

[data-theme="dark"] body {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] section {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .container {
    background: transparent !important;
}

[data-theme="dark"] *,
[data-theme="dark"] *::before,
[data-theme="dark"] *::after {
    scrollbar-color: var(--border-color) var(--bg-secondary);
}

/* FORCE ALL CARDS AND CONTAINERS TO BE DARK */
[data-theme="dark"] .service-card,
[data-theme="dark"] .insurance-card,
[data-theme="dark"] .doctor-profile,
[data-theme="dark"] .quick-contact-card,
[data-theme="dark"] .modern-appointment-form,
[data-theme="dark"] .office-map,
[data-theme="dark"] .hero-features .feature,
[data-theme="dark"] .review-slide,
[data-theme="dark"] .review-content,
[data-theme="dark"] .verification-badge,
[data-theme="dark"] .cigna-verification,
[data-theme="dark"] .map-actions {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

/* FORCE ALL TEXT TO BE WHITE/LIGHT */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] div,
[data-theme="dark"] li,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .service-card li,
[data-theme="dark"] .insurance-card h4,
[data-theme="dark"] .insurance-card li,
[data-theme="dark"] .doctor-profile h3,
[data-theme="dark"] .doctor-profile p,
[data-theme="dark"] .hero-features .feature h4,
[data-theme="dark"] .hero-features .feature p,
[data-theme="dark"] .review-content blockquote,
[data-theme="dark"] .review-author,
[data-theme="dark"] .review-date,
[data-theme="dark"] .cigna-text,
[data-theme="dark"] .dental-text,
[data-theme="dark"] .verification-text,
[data-theme="dark"] .card-content h4,
[data-theme="dark"] .card-content p,
[data-theme="dark"] .address,
[data-theme="dark"] .hours,
[data-theme="dark"] .card-subtitle {
    color: var(--text-primary) !important;
}

/* FORCE FORM ELEMENTS TO BE DARK */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea,
[data-theme="dark"] button {
    background: var(--bg-accent) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: var(--text-light) !important;
}

/* FORCE BUTTONS TO BE PROPERLY THEMED */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .submit-btn,
[data-theme="dark"] .directions-btn,
[data-theme="dark"] button,
[data-theme="dark"] .btn {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

[data-theme="dark"] .btn-secondary {
    background: var(--bg-accent) !important;
    color: var(--text-primary) !important;
    border-color: var(--primary-color) !important;
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

/* FORCE NAVIGATION TO BE DARK */
[data-theme="dark"] .navbar {
    background: rgba(30, 41, 59, 0.95) !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    border-bottom: none !important;
    border-top: none !important;
}

[data-theme="dark"] .navbar.scrolled {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    border-bottom: none !important;
    border-top: none !important;
}

[data-theme="dark"] .nav-container,
[data-theme="dark"] .nav-menu,
[data-theme="dark"] .nav-logo {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

[data-theme="dark"] .nav-logo span,
[data-theme="dark"] .nav-link {
    color: var(--text-primary) !important;
}

/* FORCE FOOTER TO BE DARK BLUE */
[data-theme="dark"] .footer {
    background: #1e293b !important;
    color: var(--text-primary) !important;
    border-top: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .footer h4,
[data-theme="dark"] .footer p,
[data-theme="dark"] .footer a,
[data-theme="dark"] .footer li,
[data-theme="dark"] .footer span {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .footer a:hover {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .footer-languages span {
    background: var(--bg-accent) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .footer-bottom {
    background: #334155 !important;
    border-top: 1px solid var(--border-color) !important;
}

/* FORCE MAP TO BE DARK */
[data-theme="dark"] .map-container iframe {
    /* Removed filter to keep map looking normal in dark mode */
}

/* FORCE SPECIAL ELEMENTS */
[data-theme="dark"] .office-map h4 {
    background: var(--primary-color) !important;
    color: white !important;
}

/* TARGET SPECIFIC ELEMENTS THAT ARE STILL LIGHT */

[data-theme="dark"] body,
[data-theme="dark"] html {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .hero,
[data-theme="dark"] .services,
[data-theme="dark"] .doctors-profiles,
[data-theme="dark"] .reviews-section,
[data-theme="dark"] .insurance,
[data-theme="dark"] .appointment-section {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .reviews-container,
[data-theme="dark"] .reviews-carousel {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .carousel-dots {
    background: transparent !important;
}

[data-theme="dark"] .dot {
    background: var(--border-color) !important;
}

[data-theme="dark"] .dot.active {
    background: var(--primary-color) !important;
}

/* OVERRIDE ALL HARDCODED LIGHT BACKGROUNDS */
[data-theme="dark"] .hero {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .reviews-section {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .appointment-section {
    background: var(--bg-primary) !important;
}

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

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

[data-theme="dark"] .doctors-profiles {
    background: var(--bg-secondary) !important;
}

/* Override any white backgrounds */
[data-theme="dark"] [style*="background: white"],
[data-theme="dark"] [style*="background-color: white"],
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background-color: #fff"] {
    background: var(--bg-secondary) !important;
}

/* Force all gradients to be dark */
[data-theme="dark"] .hero {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .appointment-section {
    background: var(--bg-primary) !important;
}

/* Override hardcoded white in existing CSS */
[data-theme="dark"] .feature,
[data-theme="dark"] .service-card,
[data-theme="dark"] .insurance-card,
[data-theme="dark"] .doctor-profile,
[data-theme="dark"] .quick-contact-card,
[data-theme="dark"] .modern-appointment-form,
[data-theme="dark"] .office-map,
[data-theme="dark"] .review-slide,
[data-theme="dark"] .verification-badge {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* FORCE HERO FEATURE CARDS TO BE DARK */
[data-theme="dark"] .hero-features .feature {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .hero-features .feature h4,
[data-theme="dark"] .hero-features .feature p {
    color: var(--text-primary) !important;
}

/* FORCE GOOGLE REVIEWS BADGE TO BE DARK */
[data-theme="dark"] .google-reviews-feature,
[data-theme="dark"] .google-reviews-badge {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* FORCE ALL PHONE BUTTONS TO BE PROPERLY STYLED */
[data-theme="dark"] a[href^="tel:"] {
    background: var(--bg-accent) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
}

/* FORCE NEW NAVIGATION BUTTON TO BE DARK */
[data-theme="dark"] .nav-appointment-btn {
    background: var(--primary-color) !important;
    color: var(--bg-primary) !important;
}

[data-theme="dark"] .nav-appointment-btn:hover {
    background: var(--secondary-color) !important;
}

/* FORCE NAVIGATION DROPDOWN CONTROLS TO BE DARK */
[data-theme="dark"] .nav-dropdown-label {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .nav-dropdown-label:hover {
    background: var(--bg-accent) !important;
    color: var(--primary-color) !important;
}

[data-theme="dark"] .nav-dropdown-content {
    background: var(--bg-accent) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .nav-dropdown-content a {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .nav-dropdown-content a:hover {
    background: var(--primary-color) !important;
    color: var(--bg-primary) !important;
}

/* FORCE MOBILE MENU TO BE DARK */
[data-theme="dark"] .nav-toggle {
    background: transparent !important;
}

[data-theme="dark"] .nav-toggle .bar {
    background: var(--text-primary) !important;
}

[data-theme="dark"] .nav-menu {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .nav-menu.active {
    background: var(--bg-primary) !important;
}


/* FORCE DOCTOR BIO CARDS TO BE DARK */
[data-theme="dark"] .doctor-profile-content {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .doctor-bio-card {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .doctor-info h3,
[data-theme="dark"] .doctor-info h4,
[data-theme="dark"] .doctor-info p,
[data-theme="dark"] .doctor-description p,
[data-theme="dark"] .doctor-specialties h4,
[data-theme="dark"] .doctor-specialties li {
    color: var(--text-primary) !important;
}

/* Virtual Office Tour Section */
.office-tour-section {
    background: var(--bg-secondary);
    padding: 40px 0;
}

.video-tour-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--bg-accent);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 1rem;
}

.tour-description {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.tour-description h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.tour-description p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tour-highlights {
    display: grid;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-item i {
    color: var(--success-color);
    font-size: 1.1rem;
}

.highlight-item span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Dark mode for office tour */
[data-theme="dark"] .office-tour-section {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .tour-description {
    background: var(--bg-accent) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .tour-description h3,
[data-theme="dark"] .tour-description p,
[data-theme="dark"] .highlight-item span {
    color: var(--text-primary) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.nav-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.nav-toggle:hover::before {
    left: 100%;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.bar {
    width: 30px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 3px;
    position: relative;
    transform-origin: center;
}

/* Dark mode hamburger */
[data-theme="dark"] .nav-toggle {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

[data-theme="dark"] .nav-toggle:hover {
    background: rgba(15, 23, 42, 0.95) !important;
    border-color: var(--primary-color) !important;
}

[data-theme="dark"] .bar {
    background: var(--text-primary) !important;
}

/* Navigation Appointment Button */
.nav-btn-link {
    text-decoration: none;
}

.nav-appointment-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(46, 125, 50, 0.2);
}

.nav-appointment-btn:hover {
    background: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

/* Navigation Dropdown Controls */
.nav-dropdown-item {
    position: static;
}

.nav-dropdown {
    position: static;
    display: inline-block;
}

.nav-dropdown-label {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown-label:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.nav-dropdown-label:after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-label:after {
    transform: rotate(180deg);
}

.nav-dropdown-content {
    display: none;
    /* Position will be set dynamically by JavaScript */
    background: var(--bg-secondary);
    min-width: 150px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown.active .nav-dropdown-content {
    display: block;
}

.nav-dropdown-content a {
    color: var(--text-primary);
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin: 2px;
}

.nav-dropdown-content a:hover {
    background: var(--primary-color);
    color: white;
}

.nav-dropdown-content a[data-theme="dark"]:hover {
    background: var(--primary-color);
    color: white;
}

/* Mobile Bottom Control Bar - Only on mobile */
.mobile-bottom-controls {
    display: none;
}

.mobile-control-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
}

.mobile-control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.phone-btn {
    background: var(--primary-color);
}

.email-btn {
    background: #1e40af;
}

.theme-btn {
    background: #6366f1;
}

.language-btn {
    background: var(--primary-color);
}

/* Desktop Floating Controls - Compact Bottom Right */
.floating-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    z-index: 1000;
}

.floating-control {
    position: relative;
}

.control-label {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    text-align: center;
    min-width: 75px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.control-label:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.control-dropdown {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    z-index: 1001;
    overflow: hidden;
}

.floating-control.active .control-dropdown {
    display: block;
    animation: dropdownSlideUp 0.3s ease;
}

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

.control-option {
    display: block;
    padding: 12px 18px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.control-option:last-child {
    border-bottom: none;
}

.control-option:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Mobile only elements */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-bottom-controls {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-color);
        padding: 12px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        z-index: 1000;
        box-shadow: var(--shadow-md);
    }
    
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    /* Add bottom padding to body to account for fixed bar on mobile */
    body {
        padding-bottom: 80px;
    }
}

/* Dark mode for desktop floating controls */
[data-theme="dark"] .control-label {
    background: rgba(15, 23, 42, 0.95) !important;
    border: 2px solid rgba(96, 165, 250, 0.3) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .control-label:hover {
    background: rgba(15, 23, 42, 1) !important;
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.3) !important;
    border-color: var(--primary-color) !important;
}

[data-theme="dark"] .control-dropdown {
    background: rgba(15, 23, 42, 0.98) !important;
    border: 2px solid rgba(96, 165, 250, 0.3) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .control-option {
    color: var(--text-primary) !important;
    border-bottom: 1px solid rgba(96, 165, 250, 0.1) !important;
    background: transparent !important;
}

[data-theme="dark"] .control-option:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Full-screen Language Selector */
.language-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.98), rgba(59, 130, 246, 0.98));
    backdrop-filter: blur(20px);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-overlay.active {
    left: 0;
}

.language-menu {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.language-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.language-header h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.language-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    margin: 0.25rem 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.language-option .flag {
    font-size: 1.5rem;
}

.language-option .lang-name {
    flex-grow: 1;
    font-size: 1.1rem;
    font-weight: 600;
}

.language-option .lang-code {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}


/* Hero Section - Sophisticated Design */
.hero {
    padding: 120px 0 60px;
    background: 
        linear-gradient(135deg, rgba(46, 125, 50, 0.05) 0%, rgba(34, 197, 94, 0.03) 100%),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: 
        radial-gradient(ellipse at center, rgba(46, 125, 50, 0.08) 0%, rgba(46, 125, 50, 0.02) 40%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 120%;
    background: 
        radial-gradient(ellipse at center, rgba(59, 130, 246, 0.06) 0%, rgba(59, 130, 246, 0.02) 50%, transparent 80%);
    transform: rotate(25deg);
    pointer-events: none;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    line-height: 1.1;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #475569;
    line-height: 1.6;
    font-weight: 500;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.hero-features .feature span {
    font-weight: 700;
    font-size: 1rem;
    color: #334155;
}

.hero-features .feature i {
    color: var(--success-color);
    font-size: 1.2rem;
}

/* Google Reviews Feature in Hero */
.google-reviews-feature {
    flex-direction: column !important;
    align-items: center !important;
}

.google-reviews-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
}

.google-logo i {
    color: #4285f4;
    font-size: 1.2rem;
}

.reviews-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.reviews-info .stars {
    display: flex;
    gap: 0.1rem;
}

.reviews-info .stars i {
    color: #fbbf24;
    font-size: 0.8rem;
}

.reviews-info .rating {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.hero-placeholder i {
    font-size: 8rem;
    color: white;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

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

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.doctors-team {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.doctor-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.25rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 180px;
    flex: 1;
    max-width: 220px;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.doctor-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.doctor-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.doctor-icon i {
    font-size: 1.3rem;
    color: white;
}

.doctor-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-weight: 600;
}

.doctor-card p {
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
    font-size: 0.9rem;
}




.about-image {
    display: flex;
    justify-content: center;
}

.about-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient-accent);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.about-placeholder i {
    font-size: 6rem;
    color: white;
}

/* Doctor Profiles Section */
.doctors-profiles {
    padding: 30px 0;
    background: var(--bg-secondary);
}

.doctor-profile {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.doctor-profile:hover {
    box-shadow: var(--shadow-lg);
}

.doctor-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.doctor-profile-header:hover {
    background: var(--bg-accent);
}

.doctor-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.doctor-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.doctor-avatar i {
    font-size: 1.5rem;
    color: white;
}

.doctor-avatar .doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.doctor-bio-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.doctor-basic-info h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.doctor-basic-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.expand-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.doctor-profile.accordion-open .expand-icon {
    transform: rotate(180deg);
}

.doctor-profile-content {
    background: var(--bg-primary);
    border-radius: 0 0 0.75rem 0.75rem;
    margin-top: -0.75rem;
    padding-top: 1.5rem;
}

.doctor-profile.accordion-open .doctor-profile-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
}

.doctor-bio-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding: 2rem;
    align-items: start;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    margin: 1rem;
    box-shadow: var(--shadow-sm);
}

.doctor-photo {
    height: 300px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    position: relative;
}

.doctor-photo-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.doctor-photo-placeholder i {
    font-size: 3rem;
    color: white;
}

.doctor-info {
    padding: 0;
}

.doctor-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.doctor-info h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.doctor-description {
    margin-bottom: 2rem;
}

.doctor-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    text-align: justify;
}

.doctor-specialties h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.doctor-specialties ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.doctor-specialties li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.doctor-specialties li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Reviews Section */
.reviews-section {
    padding: 30px 0;
    background: white;
}

.reviews-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.reviews-title-section h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviews-rating .stars {
    display: flex;
    gap: 0.25rem;
}

.reviews-rating .stars i {
    color: #fbbf24;
    font-size: 1.3rem;
    filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.3));
}

.rating-text {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
}

/* Cigna Verification Styling */
.cigna-verification {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 2px solid #e2e8f0;
}

.cigna-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00a651 0%, #007a3d 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.cigna-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.cigna-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.dental-text {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
}

.verification-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.verified-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.source-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.reviews-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.reviews-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.review-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.review-slide.prev {
    transform: translateX(-100%);
}

.review-slide blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    font-style: italic;
    position: relative;
    max-width: 900px;
}

.review-slide blockquote::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: -20px;
    font-size: 3rem;
    color: var(--primary-color);
    font-family: Georgia, serif;
    opacity: 0.3;
}

.review-date {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.carousel-btn:hover i {
    color: white;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

/* Dots Indicator */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Verification Badge */
.verification-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success-color);
    border-radius: 0.5rem;
    color: var(--success-color);
    font-weight: 500;
}

.verification-badge i {
    font-size: 1.2rem;
}

/* Google Reviews Section */

.google-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.google-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.google-branding i {
    font-size: 2.5rem;
    color: #4285f4;
}

.google-branding h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0;
}

.google-rating-summary {
    text-align: center;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-stars i {
    font-size: 1.5rem;
    color: #fbbf24;
}

.rating-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.view-all-reviews {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.view-all-reviews:hover {
    background: var(--primary-color);
    color: white;
}

.google-reviews-widget {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.widget-placeholder {
    padding: 3rem;
    text-align: center;
    border: 2px dashed #d1d5db;
    margin: 1rem;
    border-radius: 1rem;
}

.placeholder-content i {
    font-size: 4rem;
    color: #4285f4;
    margin-bottom: 1rem;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.placeholder-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.placeholder-content ul {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem auto;
    color: var(--text-secondary);
}

.placeholder-content li {
    margin-bottom: 0.5rem;
}

.integration-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.integration-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.integration-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Service Header with Icon and Title Side by Side - Always Horizontal */
.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    min-height: 50px;
}

.service-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 1.1rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--text-primary);
    flex-grow: 1;
    line-height: 1.2;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}



/* Insurance Section */
.insurance-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.insurance-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.insurance-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.insurance-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insurance-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insurance-features .feature i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.insurance-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.insurance-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.insurance-card ul {
    list-style: none;
}

.insurance-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.insurance-card li:last-child {
    border-bottom: none;
}

/* Modern Appointment Section */
.appointment-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 40px 0;
}

.appointment-header {
    text-align: center;
    margin-bottom: 2rem;
}

.appointment-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.appointment-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

/* Quick Contact Cards */
.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.quick-contact-card {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.quick-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.phone-card:hover {
    border-color: var(--primary-color);
}

.location-card:hover {
    border-color: #3b82f6;
}

.hours-card:hover {
    border-color: #f59e0b;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-card .card-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.location-card .card-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.hours-card .card-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.card-content h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.address, .hours {
    color: var(--text-secondary);
    margin: 0.5rem 0;
    line-height: 1.4;
}

.card-subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

/* Modern Appointment Form */
.modern-appointment-form {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    width: 100%;
    height: fit-content;
    max-width: none;
}

.form-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fafafa;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.form-note i {
    color: var(--success-color);
}

/* Office Map Section */
.office-map {
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin: 2rem 0;
    text-align: center;
}

.office-map h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    background: none;
    padding: 2rem 0 0 0;
}

.office-map h4 {
    background: var(--gradient-primary);
    color: white;
    padding: 0.875rem 1.25rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.map-container {
    position: relative;
    width: 100%;
    height: 200px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-actions {
    padding: 0.875rem 1.25rem;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.directions-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

/* Footer Contact Cards - Enhanced Design */
.footer-contact-cards {
    width: 100%;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-contact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.footer-contact-card:hover::before {
    left: 100%;
}

.footer-contact-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.footer-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.footer-contact-card:hover .footer-card-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.footer-card-icon.phone-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.footer-card-icon.location-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.footer-card-icon.hours-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.footer-card-content h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.footer-contact-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-contact-link:hover {
    color: #93c5fd;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.footer-address,
.footer-hours {
    color: #f1f5f9;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

.footer-card-subtitle {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.25rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-sections-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.footer-section i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.footer-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-languages span {
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 1rem;
        margin-left: 1rem;
    }
    
    .nav-logo {
        font-size: 1rem;
        min-width: 160px;
    }
    
    .nav-logo i {
        font-size: 1.4rem;
    }
    
    .nav-appointment-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .nav-dropdown-label {
        font-size: 13px;
        padding: 6px 10px;
    }
}

@media (max-width: 1000px) {
    .nav-menu {
        gap: 0.8rem;
        margin-left: 0.5rem;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .nav-appointment-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .nav-dropdown-label {
        font-size: 12px;
        padding: 5px 8px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(30, 64, 175, 0.98), rgba(59, 130, 246, 0.98));
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
        padding: 8rem 2rem 4rem 2rem;
        z-index: 999;
        justify-content: flex-start;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }
    
    /* Hide footer when mobile menu is open */
    body.menu-open .footer {
        display: none;
    }
    
    /* Hide mobile bottom controls when menu is open */
    body.menu-open .mobile-bottom-controls {
        display: none;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
        opacity: 0;
        transform: translateX(-50px);
        animation: slideInMobile 0.5s ease forwards;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.35s; }
    .nav-menu.active li:nth-child(7) { animation-delay: 0.4s; }

    @keyframes slideInMobile {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-link {
        display: block;
        color: white !important;
        font-size: 1.4rem;
        font-weight: 600;
        padding: 1.25rem 2rem;
        margin: 0.4rem 0;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        text-decoration: none;
        text-align: center;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .nav-appointment-btn {
        background: rgba(255, 255, 255, 0.9) !important;
        color: #1e40af !important;
        font-size: 1.3rem;
        padding: 1.2rem 2.5rem;
        border-radius: 12px;
        font-weight: 700;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .nav-appointment-btn:hover {
        background: white !important;
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    }

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }
    
    /* Mobile Navigation Dropdowns */
    .nav-dropdown-item {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .nav-dropdown-label {
        width: 100%;
        text-align: center;
        padding: 12px;
        background: var(--bg-secondary);
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }
    
    .nav-dropdown-content {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        box-shadow: none;
        border-radius: 8px;
    }
    
    .nav-dropdown-content a {
        padding: 12px 15px;
        font-size: 14px;
        text-align: center;
    }
    
    .theme-picker select,
    .language-picker select {
        width: auto;
        min-width: 120px;
        padding: 0.5rem;
        font-size: 0.85rem;
    }


    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .hero-features {
        display: none; /* Hide hero features on mobile */
    }
    
    .hero-image {
        display: none; /* Hide tooth circle on mobile */
    }

    .hero-placeholder {
        width: 300px;
        height: 300px;
    }

    .hero-placeholder i {
        font-size: 6rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .doctors-team {
        flex-direction: column;
        gap: 0.75rem;
        margin: 1rem 0;
    }
    
    .doctor-card {
        max-width: 100%;
        min-width: auto;
    }
    
    .doctor-bio-card,
    .doctor-bio-card.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .doctor-photo {
        min-height: 250px;
    }
    
    .doctor-photo-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .doctor-photo-placeholder i {
        font-size: 3rem;
    }
    
    .doctor-info {
        padding: 2rem 1.5rem;
    }
    
    .doctor-info h2 {
        font-size: 1.6rem;
    }
    
    .doctor-description p {
        text-align: left;
        font-size: 0.95rem;
    }
    
    .doctor-specialties ul {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .doctor-bio-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .doctor-photo {
        height: 200px;
    }
    
    .doctor-photo-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .doctor-photo-placeholder i {
        font-size: 2rem;
    }
    
    .google-reviews-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .rating-display {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .rating-number {
        font-size: 2rem;
    }
    
    .widget-placeholder {
        padding: 2rem 1rem;
    }
    
    .integration-options {
        flex-direction: column;
        align-items: center;
    }
    
    .integration-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .reviews-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .reviews-title-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .reviews-title-section h2 {
        font-size: 1.8rem;
        margin-bottom: 0;
        text-align: center;
    }
    
    .reviews-rating {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0;
    }
    
    .reviews-rating .stars {
        gap: 0.3rem;
        justify-content: center;
        margin-bottom: 0.25rem;
    }
    
    .reviews-rating .stars i {
        font-size: 1.2rem;
    }
    
    .rating-text {
        font-size: 0.95rem;
        text-align: center;
        margin: 0;
    }
    
    .cigna-verification {
        flex-direction: row;
        text-align: left;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        max-width: 300px;
        margin: 0 auto;
        border-radius: 0.75rem;
    }
    
    .cigna-logo {
        width: 45px;
        height: 45px;
    }
    
    .cigna-text {
        font-size: 0.75rem;
    }
    
    .dental-text {
        font-size: 0.55rem;
    }
    
    .verified-label {
        font-size: 0.9rem;
    }
    
    .source-label {
        font-size: 0.75rem;
    }
    
    .reviews-container {
        height: 200px;
        padding: 1rem;
        border-radius: 0.75rem;
    }
    
    .review-slide {
        padding: 1rem;
    }
    
    .review-slide blockquote {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .review-date {
        font-size: 0.8rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .prev-btn {
        margin-left: -20px;
    }
    
    .next-btn {
        margin-right: -20px;
    }
    
    .verification-badge {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .video-tour-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tour-description {
        padding: 1.5rem;
    }



    .insurance-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .insurance-info {
        order: 1;
    }
    
    .insurance-info h3 {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
    
    .insurance-info p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .insurance-features {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .insurance-features .feature {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .insurance-features .feature span {
        font-size: 0.95rem;
    }

    .insurance-grid {
        grid-template-columns: 1fr;
        order: 2;
        margin-top: 1rem;
    }
    
    .insurance-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .insurance-card h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .insurance-card li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }

    .hero {
        padding: 100px 0 40px;
        min-height: 60vh;
    }
    
    .appointment-header h2 {
        font-size: 2rem;
    }
    
    .appointment-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quick-contact-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .quick-contact-card {
        padding: 0.875rem 1rem;
        flex-direction: row;
        text-align: left;
        gap: 0.75rem;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
    }
    
    .modern-appointment-form {
        padding: 1.25rem 1rem;
    }
    
    .office-map {
        margin-top: 0.5rem;
    }
    
    .map-container {
        height: 180px;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .submit-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Hide footer text sections on mobile - keep only contact cards */
    .footer-right {
        display: none;
    }
    
    .footer-left {
        width: 100%;
    }
    
    /* Mobile footer contact cards - horizontal layout */
    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-contact-card {
        padding: 1rem;
        border-radius: 10px;
        gap: 0.75rem;
        flex-direction: row;
        text-align: left;
    }
    
    .footer-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 1rem;
    }
    
    .footer-card-content h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .footer-contact-link {
        font-size: 1rem;
    }
    
    .footer-address,
    .footer-hours {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .footer-card-subtitle {
        font-size: 0.8rem;
    }
    
    .footer-languages {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .footer-languages span {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
    
    /* Mobile Map and Appointment Improvements */
    .office-map {
        margin: 1rem 0;
        border-radius: 1rem;
    }
    
    .office-map h2 {
        font-size: 1.5rem;
        padding: 1rem 0 0 0;
        margin-bottom: 1rem;
    }
    
    .map-container {
        height: 250px;
        border-radius: 0.75rem;
        overflow: hidden;
    }
    
    .map-container iframe {
        border-radius: 0.75rem;
    }
    
    .directions-btn {
        width: 100%;
        max-width: 300px;
        margin: 1rem auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 12px 24px;
        font-size: 16px;
    }
    
    /* Mobile Appointment Form */
    .modern-appointment-form {
        margin-top: 2rem;
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .form-header p {
        text-align: center;
        font-size: 14px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-field label {
        font-size: 14px;
        font-weight: 600;
    }
    
    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 15px;
        font-size: 16px;
        margin-top: 1rem;
    }
    
    .form-note {
        text-align: center;
        font-size: 12px;
        margin-top: 1rem;
    }
    
    /* Mobile Services Accordion */
    .services-grid {
        display: block;
    }
    
    .service-card {
        margin-bottom: 1rem;
        border-radius: 0.75rem;
        overflow: hidden;
        cursor: pointer;
        box-shadow: var(--shadow-md);
        transition: all 0.3s ease;
    }
    
    .service-header {
        padding: 1rem 1.5rem;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        position: relative;
        cursor: pointer;
    }
    
    .service-header::after {
        content: '▼';
        font-size: 12px;
        color: var(--primary-color);
        transition: transform 0.3s ease;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .service-card.mobile-expanded .service-header::after {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .service-card.mobile-expanded {
        box-shadow: var(--shadow-lg);
    }
    
    /* Ensure icon and title stay side-by-side on mobile */
    .service-header {
        gap: 0.8rem;
        padding-right: 2.5rem; /* Space for expand arrow */
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
    }
    
    .service-icon i {
        font-size: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    /* Hide description and list on mobile by default */
    .service-card p,
    .service-card ul {
        display: none;
    }
    
    .service-card.mobile-expanded p,
    .service-card.mobile-expanded ul {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    /* Extra small screens - keep icons and text side-by-side */
    .service-header {
        gap: 0.6rem;
        padding-right: 2rem;
    }
    
    .service-icon {
        width: 35px;
        height: 35px;
    }
    
    .service-icon i {
        font-size: 0.9rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .hero-placeholder {
        width: 250px;
        height: 250px;
    }

    .hero-placeholder i {
        font-size: 5rem;
    }

    .service-card,
    .insurance-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .contact-form h3 {
        font-size: 1.4rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --secondary-color: #0000ff;
        --text-primary: #000000;
        --text-secondary: #000000;
    }
}

/* Hide Google Translate widget - we use custom buttons */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-menu-frame {
    display: none !important;
}

.goog-te-gadget {
    display: none !important;
}

/* Hide Google Translate top banner */
body {
    top: 0 !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

/* Cookie Consent Banner - Compact Left Half */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: calc(45% - 20px);
    max-width: 480px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(-120%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-consent.show {
    transform: translateX(0);
}

.cookie-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cookie-text h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
}

.cookie-text p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 0.4rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
}

.cookie-accept {
    background: var(--success-color);
    color: white;
}

.cookie-accept:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.cookie-reject {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.cookie-reject:hover {
    background: var(--error-color);
    color: white;
    border-color: var(--error-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Dark mode for mobile bottom controls */
[data-theme="dark"] .mobile-bottom-controls {
    background: var(--bg-primary) !important;
    border-top-color: var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
}

/* Dark mode for cookie consent */
[data-theme="dark"] .cookie-consent {
    background: rgba(15, 23, 42, 0.98) !important;
    border-top-color: var(--border-color) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .cookie-text h4 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .cookie-text p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .cookie-reject {
    background: var(--bg-accent) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .cookie-reject:hover {
    background: var(--error-color) !important;
    color: white !important;
    border-color: var(--error-color) !important;
}

/* Mobile cookie consent */
@media (max-width: 768px) {
    .cookie-content {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 1rem;
        padding: 1.25rem 1rem;
    }
    
    .cookie-icon {
        grid-row: 1 / 3;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .cookie-text {
        grid-column: 2;
    }
    
    .cookie-actions {
        grid-column: 1 / 3;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .cookie-consent {
        width: calc(100% - 40px);
        max-width: none;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 140px;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
} 