/* Dental Net - Clean CSS Variables */
:root {
    /* Core colors */
    --primary: #6366f1;
    --secondary: #64748b;
    --success: #6366f1;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    --light: #f8fafc;
    --dark: #1e293b;
    
    /* Gray scale */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --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);

    /* Border radius */
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Transitions */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index hierarchy */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--gray-50);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Fix Bootstrap 5 z-index issues */
.navbar {
    z-index: var(--z-sticky) !important;
}

.navbar-nav .dropdown-menu {
    z-index: var(--z-dropdown) !important;
}

.modal {
    z-index: var(--z-modal) !important;
}

.modal-backdrop {
    z-index: var(--z-modal-backdrop) !important;
}

.popover {
    z-index: var(--z-popover) !important;
}

.tooltip {
    z-index: var(--z-tooltip) !important;
}

/* Fix navbar collapse on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-lg);
        z-index: var(--z-dropdown);
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
}

/* Fix modal issues */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-modal);
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-modal-backdrop);
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--gray-900);
    margin: 0;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin: 0 0 1rem 0;
    color: var(--gray-600);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Dashboard Styles */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.welcome-section {
    flex: 1;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.greeting {
    color: var(--gray-500);
    font-weight: 400;
}

.user-name {
    color: var(--gray-900);
}

.welcome-subtitle {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin: 0;
}

.current-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    color: var(--gray-600);
    font-weight: 500;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-card.stat-primary::before {
    background: var(--primary);
}

.stat-card.stat-success::before {
    background: var(--success);
}

.stat-card.stat-info::before {
    background: var(--info);
}

.stat-card.stat-warning::before {
    background: var(--warning);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    background: var(--primary);
}

.stat-primary .stat-icon {
    background: var(--primary);
}

.stat-success .stat-icon {
    background: var(--success);
}

.stat-info .stat-icon {
    background: var(--info);
}

.stat-warning .stat-icon {
    background: var(--warning);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.content-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
}

.card-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.card-action:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
}

.card-content {
    padding: 1.5rem;
}

/* Appointment List */
.appointment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.appointment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.appointment-item:hover {
    background: white;
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.appointment-time {
    min-width: 4rem;
    text-align: center;
}

.time {
    display: block;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.875rem;
}

.appointment-info {
    flex: 1;
}

.patient-name {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.appointment-details {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-scheduled {
    background: #dbeafe;
    color: #1e40af;
}

.status-confirmed {
    background: #dcfce7;
    color: #166534;
}

.status-completed {
    background: #e0f2fe;
    color: #0c4a6e;
}

/* Record List */
.record-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.record-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.record-item:hover {
    background: white;
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.record-date {
    min-width: 3rem;
    text-align: center;
}

.day {
    display: block;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 1;
}

.month {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.record-info {
    flex: 1;
}

.record-details {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.action-btn {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius);
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--primary);
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--gray-500);
    margin: 0;
}

/* Quick Actions */
.quick-actions-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.quick-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.action-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-lg);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.action-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.action-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

/* Landing Page */
.landing-page {
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Dashboard Preview */
.dashboard-preview {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.preview-dots {
    display: flex;
    gap: 0.5rem;
}

.preview-dots span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--gray-400);
}

.preview-dots span:first-child {
    background: #ef4444;
}

.preview-dots span:nth-child(2) {
    background: #f59e0b;
}

.preview-dots span:last-child {
    background: #6366f1;
}

.preview-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
}

.preview-content {
    padding: 1.5rem;
}

.preview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius);
}

.preview-stat-icon {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.preview-stat-info {
    flex: 1;
}

.preview-stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.preview-stat-label {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.preview-chart {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 4rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), var(--primary-light));
    border-radius: 0.25rem 0.25rem 0 0;
    animation: growUp 1s ease-out;
}

@keyframes growUp {
    from {
        height: 0;
    }

    to {
        height: var(--height);
    }
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-xl);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Mobile-First Responsive Design */

/* Mobile First - Base styles for mobile */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    body {
        padding: 0;
        margin: 0;
    }

    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    /* Navigation optimizations */
    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .dropdown-menu {
        border-radius: 0;
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .dropdown-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* Dashboard mobile optimizations */
    .dashboard-container {
        padding: 0.5rem;
        max-width: 100%;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .welcome-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .welcome-subtitle {
        font-size: 0.9rem;
    }

    .current-time {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    /* Stats grid mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .stat-card {
        padding: 1rem;
        flex-direction: row;
        align-items: center;
    }

    .stat-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Content grid mobile */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card-header {
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .card-title {
        font-size: 1rem;
        justify-content: center;
    }

    .card-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .card-action {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        flex: 1;
        min-width: auto;
        text-align: center;
    }

    .card-content {
        padding: 1rem;
    }

    /* Appointment items mobile */
    .appointment-item {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        align-items: stretch;
    }

    .appointment-time {
        min-width: auto;
        text-align: left;
        order: 1;
    }

    .appointment-info {
        order: 2;
    }

    .appointment-status {
        order: 3;
        align-self: flex-start;
    }

    .appointment-actions {
        order: 4;
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .appointment-actions .btn {
        flex: 1;
        min-width: 0;
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    /* Quick actions mobile */
    .quick-actions-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .quick-action {
        padding: 1rem;
        flex-direction: row;
        text-align: left;
    }

    .action-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .action-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .action-content p {
        font-size: 0.8rem;
        margin: 0;
    }

    /* Hero section mobile */
    .hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .btn-hero {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
    }

    .stat {
        flex: 1;
        min-width: 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Dashboard preview mobile */
    .dashboard-preview {
        transform: none;
        max-width: 100%;
        margin: 0;
    }

    .preview-content {
        padding: 1rem;
    }

    .preview-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Features mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }

    .feature-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Section headers mobile */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* CTA section mobile */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Buttons mobile */
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        min-height: 44px;
        /* Touch target size */
    }

    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    /* Forms mobile */
    .form-control {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        /* Prevent zoom on iOS */
        min-height: 44px;
    }

    .form-select {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        min-height: 44px;
    }

    /* Tables mobile */
    .table-responsive {
        border: none;
    }

    .table {
        font-size: 0.875rem;
    }

    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
        vertical-align: middle;
    }

    /* Empty states mobile */
    .empty-state {
        padding: 2rem 1rem;
    }

    .empty-state i {
        font-size: 2.5rem;
    }

    .empty-state h4 {
        font-size: 1rem;
    }

    .empty-state p {
        font-size: 0.9rem;
    }

    /* Booking section mobile */
    .booking-card {
        margin: 0 1rem;
    }

    .booking-content {
        padding: 1.5rem;
        text-align: center;
    }

    .booking-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin: 1.5rem 0;
    }

    .feature {
        font-size: 0.875rem;
        justify-content: flex-start;
    }
}

/* Tablet styles */
@media (min-width: 577px) and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .dashboard-container {
        padding: 1rem;
    }
}

/* Desktop styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .dashboard-preview {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large desktop styles */
@media (min-width: 1025px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .content-grid {
        grid-template-columns: 1fr 1fr;
    }

    .quick-actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px var(--primary);
}

/* Animation utilities */
.animate {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

/* Modern Dental UI Enhancements */
.rounded-4 {
    border-radius: 1rem !important;
}

.rounded-top-4 {
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
}

.avatar {
    width: 45px;
    height: 45px;
    font-size: 14px;
}

.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
}

.bg-info-subtle {
    background-color: #dbeafe !important;
}

.text-info-emphasis {
    color: #0c4a6e !important;
}

.bg-primary-subtle {
    background-color: #dbeafe !important;
}

.text-primary-emphasis {
    color: #1e40af !important;
}

.bg-warning-subtle {
    background-color: #fef3c7 !important;
}

.text-warning-emphasis {
    color: #92400e !important;
}

.bg-success-subtle {
    background-color: #dcfce7 !important;
}

.text-success-emphasis {
    color: #166534 !important;
}

.bg-danger-subtle {
    background-color: #fee2e2 !important;
}

.text-danger-emphasis {
    color: #991b1b !important;
}

.bg-secondary-subtle {
    background-color: #e9ecef !important;
}

.text-secondary-emphasis {
    color: #495057 !important;
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.btn-group .btn {
    border-radius: 0 !important;
    border: 1px solid #dee2e6;
}

.btn-group .btn:first-child {
    border-radius: 0.375rem 0 0 0.375rem !important;
}

.btn-group .btn:last-child {
    border-radius: 0 0.375rem 0.375rem 0 !important;
}

.pagination .page-link {
    border-radius: 50% !important;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    border: 1px solid #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #4f46e5;
    border-color: #4f46e5;
    color: white;
}

.empty-state-icon {
    width: 100px;
    height: 100px;
}

.calendar-icon,
.doctor-icon,
.price-icon {
    width: 36px;
    height: 36px;
}

.input-group-text {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

/* Quote Form Enhancements */
.quote-form-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.quote-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: none;
    overflow: hidden;
}

.quote-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    border: none;
}

.quote-header h2 {
    color: white;
    font-weight: 700;
    margin: 0;
}

.quote-body {
    padding: 2rem;
}

.form-section {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--transition);
}

.form-section:hover {
    box-shadow: var(--shadow-md);
}

.section-header {
    background: var(--gray-50);
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-body {
    padding: 1.5rem;
}

.quote-item {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    position: relative;
}

.quote-item:hover {
    background: white;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.quote-item-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.item-number {
    background: var(--primary);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.remove-item-btn {
    background: var(--danger);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remove-item-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.add-item-btn {
    background: var(--success);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.add-item-btn:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.form-control:hover {
    border-color: var(--gray-300);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.required-field::after {
    content: '*';
    color: var(--danger);
    margin-left: 0.25rem;
}

.calculation-summary {
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
}

.calculation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.calculation-row:last-child {
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--gray-300);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
}

.calculation-label {
    color: var(--gray-600);
    font-weight: 500;
}

.calculation-value {
    font-weight: 600;
    color: var(--gray-900);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    margin: 0 -2rem -2rem -2rem;
}

.btn-save {
    background: linear-gradient(135deg, var(--success) 0%, #4f46e5 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-save:active {
    transform: translateY(0);
}

.btn-cancel {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-cancel:hover {
    background: var(--gray-200);
    border-color: var(--gray-400);
    color: var(--gray-800);
    text-decoration: none;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-xl);
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Validation Styles */
.is-invalid {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.invalid-feedback {
    display: block;
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.is-valid {
    border-color: var(--success) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* Responsive Design for Quote Form */
@media (max-width: 768px) {
    .quote-form-container {
        padding: 1rem 0;
    }

    .quote-header {
        padding: 1.5rem;
    }

    .quote-body {
        padding: 1rem;
    }

    .section-body {
        padding: 1rem;
    }

    .quote-item {
        padding: 1rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .btn-save,
    .btn-cancel {
        width: 100%;
        justify-content: center;
    }

    .calculation-summary {
        position: static;
        margin-top: 1rem;
    }
}

/* Animation for adding/removing items */
.quote-item-enter {
    opacity: 0;
    transform: translateY(-20px);
    animation: slideIn 0.3s ease-out forwards;
}

.quote-item-exit {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}

/* Tooltip Styles */
.tooltip-icon {
    color: var(--gray-400);
    cursor: help;
    margin-left: 0.25rem;
}

.tooltip-icon:hover {
    color: var(--primary);
}

/* Success/Error Messages */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: var(--success);
    color: white;
}

.alert-danger {
    background: var(--danger);
    color: white;
}

.alert-warning {
    background: var(--warning);
    color: white;
}

.alert-info {
    background: var(--info);
    color: white;
}
/* A
dvanced Mobile Optimizations */

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .card:hover,
    .quick-action:hover {
        transform: none;
    }
    
    .btn:active,
    .card:active,
    .quick-action:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Improved mobile navigation */
@media (max-width: 576px) {
    .navbar-collapse {
        background: white;
        margin: 0 -15px;
        padding: 1rem 15px;
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-top: 1px solid var(--gray-200);
    }
    
    .navbar-nav .nav-link {
        color: var(--gray-700) !important;
        border-bottom: 1px solid var(--gray-100);
        margin-bottom: 0.25rem;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link.active {
        background: var(--primary);
        color: white !important;
        border-radius: var(--radius);
    }
    
    /* Mobile dropdown improvements */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        box-shadow: none;
        background: var(--gray-50);
        margin: 0.5rem 0;
        padding: 0;
    }
    
    .dropdown-item {
        color: var(--gray-600);
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .dropdown-item:hover {
        background: var(--primary);
        color: white;
    }
}

/* Mobile-optimized tables */
@media (max-width: 768px) {
    .table-mobile-stack {
        border: 0;
    }
    
    .table-mobile-stack thead {
        display: none;
    }
    
    .table-mobile-stack tr {
        display: block;
        background: white;
        border-radius: var(--radius-lg);
        margin-bottom: 1rem;
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--gray-200);
    }
    
    .table-mobile-stack td {
        display: block;
        text-align: right;
        border: none;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .table-mobile-stack td:last-child {
        border-bottom: none;
    }
    
    .table-mobile-stack td:before {
        content: attr(data-label) ": ";
        float: left;
        font-weight: 600;
        color: var(--gray-700);
    }
}

/* Mobile modal optimizations */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-content {
        border-radius: var(--radius-lg);
    }
    
    .modal-header {
        padding: 1rem;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
        border-top: 1px solid var(--gray-200);
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-footer .btn {
        width: 100%;
        margin: 0;
    }
}

/* Mobile form improvements */
@media (max-width: 576px) {
    .form-floating {
        margin-bottom: 1rem;
    }
    
    .form-floating > .form-control,
    .form-floating > .form-select {
        height: calc(3.5rem + 2px);
        padding: 1rem 0.75rem 0.25rem;
        font-size: 1rem;
    }
    
    .form-floating > label {
        padding: 1rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .input-group > .form-control,
    .input-group > .form-select,
    .input-group > .btn {
        border-radius: var(--radius) !important;
        width: 100%;
    }
    
    .input-group-text {
        border-radius: var(--radius) !important;
        text-align: center;
        justify-content: center;
    }
}

/* Mobile card optimizations */
@media (max-width: 576px) {
    .card {
        border-radius: var(--radius-lg);
        margin-bottom: 1rem;
    }
    
    .card-header {
        padding: 1rem;
        background: var(--gray-50);
        border-bottom: 1px solid var(--gray-200);
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-footer {
        padding: 1rem;
        background: var(--gray-50);
        border-top: 1px solid var(--gray-200);
    }
    
    .card-deck {
        flex-direction: column;
    }
    
    .card-deck .card {
        margin-bottom: 1rem;
    }
}

/* Mobile pagination */
@media (max-width: 576px) {
    .pagination {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .pagination .page-link {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
        margin: 0;
    }
    
    .pagination .page-item:not(.active):not(.disabled) .page-link {
        display: none;
    }
    
    .pagination .page-item.active .page-link,
    .pagination .page-item:first-child .page-link,
    .pagination .page-item:last-child .page-link,
    .pagination .page-item:nth-child(2) .page-link,
    .pagination .page-item:nth-last-child(2) .page-link {
        display: flex;
    }
}

/* Mobile alerts */
@media (max-width: 576px) {
    .alert {
        border-radius: var(--radius-lg);
        margin-bottom: 1rem;
        padding: 1rem;
        font-size: 0.875rem;
    }
    
    .alert-dismissible .btn-close {
        padding: 1rem;
        right: 0;
        top: 0;
    }
}

/* Mobile breadcrumb */
@media (max-width: 576px) {
    .breadcrumb {
        background: transparent;
        padding: 0.5rem 0;
        margin-bottom: 1rem;
        font-size: 0.875rem;
        flex-wrap: wrap;
    }
    
    .breadcrumb-item {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Mobile progress bars */
@media (max-width: 576px) {
    .progress {
        height: 0.75rem;
        border-radius: var(--radius);
        margin-bottom: 1rem;
    }
    
    .progress-bar {
        font-size: 0.75rem;
        line-height: 0.75rem;
    }
}

/* Mobile badges and labels */
@media (max-width: 576px) {
    .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.5rem;
    }
    
    .badge-lg {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 576px) {
    /* Focus indicators */
    .btn:focus,
    .form-control:focus,
    .form-select:focus,
    .nav-link:focus {
        outline: 3px solid var(--primary);
        outline-offset: 2px;
    }
    
    /* Skip links */
    .skip-link {
        position: absolute;
        top: -40px;
        left: 6px;
        background: var(--primary);
        color: white;
        padding: 8px;
        text-decoration: none;
        border-radius: var(--radius);
        z-index: 1000;
    }
    
    .skip-link:focus {
        top: 6px;
    }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) and (max-width: 576px) {
    :root {
        --gray-50: #1e293b;
        --gray-100: #334155;
        --gray-200: #475569;
        --gray-300: #64748b;
        --light: #1e293b;
        --dark: #f8fafc;
    }
    
    body {
        background-color: var(--gray-900);
        color: var(--gray-100);
    }
    
    .card,
    .modal-content,
    .dropdown-menu {
        background-color: var(--gray-800);
        border-color: var(--gray-700);
    }
    
    .navbar-collapse {
        background-color: var(--gray-800);
        border-color: var(--gray-700);
    }
}

/* Performance optimizations */
@media (max-width: 576px) {
    /* Reduce animations on mobile for better performance */
    .animate,
    .hover-lift,
    .pulse {
        animation: none;
        transform: none;
        transition: none;
    }
    
    /* Optimize images */
    img {
        max-width: 100%;
        height: auto;
        image-rendering: optimizeSpeed;
    }
    
    /* Reduce box shadows for better performance */
    .card,
    .btn,
    .modal-content {
        box-shadow: var(--shadow-sm);
    }
}

/* Print styles for mobile */
@media print {
    .navbar,
    .btn,
    .card-actions,
    .appointment-actions,
    .booking-actions {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000;
        break-inside: avoid;
    }
    
    .appointment-item,
    .booking-item {
        border: 1px solid #000;
        margin-bottom: 1rem;
        padding: 1rem;
    }
}/* Mobil
e-specific CSS additions */

/* Touch-friendly buttons */
.btn-touch {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem 1rem;
}

/* Mobile device specific styles */
.mobile-device .btn {
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.mobile-device .card,
.mobile-device .quick-action {
    -webkit-tap-highlight-color: rgba(0,0,0,0.05);
}

/* Mobile search styling */
.mobile-search {
    padding-right: 2.5rem !important;
}

.search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.btn-clear-search {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    padding: 0.25rem;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.btn-clear-search:hover {
    background: var(--gray-200);
    color: var(--gray-600);
}

/* Mobile table cards */
.table-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.table-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.card-row:last-child {
    border-bottom: none;
}

.card-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
    flex: 0 0 40%;
}

.card-value {
    flex: 1;
    text-align: right;
    font-size: 0.875rem;
}

/* Mobile modal optimizations */
.modal-dialog-mobile {
    margin: 0;
    height: 100vh;
    max-width: 100%;
}

.modal-dialog-mobile .modal-content {
    height: 100vh;
    border-radius: 0;
    border: none;
}

.modal-dialog-mobile .modal-header {
    padding: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.modal-dialog-mobile .modal-body {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}

.modal-dialog-mobile .modal-footer {
    padding: 1rem;
    border-top: 2px solid var(--gray-200);
}

/* Reduce motion for low-end devices */
.reduce-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
    .navbar-collapse {
        background: white;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        box-shadow: var(--shadow-lg);
        margin-top: 0.5rem;
        padding: 1rem 0;
    }
    
    .navbar-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        box-shadow: none;
        background: var(--gray-50);
        margin: 0.5rem 1rem;
        border-radius: var(--radius);
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.75rem 1rem;
        border-radius: var(--radius);
        margin: 0.25rem 0;
    }
    
    .navbar-nav .dropdown-item:hover {
        background: white;
    }
}

/* Mobile-specific animations */
@media (max-width: 576px) {
    .hover-lift:hover {
        transform: translateY(-1px);
    }
    
    .pulse {
        animation: mobilePulse 2s infinite;
    }
    
    @keyframes mobilePulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.02); }
        100% { transform: scale(1); }
    }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .form-control {
        font-size: 16px !important; /* Prevent zoom */
    }
    
    .btn {
        -webkit-appearance: none;
        border-radius: var(--radius);
    }
}

/* Android specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
    .form-control:focus {
        background-color: white;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .btn {
        border-width: 0.5px;
    }
    
    .card {
        border-width: 0.5px;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 50vh;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-actions {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .btn-hero {
        width: auto;
        padding: 0.75rem 1.25rem;
    }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) {
    .mobile-device {
        background-color: #1a1a1a;
        color: #ffffff;
    }
    
    .mobile-device .card {
        background-color: #2d2d2d;
        border-color: #404040;
    }
    
    .mobile-device .table-card {
        background-color: #2d2d2d;
        border-color: #404040;
    }
    
    .mobile-device .navbar-collapse {
        background-color: #2d2d2d;
    }
}

/* Print styles for mobile */
@media print {
    .mobile-device .navbar,
    .mobile-device .hero-section,
    .mobile-device .cta-section {
        display: none !important;
    }
    
    .mobile-device .dashboard-container {
        padding: 0;
    }
    
    .mobile-device .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 576px) {
    /* Larger touch targets */
    .btn, button, .nav-link, .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Better focus indicators */
    .btn:focus,
    .form-control:focus,
    .nav-link:focus {
        outline: 3px solid var(--primary);
        outline-offset: 2px;
    }
    
    /* High contrast mode support */
    @media (prefers-contrast: high) {
        .btn {
            border-width: 2px;
        }
        
        .card {
            border-width: 2px;
        }
    }
    
    /* Reduced motion support */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}
/* 
Modern Dental Clinic Landing Page Styles */
.modern-landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    min-height: 100vh;
}

.modern-hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Navigation Bar */
.top-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background: #1e90ff;
    margin: 0 -2rem;
    padding: 1rem 2rem;
    color: white;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
}

.clinic-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
    color: white;
}

.search-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Secondary Navigation */
.secondary-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 0 -2rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.secondary-nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.secondary-nav-link:hover {
    color: #1e90ff;
}

/* Main Hero Content */
.hero-main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

.hero-text-content {
    max-width: 600px;
}

.modern-hero-title {
    margin-bottom: 3rem;
}

.clinic-name {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: #1e90ff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.clinic-subtitle {
    display: block;
    font-size: 1.5rem;
    color: #1e90ff;
    font-weight: 400;
    opacity: 0.8;
}

/* Hero Actions */
.hero-actions-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
}

.btn-book-appointment {
    background: #1e90ff;
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #1e90ff;
    min-width: 250px;
    display: inline-block;
}

.btn-book-appointment:hover {
    background: #0066cc;
    border-color: #0066cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
}

.btn-book-appointment.secondary {
    background: transparent;
    color: #1e90ff;
    border: 2px solid #1e90ff;
}

.btn-book-appointment.secondary:hover {
    background: #1e90ff;
    color: white;
}

/* Contact Info Bottom */
.contact-info-bottom {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #64748b;
    font-size: 0.9rem;
}

.phone-number,
.website {
    font-weight: 500;
}

/* Staff Login Section */
.staff-login-section {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 100;
}

.login-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    max-width: 280px;
    text-align: center;
}

.login-card h3 {
    color: #1e293b;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.login-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.btn-staff-login {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.btn-staff-login:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Services Preview Section */
.services-preview-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header-modern h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header-modern p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-modern {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-card-modern h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-card-modern p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        padding: 0 1rem;
    }
    
    .top-nav-bar {
        margin: 0 -1rem;
        padding: 1rem;
    }
    
    .secondary-nav {
        margin: 0 -1rem;
        padding: 1rem;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav {
        display: none;
    }
    
    .clinic-name {
        font-size: 2.5rem;
    }
    
    .clinic-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-actions-modern {
        gap: 0.75rem;
    }
    
    .btn-book-appointment {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        min-width: 200px;
    }
    
    .contact-info-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .staff-login-section {
        position: static;
        transform: none;
        margin: 2rem auto;
        max-width: 300px;
    }
    
    .services-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .service-card-modern {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .clinic-name {
        font-size: 2rem;
    }
    
    .secondary-nav {
        gap: 1rem;
    }
    
    .secondary-nav-link {
        font-size: 0.8rem;
    }
    
    .section-header-modern h2 {
        font-size: 2rem;
    }
    
    .section-header-modern p {
        font-size: 1rem;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .modern-hero-section {
        min-height: auto;
    }
    
    .hero-main-content {
        padding: 2rem 0;
    }
    
    .clinic-name {
        font-size: 2rem;
    }
    
    .hero-actions-modern {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .btn-book-appointment {
        min-width: auto;
        padding: 0.75rem 1.5rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card-modern {
        border-width: 2px;
    }
    
    .btn-book-appointment {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .service-card-modern,
    .btn-book-appointment,
    .btn-staff-login {
        transition: none;
    }
    
    .service-card-modern:hover {
        transform: none;
    }
    
    .btn-book-appointment:hover,
    .btn-staff-login:hover {
        transform: none;
    }
}/* Modern C
ontact Section */
.modern-contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.contact-header-modern {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header-modern h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-header-modern p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Contact Info */
.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-item-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon-modern {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details-modern h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-details-modern p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.contact-details-modern a {
    color: #1e90ff;
    text-decoration: none;
    font-weight: 500;
}

.contact-details-modern a:hover {
    color: #0066cc;
    text-decoration: underline;
}

.contact-details-modern small {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Map Section */
.contact-map-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-container-modern {
    position: relative;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.map-modern {
    height: 300px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-placeholder {
    text-align: center;
    color: #64748b;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1e90ff;
}

.map-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-placeholder small {
    font-size: 0.9rem;
    color: #94a3b8;
}

.map-overlay-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.map-info-modern h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-info-modern p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.map-actions-modern {
    display: flex;
    gap: 1rem;
}

.btn-map-action {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-map-action:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-1px);
}

/* Transport Info */
.transport-info-modern {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.transport-info-modern h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.transport-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transport-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.transport-option i {
    color: #1e90ff;
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
}

.transport-option span {
    color: #64748b;
    font-size: 0.95rem;
}

/* Contact Actions */
.contact-actions-modern {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.contact-action-btn.primary {
    background: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.contact-action-btn.primary:hover {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.4);
}

.contact-action-btn.secondary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.contact-action-btn.secondary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.contact-action-btn.tertiary {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-action-btn.tertiary:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modern-contact-section {
        padding: 4rem 0;
    }
    
    .contact-header-modern h2 {
        font-size: 2rem;
    }
    
    .contact-header-modern p {
        font-size: 1rem;
    }
    
    .contact-content-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item-modern {
        padding: 1rem;
        gap: 1rem;
    }
    
    .contact-icon-modern {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .map-modern {
        height: 250px;
    }
    
    .map-overlay-modern {
        padding: 1.5rem 1rem 1rem;
    }
    
    .map-actions-modern {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-map-action {
        justify-content: center;
    }
    
    .transport-info-modern {
        padding: 1.5rem;
    }
    
    .transport-option {
        padding: 0.5rem;
        gap: 0.75rem;
    }
    
    .contact-actions-modern {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-action-btn {
        width: 100%;
        max-width: 300px;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-header-modern h2 {
        font-size: 1.75rem;
    }
    
    .contact-item-modern {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon-modern {
        align-self: center;
    }
    
    .map-modern {
        height: 200px;
    }
    
    .transport-option {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .contact-item-modern,
    .contact-action-btn,
    .btn-map-action {
        transition: none;
    }
    
    .contact-item-modern:hover,
    .contact-action-btn:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .contact-item-modern,
    .map-container-modern,
    .transport-info-modern {
        border-width: 2px;
    }
    
    .contact-action-btn.tertiary {
        border-width: 3px;
    }
}